/*
 * LHL-005 — public "See what's new" page (/?page=whats-new). Loaded only on that page; every rule is scoped to .wn-*
 * under the V3 storefront body; no portal selector, no animation or transition.
 *
 * DG-WHATSNEW-SHOP-HARMONISATION-33 (Mark-approved plan): the page is built from the shared info components — the info
 * hero partial (.d-surf-dark: the accepted info panel gradient + lift), the .d-section rhythm, .d-info-card surfaces,
 * .btn buttons, the shared WhatsApp button, the V3 [data-ico] icons and the shared heading sizes (--d-h2-section /
 * --d-h2-card). This file only lays those pieces out: the old launch-page layer (balloons, eyebrows, uppercase card
 * labels, the pale-green How box, the icon tiles, the lifestyle photo split, pill chips, the bespoke berry/green buttons
 * and their own type scale) was removed here at source, not overridden. Every rule is anchored on the info page family
 * (the page's own family) so the shared card/heading defaults it adjusts are reliably outranked.
 *
 * DG-WHATSNEW-CHARACTER-CONTENT-33A (Mark): more rhythm without more green — the hero decoration is back (hero only),
 * then three different section shapes so nothing reads as one more white card: open highlights with icons, one soft
 * light band (How it works, static accents + one action), and a text-only list with hairlines (shopping detail).
 *
 * DG-WHATSNEW-EDITORIAL-VISUAL-POLISH-33B (Mark): lighter type and real contrast between neighbours. Measured against Help
 * and How it works (section titles already match: shared --d-h2-section, 700): item titles 600, descriptions 14px, the
 * local 16/17px body down to 15/16px, the account line a 13px <small>. Surfaces: open highlights → a white How band with a
 * hairline + small lift → one light berry-tinted shopping band → open people block → one compact extras group (card-size
 * title) → a warm-white closing with a small berry icon well. Sections sit 56px apart (36px on phones), page-scoped.
 */

/* page rhythm: the shared info section gap, tightened on this page only (it has many short sections) */
body.v3-storefront[data-v3-page="info"] .wn-page {
    --d-info-section: 56px;
}

/* one small icon style for the whole page: the shared line icons in the restrained green accent */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-ico {
    display: inline-flex;
    flex: none;
    line-height: 0;
    color: var(--d-green-700, #2b6925);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ico .ico {
    display: block;
    width: 22px;
    height: 22px;
}

/* hero decoration: the LHL-005 balloons, streamer and confetti (code-native SVG), against the hero panel */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx {
    position: absolute;
    top: 18px;
    right: 32px;
    line-height: 0;
    pointer-events: none;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx svg {
    display: block;
}

/* 1. highlights — open, three columns, icon + title + one line (the summary) */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px clamp(24px, 3.4vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list li {
    padding-top: 18px;
    border-top: 2px solid var(--line, #e4e7dd);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list .wn-ico .ico {
    width: 26px;
    height: 26px;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list h3 {
    margin: 12px 0 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink, #171d18);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted, #566159);
}

/* 2. How it works — one soft light band: copy + action left, three static accents right */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-band {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-areas: "copy points" "cta points";
    column-gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(26px, 3.6vw, 48px);
    border: 1px solid var(--line, #e4e7dd);
    border-radius: var(--d-radius-lg, 22px);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-copy {
    grid-area: copy;
    align-self: end;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-copy h2 {
    margin: 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-copy .d-prose {
    margin: var(--d-copy-title-gap, 16px) 0 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-cta {
    grid-area: cta;
    align-self: start;
    justify-self: start;
    margin-top: var(--d-copy-actions-gap, 24px);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-points {
    grid-area: points;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-points li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink, #171d18);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-points li + li {
    border-top: 1px solid var(--line, #e4e7dd);
}

/* 3. shopping detail — one light berry-tinted band: title + lede, then the four steps as a 2x2 text list with hairlines */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-shop-band {
    padding: clamp(24px, 3.4vw, 44px);
    border: 1px solid rgba(142, 21, 102, 0.12);
    border-radius: var(--d-radius-lg, 22px);
    background: #f7eef3;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-shop-band h2 {
    margin: 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-shop-band .d-prose {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 56px);
    margin: clamp(18px, 2.2vw, 24px) 0 0;
    padding: 0;
    list-style: none;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-benefit-list li {
    padding: 14px 0;
    border-top: 1px solid rgba(142, 21, 102, 0.14);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-benefit-list h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink, #171d18);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-benefit-list p {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted, #566159);
}

/* 4. Mark & Keely — DG-INFO-HERO-FADE-HELP-SIZE-32 (Mark): the narrower photo column */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-people {
    display: grid;
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.2fr);
    gap: 44px;
    align-items: center;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people--solo {
    grid-template-columns: minmax(0, 1fr);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-photo {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-height: 360px;
    border-radius: var(--d-radius-lg, 22px);
    background: #e9ece5;
    box-shadow: var(--shadow-sm);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 60%;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-copy h2 {
    margin: 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-copy .d-prose {
    margin: var(--d-copy-title-gap, 16px) 0 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--d-copy-actions-gap, 24px);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-account {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted, #566159);
}

/* the account line is supporting <small> text: 13px once (the native smaller font-size is neutralised) */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-account small {
    font-size: inherit;
}

/* at 13px the shared link green (3.8:1 on the page background) is too light: the darker green keeps it >= 4.5:1 */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-account a {
    color: var(--d-green-700, #2b6925);
}

/* 5. helpful extras — one compact group: copy left, the four plain-text items as a 2x2 list right (static facts) */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px clamp(24px, 4vw, 56px);
    align-items: center;
}

/* card-size title for this small group (the shared section-title rule is anchored on #main, so this one is too) */
body.v3-storefront[data-v3-page="info"] #main .wn-page .wn-extras h2 {
    margin: 0;
    font-size: var(--d-h2-card, 24px);
    line-height: 1.2;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras .d-prose {
    margin: 8px 0 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink, #171d18);
}

/* 6. closing — light card: small shipping icon, title + the portal's own shipping line, one action */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    background: linear-gradient(180deg, #fff 0%, #fbf8f3 100%);
}

/* the one small berry accent: a soft berry well behind the shipping icon */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-ico {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f6e8f1;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-ico .wn-ico {
    color: var(--berry, #8e1566);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-ico .ico {
    width: 24px;
    height: 24px;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-copy h2 {
    margin: 0;
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-copy p {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted, #566159);
}

body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-row .btn {
    white-space: nowrap;
}

/* ------------------------------- tablet --------------------------------- */
@media (max-width: 1000px) {
    /* tablets: a smaller decoration in the free corner beside the actions, clear of the title and intro */
    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx {
        top: auto;
        bottom: 16px;
        right: 22px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx svg {
        width: 80px;
        height: 100px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-band {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "points" "cta";
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-points {
        margin-top: 18px;
    }
}

/* ------------------------------- phones --------------------------------- */
@media (max-width: 720px) {
    body.v3-storefront[data-v3-page="info"] .wn-page {
        --d-info-section: 36px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras-group {
        grid-template-columns: minmax(0, 1fr);
    }

    /* phones: the smallest decoration, still in the free corner beside/below the actions (no extra hero height) */
    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx {
        bottom: 12px;
        right: 12px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx svg {
        width: 56px;
        height: 70px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list li {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px 0;
        border-top-width: 1px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list .wn-ico {
        grid-row: span 2;
        margin-top: 1px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list .wn-ico .ico {
        width: 22px;
        height: 22px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list h3 {
        margin: 0;
        font-size: 18px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-highlight-list p {
        margin-top: 4px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-points li {
        padding: 12px 0;
        font-size: 16px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-benefit-list {
        grid-template-columns: minmax(0, 1fr);
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-row .btn {
        grid-column: 1 / -1;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-ico {
        align-self: start;
        margin-top: 2px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-how-cta,
    body.v3-storefront[data-v3-page="info"] .wn-page .wn-ship-row .btn,
    body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-actions .btn {
        justify-content: center;
        justify-self: stretch;
        white-space: normal;
        width: 100%;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-people {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-people-photo {
        width: min(240px, 100%);
        max-height: none;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-extras-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

/* narrow phones (<=429px): the actions fill the bottom row, so the decoration moves to the top-right corner, small enough
   to sit in the panel's top padding beside the title. Measured clear of title, intro and actions on P1/P4/P8 from 320px;
   no hero height added. */
@media (max-width: 429px) {
    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx {
        top: 6px;
        bottom: auto;
        right: 6px;
    }

    body.v3-storefront[data-v3-page="info"] .wn-page .wn-fx svg {
        width: 34px;
        height: 42px;
    }
}

/* keyboard focus on the dark hero: the shared berry focus ring has too little contrast on the green panel */
body.v3-storefront[data-v3-page="info"] .wn-page .wn-hero a:focus-visible {
    outline-color: #fff;
}
