/* offre-accompagnement-python.css
 * Page de vente — Pack accompagnement 90j pour les élèves Udemy.
 */

body.offre-page {
    padding-bottom: 130px; /* prevents the sticky bottom banner from masking content */
}

body.offre-page.purchased,
body.offre-page.expired {
    padding-bottom: 0;
}

/* Quand le timer expire côté JS (body.expired ajouté par initTimerCountdowns), masquer les sections
   de vente que le serveur avait rendues en mode actif. La bulle expirée pré-rendue dans le hero
   (.timer-when-expired) prend le relais via les utilitaires de widgets.css. */
body.offre-page.expired main.offre-main > .udemy-strip,
body.offre-page.expired main.offre-main > section.block,
body.offre-page.expired main.offre-main > .sep-line,
body.offre-page.expired main.offre-main > .final-cta,
body.offre-page.expired > .sticky-banner {
    display: none;
}

.offre-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

/* ---------- Generic block section ---------- */
section.block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--page-width);
    padding: 80px var(--section-horizontal-padding);
    box-sizing: border-box;
}

.sep-line {
    width: 100%;
    max-width: var(--page-width);
    height: 1px;
    background: var(--separator-color);
}

/* ---------- Hero ---------- */
section.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    width: 100%;
    max-width: none;
    padding: 56px 30px 70px;
    overflow: hidden;
}

section.hero .bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.32;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 65%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 65%, transparent 100%);
}

section.hero .glow {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(20, 110, 245, 0.18) 0%, rgba(20, 110, 245, 0) 60%);
}

section.hero > * {
    position: relative;
    z-index: 1;
}

section.hero .bubble-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

section.hero h1 {
    font-size: clamp(40px, calc(2.6vw + 28px), 72px);
    font-weight: 700;
    line-height: 1.1;
    max-width: 1050px;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 0, 0, 0.4);
}

section.hero h1 .accent-color {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 28px rgba(200, 255, 84, 0.55);
}

section.hero .lede {
    font-size: 21px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 760px;
    text-align: center;
    text-wrap: balance;
    margin: 0;
}

section.hero .lede strong {
    color: #fff;
    font-weight: 600;
}

/* ---------- Solid bubble (used in hero + sticky banner) ---------- */
.bubble-solid {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--course-card-background);
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, .3),
        0 0 18px rgba(127, 221, 0, .25),
        inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* ---------- Countdown card ---------- */
.countdown-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(180deg, rgba(13, 18, 27, 0.95), rgba(13, 18, 27, 0.85));
    border: 1px solid rgba(127, 221, 0, 0.35);
    border-radius: 14px;
    padding: 18px 28px;
    box-shadow:
        0 0 60px rgba(127, 221, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.countdown-card .label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-card .label .top {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.countdown-card .label .main {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.countdown-card .digits {
    display: flex;
    gap: 14px;
}

.countdown-card .unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.countdown-card .unit .num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
}

.countdown-card .unit .lbl {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
    font-family: "JetBrains Mono", monospace;
}

.countdown-card .unit + .unit {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 14px;
}

/* ---------- Kickoff line (first session date, under the countdown) ---------- */
.kickoff-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.kickoff-line .ico {
    font-size: 16px;
    line-height: 1;
}

.kickoff-line strong {
    color: #fff;
    font-weight: 700;
}

/* ---------- Purchase confirmation bubble (already-purchased state) ---------- */
.purchase-confirmation {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(13, 18, 27, 0.95), rgba(13, 18, 27, 0.85));
    border: 1px solid rgba(127, 221, 0, 0.35);
    border-radius: 14px;
    padding: 16px 26px;
    box-shadow:
        0 0 60px rgba(127, 221, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-top: 6px;
}

.purchase-confirmation .ck {
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 700;
}

/* ---------- Hero CTA ---------- */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.hero-cta .button {
    padding: 16px 38px;
    font-size: 17px;
}

.hero-cta .price-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-cta .price-line strong {
    color: #fff;
    font-weight: 700;
}

.hero-cta .price-line s {
    color: rgba(255, 255, 255, 0.4);
}

.hero-cta .price-line .save {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #4cdf4c;
    background: rgba(0, 200, 0, 0.12);
    padding: 3px 8px;
    border-radius: 5px;
}

/* ---------- Udemy reassurance strip ---------- */
.udemy-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 18px 30px;
    border-top: 1px solid var(--separator-color);
    border-bottom: 1px solid var(--separator-color);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    box-sizing: border-box;
}

.udemy-strip .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.udemy-strip .pill .ck {
    color: var(--accent-color);
    font-weight: 700;
}

/* ---------- Section heading ---------- */
.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    max-width: 800px;
}

.section-head .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.section-head h2 {
    font-size: clamp(36px, calc(1.6vw + 28px), 52px);
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    margin: 0;
    text-wrap: balance;
}

.section-head .sub {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    text-wrap: balance;
    max-width: 680px;
    margin: 0;
}

/* ---------- Problem / Solution split ---------- */
.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.ps-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 28px;
    background: rgba(13, 18, 27, 0.6);
}

.ps-card .tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 999px;
}

.ps-card.problem .tag {
    color: #ff8585;
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.25);
}

.ps-card.solution .tag {
    color: var(--accent-color);
    background: rgba(127, 221, 0, 0.08);
    border: 1px solid rgba(127, 221, 0, 0.3);
}

.ps-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.ps-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-card li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.ps-card.problem li::before {
    content: "✗";
    color: #ff6e6e;
    font-weight: 700;
    flex-shrink: 0;
}

.ps-card.solution li::before {
    content: "✔";
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
}

.ps-card.solution {
    border-color: rgba(127, 221, 0, 0.3);
}

@media (max-width: 784px) {
    .ps-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Benefits grid ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(13, 18, 27, 0.65);
    padding: 28px 22px;
    transition: border-color .3s cubic-bezier(.165, .84, .44, 1),
                box-shadow .3s cubic-bezier(.165, .84, .44, 1);
}

.benefit-card:hover {
    border-color: var(--yellow-color);
    box-shadow: 0 0 37px 1px rgba(239, 255, 0, 0.45);
}

.benefit-card .num {
    font-family: "JetBrains Mono", monospace;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
}

.benefit-card h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.benefit-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

@media (max-width: 980px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Format / How it works ---------- */
.format-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.format-wrapper .visual {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--course-card-background);
}

.format-wrapper .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.format-wrapper .visual .overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.75));
    padding: 30px;
    text-align: center;
}

.format-wrapper .visual .overlay .big {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 0 0 25px rgba(127, 221, 0, 0.45);
}

.format-wrapper .visual .overlay .label {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.format-wrapper .visual .overlay .meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.format-wrapper .visual .overlay .meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.format-wrapper .visual .overlay .meta b {
    color: #fff;
    font-weight: 700;
}

.format-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.format-list h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 6px;
}

.format-list .step {
    display: flex;
    gap: 18px;
}

.format-list .step .step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(127, 221, 0, 0.4);
    background: rgba(127, 221, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 15px;
    font-family: "JetBrains Mono", monospace;
}

.format-list .step .step-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.format-list .step h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.format-list .step p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

@media (max-width: 880px) {
    .format-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ---------- Jonathan section ---------- */
.jonathan-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.jonathan-section .section-head {
    margin-bottom: 20px;
}

.jonathan-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: center;
    width: 100%;
    padding: 50px 0;
}

.jonathan-block .photo {
    display: flex;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jonathan-block .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jonathan-block .body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jonathan-block .identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jonathan-block .name {
    font-size: 36px;
    font-weight: 700;
}

.jonathan-block .role {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.jonathan-block p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.jonathan-block p strong {
    color: #fff;
    font-weight: 600;
}

.jonathan-block .stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.jonathan-block .stat {
    display: flex;
    flex-direction: column;
}

.jonathan-block .stat .v {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.jonathan-block .stat .l {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.jonathan-block .partners {
    display: flex;
    gap: 28px;
    align-items: center;
    opacity: 0.85;
    flex-wrap: wrap;
    padding-top: 8px;
}

.jonathan-block .partners img {
    height: 30px;
    object-fit: contain;
}

@media (max-width: 880px) {
    .jonathan-block {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .jonathan-block .stats,
    .jonathan-block .partners {
        justify-content: center;
    }
}

/* ---------- Pack pricing card ---------- */
.pack-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 880px;
    border: 1px solid rgba(127, 221, 0, 0.4);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(13, 18, 27, 0.95), rgba(7, 10, 16, 0.95));
    padding: 40px;
    position: relative;
    box-shadow: 0 0 60px rgba(127, 221, 0, 0.08);
    box-sizing: border-box;
}

.pack-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: var(--yellow-color);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 999px;
    border: 1px solid rgba(127, 221, 0, 0.5);
    box-shadow: 0 0 12px 1px rgba(239, 255, 0, 0.45);
}

.pack-card .pack-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pack-card .pack-name {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.pack-card .pack-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.pack-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    padding: 28px 0;
    align-items: start;
}

@media (max-width: 780px) {
    .pack-content {
        grid-template-columns: 1fr;
    }
}

.pack-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pack-features .group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 8px 0 4px;
}

.pack-features .group-title:first-child {
    margin-top: 0;
}

.pack-features .feat {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
}

.pack-features .feat .ck {
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
}

.pack-features .feat strong {
    font-weight: 600;
}

.pack-price-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pack-price-side .udemy-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--course-card-background);
    background: var(--accent-color);
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
}

.pack-price-side .price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.pack-price-side .price-big {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pack-price-side .price-cur {
    font-size: 26px;
    font-weight: 600;
}

.pack-price-side .price-old {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.pack-price-side .price-disc {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 200, 0, 0.15);
    color: #4cdf4c;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 1px;
}

.pack-price-side .price-explainer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

.pack-price-side .button {
    padding: 16px 28px;
    font-size: 17px;
    width: 100%;
}

.pack-price-side .reassure {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.pack-price-side .reassure .row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pack-price-side .reassure .ck {
    color: var(--accent-color);
    font-weight: 700;
}

.udemy-explanation {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

.udemy-explanation strong {
    color: #fff;
    font-weight: 600;
}

/* ---------- Final CTA ---------- */
.final-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 80px 30px;
    box-sizing: border-box;
}

.final-cta h2 {
    font-size: clamp(34px, 3vw + 16px, 52px);
    font-weight: 700;
    max-width: 800px;
    line-height: 1.15;
    margin: 0;
}

.final-cta .sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

.final-cta .button {
    padding: 18px 42px;
    font-size: 18px;
}

.final-cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Sticky bottom banner ---------- */
.sticky-banner {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background:
        radial-gradient(ellipse 70% 120% at 0% 50%, rgba(20, 110, 245, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 120% at 100% 50%, rgba(127, 221, 0, 0.12), transparent 55%),
        var(--course-card-background);
    border-top: 1px solid rgba(127, 221, 0, 0.4);
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.6);
}

.sticky-banner .inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 14px 30px;
    box-sizing: border-box;
}

.sticky-banner .left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.sticky-banner .row1 {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sticky-banner .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.sticky-banner .countdown-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.sticky-banner .countdown-mini .timer {
    display: inline-flex;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sticky-banner .countdown-mini .timer span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
}

.sticky-banner .price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 4px;
}

.sticky-banner .price-block .new {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.sticky-banner .price-block .new .cur {
    font-size: 16px;
    font-weight: 600;
}

.sticky-banner .price-block .old {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
}

.sticky-banner .button {
    padding: 14px 28px;
    white-space: nowrap;
    font-size: 15px;
}

@media (max-width: 880px) {
    .sticky-banner .inner {
        gap: 14px;
        padding: 12px 16px;
    }

    .sticky-banner .title {
        font-size: 15px;
    }

    .sticky-banner .countdown-mini {
        font-size: 12px;
    }

    .sticky-banner .countdown-mini .timer {
        font-size: 12px;
    }

    .sticky-banner .price-block {
        display: none;
    }

    .sticky-banner .button {
        padding: 12px 18px;
        font-size: 13px;
    }
}

/* ---------- Responsive countdown / hero ---------- */
@media (max-width: 600px) {
    .countdown-card {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        padding: 16px 22px;
    }

    .countdown-card .label {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 0;
        padding-bottom: 12px;
        text-align: center;
        align-items: center;
    }

    .countdown-card .digits {
        gap: 8px;
    }

    .countdown-card .unit {
        min-width: 48px;
    }

    .countdown-card .unit + .unit {
        border-left: none;
        padding-left: 0;
    }

    .countdown-card .unit .num {
        font-size: 26px;
    }

    section.hero h1 {
        font-size: 36px;
    }

    section.hero .lede {
        font-size: 17px;
    }
}
