/* =====================================================================
   Best Plast Service — site styles (v2)
   ===================================================================== */
:root {
  --primary: #0066cc;
  --primary-600: #0052a6;
  --primary-50: #e7f1fc;
  --primary-100: #d3e5fa;
  --accent: #19a64a;
  --bg: #eaf3fd;
  --bg-alt: #dfeefc;
  --surface: #ffffff;
  --surface-2: #f5f9fe;
  --text: #13233a;
  --muted: #5a6b82;
  --border: #d9e5f3;
  --shadow-sm: 0 1px 2px rgba(16, 42, 84, .06), 0 2px 8px rgba(16, 42, 84, .05);
  --shadow: 0 6px 24px rgba(16, 42, 84, .09);
  --shadow-lg: 0 18px 50px rgba(16, 42, 84, .18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  --primary: #3d8ff2;
  --primary-600: #2a7ae0;
  --primary-50: #16263d;
  --primary-100: #1d3352;
  --bg: #0c131d;
  --bg-alt: #101a27;
  --surface: #152031;
  --surface-2: #1a273a;
  --text: #e7eef7;
  --muted: #98a9bf;
  --border: #243449;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 30px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 3000; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; text-align: center; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-soft { background: var(--primary-50); color: var(--primary); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: #0b3f7a; }
.btn-white:hover { background: #eef5ff; color: #0b3f7a; }
.btn-outline-white { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: .2s;
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; padding: 10px 12px 0;
}
.header-inner {
  max-width: 1500px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 20px; padding: 0 16px 0 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
}
.brand img { height: 40px; width: auto; border-radius: 4px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a { white-space: nowrap; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 14px;
  color: var(--text); font-weight: 500; font-size: 16px; position: relative;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; border-radius: 2px;
  background: var(--primary); transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active { color: var(--primary); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { font-weight: 700; }
.has-dropdown { position: relative; }
.has-dropdown .ic-sm { transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% - 8px); left: 50%; width: 320px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover > a .ic-sm { transform: rotate(180deg); }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-weight: 500; }
.dropdown-item:hover { background: var(--primary-50); color: var(--primary); }
.dropdown-thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; }
.dropdown-thumb img { width: 34px; height: 34px; object-fit: contain; }
.dropdown-all { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px; border-top: 1px solid var(--border); font-weight: 600; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px;
}
.lang-btn img, .lang-menu img, .mobile-langs img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease); z-index: 10;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch.is-open .lang-btn .ic-sm { transform: rotate(180deg); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 500; }
.lang-menu a:hover { background: var(--primary-50); color: var(--primary); }
.lang-menu a.is-current { color: var(--primary); font-weight: 700; background: var(--primary-50); }
.theme-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text);
}
.theme-btn:hover { color: var(--primary); border-color: var(--primary); }
.theme-btn .ic-sun { display: none; }
[data-theme="dark"] .theme-btn .ic-sun { display: block; color: #ffc947; }
[data-theme="dark"] .theme-btn .ic-moon { display: none; }
.header-phone {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.header-phone:hover { background: var(--primary-600); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); place-items: center; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 2000; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 36, .55); opacity: 0; transition: opacity .25s; }
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--surface);
  display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-head img { height: 34px; width: auto; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links > a, .mobile-group summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 17px; font-weight: 500; cursor: pointer; list-style: none;
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group[open] summary .ic-sm { transform: rotate(180deg); }
.mobile-links .is-active { color: var(--primary); font-weight: 700; }
.mobile-sub { display: flex; flex-direction: column; padding: 6px 0 10px 12px; border-bottom: 1px solid var(--border); }
.mobile-sub a { padding: 9px 4px; color: var(--muted); }
.mobile-sub a:hover { color: var(--primary); }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-langs a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; }
.mobile-langs a.is-current { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.mobile-cta { display: grid; gap: 10px; margin-top: auto; }
body.no-scroll { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 28px 0; }
.section-first { padding-top: 24px; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin: 0; position: relative; }
.section-title-sm { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.count-pill { display: inline-grid; place-items: center; min-width: 32px; height: 26px; padding: 0 9px; border-radius: 99px; background: var(--primary-50); color: var(--primary); font: 700 13px/1 var(--font-body); }
.sep { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.stack { display: grid; gap: 24px; }

/* Page hero */
.page-hero { padding: 36px 0 8px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 6px 0 4px; }
.page-sub { color: var(--muted); font-size: 18px; margin: 4px 0 0; max-width: 820px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--text); font-weight: 500; }

/* Info bar */
.info-bar { padding: 22px 0 6px; }
.info-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.info-brand { display: flex; align-items: center; gap: 14px; }
.info-brand img { width: 56px; height: 56px; object-fit: contain; }
.info-brand h1 { font-size: 26px; margin: 0; font-weight: 700; }
.info-brand p, .info-brand .h1-sub { margin: 0; color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.4; }
.info-brand .h1-sub { display: block; margin-top: 2px; font-family: var(--font-body, inherit); font-weight: 400; letter-spacing: 0; }
.info-item { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; line-height: 1.35; max-width: 320px; }
.info-item:hover { color: var(--primary); }
.info-phone { font-size: 20px; font-weight: 700; font-family: var(--font-head); }
.info-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ffe9e9; color: #e53935; flex: none; }
.info-ic-green { background: #e5f7eb; color: var(--accent); }
[data-theme="dark"] .info-ic { background: #3a1d22; }
[data-theme="dark"] .info-ic-green { background: #16301f; }

/* ---------- Hero slider ---------- */
.hero { padding: 18px 0 8px; }
.hero-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px;
  background: var(--slide-bg, #0069ca); transition: background-color .6s ease; color: #fff;
  box-shadow: var(--shadow); touch-action: pan-y;
}
.hero-slider::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 30%, rgba(255,255,255,.22), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(0,0,0,.18), transparent 70%);
}
.hero-slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  padding: 48px 90px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.hero-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; margin-bottom: 18px; }
.hero-badge { display: inline-flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); margin-bottom: 18px; }
.hero-badge span { font-size: 14px; opacity: .85; }
.hero-badge strong { font-family: var(--font-head); font-size: 28px; line-height: 1.15; }
.hero-text { font-size: 18px; opacity: .92; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-media { display: flex; justify-content: center; align-items: center; }
.hero-media img { max-height: 360px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }
.hero-slide.is-active .hero-content > * { animation: rise .7s var(--ease) both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .06s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .12s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .18s; }
.hero-slide.is-active .hero-media img { animation: pop .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; z-index: 3; transition: background .2s;
}
.hero-nav:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 20px; } .hero-next { right: 20px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .3s var(--ease), background .3s; }
.hero-dots button.is-active { width: 30px; background: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.product-open { display: flex; flex-direction: column; flex: 1; text-align: left; border: 0; background: none; padding: 0; color: inherit; }
.product-open:hover { color: inherit; }
.product-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1px solid var(--border); overflow: hidden; margin-bottom: 12px; }
[data-theme="dark"] .product-img, [data-theme="dark"] .service-gallery-item, [data-theme="dark"] .pm-media { background: #fff; border-color: transparent; }
.product-img img { width: 86%; height: 86%; object-fit: contain; transition: transform .35s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 8px; color: var(--text); }
.product-specs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.product-specs li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--border); padding-bottom: 3px; }
.product-specs span { color: var(--muted); }
.product-specs b { font-weight: 600; text-align: right; }
.product-actions { display: flex; gap: 8px; margin-top: auto; }
.product-more { flex: 1; min-height: 40px; font-size: 14px; padding: 0 12px; }
.card-quote { min-height: 40px; width: 44px; padding: 0; flex: none; }
.card-quote.is-added, [data-quote-add].is-added.btn-soft { background: var(--accent); color: #fff; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-grid-compact { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); color: var(--text); }
.cat-img { width: 100%; aspect-ratio: 1.3; display: grid; place-items: center; }
.cat-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.25; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.cat-card-lg { padding: 26px 20px; }
.cat-card-lg .cat-name { font-size: 20px; }
.cat-card-lg .cat-count { color: var(--primary); font-weight: 600; font-size: 14px; }
/* Products page: all categories in one compact row */
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
@media (max-width: 1080px) { .cat-row { grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; } .cat-row::-webkit-scrollbar { display: none; } .cat-card-row { scroll-snap-align: start; } }
.cat-card-row { padding: 12px 10px 14px; gap: 4px; border-radius: 14px; }
.cat-card-row:hover { transform: translateY(-2px); }
.cat-card-row .cat-img { aspect-ratio: auto; height: 96px; }
.cat-card-row .cat-img img { max-height: 96px; }
.cat-card-row .cat-name { font-size: 15px; }
.cat-card-row .cat-count { font-size: 12.5px; color: var(--primary); font-weight: 600; }

/* Toolbar / search */
.search-bar {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; margin-bottom: 30px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.search-bar > .ic { color: var(--muted); }
.search-bar input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; padding: 10px 4px; outline: none; }
.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: 14px; white-space: nowrap; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-input { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; height: 46px; min-width: 300px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--muted); }
.filter-input:focus-within { border-color: var(--primary); }
.filter-input input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; outline: none; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 50px 20px; color: var(--muted); }
.empty-state .ic { width: 44px; height: 44px; opacity: .6; }
.empty-404 h1 { color: var(--text); font-size: 32px; }
.big-404 { font: 800 110px/1 var(--font-head); color: var(--primary); opacity: .9; }

/* ---------- Marquee (brands) ---------- */
.brands { padding: 18px 0; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 64px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.marquee-track img:hover { filter: none; transform: scale(1.06); }
.brands-catalog .marquee-track img { height: 110px; max-width: 200px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.prose { color: var(--text); font-size: 17px; }
.prose p { margin-bottom: 1em; }
.prose-lg { font-size: 18px; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 26px; }
.stat { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font: 800 30px/1.1 var(--font-head); color: var(--primary); }
.stat span { color: var(--muted); font-size: 14px; }

/* Carousel (production photos) */
.carousel-nav { display: flex; gap: 8px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); }
.carousel-item img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.carousel-item:hover img, .gallery-item:hover img { transform: scale(1.05); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; display: block; }

/* Service tiles (home) */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px 20px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; font: inherit;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); color: var(--text); }
.service-tile-img { width: 100%; height: 190px; display: grid; place-items: center; }
.service-tile-img img { max-height: 190px; max-width: 100%; width: auto; object-fit: contain; }
.service-tile-title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; }
.service-tile-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); transition: .2s; }
.service-tile:hover .service-tile-arrow { background: var(--primary); color: #fff; }

/* Service cards (services page) */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.service-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.service-card-head h2 { font-size: 26px; margin: 0; }
.detail-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; margin-bottom: 18px; color: var(--text); }
.detail-cols p { margin: 0 0 6px; }
.detail-cols strong { color: var(--text); }
.service-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; }
.service-gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.service-gallery-item:hover img { transform: scale(1.05); }

/* Vacancies */
.vacancy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 22px; }
.vacancy-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.vacancy-card h2 { font-size: 24px; margin: 6px 0 0; }
.vacancy-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.vacancy-salary { font: 700 20px/1.3 var(--font-head); color: var(--accent); margin-bottom: 6px; }
.vacancy-salary span { font: 400 14px var(--font-body); color: var(--muted); }
.vacancy-card .btn { margin-top: auto; }

/* Contacts */
.branch-grid { display: grid; gap: 22px; }
.branch-card { display: grid; grid-template-columns: 1fr 1.15fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.branch-info { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.branch-info h2 { font-size: 22px; margin: 0; }
.branch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.branch-list li { display: flex; gap: 12px; align-items: flex-start; }
.branch-list .info-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-50); color: var(--primary); }
.branch-list small { display: block; color: var(--muted); font-size: 13px; }
.branch-list a { display: block; color: var(--text); font-weight: 500; }
.branch-list a:hover { color: var(--primary); }
.branch-list p { margin: 0 0 2px; }
.branch-map { min-height: 300px; background: var(--surface-2); }
.branch-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* CTA band */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, #0058b3, #0a7ae0 60%, #1b8ef0);
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions.center { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: #0d1828; color: #c5d2e3; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1.4fr 1fr; gap: 32px; }
.footer-logo { height: 42px; width: auto; margin-bottom: 14px; border-radius: 4px; }
.footer-about p { font-size: 14px; line-height: 1.6; }
.footer-about strong { color: #fff; }
.footer-title { font: 700 14px/1.2 var(--font-body); color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.footer-list li { display: flex; gap: 12px; align-items: flex-start; }
.footer-list a { color: #c5d2e3; }
.footer-list a:hover { color: #fff; }
.footer-list strong { color: #fff; font-weight: 500; }
.footer-ic { width: 22px; height: 22px; object-fit: contain; flex: none; margin-top: 1px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social img { width: 22px; height: 22px; object-fit: contain; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8698b0; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #8698b0; }
.footer-links a:hover { color: #fff; }

/* Floating buttons */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s; }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-phone { background: var(--accent); animation: ring 3s ease-in-out infinite; }
.fab-tg { background: #229ed9; }
.fab-tg .ic { margin-left: -2px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(25,166,74,.5), 0 8px 22px rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 12px rgba(25,166,74,0), 0 8px 22px rgba(0,0,0,.25); } }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 36, .62); opacity: 0; transition: opacity .25s; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.98); transition: .28s var(--ease);
}
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); display: grid; place-items: center; }
.modal-close:hover { background: var(--primary-50); color: var(--primary); }
.modal-product { max-width: 980px; display: grid; grid-template-columns: 1fr 1.1fr; }
.pm-media { background: #fff; display: grid; place-items: center; padding: 30px; min-height: 380px; }
.pm-media img { max-height: 440px; width: auto; object-fit: contain; }
.pm-body { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.pm-body h2 { font-size: 28px; margin: 0; padding-right: 40px; }
.pm-code { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 12px; }
.spec-table td { font-weight: 600; white-space: pre-line; }
.pm-desc { color: var(--text); font-size: 15px; white-space: pre-line; }
.pm-desc:empty { display: none; }
.pm-body .btn { margin-top: auto; align-self: flex-start; }
.modal-lead { max-width: 480px; }
.lead-form { padding: 34px 30px 28px; }
.lead-form h2 { font-size: 26px; margin: 0 0 4px; padding-right: 40px; }
.lead-product { margin: 4px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--primary-50); font-size: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); }
.field input.is-invalid { border-color: #e53935; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; margin-bottom: 12px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--accent); font-weight: 600; }
.form-msg.is-err { color: #e53935; }
.lead-alt { text-align: center; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.lead-success { text-align: center; padding: 30px 10px; }
.lead-success .ok-ic { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #e5f7eb; color: var(--accent); }
.lead-success .ok-ic .ic { width: 36px; height: 36px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2600; background: rgba(4, 10, 20, .9); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox .modal-close { background: rgba(255,255,255,.15); color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0; width: 42px; justify-content: center; }
  .main-nav > ul > li > a { padding: 0 10px; font-size: 15px; }
  .main-nav > ul > li > a::after { left: 10px; right: 10px; }
  .cat-grid-compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  .header-tools { margin-left: auto; }
  .hero-slide { padding: 40px 70px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-media { order: -1; }
  .carousel { grid-auto-columns: calc((100% - 20px) / 2); }
  .branch-card { grid-template-columns: 1fr; }
  .modal-product { grid-template-columns: 1fr; max-width: 620px; }
  .pm-media { min-height: 260px; padding: 20px; }
  .pm-media img { max-height: 300px; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .container { padding: 0 16px; }
  .site-header { padding: 8px 8px 0; }
  .header-inner { padding: 0 8px 0 14px; gap: 8px; border-radius: 14px; }
  .brand img { height: 34px; }
  .lang-btn { padding: 0 9px; }
  .lang-btn span { display: none; }
  .header-phone { display: none; }
  .section { padding: 40px 0; }
  .info-grid { gap: 14px; }
  .info-item:not(.info-phone) { display: none; }
  .info-brand h1 { font-size: 21px; }
  .info-phone { font-size: 17px; }
  .info-brand img { width: 46px; height: 46px; }
  .hero-slider { min-height: 0; border-radius: 18px; }
  .hero-slide { grid-template-columns: 1fr; padding: 28px 22px 56px; text-align: left; gap: 10px; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 190px; }
  .hero-text { font-size: 16px; }
  .hero-badge strong { font-size: 22px; }
  .hero-nav { display: none; }
  .hero-actions .btn { flex: 1; min-height: 50px; padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 10px; }
  .product-title { font-size: 14px; }
  .product-specs { font-size: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .cat-card-lg .cat-name { font-size: 16px; }
  .cat-card-lg { padding: 18px 12px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-tile { padding: 14px 10px; }
  .service-tile-title { font-size: 14px; }
  .service-tile-img { height: 120px; }
  .service-tile-img img { max-height: 120px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat strong { font-size: 22px; }
  .stat span { font-size: 12px; }
  .carousel { grid-auto-columns: 86%; gap: 12px; }
  .detail-cols { grid-template-columns: 1fr; }
  .service-card, .vacancy-card, .branch-info { padding: 20px; }
  .service-gallery { gap: 8px; }
  .vacancy-grid { grid-template-columns: 1fr; }
  .filter-input { min-width: 0; width: 100%; }
  .search-bar { flex-wrap: nowrap; padding-left: 14px; }
  .search-bar .btn { padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 26px 22px; }
  .cta-actions .btn { flex: 1; }
  .marquee-track { gap: 34px; }
  .marquee-track img { height: 48px; }
  .brands-catalog .marquee-track img { height: 80px; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .pm-body { padding: 24px 20px; }
  .pm-body h2 { font-size: 22px; }
  .pm-body .btn { align-self: stretch; }
  .lead-form { padding: 28px 20px 22px; }
  .fab { width: 50px; height: 50px; }
  .fab-tg { display: none; }
  .fab-stack { right: 12px; bottom: 12px; }
  .page-hero { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== v2.1 additions ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-link { background: none; border: 0; padding: 6px 0; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-link:hover { text-decoration: underline; }
.small-note { margin: 4px 0 0; font-size: 14px; }
.muted.small { font-size: 13px; }
.chip-sm { padding: 5px 11px; font-size: 13px; }

/* Header quote button */
.quote-btn { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; }
.quote-btn:hover { border-color: var(--primary); color: var(--primary); }
.quote-count { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 99px; background: #f59f00; color: #1a1a1a; font: 700 12px/21px var(--font-body); text-align: center; font-style: normal; box-shadow: 0 0 0 2px var(--surface); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; height: 54px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.qty input { width: 92px; height: 100%; border: 0; text-align: center; font: 600 16px var(--font-body); color: var(--text); background: transparent; -moz-appearance: textfield; outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; height: 100%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.qty-btn:hover { color: var(--primary); background: var(--primary-50); }
.qty-sm { height: 38px; border-radius: 10px; }
.qty-sm input { width: 74px; font-size: 14px; }
.qty-sm .qty-btn { width: 34px; }

/* Product modal actions */
.pm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.pm-body .pm-actions .btn { margin-top: 0; align-self: auto; }
[data-quote-add].is-added.btn-primary { background: var(--accent); box-shadow: none; }
.pm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 3000; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: #13233a; color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s var(--ease); box-shadow: var(--shadow-lg); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Quote drawer */
.drawer { position: fixed; inset: 0; z-index: 2400; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 36, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s var(--ease); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { margin: 0; font-size: 22px; }
.drawer-head .modal-close { position: static; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 30px; text-align: center; color: var(--muted); }
.drawer-empty .ic { width: 44px; height: 44px; opacity: .5; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--border); display: grid; gap: 8px; justify-items: center; }
.drawer-foot p { margin: 0; justify-self: start; }
.q-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.q-item img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--border); flex: none; }
.q-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.q-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.q-del { width: 38px; height: 38px; border: 0; }
.lead-items { display: grid; gap: 4px; max-height: 180px; overflow-y: auto; margin: 6px 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--primary-50); font-size: 14px; }
.lead-items div { display: flex; justify-content: space-between; gap: 10px; }
.lead-success .btn { margin-top: 10px; }

/* Facets */
.facets { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.facet { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.facet-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.facet-end { margin-left: auto; gap: 14px; }
.facets .filter-input { height: 38px; min-width: 220px; flex: 0 1 300px; border-radius: 10px; background: var(--surface-2); }
.facets .filter-input .count-pill { font-size: 12px; }
.facets .facet[data-facet="vol"] { order: 1; }
.facets .facet-end { order: 2; }
.facets .facet[data-facet="neck"] { order: 3; flex-basis: 100%; }
.facets .sort-select select { width: auto; max-width: 180px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 13.5px; font-weight: 500; }
.fchip em { font-style: normal; font-size: 12px; color: var(--muted); }
.fchip:hover { border-color: var(--primary); }
.fchip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.fchip[aria-pressed="true"] em { color: #d6e6fa; }
.sort-select select { height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }

/* Product detail page */
.page-hero-tight { padding: 22px 0 0; }
.pd { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.pd-media { position: sticky; top: calc(var(--header-h) + 30px); display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); padding: 30px; }
.pd-media img { max-height: 100%; width: auto; object-fit: contain; }
.pd-info { display: flex; flex-direction: column; gap: 18px; }
.pd-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 0; }
.pd-necks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.pd-desc { font-size: 16px; line-height: 1.7; }
.pd-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.pd-notes li { display: flex; align-items: center; gap: 8px; }
.pd-notes .ic { color: var(--accent); }
.pd-call { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* Catalog PDF banner + footer buttons */
.pdf-banner { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--primary); }
.pdf-banner strong { font-family: var(--font-head); font-size: 19px; }
.pdf-banner p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.pdf-banner > div { flex: 1; }
.pdf-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.footer-btns { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1080px) {
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .pd-media { position: static; max-height: 420px; aspect-ratio: auto; height: 380px; }
}
@media (max-width: 760px) {
  .quote-label { display: none; }
  .quote-btn { width: 42px; padding: 0; justify-content: center; }
  .card-quote { width: 40px; }
  .product-more { font-size: 13px; padding: 0 8px; }
  .facets { gap: 10px; padding: 12px; }
  .facet-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .facets .filter-input { flex: 1 1 100%; min-width: 0; }
  .facets .facet-end { order: 4; }
  .cat-row { grid-auto-columns: 132px; margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px; }
  .cat-card-row .cat-img { height: 76px; }
  .cat-card-row .cat-img img { max-height: 76px; }
  .cat-card-row .cat-name { font-size: 14px; }
  .pm-actions .btn { flex: 1 1 auto; }
  .pdf-banner { flex-wrap: wrap; }
  .pdf-banner .btn { width: 100%; }
  .pd-media { height: 300px; }
}
.q-main .qty { align-self: flex-start; }

/* SEO text + FAQ (category pages) */
.seo-section { padding-top: 10px; }
.seo-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.seo-grid-1 { grid-template-columns: 1fr; }
.seo-text h2, .faq h2 { font-size: 22px; margin: 0 0 12px; }
.seo-text .prose { color: var(--muted); font-size: 15px; line-height: 1.7; }
.seo-text .prose p { margin: 0 0 12px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-a p { margin: 0; }
@media (max-width: 900px) { .seo-grid { grid-template-columns: 1fr; padding: 20px; gap: 20px; } }
