/* ==========================================================================
   Unitus Industries — main stylesheet
   Light/dark themes via [data-theme] on <html>. Mobile-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
/* Brand: Unitus royal blue + Unitus red + navy (from logo and Nice Paint flyer) */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --surface-3: #e2e8f4;
  --ink: #0f1730;
  --ink-2: #2a3556;
  --muted: #5d6785;
  --line: #e0e6f0;
  --primary: #1d3c9e;
  --primary-600: #162f80;
  --primary-ink: #ffffff;
  --primary-soft: #e6ecfa;
  --accent: #e3262f;
  --accent-600: #c41e26;
  --accent-ink: #ffffff;
  --gold: #f5b301;
  --deep: #0d1942;
  --deep-2: #18296a;
  --wa: #1fa855;
  --warn: #b7791f;
  --warn-soft: #fdf3e1;
  --danger: #c2410c;
  --danger-soft: #fdece4;
  --ok: #15803d;
  --ok-soft: #e1f5e8;
  --shadow-sm: 0 1px 2px rgba(12, 22, 56, .06), 0 1px 3px rgba(12, 22, 56, .05);
  --shadow: 0 8px 24px -8px rgba(12, 22, 56, .16), 0 2px 6px rgba(12, 22, 56, .05);
  --shadow-lg: 0 24px 60px -20px rgba(12, 22, 56, .32);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0e1a;
  --surface: #111628;
  --surface-2: #161c33;
  --surface-3: #1e2642;
  --ink: #e8ecf7;
  --ink-2: #c5cce2;
  --muted: #98a2bf;
  --line: #252e4c;
  --primary: #7393f2;
  --primary-600: #8aa5f5;
  --primary-ink: #07102b;
  --primary-soft: #182450;
  --accent: #ff4d55;
  --accent-600: #ff666d;
  --accent-ink: #ffffff;
  --deep: #0a1028;
  --deep-2: #121c44;
  --warn-soft: #2d2412;
  --danger-soft: #301a12;
  --ok-soft: #10301d;
  --warn: #e0a53c;
  --danger: #f08a5d;
  --ok: #4ccb7f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.pt-0 { padding-top: 0 !important; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
code { background: rgba(0,0,0,.15); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  --bg-b: var(--surface-2); --fg-b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65em 1.25em;
  border-radius: 999px; font-weight: 700; font-size: .95rem; background: var(--bg-b); color: var(--fg-b); border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { --bg-b: var(--primary); --fg-b: var(--primary-ink); box-shadow: 0 8px 20px -10px var(--primary); }
.btn-primary:hover { --bg-b: var(--primary-600); }
.btn-accent { --bg-b: var(--accent); --fg-b: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-accent:hover { --bg-b: var(--accent-600); }
.btn-ghost { --bg-b: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-soft { --bg-b: var(--primary-soft); --fg-b: var(--primary); }
.btn-wa { --bg-b: var(--wa); --fg-b: #fff; }
.btn-wa:hover { --bg-b: #17914a; }
.btn-glass { --bg-b: rgba(255,255,255,.14); --fg-b: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { --bg-b: rgba(255,255,255,.24); }
.btn-icon { width: 44px; height: 44px; min-height: 0; padding: 0; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading .ic { animation: spin 1s linear infinite; }
.link-btn { color: var(--muted); padding: 6px; border-radius: 8px; }
.link-btn:hover { color: var(--danger); background: var(--danger-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--primary); }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink);
  transition: background-color .2s, color .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--primary); }
.icon-btn.glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.icon-btn.glass:hover { background: rgba(255,255,255,.28); }
.dot-count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 800; font-style: normal; display: grid; place-items: center; border: 2px solid var(--surface); line-height: 1;
}
.dot-count.bump { animation: bump .45s var(--ease); }

/* ---------- Top bar & header ---------- */
.demo-bar { background: #fff4d6; color: #5c4300; font-size: .82rem; text-align: center; padding: 6px 12px; }
[data-theme="dark"] .demo-bar { background: #3a2f10; color: #f3dc9a; }
.topbar { background: var(--deep); color: #d6ddf2; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.tb-left { display: flex; gap: 1.25rem; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: var(--accent); }
.topbar .ic { width: 15px; height: 15px; color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-in { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.brand img { height: 46px; width: auto; max-width: none; display: block; }
.menu-btn { display: none; margin-left: -8px; }
.main-nav { display: flex; gap: .25rem; align-items: center; }
.main-nav > a, .has-mega > a {
  display: inline-flex; align-items: center; gap: .3em; padding: .55em .9em; border-radius: 999px; font-weight: 600; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.main-nav > a:hover, .has-mega > a:hover, .main-nav a.active { color: var(--primary); background: var(--primary-soft); }
.caret { width: 16px; height: 16px; transition: transform .2s; }
.has-mega { position: relative; }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }
.mega {
  position: absolute; left: -40px; top: calc(100% + 12px); width: min(760px, 80vw); display: grid; grid-template-columns: 1fr 230px; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; align-content: start; }
.mega-link { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.mega-link small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.mega-link:hover { background: var(--surface-2); }
.mega-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--primary-soft); color: var(--primary); flex: none; }
.mega-promo { position: relative; border-radius: 16px; overflow: hidden; min-height: 240px; color: #fff; display: flex; align-items: flex-end; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.06); }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(8, 16, 45, .9)); }
.mega-promo span { position: relative; z-index: 1; padding: 1rem; font-size: .82rem; display: grid; gap: .2rem; }
.mega-promo strong { font-size: 1.05rem; }
.mega-promo .ic { margin-top: .3rem; }

.search { position: relative; flex: 1; max-width: 420px; margin-left: auto; display: flex; align-items: center; }
.search > .ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 44px 0 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); outline: 0;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.search input:focus ~ kbd, .search input:not(:placeholder-shown) ~ kbd { display: none; }
.search kbd { position: absolute; right: 14px; font-family: inherit; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: .4rem; display: none; z-index: 70; max-height: 70vh; overflow: auto;
}
.suggest.open { display: block; animation: pop .18s var(--ease); }
.sg-item { display: flex; align-items: center; gap: .75rem; padding: .5rem; border-radius: 12px; }
.sg-item:hover, .sg-item.hl { background: var(--surface-2); }
.sg-item .thumb { width: 46px; height: 46px; border-radius: 10px; flex: none; }
.sg-item strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.sg-item small { color: var(--muted); }
.sg-item .sg-price { margin-left: auto; font-weight: 700; color: var(--primary); font-size: .88rem; white-space: nowrap; }
.sg-all { display: block; text-align: center; padding: .6rem; font-weight: 700; color: var(--primary); border-top: 1px solid var(--line); margin-top: .3rem; }
.sg-empty { padding: 1rem; text-align: center; color: var(--muted); font-size: .9rem; }

.header-actions { display: flex; align-items: center; gap: .15rem; }
.search-toggle { display: none; }
.theme-toggle .t-moon { display: none; }
[data-theme="dark"] .theme-toggle .t-sun { display: none; }
[data-theme="dark"] .theme-toggle .t-moon { display: block; }
.theme-toggle span { display: grid; place-items: center; animation: spinIn .4s var(--ease); }
.acct { position: relative; }
.acct-pop {
  position: absolute; right: 0; top: calc(100% + 10px); width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: .6rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 5;
}
.acct-pop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.acct:hover .acct-pop, .acct:focus-within .acct-pop { opacity: 1; visibility: visible; transform: none; }
.acct-pop a:not(.btn) { display: flex; gap: .6rem; align-items: center; padding: .55rem .6rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.acct-pop a:not(.btn):hover { background: var(--surface-2); color: var(--primary); }
.acct-pop p { margin: .6rem 0 .2rem; text-align: center; }
.acct-pop p a { color: var(--primary); font-weight: 700; }
.acct-hi { padding: .4rem .6rem .6rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; font-size: .92rem; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; height: 46px; padding: 0 1rem 0 .85rem; margin-left: .35rem;
  border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; transition: background-color .2s, transform .2s;
}
.cart-btn:hover { background: var(--primary-600); transform: translateY(-1px); }
.cart-btn .ic { width: 22px; height: 22px; }
.cart-txt { display: grid; line-height: 1.05; text-align: left; }
.cart-txt small { font-size: .7rem; opacity: .8; font-weight: 600; }
.cart-txt strong { font-size: .9rem; }
.cart-btn .dot-count { top: -4px; right: -4px; }

/* ---------- Mobile nav / drawer / scrim ---------- */
.scrim { position: fixed; inset: 0; background: rgba(4, 8, 24, .55); z-index: 90; opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; }
.mobile-nav, .drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(400px, 90vw); background: var(--surface); display: flex; flex-direction: column;
  transition: transform .38s var(--ease); box-shadow: var(--shadow-lg);
}
.mobile-nav { left: 0; transform: translateX(-102%); }
.drawer { right: 0; transform: translateX(102%); }
.mobile-nav.open, .drawer.open { transform: none; }
.mn-head, .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.mn-user { display: flex; gap: .6rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.mn-user .btn { flex: 1; }
.mn-user div { display: grid; }
.mn-user div a { color: var(--primary); font-size: .85rem; font-weight: 600; }
.mn-links { flex: 1; overflow: auto; padding: .6rem; }
.mn-links > a, .mn-links summary { display: flex; align-items: center; gap: .8rem; padding: .85rem .8rem; border-radius: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.mn-links summary::-webkit-details-marker { display: none; }
.mn-links summary .caret { margin-left: auto; }
.mn-links details[open] summary .caret { transform: rotate(180deg); }
.mn-links details a { display: block; padding: .55rem .8rem .55rem 3rem; color: var(--muted); font-weight: 500; border-radius: 10px; }
.mn-links a:hover, .mn-links a.active, .mn-links summary:hover { background: var(--surface-2); color: var(--primary); }
.mn-links .ic { color: var(--primary); }
.mn-foot { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; border-top: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: .5rem 1.1rem; }
.drawer-foot { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: .6rem; background: var(--surface-2); }
.drawer-foot p { margin: 0; }
.drawer-foot .row-between strong { font-size: 1.25rem; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.mini-item .thumb { width: 64px; height: 64px; border-radius: 12px; }
.mini-name { font-weight: 600; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-meta { color: var(--muted); font-size: .8rem; margin: .1rem 0 .35rem; }
.mini-end { display: grid; justify-items: end; gap: .3rem; font-size: .92rem; }
.empty { text-align: center; padding: 3rem 1rem; }
.empty-ic { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.empty-ic .ic { width: 38px; height: 38px; }
.empty p { color: var(--muted); }

/* ---------- Qty stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.qty button:hover:not([disabled]) { color: var(--primary); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty input, .qty span { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 30px; height: 30px; }
.qty-sm span { width: 26px; font-size: .9rem; }
.qty-sm .ic { width: 15px; height: 15px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(540px, 86vh, 780px); overflow: hidden; background: var(--deep); color: #fff; isolation: isolate; }
.hero-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-shade {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(8, 16, 45, .92) 0%, rgba(8, 16, 45, .72) 38%, rgba(8, 16, 45, .15) 75%),
              linear-gradient(0deg, rgba(8, 16, 45, .65) 0%, transparent 35%);
}
.slide-in { position: relative; height: 100%; display: flex; align-items: center; padding-bottom: 70px; }
.cap { max-width: 640px; }
.cap-eyebrow {
  display: inline-flex; align-items: center; gap: .45em; padding: .4em .9em; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(227, 38, 47, .18); color: #ffd6d8; border: 1px solid rgba(227, 38, 47, .4); margin-bottom: 1.1rem;
}
.cap-eyebrow .ic { width: 15px; height: 15px; }
.cap-title { font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.035em; margin-bottom: 1.1rem; color: #fff; }
.cap-text { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(236, 240, 252, .9); max-width: 540px; margin-bottom: 1.8rem; }
.cap-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* caption animations: each slide gets its own style */
.cap > * { opacity: 0; transition: opacity .8s var(--ease), transform .9s var(--ease), filter .9s var(--ease), clip-path 1s var(--ease); }
.slide.is-active .cap > * { opacity: 1; transform: none; filter: none; }
.slide.is-active .cap > :nth-child(1) { transition-delay: .25s; }
.slide.is-active .cap > :nth-child(2) { transition-delay: .4s; }
.slide.is-active .cap > :nth-child(3) { transition-delay: .6s; }
.slide.is-active .cap > :nth-child(4) { transition-delay: .78s; }
/* 1 — rise (fade up) */
[data-anim="rise"] .cap > * { transform: translateY(40px); }
/* 2 — slide in from the side */
[data-anim="slide"] .cap > * { transform: translateX(-80px); }
[data-anim="slide"] .cap-title { transform: translateX(120px); }
/* 3 — zoom / scale */
[data-anim="zoom"] .cap > * { transform: scale(.82); transform-origin: left center; }
/* 4 — blur focus */
[data-anim="blur"] .cap > * { filter: blur(14px); transform: translateY(10px); }
/* 5 — word-by-word reveal (JS wraps words) */
[data-anim="words"] .cap > * { transform: translateY(20px); }
[data-anim="words"] .cap-title { opacity: 1; transform: none; }
.cap-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.cap-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(.3s + var(--i) * 85ms); }
.slide.is-active .cap-title .w > span { transform: none; }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-dots { display: flex; gap: .6rem; flex: 1; max-width: 760px; }
.hero-dots button { flex: 1; text-align: left; color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 600; padding-top: 12px; position: relative; transition: color .3s; min-width: 0; }
.hero-dots button span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dots button i { position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero-dots button i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active { color: #fff; }
.hero-dots button.is-active i::after { animation: progress var(--hero-dur, 6500ms) linear forwards; }
.hero.paused .hero-dots button.is-active i::after { animation-play-state: paused; }
.hero-dots button.done i::after { transform: scaleX(1); }
.hero-arrows { display: flex; align-items: center; gap: .5rem; }
.hero-count { font-size: .85rem; color: rgba(255,255,255,.7); margin-right: .4rem; font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; font-size: 1.1rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: .9rem; align-items: center; padding: 1.4rem 1rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-size: .98rem; }
.trust-item small { color: var(--muted); font-size: .82rem; }
.trust-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface-2); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(227,38,47,.2), transparent 60%), var(--deep); color: #e6eaf7; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light .link-arrow { color: var(--accent); }
.center-head { justify-content: center; text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; }
.section-dark .eyebrow { color: var(--accent); }

/* ---------- Category tiles ---------- */
.cat-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cat-tile {
  --tone: var(--primary); --tone-bg: var(--primary-soft);
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.25rem; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.cat-tile::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -50px; bottom: -50px; background: var(--tone-bg); transition: transform .5s var(--ease); z-index: 0; }
.cat-tile > * { position: relative; z-index: 1; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-tile:hover::after { transform: scale(2.6); }
.cat-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tone-bg); color: var(--tone); margin-bottom: .7rem; transition: background-color .3s; }
.cat-tile:hover .cat-ic { background: var(--surface); }
.cat-ic .ic { width: 26px; height: 26px; }
.cat-tile strong { font-size: .95rem; line-height: 1.25; }
.cat-tile small { color: var(--muted); font-size: .8rem; }
.tone-1 { --tone: #0e7490; --tone-bg: #dff3f8; }
.tone-2 { --tone: #b45309; --tone-bg: #fdf0dc; }
.tone-3 { --tone: #7c3aed; --tone-bg: #efe8fd; }
.tone-4 { --tone: #be185d; --tone-bg: #fce7f1; }
.tone-5 { --tone: #4d7c0f; --tone-bg: #ecf7d9; }
[data-theme="dark"] .tone-1 { --tone: #67d3ea; --tone-bg: #0f2b33; }
[data-theme="dark"] .tone-2 { --tone: #f5b65c; --tone-bg: #33250f; }
[data-theme="dark"] .tone-3 { --tone: #b79cf7; --tone-bg: #261c3d; }
[data-theme="dark"] .tone-4 { --tone: #f290bd; --tone-bg: #3a1828; }
[data-theme="dark"] .tone-5 { --tone: #a9db63; --tone-bg: #1f2e10; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .35rem; padding: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; transition: .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--primary); color: var(--primary-ink); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .45s var(--ease); }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.shop-layout .p-grid { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.p-media { position: relative; }
.p-img { display: block; aspect-ratio: 1; background: var(--surface-2); }
.thumb { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--surface-2), var(--surface-3)); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; background: #fff; transition: transform .5s var(--ease); z-index: 1; }
.p-card:hover .thumb img { transform: scale(1.06); }
.ph { width: 46%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.ph .ic { width: 46%; height: 46%; }
.thumb.sm .ph, .thumb.xs .ph { width: 70%; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .72rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; }
.badge-low { background: var(--warn-soft); color: var(--warn); }
.badge-out { background: var(--danger-soft); color: var(--danger); }
.p-actions { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; gap: .4rem; }
.p-actions .icon-btn { width: 38px; height: 38px; background: var(--surface); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(8px); transition: .25s var(--ease); }
.p-actions .icon-btn .ic { width: 18px; height: 18px; }
.p-actions .icon-btn:nth-child(2) { transition-delay: .05s; }
.p-card:hover .p-actions .icon-btn, .p-actions .icon-btn:focus-visible, .wish-btn.on { opacity: 1; transform: none; }
.wish-btn.on { color: #e11d48; }
.wish-btn.on .ic { fill: currentColor; }
.p-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .74rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.p-name { font-size: .95rem; font-weight: 600; line-height: 1.35; margin-bottom: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.p-name a:hover { color: var(--primary); }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.price-muted { font-size: .85rem; font-weight: 700; color: var(--muted); }
.p-foot .btn-icon { width: 42px; height: 42px; flex: none; }
.p-foot .btn-icon .ic { width: 20px; height: 20px; }
.add-btn.added { --bg-b: var(--accent); --fg-b: var(--accent-ink); }

/* list view (shop) */
.p-grid.list { grid-template-columns: 1fr; }
.p-grid.list .p-card { flex-direction: row; }
.p-grid.list .p-media { width: 190px; flex: none; }
.p-grid.list .p-body { padding: 1.1rem 1.3rem; }
.p-grid.list .p-name { font-size: 1.05rem; -webkit-line-clamp: 3; min-height: 0; }

/* ---------- Promo ---------- */
.promo-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.1rem; }
.promo { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; }
.promo-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo:hover img { transform: scale(1.04); }
.promo-side { display: grid; gap: 1.1rem; }
.promo-card { padding: 1.6rem; min-height: 200px; display: flex; flex-direction: column; align-items: flex-start; background: var(--primary-soft); }
.promo-card h3 { font-size: 1.3rem; max-width: 56%; margin-bottom: .8rem; position: relative; z-index: 1; }
.promo-card .eyebrow, .promo-card .link-arrow { position: relative; z-index: 1; }
.promo-card .link-arrow { margin-top: auto; }
.promo-card img { position: absolute; right: -6px; bottom: -14px; width: 40%; max-width: 190px; border-radius: 18px; mix-blend-mode: multiply; transform: rotate(-6deg); }
[data-theme="dark"] .promo-card img { mix-blend-mode: normal; border-radius: 18px; }
.promo-card.tone-lime { background: #eef7dd; }
[data-theme="dark"] .promo-card.tone-lime { background: #1d2a12; }
.promo-ic { position: absolute; right: 1.4rem; bottom: 1.2rem; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 28px; background: var(--wa); color: #fff; transform: rotate(-8deg); box-shadow: 0 18px 30px -12px var(--wa); }
.promo-ic .ic { width: 48px; height: 48px; }
.ads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.1rem; }
.ad { border-radius: var(--r); overflow: hidden; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.svc { padding: 1.7rem; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: background-color .3s, transform .3s var(--ease), border-color .3s; }
.svc:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(227,38,47,.4); }
.svc h3 { color: #fff; margin: 1rem 0 .4rem; }
.svc p { color: rgba(222, 228, 247, .75); margin: 0; font-size: .93rem; }
.svc-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #ff8a90; }
.svc-ic .ic { width: 26px; height: 26px; }
/* light-surface variant used on services page */
.svc-grid.on-light .svc { background: var(--surface); border-color: var(--line); }
.svc-grid.on-light .svc h3 { color: var(--ink); }
.svc-grid.on-light .svc p { color: var(--muted); }
.svc-grid.on-light .svc-ic { background: var(--primary-soft); color: var(--primary); }
.svc-grid.on-light .svc:hover { box-shadow: var(--shadow); border-color: transparent; }

/* ---------- About split ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.collage .c1 { left: 0; top: 0; width: 62%; height: 82%; }
.collage .c2 { right: 0; bottom: 0; width: 58%; height: 56%; border: 6px solid var(--bg); }
.c-badge { position: absolute; left: 8%; bottom: 6%; display: flex; gap: .7rem; align-items: center; background: var(--surface); padding: .8rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite; }
.c-badge .ic { width: 34px; height: 34px; color: var(--primary); }
.c-badge span { display: grid; font-size: .82rem; color: var(--muted); line-height: 1.25; }
.c-badge strong { color: var(--ink); font-size: 1rem; }
.about-copy p { color: var(--muted); font-size: 1.02rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.ticks .ic { color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.8rem; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--primary); letter-spacing: -.03em; line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.step-n { position: absolute; top: 1.1rem; right: 1.3rem; font-size: 2.6rem; font-weight: 800; color: var(--surface-3); line-height: 1; }
.step-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); margin-bottom: 1rem; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; max-width: 1000px; margin: 0 auto; }
.quote { margin: 0; padding: 2rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: relative; }
.q-ic { width: 40px; height: 40px; color: var(--accent); margin-bottom: .6rem; }
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.12rem; font-weight: 500; line-height: 1.55; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; }
.quote figcaption > span:last-child { display: grid; line-height: 1.3; }
.quote small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 1.1rem; flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--r-lg); color: #fff; flex-wrap: wrap;
  background: radial-gradient(600px 300px at 100% 0, rgba(227,38,47,.35), transparent 60%), linear-gradient(120deg, var(--primary), var(--deep-2));
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; opacity: .85; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--primary); color: var(--primary-ink); }
[data-theme="dark"] .newsletter { background: var(--deep-2); color: var(--ink); }
.nl-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.2rem; flex-wrap: wrap; }
.nl-in h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.nl-in p { margin: 0; opacity: .85; max-width: 560px; }
.nl-form { display: flex; gap: .5rem; flex: 1; max-width: 460px; min-width: 280px; background: rgba(255,255,255,.14); padding: .35rem; border-radius: 999px; }
.nl-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 1rem; color: inherit; }
.nl-form input::placeholder { color: inherit; opacity: .7; }
.site-footer { background: var(--deep); color: #b9c2de; padding-top: 3.5rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.f-logo { height: 62px; width: auto; background: #fff; padding: 6px 12px; border-radius: 14px; margin-bottom: 1rem; }
.f-about p { color: #a3add0; }
.socials { display: flex; gap: .5rem; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); color: #e6f2ea; transition: .2s; }
.socials a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.f-col { display: grid; align-content: start; gap: .55rem; }
.f-col summary, .f-col h4 { color: #fff; font-weight: 700; font-size: 1rem; margin: 0 0 .4rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.f-col summary::-webkit-details-marker { display: none; }
.f-col summary .caret { display: none; }
.f-col a:hover { color: var(--accent); }
details.f-col > a { display: block; padding: .15rem 0; }
.f-contact p { display: flex; gap: .7rem; margin: 0 0 .25rem; align-items: flex-start; }
.f-contact .ic { color: var(--accent); margin-top: 3px; }
.f-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.3rem; font-size: .84rem; color: #8d97b8; }
.f-bottom p { margin: 0; }
.f-bottom .f-pay { display: inline-flex; align-items: center; gap: .4rem; }
.f-pay .ic { color: var(--accent); }

/* floating bits */
.wa-float {
  position: fixed; right: 20px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: .6rem; height: 56px; padding: 0 1.2rem 0 1rem;
  border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .7); transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
body.home .wa-float { opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, visibility .3s, transform .3s var(--ease); }
body.home .wa-float.show { opacity: 1; visibility: visible; transform: none; }
.wa-float .ic { width: 26px; height: 26px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,168,85,.6); animation: ping 2.4s infinite; }
.to-top {
  position: fixed; right: 20px; bottom: 90px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  color: var(--ink); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.to-top .ic { transform: rotate(180deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.bottom-nav { display: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 16px; z-index: 200; display: grid; gap: .6rem; width: min(380px, calc(100vw - 32px)); }
.toast {
  display: flex; gap: .8rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 14px;
  padding: .85rem 1rem; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); font-size: .92rem; font-weight: 500;
}
.toast.err { border-left-color: var(--danger); }
.toast .ic { color: var(--primary); }
.toast.err .ic { color: var(--danger); }
.toast a { margin-left: auto; font-weight: 700; color: var(--primary); white-space: nowrap; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 14px; margin: 1rem 0; font-weight: 500; background: var(--primary-soft); color: var(--ink); }
.alert .ic { color: var(--primary); margin-top: 2px; }
.alert-error { background: var(--danger-soft); }
.alert-error .ic { color: var(--danger); }
.alert-warn { background: var(--warn-soft); }
.alert-warn .ic { color: var(--warn); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(4, 8, 24, .6); backdrop-filter: blur(3px); animation: fade .2s; }
.modal-box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--surface); }
.modal-body { padding: 0; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv .thumb { aspect-ratio: 1; }
.qv-info { padding: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.qv-info h2 { font-size: 1.5rem; margin: 0; }
.qv-info .price { font-size: 1.6rem; }
.qv-info p { color: var(--muted); margin: 0; font-size: .93rem; }
.qv-buy { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }

/* ---------- Page banner & breadcrumbs ---------- */
.page-banner {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 0, rgba(227,38,47,.35), transparent 60%), linear-gradient(120deg, var(--primary) 0%, var(--deep) 100%);
}
.page-banner::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.page-banner h1 { color: #fff; margin: .4rem 0 .3rem; }
.page-banner p { margin: 0; opacity: .85; max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .85rem; color: rgba(255,255,255,.75); }
.crumbs .ic { width: 14px; height: 14px; opacity: .6; }
.crumbs a:hover { color: #fff; }
.crumbs-plain { color: var(--muted); padding: 1.1rem 0 0; }
.crumbs-plain a:hover { color: var(--primary); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; padding-block: 2rem 4rem; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.2rem 0 .6rem; }
.filters h4:first-of-type { margin-top: 0; }
.f-head { display: none; }
.cat-list { display: grid; gap: .15rem; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: .5rem .7rem; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.cat-list a small { color: var(--muted); font-size: .76rem; background: var(--surface-2); padding: 0 .5em; border-radius: 999px; }
.cat-list a:hover, .cat-list a.active { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.price-row { display: flex; gap: .5rem; align-items: center; }
.price-row input { width: 100%; min-width: 0; }
.check { display: flex; gap: .6rem; align-items: center; font-size: .92rem; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.toolbar p { margin: 0; color: var(--muted); font-size: .92rem; }
.toolbar p strong { color: var(--ink); }
.tool-r { display: flex; gap: .5rem; align-items: center; }
.view-toggle { display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.view-toggle button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.view-toggle button.on { background: var(--primary-soft); color: var(--primary); }
.filter-btn { display: none; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .5rem .35rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .85rem; font-weight: 600; }
.chip .ic { width: 16px; height: 16px; }
.pager { display: flex; justify-content: center; gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; border: 1.5px solid var(--line); background: var(--surface); }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .cur { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.pager .gap { border: 0; background: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .88rem; }
.input, .field input, .field select, .field textarea, .filters input[type=number], .sort-select {
  width: 100%; min-height: 48px; padding: .7rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .filters input[type=number]:focus, .sort-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field input[readonly] { background: var(--surface-2); color: var(--muted); }
.sort-select { width: auto; min-height: 44px; border-radius: 999px; padding-right: 2.2rem; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.err { color: var(--danger); font-weight: 600; }
.field.has-err input { border-color: var(--danger); }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h) - 38px); }
.auth-art { position: relative; color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,45,.1), rgba(8,16,45,.92)); }
.auth-art > div { position: relative; z-index: 1; max-width: 460px; }
.auth-art h2 { color: #fff; }
.auth-art p { opacity: .85; }
.auth-form { display: grid; place-items: center; padding: 3rem var(--gutter); }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 2rem; margin-bottom: .3rem; }
.auth-card > p { color: var(--muted); margin-bottom: 1.8rem; }
.auth-card form { display: grid; gap: 1rem; }
.auth-alt { text-align: center; color: var(--muted); margin-top: 1.2rem; }
.auth-alt a { color: var(--primary); font-weight: 700; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; margin: .4rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Product page ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: 1.5rem 0 3rem; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: .8rem; }
.g-main { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: #fff; cursor: zoom-in; position: relative; }
.g-main .thumb img { transition: transform .2s ease-out; padding: 6%; }
.g-main.zoom .thumb img { transform: scale(1.9); }
.g-thumbs { display: flex; gap: .6rem; overflow-x: auto; }
.g-thumbs button { width: 78px; height: 78px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); flex: none; background: #fff; }
.g-thumbs button.on { border-color: var(--primary); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info .p-cat { display: inline-block; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .3rem 0 .8rem; }
.pd-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; padding: .3em .8em; border-radius: 999px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { background: var(--ok-soft); color: var(--ok); }
.stock-low { background: var(--warn-soft); color: var(--warn); }
.stock-out { background: var(--danger-soft); color: var(--danger); }
.pd-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.pd-price.price-muted { font-size: 1.3rem; }
.pd-buy { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; padding: 1.2rem 0; border-block: 1px solid var(--line); margin-bottom: 1.4rem; }
.pd-buy .btn-lg { flex: 1; min-width: 180px; }
.pd-buy .wish-btn { flex: none; min-width: 0; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.6rem; }
.perk { display: flex; gap: .7rem; align-items: center; padding: .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; }
.perk .ic { color: var(--primary); width: 26px; height: 26px; }
.perk strong { display: block; font-size: .9rem; }
.perk span { color: var(--muted); }
.pd-desc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.pd-desc h3 { margin-bottom: .6rem; }
.pd-desc p, .pd-desc { color: var(--ink-2); }
.pd-desc .note { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .8rem; margin: .8rem 0 0; }
.sticky-buy { display: none; }

/* ---------- Cart / checkout pages ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; }
.card h3 { margin-bottom: 1rem; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 0 .8rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ct-prod { display: flex; gap: 1rem; align-items: center; }
.ct-prod .thumb { width: 76px; height: 76px; border-radius: 14px; flex: none; }
.ct-prod a { font-weight: 600; }
.ct-prod small { display: block; color: var(--muted); }
.summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: .9rem; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); }
.sum-row strong { color: var(--ink); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .9rem; border-top: 1px dashed var(--line); font-weight: 800; font-size: 1.1rem; }
.sum-total span:last-child { font-size: 1.5rem; color: var(--primary); }
.secure { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .82rem; justify-content: center; }
.secure .ic { color: var(--primary); }
.radio-cards { display: grid; gap: .6rem; }
.radio-card { display: flex; gap: .9rem; align-items: center; padding: 1rem; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s; }
.radio-card:hover { border-color: var(--primary); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio-card .ic { width: 28px; height: 28px; color: var(--primary); flex: none; }
.radio-card strong { display: block; }
.radio-card small { color: var(--muted); }
.mini-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-height: 320px; overflow: auto; }
.mini-sum li { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; font-size: .9rem; }
.mini-sum .thumb { width: 52px; height: 52px; border-radius: 10px; }
.mini-sum .q { position: relative; }
.mini-sum .q i { position: absolute; top: -6px; right: -6px; background: var(--ink); color: var(--bg); font-size: .7rem; font-style: normal; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; z-index: 2; }
.checkout-steps { display: flex; gap: .5rem; align-items: center; justify-content: center; margin: 1.5rem 0 0; font-size: .88rem; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.checkout-steps span { display: inline-flex; gap: .4rem; align-items: center; }
.checkout-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-size: .8rem; }
.checkout-steps .on { color: var(--ink); }
.checkout-steps .on b { background: var(--primary); color: var(--primary-ink); }
.checkout-steps .done b { background: var(--accent); color: var(--accent-ink); }
.checkout-steps .sep { width: 32px; height: 2px; background: var(--line); }
.bank-card { background: linear-gradient(135deg, var(--deep-2), var(--primary)); color: #fff; border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: .8rem; }
.bank-card small { opacity: .75; display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.bank-card strong { font-size: 1.15rem; }
.acct-no { display: flex; align-items: center; gap: .6rem; font-size: 1.7rem; font-weight: 800; letter-spacing: .06em; }
.copy-btn { font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-weight: 700; letter-spacing: 0; }
.drop { display: grid; place-items: center; gap: .4rem; text-align: center; padding: 1.8rem 1rem; border: 2px dashed var(--line); border-radius: var(--r); cursor: pointer; transition: .2s; color: var(--muted); }
.drop:hover, .drop.over { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.drop .ic { width: 34px; height: 34px; color: var(--primary); }
.drop input { display: none; }
.success-ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); margin: 0 auto 1rem; animation: pop .5s var(--ease); }
.success-ic .ic { width: 42px; height: 42px; }

/* ---------- Account ---------- */
.acct-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding-block: 2rem 4rem; align-items: start; }
.acct-nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: .2rem; }
.acct-nav a { display: flex; gap: .7rem; align-items: center; padding: .75rem .9rem; border-radius: 12px; font-weight: 600; color: var(--ink-2); }
.acct-nav a:hover, .acct-nav a.on { background: var(--primary-soft); color: var(--primary); }
.acct-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.acct-head .avatar { width: 60px; height: 60px; font-size: 1.4rem; }
.acct-head h2 { margin: 0; font-size: 1.5rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { padding: 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-size: 1.5rem; margin-top: .2rem; }
.orders { width: 100%; border-collapse: collapse; font-size: .92rem; }
.orders th { text-align: left; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.orders td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); }
.status { display: inline-block; font-size: .76rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; }
.status-ok { background: var(--ok-soft); color: var(--ok); }
.status-warn { background: var(--warn-soft); color: var(--warn); }
.status-bad { background: var(--danger-soft); color: var(--danger); }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: .2em .7em; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }

/* ---------- Company pages ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img.round { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose p { color: var(--ink-2); font-size: 1.03rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.value .svc-ic { background: var(--primary-soft); color: var(--primary); margin-bottom: 1rem; }
.value p { color: var(--muted); margin: 0; font-size: .93rem; }
.motto { text-align: center; max-width: 820px; margin: 0 auto; }
.motto blockquote { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin: .5rem 0 1rem; }
.motto blockquote span { color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); cursor: zoom-in; transition: transform .4s var(--ease), filter .3s; }
.gallery-grid img:hover { transform: scale(1.02); filter: brightness(1.05); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 160; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.lightbox img { max-height: 88vh; border-radius: 14px; animation: pop .3s var(--ease); }
.lightbox button { position: absolute; top: 16px; right: 16px; color: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: -3rem; position: relative; z-index: 2; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: .3rem; align-content: start; }
.c-card .svc-ic { background: var(--primary-soft); color: var(--primary); margin-bottom: .6rem; }
.c-card a { color: var(--primary); font-weight: 700; word-break: break-word; }
.c-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-cats { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.8rem; }
.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: .7rem; overflow: hidden; transition: box-shadow .2s; }
.acc[open] { box-shadow: var(--shadow); border-color: transparent; }
.acc summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; display: flex; gap: 1rem; justify-content: space-between; align-items: center; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .3s var(--ease); color: var(--primary); flex: none; }
.acc[open] summary .ic { transform: rotate(45deg); }
.acc .acc-body { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }
.acc .acc-body p:last-child { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes progress { to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes bump { 40% { transform: scale(1.35); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(31,168,85,0); } }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .p-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-layout .p-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .main-nav > a, .has-mega > a { padding: .5em .65em; }
  .cart-txt { display: none; }
  .cart-btn { padding: 0; width: 46px; justify-content: center; }
  .cat-rail { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-grid; }
  .main-nav { display: none; }
  .brand img { height: 44px; width: auto; }
  .search { max-width: none; }
  .hide-md { display: none !important; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .p-grid, .shop-layout .p-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-side { grid-template-columns: 1fr 1fr; }
  .about-split, .split { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin: 0 auto; width: 100%; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 110; max-height: 86vh; border-radius: 24px 24px 0 0; transform: translateY(102%);
    transition: transform .35s var(--ease); padding-bottom: calc(1.2rem + env(safe-area-inset-bottom));
  }
  .filters.open { transform: none; }
  .f-head { display: flex; justify-content: space-between; align-items: center; margin: -.3rem 0 .6rem; position: sticky; top: -1.2rem; background: var(--surface); padding: .6rem 0; z-index: 1; }
  .f-head h3 { margin: 0; }
  .filter-btn { display: inline-flex; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .pd { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .acct-layout { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: .4rem; scrollbar-width: none; }
  .acct-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .qv { grid-template-columns: 1fr; }
  .qv .thumb { aspect-ratio: 16/11; }
}

/* Large phones / small tablets */
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }
  .header-in { gap: .4rem; }
  .brand img { height: 44px; width: auto; }
  .search {
    position: absolute; left: 0; right: 0; top: 100%; padding: .7rem var(--gutter); background: var(--surface); border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow);
  }
  .search.open { display: flex; animation: fadeUp .25s var(--ease); }
  .search > .ic { left: calc(var(--gutter) + 14px); }
  .search-toggle { display: inline-grid; margin-left: auto; }
  .hide-sm { display: none !important; }
  .cart-btn { display: none; }
  .header-actions { margin-left: auto; }
  .hero { min-height: 520px; height: calc(100vh - var(--header-h) - 120px); height: calc(100svh - var(--header-h) - 120px); max-height: 720px; }
  .slide-shade { background: linear-gradient(0deg, rgba(8, 16, 45, .96) 0%, rgba(8, 16, 45, .78) 45%, rgba(8, 16, 45, .25) 100%); }
  .slide-in { align-items: flex-end; padding-bottom: 92px; }
  .cap-text { font-size: .98rem; margin-bottom: 1.4rem; }
  .cap-cta .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 1.1rem; font-size: .93rem; }
  .hero-ui { bottom: 22px; }
  .hero-dots button span { display: none; }
  .hero-dots { gap: .4rem; }
  .hero-arrows .icon-btn { width: 40px; height: 40px; }
  .hero-count { display: none; }
  .trust-item { padding: 1rem .6rem; gap: .6rem; flex-direction: column; align-items: flex-start; }
  .trust-ic { width: 40px; height: 40px; border-radius: 12px; }
  .trust-item small { font-size: .76rem; }
  .cat-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .cat-rail::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 150px; scroll-snap-align: start; padding: 1rem; }
  .p-grid, .shop-layout .p-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .p-body { padding: .75rem .8rem .85rem; }
  .p-name { font-size: .88rem; }
  .price { font-size: .98rem; }
  .p-foot .btn-icon { width: 38px; height: 38px; }
  .p-actions .icon-btn { opacity: 1; transform: none; width: 34px; height: 34px; }
  .p-grid.list .p-media { width: 120px; }
  .sec-head { margin-bottom: 1.4rem; }
  .sec-head .tabs { width: 100%; }
  .svc-grid, .steps, .quotes { grid-template-columns: 1fr; }
  .promo-side { grid-template-columns: 1fr; }
  .promo-card h3 { max-width: 58%; font-size: 1.12rem; }
  .ads-grid { grid-template-columns: 1fr; }
  .stats { gap: .5rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .nl-form { min-width: 0; width: 100%; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .f-about { padding-bottom: 1.5rem; }
  details.f-col { border-top: 1px solid rgba(255,255,255,.08); padding: .9rem 0; }
  .f-col summary { margin: 0; cursor: pointer; }
  .f-col summary .caret { display: block; transition: transform .2s; }
  .f-col[open] summary .caret { transform: rotate(180deg); }
  .f-contact { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0 .5rem; }
  .f-bottom { flex-direction: column; gap: .4rem; }
  .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .to-top { bottom: calc(146px + env(safe-area-inset-bottom)); right: 18px; width: 44px; height: 44px; }
  .page-shop .wa-float, .page-product .wa-float, .page-cart .wa-float, .page-checkout .wa-float, .page-wishlist .wa-float, .page-order .wa-float { display: none; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a, .bottom-nav button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; font-size: .7rem; font-weight: 600; color: var(--muted); }
  .bottom-nav .ic { width: 23px; height: 23px; }
  .bottom-nav .active { color: var(--primary); }
  .bottom-nav .active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
  .bottom-nav .dot-count { top: 4px; right: calc(50% - 22px); }
  .toasts { top: calc(var(--header-h) + 8px); right: 12px; left: 12px; width: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-perks { grid-template-columns: 1fr; }
  .sticky-buy {
    display: flex; gap: .6rem; align-items: center; position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 70;
    padding: .7rem var(--gutter); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.3);
    transform: translateY(150%); transition: transform .3s var(--ease);
  }
  .sticky-buy.show { transform: none; }
  .sticky-buy .sb-price { font-weight: 800; font-size: 1.1rem; margin-right: auto; line-height: 1.1; }
  .sticky-buy .sb-price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; max-width: 42vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table .ct-price { display: none; }
  .orders thead { display: none; }
  .orders tr { display: grid; grid-template-columns: 1fr auto; padding: .8rem 0; border-bottom: 1px solid var(--line); gap: .2rem; }
  .orders td { border: 0; padding: .1rem 0; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .kpi { padding: .8rem; }
  .kpi strong { font-size: 1.1rem; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -2rem; }
  .values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-grid .wide { grid-column: span 2; }
  .modal { align-items: end; padding: 0; }
  .modal-box { border-radius: 24px 24px 0 0; max-height: 92vh; }
  .qv-info { padding: 1.3rem; }
  .acct-no { font-size: 1.35rem; }
  .collage .c-badge { left: 4%; }
}

@media (max-width: 380px) {
  .p-grid, .shop-layout .p-grid { gap: .55rem; }
  .p-foot { flex-wrap: wrap; }
  .cap-title { font-size: 2rem; }
  .kpis { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .site-header, .bottom-nav, .wa-float, .to-top, .newsletter, .site-footer, .drawer, .mobile-nav { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
}
.ic.big { width: 48px; height: 48px; }

/* ==========================================================================
   Unitus additions
   ========================================================================== */
.brand { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; flex: none; line-height: 0; }
.brand img { height: 44px; width: auto; }
.brand-txt { display: grid; line-height: 1; }
.brand-txt strong { font-size: 1.45rem; font-weight: 800; letter-spacing: .02em; color: var(--accent); }
.brand-txt small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
[data-theme="dark"] .brand-txt small { color: var(--ink-2); }
.f-brand { margin-bottom: 1rem; }
.f-brand img { background: #fff; border-radius: 50%; }
.f-brand .brand-txt strong { color: #ff5c63; }
.f-brand .brand-txt small { color: #c9d1ee; }
.mn-head .brand img { height: 44px; width: auto; }

.pill { display: inline-flex; align-items: center; gap: .4em; padding: .35em .85em; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--primary-soft); color: var(--primary); }
.pill.red { background: rgba(227, 38, 47, .1); color: var(--accent); }
.pill.gold { background: #fff4d1; color: #8a5b00; }
[data-theme="dark"] .pill.gold { background: #3a2c08; color: #f5c64a; }
.pill .ic { width: 15px; height: 15px; }
.cert-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.hero .cert-row { margin: 0 0 1.2rem; }
.hero .pill { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }

/* Divisions (paint factory / plywood factory) */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.division { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.division > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.division::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,45,.05) 20%, rgba(8,16,45,.92) 100%); }
.division:hover > img { transform: scale(1.05); }
.division-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.division-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; margin-bottom: .4rem; }
.division-body p { color: rgba(236, 240, 252, .85); max-width: 460px; }
.division-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.division-tags span { font-size: .78rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }

/* Nice Paint range */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.range-card {
  --tone: #1e3a8a; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 42% 1fr; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.range-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.range-card[data-tone="matt"] { --tone: #6b21a8; }
.range-card[data-tone="satin"] { --tone: #15803d; }
.range-card[data-tone="screeding"] { --tone: #ea580c; }
.range-card[data-tone="texcoat"] { --tone: #0f766e; }
.range-card[data-tone="gravitex"] { --tone: #9f1239; }
.range-img { position: relative; display: grid; place-items: center; padding: 1.4rem .6rem 1rem; background: radial-gradient(120% 80% at 50% 100%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%), var(--surface-2); }
.range-img::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--tone); }
.range-img img { width: 100%; max-width: 230px; height: auto; border-radius: 14px; box-shadow: 0 10px 22px rgba(12,22,56,.18); transition: transform .5s var(--ease); }
.range-card:hover .range-img img { transform: translateY(-6px) rotate(-2deg); }
.range-body { padding: 1.2rem 1.2rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.range-body h3 { margin: 0; font-size: 1.12rem; }
.range-body h3 span { color: var(--tone); }
[data-theme="dark"] .range-body h3 span { color: color-mix(in srgb, var(--tone) 55%, white); }
.range-body > p { margin: 0; color: var(--muted); font-size: .9rem; }
.feat { list-style: none; padding: 0; margin: .2rem 0 .3rem; display: grid; gap: .25rem; font-size: .84rem; color: var(--ink-2); }
.feat li { display: flex; gap: .45rem; align-items: center; }
.feat li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); flex: none; }
.sizes { display: flex; gap: .4rem; margin-top: auto; }
.size { display: grid; padding: .35rem .6rem; border-radius: 12px; border: 1.5px solid var(--line); line-height: 1.15; flex: 1 1 0; min-width: 0; }
.size strong { white-space: nowrap; }
.size small { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.size strong { font-size: .98rem; }
.size.na strong { color: var(--muted); font-weight: 600; font-size: .85rem; }
.range-cta { display: flex; gap: .4rem; margin-top: .4rem; }
.range-cta .btn { min-height: 40px; padding: .45rem .9rem; font-size: .86rem; }

/* Price table */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .95rem; }
.price-table th { background: var(--deep); color: #fff; text-align: left; padding: .9rem 1rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table th.num, .price-table td.num { text-align: right; }
.price-table td { padding: .9rem 1rem; border-top: 1px solid var(--line); }
.price-table tr:hover td { background: var(--surface-2); }
.price-table .pt-prod { display: flex; gap: .7rem; align-items: center; font-weight: 700; }
.price-table .pt-prod i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.price-table td.muted { color: var(--muted); }
.note { font-size: .85rem; color: var(--muted); }

/* Directions / ideal-for */
.directions { list-style: none; counter-reset: d; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.directions li { counter-increment: d; display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.directions li::before { content: counter(d); width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--primary-soft); color: var(--primary); }
.ideal { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.ideal div { text-align: center; padding: 1.2rem .6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: .9rem; }
.ideal .ic { width: 30px; height: 30px; color: var(--accent); display: block; margin: 0 auto .5rem; }

/* Promo video (vertical ad in a phone frame) */
.video-split { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #0b0f1d; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3150; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; display: block; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 12px; background: #0b0f1d; z-index: 2; }
.vid-btn { position: absolute; right: 26px; bottom: 26px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); }
.vid-btn:hover { background: var(--accent); }
.vid-play { position: absolute; inset: 12px; z-index: 2; border-radius: 34px; display: grid; place-items: center; background: rgba(0,0,0,.25); color: #fff; }
.vid-play span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 10px 30px rgba(227,38,47,.5); }
.vid-play .ic { width: 30px; height: 30px; margin-left: 4px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: start; }
.calc-out { background: linear-gradient(140deg, var(--deep-2), var(--deep)); color: #fff; border-radius: var(--r-lg); padding: 1.6rem; display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 16px); }
.calc-out h3 { color: #fff; margin: 0; }
.calc-big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.calc-big small { font-size: 1rem; font-weight: 600; opacity: .7; margin-left: .3rem; }
.calc-rows { display: grid; gap: .5rem; }
.calc-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.15); font-size: .95rem; }
.calc-rows strong { font-size: 1.05rem; }
.calc-out .note { color: rgba(236,240,252,.7); margin: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; cursor: pointer; transition: .2s; background: var(--surface); }
.seg input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.range-input { width: 100%; accent-color: var(--accent); }
.wall-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .6rem; align-items: end; }

/* Plywood */
.ply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ply-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ply-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ply-card div { padding: 1.2rem; }
.ply-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-band > div { padding: 1.4rem; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.stat-band strong { display: block; font-size: 1.15rem; color: #fff; margin: .6rem 0 .2rem; }
.stat-band span { color: rgba(222,228,247,.75); font-size: .9rem; }
.stat-band .ic { width: 30px; height: 30px; color: #ff8a90; }

.made-ng { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; }
.made-ng i { width: 26px; height: 18px; border-radius: 3px; background: linear-gradient(90deg, #0a8a43 33%, #fff 33% 66%, #0a8a43 66%); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }

@media (max-width: 1024px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
  .divisions { grid-template-columns: 1fr; }
  .video-split { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { position: static; }
  .ply-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .ideal { grid-template-columns: repeat(3, 1fr); }
  .brand-txt strong { font-size: 1.25rem; }
}
@media (max-width: 760px) {
  .brand img { height: 38px; width: auto; }
  .brand-txt strong { font-size: 1.1rem; }
  .brand-txt small { font-size: .56rem; }
  .range-grid { grid-template-columns: 1fr; }
  .range-card { grid-template-columns: 38% 1fr; }
  .range-img img { max-width: 170px; }
  .directions { grid-template-columns: 1fr; }
  .ideal { grid-template-columns: repeat(2, 1fr); }
  .ideal div:last-child { grid-column: span 2; }
  .division { min-height: 360px; }
  .ply-grid, .stat-band { grid-template-columns: 1fr; }
  .wall-row { grid-template-columns: 1fr 1fr; }
  .wall-row .btn { grid-column: span 2; }
  .price-table { font-size: .86rem; }
  .price-table th, .price-table td { padding: .7rem .6rem; }
  .price-table .desc { display: none; }
  .phone { max-width: 300px; }
}
.price-table .pt-prod { flex-wrap: wrap; row-gap: 0; }
.price-table .pt-prod small { flex-basis: 100%; padding-left: calc(12px + .7rem); font-weight: 500; }
@media (max-width: 760px) { .page-calc .wa-float { display: none; } }

/* Paint / Building Materials drop-downs */
.mega.mega-sm { width: min(640px, 80vw); grid-template-columns: 1fr 200px; }
.mega-all { background: var(--primary-soft); }
.mega-all small { color: var(--primary); }
.main-nav .has-mega:nth-of-type(2) .mega { left: -120px; }
.cat-tree .cat-parent { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.cat-tree .cat-parent .ic { width: 18px; height: 18px; flex: none; }
.cat-tree .cat-parent small { margin-left: auto; }
.cat-tree .cat-child { padding-left: 2.1rem; font-size: .9rem; position: relative; }
.cat-tree .cat-child::before { content: ""; position: absolute; left: 1.2rem; top: 50%; width: 8px; height: 1px; background: var(--line); }
.main-nav > a, .has-mega > a { white-space: nowrap; }
.main-nav { gap: .1rem; }
@media (min-width: 1025px) and (max-width: 1320px) { .main-nav > a, .has-mega > a { padding: .5em .55em; font-size: .93rem; } .search { max-width: 170px; } }

/* Payment methods */
.pay-method { border: 1.5px solid var(--line); border-radius: 14px; margin-top: .8rem; background: var(--surface); overflow: hidden; }
.pay-method[open] { border-color: var(--primary); }
.pay-method > summary { display: flex; align-items: center; gap: .9rem; padding: 1rem; cursor: pointer; list-style: none; }
.pay-method > summary::-webkit-details-marker { display: none; }
.pay-method > summary > .ic:first-child { width: 26px; height: 26px; color: var(--primary); flex: none; }
.pay-method > summary > span:not(.tag) { flex: 1; display: grid; gap: .1rem; }
.pay-method > summary small { color: var(--muted); font-size: .82rem; }
.pay-method > summary .tag { flex: none; }
.pay-method[open] > summary .caret { transform: rotate(180deg); }
.pay-body { padding: 0 1rem 1.2rem; }
.bank-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
