.preview-offer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 24px 0 36px; padding: 24px 28px; border: 1px solid #cbd9f5; border-radius: 26px; background: #fff; transition: background .2s, border-color .2s; }
.preview-offer.is-active { border-color: #ffbf00; background: #fff8df; }
.preview-offer__copy { max-width: 720px; }
.preview-offer__copy strong { color: #10243f; font-size: 21px; line-height: 1.3; font-weight: 800; }
body.home-premium .preview-offer__copy p { margin: 8px 0 10px; color: #61728a; font-size: 14px; line-height: 1.6; }
.preview-offer__copy > span { display: block; color: #2457c5; font-size: 14px; line-height: 1.5; font-weight: 700; }
.preview-offer__button { flex: 0 0 auto; min-height: 48px; padding: 12px 20px; border: 1px solid #2457c5; border-radius: 99px; background: #2457c5; color: #fff; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.4; cursor: pointer; transition: background .18s, box-shadow .18s; }
.preview-offer__button:hover { background: #164abd; box-shadow: 0 6px 18px #2457c52b; }
.preview-offer__button[aria-pressed="true"] { background: #fff; color: #10243f; border-color: #d4c289; }
.preview-offer__button:focus-visible { outline: 3px solid #89afff; outline-offset: 3px; }
body.home-premium.home-editorial .pricing-preview-card { display: flex !important; flex-direction: column; gap: 0 !important; height: auto !important; min-height: 0 !important; text-align: center; border-top: 5px solid #2457c5 !important; }
body.home-premium.home-editorial .pricing-preview-card .pricing-preview-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 20px 0 14px; color: #10243f; font-size: clamp(24px, 2.3vw, 32px); font-weight: 850; line-height: 1.2; }
.preview-price-value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.preview-price-prefix { font-size: .75em; }
.preview-price-unit { font-size: 14px; font-weight: 600; white-space: nowrap; }
.preview-discount-details { display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; transition: grid-template-rows 420ms cubic-bezier(.22, 1, .36, 1), opacity 260ms ease, margin-bottom 420ms cubic-bezier(.22, 1, .36, 1); }
.preview-discount-details__inner { min-height: 0; overflow: hidden; }
.has-discount .preview-discount-details { grid-template-rows: 1fr; opacity: 1; margin-bottom: 18px; }
.preview-original { margin-bottom: 10px; color: #73839a; }
.preview-original s { display: block; font-size: 18px; line-height: 1.4; }
.preview-original small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; }
.preview-original [hidden] { display: none; }
.preview-saving { color: #10243f; font-size: 13px; line-height: 1.5; font-weight: 800; }
body.home-premium.home-editorial .pricing-preview-card .pricing-preview-meta { flex: 1; margin: 0 0 20px; text-align: center; }
body.home-premium.home-editorial .pricing-preview-card:has(.pricing-recommendation) { background: #fff !important; border-color: #cbd5e2 !important; border-top-color: #2457c5 !important; }
body.home-premium.home-editorial .pricing-preview-card .pricing-recommendation { background: #ffcf55; color: #10243f; border-color: #fff; }
body.home-premium.home-editorial .pricing-preview-card .pricing-preview-label { align-self: center; margin: 0 auto !important; }
body.home-premium.home-editorial .pricing-preview-card > a { width: 100%; min-height: 52px; }
@media (max-width: 760px) {
  body.home-premium .pricing-preview > .section-ornament { display: none; }
  .preview-offer { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px; border-radius: 24px; }
  .preview-offer__button { align-self: flex-start; }
  body.home-premium.home-editorial .pricing-preview-card .pricing-preview-price { font-size: 30px; }
}
@media (max-width: 480px) { .preview-offer__button { width: 100%; } }

/* One lesson format per swipe, with a glimpse of the next card. */
@media (max-width: 767px) {
  body.home-premium.home-editorial .pricing-preview-grid {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px !important;
    max-width: 100%;
    margin-inline: 0;
    padding: 22px 2px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #b7cbed transparent;
    -webkit-overflow-scrolling: touch;
  }
  body.home-premium.home-editorial .pricing-preview-grid > .pricing-preview-card {
    flex: 0 0 calc(100% - 24px);
    width: calc(100% - 24px) !important;
    max-width: none;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
