/* ==========================================================================
   Herboshadhi — Catalog-Matched Botanical Theme v3
   Light warm ivory · watercolor botanicals · deep green · antique gold ·
   warm sienna italic accents — mirrors the printed Product Catalog.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&family=Marcellus&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --green: #1e5631;
    --green-deep: #143d22;
    --green-dark: #0d2b17;
    --green-sage: #7a9760;
    --gold: #c9a955;
    --gold-light: #e3cd8f;
    --gold-pale: #f1e6c6;
    --gold-dark: #a08434;
    --sienna: #8a4b2a;
    --cream: #f8f4e8;
    --cream-warm: #f4eeDC;
    --cream-deep: #ede4cc;
    --ivory: #fdfbf3;
    --text: #23211a;
    --text-muted: #575039;
    --border-soft: #e3d9bf;
    --shadow-soft: 0 8px 22px rgba(30, 86, 49, 0.09);
    --shadow-strong: 0 14px 34px rgba(13, 43, 23, 0.16);
    --radius: 12px;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --display: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--text);
    background:
        radial-gradient(ellipse 800px 520px at 108% -4%, rgba(169,191,134,.16), transparent 60%),
        radial-gradient(ellipse 720px 520px at -8% 32%, rgba(201,169,85,.12), transparent 60%),
        radial-gradient(ellipse 900px 620px at 106% 82%, rgba(169,191,134,.13), transparent 60%),
        var(--ivory);
    line-height: 1.78;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

/* offscreen cards are not painted until they approach the viewport */
.product-card, .category-card, .feature-card, .testimonial {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

/* ------- glass surface primitives (frosted-glass finish site-wide) ------- */
.glass, .feature-card, .category-card, .product-card, .testimonial {
    background: linear-gradient(152deg, rgba(255,255,255,.93) 0%, rgba(255,253,243,.80) 100%);


    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 8px 22px rgba(30,86,49,.09);
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: .5px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ============================ Announcement bar ============================ */
.announce-bar {
    background: var(--green-deep);
    color: var(--gold-light);
    text-align: center;
    font-size: 12px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    padding: 9px 16px;
}
.announce-bar a { color: #fff; font-weight: 600; letter-spacing: 1.4px; }
.announce-bar a:hover { color: var(--gold-light); }

/* ================================ Header ================================= */
header.site-header {
    background: rgba(253, 251, 243, .985);


    color: var(--green-deep);
    padding: 7px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(30,86,49,.08);
}
/* gold gradient hairline under the header */
header.site-header::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-light) 18%, var(--gold) 50%, var(--gold-light) 82%, transparent 100%);
}
header.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.brand { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
.brand img { height: 78px; width: auto; }
.brand-text {
    font-family: var(--display);
    font-size: 21px;
    letter-spacing: 2.4px;
    color: var(--green);
    text-transform: uppercase;
    line-height: 1.1;
    display: block;
}
.brand-tagline {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.4px;
    color: var(--sienna);
    margin-top: -4px;
    line-height: 1.15;
    text-shadow: 0 0 .4px currentColor;
}

nav.main-nav { display: flex; gap: 6px; }
nav.main-nav a {
    color: var(--green-deep);
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px 20px;
    position: relative;
    border-radius: 30px;
    transition: background .25s ease, color .25s ease;
}
nav.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 3px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width .3s ease, left .3s ease;
}
nav.main-nav a:hover { color: var(--gold-dark); background: rgba(201,169,85,.10); }
nav.main-nav a:hover::after { width: 46%; left: 27%; }
nav.main-nav a.active { color: var(--gold-dark); font-weight: 600; }
nav.main-nav a.active::after { width: 46%; left: 27%; }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions a { color: var(--green-deep); font-size: 13px; letter-spacing: .6px; padding: 8px 12px; font-weight: 500; border-radius: 30px; transition: background .25s ease, color .25s ease; }
.nav-actions a:hover { color: var(--gold-dark); background: rgba(201,169,85,.10); }

/* cart count badge */
.cart-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px;
    margin-left: 5px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-dark);
    font-size: 11.5px;
    font-weight: 700;
    vertical-align: 1px;
}

/* =============================== Buttons ================================= */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 12.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--sans);
    font-weight: 600;
    transition: all .3s cubic-bezier(.2,.8,.3,1);
    text-align: center;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%);
    color: var(--green-dark);
    box-shadow: 0 10px 26px rgba(201, 169, 85, 0.38), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 169, 85, 0.55), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(255,255,255,.05); }
.btn-outline-green { background: transparent; border: 1px solid var(--green); color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: var(--gold-pale); transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--gold-pale); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,43,23,.28); }
.btn-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ================================ Flash ================================== */
.flash { background: #eef7ee; border: 1px solid #b6dcb6; color: #235a23; padding: 14px 22px; margin: 18px 0; border-radius: var(--radius); font-size: 14px; }
.flash-error { background: #fdeceb; border-color: #f3b7b0; color: #7a2a20; }

/* ================================= Hero ================================== */
/* Photographic hero — herbal powders, oils & botanicals over dark wood */
.hero {
    position: relative;
    color: #fff;
    padding: 150px 0 140px;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(8,20,12,.62) 0%, rgba(8,20,12,.45) 45%, rgba(8,20,12,.72) 100%),
        url('/images/hero.webp') center 42% / cover no-repeat,
        linear-gradient(158deg, #0a1a10 0%, var(--green-dark) 55%, var(--green-deep) 100%);
}
.hero h1 { color: #fff; text-shadow: 0 3px 32px rgba(0,0,0,.55); }
.hero h1 em { color: var(--gold-light); }
.hero p { color: rgba(255,255,255,.88); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero .section-label { color: var(--gold-light); }
.hero .btn-outline-green { border-color: rgba(255,255,255,.65); color: #fff; }
.hero .btn-outline-green:hover { background: rgba(255,255,255,.12); border-color: var(--gold-light); color: var(--gold-light); }
.hero .corner {
    position: absolute;
    width: 380px;
    pointer-events: none;
    opacity: .22;
}
.hero .corner.tl { top: -30px; left: -30px; }
.hero .corner.tr { top: -30px; right: -30px; transform: scaleX(-1); }
.hero .corner.bl { bottom: -60px; left: -40px; transform: scaleY(-1); opacity: .16; }
.hero .corner.br { bottom: -60px; right: -40px; transform: scale(-1,-1); opacity: .16; }
.hero .container { position: relative; z-index: 2; }
.hero .section-label { color: var(--gold-light); }
.hero .section-label::after { background: var(--gold-light); left: 50%; transform: translateX(-50%); }
.hero h1 {
    font-size: 62px;
    margin: 20px 0 8px;
    letter-spacing: 1.5px;
    line-height: 1.14;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 3px 32px rgba(0,0,0,.55);
}
.hero h1 em {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: .5px;
    color: var(--gold-light);
    font-size: 44px;
    margin-top: 8px;
}
.hero p {
    font-family: var(--serif);
    font-size: 21px;
    max-width: 640px;
    margin: 20px auto 40px;
    color: rgba(255,255,255,.88);
    letter-spacing: .3px;
    line-height: 1.65;
    text-shadow: 0 2px 18px rgba(0,0,0,.6);
}

/* ornamental divider — thin gold rules + leaf sprig, straight from the catalog */
.ornament {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 4px auto 0;
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: ''; height: 1px; width: 90px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { display: block; }

/* ============================ Page hero band ============================= */
.page-hero {
    position: relative;
    text-align: center;
    padding: 72px 0 58px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
    background:
        radial-gradient(ellipse 640px 380px at 6% 0%, rgba(169,191,134,.18), transparent 60%),
        radial-gradient(ellipse 560px 340px at 96% 100%, rgba(201,169,85,.13), transparent 55%),
        linear-gradient(178deg, var(--cream) 0%, var(--ivory) 100%);
}
.page-hero .corner { position: absolute; width: 250px; opacity: .8; pointer-events: none; }
.page-hero .corner.tl { top: -24px; left: -24px; }
.page-hero .corner.tr { top: -24px; right: -24px; transform: scaleX(-1); }
.page-hero h1 {
    font-size: 44px;
    color: var(--green-deep);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin: 8px 0 4px;
    position: relative;
}
.page-hero .section-tagline { margin: 6px 0 0; }
.page-hero .container { position: relative; z-index: 2; }

/* ============================== Auth cards =============================== */
.auth-card { border-radius: var(--radius); padding: 42px 40px 40px; }

/* ============================ Content panels ============================= */
.panel { border-radius: var(--radius); padding: 34px 32px; }

/* centered form panel (contact page) */
.form-panel { max-width: 840px; margin: 0 auto; }

/* honeypot spam trap: hidden from humans, present for bots */
.hp-wrap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* scroll-reveal (class added by JS only, so no-JS users see everything) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1); }
.reveal:not(.in) { will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* home range tab filter */
.range-hidden { display: none !important; }
.range-tabs { margin-top: 6px; }

/* inline CTA under text blocks (left on desktop, centered on mobile) */
.cta-inline { margin-top: 26px; }

/* framed imagery with gold inner keyline */
.img-frame { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-strong); }
.img-frame::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(232,207,148,.55); border-radius: 8px; pointer-events: none; }
.img-frame img { width: 100%; display: block; }

/* stat chips row */
.stat-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat-chips .chip { text-align: center; border-radius: 12px; padding: 16px 8px 12px; }
.stat-chips .chip strong { display: block; font-family: var(--display); font-size: 24px; color: var(--green); line-height: 1.2; }
.stat-chips .chip span { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-muted); }

/* ============================= Trust strip =============================== */
.trust-strip {
    background: var(--green-deep);
    padding: 0;
}
.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.trust-strip .container > div {
    font-size: 13px;
    letter-spacing: .8px;
    color: var(--gold-pale);
    font-weight: 500;
    text-align: center;
    padding: 22px 18px;
    border-left: 1px solid rgba(227,205,143,.18);
}
.trust-strip .container > div:first-child { border-left: none; }

/* =============================== Sections ================================ */
section { padding: 92px 0; position: relative; }
.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-dark);
    font-size: 11.5px;
    font-weight: 600;
    font-family: var(--sans);
    position: relative;
    padding-bottom: 12px;
}
.section-label::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 44px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
h2.section-heading { font-size: 40px; margin: 10px 0 24px; color: var(--green-deep); line-height: 1.22; text-transform: uppercase; letter-spacing: 1px; }
.section-tagline { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--sienna); margin: -10px 0 22px; }
.section-intro { font-family: var(--serif); font-size: 19.5px; font-weight: 600; color: #4a4433; max-width: 720px; }
.text-center { text-align: center; }
.text-center .section-label::after { left: 50%; transform: translateX(-50%); }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* watercolor wash section variant */
.section-wash {
    background:
        radial-gradient(ellipse 640px 380px at 4% 10%, rgba(169,191,134,.16), transparent 58%),
        radial-gradient(ellipse 560px 340px at 98% 90%, rgba(201,169,85,.12), transparent 55%),
        var(--cream);
}

/* ===================== Features — light catalog style ==================== */
.features-grid { background: var(--ivory); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 44px; }
.feature-card {
    border-radius: var(--radius);
    padding: 36px 30px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(201,169,85,.7); box-shadow: 0 20px 46px rgba(30,86,49,.16), inset 0 1px 0 rgba(255,255,255,.9); }
.feature-card .feature-icon {
    width: 74px; height: 74px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    background: radial-gradient(circle at 35% 30%, #fff, var(--cream));
    box-shadow: 0 6px 18px rgba(201,169,85,.22);
}
.feature-card h3 { color: var(--green); font-size: 20px; margin: 0 0 10px; letter-spacing: .8px; text-transform: uppercase; font-size: 17px; }
.feature-card p { color: var(--text-muted); font-size: 15px; margin: 0; line-height: 1.78; }

/* ================= Category medallions — catalog page style ============== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 44px; }
.category-card {
    border-radius: var(--radius);
    padding: 38px 26px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .32s cubic-bezier(.2,.8,.3,1), box-shadow .32s ease, border-color .32s ease;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); border-color: rgba(201,169,85,.7); }

/* full-face category tile artwork (pre-designed brand tiles) */
.category-card-photo { padding: 0 0 20px; overflow: hidden; }
.category-card-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.category-card-photo:hover img { transform: scale(1.04); }
.category-card-photo img { margin-bottom: 14px; }
.category-card-photo small {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: var(--sienna);
    margin-top: auto;
}
.cat-medallion {
    width: 150px; height: 150px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    padding: 5px;
    margin-bottom: 24px;
    box-shadow: 0 10px 26px rgba(201,169,85,.28);
    background: rgba(255,255,255,.75);
}
.cat-medallion .inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
    font-size: 44px;
}
.cat-medallion .inner.m-1 { background: radial-gradient(circle at 35% 30%, #e9f2da, #b9cc9e); }
.cat-medallion .inner.m-2 { background: radial-gradient(circle at 35% 30%, #f4ecd4, #d3bd7e); }
.cat-medallion .inner.m-3 { background: radial-gradient(circle at 35% 30%, #f3e4c9, #caa163); }
.cat-medallion .inner.m-4 { background: radial-gradient(circle at 35% 30%, #efe6d6, #b7a184); }
.category-card span { font-family: var(--display); font-size: 19px; letter-spacing: 1.2px; color: var(--green-deep); text-transform: uppercase; line-height: 1.35; }
.category-card small { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--sienna); margin-top: 8px; }

/* ============================ Product cards ============================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 30px; margin-top: 36px; }
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); border-color: rgba(201,169,85,.7); }
.product-card img { width: 100%; height: 215px; object-fit: cover; background: var(--cream-deep); }

/* elegant tile shown when a product has no photo yet */
.product-art {
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(169,191,134,.35), transparent 60%),
        radial-gradient(ellipse at 80% 85%, rgba(201,169,85,.25), transparent 55%),
        linear-gradient(150deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.product-art::after {
    content: '';
    position: absolute; inset: 10px;
    border: 1px solid rgba(160,132,52,.3);
    border-radius: 8px;
}
.product-art .art-initial {
    font-family: var(--display);
    font-size: 56px;
    color: var(--green);
    line-height: 1;
    width: 96px; height: 96px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    background: rgba(255,255,255,.65);
}
.product-art svg { position: absolute; opacity: .55; }
.product-art svg.leaf-tl { top: 18px; left: 20px; }
.product-art svg.leaf-br { bottom: 18px; right: 20px; transform: rotate(180deg); }

.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .eyebrow { font-size: 10.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 6px; }
.product-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--green-deep); line-height: 1.3; }
.product-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.7; }
.product-card .price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--cream-deep);
    color: var(--green);
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: .4px;
}
.product-card .price .from { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-right: 6px; }

/* =============================== Filters ================================= */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 6px; }
.filters a {
    padding: 10px 22px; border: 1px solid var(--border-soft); border-radius: 30px; font-size: 13px;
    background: rgba(255,255,255,.85); color: var(--text-muted); letter-spacing: .8px; font-weight: 500;
    transition: all .25s ease;
}
.filters a:hover { border-color: var(--gold); color: var(--gold-dark); }
.filters a.active { background: var(--green); color: var(--gold-pale); border-color: var(--green); }

.search-bar { display: flex; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.search-bar input {
    padding: 13px 20px; width: 320px; max-width: 100%;
    border: 1px solid rgba(255,255,255,.9); border-radius: 30px; font-family: var(--sans); font-size: 14px;

}
.search-bar input:focus { outline: none; border-color: var(--gold); }

/* ============================== Pagination =============================== */
/* custom pager — replaces Laravel's unstyled default (fixes giant arrows) */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 40px 0 10px; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--border-soft);
    border-radius: 30px;
    font-size: 13.5px;
    letter-spacing: .5px;

    color: var(--text-muted);
    transition: all .22s ease;
}
.pager a:hover { border-color: var(--gold); color: var(--gold-dark); }
.pager .current { background: var(--green); color: var(--gold-pale); border-color: var(--green); font-weight: 600; }
.pager .disabled { opacity: .4; pointer-events: none; }
.pager-meta { text-align: center; font-size: 13px; color: var(--text-muted); letter-spacing: .5px; }

/* safety net: constrain any framework-injected pagination SVG */
nav[role="navigation"] svg { width: 18px !important; height: 18px !important; }

/* ============================== Spec table =============================== */
table.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0; border: 1px solid rgba(255,255,255,.85); background: rgba(255,255,255,.85); box-shadow: 0 10px 28px rgba(30,86,49,.08); }
table.spec-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; }
table.spec-table td:first-child { font-weight: 600; width: 230px; background: var(--cream); color: var(--green-deep); letter-spacing: .3px; }
table.spec-table tr:last-child td { border-bottom: none; }

/* ============================ Variant options ============================ */
.variant-options label {
    display: block; padding: 15px 18px; border: 1px solid var(--border-soft); border-radius: 10px;

}
.variant-options label:hover { border-color: var(--gold); background: var(--cream); }
.variant-options input:checked + span { font-weight: 600; color: var(--green-deep); }

/* ================================ Forms ================================== */
form.stack-form label { display: block; margin: 18px 0 7px; font-weight: 600; font-size: 13px; letter-spacing: .8px; color: var(--green-deep); text-transform: uppercase; }
form.stack-form input, form.stack-form select, form.stack-form textarea {
    width: 100%; padding: 13px 16px; border: 1px solid var(--border-soft); border-radius: 8px;
    font-family: var(--sans); font-size: 14.5px; background: rgba(255,255,255,.9); transition: border-color .25s ease, box-shadow .25s ease;
}
form.stack-form input:focus, form.stack-form select:focus, form.stack-form textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,85,.16);
}
.checkbox-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
form.stack-form .checkbox-row input,
.checkbox-row input {
    width: 17px; height: 17px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}
form.stack-form .checkbox-row label,
.checkbox-row label {
    margin: 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: .3px;
    color: var(--text);
    font-size: 14.5px;
    cursor: pointer;
}

/* =============================== Cart table ============================== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td, .cart-table th { padding: 16px 12px; border-bottom: 1px solid var(--border-soft); text-align: left; font-size: 14.5px; }
.cart-table th { font-weight: 600; letter-spacing: 1.4px; color: var(--green-deep); text-transform: uppercase; font-size: 11.5px; }

/* =============================== Footer ================================== */
footer.site-footer {
    background:
        radial-gradient(ellipse 700px 300px at 85% 0%, rgba(201,169,85,.08), transparent 60%),
        linear-gradient(165deg, var(--green-dark), #081c0f);
    color: rgba(255,255,255,.8);
    padding: 70px 0 34px;
    margin-top: 90px;
    font-size: 14px;
    border-top: 3px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 46px;
    text-align: left;
}
.footer-grid h4 { color: var(--gold-light); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 18px; }
.footer-grid a { display: block; color: rgba(255,255,255,.85); padding: 5px 0; font-size: 13.5px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-grid p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; }
.footer-brand img { height: 60px; margin-bottom: 16px; background: #fff; border-radius: 8px; padding: 6px; }
.footer-bottom {
    border-top: 1px solid rgba(227,205,143,.15);
    padding-top: 26px;
    text-align: center;
    font-size: 13px;
    letter-spacing: .6px;
    color: rgba(255,255,255,.65);
}

/* ============================= Testimonials ============================== */
.testimonial {
    border-radius: var(--radius);
    padding: 38px 30px 30px;
    font-family: var(--serif);
    font-size: 18px;
    font-style: italic;
    color: var(--text);
    position: relative;
    box-shadow: var(--shadow-soft);
    line-height: 1.7;
}
.testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 74px;
    color: var(--gold-light);
    position: absolute; top: 2px; left: 20px;
    line-height: 1;
}

/* ================================= Tabs ================================== */
.tabs { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center; }
.tabs button {
    padding: 13px 28px; border: 1px solid var(--green); background: transparent; color: var(--green);
    border-radius: 30px; cursor: pointer; font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.6px;
    text-transform: uppercase; font-weight: 600; transition: all .25s ease;
}
.tabs button.active { background: var(--green); color: var(--gold-pale); }
.tabs button:hover:not(.active) { background: var(--cream); }

/* ============================== CTA banner =============================== */
.cta-banner {
    background:
        radial-gradient(ellipse 600px 300px at 20% 20%, rgba(201,169,85,.15), transparent 60%),
        linear-gradient(150deg, var(--green-dark), var(--green-deep));
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: '';
    position: absolute; inset: 18px;
    border: 1px solid rgba(227,205,143,.25);
    border-radius: 8px;
    pointer-events: none;
}
.cta-banner .section-label { color: var(--gold-light); }
.cta-banner .section-label::after { background: var(--gold-light); }
.cta-banner h2 { color: #fff; }
.cta-banner .section-intro { margin: 0 auto 38px; color: rgba(255,255,255,.75); }

/* ======================= Responsive helper layouts ======================= */
/* two-column layouts that must stack on small screens */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.split-checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }

/* horizontal-scroll shield for wide tables on narrow screens */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }

/* mobile nav toggle (CSS-only hamburger) */
.nav-toggle-box { display: none; }
.nav-toggle { display: none; cursor: pointer; width: 32px; padding: 4px 2px; }
.nav-toggle span {
    display: block; height: 2px; border-radius: 2px;
    background: var(--green-deep); margin: 6px 0;
    transition: transform .3s ease, opacity .3s ease;
}

/* ============================== Responsive =============================== */
@media (max-width: 1020px) {
    nav.main-nav a { padding: 10px 10px; letter-spacing: 1px; }
    .nav-actions a { padding: 8px 8px; }
}

@media (max-width: 900px) {
    header.site-header .container { flex-wrap: wrap; gap: 8px; }

    /* compact horizontal brand on mobile (stacked variant is desktop-only) */
    .brand { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
    .brand img { height: 52px; }
    .brand-text { font-size: 18px; letter-spacing: 1.6px; }
    .brand-tagline { font-size: 11px; letter-spacing: 1.2px; }

    /* hamburger takes over */
    .nav-toggle { display: block; order: 2; margin-left: auto; }
    .nav-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 14px;
        padding-top: 10px;
        border-top: 1px solid var(--cream-deep);
    }
    nav.main-nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        padding: 8px 0 4px;
        border-top: 1px solid var(--border-soft);
        margin-top: 6px;
    }
    .nav-toggle-box:checked ~ nav.main-nav { display: flex; }
    .nav-toggle-box:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle-box:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-toggle-box:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    nav.main-nav a { padding: 13px 6px; border-bottom: 1px solid var(--cream-deep); }
    nav.main-nav a:last-child { border-bottom: none; }
    nav.main-nav a::after { display: none; }

    .announce-bar { font-size: 10px; letter-spacing: 1.1px; padding: 8px 12px; }

    .hero h1 { font-size: 38px; }
    .hero h1 em { font-size: 30px; }
    .hero { padding: 84px 0 76px; }
    .hero p { font-size: 18px; }
    .hero .corner { width: 240px; }
    .page-hero h1 { font-size: 30px; }
    .page-hero .corner { width: 160px; opacity: .6; }

    h2.section-heading { font-size: 28px; }
    .section-tagline { font-size: 18px; }
    section { padding: 62px 0; }

    .split-2, .split-checkout { grid-template-columns: 1fr; gap: 30px; }
    .cta-inline { text-align: center; }

    table.spec-table td:first-child { width: 150px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    body { font-size: 15px; }

    .footer-grid { grid-template-columns: 1fr; }
    .announce-certs { display: none; }
    .brand img { height: 48px; }
    .brand-text { font-size: 18px; }
    .brand-tagline { font-size: 10.5px; letter-spacing: 1px; }
    .nav-actions { gap: 2px; }
    .nav-actions a { font-size: 12px; padding: 6px 6px; }

    .hero { padding: 64px 0 60px; }
    .hero h1 { font-size: 30px; letter-spacing: 1px; }
    .hero h1 em { font-size: 24px; }
    .hero p { font-size: 16px; }
    .hero .corner { width: 150px; opacity: .5; }
    .page-hero { padding: 48px 0 40px; }
    .page-hero h1 { font-size: 25px; }

    h2.section-heading { font-size: 23px; }
    .btn-row { gap: 12px; }
    section { padding: 48px 0; }

    .auth-card { padding: 30px 22px 28px; }
    .panel { padding: 24px 20px; }
    .search-bar { flex-direction: column; }
    .search-bar input { width: 100%; }
    .search-bar .btn { width: 100%; }
    .filters { justify-content: center; gap: 8px; }
    .filters a { padding: 8px 16px; font-size: 12.5px; flex: 1 1 auto; text-align: center; max-width: 48%; }
    .product-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
    .category-grid { gap: 18px; }
    .grid-3 { gap: 18px; }
    .cart-table td, .cart-table th { padding: 12px 8px; font-size: 13.5px; }
    table.spec-table td { padding: 11px 12px; font-size: 13.5px; }
    table.spec-table td:first-child { width: 120px; }
    .pager a, .pager span { min-width: 38px; height: 38px; padding: 0 10px; }
    .tabs { gap: 8px; }
    .tabs button { flex: 1 1 42%; padding: 11px 8px; font-size: 11px; letter-spacing: 1px; }
    .trust-strip .container > div { padding: 14px 10px; font-size: 12px; border-left: none; border-top: 1px solid rgba(227,205,143,.14); }
    .trust-strip .container > div:first-child { border-top: none; }
}
