/* Deal, sale, seasonal and coupon pages (src/promo-pages.njk), on top of assets/css/story-page.css.
   Linked by base.njk on pages with promoPage: true. The first half is the deal card and its grids
   (sections/deal-card.njk); the second half is the template's own parts: the seasonal status, the offer
   cards, promo codes, the questions and the "more ways to save" links. Data: src/_data/promos.json. */

/* ---- The numbers under the intro: four across ---- */

.sigma-stats--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem clamp(1.25rem, 3vw, 2.5rem);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

/* Tablets: these headlines are long, so the hero's pill drops under the headline instead of squeezing it. */
@media screen and (min-width: 48em) and (max-width: 64em) {
    #home-banners .sigma-hero-lockup {
        flex-wrap: wrap;
    }

    #home-banners .sigma-hero-copy {
        flex: 1 1 100%;
    }

    #home-banners .sigma-hero-buy {
        margin-left: auto;
    }
}

/* ---- How the saving works: three tiles of copy with an icon plate, no picture ---- */

.deals-step .sigma-tile-body {
    padding: 2.1rem 1.9rem 2.3rem;
}

.deals-step-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 0 1.2rem;
    place-items: center;
    border-radius: 16px;
    background: rgba(41, 151, 255, 0.14);
}

.deals-step-icon img {
    width: 26px;
    height: 26px;
    border-radius: 0;
    filter: invert(1);
}

.deals-step .sigma-tile-body > p:last-of-type {
    margin-bottom: 0;
}

/* ---- The toolbar over the /deals grid: family chips on the left, sort and stock on the right ---- */

.deals-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin: 0 0 1.6rem;
}

.deals-filter,
.deals-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.deals-sort-label {
    margin: 0 0.25rem 0 0;
    color: var(--sigma-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

button.sigma-pill {
    margin: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.sigma-pill.is-active,
.sigma-pill.is-active:hover,
.sigma-pill.is-active:focus-visible {
    border-color: var(--sigma-blue);
    background: var(--sigma-blue);
    color: #fff;
}

.deals-count {
    margin-left: 0.35em;
    opacity: 0.65;
    font-weight: 400;
}

.sigma-pill.is-active .deals-count {
    opacity: 1;
}

/* ---- The deal card (white, on the dark page) ---- */

/* The price line. Written with the card in the selector: story-page.css styles every paragraph in a product
   card (.sigma-product p) as grey body copy, which would otherwise win over .sigma-product-price. */
.deals-card .sigma-product-price {
    margin: 0 0 0.8rem;
    color: #1d1d1f;
    font-size: 1.25rem;
    line-height: 1.3;
}

/* The struck list price on a white card. */
.deals-card .sigma-product-price s {
    color: #6e6e73;
}

/* Screen-reader-only text: which robot a Learn More leads to. */
.deals-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The grids: four across on desktop, the story stylesheet takes over on tablets and phones. */
.deals-grid {
    --cols: 4;
}

.deals-grid--five {
    --cols: 5;
}

@media screen and (min-width: 64.063em) {
    .deals-grid .sigma-product-media {
        width: min(100%, 240px);
    }
}

.deals-card {
    position: relative;
}

.deals-card[hidden] {
    display: none;
}

.deals-card > p:last-of-type {
    flex: 0 0 auto;
}

.deals-card--oos .sigma-product-media {
    opacity: 0.55;
}

.deals-card .deals-badge--family {
    background: rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
}

/* The price block is the live-price group (data-pb-group): shopify-live.js shows the struck list price and
   the saving line while the robot is below its list price, and hides both when it is not. */
.deals-pricing {
    margin: 0;
}

.deals-pricing [hidden] {
    display: none !important;
}

/* "Save $X": a ribbon in the card's top corner. It lives inside the saving line, so it comes and goes with it. */
.deals-save {
    position: absolute;
    top: 1.05rem;
    left: 1.05rem;
    z-index: 1;
    padding: 0.4rem 0.8rem;
    border-radius: 980px;
    background: #1d1d1f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.deals-from {
    color: #6e6e73;
    font-size: 0.75em;
    font-weight: 600;
}

.deals-card .deals-rebate,
.deals-card .deals-note {
    margin: -0.45rem 0 1rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.deals-card .deals-rebate {
    color: #0066cc;
    font-weight: 600;
}

.deals-card .deals-note {
    color: #6e6e73;
}

/* Cayman and Escape cards while the free NanoFilter offer is live: where to pick up the free set. */
.deals-card .deals-free {
    margin: -0.45rem 0 1rem;
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    background: #eef6ff;
    font-size: 0.82rem;
    line-height: 1.35;
}

.deals-card .deals-free a {
    color: #0058b0;
    text-decoration: none;
}

.deals-card .deals-free a:hover,
.deals-card .deals-free a:focus-visible {
    text-decoration: underline;
}

.deals-card .deals-free strong {
    font-weight: 700;
}

.deals-card .deals-grades {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 0.9rem;
    margin: -0.35rem 0 1rem;
    color: #6e6e73;
    font-size: 0.82rem;
    line-height: 1.4;
}

.deals-grades strong {
    color: #1d1d1f;
}

.deals-empty {
    padding: 2.5rem 1rem;
    color: var(--sigma-muted);
    text-align: center;
}

/* A line under a grid: where the robots this page leaves out are listed. */
.deals-footnote {
    max-width: 760px;
    margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
    color: var(--sigma-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

.deals-footnote a {
    color: var(--sigma-link);
    text-decoration: underline;
    text-decoration-color: rgba(41, 151, 255, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Open Box and Refurbished: a sub-heading with a link to the full collection over each grid. */
.deals-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin: clamp(2.75rem, 5vw, 4.5rem) 0 1.4rem;
}

.sigma-chapter-head + .deals-sub {
    margin-top: 0;
}

.deals-sub .sigma-h3 {
    margin: 0;
}

.deals-sub .sigma-link {
    font-size: 1rem;
}

/* A promo code is a button that copies itself (assets/js/deals-page.js). */
.deals-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.1rem;
    padding: 0.6rem 1.1rem;
    border: 1px dashed #0066cc;
    border-radius: 12px;
    background: #eef6ff;
    color: #1d1d1f;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
    cursor: pointer;
}

.deals-code strong {
    color: #0066cc;
    letter-spacing: 0.1em;
}

.deals-code[data-copied] {
    border-style: solid;
    background: #0066cc;
    color: #fff;
}

.deals-code[data-copied] strong {
    color: #fff;
}

.deals-code[data-copied]::after {
    content: 'Copied';
    font-size: 0.8rem;
}

@media screen and (max-width: 63.937em) {
    .sigma-stats--quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deals-toolbar {
        justify-content: center;
    }

    .deals-filter,
    .deals-sort {
        justify-content: center;
    }
}

@media screen and (max-width: 47.937em) {
    /* The hero copy keeps the room its one-line eyebrow and two-line headline need, whichever font has
       loaded, so the lockup's top edge does not move when Poppins arrives (it is anchored to the bottom). */
    #home-banners .sigma-hero-copy {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: calc(1.15rem * 1.15 + 0.46rem + 2 * 1.04 * clamp(1.75rem, 9.5cqw, 3rem) + 0.2rem);
    }

    /* The pill always stacks the same way: the saving on one row, then the button on its own row, so a
       wider or narrower fallback font cannot change how many rows it takes. */
    #home-banners .sigma-hero-price {
        flex: 1 1 100%;
    }

    #home-banners .sigma-hero-ghost,
    #home-banners .sigma-hero-cta {
        flex: 1 1 100%;
        text-align: center;
    }

    .sigma-stats--quad {
        gap: 1.25rem;
    }

    .deals-sub {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Phones: two compact cards across, so a long list of deals does not run to dozens of screens. */
    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .deals-card {
        padding: 1.1rem 0.8rem 1.2rem;
        border-radius: 20px;
    }

    .deals-card .sigma-product-media {
        width: min(100%, 150px);
        margin-bottom: 0.7rem;
    }

    .deals-card .sigma-product-badge {
        padding: 0.25rem 0.55rem;
        font-size: 0.6rem;
    }

    .deals-card h3 {
        font-size: 1.02rem;
    }

    .deals-card .sigma-product-price {
        font-size: 1.05rem;
    }

    .deals-card .deals-rebate,
    .deals-card .deals-note {
        margin: -0.3rem 0 0.75rem;
        font-size: 0.74rem;
    }

    .deals-card .deals-free {
        margin: -0.3rem 0 0.75rem;
        padding: 0.35rem 0.5rem;
        font-size: 0.74rem;
    }

    .deals-card .deals-grades {
        gap: 0.2rem 0.55rem;
        font-size: 0.72rem;
    }

    .deals-card > p {
        margin-bottom: 0.9rem;
        font-size: 0.82rem;
    }

    .deals-card .buy-button-grid {
        flex-direction: column;
        gap: 6px;
    }

    .deals-card .buy-button {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .deals-save {
        top: 0.7rem;
        left: 0.7rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .deals-toolbar {
        gap: 0.6rem;
    }

    .deals-filter .sigma-pill,
    .deals-sort .sigma-pill {
        padding: 0.45rem 0.85rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Promo pages (src/promo-pages.njk): status chip, offer cards, promo codes,
   FAQ and the "more ways to save" links. Data: src/_data/promos.json.
   ========================================================================== */

/* The seasonal status: three states are in the HTML, promo-page.js shows the one that matches today. */
.promo-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1rem;
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.promo-status .promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(41, 151, 255, 0.45);
    border-radius: 980px;
    background: rgba(41, 151, 255, 0.12);
    color: var(--sigma-ink);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.promo-chip::before {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sigma-link);
}

.promo-chip--live::before {
    background: #30d158;
    box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.22);
}

.promo-chip--ended::before {
    background: var(--sigma-muted);
}

.promo-updated {
    color: var(--sigma-muted);
    font-size: 0.85rem;
}

[data-promo-state][hidden] {
    display: none !important;
}

/* Today's offers: one card per active entry in promos.json. */
.promo-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.9rem 1.75rem 2rem;
    border-radius: var(--sigma-radius);
    background: var(--sigma-tile);
    text-align: left;
}

.promo-offer[hidden] {
    display: none;
}

.promo-offer--featured {
    background: linear-gradient(160deg, #0a3a78 0%, #001a3d 100%);
    box-shadow: inset 0 0 0 1px rgba(41, 151, 255, 0.5);
}

.promo-offer-badge {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 980px;
    background: rgba(41, 151, 255, 0.16);
    color: var(--sigma-link);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.promo-offer h3 {
    margin: 0 0 0.6rem;
    color: var(--sigma-ink);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.promo-offer p {
    margin: 0 0 1.1rem;
    color: #a1a1a6;
    font-size: 1rem;
    line-height: 1.5;
}

.promo-offer .promo-offer-terms {
    margin: 0.2rem 0 1.1rem;
    color: var(--sigma-muted);
    font-size: 0.82rem;
}

.promo-offer .sigma-link {
    margin-top: auto;
    font-size: 1rem;
}

.promo-offer .deals-code {
    margin: 0 0 1.1rem;
    border-color: var(--sigma-link);
    background: rgba(41, 151, 255, 0.12);
    color: var(--sigma-ink);
}

.promo-offer .deals-code strong {
    color: #fff;
    font-size: 1.05rem;
}

.promo-offer-ends {
    color: #ffd60a;
    font-weight: 600;
}

/* A featured offer with "links" in promos.json (the free NanoFilter panel set): the full row, one button per
   link, and for the free set the panels' photo beside the copy. */
.promo-offer--wide {
    grid-column: 1 / -1;
}

/* The panels photo is a 300px file: drawn at 150px (170px plate less its padding) it stays sharp at 2x. */
.promo-offer-media {
    width: min(100%, 170px);
    margin: 0 0 1.25rem;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    line-height: 0;
}

.promo-offer-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.promo-offer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

.promo-offer--wide h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

@media screen and (min-width: 48em) {
    .promo-offer--media {
        display: grid;
        grid-template-columns: 170px minmax(0, 1fr);
        column-gap: clamp(1.5rem, 3vw, 2.75rem);
        align-items: start;
        justify-items: start;
    }

    .promo-offer--media .promo-offer-media {
        grid-column: 1;
        grid-row: 1 / span 6;
        align-self: center;
        margin: 0;
    }

    .promo-offer--media > :not(.promo-offer-media) {
        grid-column: 2;
    }
}

/* The spotlight band (sections/promo-spotlight.njk) sits between the hero and the intro: the intro keeps the
   short lead-in the story stylesheet gives the chapter right after the hero. */
@media screen and (min-width: 64.063em) {
    .promo-spot + #promo-intro {
        padding-top: clamp(2.25rem, 3.2vw, 3.5rem);
    }
}

/* FAQ: plain disclosure rows, open on click, readable without JavaScript. */
.promo-faq {
    max-width: 980px;
    margin: 0 auto;
}

.promo-faq details {
    border-bottom: 1px solid rgba(245, 245, 247, 0.14);
}

.promo-faq details:first-of-type {
    border-top: 1px solid rgba(245, 245, 247, 0.14);
}

.promo-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
    cursor: pointer;
    list-style: none;
}

.promo-faq summary::-webkit-details-marker {
    display: none;
}

.promo-faq summary h3 {
    margin: 0;
    color: var(--sigma-ink);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.promo-faq summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--sigma-link);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
}

.promo-faq details[open] summary::after {
    content: '\2212';
}

.promo-faq-answer {
    padding: 0 0 1.5rem;
    color: #a1a1a6;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: left;
}

.promo-faq-answer a,
.promo-prose a {
    color: var(--sigma-link);
    text-decoration: underline;
    text-decoration-color: rgba(41, 151, 255, 0.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.sigma-section--light .promo-faq details,
.sigma-section--light .promo-faq details:first-of-type {
    border-color: rgba(0, 0, 0, 0.12);
}

.sigma-section--light .promo-faq summary h3 {
    color: #1d1d1f;
}

.sigma-section--light .promo-faq-answer {
    color: #424245;
}

.sigma-section--light .promo-faq-answer a,
.sigma-section--light .promo-faq summary::after {
    color: #0066cc;
}

/* More ways to save: a link to every other deal page. */
.promo-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promo-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-more small {
    color: var(--sigma-muted);
    font-size: 0.78rem;
    font-weight: 400;
}

.promo-more .is-live {
    border-color: #30d158;
}

.promo-more .is-live small {
    color: #30d158;
    font-weight: 600;
}

/* A plain statement in a frame: "no code is needed today", "nothing is marked down right now". */
.promo-none {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(245, 245, 247, 0.16);
    border-radius: 20px;
    color: #a1a1a6;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
}

.promo-none strong {
    color: var(--sigma-ink);
}

.promo-none--top {
    margin-bottom: 20px;
}

@media screen and (max-width: 47.937em) {
    .promo-offers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo-offer {
        padding: 1.5rem 1.25rem 1.6rem;
        border-radius: 20px;
    }

    .promo-more {
        justify-content: flex-start;
    }
}

/* An offer past its end date is hidden by promo-page.js; make sure a flex or grid element really hides. */
[data-promo-offer-ends][hidden] {
    display: none !important;
}

/* Deal pages use one content width for the header, offers and product comparisons. */
.promo-shop-head {
    --shop-width: 88rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    color: #fff;
    background: #071c31;
}
.promo-shop-head__photo {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 47%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}
.promo-shop-head::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #071c31 50%, rgba(7,28,49,.86) 55%, transparent 72%);
}
.promo-shop-head__inner {
    width: min(calc(100% - 3rem), var(--shop-width));
    box-sizing: border-box;
    margin-inline: auto;
    padding-block: clamp(1.25rem, 2.4vw, 2.25rem);
}
.promo-shop-head__copy { max-width: 57%; }
.promo-shop-head h1 {
    margin: .36em 0 .22em;
    font-size: clamp(2rem, 3.5vw, 3.65rem);
    line-height: 1.03;
    letter-spacing: -.035em;
    color: #fff;
}
.promo-shop-head__copy > p { max-width: 65ch; color: #e2edf7; margin: .5rem 0; line-height: 1.45; }
.promo-shop-head nav:first-child, .promo-shop-head nav:first-child a { color: #c5d9e9; font-size: .88rem; }
.promo-shop-head nav:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.promo-shop-head nav:last-child a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .5rem 1.05rem;
    border: 1px solid #91a9bd;
    border-radius: 999px;
    color: #fff;
    background: #142c42;
    font-size: .95rem;
    line-height: 1.2;
    font-weight: 650;
    text-decoration: none;
}
.promo-shop-head nav:last-child a:first-child { color: #10253b; background: #fff; border-color: #fff; }
.promo-shop-head nav:last-child a:hover { color: #082138; background: #cdf1ff; border-color: #cdf1ff; }
.promo-shop-head a:focus-visible { outline: 3px solid #73deff; outline-offset: 3px; }
.promo-shop-head .promo-status, .promo-shop-head .pr-status { justify-content: flex-start; margin: .5rem 0; }
#promo-offers, #deals, #certified, #escape-deals { scroll-margin-top: 5rem; }
.promo-shop-head ~ section > :is(.sigma-wrap,.hx-wrap),
#promo-offers section > :is(.sigma-wrap,.hx-wrap) {
    box-sizing: border-box;
    width: min(calc(100% - 3rem), 88rem);
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
}
.promo-shop-head ~ section .promo-faq, .promo-shop-head ~ section .hx-faq { max-width: none; }
@media (min-width: 56rem) {
    .promo-shop-head ~ section :is(.promo-faq,.hx-faq) {
        display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; align-items: start;
    }
    #promo-offers :is(.promo-offers,.pr-offers) {
        width: 100%; max-width: none;
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .promo-shop-head ~ section .deals-grid--five { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 47.937em) {
    .promo-shop-head__inner { width: calc(100% - 2rem); padding-block: .85rem 1rem; }
    .promo-shop-head__copy { max-width: 100%; }
    .promo-shop-head__photo { width: 64%; }
    .promo-shop-head::before { background: linear-gradient(90deg, #071c31 18%, rgba(7,28,49,.94) 49%, rgba(7,28,49,.78)); }
    .promo-shop-head h1 { font-size: clamp(1.85rem,7.4vw,2.65rem); }
    .promo-shop-head nav:last-child a { font-size: .88rem; min-height: 44px; padding-inline: .85rem; }
    .promo-shop-head ~ section > :is(.sigma-wrap,.hx-wrap), #promo-offers section > :is(.sigma-wrap,.hx-wrap) { width: calc(100% - 2rem); }
    .promo-shop-head ~ :is(#deals,#certified,#escape-deals) { padding-block-start: 1.5rem; }
    .promo-shop-head ~ section .sigma-chapter-head { margin-bottom: 1.25rem; }
    .promo-shop-head ~ #certified .deals-sub { margin-top: 1rem; }
}

/* Allow for the logo that extends below the site's navigation. */
.promo-shop-head__inner { padding-top: clamp(3.5rem, 4vw, 4rem); }
.promo-shop-head__swatch { width: 1.65rem; height: 1.65rem; margin-right: .45rem; border-radius: .35rem; background: white; object-fit: contain; }
@media (max-width: 47.937em) { .promo-shop-head__inner { padding-top: 2.25rem; } }

.promo-lineup { margin-block: 1.25rem 2.5rem; scroll-margin-top: 5rem; }
.promo-lineup > h2 { margin: 0 0 .5rem; }
.promo-lineup-intro { max-width: 65ch; margin: 0 auto 1.25rem; line-height: 1.5; }
.promo-lineup + .promo-lineup { padding-top: 2rem; border-top: 1px solid currentColor; }
.promo-lineup + .promo-lineup > h2 { font-size: clamp(1.55rem, 3vw, 2.65rem); margin-bottom: 1rem; }
.promo-lineup:not(:has(article:not([hidden]))) { display: none; }


/* The store's own deal in the heading block: the Quantum's price today, list price and saving, one line. */
.promo-shop-head__deal {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .15rem .55rem;
    margin: .35rem 0 0;
    padding: .45rem .85rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: .95rem;
    line-height: 1.3;
    text-decoration: none;
}
.promo-shop-head__deal:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.promo-shop-head__deal strong { font-size: 1.2rem; }
.promo-shop-head__deal s { color: #c5d9e9; }
.promo-shop-head__deal [hidden] { display: none; }
.promo-shop-head__deal-save { padding: .1rem .5rem; border-radius: 980px; background: #fff; color: #0058b0; font-size: .8rem; font-weight: 700; }
