/* =========================================================
   EURO STANDARD — Premium static site
   Dizajn: AXON nacrt (tamna atmosfera, staklene kartice, gigantska tipografija)
   Boje: belo / srebro iz logoa + hladni čelik
   Mobile first
   ========================================================= */

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../assets/fonts/inter-tight-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../assets/fonts/inter-tight-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Page-level tokens (not re-declared inside photo "islands") */
:root {
  color-scheme: dark;
  --page-bg: #05090f;
  --scrim: rgba(2, 6, 12, .6);
  --scrim2: rgba(2, 6, 12, .72);
}

/* Theme tokens — dark (default). Photo sections (.hero, .phero, .cta …) re-declare
   them so white-on-photo text survives in the light theme. */
:root, .hero, .phero, .cta, .mega-feat, .ss, .person .ph, .photo-top:not(.menu-open) .hdr:not(.scrolled) {
  --hi: #ffffff;
  --on-pill: #0a1424;
  --pill-ring: rgba(230, 236, 255, .42);
  --pill-ring2: rgba(230, 236, 255, .7);
  --pill-sh: rgba(186, 204, 255, .55);
  --pill-sh2: rgba(186, 204, 255, .75);
  --chip-bg: rgba(8, 16, 28, .72);
  --field: rgba(6, 12, 20, .7);
  --field-f: rgba(10, 20, 34, .8);
  --surf: rgba(10, 18, 30, .58);
  --surf-h: rgba(20, 36, 60, .6);
  --surf-strong: rgba(6, 12, 20, .85);
  --tbl-head: rgba(14, 26, 44, .7);
  --card-bg: linear-gradient(180deg, rgba(16, 30, 50, .65), rgba(7, 12, 21, .92));
  --hov: rgba(200, 220, 250, .1);
  --hov2: rgba(190, 210, 245, .14);
  --panel-bg: linear-gradient(175deg, #0f1c2f, #070c15);
  --panel-solid: #0f1c2f;
  --panel-soft: linear-gradient(160deg, rgba(20, 36, 60, .5), rgba(6, 11, 19, .7));
  --stage-bg: radial-gradient(ellipse at 50% 45%, rgba(40, 72, 120, .45), rgba(6, 11, 19, .95) 72%);
  --hdr-bg: rgba(6, 11, 19, .72);
  --bar-bg: rgba(5, 9, 15, .82);
  --opt-bg: #0b1626;
  --mnav-bg: radial-gradient(ellipse at 80% 0%, #13253f 0%, #060b13 60%);
  --pl-bg: radial-gradient(ellipse at 50% 40%, #0f1d31 0%, #05090f 70%);
  --pt-bg: #070d17;
  --ftr-glow: #10213a;
  --marq-mid: rgba(14, 26, 44, .6);
  --stroke-txt: rgba(210, 225, 248, .6);
  --stroke-txt2: rgba(200, 216, 240, .35);
  --big-txt: rgba(225, 234, 247, .2);
  --grid-c: rgba(170, 196, 235, .05);
  --radio-on: #e6ecff;
  --bp-edge: rgba(235, 242, 252, .55);
  --bp-ln: rgba(225, 236, 250, .85);
  --bp-ghost: rgba(160, 190, 235, .22);
  --bp-hole: #0a121e;
  --bp-rim: rgba(230, 238, 250, .6);
  --bp-blade: #ffffff;
  --bp-dim: rgba(150, 185, 235, .55);
  --bp-dim-l: #9fbbe0;
  --bp-txt: #a9c2e6;
  --bp-corner: rgba(170, 196, 235, .35);
  --bp-bristle: rgba(210, 222, 240, .6);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  --bg: #05090f;
  --bg2: #08101b;
  --navy: #0c1828;
  --navy2: #112138;
  --steel: #1b2d48;
  --line: rgba(196, 214, 240, .11);
  --line2: rgba(196, 214, 240, .2);
  --line3: rgba(220, 232, 250, .34);
  --txt: #eef3f9;
  --txt2: #c6d0dd;
  --mut: #8b99ae;
  --mut2: #66748a;
  --ice: #bcd0ef;
  --ice2: #8fb0de;
  --glow: #3d6fbe;
  --lav: #ece6ff;
  --white: #ffffff;
  --silver: linear-gradient(180deg, #ffffff 0%, #dfe6ef 38%, #9aa7b8 72%, #5e6b7d 100%);
  --pill: linear-gradient(100deg, #f6f2ff 0%, #e4e8ff 48%, #d6e2fb 100%);
  --glass: linear-gradient(160deg, rgba(150, 178, 222, .14), rgba(40, 62, 100, .10) 60%, rgba(20, 34, 58, .18));
  --glass-b: rgba(210, 226, 250, .18);
  --r: 22px;
  --r-sm: 14px;
  --r-lg: 30px;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-disp: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --hdr-h: 68px;
  --pad: 20px;
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font-family: var(--f-body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-disp); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #cfe0fb; color: #07101c; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--mut); }

/* page noise + grid */
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bp-grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-c) 1px, transparent 1px), linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }

/* ---------------- BUTTONS ---------------- */
.btn-pill {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; background: var(--pill); color: var(--on-pill);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  box-shadow: 0 10px 40px -10px var(--pill-sh), inset 0 1px 0 #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn-pill::before { content: ''; position: absolute; inset: -7px; border-radius: inherit; border: 1px solid var(--pill-ring); background: rgba(255, 255, 255, .04); z-index: -1; transition: inset .5s var(--ease), border-color .5s; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px var(--pill-sh2), inset 0 1px 0 #fff; }
.btn-pill:hover::before { inset: -10px; border-color: var(--pill-ring2); }
.btn-pill .ar { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn-pill:hover .ar { transform: translate(2px, -2px) rotate(0deg); }
.btn-pill.sm { padding: 10px 18px; font-size: 14px; }
.btn-pill.sm::before { inset: -5px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(160, 190, 235, .06); color: var(--txt);
  font-weight: 500; font-size: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.btn-ghost:hover { background: var(--hov2); border-color: var(--line3); transform: translateY(-1px); }
.btn-ghost .ar { width: 13px; height: 13px; }
.btn-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; position: relative; padding-bottom: 3px; }
.btn-line::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.btn-line:hover::after { transform: scaleX(0); transform-origin: left; }
.btn-line .ar { width: 12px; height: 12px; transition: transform .4s var(--ease); }
.btn-line:hover .ar { transform: translate(2px, -2px); }

.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .3s; position: relative; }
.icon-btn:hover { background: var(--hov); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------------- GLASS ---------------- */
.glass {
  position: relative; background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 40%); }

/* ---------------- PRELOADER ---------------- */
#preloader { position: fixed; inset: 0; z-index: 1000; background: var(--pl-bg); display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
#preloader.done { opacity: 0; visibility: hidden; }
#preloader .pl-in { width: min(78vw, 520px); text-align: center; }
#preloader .pl-logo { position: relative; width: 100%; aspect-ratio: 2061 / 444; }
#preloader .pl-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#preloader .pl-logo .base { opacity: .12; }
#preloader .pl-logo .fill { clip-path: inset(0 100% 0 0); transition: clip-path .25s linear; filter: drop-shadow(0 0 24px rgba(190, 215, 255, .35)); }
#preloader .pl-bar { margin: 34px auto 0; height: 1px; background: var(--line2); position: relative; overflow: hidden; }
#preloader .pl-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, transparent, var(--hi)); }
#preloader .pl-meta { display: flex; justify-content: space-between; margin-top: 12px; }
#preloader .pl-cross { position: absolute; width: 22px; height: 22px; opacity: .4; }
#preloader .pl-cross::before, #preloader .pl-cross::after { content: ''; position: absolute; background: var(--ice); }
#preloader .pl-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
#preloader .pl-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
#preloader .c1 { top: 28px; left: 28px; } #preloader .c2 { top: 28px; right: 28px; } #preloader .c3 { bottom: 28px; left: 28px; } #preloader .c4 { bottom: 28px; right: 28px; }

/* ---------------- PAGE TRANSITION ---------------- */
.ptrans { position: fixed; inset: 0; z-index: 950; pointer-events: none; background: var(--pt-bg); transform: translateY(100%); display: grid; place-items: center; }
.ptrans img { width: 90px; opacity: 0; }
.ptrans.in { transition: transform .55s var(--ease-io); transform: translateY(0); }
.ptrans.in img { opacity: .9; transition: opacity .3s .25s; }

/* ---------------- CURSOR ---------------- */
.cursor { position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(220, 232, 252, .55); border-radius: 50%; pointer-events: none; z-index: 999; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; mix-blend-mode: difference; display: none; }
.cursor.hov { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .9); border-color: transparent; }
.cursor-dot { position: fixed; top: 0; left: 0; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; border-radius: 50%; pointer-events: none; z-index: 999; display: none; }
@media (pointer: fine) and (min-width: 1024px) { .cursor, .cursor-dot { display: block; } }

/* ---------------- HEADER ---------------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr-h); transition: background .5s, border-color .5s, transform .6s var(--ease); border-bottom: 1px solid transparent; }
.hdr.scrolled { background: var(--hdr-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; transition: opacity .3s; }
.brand:hover img { opacity: .85; }
.nav { display: none; }
.nav-r { display: flex; align-items: center; gap: 2px; }
.nav-r .sep { width: 1px; height: 18px; background: var(--line2); margin: 0 8px; display: none; }
.cart-btn .badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--pill); color: var(--on-pill); font-size: 10px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.cart-btn .badge.on { transform: scale(1); }
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25); } 100% { transform: scale(1); } }
.lang { position: relative; display: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; border-radius: 20px; }
.lang-btn:hover { background: var(--hov); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .35s var(--ease); }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; text-align: left; }
.lang-menu button:hover { background: var(--hov); }
.lang-menu button .ck { opacity: 0; color: var(--ice); }
.lang-menu button.on .ck { opacity: 1; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); margin-left: 6px; }
.burger span { position: relative; width: 18px; height: 1.5px; background: var(--txt); transition: .4s var(--ease); }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--txt); transition: .4s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--mnav-bg); padding: calc(var(--hdr-h) + 20px) var(--pad) 30px; display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 42px) 34px); transition: clip-path .9s var(--ease-io); overflow-y: auto; }
.menu-open .mnav { clip-path: circle(150% at calc(100% - 42px) 34px); }
.mnav ul li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mnav ul a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-family: var(--f-disp); font-size: clamp(28px, 8vw, 44px); font-weight: 500; letter-spacing: -.03em; transform: translateY(105%); transition: transform .8s var(--ease); }
.mnav ul a .n { font-family: var(--f-mono); font-size: 11px; color: var(--mut); letter-spacing: .1em; }
.menu-open .mnav ul a { transform: none; }
.mnav ul li:nth-child(2) a { transition-delay: .05s; } .mnav ul li:nth-child(3) a { transition-delay: .1s; } .mnav ul li:nth-child(4) a { transition-delay: .15s; } .mnav ul li:nth-child(5) a { transition-delay: .2s; } .mnav ul li:nth-child(6) a { transition-delay: .25s; } .mnav ul li:nth-child(7) a { transition-delay: .3s; } .mnav ul li:nth-child(8) a { transition-delay: .35s; }
.mnav ul a.active { color: var(--ice); }
.mnav-foot { margin-top: auto; padding-top: 30px; display: grid; gap: 14px; opacity: 0; transition: opacity .6s .4s; }
.menu-open .mnav-foot { opacity: 1; }
.mnav-foot a { color: var(--txt2); }
.mnav-lang { display: flex; gap: 8px; }
.mnav-lang button { padding: 8px 14px; border: 1px solid var(--line2); border-radius: 20px; font-size: 13px; }
.mnav-lang button.on { background: var(--pill); color: var(--on-pill); border-color: transparent; }

/* Mega menu (desktop) */
.has-mega { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 14px); width: 640px; transform: translate(-50%, -8px); opacity: 0; pointer-events: none; transition: .45s var(--ease); padding: 14px; border-radius: 22px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .3s; }
.mega-list a:hover { background: var(--hov); }
.mega-list .mi { width: 44px; height: 44px; border-radius: 12px; background: var(--chip-bg); border: 1px solid var(--line); flex-shrink: 0; padding: 2px; }
.mega-list strong { display: block; font-size: 14px; font-weight: 600; }
.mega-list small { display: block; font-size: 12px; color: var(--mut); line-height: 1.35; }
.mega-feat { border-radius: 16px; overflow: hidden; position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.mega-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); }
.mega-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, .1), rgba(6, 12, 22, .92)); }
.mega-feat > * { position: relative; z-index: 1; }
.mega-feat h4 { font-size: 20px; margin: 6px 0 12px; }
.mega-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- HERO (HOME) ---------------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding-top: calc(var(--hdr-h) + 18px); }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: -4%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.06) saturate(1) brightness(.9) contrast(1.05); transform: scale(1.12); }
.hero-slide.on { opacity: 1; }
.hero-slide.on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.2%, -1%, 0); } }
.hero-tint { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  /* targeted gradients only: top (navbar), left (title), bottom (fade into page) */
  background:
    linear-gradient(180deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .18) 16%, rgba(4, 9, 16, 0) 26%),
    linear-gradient(90deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .34) 34%, rgba(4, 9, 16, 0) 62%),
    linear-gradient(180deg, rgba(4, 9, 16, 0) 58%, rgba(4, 9, 16, .5) 78%, rgba(4, 9, 16, .82) 92%, var(--page-bg) 100%); }
.hero-tint::before { content: ''; position: absolute; inset: 0; background: #1c3e74; mix-blend-mode: color; opacity: .22; }
.hero-tint::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 45% at 52% 58%, rgba(120, 165, 235, .1), transparent 70%); mix-blend-mode: screen; }
.hero-mist { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-mist i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .28; background: radial-gradient(circle, rgba(170, 200, 245, .3), transparent 70%); }
.hero, .phero, .cta, .mega-feat, .ss, .person .ph, .photo-top:not(.menu-open) .hdr:not(.scrolled) { color: var(--txt); }
.hero-title, .phero h1, .cta h2 { filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .38)); }
.hero-sub, .hb-center h2, .hb-rate, .hb-right p, .phero-row p, .phero-meta, .crumbs, .cta p, .cta > .mono { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.hero-mist i:nth-child(1) { width: 60vw; height: 30vw; left: -10vw; top: 48%; animation: mist 22s ease-in-out infinite alternate; }
.hero-mist i:nth-child(2) { width: 50vw; height: 26vw; right: -12vw; top: 34%; animation: mist 26s ease-in-out infinite alternate-reverse; }
.hero-mist i:nth-child(3) { width: 44vw; height: 20vw; left: 30vw; top: 62%; opacity: .35; animation: mist 30s ease-in-out infinite alternate; }
@keyframes mist { to { transform: translate3d(8vw, -3vw, 0) scale(1.15); } }
#stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-main { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero-title { font-size: clamp(40px, 12.4vw, 172px); font-weight: 600; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; margin: 10px 0 0; }
.hero-title .l { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.hero-title .l > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero-title .l2 > span { padding-top: .14em; margin-top: -.14em; background: linear-gradient(180deg, #ffffff 0%, #eef2f8 34%, rgba(214, 224, 238, .84) 66%, rgba(186, 200, 222, .5) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-ready .hero-title .l > span { transform: none; }
.is-ready .hero-title .l2 > span { transition-delay: .12s; }
.hero-cta { margin-top: 28px; opacity: 0; transform: translateY(16px); transition: 1s var(--ease) .45s; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-left: 7px; }
.is-ready .hero-cta { opacity: 1; transform: none; }
.hero-sub { max-width: 380px; font-size: 14px; color: var(--txt2); margin: 18px 0 0; opacity: 0; transition: opacity 1s .6s; }
.is-ready .hero-sub { opacity: 1; }

.hcard { padding: 16px; border-radius: 20px; opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hcard { opacity: 1; transform: none; }
.hcard h3 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.hcard .hc-sub { font-size: 12px; color: var(--txt2); margin-top: 4px; }
.hcard-l { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; transition-delay: .7s; }
.hcard-l .hc-imgs { display: flex; gap: 8px; }
.hcard-l .hc-imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line2); filter: saturate(.8); }
.hcard-l .btn-line { font-size: 12px; color: var(--txt2); align-self: flex-start; }
.hcard-r { margin-top: 14px; transition-delay: .85s; }
.hcard-r .hc-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hc-play { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--on-pill); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: pulse 2.6s infinite; transition: transform .4s var(--ease); }
.hc-play:hover { transform: scale(1.08); }
.hc-play svg { width: 14px; height: 14px; margin-left: 2px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hc-visual { margin-top: 14px; position: relative; height: 150px; border-radius: 14px; overflow: hidden; }
.hc-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.85); }
.hc-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(80, 140, 255, .0), rgba(70, 130, 255, .45)); mix-blend-mode: screen; }
.hc-visual .scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #bfe0ff, transparent); box-shadow: 0 0 14px #8fc2ff; animation: scan 3.2s ease-in-out infinite; z-index: 2; }
@keyframes scan { 0% { top: 6%; } 50% { top: 92%; } 100% { top: 6%; } }

.hero-mini { display: none; }
.hdot { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); display: none; }
.hdot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.hlines { position: absolute; inset: 0; pointer-events: none; display: none; }
.hlines path { fill: none; stroke: rgba(225, 236, 252, .55); stroke-width: 1; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease) 1.1s; }
.is-ready .hlines path { stroke-dashoffset: 0; }

.hero-bottom { position: relative; margin-top: 34px; padding: 30px 0 100px; display: grid; gap: 22px; }
.hero-bottom::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line2) 20%, var(--line2) 80%, transparent); }
.hb-dots { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); display: flex; gap: 10px; align-items: center; padding: 0 12px; }
.hb-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); position: relative; transition: .5s var(--ease); }
.hb-dots button.on { width: 30px; height: 30px; background: var(--chip-bg); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.hb-dots button.on::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; }
.hb-dots button svg { position: absolute; inset: -1px; width: 30px; height: 30px; transform: rotate(-90deg); opacity: 0; }
.hb-dots button.on svg { opacity: 1; }
.hb-dots button svg circle { fill: none; stroke: #fff; stroke-width: 1.4; stroke-dasharray: 88; stroke-dashoffset: 88; }
.hb-dots button.on svg circle { animation: dotprog 7s linear forwards; }
@keyframes dotprog { to { stroke-dashoffset: 0; } }
.hb-rate { display: flex; align-items: center; gap: 14px; }
.hb-rate .num { font-family: var(--f-disp); font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1; display: flex; align-items: flex-start; gap: 4px; }
.hb-rate .num svg { width: 16px; height: 16px; margin-top: 4px; }
.hb-rate p { margin: 0; font-size: 12px; color: var(--txt2); line-height: 1.35; max-width: 150px; }
.avatars { display: flex; }
.avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #0b1626; object-fit: cover; margin-left: -8px; }
.avatars img:first-child { margin-left: 0; }
.hb-center { text-align: center; }
.hb-center h2 { font-size: clamp(24px, 6vw, 30px); font-weight: 400; letter-spacing: -.03em; line-height: 1.12; }
.hb-center .btn-line { margin-top: 14px; font-size: 13px; }
.hb-right { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.hb-right svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--txt2); }
.hb-right p { margin: 0; font-size: 13px; color: var(--txt2); line-height: 1.45; max-width: 260px; }
.hb-right strong { color: #fff; font-weight: 600; }
.hb-slide-lbl { position: absolute; right: 0; top: -30px; display: none; color: var(--txt2); }

/* ---------------- PAGE HERO (INNER) ---------------- */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--hdr-h) + 56px) 0 56px; min-height: 58vh; display: flex; align-items: flex-end; }
.phero .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.06) saturate(1) brightness(.88) contrast(1.05); transform: scale(1.08); }
.phero .hero-tint { background: linear-gradient(180deg, rgba(4, 9, 16, .6) 0%, rgba(4, 9, 16, .12) 20%, rgba(4, 9, 16, 0) 32%), linear-gradient(90deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .3) 42%, rgba(4, 9, 16, 0) 72%), linear-gradient(180deg, rgba(4, 9, 16, 0) 38%, rgba(4, 9, 16, .5) 76%, rgba(4, 9, 16, .72) 95%, var(--page-bg) 100%); }
.phero .hero-bg { overflow: hidden; }
.crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a:hover { color: var(--txt); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: var(--mut2); display: inline-block; }
.phero h1 { font-size: clamp(44px, 11vw, 132px); letter-spacing: -.055em; line-height: .88; text-transform: uppercase; font-weight: 600; }
.phero h1 .l { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.phero h1 .l > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.phero h1 .l2 > span { padding-top: .14em; margin-top: -.14em; background: linear-gradient(180deg, #fff 0%, #e2e8f1 34%, rgba(190, 204, 224, .45) 70%, rgba(150, 166, 190, .06) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition-delay: .1s; }
.is-ready .phero h1 .l > span { transform: none; }
.phero-row { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.phero-row p { max-width: 520px; color: var(--txt2); margin: 0; }
.phero-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.phero-meta div { border-left: 1px solid var(--line2); padding-left: 14px; }
.phero-meta strong { display: block; font-family: var(--f-disp); font-size: 26px; font-weight: 500; letter-spacing: -.03em; }

/* ---------------- SECTIONS ---------------- */
.sec { position: relative; padding: 90px 0; }
.sec-tight { padding: 60px 0; }
.sec-head { display: grid; gap: 18px; margin-bottom: 44px; }
.sec-label { display: inline-flex; align-items: center; gap: 12px; }
.sec-label::before { content: ''; width: 26px; height: 1px; background: var(--ice2); }
.sec-title { font-size: clamp(34px, 7.4vw, 76px); letter-spacing: -.045em; line-height: .98; }
.sec-title em { font-style: normal; color: var(--mut); }
.sec-desc { color: var(--txt2); max-width: 520px; margin: 0; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em 0 .06em; margin: -.14em 0 -.06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: none; }

.rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-30px); transition: 1.1s var(--ease); }
.rv-l.in { opacity: 1; transform: none; }
.rv-s { opacity: 0; transform: scale(.94); transition: 1.2s var(--ease); }
.rv-s.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; } .d4 { transition-delay: .32s !important; } .d5 { transition-delay: .4s !important; }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: linear-gradient(90deg, var(--bg), var(--marq-mid), var(--bg)); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-disp); font-size: clamp(22px, 4vw, 40px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; color: var(--txt2); }
.marquee span::after { content: ''; width: 12px; height: 12px; border: 1px solid var(--ice2); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 6px var(--ice2); }
.marquee span.o { color: transparent; -webkit-text-stroke: 1px var(--stroke-txt); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Intro / stats */
.intro-grid { display: grid; gap: 40px; }
.intro-lead { font-family: var(--f-disp); font-size: clamp(26px, 5.2vw, 48px); line-height: 1.12; letter-spacing: -.035em; font-weight: 400; }
.intro-lead .hl { color: var(--mut); transition: color .6s; }
.intro-lead .hl.in { color: var(--txt); }
.intro-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; }
.intro-media img { width: 100%; height: 115%; object-fit: cover; filter: saturate(.6) brightness(.8); }
.intro-media .tag { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 14px 16px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 56px; }
.stat { background: var(--bg); padding: 26px 18px; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0 0, rgba(120, 160, 230, .12), transparent 60%); opacity: 0; transition: opacity .6s; }
.stat:hover::before { opacity: 1; }
.stat .v { font-family: var(--f-disp); font-size: clamp(40px, 9vw, 72px); font-weight: 400; letter-spacing: -.05em; line-height: 1; display: flex; align-items: flex-start; }
.stat .v small { font-size: .45em; margin-left: 4px; margin-top: .2em; color: var(--ice); }
.stat p { margin: 10px 0 0; font-size: 13px; color: var(--mut); max-width: 200px; }

/* Category cards */
.cat-grid { display: grid; gap: 14px; }
.cat-card { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card-bg); padding: 22px; min-height: 300px; display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease); isolation: isolate; }
.cat-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(130, 170, 240, .18), transparent 55%); opacity: 0; transition: opacity .5s; }
.cat-card:hover { border-color: var(--line3); transform: translateY(-4px); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cc-top { display: flex; justify-content: space-between; align-items: center; }
.cat-card .cc-art { flex: 1; display: grid; place-items: center; padding: 10px 0; }
.cat-card .cc-art .bp-svg { width: min(230px, 80%); }
.cat-card h3 { font-size: 24px; letter-spacing: -.03em; }
.cat-card p { margin: 6px 0 0; font-size: 13px; color: var(--mut); }
.cat-card .cc-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; transition: .5s var(--ease); }
.cat-card .cc-go svg { width: 14px; height: 14px; }
.cat-card:hover .cc-go { background: var(--pill); color: var(--on-pill); border-color: transparent; transform: rotate(45deg); }
.cat-card.big { min-height: 380px; }

/* Blueprint SVG */
.bp-svg { overflow: visible; }
.bp-svg .bp-body { stroke: var(--bp-edge); stroke-width: .8; }
.bp-svg .bp-ln { stroke: var(--bp-ln); fill: none; stroke-width: 1.2; stroke-linecap: round; }
.bp-svg .bp-ln2 { stroke: rgba(40, 52, 70, .55); fill: none; stroke-width: .8; }
.bp-svg .bp-ghost { fill: none; stroke: var(--bp-ghost); stroke-dasharray: 2 4; }
.bp-svg .bp-holes circle { fill: var(--bp-hole); stroke: rgba(30, 40, 56, .7); stroke-width: .4; }
.bp-svg .bp-hole-c { fill: var(--bp-hole); stroke: var(--bp-rim); stroke-width: .8; }
.bp-svg .bp-notch { fill: var(--bp-hole); stroke: var(--bp-rim); stroke-width: .6; }
.bp-svg .bp-insert { fill: #c9d4e4; stroke: rgba(20, 30, 46, .7); stroke-width: .6; }
.bp-svg .bp-spec { fill: rgba(255, 255, 255, .28); filter: blur(4px); }
.bp-svg .bp-spec-l { stroke: rgba(255, 255, 255, .5); stroke-width: 3; stroke-linecap: round; fill: none; }
.bp-svg .bp-edge { stroke: var(--bp-blade); stroke-width: 1.4; fill: none; stroke-linecap: round; opacity: .9; }
.bp-svg .bp-cross line { stroke: var(--bp-dim); stroke-width: .6; stroke-dasharray: 6 3 1 3; opacity: .85; }
.bp-svg .bp-dim line { stroke: var(--bp-dim); stroke-width: .6; }
.bp-svg .bp-dim .bp-dim-l { stroke: var(--bp-dim-l); stroke-width: .7; }
.bp-svg .bp-mk { fill: var(--bp-dim-l); }
.bp-svg .bp-dim text, .bp-svg .bp-tag { font-family: var(--f-mono); font-size: 8px; fill: var(--bp-txt); letter-spacing: .06em; }
.bp-svg .bp-dim-arc { fill: none; stroke: var(--bp-dim); stroke-width: .7; stroke-dasharray: 3 3; }
.bp-svg .bp-corner path { fill: none; stroke: var(--bp-corner); stroke-width: .8; }
.bp-svg .bp-bristle line { stroke: var(--bp-bristle); stroke-width: 1.4; stroke-linecap: round; }
.bp-svg circle:not([class]) { fill: var(--bp-hole); }
.bp-svg .bp-holes.big circle { stroke: var(--bp-rim); stroke-width: .5; }
.hide-dims .bp-dim, .hide-dims .bp-cross, .hide-dims .bp-tag, .hide-dims .bp-corner, .hide-dims .bp-ghost { display: none; }
.bp-svg .bp-rot { transform-origin: 100px 94px; transition: transform 1.6s var(--ease); }
.is-ring .bp-rot { transform-origin: 84px 94px; }
.bp-svg .bp-sway { transform-origin: 100px 100px; transition: transform 1.2s var(--ease); }
.spin-on-hover:hover .bp-rot, .pcard:hover .bp-rot, .cat-card:hover .bp-rot { transform: rotate(60deg); }
.pcard:hover .bp-sway, .cat-card:hover .bp-sway { transform: rotate(-6deg) translateY(-3px); }
.bp-spin .bp-rot { animation: bpspin 40s linear infinite; }
@keyframes bpspin { to { transform: rotate(360deg); } }

/* Anatomy (exploded view) */
.anat { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--stage-bg); overflow: hidden; padding: 26px 16px 20px; }
.anat-stage { position: relative; height: 300px; }
.anat-axis { position: absolute; left: 3%; right: 3%; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(160, 190, 235, .5) 0 10px, transparent 10px 14px, rgba(160, 190, 235, .5) 14px 16px, transparent 16px 20px); }
.anat-part { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) translateX(var(--x, 0px)); transition: transform .2s linear, filter .4s; cursor: pointer; }
.anat-part .disc { border-radius: 50% / 50%; background: linear-gradient(90deg, #4a5567, #dfe6ef 40%, #a3afc0 60%, #3b4554); border: 1px solid rgba(240, 245, 252, .5); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); position: relative; }
.anat-part .disc::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30%; height: 22%; transform: translate(-50%, -50%); border-radius: 50%; background: #0a121e; border: 1px solid rgba(255, 255, 255, .35); }
.anat-part.perf .disc { background-image: radial-gradient(circle, #0a121e 1.4px, transparent 1.8px), linear-gradient(90deg, #4a5567, #dfe6ef 40%, #a3afc0 60%, #3b4554); background-size: 5px 7px, auto; }
.anat-part.knife .disc { background: linear-gradient(90deg, #586375, #f0f4f9 50%, #586375); clip-path: polygon(35% 0, 65% 0, 60% 40%, 100% 45%, 100% 55%, 60% 60%, 65% 100%, 35% 100%, 40% 60%, 0 55%, 0 45%, 40% 40%); }
.anat-part.screw .disc { border-radius: 10px; background: repeating-linear-gradient(110deg, #3b4554 0 6px, #cfd8e4 6px 10px, #6a7687 10px 14px); }
.anat-part.nut .disc { border-radius: 8px; background: linear-gradient(90deg, #3b4554, #c7d1de 50%, #3b4554); }
.anat-part:hover, .anat-part.on { filter: drop-shadow(0 0 18px rgba(170, 205, 255, .55)); }
.anat-lbl { opacity: var(--lo, 1); transition: opacity .3s; }
.anat-lbl { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }
.anat-lbl::before { content: ''; position: absolute; left: 50%; width: 1px; background: rgba(160, 190, 235, .5); }
.anat-part:nth-child(odd) .anat-lbl { bottom: calc(100% + 26px); }
.anat-part:nth-child(odd) .anat-lbl::before { top: 100%; height: 20px; }
.anat-part:nth-child(even) .anat-lbl { top: calc(100% + 26px); }
.anat-part:nth-child(even) .anat-lbl::before { bottom: 100%; height: 20px; }
.anat-info { display: grid; gap: 14px; margin-top: 10px; }
.anat-info .ai-card { padding: 18px; border-radius: 16px; min-height: 120px; }
.anat-info h4 { font-size: 20px; margin: 6px 0 6px; }
.anat-info p { margin: 0; color: var(--txt2); font-size: 14px; }
.anat-hint { display: flex; justify-content: space-between; margin-top: 4px; }

@media (max-width: 767px) { .anat-lbl { opacity: 0 !important; } .anat-part.on .anat-lbl { opacity: 1 !important; } }
.menu-open .ai-fab, .menu-open .ai-tip, .menu-open .totop, .menu-open .ai-panel { opacity: 0 !important; pointer-events: none !important; }

/* Process */
.process { display: grid; gap: 12px; counter-reset: st; }
.pstep { position: relative; padding: 24px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); overflow: hidden; transition: border-color .5s, background .5s; }
.pstep:hover { border-color: var(--line3); background: var(--surf-h); }
.pstep .ps-n { font-family: var(--f-mono); font-size: 12px; color: var(--ice); letter-spacing: .1em; }
.pstep h4 { font-size: 22px; margin: 26px 0 8px; }
.pstep p { margin: 0; color: var(--mut); font-size: 14px; }
.pstep .ps-ic { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; color: var(--txt2); opacity: .8; }
.pstep .ps-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ice2), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.pstep.in .ps-bar { transform: scaleX(1); }

/* Explorer */
.explorer { display: grid; gap: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel-soft); padding: 22px; position: relative; overflow: hidden; }
.ex-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; display: grid; place-items: center; }
.ex-visual .bp-svg { width: 100%; transition: transform .8s var(--ease); }
.ex-ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(160, 190, 235, .25); animation: bpspin 60s linear infinite; }
.ex-data { display: grid; gap: 18px; align-content: start; }
.ex-size { font-family: var(--f-disp); font-size: clamp(64px, 14vw, 120px); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.ex-size small { font-size: .3em; color: var(--mut); letter-spacing: -.01em; margin-right: 6px; }
.ex-read { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.ex-read div { background: var(--surf-strong); padding: 14px; }
.ex-read b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 18px; color: var(--hi); margin-top: 4px; }
.range-wrap { position: relative; padding-top: 6px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(90deg, var(--ice) var(--p, 0%), var(--line2) var(--p, 0%)); border-radius: 2px; outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid #1a2c48; box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(200, 225, 255, .7); cursor: grab; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid #1a2c48; box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(200, 225, 255, .7); cursor: grab; }
.ticks { display: flex; justify-content: space-between; margin-top: 12px; }
.ticks button { font-family: var(--f-mono); font-size: 10px; color: var(--mut); padding: 4px 2px; transition: color .3s; }
.ticks button.on { color: var(--hi); }
.ex-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Product grid & cards */
.pgrid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.pcard { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-bg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .5s, transform .6s var(--ease), box-shadow .6s; isolation: isolate; }
.pcard:hover { border-color: var(--line3); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(70, 120, 200, .45); }
.pcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(130, 170, 240, .16), transparent 55%); opacity: 0; transition: opacity .5s; }
.pcard:hover::before { opacity: 1; }
.pc-art { position: relative; aspect-ratio: 4/3.2; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.pc-art .bp-grid { mask-image: none; -webkit-mask-image: none; opacity: .8; background-size: 24px 24px; }
.pc-art .bp-svg { width: 74%; max-width: 250px; position: relative; }
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 20px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line2); background: var(--chip-bg); color: var(--txt2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip.hot { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.pc-quick { position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--chip-bg); opacity: 0; transform: scale(.8); transition: .4s var(--ease); }
.pc-quick svg { width: 15px; height: 15px; }
.pcard:hover .pc-quick { opacity: 1; transform: none; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.pc-body .mono { font-size: 10px; }
.pc-body h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.pc-body h3 a:hover { color: var(--ice); }
.pc-body p { margin: 0; font-size: 13px; color: var(--mut); line-height: 1.45; }
.pc-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-family: var(--f-disp); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.price small { font-size: 12px; color: var(--mut); font-weight: 500; margin-left: 3px; }
.price.na { font-size: 14px; color: var(--ice); font-weight: 500; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.add-btn { height: 42px; padding: 0 16px; border-radius: 999px; background: var(--pill); color: var(--on-pill); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: 0 8px 26px -10px var(--pill-sh); white-space: nowrap; }
.add-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px var(--pill-sh2); }
.add-btn svg { width: 15px; height: 15px; }
.add-btn.done { background: #d6f5e3; color: #0a2a18; }

/* Gallery */
.gal { display: grid; gap: 14px; }
.gal figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16/11; }
.gal img { width: 100%; height: 120%; object-fit: cover; filter: saturate(.65) brightness(.82); transition: filter .8s, transform 1.4s var(--ease); }
.gal figure:hover img { filter: saturate(1) brightness(.95); }
.gal figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 12px 14px; border-radius: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }

/* CTA */
.cta { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 56px 24px; text-align: center; isolation: isolate; border: 1px solid var(--line); }
.cta .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.06) saturate(1) brightness(.86); transform: scale(1.04); }
.cta .hero-tint { background: radial-gradient(ellipse 72% 70% at 50% 52%, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .42) 60%, rgba(4, 9, 16, .3) 100%); }
.cta .hero-tint::before { opacity: .16; }
.cta h2 { font-size: clamp(36px, 8vw, 92px); letter-spacing: -.05em; line-height: .92; text-transform: uppercase; }
.cta p { max-width: 520px; margin: 18px auto 30px; color: var(--txt2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }

/* Recipes teaser */
.rt-grid { display: grid; gap: 14px; }

/* ---------------- FOOTER ---------------- */
.ftr { position: relative; padding: 80px 0 30px; border-top: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse at 50% 120%, var(--ftr-glow) 0%, var(--bg) 60%); }
.ftr-top { display: grid; gap: 40px; }
.ftr-logo img { width: min(360px, 82vw); height: auto; }
.ftr-logo p { margin: 22px 0 0; color: var(--mut); max-width: 360px; font-size: 14px; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ftr h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); font-weight: 500; margin-bottom: 16px; }
.ftr li { margin-bottom: 9px; }
.ftr li a { color: var(--txt2); transition: color .3s; font-size: 14px; }
.ftr li a:hover { color: var(--hi); }
.ftr-contact p { margin: 0 0 10px; font-size: 14px; color: var(--txt2); }
.ftr-contact a:hover { color: var(--hi); }
.ftr-big { margin-top: 60px; font-family: var(--f-disp); font-weight: 600; letter-spacing: -.06em; line-height: .8; font-size: clamp(56px, 16.5vw, 260px); text-transform: uppercase; background: linear-gradient(180deg, var(--big-txt), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; user-select: none; text-align: center; }
.ftr-bot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--mut2); }
.ftr-bot a:hover { color: var(--txt); }

/* ---------------- CART DRAWER ---------------- */
.overlay { position: fixed; inset: 0; z-index: 400; background: var(--scrim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .5s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 401; width: min(440px, 100vw); background: var(--panel-bg); border-left: 1px solid var(--line2); transform: translateX(102%); transition: transform .7s var(--ease-io); display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.dr-head h3 { font-size: 22px; }
.dr-list { flex: 1; overflow-y: auto; padding: 10px 22px; }
.dr-empty { text-align: center; padding: 60px 10px; color: var(--mut); }
.dr-empty .bp-svg { width: 140px; margin: 0 auto 20px; opacity: .8; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ci-art { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); background: var(--chip-bg); padding: 4px; }
.ci h4 { font-size: 14px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.ci .opt { font-size: 12px; color: var(--mut); }
.ci .ci-p { font-size: 13px; color: var(--txt2); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 16px; color: var(--txt2); }
.qty button:hover { color: var(--hi); }
.qty input { width: 34px; text-align: center; background: none; border: 0; font-size: 14px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ci-rm { font-size: 11px; color: var(--mut); margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ci-rm:hover { color: var(--hi); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.dr-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.tot-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--txt2); }
.tot-row strong { color: var(--hi); font-family: var(--f-disp); font-size: 18px; }
.dr-foot .note { font-size: 12px; color: var(--mut); margin: 0; }
.dr-foot .btn-pill { justify-content: center; }

/* ---------------- TOAST ---------------- */
.toasts { position: fixed; top: calc(var(--hdr-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 960; display: grid; gap: 8px; width: min(420px, calc(100vw - 30px)); pointer-events: none; }
.toast { padding: 14px 16px; border-radius: 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; animation: tin .6s var(--ease) both; pointer-events: auto; }
.toast.out { animation: tout .5s var(--ease) both; }
.toast .t-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--pill); color: var(--on-pill); display: grid; place-items: center; flex-shrink: 0; }
.toast .t-ic svg { width: 15px; height: 15px; }
.toast b { display: block; font-weight: 600; }
.toast span { color: var(--txt2); font-size: 13px; }
@keyframes tin { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@keyframes tout { to { opacity: 0; transform: translateY(-10px) scale(.96); } }
.fly { position: fixed; z-index: 970; width: 14px; height: 14px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 18px var(--ice); pointer-events: none; }

/* ---------------- MODAL ---------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .45s; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-bg { position: absolute; inset: 0; background: var(--scrim2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box { position: relative; width: min(860px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 26px; padding: 24px; background: var(--panel-bg); border: 1px solid var(--line2); transform: translateY(20px) scale(.98); transition: transform .6s var(--ease); }
.modal.on .modal-box { transform: none; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; z-index: 2; background: var(--chip-bg); }
.modal-x:hover { background: var(--hov); }
.modal-x svg { width: 14px; height: 14px; }
.qv { display: grid; gap: 22px; }
.qv-art { border-radius: 18px; border: 1px solid var(--line); position: relative; display: grid; place-items: center; padding: 20px; aspect-ratio: 1; max-height: 380px; overflow: hidden; }
.qv-art .bp-svg { width: 86%; }
.qv h3 { font-size: 28px; margin: 6px 0 10px; }
.qv p { color: var(--txt2); font-size: 14px; }

/* Slideshow modal (process) */
.ss { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.ss img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; filter: saturate(.8); }
.ss img.on { opacity: 1; animation: kenburns 6s linear forwards; }
.ss-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 14px; z-index: 2; }
.ss-cap h4 { font-size: 20px; margin: 4px 0 2px; }
.ss-cap p { margin: 0; font-size: 13px; color: var(--txt2); }
.ss-prog { position: absolute; left: 0; top: 0; height: 2px; background: #fff; z-index: 3; width: 0; }

/* ---------------- AI ASSISTANT + TO TOP ---------------- */
.ai-fab, .totop { position: fixed; bottom: 22px; z-index: 300; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.ai-fab { left: 18px; background: var(--pill); color: var(--on-pill); box-shadow: 0 14px 40px -10px rgba(170, 196, 255, .7); transition: transform .5s var(--ease); }
.ai-fab::before, .ai-fab::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(220, 230, 255, .45); animation: ring 3s var(--ease) infinite; }
.ai-fab::after { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.ai-fab:hover { transform: scale(1.06); }
.ai-fab svg { width: 26px; height: 26px; }
.ai-fab .ai-x { display: none; }
.ai-open .ai-fab .ai-o { display: none; }
.ai-open .ai-fab .ai-x { display: block; width: 18px; height: 18px; }
.ai-open .ai-fab::before, .ai-open .ai-fab::after { animation: none; opacity: 0; }
.ai-tip { position: fixed; left: 88px; bottom: 34px; z-index: 300; padding: 8px 12px; border-radius: 12px; font-size: 12px; white-space: nowrap; opacity: 0; transform: translateX(-8px); transition: .6s var(--ease); pointer-events: none; }
.ai-tip.on { opacity: 1; transform: none; }
.ai-panel { position: fixed; left: 12px; right: 12px; bottom: 92px; z-index: 301; height: min(620px, calc(100svh - 120px)); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px) scale(.97); transform-origin: bottom left; pointer-events: none; transition: .5s var(--ease); background: var(--panel-bg); border: 1px solid var(--line2); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.ai-open .ai-panel { opacity: 1; transform: none; pointer-events: auto; }
.ai-head { padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.ai-ava { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b9cdee 40%, #3d6fbe 100%); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.ai-ava img { width: 26px; filter: brightness(0) saturate(100%) invert(9%) sepia(20%) saturate(2000%) hue-rotate(190deg); }
.ai-ava::after { content: ''; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #6ee7a8; border: 2px solid var(--panel-solid); }
.ai-head h4 { font-family: var(--f-body); font-size: 15px; letter-spacing: 0; font-weight: 600; }
.ai-head small { font-size: 12px; color: var(--mut); }
.ai-head .ai-reset { margin-left: auto; }
.ai-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: tin .45s var(--ease) both; }
.msg.bot { background: rgba(160, 190, 235, .09); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--pill); color: var(--on-pill); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin: 0; }
.msg ul { padding-left: 16px; list-style: disc; margin: 4px 0; }
.msg .mp { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 12px; background: var(--surf-strong); border: 1px solid var(--line); }
.msg .mp .bp-svg { width: 48px; height: 48px; flex-shrink: 0; }
.msg .mp b { display: block; font-size: 13px; }
.msg .mp small { color: var(--mut); }
.msg .mp button { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--pill); color: var(--on-pill); font-size: 12px; font-weight: 600; flex-shrink: 0; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); animation: typ 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ai-chips { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chips button { flex-shrink: 0; padding: 7px 12px; border-radius: 16px; border: 1px solid var(--line2); font-size: 12px; color: var(--txt2); transition: .3s; }
.ai-chips button:hover { background: var(--hov); color: var(--hi); }
.ai-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ai-form input { flex: 1; height: 46px; border-radius: 23px; border: 1px solid var(--line2); background: var(--field); padding: 0 16px; outline: none; font-size: 14px; }
.ai-form input:focus { border-color: var(--ice2); }
.ai-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--pill); color: var(--on-pill); display: grid; place-items: center; flex-shrink: 0; }
.ai-form button svg { width: 17px; height: 17px; }
.ai-disc { text-align: center; font-size: 10px; color: var(--mut2); padding: 0 12px 10px; }

.totop { right: 18px; border: 1px solid var(--line2); background: var(--chip-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease), background .3s; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: rgba(30, 50, 80, .85); }
.totop svg.ar { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.totop:hover svg.ar { transform: translateY(-3px); }
.totop .prog { position: absolute; inset: -1px; width: 60px; height: 60px; transform: rotate(-90deg); }
.totop .prog circle { fill: none; stroke: var(--hi); stroke-width: 1.5; stroke-dasharray: 182; stroke-dashoffset: 182; stroke-linecap: round; }

/* ---------------- SHOP ---------------- */
.shop-bar { position: sticky; top: var(--hdr-h); z-index: 20; padding: 14px 0; background: var(--bar-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.shop-bar .container { display: grid; gap: 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; color: var(--txt2); transition: .35s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chips button:hover { color: var(--hi); border-color: var(--line3); }
.chips button.on { background: var(--pill); color: var(--on-pill); border-color: transparent; font-weight: 600; }
.chips button .c { font-family: var(--f-mono); font-size: 10px; opacity: .7; }
.shop-tools { display: flex; gap: 10px; }
.field { position: relative; flex: 1; }
.field svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--mut); pointer-events: none; }
.inp, .sel { width: 100%; height: 46px; border-radius: 23px; border: 1px solid var(--line2); background: var(--field); padding: 0 16px; outline: none; font-size: 14px; transition: border-color .3s; }
.field .inp { padding-left: 40px; }
.inp:focus, .sel:focus { border-color: var(--ice2); }
.sel { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9cdee' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; cursor: pointer; }
.sel option { background: var(--opt-bg); color: var(--txt); }
.shop-tools .sel { width: 150px; flex-shrink: 0; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.empty { text-align: center; padding: 80px 20px; color: var(--mut); border: 1px dashed var(--line2); border-radius: var(--r); }
.cat-intro { display: grid; gap: 18px; margin-bottom: 26px; padding: 22px; border-radius: var(--r); }
.cat-intro h2 { font-size: 30px; }
.cat-intro p { margin: 0; color: var(--txt2); font-size: 14px; }

/* ---------------- PRODUCT PAGE ---------------- */
.pd { display: grid; gap: 30px; padding-top: calc(var(--hdr-h) + 30px); }
.pd-media { position: relative; }
.pd-art { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--stage-bg); display: grid; place-items: center; overflow: hidden; }
.pd-art .bp-svg { width: 82%; position: relative; }
.pd-art .bp-grid { opacity: 1; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pd-thumbs button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: border-color .3s; padding: 0; background: var(--chip-bg); }
.pd-thumbs button.on { border-color: var(--ice); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.pd-thumbs .bp-svg { width: 100%; height: 100%; padding: 4px; }
.pd-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; filter: saturate(.8); }
.pd-photo.on { opacity: 1; }
.pd-info h1 { font-size: clamp(32px, 6vw, 56px); letter-spacing: -.045em; line-height: 1; margin: 12px 0 14px; }
.pd-info .lead { color: var(--txt2); }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pd-price .price { font-size: 36px; }
.pd-opt { display: grid; gap: 8px; margin-bottom: 18px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list button { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line2); font-size: 13px; color: var(--txt2); transition: .3s; }
.opt-list button.on { border-color: var(--ice); color: var(--hi); background: rgba(160, 190, 235, .12); }
.pd-buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pd-buy .qty { height: 52px; } .pd-buy .qty button { width: 44px; height: 50px; } .pd-buy .qty input { width: 44px; font-size: 16px; }
.pd-buy .btn-pill { flex: 1; justify-content: center; min-width: 200px; }
.pd-perks { display: grid; gap: 10px; margin-top: 22px; }
.pd-perks div { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--txt2); }
.pd-perks svg { width: 18px; height: 18px; color: var(--ice); flex-shrink: 0; }
.tabs { margin-top: 70px; }
.tab-btns { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-btns button { padding: 14px 18px; font-size: 14px; color: var(--mut); position: relative; white-space: nowrap; }
.tab-btns button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--hi); transform: scaleX(0); transition: transform .5s var(--ease); }
.tab-btns button.on { color: var(--hi); }
.tab-btns button.on::after { transform: scaleX(1); }
.tab-pane { display: none; padding: 28px 0; animation: tin .5s var(--ease); }
.tab-pane.on { display: block; }
.spec-tbl { width: 100%; border-collapse: collapse; }
.spec-tbl th, .spec-tbl td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-tbl th { color: var(--mut); font-weight: 400; width: 44%; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------------- TABLES ---------------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); }
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl thead th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 500; background: var(--tbl-head); position: sticky; top: 0; }
.tbl tbody tr { transition: background .3s; }
.tbl tbody tr:hover { background: rgba(160, 190, 235, .06); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num { font-family: var(--f-mono); }
.tbl .row-h { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.tbl .add-mini { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line2); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; transition: .3s; }
.tbl .add-mini:hover { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.tbl .add-mini svg { width: 13px; height: 13px; }
.tbl td.hl, .tbl th.hl { background: rgba(160, 190, 235, .1); color: var(--hi); }

/* Tech page */
.prog-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.prog-tabs::-webkit-scrollbar { display: none; }
.prog-pane { display: none; }
.prog-pane.on { display: grid; gap: 24px; animation: tin .6s var(--ease); }
.prog-visual { position: relative; width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); aspect-ratio: 1; max-height: 460px; display: grid; place-items: center; background: var(--stage-bg); overflow: hidden; }
.prog-visual .pv-art { width: 78%; position: relative; display: grid; place-items: center; }
.prog-visual .bp-svg { width: 100%; position: relative; }
.prog-info { min-width: 0; }
.prog-pane > * { min-width: 0; }
.prog-info h3 { font-size: clamp(28px, 5vw, 44px); margin: 10px 0 14px; letter-spacing: -.04em; }
.prog-info p { color: var(--txt2); }
.prog-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }

/* ---------------- RECIPES ---------------- */
.guide { display: grid; gap: 10px; }
.acc { border-radius: 18px; border: 1px solid var(--line); background: var(--surf); overflow: hidden; transition: border-color .4s; }
.acc.open { border-color: var(--line3); }
.acc-h { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px; text-align: left; }
.acc-h .k { font-family: var(--f-mono); font-size: 11px; color: var(--ice); min-width: 74px; letter-spacing: .06em; }
.acc-h h4 { font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0; flex: 1; }
.acc-h .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line2); position: relative; flex-shrink: 0; transition: transform .5s var(--ease); }
.acc-h .pm::before, .acc-h .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--txt); transform: translate(-50%, -50%); }
.acc-h .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.acc.open .pm { transform: rotate(180deg); }
.acc.open .pm::after { transform: translate(-50%, -50%) rotate(0); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc.open .acc-b { grid-template-rows: 1fr; }
.acc-b > div { overflow: hidden; }
.acc-b p { padding: 0 18px 20px; margin: 0; color: var(--txt2); font-size: 14px; }
.rgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.rcard { text-align: left; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card-bg); display: flex; flex-direction: column; gap: 10px; min-height: 170px; transition: .5s var(--ease); position: relative; overflow: hidden; }
.rcard:hover { border-color: var(--line3); transform: translateY(-3px); }
.rcard h4 { font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
.rcard .rc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.rcard .rc-go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; transition: .5s var(--ease); }
.rcard .rc-go svg { width: 13px; height: 13px; }
.rcard:hover .rc-go { background: var(--pill); color: var(--on-pill); border-color: transparent; transform: rotate(45deg); }
.rcard .rc-n { position: absolute; right: 16px; top: 14px; font-family: var(--f-mono); font-size: 11px; color: var(--mut2); }
.ing-list { display: grid; gap: 0; margin: 16px 0; }
.ing-list label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.ing-list input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line3); flex-shrink: 0; margin-top: 2px; display: grid; place-items: center; cursor: pointer; }
.ing-list input:checked { background: var(--pill); border-color: transparent; }
.ing-list input:checked::after { content: ''; width: 5px; height: 9px; border: solid var(--on-pill); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ing-list input:checked + span { color: var(--mut); text-decoration: line-through; }
.rec-gear { display: grid; gap: 10px; margin-top: 12px; }
.gear { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); }
.gear .bp-svg { width: 52px; height: 52px; flex-shrink: 0; }
.gear b { display: block; font-size: 14px; }
.gear small { color: var(--mut); }
.gear .add-btn { margin-left: auto; height: 36px; padding: 0 12px; font-size: 12px; }

/* ---------------- CONTACT / FORMS ---------------- */
.c-grid { display: grid; gap: 14px; }
.c-card { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); display: flex; flex-direction: column; gap: 8px; transition: border-color .4s, transform .5s var(--ease); }
.c-card:hover { border-color: var(--line3); transform: translateY(-3px); }
.c-card .c-ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; margin-bottom: 14px; }
.c-card .c-ic svg { width: 19px; height: 19px; }
.c-card strong { font-family: var(--f-disp); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.c-card small { color: var(--mut); font-size: 13px; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
.fl { position: relative; }
.fl input, .fl textarea, .fl select { width: 100%; border-radius: 16px; border: 1px solid var(--line2); background: var(--field); padding: 24px 16px 10px; outline: none; font-size: 15px; transition: border-color .3s, background .3s; }
.fl select { padding-top: 22px; appearance: none; -webkit-appearance: none; }
.fl textarea { min-height: 140px; resize: vertical; }
.fl label { position: absolute; left: 17px; top: 17px; font-size: 14px; color: var(--mut); pointer-events: none; transition: .3s var(--ease); }
.fl input:focus, .fl textarea:focus, .fl select:focus { border-color: var(--ice2); background: var(--field-f); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label, .fl select + label { top: 8px; font-size: 11px; color: var(--ice); letter-spacing: .04em; }
.fl.err input, .fl.err textarea { border-color: #e88a8a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--txt2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line3); flex-shrink: 0; display: grid; place-items: center; cursor: pointer; margin: 0; }
.check input:checked { background: var(--pill); border-color: transparent; }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid var(--on-pill); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.radio-cards { display: grid; gap: 10px; }
.radio-cards label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); cursor: pointer; transition: .3s; }
.radio-cards input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line3); margin: 0; flex-shrink: 0; }
.radio-cards input:checked { border: 5px solid var(--radio-on); }
.radio-cards label:has(input:checked) { border-color: var(--ice); background: rgba(160, 190, 235, .08); }
.radio-cards small { display: block; color: var(--mut); font-size: 12px; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: #0a1220; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(185deg) saturate(.5) brightness(.9) contrast(.95); }
.map .pin { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 14px 16px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------------- CART PAGE ---------------- */
.cart-layout { display: grid; gap: 26px; }
.cart-box { border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); padding: 6px 18px; }
.cart-sum { border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-self: start; }
.steps-ind { display: flex; gap: 8px; margin-bottom: 22px; align-items: center; flex-wrap: wrap; }
.steps-ind span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.steps-ind span b { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; font-weight: 500; }
.steps-ind span.on { color: var(--hi); }
.steps-ind span.on b { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.steps-ind i { width: 22px; height: 1px; background: var(--line2); }
.success { text-align: center; }
.success .s-ic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; background: var(--pill); color: var(--on-pill); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(230, 236, 255, .08), 0 0 60px rgba(186, 204, 255, .5); }
.success .s-ic svg { width: 34px; height: 34px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 1s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 32px; margin-bottom: 10px; }
.order-no { display: inline-block; font-family: var(--f-mono); padding: 8px 14px; border-radius: 10px; border: 1px dashed var(--line3); margin: 10px 0 18px; letter-spacing: .08em; }

/* About */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl-item .y { font-family: var(--f-mono); color: var(--ice); font-size: 13px; padding-top: 4px; }
.tl-item h4 { font-size: 22px; margin-bottom: 8px; }
.tl-item p { margin: 0; color: var(--txt2); font-size: 14px; }
.values { display: grid; gap: 12px; }
.val { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); position: relative; overflow: hidden; }
.val .vn { font-family: var(--f-disp); font-size: 64px; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--stroke-txt2); position: absolute; right: 16px; top: 10px; }
.val h4 { font-size: 22px; margin: 50px 0 8px; }
.val p { margin: 0; color: var(--mut); font-size: 14px; }
.person { display: grid; gap: 22px; align-items: center; padding: 22px; border-radius: var(--r-lg); }
.person .ph { aspect-ratio: 1; border-radius: 22px; overflow: hidden; position: relative; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #1d3354, #070d17); border: 1px solid var(--line); }
.person .ph img { width: 62%; opacity: .9; }
.person blockquote { margin: 0; font-family: var(--f-disp); font-size: clamp(22px, 4vw, 34px); line-height: 1.2; letter-spacing: -.03em; font-weight: 400; }

.bp-spin-slow .bp-rot { animation: bpspin 70s linear infinite; }
.pd-draw { width: 82%; display: grid; place-items: center; transition: opacity .5s; position: relative; z-index: 1; }
.pd-draw .bp-svg { width: 100%; }
.pd-photo { z-index: 2; }
/* Search */
.srch-res { margin-top: 18px; display: grid; gap: 18px; }
.srch-g { display: grid; gap: 6px; }
.srch-g .mono { margin-bottom: 4px; }
.srch-i { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background .3s; }
.srch-i:hover { background: var(--hov); }
.si-art { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--chip-bg); flex-shrink: 0; padding: 2px; display: grid; place-items: center; font-family: var(--f-mono); color: var(--ice); }
.srch-i b { display: block; font-size: 14px; font-weight: 600; }
.srch-i small { color: var(--mut); font-size: 12px; }
.srch-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-tags button { padding: 8px 14px; border-radius: 18px; border: 1px solid var(--line2); font-size: 13px; color: var(--txt2); }
.srch-tags button:hover { color: var(--hi); border-color: var(--line3); }
.mi .bp-svg .bp-tag, .mi .bp-svg .bp-dim, .si-art .bp-svg .bp-tag, .si-art .bp-svg .bp-dim, .ci-art .bp-svg .bp-tag, .ci-art .bp-svg .bp-dim, .msg .mp .bp-svg .bp-tag, .msg .mp .bp-svg .bp-dim, .gear .bp-svg .bp-tag, .gear .bp-svg .bp-dim, .pd-thumbs .bp-svg .bp-tag { display: none; }
.mi .bp-corner, .si-art .bp-corner, .ci-art .bp-corner, .msg .mp .bp-corner, .gear .bp-corner { display: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (min-width: 560px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .rgrid { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: 1fr 1fr; }
  .gal figure:first-child { grid-column: span 2; aspect-ratio: 16/8; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .c-grid { grid-template-columns: 1fr 1fr; }
  .radio-cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .ftr-bot { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  :root { --pad: 32px; --hdr-h: 76px; }
  .brand img { height: 40px; }
  .lang { display: block; }
  .nav-r .sep { display: block; }
  .ai-panel { left: 18px; right: auto; width: 400px; bottom: 96px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .intro-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .sec-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .sec-head .sec-label { grid-column: 1 / -1; }
  .phero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .explorer { grid-template-columns: 1fr 1fr; padding: 34px; align-items: center; }
  .qv { grid-template-columns: 1fr 1fr; align-items: center; }
  .modal-box { padding: 34px; }
  .ftr-top { grid-template-columns: 1.2fr 2fr; }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); }
  .shop-bar .container { grid-template-columns: 1fr auto; align-items: center; }
  .shop-tools { width: 360px; }
  .hero-bottom { grid-template-columns: 1fr 1.2fr 1fr; align-items: center; }
  .hb-right { justify-content: flex-end; }
  .anat-info { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1.5fr 1fr; }
  .person { grid-template-columns: 260px 1fr; }
  .cat-intro { grid-template-columns: 1fr 1fr; align-items: center; }
  .rt-grid { grid-template-columns: repeat(3, 1fr); }
  .rgrid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  body { font-size: 16px; }
  .sec { padding: 130px 0; }
  .nav { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav > a, .nav > .has-mega > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 14.5px; font-weight: 450; color: var(--txt2); border-radius: 20px; position: relative; transition: color .3s; }
  .nav > a:hover, .nav > .has-mega > a:hover, .nav a.active { color: var(--hi); }
  .nav a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--hi); transform: translateX(-50%); box-shadow: 0 0 8px var(--hi); }
  .nav .chev { width: 10px; height: 10px; transition: transform .3s; }
  .has-mega:hover .chev { transform: rotate(180deg); }
  .burger { display: none; }
  .mnav { display: none; }
  .hdr .container { position: relative; }

  /* Hero — kopija AXON kompozicije */
  .hero { padding-top: calc(var(--hdr-h) + 10px); }
  .hero-main { display: block; min-height: max(calc(100svh - var(--hdr-h) - 170px), 590px); }
  .hero-main { container-type: inline-size; }
  .hero-title { margin-top: 3vh; font-size: clamp(64px, 9.2vw, 150px); font-size: clamp(56px, min(9.6vw, calc((100cqw - var(--hcr-w, 300px) - 48px) / 7.7)), 150px); max-width: calc(100% - var(--hcr-w, 300px) - 40px); }
  .hero-cta { margin-top: 3.6vh; }
  .hero-sub { display: none; }
  .hcard-l { position: absolute; left: var(--pad); bottom: 4%; width: 330px; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start; }
  .hcard-l .hc-imgs { grid-row: span 2; grid-column: 2; }
  .hcard-l .hc-imgs img { width: 76px; height: 92px; }
  .hcard-l .btn-line { grid-column: 1; align-self: end; }
  .hcard-r { position: absolute; right: var(--pad); top: 4%; width: 270px; margin: 0; }
  .hero-mini { display: flex; position: absolute; right: calc(var(--pad) + 10px); bottom: 3%; align-items: center; gap: 12px; opacity: 0; transition: opacity 1s 1.1s; }
  .is-ready .hero-mini { opacity: 1; }
  .hero-mini .bp-svg { width: 74px; }
  .hero-mini p { margin: 0; font-size: 15px; line-height: 1.25; color: var(--txt2); }
  .hlines, .hdot { display: block; }
  .hero-bottom { margin-top: 0; padding: 30px 0 34px; }
  .hb-center h2 { font-size: 34px; }

  .phero { min-height: 72vh; padding-bottom: 80px; }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-grid .cat-card { grid-column: span 2; }
  .cat-grid .cat-card.big { grid-column: span 3; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pgrid.four { grid-template-columns: repeat(4, 1fr); }
  .gal { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .gal figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
  .anat { padding: 40px 34px 30px; }
  .anat-stage { height: 360px; }
  .anat-info { grid-template-columns: 1.2fr 1fr 1fr; }
  .pd { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; padding-top: calc(var(--hdr-h) + 50px); }
  .pd-media { position: sticky; top: calc(var(--hdr-h) + 20px); }
  .shop-bar .chips { flex-wrap: wrap; overflow: visible; }
  .prog-pane.on { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 50px; }
  .c-grid { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .totop, .ai-fab { bottom: 26px; }
  .ai-fab { left: 26px; } .totop { right: 26px; }
  .ai-tip { left: 98px; bottom: 40px; }
  .ai-panel { left: 26px; bottom: 100px; }
  .rgrid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) and (max-width: 1439px) { .hb-rate { padding-left: 64px; } }
@media (min-width: 1280px) {
  .hcard-l { width: 350px; }
  .hcard-r { width: 290px; }
}

@media (max-width: 1023px) {
  .hero-cards { display: grid; gap: 12px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-cards { grid-template-columns: 1fr 1fr; align-items: start; }
  .hcard-l, .hcard-r { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv, .rv-l, .rv-s { opacity: 1; transform: none; }
}

/* =========================================================
   LIGHT THEME — html[data-theme="light"] (dark ostaje primarna)
   ========================================================= */
html[data-theme="light"] {
  color-scheme: light;
  --page-bg: #eef2f7;
  --scrim: rgba(14, 26, 44, .34);
  --scrim2: rgba(14, 26, 44, .46);
  --bg: #eef2f7; --bg2: #e5ebf3; --navy: #dfe7f2; --navy2: #d5dfee; --steel: #c9d6e8;
  --line: rgba(16, 36, 66, .12); --line2: rgba(16, 36, 66, .2); --line3: rgba(16, 36, 66, .38);
  --txt: #0c1a2e; --txt2: #2b3c55; --mut: #4b5c75; --mut2: #56667e;
  --ice: #2a5592; --ice2: #4a74b0; --glow: #3d6fbe; --lav: #1c3864;
  --hi: #071427; --white: #071427;
  --on-pill: #ffffff;
  --pill: linear-gradient(100deg, #14294a 0%, #1c3864 52%, #27497c 100%);
  --pill-ring: rgba(20, 41, 74, .28); --pill-ring2: rgba(20, 41, 74, .5);
  --pill-sh: rgba(20, 41, 74, .32); --pill-sh2: rgba(20, 41, 74, .48);
  --silver: linear-gradient(180deg, #0c1a2e 0%, #2b3c55 60%, #56667e 100%);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, .88), rgba(246, 248, 252, .74) 60%, rgba(234, 240, 248, .82));
  --glass-b: rgba(16, 36, 66, .13);
  --chip-bg: rgba(255, 255, 255, .86);
  --field: rgba(255, 255, 255, .92); --field-f: #ffffff;
  --surf: rgba(255, 255, 255, .74); --surf-h: #ffffff; --surf-strong: rgba(255, 255, 255, .96);
  --tbl-head: #e2e8f1;
  --card-bg: linear-gradient(180deg, #ffffff, #f2f5fa);
  --hov: rgba(20, 50, 100, .07); --hov2: rgba(20, 50, 100, .1);
  --panel-bg: linear-gradient(175deg, #ffffff, #eef2f8); --panel-solid: #ffffff;
  --panel-soft: linear-gradient(160deg, #ffffff, #e8eef6);
  --stage-bg: radial-gradient(ellipse at 50% 45%, #ffffff, #dbe4ef 72%);
  --hdr-bg: rgba(243, 246, 250, .84);
  --bar-bg: rgba(238, 242, 247, .9);
  --opt-bg: #ffffff;
  --mnav-bg: radial-gradient(ellipse at 80% 0%, #ffffff 0%, #e5ebf3 60%);
  --pl-bg: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e2e8f1 70%);
  --pt-bg: #e6ecf4;
  --ftr-glow: #d2ddee;
  --marq-mid: rgba(255, 255, 255, .75);
  --stroke-txt: rgba(20, 41, 74, .5); --stroke-txt2: rgba(20, 41, 74, .2);
  --big-txt: rgba(20, 41, 74, .17);
  --grid-c: rgba(30, 60, 110, .07);
  --radio-on: #1c3864;
  --bp-edge: rgba(28, 42, 62, .5); --bp-ln: rgba(38, 56, 82, .82); --bp-ghost: rgba(40, 80, 140, .3);
  --bp-hole: #3a4658; --bp-rim: rgba(28, 42, 62, .62); --bp-blade: #1b2a40;
  --bp-dim: rgba(42, 85, 146, .6); --bp-dim-l: #2a5592; --bp-txt: #2a5592; --bp-corner: rgba(42, 85, 146, .42); --bp-bristle: rgba(38, 56, 82, .7);
  --shadow: 0 24px 50px -28px rgba(20, 40, 80, .32);
}
html[data-theme="light"] .glass { box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9); }
html[data-theme="light"] :is(.hero, .phero, .cta) .glass { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); }
html[data-theme="light"] .noise { opacity: .03; }
html[data-theme="light"] :is(.ftr-logo img, #preloader .pl-logo img, .ptrans img, .nf-logo img),
html[data-theme="light"] body:not(.photo-top) .brand img,
html[data-theme="light"] .hdr.scrolled .brand img,
html[data-theme="light"] .menu-open .brand img { filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(1700%) hue-rotate(192deg) brightness(.96); }
html[data-theme="light"] #preloader .pl-logo .fill { filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(1700%) hue-rotate(192deg) brightness(.96) drop-shadow(0 0 18px rgba(60, 100, 170, .25)); }
html[data-theme="light"] .map iframe { filter: none; }
html[data-theme="light"] .ai-fab::before, html[data-theme="light"] .ai-fab::after { border-color: rgba(20, 41, 74, .35); }
html[data-theme="light"] .anat-axis { background: repeating-linear-gradient(90deg, rgba(42, 85, 146, .55) 0 10px, transparent 10px 14px, rgba(42, 85, 146, .55) 14px 16px, transparent 16px 20px); }
html[data-theme="light"] .anat-part .disc { box-shadow: 0 20px 40px -14px rgba(20, 40, 80, .45); }
html[data-theme="light"] .anat-part:hover, html[data-theme="light"] .anat-part.on { filter: drop-shadow(0 0 14px rgba(42, 85, 146, .45)); }
html[data-theme="light"] .ex-ring { border-color: rgba(42, 85, 146, .3); }
html[data-theme="light"] .range::-webkit-slider-thumb { box-shadow: 0 0 0 1px #1a2c48, 0 4px 14px rgba(20, 40, 80, .35); }
html[data-theme="light"] .pcard:hover { box-shadow: 0 30px 60px -30px rgba(30, 60, 120, .35); }
html[data-theme="light"] .pcard::before, html[data-theme="light"] .cat-card::before { background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(60, 110, 190, .1), transparent 55%); }
html[data-theme="light"] .stat::before { background: radial-gradient(circle at 0 0, rgba(60, 110, 190, .08), transparent 60%); }
html[data-theme="light"] .msg.bot { background: #ffffff; }
html[data-theme="light"] .ai-panel { box-shadow: 0 40px 80px -24px rgba(20, 40, 80, .4); }
html[data-theme="light"] .drawer { box-shadow: -30px 0 60px -30px rgba(20, 40, 80, .3); }
html[data-theme="light"] .hdr.scrolled { box-shadow: 0 10px 30px -20px rgba(20, 40, 80, .3); }
html[data-theme="light"] .cursor { border-color: rgba(10, 20, 40, .55); mix-blend-mode: normal; }
html[data-theme="light"] .cursor.hov { background: rgba(28, 56, 100, .14); border-color: rgba(28, 56, 100, .4); }
html[data-theme="light"] .cursor-dot { background: #0c1a2e; }
html[data-theme="light"] .stat { background: #f6f8fb; }
html[data-theme="light"] .tbl tbody tr:hover { background: rgba(42, 85, 146, .06); }
html[data-theme="light"] .tbl td.hl, html[data-theme="light"] .tbl th.hl { background: rgba(42, 85, 146, .1); }
html[data-theme="light"] .opt-list button.on { background: rgba(42, 85, 146, .1); }
html[data-theme="light"] .radio-cards label:has(input:checked) { background: rgba(42, 85, 146, .07); }
html[data-theme="light"] .hero-tint { background:
  linear-gradient(180deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .18) 16%, rgba(4, 9, 16, 0) 26%),
  linear-gradient(90deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .34) 34%, rgba(4, 9, 16, 0) 62%),
  linear-gradient(180deg, rgba(4, 9, 16, 0) 55%, rgba(4, 9, 16, .55) 74%, rgba(4, 9, 16, .8) calc(100% - 30px), var(--page-bg) 100%); }
html[data-theme="light"] .phero .hero-tint { background:
  linear-gradient(180deg, rgba(4, 9, 16, .6) 0%, rgba(4, 9, 16, .12) 20%, rgba(4, 9, 16, 0) 32%),
  linear-gradient(90deg, rgba(4, 9, 16, .62) 0%, rgba(4, 9, 16, .3) 42%, rgba(4, 9, 16, 0) 72%),
  linear-gradient(180deg, rgba(4, 9, 16, 0) 36%, rgba(4, 9, 16, .55) 74%, rgba(4, 9, 16, .72) calc(100% - 34px), var(--page-bg) 100%); }
html[data-theme="light"] .cta { border-color: transparent; box-shadow: 0 30px 60px -34px rgba(20, 40, 80, .45); }
html[data-theme="light"] .person .ph { border-color: transparent; }
html[data-theme="light"] .sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5592' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
html[data-theme="light"] .pc-art .bp-grid { opacity: 1; }
html[data-theme="light"] :is(.ci-art, .si-art, .mega-list .mi) { background: #f4f7fb; }
html[data-theme="light"] ::selection { background: #1c3864; color: #fff; }

/* theme switch animation */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .55s var(--ease), color .55s var(--ease), border-color .55s var(--ease), fill .55s var(--ease), stroke .55s var(--ease), box-shadow .55s var(--ease) !important;
}
html.vt-theme::view-transition-old(root) { animation: none; }
html.vt-theme::view-transition-new(root) { animation: es-reveal .7s var(--ease-io) both; }
@keyframes es-reveal { from { clip-path: circle(0 at var(--vt-x, 90%) var(--vt-y, 0%)); } to { clip-path: circle(150% at var(--vt-x, 90%) var(--vt-y, 0%)); } }

/* Theme toggle + favorites in header */
.theme-btn .i-moon { display: none; }
html[data-theme="light"] .theme-btn .i-sun { display: none; }
html[data-theme="light"] .theme-btn .i-moon { display: block; }
.theme-btn svg { transition: transform .6s var(--ease); }
.theme-btn:hover svg { transform: rotate(40deg); }
.nav-r .theme-btn, .nav-r .fav-btn { display: none; }
.fav-btn .badge { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--pill); color: var(--on-pill); font-size: 10px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.fav-btn .badge.on { transform: scale(1); }
.fav-btn.bump { animation: bump .6s var(--ease); }
.mnav-theme { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line2); border-radius: 22px; font-size: 14px; justify-self: start; }
.mnav-theme svg { width: 16px; height: 16px; }
.mnav-theme .i-moon { display: none; }
html[data-theme="light"] .mnav-theme .i-sun { display: none; }
html[data-theme="light"] .mnav-theme .i-moon { display: inline; }
@media (min-width: 560px) { .nav-r .fav-btn { display: inline-grid; } }
@media (min-width: 768px) { .nav-r .theme-btn { display: inline-grid; } }
@media (max-width: 380px) { .brand img { height: 28px; } .nav-r .icon-btn { width: 36px; } .burger { margin-left: 2px; } }

/* =========================================================
   HERO — per-slide sadržaj, tilt i odsjaj
   ========================================================= */
[data-tilt] { will-change: transform; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .5s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%); mix-blend-mode: soft-light; }
.tilting .glare { opacity: 1; }
html[data-theme="light"] .pcard .glare { mix-blend-mode: normal; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 50%); }
.pcard.tilting { transition: border-color .5s, box-shadow .6s !important; }
.hcard.tilting { transition: opacity 1s var(--ease) !important; }
.hero-cta .btn-ghost { padding: 12px 20px; }

/* Blade wipe */
.wipe { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 1.25s var(--ease-io), opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.wipe.in { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }
.wipe::before { content: ''; position: absolute; top: -10%; bottom: -10%; width: 3px; left: -10%; z-index: 4; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(230, 240, 255, .95), transparent); box-shadow: 0 0 22px rgba(200, 225, 255, .9); transform: skewX(-17deg); opacity: 0; }
.wipe.in::before { animation: blade 1.25s var(--ease-io) forwards; }
@keyframes blade { 0% { left: -10%; opacity: 1; } 90% { opacity: 1; } 100% { left: 115%; opacity: 0; } }

/* Contextual cursor label */
.cursor .c-lbl { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #0a1424; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.lbl { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: linear-gradient(100deg, #f6f2ff 0%, #e4e8ff 48%, #d6e2fb 100%); border-color: transparent; mix-blend-mode: normal; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.cursor.lbl .c-lbl { opacity: 1; }
html[data-theme="light"] .cursor.lbl { background: linear-gradient(100deg, #14294a, #27497c); }
html[data-theme="light"] .cursor.lbl .c-lbl { color: #fff; }

/* Spark canvas */
.spark-cv { position: fixed; pointer-events: none; z-index: 975; }

/* Section rail (home) */
.srail { display: none; }
@media (min-width: 1024px) {
  .srail { display: flex; flex-direction: column; gap: 4px; position: fixed; right: 18px; top: 50%; transform: translate(20px, -50%); z-index: 120; opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s var(--ease); }
  .srail.on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
  .srail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 22px; width: 22px; }
  .srail a i { width: 6px; height: 6px; border-radius: 50%; background: var(--mut2); transition: .4s var(--ease); margin-right: 8px; }
  .srail a span { position: absolute; right: 30px; white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 10px; background: var(--chip-bg); border: 1px solid var(--line2); color: var(--txt); opacity: 0; transform: translateX(6px); transition: .35s var(--ease); pointer-events: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .srail a:hover span, .srail a:focus-visible span, .srail a.on span.show { opacity: 1; transform: none; }
  .srail a.on i { height: 18px; border-radius: 4px; background: var(--hi); box-shadow: 0 0 10px var(--ice2); }
}

/* Perforation backdrop */
.perf-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Bottom dock (seasonal banner, compare bar) */
.dock { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 290; display: grid; gap: 10px; width: min(560px, calc(100vw - 24px)); pointer-events: none; transition: opacity .4s, bottom .5s var(--ease); }
.dock > * { pointer-events: auto; }
@media (min-width: 1024px) { .dock { bottom: 26px; width: min(620px, calc(100vw - 260px)); } }
.buybar-on .dock { bottom: 158px; }
.menu-open .dock, .ai-open .dock { opacity: 0; pointer-events: none; }
.menu-open .dock > *, .ai-open .dock > * { pointer-events: none; }
.season { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; animation: tin .7s var(--ease) both; }
.season .s-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--pill); color: var(--on-pill); display: grid; place-items: center; }
.season .s-ic svg { width: 18px; height: 18px; }
.season b { display: block; font-size: 14px; }
.season p { margin: 2px 0 6px; font-size: 12px; color: var(--txt2); line-height: 1.4; }
.season .s-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.season .s-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; align-self: start; }
.season .s-x:hover { background: var(--hov); }
.season .s-x svg { width: 13px; height: 13px; }
.cmp-bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 999px; animation: tin .5s var(--ease) both; }
.cmp-bar .cb-items { display: flex; gap: 6px; flex: 1; min-width: 0; }
.cmp-bar .cb-it { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: var(--chip-bg); padding: 2px; flex-shrink: 0; }
.cmp-bar .cb-it .bp-tag, .cmp-bar .cb-it .bp-dim, .cmp-bar .cb-it .bp-corner { display: none; }
.cmp-bar .cb-it button { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--hi); color: var(--bg); font-size: 11px; line-height: 18px; text-align: center; }
.cmp-bar .cb-lbl { font-size: 12px; color: var(--txt2); white-space: nowrap; }
.cmp-bar .btn-pill { padding: 10px 16px; font-size: 13px; }
.cmp-bar .btn-pill::before { display: none; }
.cmp-bar .cb-clr { font-size: 12px; color: var(--mut); text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }
@media (max-width: 420px) { .cmp-bar .cb-lbl { display: none; } }

/* Card action buttons (quick view, favorite, compare) */
.pc-acts { position: absolute; right: 12px; top: 12px; z-index: 4; display: grid; gap: 6px; }
.pc-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); background: var(--chip-bg); color: var(--txt); transition: .35s var(--ease); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pc-btn svg { width: 15px; height: 15px; }
.pc-btn:hover { border-color: var(--line3); transform: scale(1.06); }
.pc-btn.on { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.pc-acts .pc-q, .pc-acts .pc-c { opacity: 0; transform: scale(.8); }
.pcard:hover .pc-acts .pc-btn, .pcard:focus-within .pc-acts .pc-btn, .pc-acts .pc-btn.on { opacity: 1; transform: none; }
@media (hover: none) { .pc-acts .pc-q, .pc-acts .pc-c { opacity: 1; transform: none; } }
.on > .fav-h path, .fav-toggle.on .fav-h path { fill: currentColor; }
.fav-toggle { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; flex-shrink: 0; transition: .35s var(--ease); }
.fav-toggle svg { width: 20px; height: 20px; }
.fav-toggle:hover { border-color: var(--line3); }
.fav-toggle.on { background: var(--pill); color: var(--on-pill); border-color: transparent; }

/* List view */
.pgrid.list { grid-template-columns: 1fr !important; gap: 10px; }
.pgrid.list .pcard { flex-direction: row; align-items: stretch; }
.pgrid.list .pc-art { width: 120px; flex-shrink: 0; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 8px; }
.pgrid.list .pc-art .bp-svg { width: 100%; }
.pgrid.list .pc-badge, .pgrid.list .pc-art .bp-tag, .pgrid.list .pc-art .bp-dim { display: none; }
.pgrid.list .pc-acts { top: 8px; right: 8px; display: flex; }
.pgrid.list .pc-acts .pc-btn { width: 30px; height: 30px; }
.pgrid.list .pc-body { padding: 12px 14px; min-width: 0; }
.pgrid.list .pc-body h3 { padding-right: 100px; font-size: 16px; }
.pgrid.list .pc-body p { display: none; }
@media (min-width: 640px) { .pgrid.list .pc-art { width: 180px; } .pgrid.list .pc-body p { display: block; } .pgrid.list .pc-body { padding: 16px 20px; } }

/* Shop advanced filters */
.flt { display: grid; gap: 12px; margin-bottom: 22px; }
.flt-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.flt-row > .mono { min-width: 92px; }
.flt .chips { flex-wrap: wrap; overflow: visible; }
.flt .chips button { padding: 7px 12px; font-size: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { padding: 7px 14px; border-radius: 999px; font-size: 12px; color: var(--txt2); display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--pill); color: var(--on-pill); font-weight: 600; }
.seg button svg { width: 14px; height: 14px; }
.flt-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.flt-pills:empty { display: none; }
.flt-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--hov2); border: 1px solid var(--line2); font-size: 12px; }
.flt-pill button { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--chip-bg); }
.flt-pill button svg { width: 10px; height: 10px; }
.flt-clear { font-size: 12px; color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.shop-meta { flex-wrap: wrap; gap: 12px; }
.shop-meta .sm-r { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; }

/* Recently viewed strip */
.recent { margin: 0 0 30px; }
.recent-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.recent-h button { font-size: 12px; color: var(--mut); text-decoration: underline; text-underline-offset: 3px; }
.recent-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; scroll-snap-type: x proximity; }
.mini { display: flex; gap: 10px; align-items: center; min-width: 230px; max-width: 260px; padding: 8px 12px 8px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surf); scroll-snap-align: start; transition: border-color .3s; }
.mini:hover { border-color: var(--line3); }
.m-art { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--chip-bg); padding: 2px; flex-shrink: 0; }
.m-art .bp-tag, .m-art .bp-dim, .m-art .bp-corner { display: none; }
.mini b { display: block; font-size: 13px; line-height: 1.25; }
.mini small { color: var(--mut); font-size: 12px; }

/* Upsell — kompletirajte sklop */
.ups { margin-top: 18px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line3); display: grid; gap: 10px; }
.ups-i { display: flex; gap: 10px; align-items: center; }
.ups-i .m-art { width: 44px; height: 44px; border-radius: 10px; }
.ups-i b { display: block; font-size: 13px; line-height: 1.25; }
.ups-i small { color: var(--mut); font-size: 12px; }
.ups-i .add-btn { margin-left: auto; height: 34px; padding: 0 12px; font-size: 12px; }
.dr-ups { padding: 4px 0 14px; }
.dr-ups .ups { margin-top: 6px; }

/* Product page — viewer, buy bar */
.pd-art.zoomed { cursor: grab; touch-action: none; }
.pd-art.zoomed:active { cursor: grabbing; }
.pd-draw { transform-origin: 50% 50%; }
.bpv-tools { position: absolute; left: 12px; bottom: 12px; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 24px); }
.bpv-tools button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: var(--chip-bg); display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: .3s; }
.bpv-tools button:hover { border-color: var(--line3); }
.bpv-tools button.on { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.bpv-tools button svg { width: 15px; height: 15px; }
.pd-art:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; background: var(--stage-bg), var(--bg); }
.pd-art:fullscreen .pd-draw { width: min(84vh, 84vw); }
.pd-extra { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pd-extra .btn-ghost { padding: 10px 16px; font-size: 13px; }
.pd-buy .btn-pill { min-width: 180px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 280; display: flex; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--hdr-bg); border-top: 1px solid var(--line2); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); transform: translateY(110%); transition: transform .5s var(--ease); }
.buybar.on { transform: none; }
.buybar .bb-t { flex: 1; min-width: 0; }
.buybar .bb-t b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .bb-t span { font-size: 13px; color: var(--txt2); }
.buybar .qty { height: 40px; flex-shrink: 0; }
.buybar .qty button { width: 28px; height: 38px; }
.buybar .qty input { width: 28px; }
.buybar .add-btn { flex-shrink: 0; padding: 0 14px; }
.buybar-on .ai-fab, .buybar-on .totop { bottom: 86px; }
.buybar-on .ai-tip { bottom: 98px; }
.buybar-on .ai-panel { bottom: 156px; height: min(560px, calc(100svh - 190px)); }
@media (min-width: 1024px) { .buybar { display: none; } }

/* Actual-size preview + calibration */
.as-cal { display: grid; gap: 16px; }
.as-card { margin: 0 auto; border: 2px dashed var(--ice); border-radius: 3.2mm; display: grid; place-items: center; color: var(--ice); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: repeating-linear-gradient(135deg, transparent 0 10px, var(--hov) 10px 20px); }
.as-card-wrap { overflow-x: auto; padding: 4px 0; }
.as-stage { overflow: auto; max-height: 64svh; border-radius: 18px; border: 1px solid var(--line); background: var(--stage-bg); padding: 16px; }
.as-stage .bp-svg { max-width: none; margin: 0 auto; }
.as-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }

/* Wizard / matcher */
.wz-steps { display: flex; gap: 6px; margin: 14px 0 20px; padding-right: 50px; }
.wz-steps i { flex: 1; height: 3px; border-radius: 3px; background: var(--line2); transition: background .4s; }
.wz-steps i.on { background: var(--hi); }
.wz h3 { font-size: clamp(24px, 4vw, 32px); margin: 6px 0 6px; }
.wz-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 16px; }
.wz-opt { text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--surf); display: grid; gap: 4px; align-content: start; transition: .35s var(--ease); position: relative; }
.wz-opt:hover { border-color: var(--line3); transform: translateY(-2px); }
.wz-opt.on { border-color: var(--ice); background: var(--hov2); }
.wz-opt b { font-size: 15px; }
.wz-opt small { color: var(--mut); font-size: 12px; line-height: 1.4; }
.wz-opt .bp-svg { width: 56px; height: 56px; margin-bottom: 6px; }
.wz-opt .bp-tag, .wz-opt .bp-dim, .wz-opt .bp-corner { display: none; }
.wz-opt .ck { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line3); }
.wz-opt.on .ck { background: var(--pill); border-color: transparent; }
.wz-num { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wz-num button { min-width: 64px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line2); font-family: var(--f-mono); font-size: 14px; transition: .3s; }
.wz-num button:hover { border-color: var(--line3); }
.wz-num button.on { background: var(--pill); color: var(--on-pill); border-color: transparent; }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.wz-res { display: grid; gap: 8px; margin-top: 16px; }
.p-row { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surf); }
.p-row .m-art { width: 56px; height: 56px; }
.p-row b { display: block; font-size: 14px; line-height: 1.3; }
.p-row b a:hover { color: var(--ice); }
.p-row small { color: var(--mut); font-size: 12px; }
.p-row .add-btn { margin-left: auto; height: 36px; padding: 0 12px; font-size: 12px; }
.mt-form { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.mt-fig { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; margin-top: 6px; }
.mt-fig .bp-svg { width: 110px; }
.mt-out { margin-top: 16px; display: grid; gap: 10px; }
.note-box { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surf); font-size: 14px; color: var(--txt2); }
.note-box b { color: var(--hi); }

/* Compare */
.cmp-wrap { overflow-x: auto; margin-top: 16px; border-radius: 18px; border: 1px solid var(--line); }
.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp-tbl th, .cmp-tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; }
.cmp-tbl th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-weight: 500; width: 140px; background: var(--tbl-head); }
.cmp-tbl .c-art { width: 110px; height: 110px; margin-bottom: 8px; }
.cmp-tbl .c-art .bp-tag, .cmp-tbl .c-art .bp-dim { display: none; }
.cmp-tbl b { font-size: 14px; }
.cmp-tbl tr.diff td { background: var(--hov); }
.cmp-tbl .cmp-rm { font-size: 11px; color: var(--mut); text-decoration: underline; margin-top: 6px; display: inline-block; }

/* Quick order (cenovnik) */
.qo-inp { width: 64px; height: 34px; border-radius: 10px; border: 1px solid var(--line2); background: var(--field); text-align: center; font-family: var(--f-mono); font-size: 13px; -moz-appearance: textfield; }
.qo-inp::-webkit-outer-spin-button, .qo-inp::-webkit-inner-spin-button { -webkit-appearance: none; }
.qo-inp:focus { outline: none; border-color: var(--ice2); }
tr.qo-on td { background: var(--hov); }
.qo-bar { position: sticky; bottom: 12px; z-index: 30; margin-top: 16px; padding: 12px 14px 12px 20px; border-radius: 22px; display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.qo-bar .qo-t { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; color: var(--txt2); align-items: baseline; }
.qo-bar .qo-t strong { color: var(--hi); font-family: var(--f-disp); font-size: 18px; margin-left: 4px; }
.qo-bar .qo-a { display: flex; gap: 10px; flex-wrap: wrap; }
.qo-bar .btn-pill { padding: 11px 18px; font-size: 14px; }
.qo-bar .btn-pill::before { inset: -4px; }
.qo-bar .btn-ghost { padding: 10px 16px; font-size: 13px; }

/* Order hand-off */
.handoff { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.handoff .btn-ghost { padding: 11px 16px; font-size: 13px; }
.handoff svg { width: 16px; height: 16px; }
.print-only { display: none; }

/* Production line (desktop pinned horizontal scroll) */
.proc-pin .process { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.proc-top, .proc-rail { display: none; }
@media (min-width: 1024px) {
  .proc-on .proc-pin { position: relative; height: var(--proc-h, 300vh); }
  .proc-on .proc-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--hdr-h); }
  .proc-on .proc-top { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; max-width: var(--maxw); margin: 0 auto 28px; padding: 0 var(--pad); }
  .proc-on .proc-top h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.04em; }
  .proc-on .proc-top .pc-n { font-family: var(--f-mono); font-size: 13px; color: var(--mut); }
  .proc-on .proc-top .pc-n b { color: var(--hi); font-weight: 500; }
  .proc-on .process { display: flex; gap: 20px; width: max-content; max-width: none; margin: 0; padding: 0 max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
  .proc-on .pstep { width: clamp(340px, 30vw, 440px); min-height: min(50vh, 420px); padding: 32px 30px; display: flex; flex-direction: column; opacity: 1 !important; transform: none !important; }
  .proc-on .pstep .ps-n { font-family: var(--f-disp); font-size: clamp(90px, 9vw, 150px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--stroke-txt); transition: color .5s, -webkit-text-stroke-color .5s; }
  .proc-on .pstep.cur { border-color: var(--line3); background: var(--surf-h); }
  .proc-on .pstep.cur .ps-n { color: var(--hi); -webkit-text-stroke-color: transparent; }
  .proc-on .pstep h4 { margin-top: auto; font-size: 28px; }
  .proc-on .pstep .ps-ic { top: 28px; right: 26px; width: 54px; height: 54px; }
  .proc-on .pstep .ps-bar { transform: scaleX(var(--sp, 0)); transition: none; }
  .proc-on .proc-rail { display: block; position: relative; width: calc(100% - 2 * var(--pad)); max-width: calc(var(--maxw) - 2 * var(--pad)); margin: 34px auto 0; height: 2px; background: var(--line2); border-radius: 2px; }
  .proc-on .proc-rail i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--pp, 0) * 100%); background: linear-gradient(90deg, var(--ice2), var(--hi)); border-radius: 2px; }
  .proc-on .proc-rail b { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line3); transition: .4s; }
  .proc-on .proc-rail b.on { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 12px var(--ice2); }
}

/* Command palette */
.cmdk { position: fixed; inset: 0; z-index: 600; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 12px 12px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cmdk.on { opacity: 1; pointer-events: auto; }
.cmdk-bg { position: absolute; inset: 0; background: var(--scrim2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmdk-box { position: relative; width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; border-radius: 22px; background: var(--panel-bg); border: 1px solid var(--line2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); overflow: hidden; transform: translateY(-10px) scale(.98); transition: transform .45s var(--ease); }
.cmdk.on .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cmdk-in svg { width: 18px; height: 18px; color: var(--mut); flex-shrink: 0; }
.cmdk-in input { flex: 1; height: 60px; background: none; border: 0; outline: none; font-size: 17px; min-width: 0; }
.cmdk kbd { font-family: var(--f-mono); font-size: 10px; padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line2); color: var(--mut); }
.cmdk-list { overflow-y: auto; padding: 8px; }
.cmdk-g { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); padding: 12px 10px 6px; }
.cmdk-i { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; cursor: pointer; width: 100%; text-align: left; }
.cmdk-i.on { background: var(--hov2); }
.cmdk-i .ci-ic { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--chip-bg); display: grid; place-items: center; flex-shrink: 0; padding: 2px; font-family: var(--f-mono); color: var(--ice); font-size: 14px; }
.cmdk-i .ci-ic > svg:not(.bp-svg) { width: 18px; height: 18px; }
.cmdk-i .ci-ic .bp-svg { width: 100%; height: 100%; }
.cmdk-i .ci-ic .bp-tag, .cmdk-i .ci-ic .bp-dim, .cmdk-i .ci-ic .bp-corner { display: none; }
.cmdk-i .ci-t { min-width: 0; }
.cmdk-i b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk-i small { color: var(--mut); font-size: 12px; }
.cmdk-i .ci-go { margin-left: auto; font-family: var(--f-mono); font-size: 10px; color: var(--mut); opacity: 0; white-space: nowrap; }
.cmdk-i.on .ci-go { opacity: 1; }
.cmdk-empty { padding: 30px 14px; text-align: center; color: var(--mut); font-size: 14px; }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--mut); flex-wrap: wrap; }
.cmdk mark { background: none; color: var(--ice); font-weight: 700; }
@media (max-width: 600px) { .cmdk { padding-top: 12px; } .cmdk-foot { display: none; } }

/* AI assistant 2.0 */
.ai-form .ai-mic { background: transparent; color: var(--txt2); border: 1px solid var(--line2); }
.ai-form .ai-mic.rec { background: #c93a4b; color: #fff; border-color: transparent; animation: pulse 1.6s infinite; }
.msg .ai-act { display: inline-flex; margin: 8px 6px 0 0; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--pill); color: var(--on-pill); font-size: 12px; font-weight: 600; align-items: center; gap: 6px; text-decoration: none; }

/* Glossary tooltips */
.gl { text-decoration: underline dotted; text-decoration-color: var(--ice2); text-underline-offset: 4px; cursor: help; border-radius: 3px; }
.gl-tip { position: fixed; z-index: 980; max-width: min(320px, calc(100vw - 24px)); padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); color: var(--txt); }
.gl-tip.on { opacity: 1; transform: none; }
.gl-tip b { display: block; font-size: 11px; font-family: var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ice); margin-bottom: 4px; font-weight: 500; }

/* Recipe tools */
.rt-tools { display: grid; gap: 14px; margin-top: 14px; }
.rt-scale { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rt-scale label { font-size: 13px; color: var(--txt2); }
.rt-scale .inp { width: 100px; height: 42px; text-align: center; font-family: var(--f-mono); }
.rt-info { font-size: 12px; color: var(--mut); margin: 0; }
.ing-list .sc { color: var(--ice); font-weight: 600; }
.spice-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.spice-tbl td, .spice-tbl th { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spice-tbl th { font-family: var(--f-mono); font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.spice-tbl td:last-child, .spice-tbl th:last-child { text-align: right; font-family: var(--f-mono); }
.rc-fav { position: absolute; left: 20px; top: 14px; width: 16px; height: 16px; color: var(--ice); }
.rc-fav svg { width: 14px; height: 14px; }
.rc-fav path { fill: currentColor; }
.rcard.has-fav > .mono { padding-left: 22px; }
.r-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.r-acts .btn-ghost { padding: 10px 16px; font-size: 13px; }
.r-acts .fav-toggle { width: 44px; height: 44px; }

/* FAQ, 404, nalog, katalog, sklop */
.faq { display: grid; gap: 10px; }
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr-h) + 40px) var(--pad) 80px; position: relative; overflow: hidden; }
.nf-plate { width: min(300px, 66vw); margin: 0 auto 10px; }
.nf-plate .bp-svg { width: 100%; }
.nf-plate .bp-rot { animation: bpspin 6s linear infinite; }
.nf h1 { font-size: clamp(90px, 22vw, 220px); letter-spacing: -.06em; line-height: .8; }
.nf p { color: var(--txt2); max-width: 460px; margin: 18px auto 26px; }
.nf .cta-actions { margin-bottom: 26px; }
.nf-links { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.nf-links a { color: var(--txt2); }
.nf-links a:hover { color: var(--hi); }
.acc-grid { display: grid; gap: 14px; }
.panel { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); min-width: 0; }
.panel h3 { font-size: 24px; margin: 8px 0 14px; }
.ord { border-top: 1px solid var(--line); padding: 14px 0; display: grid; gap: 8px; }
.ord:first-of-type { border-top: 0; }
.ord-h { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.ord-h b { font-family: var(--f-mono); font-weight: 500; letter-spacing: .06em; }
.ord pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: 12px; color: var(--txt2); background: var(--field); padding: 14px; border-radius: 12px; border: 1px solid var(--line); margin: 6px 0 0; }
.ord-a { display: flex; gap: 8px; flex-wrap: wrap; }
.ord-a .btn-ghost { padding: 9px 14px; font-size: 12px; }
.kat-toc { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.kat-tools { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.kat-cat { margin-bottom: 50px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.kat-cat > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); margin-bottom: 14px; flex-wrap: wrap; }
.kat-cat > header h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; }
.kat-cat > header p { margin: 6px 0 0; color: var(--mut); font-size: 14px; }
.kat-grid { display: grid; gap: 12px; }
.kat-it { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surf); break-inside: avoid; page-break-inside: avoid; }
.kat-it .k-art { width: 96px; height: 96px; border-radius: 14px; border: 1px solid var(--line); background: var(--chip-bg); padding: 2px; }
.kat-it .k-art .bp-tag { display: none; }
.kat-it h3 { font-size: 16px; letter-spacing: -.01em; line-height: 1.25; }
.kat-it h3 a:hover { color: var(--ice); }
.kat-it p { margin: 4px 0 8px; font-size: 12px; color: var(--mut); }
.kat-it dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: 12px; }
.kat-it dt { color: var(--mut); }
.kat-it dd { margin: 0; color: var(--txt2); }
.kat-it .k-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.kat-it .price { font-size: 17px; }
.kat-it .k-code { font-family: var(--f-mono); font-size: 10px; color: var(--mut2); letter-spacing: .06em; display: block; }
.kat-it .add-btn { height: 34px; padding: 0 12px; font-size: 12px; }
.kat-print-h { display: none; }
@media (min-width: 768px) { .kat-grid { grid-template-columns: 1fr 1fr; } .acc-grid { grid-template-columns: 1fr 1fr; } .acc-grid .span2 { grid-column: 1 / -1; } }
@media (min-width: 1280px) { .kat-grid { grid-template-columns: repeat(3, 1fr); } }

.sk { display: grid; gap: 22px; }
.sk-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-stage { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--stage-bg); overflow: hidden; min-height: 300px; display: grid; align-items: center; padding: 40px 10px; perspective: 1400px; }
.sk-axis { position: absolute; left: 4%; right: 4%; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--bp-dim) 0 10px, transparent 10px 14px, var(--bp-dim) 14px 16px, transparent 16px 20px); }
.sk-row { position: relative; display: flex; justify-content: center; align-items: center; }
.sk-part { position: relative; width: var(--w, 120px); margin: 0 var(--gap, -30px); flex-shrink: 0; transition: width .6s var(--ease), margin .6s var(--ease), opacity .4s; }
.sk-part .sk-disc { transform: perspective(900px) rotateY(-58deg); transition: transform .6s var(--ease); }
.sk-part:hover .sk-disc { transform: perspective(900px) rotateY(-30deg); }
.sk-part .bp-svg { width: 100%; }
.sk-part .bp-tag, .sk-part .bp-dim, .sk-part .bp-corner, .sk-part .bp-cross { display: none; }
.sk-part.off { opacity: .14; filter: grayscale(1); }
.sk-part > span { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); white-space: nowrap; }
.sk-part:nth-child(even) > span { bottom: auto; top: calc(100% + 4px); }
.sk-hint { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; }
.sk-list { display: grid; gap: 10px; min-width: 0; }
.sk-it { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surf); transition: border-color .3s, opacity .3s; }
.sk-it.off { opacity: .55; }
.sk-it h4 { font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.sk-it small { display: block; color: var(--mut); font-size: 12px; margin-top: 2px; }
.sk-it .opt-list { margin-top: 8px; }
.sk-it .opt-list button { padding: 6px 10px; font-size: 12px; border-radius: 10px; }
.sk-it .sk-p { font-family: var(--f-mono); font-size: 13px; text-align: right; white-space: nowrap; }
.sk-sum { padding: 22px; border-radius: var(--r); display: grid; gap: 12px; align-self: start; }
@media (max-width: 559px) { .sk-it { grid-template-columns: auto 1fr; } .sk-it .sk-p { grid-column: 2; text-align: left; } }
@media (min-width: 1024px) { .sk { grid-template-columns: 1.4fr 1fr; align-items: start; } .sk-stage { grid-column: 1 / -1; min-height: 360px; } .sk-sum { position: sticky; top: calc(var(--hdr-h) + 20px); } }

@media (prefers-reduced-motion: reduce) {
  .wipe { clip-path: none !important; }
  .wipe::before { display: none; }
  .glare { display: none; }
  .nf-plate .bp-rot { animation: none; }
}

/* View Transition: crtež sa kartice „preleće” na mesto crteža stranice proizvoda
   (same-document VT pre navigacije; radi i na file://). .ptrans je fallback. */
.vt-stage { position: fixed; inset: 0; z-index: 940; background: var(--bg); pointer-events: none; }
.vt-stage .vt-box { position: absolute; display: grid; place-items: center; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--stage-bg); }
.vt-stage .vt-box .bp-svg { width: 82%; }
::view-transition-group(pd-art) { animation-duration: .62s; animation-timing-function: cubic-bezier(.22, .9, .24, 1); }
html.vt-nav::view-transition-old(root) { animation: .45s cubic-bezier(.76, 0, .24, 1) both vt-fade-out; }
html.vt-nav::view-transition-new(root) { animation: .45s cubic-bezier(.76, 0, .24, 1) both vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   PRINT — porudžbenica, recept, katalog
   ========================================================= */
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  html, body { background: #fff !important; color: #0c1a2e !important; }
  body { font-size: 11pt; overflow: visible !important; }
  #preloader, .ptrans, .cursor, .cursor-dot, .noise, .hdr, .mnav, .ftr, .overlay, .drawer, .totop, .ai-fab, .ai-tip, .ai-panel, .dock, .srail, .toasts, .buybar, .cmdk, .gl-tip, .no-print, .bpv-tools { display: none !important; }
  .print-only { display: block !important; }
  .rv, .rv-l, .rv-s, .wipe, .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  a { color: inherit !important; }
  .bp-svg { --bp-edge: rgba(28, 42, 62, .5); --bp-ln: rgba(38, 56, 82, .82); --bp-ghost: rgba(40, 80, 140, .3); --bp-hole: #3a4658; --bp-rim: rgba(28, 42, 62, .62); --bp-blade: #1b2a40; --bp-dim: rgba(42, 85, 146, .6); --bp-dim-l: #2a5592; --bp-txt: #2a5592; --bp-corner: rgba(42, 85, 146, .42); --bp-bristle: rgba(38, 56, 82, .7); }
  .bp-rot { animation: none !important; transform: none !important; }
  /* modal print (recipe card) */
  body.print-modal > *:not(.modal) { display: none !important; }
  body.print-modal .modal { position: static !important; opacity: 1 !important; display: block !important; padding: 0 !important; }
  body.print-modal .modal-bg, body.print-modal .modal-x, body.print-modal .no-print { display: none !important; }
  body.print-modal .modal-box { max-height: none !important; overflow: visible !important; background: #fff !important; border: 0 !important; padding: 0 !important; transform: none !important; width: 100% !important; color: #0c1a2e !important; }
  body.print-modal .modal-box * { color: #0c1a2e !important; }
  body.print-modal .qv { grid-template-columns: 1fr !important; }
  body.print-modal .glass { background: #fff !important; border: 1px solid #ccd5e1 !important; box-shadow: none !important; backdrop-filter: none !important; }
  body.print-modal .ing-list input { border-color: #0c1a2e !important; }
  /* order print */
  body.print-order > *:not(#printOrder) { display: none !important; }
  body.print-order #printOrder { display: block !important; }
  /* catalog print */
  body.page-catalog main > .phero, body.page-catalog .kat-tools, body.page-catalog .kat-toc { display: none !important; }
  body.page-catalog .kat-print-h { display: flex !important; justify-content: space-between; align-items: center; border-bottom: 1px solid #ccd5e1; padding-bottom: 6mm; margin-bottom: 6mm; }
  body.page-catalog .kat-print-h img { height: 14mm; width: auto; filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(1700%) hue-rotate(192deg) brightness(.96); }
  body.page-catalog .sec { padding: 0 !important; }
  body.page-catalog .container { max-width: none; padding: 0; }
  body.page-catalog .kat-cat { break-before: page; margin: 0; }
  body.page-catalog .kat-cat:first-of-type { break-before: auto; }
  body.page-catalog .kat-grid { grid-template-columns: 1fr 1fr !important; gap: 4mm; }
  body.page-catalog .kat-it { background: #fff !important; border: 1px solid #ccd5e1 !important; color: #0c1a2e !important; padding: 3mm; }
  body.page-catalog .kat-it * { color: #0c1a2e !important; }
  body.page-catalog .kat-it p, body.page-catalog .kat-it dt, body.page-catalog .kat-cat > header p { color: #4b5c75 !important; }
  body.page-catalog .kat-it .k-art { background: #f3f6fa !important; border-color: #ccd5e1 !important; }
  body.page-catalog .kat-it .add-btn { display: none !important; }
  body.page-catalog .kat-cat > header h2 { color: #0c1a2e !important; }
}
.po { font-family: var(--f-body); color: #0c1a2e; background: #fff; }
.po-h { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #0c1a2e; padding-bottom: 6mm; margin-bottom: 6mm; }
.po-h img { height: 15mm; width: auto; filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(1700%) hue-rotate(192deg) brightness(.96); }
.po-h .po-co { text-align: right; font-size: 9pt; line-height: 1.45; }
.po h1 { font-size: 20pt; letter-spacing: -.02em; margin: 0 0 2mm; color: #0c1a2e; }
.po .po-no { font-family: var(--f-mono); font-size: 10pt; }
.po table { width: 100%; border-collapse: collapse; margin: 6mm 0; font-size: 10pt; }
.po th, .po td { border-bottom: 1px solid #ccd5e1; padding: 2.4mm 2mm; text-align: left; color: #0c1a2e; }
.po th { font-size: 8pt; text-transform: uppercase; letter-spacing: .08em; color: #4b5c75; }
.po td.r, .po th.r { text-align: right; }
.po .po-tot { margin-left: auto; width: 74mm; font-size: 10pt; }
.po .po-tot div { display: flex; justify-content: space-between; padding: 1.2mm 0; }
.po .po-b { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; margin-top: 8mm; font-size: 10pt; }
.po .po-b h4 { font-size: 8pt; text-transform: uppercase; letter-spacing: .1em; color: #4b5c75; margin-bottom: 2mm; font-family: var(--f-body); }
.po .po-sig { margin-top: 16mm; display: flex; justify-content: space-between; font-size: 9pt; color: #4b5c75; }
.po .po-sig span { border-top: 1px solid #0c1a2e; padding-top: 2mm; width: 60mm; text-align: center; }
.po .po-note { margin-top: 8mm; font-size: 8.5pt; color: #4b5c75; }
.kat-toc a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; color: var(--txt2); transition: .35s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.kat-toc a:hover { color: var(--hi); border-color: var(--line3); }
.kat-toc a .c { font-family: var(--f-mono); font-size: 10px; opacity: .7; }
.mnav ul li:nth-child(9) a { transition-delay: .4s; } .mnav ul li:nth-child(10) a { transition-delay: .45s; }
.mnav ul a { padding: 11px 0; font-size: clamp(26px, 7.2vw, 40px); }
.cta, .hero, .phero { color-scheme: dark; }
.pd-extra .btn-ghost svg, .handoff svg, .r-acts .btn-ghost svg, .qo-bar .btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; }
.sk-row { --w: clamp(44px, 12.5vw, 140px); --gap: calc(var(--w) * -0.12); }
.sk-stage { padding: 44px 6px 48px; }
@media (max-width: 559px) { .sk-hint .mono:nth-child(2) { display: none; } .sk-part > span { font-size: 8px; letter-spacing: .06em; } }
/* zatvoren mobilni meni: van fokusa i stabla pristupačnosti */
.mnav { visibility: hidden; transition: clip-path .9s var(--ease-io), visibility 0s linear .9s; }
.menu-open .mnav { visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
