.coin-shop {
  max-width: 980px;
  margin: 30px auto 76px;
  padding: 34px;
  background: linear-gradient(180deg, #1b1240, #2a1b5e);
  border: 1px solid #ffffff16;
  border-radius: 24px;
  color: #f4f1ff;
  box-shadow: 0 20px 60px #0002;
}
.shop-heading h1 {
  font-size: 32px;
  margin: 4px 0 10px;
}
.shop-heading p {
  color: #c7bdf0;
  margin: 0 0 24px;
}
.coin-shop .eyebrow {
  color: #ffd36b;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  margin: 0;
}
.coin-shop fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.coin-shop legend {
  font-size: 13px;
  color: #c7bdf0;
  margin-bottom: 10px;
}
.shop-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.shop-package {
  position: relative;
  cursor: pointer;
}
.shop-package input,
.shop-methods input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.shop-package > span {
  display: grid;
  gap: 3px;
  padding: 20px 12px;
  text-align: center;
  background: #ffffff10;
  border: 1.5px solid #ffffff20;
  border-radius: 12px;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.shop-package strong {
  font-size: 24px;
  line-height: 1.2;
}
.shop-package small {
  font-size: 12px;
  color: #c7bdf0;
}
.shop-package b {
  font-size: 16px;
  color: #ffd36b;
  margin-top: 6px;
}
.shop-package input:checked + span {
  border-color: #ffd36b;
  background: #ffd36b1f;
}
.shop-package input:focus-visible + span,
.shop-methods input:focus-visible + span {
  outline: 3px solid #ffd36b;
  outline-offset: 3px;
}
.shop-details {
  background: #ffffff0f;
  padding: 20px;
  border-radius: 14px;
}
.shop-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.shop-fields label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #c7bdf0;
}
.shop-fields label > span {
  display: contents;
}
.shop-fields input {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: #0003;
  border: 1px solid #ffffff30;
  color: #fff;
  padding: 0 12px;
  font: inherit;
  outline-offset: 2px;
}
.shop-fields input:focus {
  outline: 2px solid #ffd36b;
}
.shop-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.shop-methods label {
  position: relative;
  cursor: pointer;
}
.shop-methods span {
  display: block;
  border: 1px solid #ffffff38;
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 13px;
}
.shop-methods input:checked + span {
  color: #ffd36b;
  border-color: #ffd36b;
  background: #ffd36b10;
}
.shop-pay {
  display: block;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #ffb347, #ffd36b);
  color: #2a1b5e;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.shop-pay:disabled {
  opacity: 0.55;
  cursor: wait;
}
.shop-error {
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
  color: #fff;
  background: #0004;
  border-radius: 8px;
  padding: 12px;
}
.shop-error:empty {
  display: none;
}
.shop-reload {
  margin-top: 12px;
  background: transparent;
  border: 1px solid #ffd36b;
  border-radius: 8px;
  color: #ffd36b;
  padding: 7px 16px;
  cursor: pointer;
}
.shop-terms {
  font-size: 11px;
  color: #c7bdf0;
  text-align: center;
  margin: 15px 0 0;
}
.shop-terms a {
  color: #ffd36b;
}
.shop-faq {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #ffffff20;
}
.shop-faq h2 {
  font-size: 15px;
  margin: 0 0 8px;
}
.shop-faq p {
  font-size: 13px;
  color: #c7bdf0;
  line-height: 1.7;
  margin: 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .coin-shop {
    padding: 22px;
    margin: 18px auto 44px;
    border-radius: 16px;
  }
  .shop-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .shop-fields {
    grid-template-columns: 1fr;
  }
  .shop-details {
    padding: 16px;
  }
  .shop-package > span {
    padding: 17px 8px;
  }
  .shop-heading h1 {
    font-size: 28px;
  }
  .shop-methods span {
    padding: 8px 11px;
  }
}
