/* =====================================================================
   Charlton Trade and Enterprise — public site
   ===================================================================== */

:root {
    /* Charlton indigo. The --wine* names are kept because the whole stylesheet
       (and every theme override below) is written against them — they simply
       hold the brand's deep-navy ramp now rather than burgundy. */
    --wine:       #30448f;
    --wine-dark:  #1a2148;
    --wine-deep:  #0f132a;
    --gold:       #c8a24a;
    --gold-light: #e0c887;
    --cream:      #f5f6fa;
    --cream-dk:   #e9ecf5;
    --ink:        #12162b;
    --body:       #3d4260;
    --muted:      #737a95;
    --line:       #dde1ee;
    --white:      #fff;

    /* The signature brand wash — every dark block on the site uses it. */
    --brand-gradient: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine-dark) 55%, var(--wine) 100%);

    --serif: Georgia, "Times New Roman", "Playfair Display", serif;
    --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1200px;
    --radius: 3px;
    --shadow:    0 2px 12px rgba(26, 21, 23, .07);
    --shadow-lg: 0 16px 48px rgba(26, 21, 23, .16);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--body);
    font: 400 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

a { color: var(--wine); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.muted { color: var(--muted); }

.skip-link {
    position: absolute; top: -50px; left: 12px; z-index: 200;
    padding: 8px 16px; background: var(--wine); color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 30px;
    border: 1px solid transparent; border-radius: var(--radius);
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    cursor: pointer; white-space: nowrap;
    transition: all .25s var(--ease);
}
.btn-gold {
    background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.btn-gold:hover {
    background: var(--gold-light); border-color: var(--gold-light);
    color: var(--ink); transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 162, 74, .35);
}
.btn-outline {
    background: transparent; border-color: var(--wine); color: var(--wine);
}
.btn-outline:hover { background: var(--wine); color: #fff; transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .55); color: #fff;
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--wine);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.transparent {
    position: fixed; left: 0; right: 0;
    background: transparent; border-color: transparent;
}
.site-header.transparent.scrolled {
    background: rgba(255, 255, 255, .97);
    border-color: var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    min-height: 82px;
}

.brand { display: flex; align-items: center; gap: 12px; }
/* Tagline stacked directly beneath the logo (Settings → General → Tagline Position). */
.brand.brand--stacked { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand.brand--stacked .brand-tag { margin-left: 1px; }
.brand-mark {
    display: grid; place-items: center; flex: none;
    width: 46px; height: 46px;
    background: linear-gradient(140deg, var(--wine), var(--wine-dark));
    border: 1px solid var(--gold); border-radius: 50%;
    color: var(--gold-light);
    font-family: var(--serif); font-size: 21px; font-weight: 700;
}
.brand-logo { max-height: 50px; width: auto; }
/* Optional light logo (Settings → General) shown ONLY over the dark, transparent
   header — i.e. the homepage hero before scrolling. On every white header (inner
   pages and the scrolled homepage) the main logo shows, so it stays visible. */
.brand-logo--light { display: none; }
.site-header.transparent:not(.scrolled) .brand-logo--light { display: inline-block; }
.site-header.has-alt-logo.transparent:not(.scrolled) .brand-logo--main { display: none; }
.brand-logo-svg { display: inline-flex; color: var(--ink); }
.brand-logo-svg svg { height: 30px; width: auto; display: block; }
.site-header.transparent:not(.scrolled) .brand-logo-svg { color: #fff; }
.footer-brand .brand-logo-svg { color: #fff; }
/* The footer sits on a dark background, so reuse the light logo here and
   override the header-only "hidden unless transparent" rule. */
.footer-brand .brand-logo--light { display: block; max-height: 46px; }
.footer-tagline { color: var(--gold); font-family: var(--serif); font-size: 13px; margin: 10px 0 0; letter-spacing: .04em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--serif); font-size: 17px; color: var(--ink); letter-spacing: .01em; }
.brand-tag {
    font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.site-header.transparent:not(.scrolled) .brand-name { color: #fff; }
.site-header.transparent:not(.scrolled) .brand-tag  { color: var(--gold); }

.main-nav ul {
    display: flex; align-items: center; gap: 4px;
    margin: 0; padding: 0; list-style: none;
}
.main-nav a {
    display: block; padding: 10px 14px;
    color: var(--body);
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    position: relative;
}
.main-nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--wine); }
.site-header.transparent:not(.scrolled) .main-nav a { color: rgba(255, 255, 255, .92); }
.site-header.transparent:not(.scrolled) .main-nav a:hover,
.site-header.transparent:not(.scrolled) .main-nav a.active { color: var(--gold); }
.nav-cta { margin-left: 10px; }
.nav-cta a { padding: 9px 18px !important; color: var(--ink) !important; }
.nav-cta a::after { display: none; }

/* ---- PWA install button (hidden until the browser says we're installable) ---- */
.nav-install { display: none; margin-left: 10px; }
.nav-install.is-ready { display: block; }
.nav-install button { display: inline-flex; align-items: center; gap: 7px; }
.nav-install button svg { flex: none; }
.site-header.transparent:not(.scrolled) .nav-install button {
    border-color: rgba(255, 255, 255, .55); color: #fff;
}
.site-header.transparent:not(.scrolled) .nav-install button:hover {
    background: #fff; border-color: #fff; color: var(--ink);
}

/* ---- Install prompt (mobile bottom sheet) ----
   Kept in the DOM but hidden, so it can slide in. Sits BELOW the nav drawer's
   backdrop (105) — opening the menu should dim it, not fight with it. */
.pwa-banner {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
    display: flex; align-items: center; gap: 13px;
    background: var(--wine-deep); color: #fff;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px;
    padding: 13px 14px; box-shadow: var(--shadow-lg);
    visibility: hidden; opacity: 0; transform: translateY(14px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.pwa-banner.open { visibility: visible; opacity: 1; transform: none; }
.pwa-banner-icon {
    width: 46px; height: 46px; flex: none; border-radius: 10px;
    background: #fff;
}
.pwa-banner-text { flex: 1; min-width: 0; line-height: 1.35; }
.pwa-banner-text strong { display: block; font-size: 14px; }
.pwa-banner-text span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.pwa-banner-actions { display: flex; flex-direction: column; gap: 5px; flex: none; }
.pwa-banner-actions .btn { padding: 8px 14px; font-size: 11px; }
.pwa-banner-close {
    background: none; border: 0; padding: 2px;
    color: rgba(255, 255, 255, .6); font-size: 11px; font-family: var(--sans);
    letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.pwa-banner-close:hover { color: #fff; }
/* Keep the back-to-top button clear of the banner. */
body.pwa-banner-on .to-top { bottom: 100px; }
/* Desktop already has the nav button — never bottom-sheet a laptop. */
@media (min-width: 901px) { .pwa-banner { display: none; } }

/* ---- iOS "Add to Home Screen" hint ---- */
.pwa-tip {
    display: none;
    position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
    z-index: 200; width: min(340px, calc(100vw - 32px));
    background: var(--wine-deep); color: #fff;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px;
    padding: 18px 40px 18px 20px; box-shadow: var(--shadow-lg);
    font-size: 14px; line-height: 1.6;
}
.pwa-tip.open { display: block; }
.pwa-tip p { margin: 0 0 8px; }
.pwa-tip p:last-child { margin-bottom: 0; }
.pwa-tip strong { color: var(--gold-light); }
.pwa-tip-close {
    position: absolute; top: 6px; right: 10px;
    background: none; border: 0; color: rgba(255, 255, 255, .7);
    font-size: 24px; line-height: 1; cursor: pointer; padding: 4px;
}
.pwa-tip-close:hover { color: #fff; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s;
}
.site-header.transparent:not(.scrolled) .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero {
    position: relative;
    display: flex; align-items: center;
    min-height: 100vh; min-height: 100svh;
    padding: 120px 0 90px;
    overflow: hidden;
    color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--brand-gradient); }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
/* Slow drift on the still fallback, so a video-less hero still feels alive. */
.hero-still { animation: ken-burns 26s ease-in-out infinite alternate; }
@keyframes ken-burns {
    from { transform: scale(1)    translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(26,21,23,.55) 0%, rgba(26,21,23,.35) 45%, rgba(26,21,23,.85) 100%),
        radial-gradient(ellipse at 30% 40%, rgba(74,14,26,.35), transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub {
    max-width: 620px; margin-bottom: 2.2em;
    color: rgba(255,255,255,.9); font-size: 1.12rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
    display: inline-block; margin-bottom: 14px;
    color: var(--gold);
    font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold-light); }

.hero-scroll {
    position: absolute; left: 50%; bottom: 28px; z-index: 1;
    width: 26px; height: 42px; margin-left: -13px;
    border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px;
}
.hero-scroll span {
    position: absolute; left: 50%; top: 8px;
    width: 3px; height: 7px; margin-left: -1.5px;
    background: var(--gold); border-radius: 2px;
    animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(15px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 0; }
}

/* ---------------------------------------------------------------- Page hero */
.page-hero {
    padding: 150px 0 70px;
    background: var(--brand-gradient);
    color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(200,162,74,.14), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.82); }

/* Optional hero photo. Without an image the hero keeps the themed gradient
   above; with one, --hero-image carries the picture and the same gradient is
   laid over it as a scrim, so the header still reads in the active theme. */
.page-hero--image {
    background: var(--wine-deep) var(--hero-image) center / cover no-repeat;
}
.page-hero--image::before {
    content: ""; position: absolute; inset: 0;
    background: var(--brand-gradient); opacity: .72;
}

/* ---------------------------------------------------------------- Share */
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.share-label {
    margin-right: 2px;
    font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.share-btn {
    display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: 50%;
    color: var(--body); cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.share-btn svg { width: 17px; height: 17px; fill: currentColor; }
.share-btn:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
/* Each network keeps its own colour on hover, so the row is scannable. */
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-x:hover        { background: #000;    border-color: #000; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-viber:hover    { background: #7360f2; border-color: #7360f2; }
.share-email:hover    { background: var(--wine); border-color: var(--wine); }
.share-btn.copied { background: #1f7a3d; border-color: #1f7a3d; color: #fff; }
.section-dark .share-btn, .page-hero .share-btn {
    background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff;
}

/* ---------------------------------------------------------------- Sections */
.section { padding: 90px 0; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--brand-gradient); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.section-foot { margin-top: 48px; text-align: center; }

.lead { font-size: 1.08rem; color: var(--body); }

.rich-text { line-height: 1.8; }
.rich-text h2, .rich-text h3 { margin-top: 1.4em; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.3em; }
.rich-text li { margin-bottom: .4em; }
.rich-text blockquote {
    margin: 1.5em 0; padding: 4px 0 4px 22px;
    border-left: 3px solid var(--gold);
    font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink);
}
.rich-text a { text-decoration: underline; }

.card {
    padding: 34px; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.empty-block {
    padding: 60px 24px; text-align: center;
    background: var(--cream); border: 1px dashed var(--line); border-radius: var(--radius);
    color: var(--muted);
}
.mt { margin-top: 28px; }
.fine-print { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- Intro */
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 70px; align-items: center;
}
.intro-media { position: relative; }
.intro-media img {
    width: 100%; height: 100%; max-height: 540px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.intro-badge {
    position: absolute; right: -22px; bottom: -22px;
    display: grid; place-items: center; gap: 2px;
    width: 148px; height: 148px; padding: 10px;
    background: var(--wine); border: 3px solid var(--gold); border-radius: 50%;
    color: #fff; text-align: center;
}
.intro-badge-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--gold-light); }
.intro-badge-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------------- Stats */
.stats-strip { padding: 56px 0; background: var(--brand-gradient); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 0 12px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat-value {
    display: block; margin-bottom: 4px;
    font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--gold);
}
.stat-name {
    font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255,255,255,.62);
}

/* ---------------------------------------------------------------- Products */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 28px;
}
.product-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}
.product-media {
    position: relative; display: block;
    aspect-ratio: 4 / 5; background: var(--cream-dk); overflow: hidden;
}
.product-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-flag {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 12px; border-radius: 2px;
    background: var(--wine); color: #fff;
    font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.product-flag.gold { background: var(--gold); color: var(--ink); }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.product-cat {
    margin-bottom: 8px;
    font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
}
.product-body h3 { margin-bottom: 6px; font-size: 1.18rem; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--wine); }
.product-region { margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.product-desc { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
/* Stock badge. One pill, three states — plenty, nearly gone, none — used both
   on the product cards and on the product page, so the two can never describe
   the same shelf differently. */
.stock-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0 0 12px; padding: 5px 12px 5px 10px;
    border: 1px solid transparent; border-radius: 40px;
    font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    white-space: nowrap;
}
.stock-badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: currentColor; flex: none;
}
.stock-badge.in  { color: #166534; background: #e8f5ec; border-color: #cfe8d8; }
.stock-badge.low { color: #92400e; background: #fdf3e3; border-color: #f3e0bd; }
.stock-badge.out { color: var(--muted); background: var(--cream); border-color: var(--line); }

.product-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.price { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.price del { margin-right: 6px; color: var(--muted); font-size: .85em; }
.price ins { color: var(--wine); text-decoration: none; }

.shop-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 18px; margin-bottom: 26px;
}
.shop-search { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-search input, .shop-search select {
    padding: 10px 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    font-family: inherit; font-size: 14px; color: var(--body);
}
.shop-search input { min-width: 220px; }
.shop-search input:focus, .shop-search select:focus { outline: none; border-color: var(--gold); }
.result-count { margin-bottom: 22px; font-size: 14px; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
    padding: 9px 18px;
    background: var(--white); border: 1px solid var(--line); border-radius: 40px;
    color: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}
.chip:hover { border-color: var(--gold); color: var(--wine); }
.chip.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.filter-blurb { margin: -14px 0 26px; color: var(--muted); font-style: italic; }

/* Wraps, always: a pager that cannot wrap sets the width of everything above
   it, which is how a long catalogue used to stretch the whole product grid off
   the side of a phone. */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination .page-step { padding: 0 14px; font-size: 13px; }
.page-gap {
    display: grid; place-items: center; min-width: 24px; height: 42px;
    color: var(--muted); font-weight: 600;
}
.pagination a {
    display: grid; place-items: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--body); font-weight: 600; font-size: 14px;
}
.pagination a:hover { border-color: var(--gold); color: var(--wine); }
.pagination a.active { background: var(--wine); border-color: var(--wine); color: #fff; }

/* ---------------------------------------------------------------- Product detail */
.breadcrumb { margin-bottom: 30px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--wine); }

.product-detail { display: grid; grid-template-columns: 5fr 6fr; gap: 60px; align-items: start; }
.pd-media {
    position: relative; overflow: hidden;
    background: var(--cream-dk); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.pd-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pd-body h1 { margin-bottom: .15em; }
.pd-region { margin-bottom: 22px; color: var(--muted); font-size: 15px; }
.pd-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
    padding: 20px 0; margin-bottom: 22px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pd-price del { color: var(--muted); font-family: var(--serif); font-size: 1.3rem; }
.pd-price ins { color: var(--wine); font-family: var(--serif); font-size: 2.1rem; text-decoration: none; }
.pd-stock { margin: 0 0 0 auto; }

.pd-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px; margin: 26px 0; padding: 0;
    list-style: none; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.pd-facts li { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: var(--white); }
.pd-facts span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-facts strong { color: var(--ink); font-weight: 600; font-size: 14px; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.pd-award {
    padding: 12px 16px; background: var(--cream);
    border-left: 3px solid var(--gold); border-radius: var(--radius);
    font-size: 14px; color: var(--ink);
}

.pd-tabs { margin-top: 70px; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tab-btn {
    padding: 14px 26px;
    background: none; border: 0; border-bottom: 2px solid transparent;
    color: var(--muted); font-family: inherit;
    font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    cursor: pointer; transition: all .2s var(--ease);
}
.tab-btn:hover { color: var(--wine); }
.tab-btn.active { color: var(--wine); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 34px 0; max-width: 820px; }
.tab-panel.active { display: block; animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- Banner strip */
.banner-strip {
    padding: 80px 0;
    background: var(--brand-gradient);
    background-size: cover; background-position: center;
    color: #fff;
}
.banner-strip.compact { padding: 56px 0; }
.banner-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 30px;
}
.banner-inner h2 { color: #fff; margin-bottom: .25em; }
.banner-sub { color: var(--gold-light); font-size: 1.05rem; margin-bottom: .5em; }
.banner-inner p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.banner-inner > div { flex: 1 1 420px; }

.cta-strip { padding: 70px 0; background: var(--cream); border-top: 1px solid var(--line); }
.cta-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-inner h2 { margin-bottom: .2em; }
.cta-inner p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Promotions */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.promo-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.promo-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-dk); overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo-card:hover .promo-media img { transform: scale(1.05); }
.promo-badge {
    position: absolute; top: 14px; right: 14px;
    padding: 7px 14px; border-radius: 2px;
    background: var(--gold); color: var(--ink);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.promo-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.promo-type {
    margin-bottom: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.promo-body h3 { margin-bottom: 8px; }
.promo-body p { font-size: 14.5px; color: var(--muted); }
.promo-price { margin: 4px 0 14px; font-family: var(--serif); }
.promo-price del { margin-right: 8px; color: var(--muted); }
.promo-price ins { color: var(--wine); font-size: 1.4rem; text-decoration: none; }
.promo-body .link-arrow { margin-top: auto; padding-top: 12px; }

.promo-list { display: flex; flex-direction: column; gap: 34px; }
.promo-row {
    display: grid; grid-template-columns: 380px 1fr; gap: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
}
.promo-row.expired { opacity: .62; }
.promo-row-media { position: relative; min-height: 280px; background: var(--cream-dk); }
.promo-row-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-row-body { padding: 36px; }
.promo-row-body h2 { margin-bottom: .2em; }
.promo-sub { margin-bottom: 1em; color: var(--gold); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }

.promo-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 26px;
    padding: 18px 0; margin: 20px 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.promo-pricing { font-family: var(--serif); }
.promo-pricing del { margin-right: 8px; color: var(--muted); }
.promo-pricing ins { color: var(--wine); font-size: 1.7rem; text-decoration: none; }
.promo-code { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.promo-code span { letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.promo-code code {
    padding: 6px 12px;
    background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius);
    color: var(--wine); font-weight: 700; font-size: 13px; letter-spacing: .08em;
}
.promo-dates { font-size: 13px; color: var(--muted); }
.promo-dates.is-expired { color: var(--wine); font-weight: 600; }

/* ---------------------------------------------------------------- News */
.news-events { display: grid; grid-template-columns: 1.65fr 1fr; gap: 60px; align-items: start; }

.news-item { display: grid; grid-template-columns: 190px 1fr; gap: 24px; margin-bottom: 30px; }
.news-item.news-lead { grid-template-columns: 1fr; }
.news-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream-dk); }
.news-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.news-lead .news-media img { aspect-ratio: 16 / 8; }
.news-item:hover .news-media img { transform: scale(1.05); }
.news-meta { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.news-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.news-lead .news-body h3 { font-size: 1.6rem; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--wine); }
.news-body p { font-size: 14.5px; color: var(--muted); }

.events-col { padding: 32px; background: var(--cream); border-radius: var(--radius); }
.event-mini { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-mini:last-of-type { border-bottom: 0; }
.event-mini h3 { margin-bottom: 4px; font-size: 1.05rem; }
.event-mini p { margin: 0; font-size: 13px; }
.event-date {
    display: grid; place-items: center; align-content: center; flex: none;
    width: 62px; height: 62px;
    background: var(--wine); border-radius: var(--radius); color: #fff;
}
.ed-month { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--gold-light); }
.ed-day { font-family: var(--serif); font-size: 22px; line-height: 1; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.post-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-dk); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-cat {
    position: absolute; left: 14px; bottom: 14px;
    padding: 5px 12px; background: rgba(26,21,23,.82); border-radius: 2px;
    color: var(--gold-light); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-meta { margin-bottom: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-body h2 { margin-bottom: 10px; font-size: 1.3rem; }
.post-body h2 a { color: var(--ink); }
.post-body h2 a:hover { color: var(--wine); }
.post-body p { font-size: 14.5px; color: var(--muted); }
.post-body .link-arrow { margin-top: auto; padding-top: 12px; }

.article-head { max-width: 800px; margin: 0 auto 34px; text-align: center; }
.article-meta { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.article-media { max-width: 980px; margin: 0 auto 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body .lead {
    padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink);
}
.author-box {
    display: flex; gap: 18px; align-items: center;
    margin-top: 50px; padding: 26px;
    background: var(--cream); border-radius: var(--radius);
}
.author-initials {
    display: grid; place-items: center; flex: none;
    width: 56px; height: 56px;
    background: var(--wine); border-radius: 50%;
    color: var(--gold-light); font-family: var(--serif); font-size: 22px;
}
.author-box p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- Events */
.event-feature {
    display: grid; grid-template-columns: 1.05fr 1fr;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.event-feature-media { position: relative; min-height: 380px; background: var(--cream-dk); }
.event-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.event-flag {
    position: absolute; top: 18px; left: 18px;
    padding: 7px 15px; background: var(--gold); border-radius: 2px;
    color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.event-flag.past { background: var(--muted); color: #fff; }
.event-feature-body { padding: 44px; }
.event-facts { margin: 26px 0; padding: 0; list-style: none; }
.event-facts li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 11px 0; border-bottom: 1px solid var(--line);
}
.event-facts span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event-facts strong { color: var(--ink); font-weight: 600; text-align: right; }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.event-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card.is-past { opacity: .72; }
.event-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-dk); overflow: hidden; }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card-media img { transform: scale(1.05); }
.event-date-badge {
    position: absolute; top: 14px; left: 14px;
    display: grid; place-items: center; align-content: center;
    width: 62px; padding: 8px 4px;
    background: rgba(26,21,23,.88); border-radius: var(--radius); color: #fff;
}
.event-date-badge .ed-year { font-size: 10px; color: rgba(255,255,255,.6); }
.event-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.event-card-body h3 { margin-bottom: 6px; font-size: 1.2rem; }
.event-card-body h3 a { color: var(--ink); }
.event-card-body h3 a:hover { color: var(--wine); }
.event-venue { margin-bottom: 10px; font-size: 13px; color: var(--gold); font-weight: 600; }
.event-card-body p { font-size: 14.5px; color: var(--muted); }
.event-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.event-price { font-family: var(--serif); color: var(--ink); }

.event-single .es-media { position: relative; margin-bottom: 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.event-single .es-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.es-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
.es-facts { margin: 0 0 24px; padding: 0; list-style: none; }
.es-facts li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.es-facts li:last-child { border-bottom: 0; }
.es-facts span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.es-facts strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- About */
.profile-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.profile-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.mv-card {
    padding: 40px; background: var(--white);
    border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.mv-icon { display: block; margin-bottom: 14px; color: var(--gold); font-size: 30px; }
.mv-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.value-card {
    display: flex; align-items: center; gap: 14px;
    padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.value-num { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.value-card p { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ---------------------------------------------- Company profile (aboutus.php)
   One card grid carries the whole page — overview, vision, heritage, network,
   services and trends — so the profile reads as a single document rather than
   nine differently-dressed blocks. */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); gap: 26px; }
.about-card {
    padding: 30px; background: var(--white);
    border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-card h3 { margin: 0 0 10px; font-size: 1.05rem; }
.about-card p { margin: 0; color: var(--muted); font-size: 15px; }
.about-card-num {
    display: block; margin-bottom: 12px;
    font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--gold);
}

/* Split rows: a picture on one side, the section's points on the other.
   The picture is always first in the markup; --flip moves it to the right with
   `order`, so the page reads text-first however it is arranged on screen. A
   section with no picture uploaded simply never gets .about-split. */
.about-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.about-split + .about-split { margin-top: 60px; }
/* Whole image, always. These are pictures with content in them — a portrait
   shot forced into a landscape box loses its top and bottom — so the box takes
   the picture's own proportions rather than the other way round. */
.about-split-media img {
    display: block; width: 100%; height: auto;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about-split--flip .about-split-media { order: 2; }
/* Inside a split the cards stack: two narrow columns in half the page would
   squeeze the wording into slivers. */
.about-split .about-grid, .about-split .values-grid { grid-template-columns: 1fr; gap: 18px; }
.about-split .mv-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 0; }
@media (max-width: 900px) {
    .about-split { grid-template-columns: 1fr; gap: 30px; }
    .about-split + .about-split { margin-top: 44px; }
    .about-split--flip .about-split-media { order: 0; }
}

/* Video band: the video IS the section — full-bleed edge to edge, sized 16:9
   to the viewport and cropped to fit, the same treatment the homepage header
   gives its video. It loops itself with no controls and takes no clicks, so it
   behaves like a background rather than a player. */
.video-band {
    position: relative; overflow: hidden;
    height: 56.25vw;                        /* 16:9 of the viewport width */
    min-height: 380px; max-height: 76vh;
    background: var(--wine-deep);
}
.video-band video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    border: 0; pointer-events: none;
}
/* A picture in the band is shown whole against the band's own colour, however
   its proportions compare with the 16:9 strip. */
.video-band img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: contain;
    border: 0; pointer-events: none;
}
.video-band iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;          /* 16:9 sized to width  */
    min-height: 100%; min-width: 177.78vh;  /* 16:9 sized to height */
    transform: translate(-50%, -50%);
    border: 0; pointer-events: none;
}

/* A chart is read, not cropped — so it is contained, never covered. */
.chart-figure { max-width: 940px; margin: 0 auto 40px; text-align: center; }
.chart-figure img {
    width: 100%; height: auto; padding: 18px;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.chart-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Numbered partner rosters. */
.brand-list { margin: 0; padding-left: 1.35em; font-size: 15px; line-height: 1.95; color: var(--body); }
.brand-list li::marker { color: var(--gold); font-weight: 700; }
.brand-list-head {
    margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
    font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--wine);
}
.section-dark .about-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section-dark .about-card p { color: rgba(255,255,255,.72); }

.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 10px 0; }
.timeline::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
    width: 1px; margin-left: -.5px; background: var(--line);
}
.timeline-item {
    position: relative;
    display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center;
    margin-bottom: 14px;
}
.timeline-marker {
    grid-column: 2; display: grid; place-items: center;
    width: 90px; height: 90px; margin: 0 auto;
    background: var(--white); border: 2px solid var(--gold); border-radius: 50%;
    z-index: 1;
}
.timeline-marker span { font-family: var(--serif); font-size: 17px; color: var(--wine); }
.timeline-body {
    grid-column: 3; padding: 22px 26px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.timeline-item:nth-child(even) .timeline-body { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-body h3 { margin-bottom: 6px; font-size: 1.15rem; }
.timeline-body p { margin: 0; font-size: 14.5px; color: var(--muted); }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.partner-card {
    padding: 30px; text-align: center;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.partner-card-logo {
    display: grid; place-items: center;
    width: 76px; height: 76px; margin: 0 auto 16px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 50%;
}
.partner-card-logo img { max-width: 54px; max-height: 54px; object-fit: contain; }
.partner-card-logo span { font-family: var(--serif); font-size: 22px; color: var(--wine); }
.partner-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.partner-country { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.partner-card p { font-size: 14px; color: var(--muted); }

.partner-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.partner-logo {
    display: grid; place-items: center;
    height: 96px; padding: 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--muted); font-family: var(--serif); font-size: 15px; text-align: center;
    filter: grayscale(1); opacity: .75;
    transition: all .3s var(--ease);
}
.partner-logo:hover { filter: none; opacity: 1; border-color: var(--gold); color: var(--wine); }
.partner-logo img { max-height: 56px; object-fit: contain; }

/* ---------------------------------------------------------------- Testimonials */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
    display: flex;
    transition: transform .55s var(--ease);
}
.testimonial {
    flex: 0 0 calc(100% / 3); min-width: 0;
    margin: 0; padding: 0 14px;
}
.testimonial blockquote {
    margin: 0 0 20px; padding: 30px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    color: rgba(255,255,255,.9); font-family: var(--serif); font-size: 1.05rem;
    font-style: italic; line-height: 1.75;
}
.t-stars { margin-bottom: 12px; padding-left: 30px; color: var(--gold); letter-spacing: 3px; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-left: 30px; }
.testimonial figcaption img,
.t-initials {
    width: 48px; height: 48px; flex: none;
    border-radius: 50%; object-fit: cover;
    display: grid; place-items: center;
    background: var(--wine); color: var(--gold-light);
    font-family: var(--serif); font-size: 19px;
}
.testimonial figcaption strong { display: block; color: #fff; font-size: 15px; }
.t-role { font-size: 12.5px; color: rgba(255,255,255,.6); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.slider-btn {
    width: 46px; height: 46px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
    color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
    transition: all .25s var(--ease);
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
    width: 8px; height: 8px; padding: 0;
    background: rgba(255,255,255,.3); border: 0; border-radius: 50%;
    cursor: pointer; transition: all .25s var(--ease);
}
.slider-dots button.active { width: 26px; border-radius: 4px; background: var(--gold); }

/* ---------------------------------------------------------------- Contact */
.contact-strip { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }

.contact-info { margin: 26px 0 30px; padding: 0; list-style: none; }
.contact-info li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: 0; }
.ci-icon {
    display: grid; place-items: center; flex: none;
    width: 42px; height: 42px;
    background: var(--white); border: 1px solid var(--line); border-radius: 50%;
    color: var(--gold); font-size: 17px;
}
.contact-info strong {
    display: block; margin-bottom: 3px;
    color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.contact-info span span, .contact-info li > span:last-child { font-size: 14.5px; color: var(--muted); }
.contact-info a { color: var(--body); }
.contact-info a:hover { color: var(--wine); }

.newsletter-card {
    padding: 38px;
    background: var(--wine-deep); border-radius: var(--radius); color: rgba(255,255,255,.8);
    box-shadow: var(--shadow-lg);
}
.newsletter-card h3 { color: #fff; }
.newsletter-card p { font-size: 14.5px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.newsletter-form input {
    flex: 1 1 180px; padding: 13px 16px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius); color: #fff; font-family: inherit; font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-card .fine-print { color: rgba(255,255,255,.45); }
.form-msg {
    padding: 10px 14px; margin-bottom: 4px;
    background: rgba(200,162,74,.15); border-left: 3px solid var(--gold); border-radius: var(--radius);
    color: var(--gold-light); font-size: 14px;
}

.contact-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; margin-bottom: 7px;
    color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--body); font-family: inherit; font-size: 15px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,162,74,.14);
}
.form-group textarea { resize: vertical; }
.req { color: var(--wine); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 16px 20px; margin-bottom: 22px; border-radius: var(--radius); font-size: 14.5px; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-success { background: #eaf6ee; border-left: 3px solid #1f7a3d; color: #14512a; }
.alert-error   { background: #fdeeee; border-left: 3px solid var(--wine); color: #7b1e2b; }

.contact-card { background: var(--cream); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 50%;
    color: rgba(255,255,255,.75);
    transition: all .25s var(--ease);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }
.social-links.dark a {
    width: auto; height: auto; padding: 8px 16px; border-radius: 40px;
    background: var(--white); border-color: var(--line); color: var(--body);
    font-size: 12.5px; font-weight: 600;
}
.social-links.dark a:hover { background: var(--wine); border-color: var(--wine); color: #fff; }

.map-section { padding-bottom: 0; }
.map-wrap { line-height: 0; filter: grayscale(.35); transition: filter .4s var(--ease); }
.map-wrap:hover { filter: none; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--brand-gradient); color: rgba(255,255,255,.66); }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 44px; padding-top: 72px; padding-bottom: 52px;
}
.footer-brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #fff; }
.footer-about p { font-size: 14.5px; line-height: 1.75; }
.footer-col h3 {
    margin-bottom: 20px;
    color: #fff; font-family: var(--sans);
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 14.5px; }
.footer-col a { color: rgba(255,255,255,.62); }
.footer-col a:hover { color: var(--gold); }
.contact-list li { line-height: 1.65; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 22px; padding-bottom: 22px;
}
.footer-bottom p { margin: 0; font-size: 13px; }
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { color: var(--gold-light); text-decoration: underline; }
.drink-note { color: rgba(255,255,255,.38); font-size: 12px !important; }

.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 46px; height: 46px;
    background: var(--wine); border: 1px solid var(--gold); border-radius: 50%;
    color: var(--gold-light); font-size: 18px; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* ---------------------------------------------------------------- Reveal on scroll
   Scoped to html.js so that with JavaScript disabled (or broken) the content is
   simply visible rather than stuck at opacity 0. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { animation: none !important; }
}

/* =====================================================================
   Responsive
   ===================================================================== */

/* Laptop */
@media (max-width: 1080px) {
    .main-nav a { padding: 10px 10px; font-size: 12px; }
    .intro-grid, .profile-grid { gap: 44px; }
    .news-events { grid-template-columns: 1fr; gap: 50px; }
    .promo-row { grid-template-columns: 300px 1fr; }
    .event-feature { grid-template-columns: 1fr; }
    .event-feature-media { min-height: 300px; }
    .testimonial { flex-basis: 50%; }
}

/* Tablet */
@media (max-width: 900px) {
    .section { padding: 68px 0; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
        width: min(320px, 84vw);
        padding: 90px 24px 30px;
        background: var(--wine-deep);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        overflow-y: auto;
    }
    body.nav-open .main-nav { transform: none; }
    body.nav-open { overflow: hidden; }
    body.nav-open::after {
        content: ""; position: fixed; inset: 0; z-index: 105;
        background: rgba(26,21,23,.6);
    }
    /* The header has z-index:100 and is positioned, so it forms its own stacking
       context: the drawer's z-index:110 is resolved INSIDE it and cannot climb
       past the backdrop above (z-index:105 on body::after). The backdrop would
       then cover the open drawer and swallow every tap. Lift the whole header
       above the backdrop while the drawer is open so the links stay clickable. */
    body.nav-open .site-header { z-index: 115; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a,
    .site-header.transparent:not(.scrolled) .main-nav a {
        padding: 15px 4px; color: rgba(255,255,255,.86); font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,.09);
    }
    .main-nav a::after { display: none; }
    .nav-cta { margin: 20px 0 0; }
    .nav-cta a { text-align: center; border: 0 !important; }
    .nav-install { margin: 20px 0 0; }
    .nav-install.is-ready { display: block; }
    .nav-install button,
    .site-header.transparent:not(.scrolled) .nav-install button {
        width: 100%; justify-content: center;
        border-color: rgba(255, 255, 255, .55); color: #fff;
    }
    .nav-toggle { z-index: 120; }
    body.nav-open .nav-toggle span { background: #fff; }

    .intro-grid, .profile-grid, .product-detail, .contact-grid, .contact-page, .es-layout {
        grid-template-columns: 1fr;
    }
    .intro-media { order: -1; }
    .intro-badge { right: 16px; bottom: -18px; width: 118px; height: 118px; }
    .intro-badge-num { font-size: 26px; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
    .stat:nth-child(2n) { border-right: 0; }

    .mv-grid { grid-template-columns: 1fr; }
    .promo-row { grid-template-columns: 1fr; }
    .promo-row-media { min-height: 220px; }
    .promo-row-body { padding: 28px; }

    /* Timeline drops to a single left rail */
    .timeline::before { left: 34px; }
    .timeline-item { grid-template-columns: 68px 1fr; gap: 18px; margin-bottom: 22px; }
    .timeline-marker { grid-column: 1; width: 68px; height: 68px; }
    .timeline-marker span { font-size: 14px; }
    .timeline-body,
    .timeline-item:nth-child(even) .timeline-body { grid-column: 2; grid-row: auto; text-align: left; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .testimonial { flex-basis: 100%; }
    .article-body .lead { font-size: 1.15rem; }
}

/* Mobile */
@media (max-width: 600px) {
    body { font-size: 15px; }
    .container { padding: 0 18px; }
    .section { padding: 54px 0; }
    .header-inner { min-height: 68px; }
    .brand-mark { width: 40px; height: 40px; font-size: 18px; }
    .brand-name { font-size: 15px; }
    .brand-tag { display: none; }

    .hero { min-height: 88vh; padding: 110px 0 80px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .page-hero { padding: 120px 0 54px; }

    .section-head { margin-bottom: 36px; }
    .card, .newsletter-card, .events-col { padding: 24px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-body { padding: 14px; }
    .product-body h3 { font-size: 1rem; }
    .product-desc { display: none; }
    .price { font-size: 1rem; }
    .product-foot { flex-direction: column; align-items: flex-start; gap: 8px; }

    .post-grid, .event-grid, .promo-grid, .partner-grid { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; }
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .pd-price { flex-direction: column; align-items: flex-start; gap: 6px; }
    .pd-stock { margin-left: 0; }
    .pd-actions .btn, .event-actions .btn { flex: 1 1 100%; }
    .tab-btn { flex: 1 1 auto; padding: 12px 14px; font-size: 11px; }

    .promo-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .cta-inner, .banner-inner { flex-direction: column; align-items: flex-start; }
    .cta-inner .btn, .banner-inner .btn { width: 100%; }
    .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Appearance — YouTube hero, colour themes, and font families
   (driven by data-theme / data-font on <html>; Settings → Appearance)
   ===================================================================== */

/* YouTube background hero: scale a 16:9 iframe to fully cover the header. */
.hero-yt { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-yt iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;          /* 16:9 sized to width  */
    min-height: 100%; min-width: 177.78vh;  /* 16:9 sized to height */
    transform: translate(-50%, -50%);
    border: 0;
}

/* ---- Colour themes: override the palette variables ----
   The unnamed default is Charlton Indigo (see :root at the top of this file).
   Each theme below re-tints the same ramp, and --brand-gradient follows along
   because it is built from the three ramp variables. */
:root[data-theme="wine"] {
    --wine: #7b1e2b; --wine-dark: #4a0e1a; --wine-deep: #2c1418;
    --gold: #c8a24a; --gold-light: #e0c887;
    --cream: #faf7f2; --cream-dk: #f2ece2;
    --ink: #1a1517; --body: #3d3733; --muted: #7a736d; --line: #e5ded3;
}
:root[data-theme="midnight"] {
    --wine: #1f2a4d; --wine-dark: #141c34; --wine-deep: #0e1424;
    --gold: #c8a24a; --gold-light: #e3ce93;
}
:root[data-theme="emerald"] {
    --wine: #1f5140; --wine-dark: #143a2c; --wine-deep: #0d221b;
    --gold: #c8a24a; --gold-light: #e0c887;
}
:root[data-theme="royal"] {
    --wine: #45305f; --wine-dark: #2f2043; --wine-deep: #1d1330;
    --gold: #c8a24a; --gold-light: #e0c887;
}
:root[data-theme="copper"] {
    --wine: #3c3531; --wine-dark: #26211e; --wine-deep: #171310;
    --gold: #b3703f; --gold-light: #d99e6f;
}
:root[data-theme="ocean"] {
    --wine: #12565c; --wine-dark: #0d3c40; --wine-deep: #082528;
    --gold: #d6a441; --gold-light: #ecc987;
}

/* ---- Nord font family (files in assets/fonts/nord/ — see README) ----
   Matches the shipped package: Regular (Nord.*), Light, Medium, Bold. The
   package has no italic cuts, so italics are synthesised by the browser. */
@font-face {
    font-family: "Nord"; font-weight: 400; font-style: normal; font-display: swap;
    src: url("../fonts/nord/Nord.woff2") format("woff2"),
         url("../fonts/nord/Nord.woff")  format("woff"),
         url("../fonts/nord/Nord.ttf")   format("truetype");
}
@font-face {
    font-family: "Nord"; font-weight: 300; font-style: normal; font-display: swap;
    src: url("../fonts/nord/Nord-Light.woff2") format("woff2"),
         url("../fonts/nord/Nord-Light.woff")  format("woff"),
         url("../fonts/nord/Nord-Light.ttf")   format("truetype");
}
@font-face {
    font-family: "Nord"; font-weight: 500; font-style: normal; font-display: swap;
    src: url("../fonts/nord/Nord-Medium.woff2") format("woff2"),
         url("../fonts/nord/Nord-Medium.woff")  format("woff"),
         url("../fonts/nord/Nord-Medium.ttf")   format("truetype");
}
@font-face {
    font-family: "Nord"; font-weight: 700; font-style: normal; font-display: swap;
    src: url("../fonts/nord/Nord-Bold.woff2") format("woff2"),
         url("../fonts/nord/Nord-Bold.woff")  format("woff"),
         url("../fonts/nord/Nord-Bold.ttf")   format("truetype");
}

/* When Nord is selected, use it for both display and body type (with safe fallbacks). */
:root[data-font="nord"] {
    --serif: "Nord", Georgia, "Times New Roman", serif;
    --sans:  "Nord", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =====================================================================
   FAQ accordion (faq.php)
   ===================================================================== */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 2px; cursor: pointer; list-style: none;
    font-family: var(--serif); font-size: 1.12rem; color: var(--ink);
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--wine); }
.faq-chevron { flex: none; color: var(--wine); transition: transform .25s var(--ease); }
.faq-item[open] summary { color: var(--wine); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    padding: 0 2px 22px; max-width: 68ch;
    color: var(--body); font-size: .97rem; line-height: 1.8;
    border-left: 3px solid var(--gold); padding-left: 18px; margin-bottom: 20px;
}

.faq-cta {
    margin-top: 44px; padding: 34px 30px; text-align: center;
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
}
.faq-cta h3 { margin-bottom: .3em; }
.faq-cta p  { color: var(--muted); }

/* =====================================================================
   Age verification gate
   ===================================================================== */
/* The gate is a dialog floating over the real page: the site stays visible
   behind it, dimmed and softly blurred, so a visitor can see what they are
   being asked to enter. The card itself is solid, so it stays legible over
   whatever happens to be underneath. */
.age-gate {
    position: fixed; inset: 0; z-index: 9000;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    background: rgba(9, 12, 26, .58);
    -webkit-backdrop-filter: blur(7px) saturate(.85);
            backdrop-filter: blur(7px) saturate(.85);
    animation: age-fade .35s var(--ease) both;
}
@keyframes age-fade { from { opacity: 0; } to { opacity: 1; } }

.age-card {
    position: relative; width: min(460px, 100%); overflow: hidden;
    background: var(--brand-gradient);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
    padding: 0 0 30px; color: rgba(255, 255, 255, .8);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .18);
    animation: age-rise .45s var(--ease) both;
}
/* A soft gold bloom, so the card reads as lit rather than flat. */
.age-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(ellipse at 50% -10%, rgba(200, 162, 74, .22), transparent 60%);
}
.age-card > * { position: relative; z-index: 1; }
@keyframes age-rise {
    from { opacity: 0; transform: translateY(18px) scale(.96); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .age-gate, .age-card { animation: none; }
}

/* ---- Crest header: logo on a gold hairline band ---- */
.age-crest {
    padding: 34px 34px 24px; text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.age-logo { display: inline-flex; color: #fff; max-width: 210px; }
.age-logo svg, .age-logo img { height: 40px; width: auto; max-width: 100%; }
.age-crest-line {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 18px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
    color: var(--gold);
}
.age-crest-line::before, .age-crest-line::after {
    content: ""; height: 1px; width: 34px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.age-crest-line::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---- Body ---- */
.age-body { padding: 30px 34px 0; text-align: center; }
.age-mark {
    width: 62px; height: 62px; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid rgba(200, 162, 74, .5);
    background: rgba(200, 162, 74, .1);
    font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold-light);
    letter-spacing: -.02em;
}
.age-mark svg { width: 26px; height: 26px; color: var(--gold-light); }
.age-card h2 {
    color: #fff; font-size: 1.5rem; line-height: 1.25; margin-bottom: .55em; letter-spacing: -.01em;
}
.age-card p { font-size: .93rem; line-height: 1.75; margin-bottom: 0; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin: 26px 0 20px; }
.age-actions .btn { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
@media (max-width: 400px) { .age-actions { flex-direction: column; } }

.age-note {
    font-size: 11.5px; line-height: 1.7; letter-spacing: .02em;
    color: rgba(255, 255, 255, .45); margin: 0;
    padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09);
}
.age-note a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.age-note a:hover { color: #fff; }

.age-denied { display: none; }
.age-gate.denied .age-ask    { display: none; }
.age-gate.denied .age-denied { display: block; }
.age-gate.denied .age-mark {
    border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); color: #fff;
}

/* The page behind stays visible but must not be scrolled or interacted with. */
body.age-locked { overflow: hidden; }
body.age-locked .site-header,
body.age-locked main,
body.age-locked .site-footer,
body.age-locked .to-top { pointer-events: none; }

/* Outline button for dark backgrounds (age gate, dark sections). */
.btn-outline-light {
    background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; transform: translateY(-2px);
}

/* FAQ section headings (grouped questions) */
.faq-section {
    margin: 46px 0 6px; font-size: 1.35rem; color: var(--wine);
    padding-bottom: 10px; border-bottom: 2px solid var(--gold);
}
.faq-section:first-child { margin-top: 0; }

/* =====================================================================
   Job Hiring (careers board)
   ===================================================================== */
.job-switch { display: flex; gap: 8px; margin-bottom: 26px; }
.job-switch a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--white); color: var(--body); font-size: 14px; font-weight: 600;
    transition: all .2s var(--ease);
}
.job-switch a span {
    background: var(--cream-dk); color: var(--muted); border-radius: 999px;
    padding: 1px 9px; font-size: 12px; font-weight: 700;
}
.job-switch a:hover { border-color: var(--gold); color: var(--wine); }
.job-switch a.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.job-switch a.active span { background: rgba(255,255,255,.2); color: #fff; }

.job-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    margin-bottom: 40px;
}
.job-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line);
    border-top: 3px solid var(--gold); border-radius: var(--radius);
    padding: 24px 24px 20px; transition: all .25s var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.job-card.is-closed { opacity: .72; border-top-color: var(--line); }
.job-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.job-dept {
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.job-flag {
    background: var(--wine); color: #fff; border-radius: 999px;
    padding: 3px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.job-flag.closed { background: var(--muted); }
.job-card h2 { font-size: 1.28rem; margin-bottom: .35em; }
.job-card h2 a { color: var(--ink); }
.job-card h2 a:hover { color: var(--wine); }
.job-summary { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }

.job-meta { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.job-meta li {
    display: flex; gap: 10px; font-size: .88rem; color: var(--body);
    padding-bottom: 7px; border-bottom: 1px dashed var(--line);
}
.job-meta li span {
    flex: 0 0 84px; color: var(--muted); font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; padding-top: 2px;
}

.job-card-foot {
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.job-posted { font-size: 12.5px; color: var(--muted); }

.job-cta {
    margin-top: 10px; padding: 36px 30px; text-align: center;
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
}
.job-cta h3 { margin-bottom: .3em; }
.job-cta p  { color: var(--muted); }

/* ---- Single opening ---- */
.job-head { max-width: 820px; margin-bottom: 34px; }
.job-closed-note {
    background: var(--cream-dk); border-left: 3px solid var(--muted);
    padding: 12px 18px; border-radius: var(--radius); color: var(--body); font-size: .93rem; margin: 0;
}
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .job-layout { grid-template-columns: 1fr; } }

.job-apply-block {
    margin-top: 36px; padding: 30px; text-align: center;
    background: var(--brand-gradient); color: rgba(255,255,255,.85); border-radius: var(--radius);
}
.job-apply-block h3 { color: #fff; margin-bottom: .4em; }
.job-apply-block p  { margin-bottom: 1.3em; }
.job-apply-block strong { color: var(--gold-light); }

.job-side { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 900px) { .job-side { position: static; } }
.job-facts {
    background: var(--white); border: 1px solid var(--line);
    border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px;
}
.job-facts h3 { font-size: 1.1rem; margin-bottom: .8em; }
.job-facts dl { margin: 0 0 18px; display: grid; gap: 0; }
.job-facts dt {
    font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted); margin-top: 12px;
}
.job-facts dt:first-child { margin-top: 0; }
.job-facts dd { margin: 3px 0 0; font-size: .95rem; color: var(--ink); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Update (announcement) badge on Events & Updates cards */
.event-flag.update { background: var(--gold); color: var(--ink); }
.event-date.is-update { background: var(--gold); }
.event-date.is-update .ed-month, .event-date.is-update .ed-day { color: var(--ink); }

/* Maintenance preview bar — pinned to the bottom of the viewport so it stays
   in sight while the client scrolls, without pushing the layout around. */
.preview-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: var(--gold); color: var(--ink);
    font-size: 13px; line-height: 1.5; text-align: center;
    box-shadow: 0 -4px 20px rgba(20, 25, 45, .22);
}
.preview-bar strong {
    display: inline-flex; align-items: center; gap: 7px;
    letter-spacing: .1em; text-transform: uppercase; font-size: 11px; font-weight: 800;
}
/* A quiet pulsing dot — this is a live state, not a static notice. */
.preview-bar strong::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--wine-deep); animation: preview-pulse 2.4s ease-in-out infinite;
}
@keyframes preview-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.preview-bar span { max-width: 62ch; }
.preview-bar a {
    color: var(--ink); font-weight: 700; text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .3); border-radius: 999px; padding: 4px 14px;
    transition: all .18s var(--ease);
}
.preview-bar a:hover { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }

/* Keep the footer clear of the bar. */
body:has(.preview-bar) .site-footer { padding-bottom: 64px; }
@media (max-width: 600px) {
    .preview-bar { font-size: 12px; }
    .preview-bar span { display: none; }   /* the label + exit button are enough */
}
@media (prefers-reduced-motion: reduce) { .preview-bar strong::before { animation: none; } }

/* =====================================================================
   Product List — sidebar navigation (Category -> Brand / Type / View all)
   ===================================================================== */
.shop-layout {
    display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start;
    scroll-margin-top: 92px;
}
@media (max-width: 900px) { .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.shop-main { min-width: 0; }

.page-hero--slim { padding-bottom: 34px; }

.shop-nav { position: sticky; top: 92px; }
@media (max-width: 900px) { .shop-nav { position: static; } }

/* ---- Mobile disclosure button ---- */
.shop-nav-toggle {
    display: none; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 18px; background: var(--brand-gradient); border: 0;
    border-radius: 14px; font: inherit; font-size: 14px; font-weight: 700;
    color: #fff; cursor: pointer; letter-spacing: .03em;
    box-shadow: 0 6px 18px rgba(20, 25, 45, .18);
}
.shop-nav-toggle svg { transition: transform .3s var(--ease); color: var(--gold-light); }
.shop-nav.open .shop-nav-toggle svg { transform: rotate(180deg); }
@media (max-width: 900px) {
    .shop-nav-toggle { display: flex; }
    .shop-nav-body   { display: none; margin-top: 12px; }
    .shop-nav.open .shop-nav-body { display: block; }
}

/* ---- The panel ---- */
.shop-nav-body {
    background: var(--white);
    border: 1px solid var(--line); 
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(20, 25, 45, .04), 0 12px 32px -18px rgba(20, 25, 45, .3);
    overflow: hidden;
}

/* Gradient cap, so the panel is anchored rather than floating grey-on-white. */
.shop-nav-head {
    margin: 0; padding: 18px 20px 16px;
    background: var(--brand-gradient); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
}
.shop-nav-head::before {
    content: ""; width: 16px; height: 2px; background: var(--gold); border-radius: 2px; flex: none;
}
.shop-nav-empty { margin: 0; padding: 16px 20px; font-size: .9rem; color: var(--muted); }

/* ---- All products ---- */
.shop-nav-all {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; border-bottom: 1px solid var(--line);
    font-size: .95rem; font-weight: 700; color: var(--ink);
    transition: background .2s var(--ease), color .2s var(--ease);
}
.shop-nav-all span { flex: 1; }
.shop-count {
    font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted);
    background: var(--cream); border-radius: 999px; padding: 3px 10px; min-width: 30px; text-align: center;
    transition: all .2s var(--ease);
}
.shop-nav-all:hover { background: var(--cream); color: var(--wine); }
.shop-nav-all.active { background: var(--cream); color: var(--wine); box-shadow: inset 3px 0 0 var(--wine); }
.shop-nav-all.active .shop-count { background: var(--wine); color: #fff; }

/* ---- One category (native <details> accordion) ---- */
.shop-cat { border-bottom: 1px solid var(--line); }
.shop-cat:last-child { border-bottom: 0; }
.shop-cat > summary {
    display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
    padding: 13px 20px; font-size: .93rem; font-weight: 600; color: var(--ink);
    transition: background .2s var(--ease), color .2s var(--ease);
    position: relative;
}
.shop-cat > summary::-webkit-details-marker { display: none; }
.shop-cat > summary::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--gold); transform: scaleY(0); transform-origin: center;
    transition: transform .25s var(--ease);
}
.shop-cat > summary:hover { background: var(--cream); color: var(--wine); }
.shop-cat > summary:hover::before { transform: scaleY(1); }
.shop-cat-name { flex: 1; }
.shop-cat-chevron { flex: none; color: var(--muted); transition: transform .3s var(--ease); }

.shop-cat[open] > summary { color: var(--wine); font-weight: 700; }
.shop-cat[open] > summary::before { transform: scaleY(1); background: var(--wine); }
.shop-cat[open] > summary .shop-count { background: var(--wine); color: #fff; }
.shop-cat[open] .shop-cat-chevron { transform: rotate(180deg); color: var(--wine); }

/* The open body is a tinted well, visibly nested under its heading. */
.shop-cat-body {
    padding: 6px 0 14px; background: var(--cream);
    border-top: 1px solid var(--line);
    animation: shop-open .28s var(--ease) both;
}
@keyframes shop-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .shop-cat-body { animation: none; } }

.shop-nav-group {
    display: flex; align-items: center; gap: 8px;
    margin: 12px 0 6px; padding: 0 20px;
    font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--wine);
    opacity: .75;
}
.shop-nav-group::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}

.shop-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 20px 8px 30px; font-size: .875rem; color: var(--body);
    position: relative; transition: all .18s var(--ease);
}
/* A small guide dot instead of a heavy border - lighter, and it grows on hover. */
.shop-nav-link::before {
    content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--line);
    transition: all .18s var(--ease);
}
.shop-nav-link span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-nav-link em { font-style: normal; font-size: 11px; color: var(--muted); flex: none; }
.shop-nav-link:hover { color: var(--wine); background: var(--white); }
.shop-nav-link:hover::before { background: var(--gold); width: 6px; height: 6px; }
.shop-nav-link.active {
    color: var(--wine); font-weight: 700; background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}
.shop-nav-link.active::before { background: var(--wine); width: 6px; height: 6px; }
.shop-nav-link.active em { color: var(--wine); font-weight: 700; }

.shop-nav-viewall {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin: 12px 20px 2px; padding: 9px 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 9px;
    font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--wine);
    transition: all .2s var(--ease);
}
.shop-nav-viewall:hover, .shop-nav-viewall.active {
    background: var(--wine); border-color: var(--wine); color: #fff;
}
.shop-nav-viewall b { font-weight: 700; transition: transform .2s var(--ease); }
.shop-nav-viewall:hover b { transform: translateX(3px); }

/* ---- Results column ---- */
.shop-main { scroll-margin-top: 92px; }
.shop-main .shop-toolbar { margin-bottom: 18px; }
.shop-main .result-count { margin: 0; }

.shop-active {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.shop-active-label {
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.shop-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 12px; background: var(--cream); border: 1px solid var(--line);
    border-radius: 999px; font-size: 12.5px; color: var(--body);
}
.shop-pill strong { color: var(--ink); font-weight: 700; }
.shop-pill svg { color: var(--muted); }
.shop-pill:hover { border-color: var(--wine); color: var(--wine); }
.shop-pill:hover svg, .shop-pill:hover strong { color: var(--wine); }
.shop-clear { font-size: 12.5px; font-weight: 700; color: var(--wine); margin-left: 2px; }

/* Brand line on a product card */
.product-brand {
    display: inline-block; margin-bottom: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wine);
}
.product-brand:hover { color: var(--gold); }

/* Brand link above the product title */
.pd-brand {
    display: inline-block; margin-bottom: 4px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wine);
}
.pd-brand:hover { color: var(--gold); }

/* A long brand list scrolls inside its group instead of stretching the page. */
.shop-nav-scroll { max-height: 268px; overflow-y: auto; overscroll-behavior: contain; }
.shop-nav-scroll::-webkit-scrollbar { width: 6px; }
.shop-nav-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.shop-nav-scroll::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Terms with nothing in stock yet stay listed, but read as quieter. */
.shop-nav-link.is-empty { color: var(--muted); }
.shop-nav-link.is-empty em { opacity: .55; }
.shop-nav-link.is-empty:hover { color: var(--wine); }
