.rewards-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.33em 1.33em;
}
.rewards {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1em;
  padding-bottom: 3em;
}
.rewards > footer {
  text-align: center;
  margin-top: 1.5em;
  display: flex;
  justify-content: center;
}
.rewards h2 {
  text-align: center;
}
article.odmena.full,
.spolky-rewards > .reward {
  width: 20em;
  height: 30em;
  border: 0.125em solid #777777;
  border-radius: 1em;
  padding: 1em;
  text-align: center;
  background-color: white;
  transition: all 0.25s ease-in;
}
article.odmena.full h3,
.spolky-rewards > .reward h3 {
  font-weight: 600;
  font-size: 1.5em;
  height: 2em;
}
article.odmena.full dt,
.spolky-rewards > .reward dt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
article.odmena.full .price,
.spolky-rewards > .reward .price,
article.odmena.full .price-extra,
.spolky-rewards > .reward .price-extra {
  font-size: 0.9em;
  background-color: #064333;
  border-radius: 50%;
  color: white;
  width: 5em;
  height: 5em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 1em auto;
}
article.odmena.full .price b,
.spolky-rewards > .reward .price b,
article.odmena.full .price-extra b,
.spolky-rewards > .reward .price-extra b {
  font-size: 2em;
  display: block;
  line-height: 1;
}
article.odmena.full:hover,
.spolky-rewards > .reward:hover {
  background-color: #f2f0ee;
  box-shadow: 0.25em 0.2625em 0.425em 0.125em rgba(0, 0, 0, 0.125), inset 0 0 0 0.0625em #064333;
  border-color: #064333;
  transform: translateY(-0.25em);
}
article.odmena.full .price-extra {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.spolky-rewards {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2em;
  padding-bottom: 2em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.33em 1.33em;
}
.spolky-rewards > .form-item-summary {
  width: 100%;
}
.spolky-rewards .js-form-item > .reward-add {
  color: white;
  background: #064333;
  padding: 1.1em 2.25em 0.9em;
  border-radius: 3rem;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  margin: 0.2em;
  transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}
.spolky-rewards .js-form-item > .reward-add:hover,
.spolky-rewards .js-form-item > .reward-add:active,
.spolky-rewards .js-form-item > .reward-add:focus {
  border: none;
  text-decoration: none;
}
.spolky-rewards .js-form-item > .reward-remove {
  color: #064333;
  background: #f2f0ee;
  padding: 1.1em 2.25em 0.9em;
  border-radius: 3rem;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  margin: 0.2em;
  transition: color 0.2s ease, background-color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
  border: 0.1rem solid currentColor;
}
.spolky-rewards .js-form-item > .reward-remove:hover,
.spolky-rewards .js-form-item > .reward-remove:active,
.spolky-rewards .js-form-item > .reward-remove:focus {
  border: none;
  text-decoration: none;
}
.spolky-rewards .js-form-item > .reward-remove:hover {
  border: 0.1rem solid currentColor;
}
.spolky-rewards .js-form-item.purchase-count {
  position: absolute;
  left: 1em;
  bottom: 1em;
  padding: 0.25em;
  max-width: 4.5em;
  background-color: #f2f0ee;
  color: #064333;
  text-align: center;
  border-radius: 0.25em;
}
.spolky-rewards .js-form-item.purchase-count > input[type="number"] {
  text-align: center;
  font-size: 1.25em;
  appearance: textfield;
  pointer-events: none;
  box-shadow: none;
  padding: 0.25em;
  border-radius: 0;
  border: none;
  background-color: #f2f0ee;
  color: #064333;
  font-weight: bold;
  height: 1.4em;
}
.spolky-rewards .js-form-item.purchase-count > label {
  pointer-events: none;
}
.spolky-rewards .js-form-item.reward-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 10em;
  position: absolute;
  left: 6em;
  bottom: 0;
  row-gap: 1.25em;
}
.spolky-rewards .js-form-item.reward-links > a {
  text-align: center;
}
.spolky-rewards .form-item:not(.js-form-item).reward-links {
  display: none;
}
.spolky-rewards .form-item:not(.js-form-item).purchase-count {
  position: absolute;
  right: 1em;
  bottom: 0;
}
.spolky-rewards .form-item:not(.js-form-item).purchase-count input[type=number] {
  max-width: 7em;
}
.spolky-rewards .form-actions .show-more {
  display: none;
}
.spolky-rewards .form-actions:not(.js-form-wrapper) .summary {
  display: none;
}
.spolky-rewards .form-actions.js-form-wrapper {
  display: none;
  grid-template-columns: 32em 20em;
  grid-gap: 0.25em 2em;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #2B2B2B;
  color: white;
  z-index: 20;
  padding: 1em 2%;
}
@media all and (min-width: 86rem) {
  .spolky-rewards .form-actions.js-form-wrapper {
    padding-left: calc(50% - 84rem/2);
    padding-right: calc(50% - 84rem/2);
  }
}
.spolky-rewards .form-actions.js-form-wrapper .button {
  background-color: #C72240;
  max-width: 12em;
}
.spolky-rewards .form-actions.js-form-wrapper .button:hover,
.spolky-rewards .form-actions.js-form-wrapper .button:focus,
.spolky-rewards .form-actions.js-form-wrapper .button:active {
  background-color: #9b1b32;
}
.spolky-rewards .form-actions.js-form-wrapper input[type="submit"] {
  align-self: center;
}
.spolky-rewards .form-actions.js-form-wrapper .form-item-summary {
  grid-row-start: span 2;
}
.spolky-rewards .form-actions.js-form-wrapper .form-item-summary label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.spolky-rewards .form-actions.js-form-wrapper .summary {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.spolky-rewards .form-actions.js-form-wrapper .summary th,
.spolky-rewards .form-actions.js-form-wrapper .summary td {
  border-bottom: 0.0625em solid currentColor;
  border-left: none;
  border-right: none;
  padding: 0.333em;
}
.spolky-rewards .form-actions.js-form-wrapper .summary th:last-child,
.spolky-rewards .form-actions.js-form-wrapper .summary td:last-child {
  text-align: right;
}
.spolky-rewards .form-actions.js-form-wrapper .summary tr:last-child td {
  border-bottom: none;
}
.spolky-rewards .form-actions.js-form-wrapper .summary .total,
.spolky-rewards .form-actions.js-form-wrapper .summary thead > tr {
  font-weight: bold;
}
@media (max-width: 56rem) {
  .spolky-rewards .form-actions.js-form-wrapper {
    grid-template-columns: 1fr;
  }
  .spolky-rewards .form-actions.js-form-wrapper table.summary tr:not(.total) {
    display: none;
  }
  .spolky-rewards .form-actions.js-form-wrapper .form-item-text {
    display: none;
  }
  .spolky-rewards .form-actions.js-form-wrapper .show-more {
    display: flex;
    align-items: end;
    cursor: pointer;
    font-weight: 700;
    position: absolute;
    height: 4em;
    right: 2%;
    bottom: 0.5em;
  }
  .spolky-rewards .form-actions.js-form-wrapper .show-more::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 0.1875em solid currentColor;
    border-right: 0.1875em solid currentColor;
    padding: 0.725em;
    top: 0.2em;
    right: 1.6em;
    position: absolute;
    transform: rotate(45deg);
  }
  .spolky-rewards .form-actions.js-form-wrapper input[type="submit"] {
    justify-self: center;
  }
  .spolky-rewards .form-actions.js-form-wrapper.show .form-item-text {
    display: block;
  }
  .spolky-rewards .form-actions.js-form-wrapper.show table.summary tr {
    display: table-row;
  }
}
.spolky-rewards.show-summary .form-actions {
  display: grid;
}
.spolky-rewards > .reward {
  position: relative;
  height: 34em;
}
.spolky-rewards > .reward .price,
.spolky-rewards > .reward .price-extra {
  background-color: #C09A51;
  margin: 1em 0;
}
.spolky-rewards > .reward .price::before,
.spolky-rewards > .reward .price-extra::before {
  content: 'za';
  display: block;
}
.spolky-rewards > .reward:not(.over-limit) .price-extra {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.spolky-rewards > .reward.over-limit .price {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.spolky-rewards > .reward.disabled .reward-add,
.spolky-rewards > .reward.not-enough-points .reward-add,
.spolky-rewards > .reward.max .reward-add {
  pointer-events: none;
  opacity: 0.33;
}
.spolky-rewards > .reward:not(.selected) .purchase-count {
  display: none;
}
.spolky-rewards > .reward:not(.selected) .reward-remove {
  visibility: hidden;
}
.rewards-block {
  background-color: white;
  padding-top: 2em;
  padding-bottom: 2em;
}
.rewards-block > h2 {
  width: 96%;
  max-width: 84rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.rewards-hp {
  padding-bottom: 2em;
}
.rewards-hp > footer {
  padding-top: 1em;
  text-align: center;
}
