/*
 * TEMPORARY — Christmas page (page ID 8458614, /christmas/).
 * Styles the page's own legacy classNames to the brand guidelines
 * (docs/BRAND.md). Product cards come from the theme and are not touched.
 * See README.md in this folder.
 */

#christmas-page {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--side-pad) 48px;
    box-sizing: border-box;
}

/* ── Section headings ──────────────────────────────────────────────────── */
#christmas-page .chris-sec-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text);
    text-align: center;
    margin: 56px 0 10px;
}

/* "Gifts Under £<span style="font-family:'Cormorant infant';font-weight:200">20:</span>"
   — the inline font isn't a brand font (and isn't loaded); match the heading. */
/* Keep in-page anchor targets (e.g. the hero CTA's #xmas-lux-gifts) clear of
   the sticky site header. */
#christmas-page .chris-sec-title {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

#christmas-page .chris-sec-title span {
    font-family: inherit !important;
    font-weight: inherit !important;
}

#christmas-page .chris-sec-txt {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}

#christmas-page .chris-sec-txt:empty {
    display: none;
}

/* ── Product grids ─────────────────────────────────────────────────────── */
#christmas-page .woocommerce {
    margin-bottom: 8px;
}

/* ── "Shop All …" buttons — orange Primary (email button template) ─────── */
#christmas-page .hp-read-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: none;
    margin: 24px auto 8px;
    padding: 0;
    text-align: center;
}

#christmas-page .hp-read-more-btn a {
    display: inline-flex;
    max-width: 100%;
    text-decoration: none;
}

#christmas-page .hp-banner-btn_yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: var(--btn-h);
    padding: 0 var(--btn-pad-x);
    margin: 0;
    background: var(--cta-orange);
    color: var(--white);
    border: 1px solid var(--cta-orange);
    border-radius: var(--radius-btn);
    box-shadow: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 20px; /* px, not the rem token: this page's root font-size isn't 16px */
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}

#christmas-page .hp-banner-btn_yellow:hover {
    background: var(--cta-orange-hover);
    border-color: var(--cta-orange-hover);
}

/* ── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    #christmas-page {
        padding: 0 18px 36px;
    }

    #christmas-page .chris-sec-title {
        font-size: 30px;
        margin: 40px 0 8px;
    }

    #christmas-page .chris-sec-txt {
        font-size: 15px;
        margin-bottom: 20px;
    }

    #christmas-page .hp-banner-btn_yellow {
        font-size: 16px;
        padding: 0 20px;
    }
}

/* ── Hero banner (prepended by loader.php) ─────────────────────────────────
   Same banner as the Advent Hamper landing page's .hero-content
   (temp-legacy/advent-hamper/style.css): full-bleed photo fading into a
   cream band, centred eyebrow / Cormorant title / body copy, shimmering
   orange CTA and the reviewers + stars row. The Advent image has its cream
   fade baked in; this photo doesn't, so the fade is done with a mask over
   the same cream (#E2C6BA, sampled from the Advent hero image). */
body.page-id-8458614 .page-content {
    max-width: none;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.chris-hero {
    --chris-hero-fade: #E2C6BA;
    position: relative;
    overflow: hidden;
    background: var(--chris-hero-fade);
    color: var(--text);
    text-align: center;
}

.chris-hero__media {
    width: 100%;
    aspect-ratio: 2560 / 1218;
    max-height: 72vh;
    min-height: 420px;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.chris-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.chris-hero__text {
    position: relative;
    margin-top: -110px;
    padding: 20px 20px 48px;
}

.chris-hero .chris-hero__eyebrow {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: normal;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 10px;
}

.chris-hero .chris-hero__title {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 5px;
}

.chris-hero .chris-hero__body {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    color: var(--text);
    max-width: 604px;
    margin: 0 auto 10px;
}

.chris-hero .chris-hero__cta {
    --shimmer1: color-mix(in srgb, var(--cta-orange) 100%, white);
    --shimmer2: color-mix(in srgb, var(--cta-orange) 65%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin: 10px auto 30px;
    padding: 12px;
    box-sizing: border-box;
    background: linear-gradient(-60deg, var(--shimmer1) 35%, var(--shimmer2) 50%, var(--shimmer1) 65%);
    background-size: 300%;
    background-position-x: 100%;
    animation: chris-hero-shimmer 3s infinite ease-in-out;
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
}

.chris-hero .chris-hero__cta:hover,
.chris-hero .chris-hero__cta:focus-visible {
    color: var(--white);
    text-decoration: none;
}

@keyframes chris-hero-shimmer {
    33%  { background-position-x: 0%; }
    100% { background-position-x: 0%; }
}

@media (prefers-reduced-motion: reduce) {
    .chris-hero .chris-hero__cta { animation: none; }
}

.chris-hero__stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: normal;
}

.chris-hero__reviewers {
    display: flex;
    align-items: center;
}

.chris-hero__reviewers img {
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--black);
    border-radius: 50%;
    object-fit: cover;
}

.chris-hero__reviewers img:not(:first-child) {
    margin-left: -15px;
}

.chris-hero__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

@media (max-width: 768px) {
    .chris-hero__media {
        aspect-ratio: 4 / 3;
        max-height: none;
        min-height: 0;
    }

    .chris-hero__text {
        margin-top: -30px;
        padding: 0 20px 30px;
    }

    .chris-hero .chris-hero__eyebrow { font-size: 16px; }

    .chris-hero .chris-hero__body {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 20px;
    }

    .chris-hero .chris-hero__cta {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 503px) {
    .chris-hero .chris-hero__title {
        font-size: 36px;
        line-height: 1.1;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}
