/* ============================================================================
   IVEC — vizualni sistem
   Ista oblikovalska govorica kot nefel.si (sestrska znamka): serif Cormorant
   Garamond za naslove, DM Sans za UI, ostri robovi, fotografija v ospredju,
   ena poudarna barva. Paleta IVEC: petrol #006D8A + terakota #CE7E5D.
   ========================================================================== */

:root {
    --paper:        #F7F5F1;   /* toplo nevtralno ozadje */
    --surface:      #FFFFFF;
    --paper-alt:    #EDEAE2;   /* izmenični pas */
    --cream:        #FBFAF6;

    --ink:          #17201F;   /* skoraj črna z rahlim petrolom */
    --ink-soft:     #2E3A38;
    --text-muted:   #6A7573;
    --line:         #E2DED4;
    --line-strong:  #D2CCBE;

    --brand:        #006D8A;   /* petrol — povezave, primarne ploskve */
    --brand-deep:   #044F63;
    --brand-tint:   #E7EFF1;

    --accent:       #CE7E5D;   /* terakota — oznake, črtice, hover (kot zlato pri nefel) */
    --accent-deep:  #A25A3A;   /* temnejša za droben tekst na svetlem (kontrast AA) */
    --accent-dim:   rgba(206, 126, 93, 0.30);

    --text-on-dark:        #EAF1F1;
    --text-on-dark-muted:  #A6C0C1;
    --dark:         #06323D;   /* globoki petrol — temni pasovi, glava ob drsenju */

    --sale:         #B23A2E;
    --ok:           #2C7A4B;

    --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
    --sans:  'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --container: 1280px;
    --radius: 2px;
    --head-h: 74px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #0E1618; --surface: #141F21; --paper-alt: #1A2729; --cream: #16211F;
        --ink: #ECF2F1; --ink-soft: #C4D0CF; --text-muted: #8A9997;
        --line: #263434; --line-strong: #35494A;
        --brand: #3FB3CE; --brand-deep: #63C4DA; --brand-tint: #10303A;
        --accent: #DE9576; --accent-deep: #E6A889; --accent-dim: rgba(222, 149, 118, 0.32);
        --text-on-dark: #ECF2F1; --text-on-dark-muted: #A6C0C1; --dark: #04262F;
        --sale: #E8776A; --ok: #5FBE84;
    }
}
:root[data-theme="dark"] {
    --paper: #0E1618; --surface: #141F21; --paper-alt: #1A2729; --cream: #16211F;
    --ink: #ECF2F1; --ink-soft: #C4D0CF; --text-muted: #8A9997;
    --line: #263434; --line-strong: #35494A;
    --brand: #3FB3CE; --brand-deep: #63C4DA; --brand-tint: #10303A;
    --accent: #DE9576; --accent-deep: #E6A889; --accent-dim: rgba(222, 149, 118, 0.32);
    --text-on-dark: #ECF2F1; --text-on-dark-muted: #A6C0C1; --dark: #04262F;
    --sale: #E8776A; --ok: #5FBE84;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; color: var(--text-muted); }
b, strong { font-weight: 600; color: var(--ink); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.005em;
    color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}
::selection { background: var(--accent); color: #fff; }

.wrap, .container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
main { min-height: 60vh; }

/* na notranjih straneh (brez hero fotografije) mora vsebina pod fiksno glavo
   (util 34 + head 74); JS jo natančno izmeri ob nalaganju */
body:not(:has(.hero)) main { padding-top: 112px; }
@media (max-width: 1040px) { body:not(:has(.hero)) main { padding-top: 72px; } }

.muted { color: var(--text-muted); }
.small { font-size: .85rem; }

/* eyebrow / oznaka sekcije — tracked verzalke, terakota (kot zlato pri nefel) */
.eyebrow, .section-label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-deep);
    margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent); }

.lead-p, .section-lead { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------- gumbi ---------- */
.btn, .btn-sm {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--sans); font-weight: 600;
    font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 15px 32px; border: 1px solid var(--ink); border-radius: var(--radius);
    background: var(--ink); color: var(--cream); cursor: pointer; white-space: nowrap;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover, .btn-sm:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(6,50,61,.5); }
.btn:active, .btn-sm:active { transform: translateY(0); box-shadow: none; }
.btn:disabled, .btn[disabled], .btn-sm:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 11px 22px; font-size: 0.72rem; }

.btn-ghost, .btn-outline {
    background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover, .btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

.btn-outline-light {
    background: transparent; color: var(--text-on-dark); border-color: rgba(234, 241, 241, 0.5);
}
.btn-outline-light:hover { background: rgba(234, 241, 241, 0.12); border-color: var(--text-on-dark); color: var(--text-on-dark); }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-block { width: 100%; }

.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--text-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--accent-deep); }

.textlink {
    font-family: var(--sans); font-weight: 600; font-size: 0.76rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
    display: inline-flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--accent-dim); padding-bottom: 4px;
    transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.textlink:hover { border-color: var(--accent); gap: 12px; }

/* animacije ob prikazu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================================
   GLAVA
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: var(--surface); border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}

/* domača stran: glava lebdi prosojno nad hero fotografijo */
body:has(.hero) .site-header { background: transparent; border-color: transparent; }
body:has(.hero) .site-header .util { background: transparent; border-color: rgba(234,241,241,.18); color: var(--text-on-dark-muted); }
body:has(.hero) .site-header .util a { color: var(--text-on-dark-muted); }
body:has(.hero) .site-header .util a:hover { color: #fff; }
body:has(.hero) .site-header .brand .logo-dark { display: none; }
body:has(.hero) .site-header .brand .logo-light { display: block; }
body:has(.hero) .mainnav { background: transparent; border-color: rgba(234,241,241,.18); }
body:has(.hero) .mainnav > .wrap > ul > li > a { color: var(--text-on-dark-muted); }
body:has(.hero) .mainnav > .wrap > ul > li > a:hover,
body:has(.hero) .mainnav > .wrap > ul > li > a.is-active { color: #fff; border-color: var(--accent); }
body:has(.hero) .cats-btn { color: var(--text-on-dark); border-color: rgba(234,241,241,.4); background: transparent; }
body:has(.hero) .cats-btn:hover { border-color: #fff; color: #fff; }
body:has(.hero) .search { background: rgba(255,255,255,.1); border-color: rgba(234,241,241,.4); }
body:has(.hero) .search input { color: #fff; }
body:has(.hero) .search input::placeholder { color: var(--text-on-dark-muted); }
body:has(.hero) .account-nav > a, body:has(.hero) .account-nav > form > button { color: var(--text-on-dark-muted); }
body:has(.hero) .account-nav > a:hover { color: #fff; background: rgba(255,255,255,.08); }
body:has(.hero) .theme-toggle { color: var(--text-on-dark-muted); border-color: rgba(234,241,241,.35); background: transparent; }
body:has(.hero) .nav-toggle { color: #fff; border-color: rgba(234,241,241,.4); background: rgba(255,255,255,.06); }
.site-header.is-scrolled .nav-toggle { color: #fff; border-color: rgba(234,241,241,.4); background: rgba(255,255,255,.06); }

/* ob drsenju: temni petrol pas z zameglitvijo */
.site-header.is-scrolled {
    background: rgba(6, 50, 61, 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-color: rgba(234,241,241,.12);
    box-shadow: 0 10px 34px -14px rgba(0,0,0,.4);
}
.site-header.is-scrolled .util { display: none; }
.site-header.is-scrolled .brand .logo-dark { display: none; }
.site-header.is-scrolled .brand .logo-light { display: block; }
.site-header.is-scrolled .mainnav { display: none; }
.site-header.is-scrolled .head .wrap { height: 60px; }
.site-header.is-scrolled .cats-btn { color: var(--text-on-dark); border-color: rgba(234,241,241,.4); background: transparent; }
.site-header.is-scrolled .search { background: rgba(255,255,255,.1); border-color: rgba(234,241,241,.4); }
.site-header.is-scrolled .search input { color: #fff; }
.site-header.is-scrolled .search input::placeholder { color: var(--text-on-dark-muted); }
.site-header.is-scrolled .account-nav > a, .site-header.is-scrolled .account-nav > form > button { color: var(--text-on-dark-muted); }
.site-header.is-scrolled .account-nav > a:hover { color: #fff; }
.site-header.is-scrolled .theme-toggle { color: var(--text-on-dark-muted); border-color: rgba(234,241,241,.35); background: transparent; }

.util { background: var(--paper-alt); border-bottom: 1px solid var(--line); font-size: 0.74rem; letter-spacing: 0.04em; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.util .wrap { display: flex; align-items: center; gap: 24px; height: 34px; }
.util a { color: var(--text-muted); }
.util a:hover { color: var(--ink); }
.util .util-right { margin-left: auto; display: flex; gap: 22px; }

.head .wrap {
    display: grid; grid-template-columns: auto auto minmax(0,1fr) auto;
    align-items: center; gap: 20px; height: var(--head-h);
    transition: height .35s var(--ease);
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
.brand small { display: none; }

.cats-wrap { position: relative; display: flex; }
.cats-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.cats-btn:hover { border-color: var(--ink); text-decoration: none; }
.cats-btn svg { width: 15px; height: 15px; }
.cats-mega {
    position: absolute; top: calc(100% + 14px); left: 0; z-index: 95;
    width: min(1120px, 95vw); background: var(--surface);
    border: 1px solid var(--line); box-shadow: 0 40px 80px -24px rgba(6,50,61,.28);
    padding: 28px 30px; display: none;
    grid-template-columns: repeat(4, 1fr); gap: 22px 28px;
    max-height: min(78vh, 640px); overflow-y: auto;
}
.cats-mega .grp:not(:has(ul)) > a.h { border-bottom-color: transparent; margin-bottom: 0; }
.cats-wrap:hover .cats-mega, .cats-wrap:focus-within .cats-mega { display: grid; }
.cats-mega .grp > a.h {
    display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink);
    margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.cats-mega .grp > a.h:hover { color: var(--brand); }
.cats-mega .grp ul { list-style: none; padding: 0; display: grid; gap: 3px; }
.cats-mega .grp ul a { color: var(--text-muted); font-size: 0.88rem; padding: 3px 0; }
.cats-mega .grp ul a:hover { color: var(--accent-deep); }

.search-wrap { position: relative; }
.search {
    display: flex; align-items: stretch;
    border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
    overflow: hidden; transition: border-color .3s var(--ease);
}
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 18px; font: inherit; font-size: 0.92rem; color: var(--ink); }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--text-muted); }
.search button {
    border: 0; background: var(--ink); color: var(--cream);
    padding-inline: 22px; cursor: pointer;
    font-family: var(--sans); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease);
}
.search button:hover { background: var(--brand); }
.search button svg { width: 14px; height: 14px; }

.ac {
    position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 60;
    list-style: none; padding: 6px; margin: 0; background: var(--surface);
    border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(6,50,61,.3);
    max-height: 64vh; overflow-y: auto;
}
.ac li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 13px; cursor: pointer; font-size: 0.9rem; color: var(--ink); }
.ac li small { color: var(--text-muted); font-size: 0.74rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ac li.on, .ac li:hover { background: var(--brand-tint); color: var(--brand-deep); }

.account-nav { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.account-nav > a, .account-nav > form > button {
    display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 10px; color: var(--text-muted); font-weight: 600; white-space: nowrap;
    background: none; border: 0; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease);
}
.account-nav > a:hover { color: var(--ink); }
.account-nav .ico { width: 21px; height: 21px; background: currentColor;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.account-nav .ico.user { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.cart-link { position: relative; }
.cart-link .ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h13l-1.4 10.5a2 2 0 0 1-2 1.7H9.4a2 2 0 0 1-2-1.7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h13l-1.4 10.5a2 2 0 0 1-2 1.7H9.4a2 2 0 0 1-2-1.7z'/%3E%3Cpath d='M9 7a3 3 0 0 1 6 0'/%3E%3C/svg%3E"); }
.cart-badge {
    position: absolute; top: -2px; right: 2px; transform: translate(45%, -20%);
    min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center;
    background: var(--accent); color: #fff; border-radius: 999px;
    font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.theme-toggle { border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-muted); width: 36px; height: 36px; border-radius: var(--radius); display: inline-grid; place-items: center; cursor: pointer; transition: color .25s var(--ease), border-color .25s var(--ease); }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.nav-toggle { display: none; }

.mainnav { background: var(--surface); border-top: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s var(--ease); }
.mainnav .wrap { display: flex; min-height: 46px; }
.mainnav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav li { position: relative; display: flex; }
.mainnav > .wrap > ul > li > a {
    display: inline-flex; align-items: center; padding: 13px 12px; white-space: nowrap;
    font-family: var(--sans); font-size: 0.685rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--text-muted); border-bottom: 2px solid transparent;
    transition: color .25s var(--ease), border-color .25s var(--ease);
}
.mainnav > .wrap > ul > li > a:hover, .mainnav > .wrap > ul > li > a.is-active { color: var(--ink); border-color: var(--accent); }

.flyout {
    position: absolute; top: 100%; left: 0; z-index: 90; min-width: 300px;
    background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--accent);
    box-shadow: 0 40px 80px -24px rgba(6,50,61,.3); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mainnav li:hover > .flyout, .mainnav li:focus-within > .flyout { opacity: 1; visibility: visible; transform: translateY(0); }
.flyout a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; font-family: var(--sans); font-size: 0.86rem; color: var(--ink); }
.flyout a:hover { background: var(--brand-tint); color: var(--brand-deep); }
.flyout .n { color: var(--text-muted); font-size: 0.76rem; font-variant-numeric: tabular-nums; }

.drawer-backdrop, .drawer, #nav-drawer { display: none; }

/* ============================================================================
   DOMOV — hero z fotografijo
   ========================================================================== */
.hero {
    position: relative; min-height: clamp(620px, 90vh, 880px); display: flex; align-items: center; overflow: hidden;
}
.hero-media {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 48%;
    transform: scale(1.04);
}
.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,32,40,.48) 0%, rgba(4,32,40,.34) 40%, rgba(4,32,40,.72) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 60px; }
.hero-glass {
    max-width: 680px; padding: 44px 46px;
    background: rgba(4, 32, 40, 0.40);
    backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
    border: 1px solid rgba(234,241,241,.12);
    border-radius: 4px;
}
.hero-glass h1 { color: var(--text-on-dark); font-weight: 500; margin: 0 0 22px; }
.hero-glass h1 em { font-style: italic; color: var(--accent); }
.hero-lead { color: var(--text-on-dark-muted); font-size: 1.12rem; line-height: 1.75; max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px 44px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(234,241,241,.16); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--text-on-dark); line-height: 1; }
.hero-stats span { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 6px; }

.hero-scroll {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-on-dark-muted);
}
.hero-scroll span { width: 1px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent); animation: scrollpulse 2.2s ease-in-out infinite; }
@keyframes scrollpulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- sekcije ---------- */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--dark); color: var(--text-on-dark); }
.section-dark h2 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark .section-label { color: var(--accent); }

.section-heading { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading .section-lead { font-size: 1.05rem; }

/* dvostolpčna zgodba */
.split-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split-grid.rev { grid-template-columns: 0.92fr 1fr; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 44px 80px -34px rgba(6,50,61,.4); }
.split-copy h2 { max-width: 12ch; }

/* trak "philosophy" — prednosti, tanka terakota črta na vrhu */
.philosophy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 48px); }
.philosophy-item { border-top: 1px solid var(--accent-dim); padding-top: 24px; }
.philosophy-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--accent-deep); display: block; margin-bottom: 12px; }
.philosophy-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.philosophy-item p { font-size: 0.92rem; margin: 0; }

/* polnoширok fotografski pas s citatom */
.break-media { position: relative; min-height: 58vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.break-media-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.break-scrim { position: absolute; inset: 0; background: rgba(4,32,40,.7); }
.break-quote {
    position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; padding: 0 24px;
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.4; color: var(--text-on-dark);
    text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.break-quote span { color: var(--accent); }

/* kategorije — velike ploščice */
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(230px, 26vw, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.showcase-tile { background: var(--surface); padding: 30px 26px; display: flex; flex-direction: column; color: var(--ink); transition: background .3s var(--ease); }
.showcase-tile:hover { background: var(--cream); text-decoration: none; }
.showcase-tile .ico { width: 42px; height: 42px; color: var(--brand); margin-bottom: 18px; }
.showcase-tile .ico svg { width: 100%; height: 100%; stroke-width: 1.4; }
.showcase-tile .tag { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 12px; }
.showcase-tile h3 { font-size: 1.4rem; margin-bottom: 6px; }
.showcase-tile .sub { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 16px; }
.showcase-tile ul { list-style: none; padding: 0; margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 3px; }
.showcase-tile ul li { font-size: 0.82rem; color: var(--text-muted); }

.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.row-head h2 { margin: 0; }
.row-head .section-label { margin-bottom: 8px; }

/* B2B pas */
.b2b-band { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.b2b-band ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.b2b-band li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text-on-dark-muted); }
.b2b-band li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; flex: none; background: var(--accent); }
.b2b-cta { display: flex; flex-direction: column; gap: 14px; }

/* logotipi panog */
.logos { text-align: center; }
.logos .eyebrow { display: block; margin-bottom: 24px; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 52px; }
.logo-strip span { font-family: var(--serif); font-size: 1.35rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ============================================================================
   KARTICE IZDELKOV
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(200px, 22vw, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); transition: background .3s var(--ease); }
.card:hover { background: var(--cream); }
.card .thumb { position: relative; aspect-ratio: 3 / 4; background: #fff; display: block; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .5s var(--ease); }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb.empty { display: grid; place-items: center; color: var(--text-muted); font-size: 0.78rem; }
.card .body { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; flex: 1; }
.card .name { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; line-height: 1.45; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.card .name:hover { color: var(--brand); text-decoration: none; }
.card .price { margin-top: auto; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.card .price .net { display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 400; color: var(--text-muted); margin-top: 3px; }
.card .price .price-old { font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); text-decoration: line-through; margin-right: 7px; }
.card .price .contract { color: var(--accent-deep); }
.card-add { margin-top: 6px; }

.badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: grid; gap: 6px; }
.badge {
    display: inline-flex; align-self: flex-start;
    font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 9px; line-height: 1;
}
.badge--new { background: var(--ink); color: var(--cream); }
.badge--sale { background: var(--sale); color: #fff; }
.badge--contract { background: var(--accent); color: #fff; }
.badge-contract { display: inline-block; font-family: var(--sans); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--accent-dim); padding: 3px 8px; }

.stock { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.stock.in { color: var(--ok); }
.stock.out { color: var(--text-muted); }

/* ============================================================================
   KATALOG / KATEGORIJA
   ========================================================================== */
.page-head { padding: 40px 0 4px; }
.page-head h1 { margin: 12px 0 0; }
.page-head .lead { margin-top: 12px; max-width: 60ch; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb span { margin: 0 9px; opacity: .5; }

.subtiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.subtile {
    font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink); border: 1px solid var(--line-strong); padding: 10px 18px;
    transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.subtile:hover { border-color: var(--brand); background: var(--brand); color: #fff; text-decoration: none; }
.subtile .n { color: var(--text-muted); margin-left: 6px; }
.subtile:hover .n { color: rgba(255,255,255,.75); }

.layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 44px; padding: 24px 0 clamp(64px, 9vw, 108px); align-items: start; }
.sidebar { position: sticky; top: 124px; }
.sidebar .facet { border-bottom: 1px solid var(--line); }
.sidebar .facet:first-child { border-top: 1px solid var(--line); }
.sidebar .facet > summary, .sidebar h3 {
    list-style: none; cursor: pointer; margin: 0;
    font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
    padding: 16px 2px; display: flex; justify-content: space-between; align-items: center;
}
.sidebar .facet > summary::-webkit-details-marker { display: none; }
.sidebar .facet > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.sidebar .facet[open] > summary::after { transform: rotate(-135deg); }
.sidebar ul { list-style: none; padding: 0 0 16px; display: grid; gap: 2px; }
.sidebar li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 2px; font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); }
.sidebar li a:hover { color: var(--ink); }
.sidebar li a.is-active { color: var(--ink); font-weight: 600; }
.sidebar li a.is-active::before { content: "— "; color: var(--accent); }
.sidebar li a .n { color: var(--text-muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }

.toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
    padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.toolbar .count { margin-right: auto; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.toolbar label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 0.82rem; color: var(--ink-soft); }
.toolbar select { appearance: none; font: inherit; font-size: 0.82rem; padding: 8px 32px 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A7573' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; color: var(--ink); cursor: pointer; }
.toolbar input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 44px; }
.pager a, .pager span { min-width: 42px; padding: 10px 12px; text-align: center; border: 1px solid var(--line-strong); font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); background: var(--surface); font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.pager .current { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pager .disabled { opacity: .4; }

.notice { border: 1px solid var(--accent-dim); border-left: 3px solid var(--accent); padding: 18px 20px; font-size: 0.92rem; color: var(--ink-soft); background: var(--surface); }

/* ============================================================================
   IZDELEK
   ========================================================================== */
.product { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: clamp(32px, 5vw, 64px); padding: 24px 0 clamp(64px, 9vw, 108px); align-items: start; }
.product .gallery { background: #fff; border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; padding: clamp(28px, 5vw, 60px); position: sticky; top: 124px; }
.product .gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 14px 0 8px; }
.product .code { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.product .buybox { border: 1px solid var(--line-strong); padding: 26px; background: var(--surface); }
.product .buybox .gross { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.05; }
.product .buybox .gross.contract { color: var(--accent-deep); }
.product .buybox .net { font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }
.product .buybox .net .was { text-decoration: line-through; }
.product .buybox .unit { font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); margin: 8px 0 16px; }
.product .buy-row { display: flex; gap: 12px; margin-top: 16px; }
.product .buy-row input[type=number] { width: 78px; padding: 14px 8px; text-align: center; font: inherit; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; }
.product .buybox .stock { margin: 14px 0 2px; }
.product .assur { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.product .assur div { display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); }
.product .assur svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.prose { margin-top: 34px; max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin-bottom: 12px; }
.prose p { color: var(--ink-soft); }

/* ============================================================================
   OBRAZCI
   ========================================================================== */
.form-narrow { max-width: 440px; margin: 12px 0 clamp(64px, 9vw, 108px); }
.form-wide { max-width: 720px; margin: 12px 0 clamp(64px, 9vw, 108px); }
.field { margin-bottom: 18px; }
.field > label { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 0.95rem; padding: 13px 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); transition: border-color .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input:disabled { background: var(--paper-alt); color: var(--text-muted); }
.field .hint { color: var(--text-muted); font-size: 0.8rem; margin-top: 5px; }
.field input[type=checkbox] { width: auto; margin-right: 8px; accent-color: var(--brand); vertical-align: -2px; }

.form-error, .form-ok { border: 1px solid; border-left-width: 3px; padding: 14px 16px; font-size: 0.9rem; margin-bottom: 18px; }
.form-error { background: var(--surface); border-color: var(--sale); color: var(--sale); }
.form-ok { background: var(--surface); border-color: var(--ok); color: var(--ok); }

/* ============================================================================
   TABELE / RAČUN / ADMIN
   ========================================================================== */
.table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.88rem; background: var(--surface); border: 1px solid var(--line); margin: 12px 0 44px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background: var(--paper-alt); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--cream); }
.table td { font-variant-numeric: tabular-nums; }

.stat-row { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 12px 0 36px; }
.stat { background: var(--surface); padding: 22px 26px; min-width: 150px; flex: 1; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; }
.stat span { font-family: var(--sans); color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================================
   KOŠARICA / BLAGAJNA
   ========================================================================== */
.cart-table { width: 100%; border-collapse: collapse; font-family: var(--sans); background: var(--surface); border: 1px solid var(--line); margin: 12px 0 22px; }
.cart-table th { text-align: left; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 12px 14px; background: var(--paper-alt); border-bottom: 1px solid var(--line); font-weight: 700; }
.cart-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-table .ci-img img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 6px; }
.cart-table input[type=number] { width: 70px; padding: 10px; text-align: center; font: inherit; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; }
.cart-total { text-align: right; margin: 18px 0 26px; }
.cart-total .big { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; font-variant-numeric: tabular-nums; }

.checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: clamp(32px, 5vw, 56px); align-items: start; padding-bottom: clamp(64px, 9vw, 108px); }
.summary { border: 1px solid var(--line-strong); padding: 26px; position: sticky; top: 124px; background: var(--surface); }
.summary h3 { margin-bottom: 14px; }
.summary ul { list-style: none; margin: 0 0 14px; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.summary li.tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.checkout-grid > form > div:first-child { background: var(--surface); border: 1px solid var(--line); padding: 26px; }

/* ============================================================================
   VSEBINSKE STRANI
   ========================================================================== */
.legal { max-width: 72ch; margin-bottom: clamp(64px, 9vw, 108px); }
.legal h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal h4 { margin: 20px 0 6px; }
.legal p { margin-bottom: 14px; color: var(--ink-soft); }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 24px; color: var(--ink-soft); }
.legal li { margin: 5px 0; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* ============================================================================
   NOGA
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--text-on-dark-muted); padding: clamp(56px, 8vw, 88px) 0 36px; font-family: var(--sans); font-size: 0.88rem; }
.site-footer .f-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(234,241,241,.14); }
.site-footer .f-brand img { height: 36px; }
.site-footer .f-brand p { margin-top: 16px; max-width: 34ch; color: var(--text-on-dark-muted); }
.site-footer h4 { color: var(--text-on-dark); font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer nav a { color: var(--text-on-dark-muted); }
.site-footer nav a:hover { color: var(--text-on-dark); }
.site-footer .f-bot { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 26px; align-items: center; font-size: 0.78rem; }
.site-footer .f-bot .pays { margin-left: auto; display: flex; gap: 8px; }
.site-footer .f-bot .pays span { border: 1px solid rgba(234,241,241,.22); padding: 4px 9px; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* toast */
.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--cream); padding: 15px 20px; font-family: var(--sans); font-size: 0.85rem; box-shadow: 0 30px 60px -20px rgba(6,50,61,.5); transform: translateY(14px); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.toast .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ============================================================================
   ODZIVNOST
   ========================================================================== */
@media (max-width: 1040px) {
    .util { display: none; }
    body:has(.hero) .site-header { background: rgba(6,50,61,.5); backdrop-filter: blur(8px); }
    .cats-wrap { display: none !important; }
    .head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; height: auto; padding-block: 14px; }
    .brand { margin-right: auto; }
    .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; }
    .nav-toggle svg { width: 20px; height: 20px; }
    .account-nav .lbl { display: none; }
    .account-nav { gap: 2px; }
    .search-wrap { flex: 1 1 100%; order: 5; }
    .mainnav { display: none; }
    .site-header.is-scrolled .head .wrap { height: auto; }

    #nav-drawer:checked ~ .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 210; background: rgba(4,32,40,.6); }
    #nav-drawer:checked ~ .drawer { transform: translateX(0); }
    .drawer { display: block; position: fixed; top: 0; left: 0; bottom: 0; z-index: 220; width: min(88vw, 360px); background: var(--surface); box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; padding: 24px; }
    .drawer .brand { margin-bottom: 10px; }
    .drawer .brand img { height: 28px; }
    .drawer .brand .logo-light { display: none; }
    .drawer h4 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: 22px 0 8px; }
    .drawer a { display: block; padding: 11px 6px; font-family: var(--sans); color: var(--ink); }
    .drawer a:hover { color: var(--brand); }
    .drawer details > summary { list-style: none; cursor: pointer; padding: 11px 6px; font-family: var(--sans); font-weight: 600; display: flex; justify-content: space-between; }
    .drawer details > summary::-webkit-details-marker { display: none; }
    .drawer details[open] > summary { color: var(--brand); }
    .drawer .sub a { padding-left: 20px; font-size: 0.86rem; color: var(--text-muted); }
}
@media (min-width: 1041px) { .nav-toggle, .drawer, .drawer-backdrop { display: none; } }

@media (max-width: 900px) {
    .hero { min-height: 92vh; }
    .philosophy-grid { grid-template-columns: 1fr 1fr; }
    .showcase { grid-template-columns: 1fr 1fr; }
    .split-grid, .split-grid.rev { grid-template-columns: 1fr; }
    .b2b-band { grid-template-columns: 1fr; }
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .product { grid-template-columns: 1fr; }
    .product .gallery { position: static; max-width: 460px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .summary { position: static; }
    .site-footer .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .hero-media { background-position: 20% 46%; }
}
@media (max-width: 600px) {
    .hero-glass { margin-inline: calc(clamp(20px, 5vw, 40px) * -1); max-width: none; border-radius: 0; border-left: 0; border-right: 0; padding: 32px clamp(20px, 5vw, 40px); }
    .philosophy-grid, .showcase { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px 32px; }
    .row-head { flex-direction: column; align-items: flex-start; }
    .site-footer .f-top { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table td { display: block; border: 0; padding: 4px 0; }
    .cart-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
    .card .price { font-size: 1.3rem; }
}
