/* ═══════════════════════════════════════════════════════════════════════════
   InsideLines GRAPHIX — Public Storefront Theme
   ───────────────────────────────────────────────────────────────────────────
   Based on the client-approved "demo-d-light-1" (warm cream / artisan light).
   Drop-in global stylesheet for every public-facing page.

   Stack:
     - Bootstrap 5.3.3 (loaded BEFORE this file — this overrides where needed)
     - Bootstrap Icons 1.11.3
     - Google Fonts: Rajdhani (display) + Source Sans 3 (body) — load via <link>:
         <link rel="preconnect" href="https://fonts.googleapis.com">
         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
         <link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
   ═══════════════════════════════════════════════════════════════════════════ */


/* ─── 1. Design tokens ──────────────────────────────────────────────────── */
:root {
    /* Surfaces */
    --bg-primary:       #faf6ef;            /* warm cream — page background */
    --bg-secondary:     #f3ede2;            /* sand — alt section background */
    --bg-card:          #ffffff;            /* cards / product tiles */
    --bg-card-hover:    #fefcf7;
    --bg-dark:          #2a2520;            /* dark inversions (footer / hero overlay) */
    --bg-dark-alt:      #1f1b17;

    /* Brand */
    --accent:           #b82525;            /* InsideLines red */
    --accent-hover:     #9c1f1f;
    --accent-soft:      rgba(184, 37, 37, 0.08);
    --highlight:        #c8850d;            /* warm gold */
    --highlight-hover:  #a8700a;
    --highlight-soft:   rgba(200, 133, 13, 0.10);

    /* Text */
    --text-primary:     #2a2520;            /* near-black warm brown */
    --text-secondary:   #5d564f;
    --text-muted:       #8a8278;
    --text-on-dark:     #f0ede8;
    --on-accent:        #ffffff;

    /* Borders */
    --border:           rgba(42, 37, 32, 0.10);
    --border-strong:    rgba(42, 37, 32, 0.18);
    --border-accent:    rgba(184, 37, 37, 0.35);

    /* Shadows */
    --shadow-sm:        0 2px 8px  rgba(42, 37, 32, 0.06);
    --shadow:           0 8px 28px rgba(42, 37, 32, 0.10);
    --shadow-lg:        0 18px 48px rgba(42, 37, 32, 0.14);
    --shadow-accent:    0 8px 22px rgba(184, 37, 37, 0.25);

    /* Overlays (for hero / category-tile dark image scrims) */
    --overlay-strong:   rgba(36, 28, 22, 0.85);
    --overlay-mid:      rgba(36, 28, 22, 0.55);
    --overlay-soft:     rgba(36, 28, 22, 0.20);

    /* Status colors (cart / order states / inline messages) */
    --success:          #2e7d32;
    --info:             #1f6feb;
    --warning:          #c8850d;            /* uses our gold */
    --danger:           #b82525;            /* uses our accent */

    /* Geometry */
    --radius-sm:        6px;
    --radius:           10px;
    --radius-lg:        16px;
    --radius-pill:      999px;

    /* Motion */
    --transition-fast:  0.15s ease;
    --transition:       0.3s ease;
    --transition-slow:  0.6s cubic-bezier(0.22, 1, 0.36, 1);

    /* Layout */
    --container-max:    1280px;
    --container-pad:    clamp(16px, 4vw, 40px);
    --section-pad-y:    clamp(60px, 8vw, 120px);
    --nav-height:       72px;
    --promo-height:     36px;

    /* Type ramps */
    --font-display:     'Rajdhani', system-ui, -apple-system, sans-serif;
    --font-body:        'Source Sans 3', system-ui, -apple-system, sans-serif;
    --font-mono:        ui-monospace, SFMono-Regular, Menlo, monospace;
}


/* ─── 2. Reset / base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection { background: var(--accent); color: var(--on-accent); }

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--text-primary);
    color: var(--on-accent);
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { left: 1rem; top: 0; }

/* Global focus ring — matches accent */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}


/* ─── 3. Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5vw,   3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw,   2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 2vw,   1.3rem); }
h5 { font-size: 1.05rem; }
h6 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

p { margin: 0 0 1rem; }

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

.text-accent     { color: var(--accent) !important; }
.text-highlight  { color: var(--highlight) !important; }
.text-muted-warm { color: var(--text-muted) !important; }
.text-on-dark    { color: var(--text-on-dark) !important; }

.text-display    { font-family: var(--font-display); letter-spacing: -0.02em; }
.text-mono       { font-family: var(--font-mono); }

/* All-caps eyebrow label used in section headers */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: '';
    width: 32px; height: 2px;
    background: var(--accent);
    display: inline-block;
}
.eyebrow.eyebrow-light { color: var(--highlight); }
.eyebrow.eyebrow-light::before { background: var(--highlight); }


/* ─── 4. Layout primitives ──────────────────────────────────────────────── */
.container-il {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: var(--section-pad-y);
    background: var(--bg-primary);
}
.section.section-alt   { background: var(--bg-secondary); }
.section.section-dark  { background: var(--bg-dark); color: var(--text-on-dark); }
.section.section-dark h1, .section.section-dark h2, .section.section-dark h3 { color: #fff; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header.section-header-left { text-align: left; margin-inline: 0; }

.section-heading {
    color: var(--text-primary);
    margin-top: 8px;
}
.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 12px;
}

/* Quick spacers for one-off layouts */
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.5rem; }


/* ─── 5. Buttons ────────────────────────────────────────────────────────── */
.btn-il {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1;
    white-space: nowrap;
}
.btn-il:active { transform: translateY(1px); }
.btn-il:disabled,
.btn-il.disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn-il.btn-sm {
    padding: 10px 20px;
    font-size: .85rem;
}
.btn-il.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Variants */
.btn-il.btn-accent {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent);
}
.btn-il.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-il.btn-highlight {
    background: var(--highlight);
    color: var(--on-accent);
    border-color: var(--highlight);
}
.btn-il.btn-highlight:hover {
    background: var(--highlight-hover);
    border-color: var(--highlight-hover);
    color: var(--on-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(200, 133, 13, 0.25);
}

.btn-il.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}
.btn-il.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-il.btn-light-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}
.btn-il.btn-light-outline:hover {
    background: #fff;
    color: var(--text-primary);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-il.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
    padding: 10px 16px;
}
.btn-il.btn-ghost:hover {
    color: var(--accent);
    background: var(--accent-soft);
}


/* ─── 5b. CTA Banner (shared across home, services, about) ──────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), #871717);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    margin-bottom: 64px;            /* cream breathing room before dark footer */
}
.cta-banner h2 { color: #fff; }
.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 14px auto 28px;
}
.cta-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.cta-banner .eyebrow { color: var(--highlight); }
.cta-banner .eyebrow::before { background: var(--highlight); }


/* ─── 6. Cards ──────────────────────────────────────────────────────────── */
.card-il {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card-il:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--border-accent);
}

.card-il-body { padding: 24px; }
.card-il-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-secondary);
}
.card-il-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.card-il:hover .card-il-media img { transform: scale(1.06); }


/* ─── 7. Product cards ─────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-accent);
}

.product-card-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}
.product-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.product-card:hover .product-card-media img { transform: scale(1.06); }

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    z-index: 2;
}
.product-badge.badge-new      { background: var(--highlight); }
.product-badge.badge-sold-out { background: var(--text-muted); }

.product-quick {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px;
    display: flex; gap: 8px;
    background: linear-gradient(transparent, rgba(255,255,255,0.95));
    transform: translateY(100%);
    transition: transform var(--transition);
    z-index: 2;
}
.product-card:hover .product-quick { transform: translateY(0); }
.product-quick-btn {
    flex: 1;
    background: var(--text-primary);
    color: var(--on-accent);
    border: 0;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
}
.product-quick-btn:hover { background: var(--accent); }
.product-quick-btn.icon-only {
    flex: 0 0 42px;
    padding: 10px 0;
}

.product-card-body { padding: 18px 20px 22px; }
.product-meta {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.product-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 6px 0 10px;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--accent); }

.product-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}
.product-price del {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    margin-right: 8px;
}


/* ─── 8. Forms ──────────────────────────────────────────────────────────── */
.form-label-il {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}
.form-control-il {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control-il:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-control-il::placeholder { color: var(--text-muted); }

textarea.form-control-il { min-height: 140px; resize: vertical; }

.form-check-il {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.form-check-il input[type="checkbox"],
.form-check-il input[type="radio"] {
    width: 18px; height: 18px;
    accent-color: var(--accent);
}


/* ─── 9. Badges & status ────────────────────────────────────────────────── */
.badge-il {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.badge-il.badge-accent    { background: var(--accent);    color: var(--on-accent); border-color: transparent; }
.badge-il.badge-highlight { background: var(--highlight); color: var(--on-accent); border-color: transparent; }
.badge-il.badge-success   { background: var(--success);   color: #fff;             border-color: transparent; }


/* ─── 10. Promo bar (top of page) ───────────────────────────────────────── */
.promo-bar {
    background: var(--text-primary);
    color: var(--text-on-dark);
    text-align: center;
    padding: 0 16px;
    height: var(--promo-height);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    letter-spacing: .03em;
}
.promo-bar a {
    color: var(--highlight);
    font-weight: 600;
    margin-left: 6px;
}


/* ─── 11. Top navigation (matches demo-d-light-1 markup) ────────────────── */
.site-nav {
    position: sticky; top: 0;
    z-index: 100;
    background: rgba(250, 246, 239, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
    background: rgba(250, 246, 239, 0.98);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}
.nav-brand-icon {
    width: 40px; height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-brand-icon i { font-size: 1.3rem; color: var(--on-accent); }
.nav-brand-img {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.nav-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.nav-brand-text span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(42, 37, 32, 0.08);
}
.nav-links a.active {
    color: var(--accent);
    background: rgba(42, 37, 32, 0.14);
    box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--on-accent) !important;
    padding: 8px 20px !important;
}
.nav-cta:hover {
    background: var(--accent-hover) !important;
    color: var(--on-accent) !important;
}
.nav-cta.active {
    background: var(--accent-hover) !important;
    color: var(--on-accent) !important;
    box-shadow: inset 0 -2px 0 var(--highlight);
}

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    padding: 0;
    background: rgba(42, 37, 32, 0.06);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.nav-cart:hover { background: var(--accent); color: var(--on-accent); }
.nav-cart.active { background: var(--accent); color: var(--on-accent); }
.nav-cart i { font-size: 1.05rem; }
.nav-cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    background: var(--accent);
    color: #fff;
    border-radius: 9px;
    font-size: .7rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
}
.nav-cart:hover .nav-cart-badge,
.nav-cart.active .nav-cart-badge { background: #fff; color: var(--accent); border-color: var(--accent); }

/* ─── Product page: quantity stepper + Add to cart ─── */
.pd-add-form { margin: 24px 0 16px; }
.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pd-qty-label {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.pd-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.pd-qty-btn {
    width: 36px;
    border: 0;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background .15s;
}
.pd-qty-btn:hover { background: rgba(0,0,0,.04); }
.pd-qty-stepper input {
    width: 60px;
    border: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}
.pd-qty-stepper input::-webkit-outer-spin-button,
.pd-qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-stock-msg { font-size: .9rem; color: var(--text-muted); }
.pd-stock-msg.in { color: #1f7a3f; font-weight: 600; }
.pd-stock-msg.out { color: #b22; font-weight: 600; }
#pd-add-btn:disabled { opacity: .5; cursor: not-allowed; }
.pd-custom-job {
    margin: 16px 0 0;
    padding: 12px 14px;
    background: rgba(0,0,0,.025);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--text-muted);
}
.pd-custom-job a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pd-custom-job a:hover { text-decoration: underline; }

.cart-count {
    position: absolute;
    top: -2px; right: -2px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--highlight);
    color: #fff;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    color: var(--text-primary);
    font-size: 1.4rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--accent); }

@media (max-width: 991px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(250, 246, 239, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px var(--container-pad);
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 12px 16px; }
}


/* ─── 12. Footer (matches demo-d-light-1 markup: 5-col + newsletter) ────── */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding-block: 80px 0;
}
.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;   /* 4 cols: brand wider, contact wider */
    gap: 48px;
}
.footer-grid.footer-grid--no-shop {
    grid-template-columns: 1.5fr 1fr 1.3fr;       /* 3 cols when Shop column is hidden */
}
@media (max-width: 991px) {
    .footer-grid,
    .footer-grid.footer-grid--no-shop { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .footer-grid,
    .footer-grid.footer-grid--no-shop { grid-template-columns: 1fr; }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 16px;
}
.footer-brand-icon {
    width: 40px; height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.footer-brand-icon i { font-size: 1.3rem; color: var(--on-accent); }
.footer-brand-img {
    height: 48px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.footer-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}

.footer-about {
    color: rgba(240, 237, 232, .7);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; }

.site-footer h4 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.site-footer a {
    color: rgba(240, 237, 232, .75);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--highlight); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .92rem; }

.footer-contact-item {
    display: flex; gap: 10px; align-items: flex-start;
    margin-bottom: 12px;
    color: rgba(240, 237, 232, .75);
    font-size: .9rem;
    line-height: 1.5;
}
.footer-contact-item i {
    color: var(--highlight);
    font-size: 1rem;
    padding-top: 3px;
    flex-shrink: 0;
}

.footer-newsletter { margin-top: 24px; }
.footer-newsletter h4 { font-size: .85rem; margin-bottom: 10px; }
.footer-newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.footer-newsletter-form input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 10px 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: .9rem;
}
.footer-newsletter-form input::placeholder { color: rgba(240, 237, 232, .45); }
.footer-newsletter-form input:focus { outline: none; }
.footer-newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 0 16px;
    cursor: pointer;
    transition: background var(--transition);
    font-size: 1.1rem;
}
.footer-newsletter-form button:hover { background: var(--accent-hover); }

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 56px;
    padding: 18px 0 0;
    display: flex; flex-wrap: wrap; gap: 6px 12px;
    color: rgba(240, 237, 232, .65);
    font-size: .85rem;
}
.footer-legal a { color: rgba(240, 237, 232, .75); text-decoration: none; }
.footer-legal a:hover { color: var(--highlight); text-decoration: underline; }
.footer-legal-sep { color: rgba(240, 237, 232, .35); }

.footer-bottom {
    margin-top: 12px;
    padding: 16px 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(240, 237, 232, .55);
    font-size: .85rem;
}
.footer-bottom a { color: rgba(240, 237, 232, .75); }
.footer-bottom a:hover { color: var(--highlight); }
@media (max-width: 600px) {
    .footer-legal,
    .footer-bottom { justify-content: center; text-align: center; }
}

/* Cookie consent banner — sticky bottom strip, dismissible */
.cookie-banner {
    position: fixed;
    bottom: 16px; left: 16px; right: 16px;
    max-width: 720px; margin-inline: auto;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, .92);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1050;
    font-size: .9rem;
    line-height: 1.45;
    animation: cookie-slide-up .35s ease;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }

.cookie-banner-text { flex: 1; }
.cookie-banner-text a { color: var(--highlight); text-decoration: underline; }
.cookie-banner-text a:hover { color: #e5b964; }

.cookie-banner-btn {
    background: var(--accent);
    color: var(--on-accent);
    border: 0;
    padding: 9px 18px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease;
}
.cookie-banner-btn:hover { background: var(--accent-hover); }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-banner-btn { width: 100%; }
}


/* ─── 13. Animations / utilities ───────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp .6s var(--transition-slow) both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* Quick utility classes */
.bg-cream    { background: var(--bg-primary); }
.bg-sand     { background: var(--bg-secondary); }
.bg-card     { background: var(--bg-card); }
.bg-dark-warm{ background: var(--bg-dark); color: var(--text-on-dark); }

.rounded-il    { border-radius: var(--radius); }
.rounded-il-sm { border-radius: var(--radius-sm); }
.rounded-il-lg { border-radius: var(--radius-lg); }

.shadow-il-sm  { box-shadow: var(--shadow-sm); }
.shadow-il     { box-shadow: var(--shadow); }
.shadow-il-lg  { box-shadow: var(--shadow-lg); }

.divider {
    height: 1px;
    background: var(--border);
    border: 0;
    margin-block: 24px;
}
.divider-strong { background: var(--border-strong); }
