/*
 * Southern Plants™ — Master Stylesheet
 * style.css — all CSS variables, typography, layout, and base components
 *
 * Upload to: /public_html/staging.southernplants.com.au/style.css
 *
 * NEVER hardcode colours or fonts inline in PHP/HTML files.
 * Always reference the variables defined here.
 *
 * Font loading:
 *   - Ganache: self-hosted at /fonts/SAP.OTF
 *   - Nunito Sans: loaded via Google Fonts CDN in header.php
 */

/* ── Custom font: Ganache (display/headings only) ────────────────────────────── */
@font-face {
    font-family: 'Ganache';
    src: url('/fonts/SAP.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ── CSS Variables ────────────────────────────────────────────────────────────
   Single source of truth for all colours, fonts, spacing, and radii.
   ──────────────────────────────────────────────────────────────────────────── */
:root {
    /* Brand greens — base is the official swatch sheet "Green" (#1a7429), applied 21 Sept 2026.
       -dark/-mid/-banner/-light are shades derived from this base so hover/accent states
       stay visually coherent with it (the old shades were tuned to the previous #2E7D32). */
    --green:          #1a7429;
    --green-logo:     #5e8d4b;   /* actual logo green from brand guide — left as its own colour, not yet unified with the swatch sheet green */
    --green-light:    #EDF4EE;
    --green-mid:      #0F4318;
    --green-dark:     #13541E;
    --green-banner:   #489054;   /* used for page banner headers (matches live site) */

    /* Range brand colours — sourced from the official CMYK/RGB swatch sheet, 21 Sept 2026.
       "-light" variants are that sheet's "Cartoon Colour" for each range — not yet wired
       into any component; available for badges/hover states/illustrations when needed. */
    --mighty-tuff:            #154586;
    --mighty-tuff-light:      #7486bc;
    --natures-nectar:         #b33d1c;
    --natures-nectar-light:   #d88d6a;
    --bloc-it:                #501762;
    --bloc-it-light:          #966aa7;
    --small-spaces:           #788796;
    --small-spaces-light:     #b6bbc3;
    --shades-of-colour:       #007e6a;
    --shades-of-colour-light: #70b9a2;
    --home-harvest:           #3c7729;
    --home-harvest-light:     #91af76;
    --designer-selection:     #2a2729;
    --designer-selection-light: #898689;

    /* Partner/award corporate colours (sampled from the official award artwork) */
    --apco-green:             #1ba558;
    --ngiv-green:             #00ab67;

    /* Neutral palette */
    --surface:        #fafaf7;
    --surface-warm:   #f5f3ee;
    --white:          #ffffff;
    --border:         #e0dfd8;
    --border-light:   #f0efe8;
    --paperbark:      #c7b48e;   /* official swatch sheet — warm neutral, not yet used anywhere */

    /* Text */
    --text:           #313135;   /* "Monument" — official swatch sheet's web equivalent of black, applied sitewide 21 Sept 2026 */
    --monument:       #313135;   /* alias of --text, kept for clarity when referencing the swatch sheet by name */
    --text-mid:       #4A4A46;
    --text-muted:     #7A7A74;
    --text-on-green:  #ffffff;

    /* Fonts */
    --font-display:   'Ganache', Georgia, serif;           /* titles only */
    --font-body:      'Nunito Sans', 'Frutiger LT', -apple-system, sans-serif;
    --font-policy:    Calibri, 'Segoe UI', Arial, sans-serif;

    /* Spacing scale */
    --space-xs:   4px;
    --space-sm:   8px;
    --space-md:   16px;
    --space-lg:   24px;
    --space-xl:   40px;
    --space-2xl:  64px;
    --space-3xl:  96px;

    /* Border radii */
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow:     0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:  0 8px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);

    /* Layout */
    --max-width:  1280px;
    --header-h:   90px;
}

/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color .15s;
}

a:hover { color: var(--green-dark); }

/* ── Typography ──────────────────────────────────────────────────────────── */

/* Ganache — display only, used sparingly */
.font-display,
.hero-title,
.section-display {
    font-family: var(--font-display);
    font-weight: normal;
    line-height: 1.15;
    letter-spacing: .01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.text-center { text-align: center; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

/* ── Site Header ─────────────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    height: 72px;
    width: auto;
}

/* Logo fallback (text) — shown when logo image not yet uploaded */
.logo-text-fallback {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--green-logo);
    line-height: 1;
}

.logo-text-fallback sup {
    font-family: var(--font-body);
    font-size: 0.38em;
    font-weight: 400;
    vertical-align: super;
}

/* Main navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
}

.site-nav a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-mid);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--green-light);
    color: var(--green-dark);
}

/* Header dropdown menus (Our Brands, Advice) — desktop: hover/focus reveals */
.site-nav li.has-dropdown { position: relative; }

.nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .15s ease;
}

.site-nav li.has-dropdown:hover .nav-caret,
.site-nav li.has-dropdown:focus-within .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 250;
}

.site-nav li.has-dropdown:hover > .nav-dropdown-panel,
.site-nav li.has-dropdown:focus-within > .nav-dropdown-panel {
    display: block;
}

.nav-dropdown-panel a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown-panel a:hover {
    background: var(--surface);
    color: var(--green-dark);
}

/* Header actions */
.header-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    flex-shrink: 0;
}

/* Desktop: menu sits on the right, next to the Login / account button */
.main-nav { margin-left: auto; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    color: var(--text-mid);
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--green-light);
    color: var(--green-dark);
    border-color: var(--green-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-mid);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--surface);
    color: var(--text);
}

.btn-lg {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
/* Superseded by the single "Breadcrumb (shared — includes/breadcrumb.php)"
   block further down this file — kept out of here so there's only one
   definition to maintain. See that block for the actual rules. */

/* ── Page banner (green header bar — matches live site) ──────────────────── */
.page-banner {
    background: var(--green-banner);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    /* Curved bottom edge matching live site */
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    margin-bottom: var(--space-xl);
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: normal;
    color: var(--white);
    margin: 0;
}

.page-banner .eyebrow {
    display: block;
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 var(--space-sm);
}

.page-banner > .container > p:not(.eyebrow) {
    color: rgba(255,255,255,.85);
    font-size: 1.15rem;
    max-width: 640px;
    margin: var(--space-md) auto 0;
    line-height: 1.6;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .75;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(27, 94, 32, .75) 0%,
        rgba(27, 94, 32, .35) 60%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 640px;
    margin-left: max(var(--space-lg), calc((100vw - var(--max-width)) / 2 + var(--space-lg)));
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero-title sup {
    font-family: var(--font-body);
    font-size: 0.22em;
    font-weight: 400;
    vertical-align: super;
}

/* Standard small trademark mark for "Southern Plants" mentions in running
   body copy — use <sup class="tm-mark">™</sup> so it stays small and
   consistent wherever the brand name is typed into a sentence. */
.tm-mark {
    font-family: var(--font-body);
    font-size: .38em;
    font-weight: 400;
    vertical-align: super;
}

/* Brand name in the homepage welcome paragraph — ~2pt larger than body copy */
.welcome-brand {
    font-size: 1.15em;
}

/* ── Welcome section closing line ("Plant with Confidence.") ──────────── */
.welcome-closer {
    margin: var(--space-md) 0 0;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .02em;
}

/* Subtitle container — grid stacks all three subtitles in the same cell */
.hero-subtitles {
    display: grid;
    max-width: 480px;
    margin-bottom: var(--space-xl);
}

.hero-subtitle {
    grid-area: 1/1;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.92);
    line-height: 1.65;
    margin: 0;
    opacity: 0;
    transition: opacity .6s ease-in-out;
}

.hero-subtitle.active { opacity: 1; }

/* Slideshow background slides */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.hero-slide.active { opacity: 1; }

/* Dot indicators */
.hero-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    border: 2px solid rgba(255,255,255,.7);
    cursor: pointer;
    padding: 0;
    transition: background .2s, border-color .2s;
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--white);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ── Impact stats bar ────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xl) 0;
}

.stats-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Range / brand cards ─────────────────────────────────────────────────── */
.ranges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.range-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    background: var(--white);
    cursor: pointer;
}

.range-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.range-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--green-light);
    position: relative;
}

.range-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.range-card:hover .range-card-img img {
    transform: scale(1.04);
}

.range-card-body {
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ── Our Customers — Home Gardeners full width, Trade + Bunnings half width ── */
.customers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.customer-card .range-card-body {
    background: var(--green);
    color: var(--white);
}
.customer-card .range-card-img { aspect-ratio: 16 / 9; }
.customer-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.customer-card-featured .range-card-img { aspect-ratio: auto; min-height: 320px; }
.customer-card-featured .range-card-body {
    border-radius: 0;
    padding: var(--space-xl);
    justify-content: center;
}
.customer-card-featured .range-card-title { font-size: 2rem; }
.customer-card-featured .range-card-desc { font-size: 1rem; flex: 0; }
.customer-note {
    font-size: 12px;
    font-weight: 600;
    color: inherit;
    opacity: .85;
    margin: 0 0 var(--space-sm);
}
@media (max-width: 768px) {
    .customers-grid,
    .customer-card-featured { grid-template-columns: 1fr; }
    .customer-card-featured .range-card-img { min-height: 0; aspect-ratio: 16 / 9; }
    .customer-card-featured .range-card-body { padding: var(--space-lg) var(--space-lg) var(--space-xl); }
}

/* Range-specific body colours (matching live site) */
.range-card.mighty-tuff    .range-card-body { background: var(--mighty-tuff);      color: var(--white); }
.range-card.natures-nectar .range-card-body { background: var(--natures-nectar);   color: var(--white); }
.range-card.small-spaces   .range-card-body { background: var(--small-spaces);     color: var(--white); }
.range-card.bloc-it        .range-card-body { background: var(--bloc-it);          color: var(--white); }
.range-card.shades-of-colour .range-card-body { background: var(--shades-of-colour); color: var(--white); }
.range-card.home-harvest   .range-card-body { background: var(--home-harvest);     color: var(--white); }

.range-card-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: inherit;
}

.range-card-title sup {
    font-size: .38em;
    font-weight: 400;
    vertical-align: super;
    margin-left: .15em;
}

/* Mighty Tuff®, Bloc It® — last letter is tall, so give the mark a little more room */
.range-card-title sup.mark-after-tall,
.tm-mark.mark-after-tall {
    margin-left: .6em;
}

/* Brand names inside the range blurbs — script font reads small, so size it up */
.range-card-desc .sap-brand {
    font-size: 1.25em;
    line-height: 1;
}

.range-card-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: inherit;
    opacity: .92;
    flex: 1;
}

.range-card .btn {
    align-self: flex-start;
    margin-top: var(--space-sm);
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
    color: var(--white);
    font-size: 12.5px;
    padding: 7px 16px;
}

.range-card .btn:hover {
    background: rgba(255,255,255,.35);
    color: var(--white);
}

/* ── Product cards ───────────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color .15s, transform .15s, box-shadow .15s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.product-img {
    aspect-ratio: 1 / 1;       /* square container matches 900×900 photos */
    background: var(--white);  /* clean white behind contained image */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* show full image — no cropping */
    object-position: center;
    padding: 4px;              /* tiny breathing room around the photo */
    box-sizing: border-box;
    transition: transform .3s;
}

.product-card:hover .product-img img {
    transform: scale(1.03);    /* slightly reduced scale since contain shows full image */
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: .3;
    color: var(--green-mid);
    font-size: 10px;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    z-index: 1;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: .03em;
    line-height: 1.6;
}

.badge-native  { background: var(--green);       color: var(--white); }
.badge-pbr     { background: var(--bloc-it);      color: var(--white); }
.badge-new     { background: #E8593C;              color: var(--white); }
.badge-review  { background: #fff3cd; color: #7a5800; border: 1px solid #e6c55a; }

.stock-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--white);
    z-index: 1;
}

.stock-dot.in  { background: #4CAF50; }
.stock-dot.low { background: #FF9800; }
.stock-dot.out { background: #9e9e9e; }

.product-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.product-botanical {
    font-size: 11.5px;
    color: var(--text-muted);
    font-style: italic;
}

.product-brief {
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.5;
    margin-top: 5px;
    flex: 1;
}

.product-specs {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.spec {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.product-footer {
    border-top: 1px solid var(--border-light);
    padding: 9px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 11px;
    color: var(--text-muted);
}

.product-price strong {
    font-size: 13.5px;
    color: var(--text);
    font-weight: 700;
}

.pot-size-tag {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--surface);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

/* ── Section header ──────────────────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-weight: normal;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 15px;
}

/* ── Split layout (story sections) ──────────────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {}

.split-content h2 {
    margin-bottom: var(--space-md);
}

.split-content .lead {
    margin-bottom: var(--space-lg);
}

/* ── Sustainability / feature cards ─────────────────────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--green);
}

.feature-card h3 {
    font-size: 14px;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ── Site footer ──────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.85);
    padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 52px;
    width: auto;
    opacity: .9;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-follow-note {
    font-size: 13px;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    margin: 0 0 var(--space-sm);
}

.footer-brand .social-follow-links {
    margin-bottom: var(--space-md);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.5);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col ul a {
    font-size: 13.5px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .15s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-col ul a sup {
    font-size: .45em;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) 0;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ── Sustainability badge ────────────────────────────────────────────────── */
.award-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--green-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--green-dark);
}

.achievement-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: stretch;
}

.achievement-logo {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
}

.achievement-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Award badges — corporate logo + short text (Growing with Purpose section) */
.award-badge-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 118px;
}
.award-badge-card img {
    flex: 0 0 auto;
    width: auto;
    object-fit: contain;
}
.award-apco img { height: 52px; }
.award-ngiv img { height: 86px; }
.award-badge-text { min-width: 0; }
.award-badge-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}
.award-badge-sub {
    margin: 4px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}
/* Keep each award in its own corporate green */
.award-apco .award-badge-title,
.award-apco .award-badge-sub { color: var(--apco-green); }
.award-ngiv .award-badge-title,
.award-ngiv .award-badge-sub { color: var(--ngiv-green); }

/* ── Visitor account CTA banner ─────────────────────────────────────────── */
.account-cta-strip {
    background: linear-gradient(180deg, #f3f8ef 0%, #e9f3e5 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2xl) 0;
}

.account-cta-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.account-cta-header {
    text-align: center;
    margin: 0 auto var(--space-lg);
}

.account-cta-header h2 {
    font-size: 26px;
    line-height: 1.15;
    color: var(--text);
    margin: 0;
    font-weight: 800;
}

.account-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
}

.account-cta-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(61,90,64,.16);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 10px 34px rgba(44,68,47,.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.account-cta-card h3 {
    font-size: 17px;
    color: var(--text);
    margin: 0 0 8px;
    font-weight: 800;
}

.account-cta-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-mid);
    margin: 0 0 var(--space-lg);
    flex: 1;
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: var(--space-xl) 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    /* ── Mobile hamburger nav ── */
    .nav-toggle { display: flex; }

    /* Nav becomes an absolute dropdown below the sticky header */
    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 2px solid var(--green-light);
        box-shadow: var(--shadow-lg);
        z-index: 199;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .main-nav.open {
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .main-nav .site-nav {
        flex-direction: column;
        padding: var(--space-sm) var(--space-lg);
        gap: 2px;
    }

    .main-nav .site-nav a {
        font-size: 15px;
        padding: 10px var(--space-md);
    }

    /* Dropdown menus (Our Brands, Advice) on mobile: always expanded inline
       under their parent link, indented — no hover on touch, so no toggle. */
    .nav-caret { display: none; }

    .nav-dropdown-panel {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: none;
        margin: 0 0 4px 14px;
        padding: 0;
    }

    .nav-dropdown-panel a {
        font-size: 14px;
        padding: 8px var(--space-md);
        color: var(--text-muted);
    }

    .hero { min-height: 400px; }

    .split-section {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .split-section.reverse { direction: ltr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .account-cta-grid {
        grid-template-columns: 1fr;
    }

    .account-cta-card {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-md); }
    .hero-content { margin-left: var(--space-md); }
    .ranges-grid { grid-template-columns: 1fr; }
    .achievement-logos { grid-template-columns: 1fr; }
}

/* ── Inline brand name — Ganache/sap font ─────────────────────────────────
   Applied by JS to any brand name text in body content.
   ───────────────────────────────────────────────────────────────────────── */
.sap-brand {
    font-family: 'sap', 'Ganache', 'Nunito Sans', sans-serif;
    font-size: 1.08em;
    font-weight: 400;
    letter-spacing: -.01em;
    text-transform: none;
}

/* Keep the brand in title case even inside uppercase headings and labels. */
.sp-brand {
    text-transform: none;
    letter-spacing: normal;
}
.sp-brand > .tm-mark {
    font-family: var(--font-body);
    font-size: .38em;
    font-weight: 400;
    line-height: 0;
    vertical-align: super;
    letter-spacing: 0;
}

/* News & Stories */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-xl)}
.news-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.news-card-featured{grid-column:span 2}.news-card-image{aspect-ratio:16/10;overflow:hidden;background:var(--surface);display:block}.news-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.news-card:hover .news-card-image img{transform:scale(1.025)}
.news-card-body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}.news-card-body h2{font-size:22px;line-height:1.2;margin:0}.news-card-body h2 a{color:var(--text);text-decoration:none}.news-card-body p{color:var(--text-mid);line-height:1.65;margin:0}.news-meta{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;color:var(--text-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.news-meta span{color:var(--green-dark)}.news-meta .cat-brand{font-family:var(--font-display);text-transform:none;letter-spacing:0;font-size:22px}.text-link{margin-top:auto;color:var(--green-dark);font-weight:800;text-decoration:none}.news-empty{max-width:680px;margin:auto;text-align:center;padding:var(--space-2xl);background:var(--surface);border-radius:var(--radius-xl)}.news-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.social-follow{background:var(--green-dark);color:#fff;padding:var(--space-xl) 0}.social-follow-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.social-follow h2,.social-follow p{color:#fff}.social-follow-links{display:flex;gap:10px;flex-wrap:wrap}.social-follow-links a{color:#fff;border:1px solid rgba(255,255,255,.45);border-radius:var(--radius);padding:10px 16px;text-decoration:none;font-weight:800}.social-follow-links a:hover{background:#fff;color:var(--green-dark)}

/* Homepage-only Facebook feed; keep the direct link outside Meta's iframe. */
.home-facebook {
    background: var(--green-light);
    border-top: 1px solid var(--border);
}
.home-facebook .section-header { margin-bottom: var(--space-lg); }
.home-facebook .section-header p { color: var(--text-mid); }
.home-facebook-feed {
    width: 100%;
    max-width: 500px;
    height: 560px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.home-facebook-feed iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 560px;
    border: 0;
}
.home-facebook-actions {
    margin-top: var(--space-lg);
    text-align: center;
}
.home-facebook-actions p { color: var(--text-mid); font-size: 13px; }
.home-facebook-actions .btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
}
@media (min-width: 900px) {
    .home-facebook-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
        grid-template-rows: 1fr 1fr;
        gap: var(--space-lg) var(--space-2xl);
        max-width: 1120px;
    }
    .home-facebook-layout .section-header {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        margin: 0;
        text-align: left;
    }
    .home-facebook-layout .section-header p { margin-left: 0; }
    .home-facebook-layout .home-facebook-feed {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    .home-facebook-layout .home-facebook-actions {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        margin-top: 0;
        text-align: left;
    }
}
.news-story-header{padding:var(--space-2xl) 0 var(--space-xl);background:var(--surface)}.news-story-heading{max-width:850px}.news-story-heading h1{font-size:clamp(36px,5vw,62px);line-height:1.05;margin:16px 0}.news-story-hero{margin-top:var(--space-xl)}.news-story-hero img{width:100%;max-height:420px;object-fit:cover;border-radius:var(--radius-xl)}.news-story-layout{display:grid;grid-template-columns:minmax(0,760px) 260px;gap:var(--space-2xl);padding-top:var(--space-2xl);padding-bottom:var(--space-2xl);justify-content:center}.news-story-body{font-size:17px;line-height:1.8}.news-story-body p{margin:0 0 1.3em}.news-story-aside{align-self:start;background:var(--surface);padding:20px;border-radius:var(--radius-lg);color:var(--text-mid)}.news-story-aside a{color:var(--green-dark);font-weight:800}
.home-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-lg)}
@media(max-width:850px){.news-grid,.home-latest-grid{grid-template-columns:1fr 1fr}.news-card-featured{grid-column:span 2}.news-story-layout{grid-template-columns:1fr}.social-follow-inner{align-items:flex-start;flex-direction:column}}

/* ── Breadcrumb (shared — includes/breadcrumb.php) ────────────────────────────
   Single source of truth for the "Home › Section › Page" bar. Every page that
   calls sp_breadcrumb() gets this look automatically — no per-page CSS to
   copy, forget, or let drift out of sync.
   Sticky: pinned directly under the sticky site header so it stays visible
   while scrolling, instead of scrolling away with the page content. */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border-light); padding: 0 var(--space-lg); position: sticky; top: var(--header-h); z-index: 190; }
.breadcrumb-inner { max-width: var(--max-width); margin: 0 auto; padding: 10px 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--green); text-decoration: none; font-weight: 500; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); font-size: 10px; }
@media(max-width:560px){.news-grid,.home-latest-grid{grid-template-columns:1fr}.news-card-featured{grid-column:auto}}
