/* =====================================================================
   Vaqora Chemicals — design system
   Ink navy + reaction teal + catalyst amber. Space Grotesk / Inter / JetBrains Mono
   ===================================================================== */
:root {
  --ink-950: #06121F; --ink-900: #0A1F33; --ink-800: #102A43; --ink-700: #243B53; --ink-600: #334E68;
  --ink-500: #486581; --ink-400: #627D98; --ink-300: #9FB3C8; --ink-200: #D9E2EC; --ink-100: #EEF2F6; --ink-50: #F6F8FA;
  --brand-800: #07525A; --brand-700: #0B6E78; --brand-600: #0E8A95; --brand-500: #12A6B2; --brand-400: #3CC3CD;
  --brand-200: #B4E8EC; --brand-100: #D8F3F5; --brand-50: #EEFAFB;
  --amber-600: #D98E1F; --amber-500: #F2A93B; --amber-100: #FDF0DA; --amber-50: #FFF8EC;
  --green-600: #1F8A4C; --green-100: #DDF5E6; --red-600: #C62F3B; --red-100: #FBE3E5;
  --bg: #FFFFFF; --surface: var(--ink-50); --line: var(--ink-200); --text: var(--ink-800); --muted: var(--ink-500);
  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px; --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(10,31,51,.06), 0 1px 3px rgba(10,31,51,.08);
  --shadow: 0 4px 12px rgba(10,31,51,.07), 0 2px 4px rgba(10,31,51,.05);
  --shadow-lg: 0 18px 40px -12px rgba(10,31,51,.22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --container: 1400px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--font-mono); font-size: .92em; }
sub, sup { font-size: .72em; line-height: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--brand-200); color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink-900); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; flex: none; vertical-align: -3px; }
.ic-lg { width: 28px; height: 28px; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2.5rem }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }
.flex { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 1.25rem; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); } body { font-size: 15px; } }

/* ---------- buttons / chips / badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: var(--radius); border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s; white-space: nowrap; text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(14,138,149,.6); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); color: #fff; }
.btn-amber { background: var(--amber-500); color: var(--ink-950); }
.btn-amber:hover { background: var(--amber-600); color: var(--ink-950); }
.btn-outline { background: #fff; border-color: var(--ink-200); color: var(--ink-800); }
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-sm { padding: .45rem .75rem; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--ink-200); color: var(--ink-700); font-size: .84rem; font-weight: 500; text-decoration: none !important; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }
.chip.active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.chip .n { color: var(--ink-400); font-size: .78rem; }
.chip.active .n { color: var(--ink-300); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .01em; background: var(--ink-100); color: var(--ink-700); }
.badge-brand { background: var(--brand-100); color: var(--brand-800); }
.badge-amber { background: var(--amber-100); color: #8a5308; }
.badge-green { background: var(--green-100); color: var(--green-600); }
.badge-red { background: var(--red-100); color: var(--red-600); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: .9rem; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--amber-500); border-radius: 2px; }

/* ---------- header ---------- */
.topbar { background: var(--ink-950); color: var(--ink-300); font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: var(--ink-200); }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 1.25rem; align-items: center; }
.topbar .ic-sm { color: var(--brand-400); margin-right: .3rem; }
.topbar span, .topbar a { white-space: nowrap; }
@media (max-width: 1100px) { .topbar .tb-hide { display: none; } }
@media (max-width: 900px) { .topbar .tb-left span:not(:first-child) { display: none; } }
@media (max-width: 520px) { .topbar .tb-left { display: none; } .topbar .container { justify-content: center; } }
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none !important; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm b { font: 700 1.32rem/1 var(--font-head); letter-spacing: .06em; color: var(--ink-900); }
.brand .wm small { font: 600 .6rem/1 var(--font); letter-spacing: .36em; color: var(--brand-600); margin-top: 5px; }
.hsearch { flex: 1; position: relative; max-width: 620px; }
.hsearch form { display: flex; align-items: center; background: var(--ink-50); border: 1.5px solid var(--ink-200); border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s; }
.hsearch form:focus-within { border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.hsearch input { flex: 1; border: 0; background: transparent; padding: .72rem .9rem .72rem 2.6rem; font: 500 .95rem var(--font); color: var(--ink-900); outline: none; min-width: 0; }
.hsearch .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; }
.hsearch button { margin: 4px; }
.hsearch .hint { display: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 70; }
.suggest a { display: flex; align-items: center; gap: .75rem; padding: .55rem .8rem; color: var(--ink-800); text-decoration: none; border-bottom: 1px solid var(--ink-100); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.on { background: var(--brand-50); }
.suggest img { width: 44px; height: 34px; object-fit: contain; flex: none; background: #fff; }
.suggest .s-name { font-weight: 600; font-size: .9rem; display: block; }
.suggest .s-meta { font-size: .76rem; color: var(--muted); font-family: var(--font-mono); }
.suggest .s-all { justify-content: center; font-weight: 600; color: var(--brand-700); background: var(--ink-50); }
.hactions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.hact { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 10px; color: var(--ink-800); font-weight: 600; font-size: .9rem; text-decoration: none !important; }
.hact:hover { background: var(--ink-100); color: var(--ink-900); }
.hact .cnt { position: absolute; top: 2px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amber-500); color: var(--ink-950); font-size: .7rem; font-weight: 700; display: none; align-items: center; justify-content: center; }
.hact .cnt.on { display: inline-flex; }
.menu-btn { display: none; }
.nav { border-top: 1px solid var(--ink-100); }
.nav .container { display: flex; align-items: center; gap: .15rem; min-height: 46px; }
.nav-item { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .75rem; font-weight: 600; font-size: .9rem; color: var(--ink-700); border-radius: 8px; text-decoration: none !important; background: none; border: 0; cursor: pointer; font-family: var(--font); }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-item.open > .nav-link { color: var(--brand-700); background: var(--brand-50); }
.nav-link .ic-sm { transition: transform .15s; }
.nav-item.open > .nav-link .ic-sm { transform: rotate(180deg); }
.nav .spacer { flex: 1; }
.nav .nav-cta { color: var(--amber-600); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
.nav-item.open .mega { display: block; }
@media (hover: hover) and (min-width: 1025px) { .nav-item:hover .mega { display: block; } .nav-item:hover > .nav-link { color: var(--brand-700); background: var(--brand-50); } }
.mega-inner { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; padding: 1.75rem 20px 2rem; max-width: var(--container); margin: 0 auto; }
.mega-divs { display: flex; flex-direction: column; gap: 2px; }
.mega-divs a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; color: var(--ink-800); font-weight: 600; font-size: .92rem; text-decoration: none; }
.mega-divs a:hover, .mega-divs a.on { background: var(--brand-50); color: var(--brand-800); }
.mega-divs .di { width: 34px; height: 34px; border-radius: 9px; background: var(--ink-900); color: var(--brand-400); display: grid; place-items: center; flex: none; }
.mega-divs small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.mega-panels .panel { display: none; }
.mega-panels .panel.on { display: block; }
.mega-panels h4 { font-size: 1rem; margin-bottom: .9rem; display: flex; align-items: center; justify-content: space-between; }
.mega-cols { columns: 3 200px; column-gap: 1.5rem; }
.mega-cols a { display: block; padding: .28rem 0; color: var(--ink-700); font-size: .88rem; break-inside: avoid; }
.mega-cols a:hover { color: var(--brand-700); }
.mega-cols a span { color: var(--ink-300); font-size: .78rem; margin-left: .3rem; }
.mega-simple { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.5rem 20px 1.75rem; max-width: var(--container); margin: 0 auto; }
.mega-simple h5 { font: 700 .75rem var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .6rem; }
.mega-simple a { display: block; padding: .25rem 0; color: var(--ink-700); font-size: .9rem; }
@media (max-width: 1024px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.nav-open .header { z-index: 100; }
  .menu-btn { display: inline-flex; border: 0; background: none; cursor: pointer; }
  .nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(360px, 88vw); background: #fff; z-index: 101; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-lg); border: 0; }
  .nav-close { display: flex !important; }
  .nav.open { display: block; }
  .nav .container { flex-direction: column; align-items: stretch; padding: 1rem; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem .5rem; border-bottom: 1px solid var(--ink-100); border-radius: 0; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-inner { grid-template-columns: 1fr; padding: .5rem 0 1rem; gap: .5rem; }
  .mega-panels { display: none; }
  .mega-simple { grid-template-columns: 1fr; padding: .5rem; gap: .75rem; }
  .nav .spacer { display: none; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .header-main { flex-wrap: wrap; gap: .75rem 1rem; min-height: 0; padding: .8rem 0 .9rem; }
  .brand img { width: 36px; height: 36px; }
  .hsearch input { padding-top: .65rem; padding-bottom: .65rem; font-size: 16px; }
  .hact .lbl { display: none; }
}
.nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(6,18,31,.45); z-index: 95; }
.nav-close { display: none; align-items: center; justify-content: space-between; padding: .25rem .25rem .75rem; border-bottom: 1px solid var(--ink-100); margin-bottom: .25rem; }
.nav-close button { border: 0; background: var(--ink-100); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.nav-backdrop.on { display: block; }

/* ---------- breadcrumbs / page head ---------- */
.crumbs { font-size: .83rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--ink-300); }
.crumbs a { color: var(--ink-600); }
.pagehead { padding: 1.25rem 0 1.5rem; }
.pagehead .lead { font-size: 1.05rem; color: var(--ink-600); max-width: 820px; }
.pagehead-dark { background: radial-gradient(1200px 400px at 85% -10%, rgba(18,166,178,.28), transparent 60%), linear-gradient(180deg, var(--ink-900), var(--ink-950)); color: var(--ink-200); padding: 2.2rem 0 2.6rem; }
.pagehead-dark h1 { color: #fff; }
.pagehead-dark .lead { color: var(--ink-300); }
.pagehead-dark .crumbs, .pagehead-dark .crumbs a { color: var(--ink-300); }
.stats-inline { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 1.25rem; }
.stats-inline div { display: flex; flex-direction: column; }
.stats-inline b { font: 700 1.5rem var(--font-head); color: #fff; }
.stats-inline span { font-size: .8rem; color: var(--ink-300); }

/* ---------- sections ---------- */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--ink-950); color: var(--ink-300); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 640px; }
.section-head h2 { margin: 0 0 .35rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-950); color: var(--ink-200); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 88% 10%, rgba(18,166,178,.35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(242,169,59,.14), transparent 60%); }
.hero-grid { position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.4L28 64.8 0 48.6V16.2Z M28 64.8V97' fill='none' stroke='%2312A6B2' stroke-opacity='.10'/%3E%3C/svg%3E"); mask-image: linear-gradient(90deg, transparent, #000 40%, #000); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); letter-spacing: -.025em; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-400), var(--amber-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.1rem; color: var(--ink-300); max-width: 600px; margin-bottom: 1.75rem; }
.hero-search { display: flex; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); max-width: 620px; position: relative; }
.hero-search input { flex: 1; border: 0; outline: none; padding: .9rem 1rem; font: 500 1rem var(--font); color: var(--ink-900); min-width: 0; border-radius: 10px; }
.hero-hints { margin-top: .9rem; font-size: .85rem; color: var(--ink-400); display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.hero-hints a { color: var(--ink-200); border-bottom: 1px dashed var(--ink-500); }
.hero-hints a:hover { color: #fff; text-decoration: none; }
.hero-card { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); padding: 1.5rem; backdrop-filter: blur(6px); }
.hero-card .mol { background: #fff; border-radius: 14px; padding: 1rem; display: grid; place-items: center; aspect-ratio: 4/3; }
.hero-card .mol img { max-height: 210px; }
.hero-card .hc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.hero-card .hc-meta div { background: rgba(255,255,255,.06); border-radius: 10px; padding: .6rem .75rem; }
.hero-card .hc-meta span { display: block; font-size: .72rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; }
.hero-card .hc-meta b { color: #fff; font-family: var(--font-mono); font-size: .9rem; font-weight: 600; }
.hero-card .hc-title { color: #fff; font: 600 1.05rem var(--font-head); margin: 1rem 0 0; display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.hero-card .hc-cat { font: 500 .75rem var(--font); color: var(--brand-400); text-align: right; }
.hs-slide { display: none; color: inherit; text-decoration: none !important; }
.hs-slide.on { display: block; animation: hsIn .6s ease; }
@keyframes hsIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hs-slide.on { animation: none; } }
.hs-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.hs-dot { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.28); cursor: pointer; transition: width .25s, background .25s; }
.hs-dot.on { width: 26px; background: var(--amber-500); }
.hero-stats { position: relative; border-top: 1px solid rgba(255,255,255,.08); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.hero-stats b { display: block; font: 700 1.7rem var(--font-head); color: #fff; }
.hero-stats span { font-size: .84rem; color: var(--ink-400); }
@media (max-width: 900px) { .hero .container { grid-template-columns: minmax(0, 1fr); padding-top: 2.25rem; padding-bottom: 2.5rem; gap: 2rem; } .hero-card { padding: 1rem; } .hero-card .mol img { max-height: 170px; } .hero-stats .container { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; }
.card-link { display: block; color: inherit; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--brand-400); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.div-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; min-height: 190px; }
.div-card .di { width: 46px; height: 46px; border-radius: 12px; background: var(--ink-900); color: var(--brand-400); display: grid; place-items: center; margin-bottom: .4rem; }
.div-card h3 { margin: 0; font-size: 1.08rem; }
.div-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.div-card .cnt { margin-top: auto; font-weight: 600; font-size: .85rem; color: var(--brand-700); display: flex; align-items: center; gap: .35rem; }
.div-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; background: url("/assets/img/logo-mark.svg") center/contain no-repeat; opacity: .04; }
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcard:hover { border-color: var(--brand-400); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .pimg { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(180deg, #fff, var(--ink-50)); border-bottom: 1px solid var(--ink-100); padding: .75rem; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: contain; }
.pcard .pbody { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.pcard .pname { font: 600 .95rem/1.35 var(--font-head); color: var(--ink-900); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pname::after { content: ""; position: absolute; inset: 0; }
.pcard .pname:hover { color: var(--brand-700); text-decoration: none; }
.pcard dl { display: grid; grid-template-columns: auto 1fr; gap: .12rem .6rem; margin: .15rem 0 0; font-size: .8rem; }
.pcard dt { color: var(--muted); }
.pcard dd { margin: 0; font-family: var(--font-mono); color: var(--ink-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .pfoot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.pcard .addq { position: relative; z-index: 2; }
.pcard .grade { position: absolute; top: .6rem; left: .6rem; z-index: 1; }
.plist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.prow { display: grid; grid-template-columns: 72px 1fr 130px 150px 110px auto; gap: 1rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--ink-100); position: relative; }
.prow:last-child { border-bottom: 0; }
.prow:hover { background: var(--brand-50); }
.prow img { width: 72px; height: 54px; object-fit: contain; }
.prow .pname { font-weight: 600; color: var(--ink-900); }
.prow .pname::after { content: ""; position: absolute; inset: 0; }
.prow .mono { font-size: .82rem; color: var(--ink-700); }
.prow .addq { position: relative; z-index: 2; }
@media (max-width: 900px) { .prow { grid-template-columns: 56px 1fr auto; } .prow .hide-sm { display: none; } .prow img { width: 56px; } }

/* ---------- catalogue layout ---------- */
.catalog { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 3rem; }
.sidebar { position: sticky; top: calc(var(--header-h) + 60px); display: flex; flex-direction: column; gap: 1.25rem; max-height: calc(100vh - 150px); overflow-y: auto; padding-right: .25rem; }
.fbox h4 { font: 700 .74rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.fbox ul { list-style: none; margin: 0; padding: 0; }
.fbox li a { display: flex; justify-content: space-between; gap: .5rem; padding: .32rem .5rem; border-radius: 7px; color: var(--ink-700); font-size: .88rem; text-decoration: none; }
.fbox li a:hover { background: var(--ink-100); color: var(--ink-900); }
.fbox li a.on { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.fbox li a span { color: var(--ink-400); font-size: .78rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: .6rem .75rem; background: var(--surface); border-radius: 12px; }
.toolbar select { padding: .45rem .6rem; border-radius: 8px; border: 1px solid var(--line); font: 500 .88rem var(--font); background: #fff; }
.view-toggle a { padding: .35rem .6rem; border-radius: 7px; color: var(--ink-500); font-size: .84rem; font-weight: 600; }
.view-toggle a.on { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-sm); }
.filters-btn { display: none; }
@media (max-width: 1024px) {
  .catalog { grid-template-columns: 1fr; }
  .sidebar { display: none; position: fixed; inset: 0; z-index: 95; background: #fff; max-height: none; padding: 1.25rem; }
  .sidebar.open { display: flex; }
  .sidebar.open [data-mobile-head] { display: flex !important; }
  .filters-btn { display: inline-flex; }
}
.subcats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: 2rem 0 1rem; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .75rem; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-700); font-weight: 600; font-size: .9rem; background: #fff; text-decoration: none; }
.pagination a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pagination .cur { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.pagination .gap { border: 0; background: none; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--surface); border-radius: var(--radius-lg); }
.intro-box { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; margin-top: 2.5rem; }

/* ---------- product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; padding: 1rem 0 2rem; }
@media (max-width: 960px) { .pd { grid-template-columns: 1fr; gap: 1.5rem; } }
.gallery { position: sticky; top: calc(var(--header-h) + 60px); align-self: start; }
.gallery .main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); aspect-ratio: 1/1; display: grid; place-items: center; padding: 1.5rem; position: relative; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main .wm { position: absolute; bottom: .75rem; right: 1rem; font: 600 .7rem var(--font); letter-spacing: .2em; color: var(--ink-300); }
.gallery .thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.gallery .thumbs button { width: 76px; height: 76px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 6px; cursor: pointer; }
.gallery .thumbs button.on { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 960px) { .gallery { position: static; } .gallery .main { aspect-ratio: 4/3; } }
.pd-info h1 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); margin-bottom: .35rem; }
.pd-sub { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.1rem; }
.idgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1.1rem 0 1.25rem; }
.idgrid div { background: var(--surface); border-radius: 12px; padding: .65rem .8rem; min-width: 0; }
.idgrid span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.idgrid b { display: flex; align-items: center; gap: .35rem; font-family: var(--font-mono); font-size: .93rem; color: var(--ink-900); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { border: 0; background: none; padding: 2px; color: var(--ink-400); cursor: pointer; border-radius: 4px; flex: none; }
.copy-btn:hover { color: var(--brand-600); background: #fff; }
@media (max-width: 520px) { .idgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.packs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.packs-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.pack-row { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; padding: .6rem 1rem; border-bottom: 1px solid var(--ink-100); }
.pack-row:last-child { border-bottom: 0; }
.pack-row .pk { font-weight: 600; font-family: var(--font-mono); font-size: .92rem; }
.pack-row .pr { color: var(--muted); font-size: .85rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { border: 0; background: var(--ink-50); width: 30px; height: 32px; cursor: pointer; color: var(--ink-700); display: grid; place-items: center; }
.qty input { width: 42px; border: 0; text-align: center; font: 600 .9rem var(--font); height: 32px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cta-row { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.assure { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .9rem; font-size: .86rem; color: var(--ink-600); margin-top: 1rem; }
.assure div { display: flex; gap: .45rem; align-items: center; }
.assure .ic-sm { color: var(--brand-600); }
.tabs { position: sticky; top: calc(var(--header-h) + 46px); z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; margin-top: 1rem; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: .85rem 1rem; font-weight: 600; font-size: .9rem; color: var(--ink-500); border-bottom: 2.5px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a:hover, .tabs a.on { color: var(--ink-900); border-bottom-color: var(--brand-500); }
@media (max-width: 1024px) { .tabs { top: 64px; } }
.pd-section { padding: 2.25rem 0 .5rem; scroll-margin-top: 150px; }
.pd-section > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.pd-section > h2 .ic { color: var(--brand-600); }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th, .spec td { text-align: left; padding: .62rem .9rem; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.spec th { width: 34%; color: var(--ink-600); font-weight: 600; background: var(--ink-50); }
.spec td { color: var(--ink-900); word-break: break-word; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.ghs { display: flex; flex-wrap: wrap; gap: .6rem; margin: .5rem 0 1rem; }
.ghs figure { margin: 0; width: 76px; text-align: center; font-size: .7rem; color: var(--muted); }
.ghs figure img { width: 64px; height: 64px; }
.hlist { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.hlist li { padding: .35rem 0; border-bottom: 1px dashed var(--ink-200); }
.hlist code { background: var(--amber-50); color: #8a5308; padding: .05rem .35rem; border-radius: 5px; font-weight: 600; margin-right: .4rem; }
.doclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.doc { display: flex; gap: .75rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-800); text-decoration: none !important; }
.doc:hover { border-color: var(--brand-400); }
.doc .ic-lg { color: var(--brand-600); }
.doc b { display: block; font-size: .92rem; }
.doc span { font-size: .78rem; color: var(--muted); }
.prose { font-size: 1.03rem; line-height: 1.75; color: var(--ink-700); max-width: 70ch; }
.prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; }
.prose th { background: var(--ink-50); color: var(--ink-800); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--brand-500); background: var(--brand-50); border-radius: 0 12px 12px 0; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--ink-100); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: var(--ink-900); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--font); color: var(--brand-600); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 1.25rem 1.1rem; color: var(--ink-600); }
.faq .ans p:last-child { margin: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: 1fr; } }
label.lbl, .form label { display: block; font-weight: 600; font-size: .86rem; color: var(--ink-700); margin-bottom: .3rem; }
.input, .form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=number], .form select, .form textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--ink-200); border-radius: 10px; font: 500 .95rem var(--font); color: var(--ink-900); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form textarea { min-height: 110px; resize: vertical; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.form .err { color: var(--red-600); font-size: .82rem; margin-top: .25rem; }
.form .hp { position: absolute; left: -9999px; }
.form .note { font-size: .8rem; color: var(--muted); }
.check { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; font-weight: 500 !important; }
.alert { padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: flex-start; }
.alert-success { background: var(--green-100); color: #145c33; }
.alert-error { background: var(--red-100); color: #8f1f28; }
.alert-info { background: var(--brand-50); color: var(--brand-800); }

/* ---------- basket ---------- */
.basket-table { width: 100%; border-collapse: collapse; }
.basket-table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem; border-bottom: 1px solid var(--line); }
.basket-table td { padding: .75rem .6rem; border-bottom: 1px solid var(--ink-100); vertical-align: middle; }
.basket-table img { width: 60px; height: 46px; object-fit: contain; }
.basket-table .input { padding: .45rem .55rem; font-size: .88rem; }
@media (max-width: 760px) { .basket-table thead { display: none; } .basket-table tr { display: grid; grid-template-columns: 60px 1fr; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--line); } .basket-table td { border: 0; padding: 0; } .basket-table td.full { grid-column: 1/-1; } }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink-900); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 120; opacity: 0; transition: opacity .2s, transform .2s; display: flex; gap: .75rem; align-items: center; font-size: .92rem; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast a { color: var(--brand-400); font-weight: 600; }

/* ---------- location pages ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.fact .ic { color: var(--brand-600); margin-bottom: .35rem; }
.fact span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fact b { font: 600 1rem var(--font-head); color: var(--ink-900); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.region-block { margin-bottom: 2rem; }
.region-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.loc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .15rem 1rem; }
.loc-links a { padding: .3rem 0; color: var(--ink-700); font-size: .92rem; display: flex; align-items: center; gap: .4rem; }
.loc-links a:hover { color: var(--brand-700); }
.flag { width: 20px; height: 15px; border-radius: 2px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px rgba(10,31,51,.12); display: inline-block; vertical-align: -2px; background: var(--ink-100); }
.docs-list { columns: 2 220px; list-style: none; padding: 0; margin: 0; }
.docs-list li { display: flex; gap: .5rem; align-items: center; padding: .3rem 0; break-inside: avoid; }
.docs-list .ic-sm { color: var(--green-600); }
.route { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: 1rem 1.25rem; background: var(--ink-950); border-radius: 16px; color: var(--ink-300); }
.route b { color: #fff; }
.route .ln { flex: 1; min-width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-500) 0 8px, transparent 8px 14px); }

/* ---------- steps / values ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.value { padding: 1.4rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value .vi { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; margin-bottom: .85rem; }
.value h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.value p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.4rem 1.25rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 2rem var(--font-head); color: var(--brand-500); display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.02rem; color: #fff; }
.step p { margin: 0; font-size: .9rem; color: var(--ink-300); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--brand-700), var(--ink-900)); color: var(--ink-200); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; }
.cta-band p { margin: 0; max-width: 620px; }
.az { display: flex; flex-wrap: wrap; gap: .35rem; }
.az a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); font-weight: 700; color: var(--ink-700); text-decoration: none; font-size: .9rem; }
.az a:hover, .az a.on { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.logo-strip { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }

/* ---------- tools ---------- */
.tool { max-width: 860px; }
.tool .out { margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--ink-950); color: #fff; font-family: var(--font-mono); font-size: 1.05rem; }
.tool .out small { display: block; color: var(--ink-400); font-family: var(--font); font-size: .8rem; margin-bottom: .2rem; }
.ptable { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; font-size: .7rem; }
.ptable button { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; padding: 0; font: 600 .78rem var(--font-mono); color: var(--ink-800); }
.ptable button:hover { background: var(--brand-100); }

/* ---------- footer ---------- */
.footer { background: var(--ink-950); color: var(--ink-400); font-size: .9rem; margin-top: 4rem; }
.footer a { color: var(--ink-300); }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding: 3.5rem 0 2.5rem; }
.footer h4 { color: #fff; font: 600 .82rem var(--font); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: .22rem 0; }
.footer .brand .wm b { color: #fff; }
.footer .about { margin: 1rem 0; max-width: 340px; }
.footer .contact-lines div { display: flex; gap: .55rem; align-items: flex-start; margin: .4rem 0; }
.footer .contact-lines .ic-sm { color: var(--brand-400); margin-top: 3px; }
.footer .social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer .social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.06); }
.footer-mid { border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .84rem; }
.footer-mid b { color: var(--ink-200); margin-right: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1/-1; } }
.newsletter { display: flex; gap: .5rem; margin-top: .5rem; }
.newsletter input { flex: 1; min-width: 0; padding: .6rem .75rem; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: 500 .88rem var(--font); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background .15s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-700); }
.to-top .ic { transform: rotate(180deg); }
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 75; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 1rem 1.1rem; font-size: .85rem; display: none; }
.cookie.on { display: block; }

/* ---------- account ---------- */
.acc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 3rem; }
.acc-nav { display: flex; flex-direction: column; gap: 2px; }
.acc-nav a { display: flex; gap: .6rem; align-items: center; padding: .6rem .8rem; border-radius: 10px; color: var(--ink-700); font-weight: 600; font-size: .92rem; text-decoration: none; }
.acc-nav a:hover { background: var(--ink-100); }
.acc-nav a.on { background: var(--ink-900); color: #fff; }
@media (max-width: 860px) { .acc { grid-template-columns: 1fr; } .acc-nav { flex-direction: row; overflow-x: auto; } .acc-nav a { white-space: nowrap; } }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem .75rem; border-bottom: 1px solid var(--line); background: var(--ink-50); }
.table td { padding: .7rem .75rem; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.auth-box { max-width: 460px; margin: 3rem auto; }

@media print {
  .topbar, .header, .footer, .to-top, .cookie, .tabs, .no-print { display: none !important; }
  body { font-size: 12px; }
}

/* ---------- account area (sales/account module) ---------- */
.acc-title { font-size: 1.5rem; margin: 0 0 1rem; }
.acc-h2 { font-size: 1.1rem; margin: 2rem 0 .75rem; }
.acc-who { display: flex; gap: .7rem; align-items: center; padding: .25rem .5rem 1rem; }
.acc-who b { display: block; font-size: .95rem; line-height: 1.25; }
.acc-who small { display: block; color: var(--muted); font-size: .8rem; word-break: break-all; }
.acc-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-600); color: #fff; display: grid; place-items: center; font: 700 1.05rem var(--font-head); }
.acc-logout { margin: 0; }
.acc-logout button { display: flex; gap: .6rem; align-items: center; width: 100%; padding: .6rem .8rem; border: 0; border-radius: 10px; background: none; color: var(--ink-500); font: 600 .92rem var(--font); cursor: pointer; text-align: left; }
.acc-logout button:hover { background: var(--red-100); color: var(--red-600); }
.acc-main { min-width: 0; }
.acc-verify { align-items: center; flex-wrap: wrap; }
.acc-verify span { flex: 1; min-width: 220px; }
.acc-verify form { margin: 0; }
.acc-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin: 1rem 0; }
.acc-kpis a { display: grid; gap: .15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.1rem; color: var(--ink-700); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.acc-kpis a:hover { border-color: var(--brand-400); box-shadow: var(--shadow); }
.acc-kpis .ic { color: var(--brand-600); }
.acc-kpis b { font: 700 1.6rem var(--font-head); color: var(--ink-900); }
.acc-kpis span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.acc-addr { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.acc-addr form { margin: 0; }
.acc-timeline { list-style: none; margin: 0 0 1rem; padding: 0; }
.acc-timeline li { position: relative; padding: 0 0 1.1rem 1.4rem; border-left: 2px solid var(--ink-200); margin-left: .4rem; font-size: .92rem; }
.acc-timeline li:last-child { border-left-color: transparent; }
.acc-timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
.acc-timeline small { display: block; color: var(--muted); }
.table tfoot td { background: var(--ink-50); }
.fav-form { display: inline-flex; margin: 0; }
.fav-btn .ic { color: var(--red-600); }

/* ---------- mobile hardening (inline desktop grids must collapse) ---------- */
@media (max-width: 960px) {
  .pd, .pd[style] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 860px) {
  .two-col, .two-col[style] { grid-template-columns: minmax(0, 1fr) !important; }
  .cms-aside { position: static !important; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-top: 2.5rem; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-bottom, .footer-mid { font-size: .8rem; }
  .section { padding: 2.75rem 0; }
  .cta-band { padding: 1.5rem; }
  .cta-band .flex, .cta-band .btn { width: 100%; }
  .route { gap: .5rem; padding: .85rem 1rem; }
  .route .ln { display: none; }
  .stats-inline { gap: 1rem 1.5rem; }
  .kicker { flex-wrap: wrap; letter-spacing: .1em; }
  .pagehead-dark { padding: 1.5rem 0 2rem; }
  .pagehead-dark .flex .btn, .pagehead .flex .btn { flex: 1 1 100%; }
  .hero-hints { font-size: .8rem; }
  .hero-search .btn { padding-left: .9rem; padding-right: .9rem; }
  .hero-search .btn .ic { display: none; }
  .idgrid b { font-size: .86rem; }
  .pack-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pack-row .qty { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .toolbar .flex { width: 100%; justify-content: space-between; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .docs-list { columns: 1; }
  .ptable { overflow-x: auto; }
}
.footer .contact-lines span, .footer .contact-lines a { overflow-wrap: anywhere; }
.pd-info h1, .pagehead h1, .pagehead-dark h1 { overflow-wrap: anywhere; hyphens: auto; }
.chip { max-width: 100%; }
.tag-cloud { min-width: 0; }
.hsearch { min-width: 0; }
.hsearch form { width: 100%; min-width: 0; }
.hsearch input, .hero-search input { width: 100%; min-width: 0; }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head > * { max-width: 100%; }
  .flex > * { min-width: 0; }
}
@media (max-width: 1024px) {
  .nav .nav-cta { justify-content: flex-start; gap: .5rem; }
  .nav a.nav-link { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .to-top { right: 14px; bottom: 14px; }
}

/* ---------- mobile UX fixes (2026-10-25 audit) ---------- */
@media (max-width: 760px) {
  .basket-table tr { grid-template-columns: 60px minmax(0, 1fr) 96px 44px; align-items: center; }
  .basket-table td:nth-child(2) { grid-column: 2 / -1; }
  .basket-table td.full { width: auto !important; }
  .basket-table td.full:nth-child(3) { grid-column: 1 / -1; }
  .basket-table td.full:nth-child(4) { grid-column: 1 / 3; }
  .basket-table td.full:nth-child(5) { grid-column: 3; }
  .basket-table td.full:nth-child(6) { grid-column: 4; justify-self: end; }
  #add-free-line { flex: none; white-space: nowrap; }
}
@media (max-width: 640px) {
  input, select, textarea, .input { font-size: 16px !important; }
  .toast { left: 16px; right: 16px; transform: translateY(20px); justify-content: space-between; }
  .toast.on { transform: translateY(0); }
}
