.section {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--responsive-card-radius, 28px);
  background: #fff8df;
  box-shadow: 0 16px 42px rgba(220, 162, 36, 0.12);
  backdrop-filter: blur(18px);
}

.heading {
  position: relative;
  padding:
    var(--responsive-card-padding, 18px)
    var(--responsive-card-padding, 18px)
    var(--responsive-card-padding-lg, 22px);
  background:
    linear-gradient(135deg, #fffdf2 0%, #fff3c8 58%, #ffe8a6 100%),
    #fff3c8;
}

.title {
  margin: 0;
  color: #181014;
  font-size: var(--responsive-page-title, 22px);
  font-weight: 800;
  line-height: 1.2;
}

.notch {
  position: absolute;
  left: 50%;
  bottom: calc(var(--subscription-section-notch-size, 24px) / -2);
  width: var(--subscription-section-notch-size, 24px);
  height: var(--subscription-section-notch-size, 24px);
  background: #fff3c8;
  transform: translateX(-50%) rotate(45deg);
}

.panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm, 8px);
  padding:
    var(--responsive-card-padding, 18px)
    clamp(10px, 2.222vw, 12px)
    clamp(12px, 2.593vw, 14px);
  background: transparent;
}

.row {
  display: grid;
  grid-template-columns:
    var(--subscription-coin-column-width, 48px)
    minmax(0, 1fr)
    auto
    auto;
  align-items: center;
  width: 100%;
  min-height: var(--responsive-control-height, 48px);
  padding:
    clamp(7px, 1.481vw, 8px)
    clamp(10px, 2.222vw, 12px)
    clamp(7px, 1.481vw, 8px)
    clamp(5px, 1.111vw, 6px);
  border: 1px solid transparent;
  border-radius: var(--responsive-card-radius-sm, 18px);
  background: #ffffff;
  color: #53484d;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 7px 18px rgba(31, 21, 25, 0.045);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.row:focus-visible {
  outline: 2px solid #f657a0;
  outline-offset: 2px;
}

.selected {
  border: 3px solid #f657a0;
  background: linear-gradient(90deg, #fff1f7 0%, #ffffff 100%);
  color: #111111;
  box-shadow: 0 14px 30px rgba(246, 87, 160, 0.3);
  transform: translateY(-2px);
}

.coinIcon {
  display: inline-flex;
  width: var(--subscription-coin-icon-size, 32px);
  height: var(--subscription-coin-icon-size, 32px);
  align-items: center;
  justify-content: center;
  justify-self: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe89c 0%, #f8b83e 100%);
  color: #8f5400;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 5px 12px rgba(216, 132, 22, 0.22);
}

.coinIcon svg {
  display: block;
  width: var(--subscription-coin-svg-size, 18px);
  height: var(--subscription-coin-svg-size, 18px);
}

.coins {
  min-width: 0;
  font-size: var(--responsive-body, 16px);
  font-weight: 700;
  line-height: 1.2;
}

.offerBadge {
  justify-self: end;
  padding: var(--subscription-offer-badge-padding, 5px 9px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5fae 0%, #ff8a34 100%);
  color: #ffffff;
  font-size: clamp(10px, 2.593vw, 14px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(255, 95, 174, 0.24);
}

.priceGroup {
  display: inline-flex;
  min-width: clamp(48px, 10vw, 54px);
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1;
}

.price {
  font-size: var(--responsive-body, 16px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.originalPrice {
  margin-top: 3px;
  color: #9c8b91;
  font-size: var(--responsive-micro, 12px);
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .title {
    font-size: var(--responsive-section-title, 20px);
  }

  .panel {
    padding-right: clamp(10px, 2.593vw, 14px);
    padding-left: clamp(10px, 2.222vw, 12px);
  }

  .row {
    grid-template-columns:
      clamp(42px, 8.519vw, 46px)
      minmax(0, 1fr)
      auto
      auto;
  }

  .offerBadge {
    padding-right: clamp(6px, 1.296vw, 7px);
    padding-left: clamp(6px, 1.296vw, 7px);
    font-size: var(--responsive-micro, 10px);
  }
}
