/* BlenderHere visitor site — design 9. The first part is the CSS of docs/design/tasarim-9-soft-magaza.html,
   with the same class names and sizes (user decision 2026-11-01: "apply the mock-up as it is"); its fixed colours
   are tied to the theme (_ThemeStyles: --color-primary, --color-accent, --color-nav, --color-ink, --color-bg,
   --font-body, --radius). The second part styles the pages the mock-up does not have (cart, checkout, forms…). */

:root {
    /* Theme values (overwritten by _ThemeStyles) */
    --color-primary: #4A5233;
    --color-accent: #C9D3A9;
    --color-nav: #2C3020;
    --color-ink: #1E2018;
    --color-bg: #FFFFFF;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 14px;

    /* Mock-up palette, derived from the theme */
    --primary: var(--color-primary);
    --primary-ink: #FFFFFF;
    --primary-soft: color-mix(in srgb, var(--color-primary) 12%, #FFFFFF);
    --accent: var(--color-accent);
    --sale: #E7B9A6;
    --sale-ink: #8A3B22;
    --ink: var(--color-ink);
    --muted: color-mix(in srgb, var(--color-ink) 58%, #FFFFFF);
    --line: color-mix(in srgb, var(--color-ink) 9%, #FCFBF7);
    --bg: color-mix(in srgb, var(--color-primary) 4%, #F8F7F2);
    --surface: #FFFFFF;
    --surface-2: color-mix(in srgb, var(--color-ink) 4%, #F6F5EF);
    --ok: #3F7A3A;
    --warn: #A8661A;
    --radius-sm: calc(var(--radius) * .72);
    --radius-lg: calc(var(--radius) * 1.43);
    --radius-xl: calc(var(--radius) * 2);
    --shadow: 0 1px 2px rgba(30, 32, 24, .04), 0 8px 24px -12px rgba(30, 32, 24, .12);
    --shadow-lg: 0 2px 4px rgba(30, 32, 24, .04), 0 24px 48px -20px rgba(30, 32, 24, .22);
    --font: var(--font-body);
    --mono: "Cascadia Mono", ui-monospace, Consolas, monospace;
    --gutter: max(56px, calc((100vw - 1680px) / 2));

    /* Names used by the second part */
    --color-surface: var(--surface);
    --color-surface-2: var(--surface-2);
    --color-soft: var(--bg);
    --color-line: var(--line);
    --color-muted: var(--muted);
    --color-primary-soft: var(--primary-soft);
    --color-primary-light: color-mix(in srgb, var(--color-primary) 72%, #FFFFFF);
    --color-on-primary: var(--primary-ink);
    --color-on-accent: var(--ink);
    --color-sale: var(--sale);
    --color-sale-ink: var(--sale-ink);
    --color-ok: var(--ok);
    --color-warn: var(--warn);
    --color-bad: #B42318;
    --color-off: #6B7280;
    --font-mono: var(--mono);
    --shadow-1: var(--shadow);
    --shadow-2: var(--shadow-lg);
    --wrap: 1680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 500 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
svg { flex: none; }
.wrap { padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
[x-cloak] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { box-shadow: 0 10px 24px -10px var(--primary); }
.btn-primary .arrow { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -12px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.btn-ghost, .btn-outline { background: var(--surface); border-color: var(--line); }
.btn-ghost:hover, .btn-outline:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.btn-soft { background: var(--surface-2); }
.btn-soft:hover { background: var(--primary-soft); }
.btn-wa { background: #E7F5EC; color: #17733F; }
.btn-wa:hover { background: #D6EEDF; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-pill { border-radius: 999px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.prev svg { transform: rotate(180deg); }

/* ---------- Top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 48px; padding: 0 var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .contact { display: flex; gap: 28px; }
.topbar .contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.topbar .contact svg { color: var(--primary); }
.topbar .contact .wa svg { color: #1FA855; }
.topbar .note { font-weight: 600; color: var(--ink); }
.topbar .end { display: flex; align-items: center; gap: 24px; }
.topbar .links { display: flex; gap: 24px; font-weight: 600; }
.topbar .links a:hover { color: var(--ink); }
.lang-switch { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch a { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--primary); color: var(--primary-ink); }

/* ---------- Header (sticky; site.js adds "scrolled" after scrolling down) ---------- */
.header { position: sticky; top: 0; z-index: 40; padding: 0 var(--gutter); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; align-items: center; gap: 40px; height: 124px; transition: height .25s; }
.header.scrolled .head-row { height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 52px; width: auto; transition: height .25s; }
.header.scrolled .logo img { height: 40px; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { font-weight: 800; font-size: 28px; color: var(--primary); letter-spacing: -.02em; }
.hsearch { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 7px 0 24px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); transition: .2s; }
.hsearch:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hsearch > svg { color: var(--muted); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 15px; }
.hsearch input::placeholder { color: #9A9D91; }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch .go { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 45; display: none; padding: 8px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: min(70vh, 520px); overflow: auto; }
.hsearch.is-open .suggest { display: block; }
.suggest h5 { margin: 6px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sg { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius); }
.sg:hover, .sg.is-active { background: var(--surface-2); }
.sg img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.sg > span:not(.p) { flex: 1; min-width: 0; }
.sg b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.3; }
.sg small { color: var(--muted); font-size: 12px; }
.sg .p { font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.sg .p .price { font-size: 13.5px; }
.sg .p .price-old, .sg .p .price-discount { display: none; }
.sg-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; color: var(--primary); }
.sg-all.is-active, .sg-all:hover { background: var(--primary-soft); }
.sg-none { padding: 14px 10px; font-size: 13.5px; color: var(--muted); }
.sg-none p { margin: 0 0 8px; }
.sg-none a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.head-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.acct { display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px 0 16px; border-radius: 18px; background: var(--surface-2); transition: background .2s, box-shadow .2s; }
.acct:hover { background: var(--primary-soft); }
.acct .ico-box { position: relative; display: grid; place-items: center; width: 36px; height: 36px; }
.acct b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.acct small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.acct .count { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11.5px; font-weight: 800; }
.acct .count[hidden] { display: none; }
.acct.cart { background: var(--primary); color: var(--primary-ink); }
.acct.cart small { color: color-mix(in srgb, var(--primary-ink) 72%, transparent); }
.acct.cart:hover { box-shadow: 0 12px 26px -12px var(--primary); }

/* ---------- Menu row ---------- */
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; border-top: 1px solid var(--line); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.nav-link { position: relative; }
.nav-link > a, a.nav-link { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; color: var(--ink); transition: background .2s, color .2s; }
.nav-link + .nav-link::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: var(--line); }
.nav-link > a:hover, a.nav-link:hover, a.nav-link.on, .nav-link.on > a { background: var(--surface-2); color: var(--primary); }
.nav-link.on::before, .nav-link.on + .nav-link::before, .nav-link:hover::before, .nav-link:hover + .nav-link::before { opacity: 0; }
.cats-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; margin-right: 14px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 800; font-size: 15.5px; transition: box-shadow .2s; }
.cats-btn:hover, .mega.is-open .cats-btn { box-shadow: 0 10px 24px -12px var(--primary); }
.nav-help { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.nav-help svg { color: #17733F; }
.nav-help b { color: var(--ink); }
.nav-help:hover b { text-decoration: underline; }
/* Mega menu ("all categories") */
.mega { position: relative; }
.mega-panel { position: absolute; left: 0; top: calc(100% + 12px); width: min(1100px, calc(100vw - 2 * var(--gutter))); z-index: 45; display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.is-open .mega-panel { display: grid; }
.mega-col { display: flex; flex-direction: column; gap: 7px; }
.mega-col a { font-size: 14px; color: var(--muted); }
.mega-col a:hover { color: var(--primary); }
.mega-col .mega-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-weight: 800; font-size: 15px; color: var(--ink); }
.mega-col .mega-head-pic { flex-direction: column; align-items: stretch; }
.mega-thumb { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Header menu sub-links */
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 6px; }
.sub-toggle { display: grid; place-items: center; padding: 4px 10px 4px 0; color: var(--muted); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 45; display: none; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { display: block; }
.sub-menu a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; }
.sub-menu a:hover { background: var(--primary-soft); color: var(--primary); }

/* ---------- Page ---------- */
.site-main { padding: 20px 0 36px; min-height: 50vh; }

/* ---------- Hero (home slider): full width under the menu ---------- */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; height: clamp(520px, calc(100svh - 250px), 820px); margin: -20px 0 40px; background: #DCDDD3; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide a, .hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); transition: transform 7s linear; }
.hero-slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 97%, transparent) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 34%, color-mix(in srgb, var(--bg) 35%, transparent) 56%, transparent 72%); }
.hero.no-copy::after { display: none; }
.hero-copy { position: relative; z-index: 2; display: grid; max-width: calc(560px + var(--gutter)); padding: 56px 0 72px var(--gutter); }
.hero-text { grid-area: 1 / 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); box-shadow: var(--shadow); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h2 { margin: 0 0 18px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-transform: uppercase; }
.hero p { max-width: 380px; margin: 0 0 30px; color: var(--muted); font-size: 15.5px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 2; left: var(--gutter); bottom: 32px; display: flex; gap: 6px; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 20%, transparent); transition: width .3s, background .3s; }
.hero-dots button.on { width: 28px; background: var(--ink); }

/* ---------- Section heads ---------- */
.sec { margin: 0 0 44px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2, .sec > h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sec > h2 { margin-bottom: 18px; }
.sec-head .tools { display: flex; align-items: center; gap: 8px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.see-all:hover { color: var(--ink); }

/* ---------- Product card ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.rail::-webkit-scrollbar { display: none; }
.grid4, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; scroll-snap-align: start; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 10px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-media img.is-placeholder { object-fit: contain; padding: 18%; }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--accent); color: var(--ink); }
.badge.sale { background: var(--sale); color: var(--sale-ink); }
.badge.sale.right { left: auto; right: 10px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 6px 4px; }
.card-title { font-size: 13.5px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-sub { font-size: 12px; color: var(--muted); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; padding-right: 44px; }
.card-foot .price-block { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 0; }
.card-foot .price-discount { display: none; }
.price { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
/* VAT note right after the price ("2.900,00 TL + KDV"), same weight (user decision 2026-11-01) */
.price-main { white-space: nowrap; }
.price-vat { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.pd-price .price-vat { font-size: 20px; }
.sg .p .price-vat, .mbar .price-vat { font-size: 12px; }
.old, .price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; font-weight: 600; }
.add { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); transition: .2s; }
.card:hover .add { background: var(--primary); color: var(--primary-ink); }
.card-form { margin: 0; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ok); margin-top: 8px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock-outofstock { color: var(--color-bad); }
.stock-discontinued { color: var(--muted); }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { position: relative; display: block; min-height: 210px; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 38%, transparent 70%); }
.tile .tile-icon { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.tile-copy { position: relative; z-index: 1; max-width: 260px; padding: 28px; }
.tile h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.tile p { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.tile .more { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.tile .count { position: absolute; z-index: 1; right: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: 12px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding: 40px 0 28px; }
.footer p { color: var(--muted); font-size: 13px; max-width: 260px; }
.footer .logo img { height: 40px; }
.footer h4 { margin: 4px 0 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); }
.footer ul a:hover { color: var(--ink); }
.footer .contact li { display: flex; gap: 10px; align-items: center; }
.footer .contact svg { color: var(--primary); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ================= Product page ================= */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 20px; padding: 0; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }
.pd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { position: sticky; top: 210px; display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.gallery.single { grid-template-columns: 1fr; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumb { aspect-ratio: 1 / 1; padding: 0; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); opacity: .7; transition: .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.on { border-color: var(--primary); opacity: 1; }
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.stage > a { display: block; width: 100%; height: 100%; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage .badge { left: 18px; top: 18px; font-size: 11px; padding: 6px 12px; }
.stage .badge.sale.right { left: auto; right: 18px; }
.stage-nav { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 2; pointer-events: none; }
.stage-nav > * { pointer-events: auto; }
.stage-count { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: 12px; font-weight: 700; }
.stage-arrows { display: flex; gap: 8px; }
.stage-arrows button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.stage-arrows .prev svg { transform: rotate(180deg); }
.hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(30, 32, 24, .66); color: #FFFFFF; font-size: 11.5px; font-weight: 600; z-index: 2; opacity: 0; transition: opacity .3s; pointer-events: none; }
.stage:hover .hint { opacity: 1; }
.pd-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pd-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.brand-tag i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-soft); font-style: normal; font-size: 10px; font-weight: 800; color: var(--primary); }
.pd h1 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; overflow-wrap: anywhere; }
.pd-short { margin: 0; color: var(--muted); }
.codes { display: flex; flex-wrap: wrap; gap: 8px; }
.code { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 12px; color: var(--muted); font-weight: 600; }
.code b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.code button { display: grid; place-items: center; color: var(--muted); }
.code button:hover { color: var(--ink); }
.code button.is-copied { color: var(--ok); }
.buybox { padding: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; }
.pd-price .price-block { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price .price { font-size: 34px; letter-spacing: -.035em; }
.pd-price .price-old { font-size: 15px; }
.pd-price .price-discount { padding: 4px 10px; border-radius: 999px; background: var(--sale); color: var(--sale-ink); font-size: 12px; font-weight: 800; }
.pd-price .price-on-request { font-size: 18px; font-weight: 700; color: var(--primary); }
.vat { font-size: 12px; color: var(--muted); margin-top: -12px; }
.stock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); font-size: 13px; font-weight: 600; }
.stock-row .stock { margin: 0; font-size: 13px; }
.buy-row { display: flex; gap: 10px; margin: 0; }
.qty { display: flex; align-items: center; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.qty button { display: grid; place-items: center; width: 44px; height: 100%; font-size: 20px; font-weight: 600; }
.qty input { width: 36px; border: 0; background: none; text-align: center; font-weight: 800; outline: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row .btn { height: 52px; flex: 1; }
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.alt-row .btn { height: 46px; }
.alt-row .btn:only-child { grid-column: 1 / -1; }
.ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ship div { padding: 14px; border-radius: var(--radius); background: var(--surface-2); font-size: 12px; color: var(--muted); }
.ship svg { color: var(--primary); margin-bottom: 8px; }
.ship b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.pd-hint { margin: 0; font-size: 12.5px; color: var(--muted); }
/* "Does it fit?" */
.fit { padding: 18px 20px; border-radius: var(--radius-xl); background: var(--primary-soft); }
.fit h3 { margin: 0 0 4px; font-size: 15px; }
.fit p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.fit form { display: flex; gap: 8px; }
.fit input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; background: var(--surface); outline: 0; font-size: 14px; }
.fit input:focus { border-color: var(--primary); }
.fit .btn { height: 46px; }
.fit-out { margin: 10px 0 0; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.fit-out.ok { color: var(--ok); }
.fit-out.no { color: var(--warn); }
.fit-out.no a { text-decoration: underline; }
/* Tabs */
.tabs { margin-top: 48px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tab-list { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list button { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tab-list button[aria-selected="true"] { background: var(--primary); color: var(--primary-ink); }
.tab-list button:not([aria-selected="true"]):hover { background: var(--surface-2); color: var(--ink); }
.tab-list .n { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); font-size: 11px; color: var(--muted); }
.tab-list button[aria-selected="true"] .n { background: rgba(255, 255, 255, .2); color: inherit; }
.panel { padding: 28px 32px 32px; }
.panel + .panel { border-top: 1px solid var(--line); }
.panel > h2 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; }
.models-tools { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.models-tools input { flex: 1; min-width: 200px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); outline: 0; background: var(--surface); }
.models-tools input:focus { border-color: var(--primary); }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.model { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; }
.model b { font-family: var(--mono); font-weight: 500; }
.model small { color: var(--muted); font-weight: 600; }
.empty { padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.models-note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.models-note a { color: var(--primary); font-weight: 700; }
.policy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.policy div { padding: 20px; border-radius: var(--radius-lg); background: var(--surface-2); }
.policy svg { color: var(--primary); margin-bottom: 10px; }
.policy h4 { margin: 0 0 6px; font-size: 15px; }
.policy p { margin: 0; font-size: 13.5px; color: var(--muted); }
.policy a { color: var(--primary); font-weight: 700; }
/* Phones: price + "add to cart" fixed at the bottom */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mbar .price { font-size: 18px; }
.mbar .price-old, .mbar .price-discount { display: none; }
.mbar .btn { margin-left: auto; height: 44px; }
/* Product image lightbox arrows */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; }
.slider-prev svg { transform: rotate(180deg); }

/* ---------- Responsive (mock-up) ---------- */
@media (max-width: 1380px) { .nav-help { display: none; } }
@media (max-width: 1100px) {
    :root { --gutter: 24px; }
    .topbar .links, .topbar .note { display: none; }
    .head-row { height: 96px; gap: 14px; }
    .nav-link > a, a.nav-link, .cats-btn { font-size: 14.5px; padding: 0 14px; }
    .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
    .grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer { grid-template-columns: 1fr 1fr 1fr; }
    .footer > div:first-child { grid-column: 1 / -1; }
    .pd { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .models { grid-template-columns: repeat(3, 1fr); }
    .mega-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    :root { --gutter: 16px; }
    .topbar { height: 40px; justify-content: center; }
    .topbar .contact { gap: 20px; }
    .topbar .end .links { display: none; }
    .head-row, .header.scrolled .head-row { grid-template-columns: 1fr auto; height: auto; padding: 12px 0; row-gap: 10px; }
    .hsearch { grid-column: 1 / -1; order: 5; height: 50px; }
    .hsearch .go { width: 40px; height: 40px; }
    .logo img, .header.scrolled .logo img { height: 32px; }
    .acct .txt { display: none; }
    .acct { height: 46px; padding: 0 10px; border-radius: 14px; }
    /* Menu row: one line that scrolls sideways; sub-menus open fixed under it */
    .nav-row { min-height: 56px; }
    .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .nav::-webkit-scrollbar { display: none; }
    .nav-link + .nav-link::before { display: none; }
    .cats-btn span { display: none; }
    .cats-btn { padding: 0 12px; margin-right: 6px; }
    .sub-menu { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; }
    .mega { position: static; }
    .mega-panel { position: fixed; left: 16px; right: 16px; top: auto; width: auto; grid-template-columns: 1fr; max-height: 70vh; overflow: auto; }
    .site-main { padding-top: 12px; }
    .hero { margin-top: -12px; height: auto; min-height: 520px; align-items: flex-start; }
    .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 96%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 48%, color-mix(in srgb, var(--bg) 10%, transparent) 78%); }
    .hero-copy { padding: 30px 20px 80px; }
    .hero-dots { left: 20px; bottom: 30px; }
    .rail { grid-auto-columns: 72%; }
    .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .tiles { grid-template-columns: 1fr; }
    .tile { min-height: 180px; }
    .footer { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .thumb { width: 68px; flex: none; }
    .stage { border-radius: 22px; }
    .ship { grid-template-columns: 1fr; }
    .alt-row { grid-template-columns: 1fr; }
    .panel { padding: 20px 16px; }
    .models { grid-template-columns: 1fr 1fr; }
    .policy { grid-template-columns: 1fr; }
    .mbar { display: flex; }
    .product-page:has(.mbar) { padding-bottom: 88px; }
}

/* ======================================================================================================
   Pages the mock-up does not have: same look (prices, pager, forms, listing filters, cart, checkout …)
   ====================================================================================================== */
/* Price & stock */
.price-block { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price-discount { padding: 1px 8px; border-radius: 999px; background: var(--color-sale); color: var(--color-sale-ink); font-weight: 800; font-size: 11.5px; }
.price-on-request { font-weight: 700; color: var(--color-primary); font-size: 14px; }

/* Pagination */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 28px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border: 1px solid var(--color-line); background: var(--color-surface); border-radius: 999px; font-size: 14px; font-weight: 700; }
.pager a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pager [aria-current="page"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
.pager .pager-gap { border: 0; background: none; }

/* Alerts */
.alert { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; font-weight: 600; }
.alert-success { background: color-mix(in srgb, var(--color-ok) 10%, #FFFFFF); color: var(--color-ok); border: 1px solid color-mix(in srgb, var(--color-ok) 35%, #FFFFFF); }
.alert-error { background: color-mix(in srgb, var(--color-bad) 8%, #FFFFFF); color: var(--color-bad); border: 1px solid color-mix(in srgb, var(--color-bad) 30%, #FFFFFF); }

/* Error page */
.error-page { text-align: center; padding-block: 64px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.error-page .error-code { font-size: 96px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--color-primary); margin: 0; }
.error-page h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.error-page p { color: var(--color-muted); max-width: 52ch; margin: 0; }
.maintenance-page { padding-block: 96px; }
.error-search { width: min(620px, 100%); display: flex; align-items: center; gap: 10px; background: var(--color-surface); border: 1.5px solid var(--color-line); border-radius: 999px; padding: 6px 6px 6px 20px; min-height: 58px; margin-top: 8px; }
.error-search:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-soft); }
.error-search > svg { color: var(--color-muted); flex: none; }
.error-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 8px 0; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.maintenance-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); margin-top: 24px; }



/* Advanced search: a light card */
.home-search { position: relative; z-index: 2; margin-block: 8px 12px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); box-shadow: var(--shadow-1); padding: 24px 28px 20px; }
.home-search-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 14px; }
.home-search-head .section-title { margin: 0; }
.home-search-head p { margin: 0; color: var(--color-muted); font-size: 14px; font-weight: 600; }
.home-search-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 11.5px; font-weight: 800; color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; }
.field select, .field input { width: 100%; border: 1.5px solid var(--color-line); border-radius: var(--radius); padding: 11px 14px; background: var(--color-surface-2); min-width: 0; }
.field select:focus, .field input:focus { outline: none; border-color: var(--color-primary); background: #FFFFFF; box-shadow: 0 0 0 4px var(--color-primary-soft); }
.home-search-row .btn { height: 48px; }
.home-search-try { margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--color-muted); }

/* Category section, "icons" style: light cards */
.category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.category-tile { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 24px 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.category-tile-ic { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-primary); }
.category-tile-ic img { width: 64px; height: 64px; object-fit: contain; }
/* A category picture fills a larger circle (icons keep the small one). */
.category-tile-photo { width: 128px; height: 128px; overflow: hidden; }
.category-tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-tile:hover .category-tile-photo img { transform: scale(1.06); }
.category-tile b { font-size: 13.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.category-tile small { color: var(--color-muted); font-size: 12.5px; }


/* Brands */
.brand-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brand-tile { height: 84px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); display: grid; place-items: center; padding: 10px 14px; color: var(--color-muted); font-weight: 800; font-size: 16px; text-align: center; transition: border-color .2s, color .2s, box-shadow .2s; }
.brand-tile:hover { border-color: transparent; box-shadow: var(--shadow-2); color: var(--color-ink); }
.brand-tile img { max-height: 48px; width: auto; object-fit: contain; }

.rich-text { max-width: 75ch; }
.rich-text img { border-radius: var(--radius); }
.rich-text a { color: var(--color-primary); text-decoration: underline; }

/* "Why us": light cards (design 9 dropped the dark band: pages stay light) */
.home-why { padding-block: 24px; }
.home-why h2 { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.home-why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.home-why li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 16px 22px; text-align: center; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; transition: box-shadow .25s, border-color .25s; }
.home-why li:hover { box-shadow: var(--shadow-2); border-color: transparent; }
.home-why-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); }

/* Figures: light cards, numbers in the theme colour */
.home-stats { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.home-stats li { padding: 28px 20px 26px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--color-soft); border-radius: var(--radius-lg); }
.home-stats-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: var(--color-surface); color: var(--color-primary); }
.home-stats strong { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--color-primary); }
.home-stats span:last-child { color: var(--color-muted); font-size: 14px; font-weight: 600; }

/* Banners: rounded tiles; text on a light fade */
.home-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.home-banners-wide { grid-template-columns: minmax(0, 1fr); }
.home-banner { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; background: var(--color-primary-soft); }
.home-banner img { display: block; width: 100%; height: auto; transition: transform .7s; }
.home-banner:hover img { transform: scale(1.03); }
.home-banner-copy { position: absolute; inset: 0 auto 0 0; width: min(100%, 420px); padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; color: var(--color-ink); background: linear-gradient(90deg, color-mix(in srgb, var(--color-soft) 95%, transparent) 55%, transparent); }
.home-banner-text .home-banner-copy { position: static; width: auto; background: none; padding: 30px; }
.home-banner-copy b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.home-banner-copy > span:not(.btn) { color: var(--color-muted); font-size: 14px; }
.home-banner-copy .btn { margin-top: 6px; }

/* Call to action: a soft band in the theme colour, dark text */
.home-cta { border-radius: var(--radius-xl); padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--color-ink); background: linear-gradient(110deg, var(--color-primary-soft), color-mix(in srgb, var(--color-primary-soft) 40%, var(--color-surface))); }
.home-cta h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.home-cta p { margin: 0; color: var(--color-muted); max-width: 56ch; }
.home-cta-btn { background: var(--color-primary); color: var(--color-on-primary); border-radius: 999px; min-height: 50px; padding: 13px 24px; font-weight: 800; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: box-shadow .2s; }
.home-cta-btn:hover { box-shadow: 0 12px 26px -12px var(--color-primary); }


/* Listing pages: category, brand, search, all brands (design 9, T4) */
.listing-page { padding-bottom: 16px; }
.listing-head { display: flex; align-items: center; gap: 18px; margin: 4px 0 20px; }
.listing-head h1 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.listing-head-img { width: 76px; height: 76px; flex: none; object-fit: contain; border-radius: var(--radius-lg); background: var(--color-surface-2); padding: 8px; }
.listing-sub { margin: 6px 0 0; color: var(--color-muted); }
.listing-banner { margin-bottom: 20px; }
/* A strip, whatever the image's shape: capped like the home slider, never cropped. */
.listing-banner .home-banner img { max-height: 300px; object-fit: contain; }
.listing-intro { margin-bottom: 20px; color: var(--color-muted); }
.listing-seo { margin-top: 40px; padding: 28px 32px; border-radius: var(--radius-xl); background: var(--color-soft); max-width: none; }
.subcategories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.subcategories a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--color-surface); border: 1px solid var(--color-line); font-weight: 600; font-size: 14px; transition: background .2s, border-color .2s; }
.subcategories a:hover { background: var(--color-primary-soft); border-color: transparent; }
.subcategories svg { color: var(--color-primary); }

/* Filters on the left (a light card that stays in view under the sticky header), results on the right */
.catalog-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.catalog-filters { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 20px 22px; position: sticky; top: 170px; }
.catalog-filters summary { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; cursor: pointer; list-style: none; }
.catalog-filters summary::-webkit-details-marker { display: none; }
.catalog-filters summary svg { color: var(--color-primary); }
.catalog-filters fieldset { border: 0; border-top: 1px solid var(--color-line); padding: 16px 0 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow-y: auto; overflow-x: hidden; }
.catalog-filters legend { float: left; width: 100%; font-size: 11.5px; font-weight: 800; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-inline: -8px; border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; }
.check:hover { background: var(--color-surface-2); }
.check input { width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; }
.check small { margin-left: auto; min-width: 26px; padding: 1px 8px; border-radius: 999px; background: var(--color-surface-2); color: var(--color-muted); font-size: 11.5px; font-weight: 700; text-align: center; }
.catalog-clear { display: inline-flex; align-items: center; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--color-primary); }
.catalog-clear:hover { text-decoration: underline; }
.catalog-filters noscript .btn { margin-top: 16px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--color-soft); }
.catalog-count { margin: 0; color: var(--color-ink); font-weight: 700; font-size: 14px; }
.catalog-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-muted); }
.catalog-sort select { height: 42px; border: 1px solid var(--color-line); border-radius: 999px; padding: 0 36px 0 16px; background: var(--color-surface); color: var(--color-ink); font-weight: 600; }
.catalog-sort select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-soft); }
.catalog-empty { background: var(--color-soft); border-radius: var(--radius-xl); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.catalog-empty p { margin: 0; color: var(--color-muted); max-width: 56ch; }
.catalog.htmx-request { opacity: .6; transition: opacity .15s; }
@media (min-width: 1401px) { .catalog-results .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1400px) and (min-width: 1101px) { .catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-tiles-all { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.brand-tiles-all .brand-tile { height: auto; min-height: 110px; gap: 8px; }
.brand-tile small { font-size: 12px; font-weight: 600; color: var(--color-muted); }


/* Product image lightbox: the large image over a dimmed page; arrows stay visible on phones too */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 56px 64px; background: color-mix(in srgb, var(--color-ink) 88%, transparent); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; border-radius: var(--radius); background: #FFFFFF; }
.lightbox .slider-arrow { display: grid; }
.lightbox .slider-prev { left: 12px; }
.lightbox .slider-next { right: 12px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #FFFFFF; color: var(--color-ink); display: grid; place-items: center; cursor: pointer; }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-size: 14px; }
@media (max-width: 640px) { .lightbox { padding: 56px 8px; } }

/* Static pages */
.static-page h1 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.static-page-body { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 32px 36px; max-width: 820px; }
.static-page-body > :first-child { margin-top: 0; }
.static-page-body > :last-child { margin-bottom: 0; }
.static-page-body h2 { font-size: 20px; margin: 24px 0 8px; }
.static-page-body h3 { font-size: 17px; margin: 20px 0 6px; }

/* Inquiry form */
.inquiry-page h1 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.inquiry-form { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 32px 36px; max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.inquiry-form .alert { width: 100%; margin: 0; }
.inquiry-product { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--color-primary-soft); }
.inquiry-product img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius); background: #FFFFFF; flex: none; }
.inquiry-product div { display: flex; flex-direction: column; min-width: 0; }
.inquiry-product small { font-size: 11.5px; font-weight: 800; color: var(--color-muted); text-transform: uppercase; letter-spacing: .05em; }
.inquiry-product b { overflow-wrap: anywhere; }
.inquiry-product .mono { font-size: 13px; color: var(--color-muted); }
.inquiry-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.field textarea { width: 100%; border: 1.5px solid var(--color-line); border-radius: var(--radius); padding: 11px 12px; background: var(--color-surface-2); resize: vertical; min-height: 120px; }
.field textarea:focus { outline: none; border-color: var(--color-primary); background: #FFFFFF; box-shadow: 0 0 0 4px var(--color-primary-soft); }
.field input[type="file"] { padding: 9px 12px; }
.field .is-invalid { border-color: var(--color-bad); }
.field-error { color: var(--color-bad); font-size: 13px; font-weight: 600; }
.field-hint { color: var(--color-muted); font-size: 12.5px; }

/* Cart (stage 11c): right side drawer, cart page (the header cart box is with the header) */
html.cart-lock { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 900; }
.cart-drawer[hidden] { display: none; }
.cart-drawer-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 45%, transparent); opacity: 0; transition: opacity .25s; }
.cart-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--color-surface); box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; outline: 0; }
.cart-drawer.is-open .cart-drawer-backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer-panel { transform: none; }
.cart-drawer-body { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.cart-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 28px 28px 20px; border-bottom: 1px solid var(--color-line); }
.cart-drawer-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.cart-drawer-count { margin: 4px 0 0; color: var(--color-muted); font-size: 15px; }
.cart-drawer-close { width: 40px; height: 40px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: none; color: var(--color-ink); display: grid; place-items: center; cursor: pointer; }
.cart-drawer-close:hover { background: var(--color-surface-2); }
.cart-drawer-lines { flex: 1; overflow-y: auto; padding: 16px 28px; display: grid; align-content: start; gap: 12px; }
.cart-drawer-foot { display: grid; gap: 14px; padding: 20px 28px 28px; border-top: 1px solid var(--color-line); }
.cart-message { padding: 12px 16px; border-radius: var(--radius); font-size: 15px; }
.cart-message.is-ok { background: var(--color-primary-soft); color: var(--color-ink); }
.cart-message.is-error { background: color-mix(in srgb, var(--color-bad) 9%, #FFFFFF); color: var(--color-bad); font-weight: 600; }
.cart-empty { color: var(--color-muted); padding: 24px 0; }
.cart-item { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); }
.cart-item-img img { width: 80px; height: 80px; object-fit: contain; border-radius: var(--radius); background: var(--color-surface-2); }
.cart-item.is-unavailable .cart-item-img img { opacity: .5; }
.cart-item-body { display: grid; gap: 2px; min-width: 0; padding-right: 28px; }
.cart-item-name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.cart-item-name:hover { color: var(--color-primary); }
.cart-item-sku { font-size: 13px; color: var(--color-muted); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; margin-right: -28px; }
.cart-item-price { display: grid; }
.cart-item-price b { font-size: 17px; }
.cart-item-price small { color: var(--color-muted); font-size: 12px; }
.cart-item-remove { position: absolute; top: 12px; right: 12px; margin: 0; }
.cart-item-remove button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--color-muted); display: grid; place-items: center; cursor: pointer; }
.cart-item-remove button:hover { color: var(--color-bad); background: var(--color-surface-2); }
.cart-totals { margin: 0; display: grid; gap: 10px; }
.cart-totals div { display: flex; justify-content: space-between; gap: 12px; }
.cart-totals dt { color: var(--color-muted); }
.cart-totals dd { margin: 0; text-align: right; }
.cart-totals .cart-totals-sum { padding-top: 12px; border-top: 1px solid var(--color-line); font-size: 19px; font-weight: 800; }
.cart-totals .cart-totals-sum dt { color: var(--color-ink); }
.cart-drawer-foot .btn { border-radius: var(--radius); }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-img img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--color-line); border-radius: var(--radius); background: #FFFFFF; }
.cart-line-body { display: grid; gap: 2px; min-width: 0; }
.cart-line-name { font-weight: 700; line-height: 1.3; }
.cart-line-name:hover { color: var(--color-primary); }
.cart-line-sku { font-size: 12px; color: var(--color-muted); }
.cart-line-note { font-size: 13px; color: var(--color-warn); font-weight: 600; }
.cart-line-note.is-error { color: var(--color-bad); }
.cart-line.is-unavailable .cart-line-img img { opacity: .5; }
.cart-line-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-line-total { margin-left: auto; font-weight: 800; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--color-line); border-radius: 999px; }
.cart-qty form { display: contents; }
.cart-qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--color-primary); }
.cart-qty button:disabled { color: var(--color-line); cursor: default; }
.cart-qty .num { min-width: 28px; text-align: center; font-weight: 700; }
.cart-line-remove { border: 0; background: none; color: var(--color-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px; }
.cart-line-remove:hover { color: var(--color-bad); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.cart-subtotal b { font-size: 20px; }
.cart-note { color: var(--color-muted); font-size: 12px; }
.cart-page { padding-block: 24px 48px; }
.cart-page h1 { margin-bottom: 20px; }
.cart-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.cart-page-lines { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 4px 20px; }
.cart-line-lg { grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; }
.cart-line-lg .cart-line-img img { width: 96px; height: 96px; }
.cart-line-price { display: flex; gap: 8px; align-items: baseline; }
.cart-line-price s { color: var(--color-muted); font-size: 13px; }
/* Prices without VAT (user decision 2026-11-01): "+ KDV %20" by line prices, VAT rows in the totals. */
.cart-line-vat { color: var(--color-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.cart-item-price .cart-line-vat, .checkout-line-price .cart-line-vat { display: block; }
.checkout-line-price { text-align: right; }
.cart-subtotal.cart-vat-row { font-size: 14px; color: var(--color-muted); }
.cart-subtotal.cart-vat-row b { font-size: 15px; }
.cart-subtotal.cart-vat-total b { font-size: 20px; }
.cart-line-actions { display: grid; justify-items: end; gap: 8px; }
.cart-qty-form { display: flex; gap: 8px; align-items: center; }
.cart-qty-form input, .cart-add-confirm input { width: 76px; padding: 8px 10px; border: 1px solid var(--color-line); border-radius: var(--radius); text-align: center; }
.cart-summary { position: sticky; top: 170px; display: grid; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-1); }
.cart-add-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 20px; }
.cart-add-confirm p { flex-basis: 100%; margin: 0; font-weight: 700; }

/* Checkout and order page (stage 11d) */
.checkout-page, .order-page { padding-block: 24px 56px; }
.checkout-page h1, .order-page h1, .cart-page h1 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.checkout-grid, .order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout-main, .order-main { display: grid; gap: 20px; min-width: 0; }
.checkout-main > .alert { margin: 0; }
.checkout-step, .order-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 22px 24px; display: grid; gap: 16px; }
.checkout-step h2, .order-card h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.checkout-step h2 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary); color: #FFFFFF; display: grid; place-items: center; font-size: 14px; }
.checkout-step h3, .order-card h3 { font-size: 15px; font-weight: 800; }
.checkout-billing { display: grid; gap: 12px; padding-top: 4px; }
.checkout-billing[hidden] { display: none; }
.checkout-check, .checkout-accept { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checkout-check input, .checkout-accept input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; }
.checkout-accept { font-size: 14px; }
.checkout-accept a { color: var(--color-primary); font-weight: 700; text-decoration: underline; }
.checkout-accept.is-invalid span { color: var(--color-bad); }
.checkout-options { display: grid; gap: 10px; }
.checkout-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--color-line); border-radius: var(--radius); cursor: pointer; background: var(--color-surface); }
.checkout-option:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-soft); }
.checkout-option input { width: 18px; height: 18px; accent-color: var(--color-primary); flex: none; }
.checkout-option-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.checkout-option-text small { color: var(--color-muted); font-size: 13px; }
.checkout-option-price { font-weight: 800; white-space: nowrap; }
.checkout-note textarea { min-height: 80px; }
.checkout-summary { position: sticky; top: 170px; display: grid; gap: 14px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 22px 24px; box-shadow: var(--shadow-1); }
.checkout-summary h2 { font-size: 18px; font-weight: 800; }
.checkout-summary .btn { border-radius: var(--radius); }
.checkout-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checkout-lines li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.checkout-lines img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius); background: var(--color-surface-2); }
.checkout-line-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.checkout-line-name small { color: var(--color-muted); font-weight: 600; }
.order-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.order-head h1 { margin: 0 0 4px; }
.order-head p { margin: 0; color: var(--color-muted); }
.order-head-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; flex: none; }
.order-side { display: grid; gap: 20px; }
.order-transfer { border-color: var(--color-primary); background: var(--color-primary-soft); }
.order-transfer p { margin: 0; }
.order-due { font-weight: 700; color: var(--color-warn); }
.order-transfer-ref, .order-facts { margin: 0; display: grid; gap: 8px; }
.order-transfer-ref div, .order-facts div { display: flex; justify-content: space-between; gap: 12px; }
.order-transfer-ref dt, .order-facts dt { color: var(--color-muted); }
.order-transfer-ref dd, .order-facts dd { margin: 0; font-weight: 700; text-align: right; }
.order-bank { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius); background: var(--color-surface); }
.order-iban { font-size: 15px; font-weight: 700; letter-spacing: .02em; user-select: all; overflow-wrap: anywhere; }
.order-card address { font-style: normal; line-height: 1.6; }
.order-lookup-intro { margin: 0; color: var(--color-muted); }
.notify-form { display: grid; gap: 16px; width: 100%; }

/* Customer account pages (stage 12b): the inquiry form card, narrower */
.account-form { max-width: 620px; }
/* Sign-in, sign-up, forgot / new password: title and card in the middle of the page */
.account-auth h1 { text-align: center; }
.account-auth .account-form { margin-inline: auto; width: 100%; }
/* Password box with the show / hide button on its right */
.pw-field { position: relative; display: block; }
.field .pw-field input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-muted); cursor: pointer; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--color-primary); background: var(--color-primary-soft); outline: none; }
.pw-toggle[hidden], .pw-toggle [hidden] { display: none; }

/* Checkout and accounts (stage 12d): sign-in box for guests, saved addresses for members */
.checkout-member { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 18px; border-radius: var(--radius-xl); background: var(--color-primary-soft); }
.checkout-member p { margin: 0; flex: 1 1 260px; }
.checkout-member-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--color-surface); color: var(--color-primary); flex: none; }
.checkout-saved { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.checkout-saved-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); }
.checkout-saved-item b { display: block; font-size: 14px; }
.checkout-saved-item small { display: block; color: var(--color-muted); font-size: 12.5px; }
.checkout-saved-item .ico { color: var(--color-muted); flex: none; }
.checkout-saved-item:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-line)); }
.checkout-saved-item.on { border-color: var(--color-primary); background: var(--color-primary-soft); }
.checkout-saved-item.on .ico { color: var(--color-primary); }
.order-account { border-color: color-mix(in srgb, var(--color-primary) 40%, var(--color-line)); }
.order-account p { margin: 0 0 14px; color: var(--color-muted); }
.order-account-form { display: grid; gap: 14px; }
.order-account-form .alert { margin: 0; }

/* "My account" (stage 12c): menu card on the left, pages on the right; on phones the menu is a chip row */
.account-shell { padding-bottom: 48px; }
.account-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h, 140px) + 16px); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 12px; }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-radius: var(--radius); background: transparent; color: inherit; font: inherit; font-weight: 700; font-size: 14.5px; text-align: left; cursor: pointer; white-space: nowrap; }
.account-nav .ico { color: var(--color-muted); flex: none; }
.account-nav a:hover, .account-nav button:hover { background: var(--color-surface-2); }
.account-nav a.on { background: var(--color-primary-soft); color: var(--color-primary); }
.account-nav a.on .ico { color: var(--color-primary); }
.account-nav a.danger, .account-nav a.danger .ico { color: var(--color-bad); }
.account-nav li:last-child { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--color-line); }
.account-main { display: grid; gap: 20px; min-width: 0; }
.account-main h1 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.account-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: 24px 28px; min-width: 0; }
.account-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.account-card-head h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--color-muted); margin: 0; }
.account-cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-empty { margin: 0; color: var(--color-muted); }
.account-form-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.account-form-card .alert { width: 100%; margin: 0; }
.account-narrow { max-width: 460px; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account-address-text { font-style: normal; display: grid; gap: 2px; line-height: 1.55; overflow-wrap: anywhere; }
.account-address-title { font-size: 15px; }
.account-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.account-address { display: flex; flex-direction: column; gap: 16px; }
.account-address.is-default { border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-line)); }
.account-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary); font-size: 12px; font-weight: 800; }
.account-address-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.account-address-actions form { margin: 0; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.account-danger { color: var(--color-bad); }
.account-orders { display: grid; }
.account-orders-head, .account-order { display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr .9fr 28px; gap: 12px; align-items: center; padding: 12px 6px; }
.account-orders-head { padding-top: 0; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); border-bottom: 1px solid var(--color-line); }
.account-order { border-bottom: 1px solid var(--color-line); border-radius: var(--radius-sm); }
.account-order:last-child { border-bottom: 0; }
.account-order:hover { background: var(--color-surface-2); }
.account-order-no { font-weight: 800; }
.account-order-date { color: var(--color-muted); font-size: 14px; }
.account-order-status { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--color-surface-2); font-size: 12.5px; font-weight: 800; }
.account-order-status.status-delivered { background: color-mix(in srgb, var(--color-ok) 12%, #FFFFFF); color: var(--color-ok); }
.account-order-status.status-cancelled { background: color-mix(in srgb, var(--color-bad) 10%, #FFFFFF); color: var(--color-bad); }
.account-order-total { font-weight: 800; text-align: right; }
.account-order-go { color: var(--color-muted); display: grid; place-items: center; }
.account-orders-hint { margin: 16px 0 0; }
.account-consent-date { margin: -10px 0 0; }
.account-delete-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.account-delete-button { background: var(--color-bad); color: #FFFFFF; }
.account-delete-button:hover { background: color-mix(in srgb, var(--color-bad) 85%, #000000); }
@media (max-width: 860px) {
    .account-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .account-nav { position: static; padding: 6px; overflow-x: auto; scrollbar-width: none; }
    .account-nav ul { display: flex; gap: 4px; }
    .account-nav li:last-child { margin: 0; padding: 0 0 0 4px; border: 0; border-left: 1px solid var(--color-line); }
    .account-nav a, .account-nav button { padding: 9px 12px; font-size: 13.5px; }
    .account-cards-2, .account-address-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .account-card { padding: 18px 16px; }
    .account-orders-head { display: none; }
    .account-order { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "no total" "date status"; row-gap: 4px; padding: 12px 4px; }
    .account-order-no { grid-area: no; }
    .account-order-total { grid-area: total; }
    .account-order-date { grid-area: date; }
    .account-order-status { grid-area: status; justify-self: end; }
    .account-order-go { display: none; }
    .account-form-card > .btn { width: 100%; }
}
.account-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-link, .account-switch a, .account-privacy a { color: var(--color-primary); font-weight: 700; }
.account-link:hover, .account-switch a:hover, .account-privacy a:hover { text-decoration: underline; }
.account-switch { margin: 0; color: var(--color-muted); }
.account-privacy { margin: 0; }
.account-consent { margin-block: -6px; }
.account-unconfirmed { display: grid; gap: 12px; font-weight: 600; }
.account-unconfirmed p { margin: 0; }
.account-email { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; overflow-wrap: anywhere; }
.account-email .ico { color: var(--color-muted); flex: none; }


/* Responsive (second part) */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .catalog-layout { grid-template-columns: minmax(0, 1fr); }
    .catalog-filters { position: static; }
    .checkout-grid, .order-grid, .cart-page-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-summary, .cart-summary { position: static; }
    .home-search-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .hide-sm { display: none; }
    .listing-banner .home-banner img { max-height: 200px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .home-search { padding: 18px 16px; }
    .home-search-row { grid-template-columns: minmax(0, 1fr); }
    .category-tiles, .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-tile-ic { width: 80px; height: 80px; }
    .category-tile-photo { width: 104px; height: 104px; }
    .home-why ul, .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .home-stats strong { font-size: 30px; }
    .home-banner-copy { width: 100%; padding: 20px; }
    .home-cta { padding: 26px 22px; }
    .home-cta h2 { font-size: 22px; }
    .static-page-body { padding: 18px 16px; }
    .inquiry-form { padding: 18px 16px; }
    .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
    .inquiry-form > .btn { width: 100%; }
    .checkout-step, .order-card, .checkout-summary { padding: 18px 16px; }
    .cart-drawer-head { padding: 20px 18px 16px; }
    .cart-drawer-lines { padding: 14px 18px; }
    .cart-drawer-foot { padding: 16px 18px 20px; }
    .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .cart-item-img img { width: 64px; height: 64px; }
    .cart-line-lg { grid-template-columns: 72px minmax(0, 1fr); }
    .cart-line-lg .cart-line-img img { width: 72px; height: 72px; }
    .cart-line-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; justify-items: start; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}
