.section {
  overflow: hidden;
  border: 1px solid rgba(255, 71, 166, 0.28);
  border-radius: var(--responsive-card-radius, 28px);
  background: #ffe2f0;
  box-shadow: 0 18px 45px rgba(255, 71, 166, 0.22);
  backdrop-filter: blur(18px);
}

.summary {
  position: relative;
  padding:
    var(--responsive-card-padding, 18px)
    var(--responsive-card-padding, 18px)
    var(--responsive-card-padding-lg, 22px);
  background:
    linear-gradient(135deg, #ff9bd1 0%, #ff61ad 56%, #f657a0 100%),
    #ff61ad;
}

.title {
  display: flex;
  align-items: baseline;
  gap: clamp(8px, 1.852vw, 10px);
  margin: 0;
  line-height: 1.25;
}

.titleText {
  color: #181014;
  font-size: var(--responsive-section-title, 20px);
  font-weight: 800;
}

.renewText {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--responsive-caption, 13px);
  font-weight: 700;
}

.subtitle {
  margin: clamp(6px, 1.481vw, 8px) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--responsive-body, 15px);
  font-weight: 700;
  line-height: 1.3;
}

.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: #ff61ad;
  transform: translateX(-50%) rotate(45deg);
}

.planGrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--subscription-plan-grid-gap, 9px);
  padding:
    var(--responsive-card-padding, 18px)
    clamp(8px, 1.852vw, 10px)
    clamp(10px, 2.222vw, 12px);
}

.planCard {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: var(--subscription-plan-card-min-height, 128px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:
    clamp(10px, 2.222vw, 12px)
    clamp(5px, 1.111vw, 6px)
    clamp(9px, 2.037vw, 11px);
  border: 1px solid rgba(246, 87, 160, 0.08);
  border-radius: var(--responsive-card-radius-sm, 20px);
  background: #ffffff;
  color: #181014;
  cursor: pointer;
  font: inherit;
  text-align: center;
  box-shadow: 0 8px 22px rgba(26, 16, 20, 0.05);
  transition: background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

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

.planCard:active {
  transform: translateY(1px) scale(0.985);
}

.selected {
  border: 3px solid #f657a0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffeaf4 100%),
    #ffffff;
  box-shadow: 0 16px 34px rgba(246, 87, 160, 0.34);
  color: #111111;
  transform: translateY(-3px);
}

.offerBadge {
  position: absolute;
  top: clamp(6px, 1.481vw, 8px);
  left: 50%;
  max-width: calc(100% - 12px);
  padding: var(--subscription-offer-badge-padding, 4px 8px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5fae 0%, #ff8a34 100%);
  color: #ffffff;
  font-size: clamp(12px, 2.963vw, 16px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 7px 16px rgba(255, 95, 174, 0.28);
  transform: translateX(-50%);
}

.planTitle {
  margin-top: 20px;
  font-size: var(--subscription-plan-title-size, 19px);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.priceLine {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: clamp(3px, 0.741vw, 4px);
  line-height: 1;
}

.price {
  font-size: var(--subscription-price-size-lg, 30px);
  font-weight: 500;
  letter-spacing: -0.8px;
}

.currency {
  margin-bottom: 3px;
  color: #8b717a;
  font-size: var(--responsive-micro, 12px);
  font-weight: 700;
  text-transform: lowercase;
}

.originalPrice {
  margin-top: 10px;
  color: #9c8b91;
  font-size: var(--responsive-caption, 14px);
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

@media (max-width: 360px) {
  .planGrid {
    padding-right: clamp(8px, 1.852vw, 10px);
    padding-left: clamp(8px, 1.852vw, 10px);
  }
}
