.hero-offer-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-offer-kicker:hover,
.hero-offer-kicker:focus-visible {
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 14px 30px rgba(5, 10, 22, 0.16);
  transform: translateY(-1px);
}

.hero-offer-kicker:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.hero-switch-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22em 0.3em;
}

.hero-switch-prefix,
.hero-switch-suffix {
  display: inline;
  color: #f8fbff;
  text-shadow: 0 2px 12px rgba(5, 10, 22, 0.28);
}

.hero-switch-suffix {
  flex-basis: 100%;
  display: block;
  width: 100%;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title-switch {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  height: 1.15em;
  width: 2.55em;
  padding: 0.08em 0.2em;
  overflow: hidden;
  border-radius: 0.28em;
  background: rgba(7, 11, 23, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  vertical-align: baseline;
  animation: heroWordSwitchWidth 7.5s ease-in-out infinite;
}

.hero-title-switch-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: heroWordSwitch 7.5s ease-in-out infinite;
}

.hero-title-switch-track span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  color: #ffffff;
}

.inline-title-switch {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  height: 1.12em;
  min-width: 4.7em;
  padding: 0.04em 0.24em;
  overflow: hidden;
  border-radius: 0.32em;
  background: rgba(77, 124, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(77, 124, 255, 0.22);
  vertical-align: baseline;
}

.inline-title-switch-track {
  display: flex;
  flex-direction: column;
  animation: heroWordSwitch 7.5s ease-in-out infinite;
}

.inline-title-switch-track span {
  display: block;
  height: 1.12em;
  line-height: 1.12;
  white-space: nowrap;
}

.hero-offer-panel {
  margin-top: 6px;
  padding: 26px 26px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 56px rgba(24, 16, 44, 0.22);
  backdrop-filter: blur(10px);
}

.hero-offer-lead {
  margin-bottom: 14px;
  font-size: 1.16rem;
  font-weight: 520;
  line-height: 1.34;
  color: #eef4ff;
}

.hero-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-price-side {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-price {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(5, 10, 22, 0.2);
}

.hero-price-meta {
  padding-bottom: 0;
  font-size: 1.05rem;
  font-weight: 540;
  opacity: 1;
  color: #f3f7ff;
}

.hero-offer-subline {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  opacity: 1;
}

.hero-benefit-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 11, 23, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 540;
  line-height: 1.2;
  text-align: center;
  color: #f8fbff;
}

.hero-offer-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-point {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(7, 11, 23, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-point-label {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.14;
  color: #ffffff;
}

.hero-point p {
  margin-bottom: 0;
  font-size: 0.98rem;
  font-weight: 450;
  line-height: 1.38;
  color: #edf4ff;
}

#hero-1 .stores-badge {
  margin-top: 22px;
}

@keyframes heroWordSwitch {
  0%,
  24% {
    transform: translateY(0);
  }
  33%,
  57% {
    transform: translateY(-1.15em);
  }
  66%,
  90% {
    transform: translateY(-2.3em);
  }
  100% {
    transform: translateY(-3.45em);
  }
}

@keyframes heroWordSwitchWidth {
  0%,
  24%,
  100% {
    width: 2.55em;
  }
  33%,
  57% {
    width: 3.55em;
  }
  66%,
  90% {
    width: 6.4em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-switch-track,
  .inline-title-switch-track,
  .hero-title-switch {
    animation: none;
  }

  html:focus-within {
    scroll-behavior: auto;
  }
}

@media (max-width: 991.98px) {
  .hero-offer-panel {
    padding: 22px 20px 20px;
  }

  .hero-price {
    font-size: 3.2rem;
  }

  .hero-offer-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title-switch {
    width: 2.55em;
  }

  .inline-title-switch {
    min-width: 4.8em;
  }
}

@media (max-width: 575.98px) {
  .hero-offer-kicker {
    margin-bottom: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .hero-offer-panel {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }

  .hero-benefit-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-offer-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-switch-title {
    gap: 0.18em 0.24em;
    justify-content: center;
    text-align: center;
  }

  .hero-switch-prefix {
    flex-basis: 100%;
  }

  .hero-title-switch {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-offer-lead {
    font-size: 1.02rem;
  }

  .hero-price-row {
    align-items: baseline;
    gap: 8px;
  }

  .hero-price {
    font-size: 2.55rem;
  }

  .hero-price-was {
    margin-bottom: 3px;
    padding: 4px 10px;
    font-size: 0.78rem;
  }

  .inline-title-switch {
    min-width: 4.55em;
  }

  .hero-price-meta {
    padding-bottom: 0;
    font-size: 0.95rem;
  }

  .hero-offer-subline {
    font-size: 0.95rem;
  }

  .hero-benefit-chips {
    margin-bottom: 14px;
  }

  .hero-point {
    min-height: 100%;
    padding: 11px 10px;
  }

  .hero-chip {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  .hero-point-label {
    margin-bottom: 5px;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .hero-point p {
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .hero-point-was {
    margin-bottom: 5px;
    padding: 2px 6px;
    font-size: 0.58rem;
  }

  .hero-point-free {
    display: inline-block;
    margin-bottom: 5px;
    margin-left: 4px;
    padding: 2px 6px;
    font-size: 0.56rem;
    line-height: 1.2;
  }

  .hero-title-switch {
    min-width: 5.2em;
  }
}

/* Final hero alignment */
#hero-1 .hero-1-txt,
#hero-1 .hero-offer-panel,
#hero-1 .hero-switch-title,
#hero-1 .hero-offer-lead,
#hero-1 .hero-price-row,
#hero-1 .hero-price-side,
#hero-1 .hero-benefit-chips,
#hero-1 .hero-offer-points {
  text-align: center !important;
}

#hero-1 .hero-1-txt {
  margin-left: auto;
  margin-right: auto;
}

#hero-1 .hero-switch-title,
#hero-1 .hero-price-row {
  justify-content: center !important;
}

#hero-1 .hero-offer-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hero-1 .hero-offer-lead,
#hero-1 .hero-offer-subline,
#hero-1 .hero-benefit-chips,
#hero-1 .hero-offer-points {
  margin-left: auto !important;
  margin-right: auto !important;
}

#hero-1 .hero-offer-lead {
  text-align: center !important;
}

#hero-1 .hero-point {
  text-align: center !important;
}
