/* Дастан Строй Эксперт — стили сайта. Утилиты Tailwind собраны через Tailwind CLI. */
.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.max-w-\[42ch\]{max-width:42ch}.max-w-\[520px\]{max-width:520px}.max-w-\[560px\]{max-width:560px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.p-6{padding:1.5rem}.py-10{padding-top:2.5rem}.pb-10,.py-10{padding-bottom:2.5rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[15px\]{font-size:15px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-mute{--tw-text-opacity:1;color:rgb(110 110 115/var(--tw-text-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width:640px){.sm\:block{display:block}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:gap-2{gap:.5rem}.sm\:pt-5{padding-top:1.25rem}}@media (min-width:768px){.md\:grid-cols-\[1\.3fr_1fr_1fr\]{grid-template-columns:1.3fr 1fr 1fr}}@media (min-width:1024px){.lg\:p-10{padding:2.5rem}.lg\:pb-16{padding-bottom:4rem}.lg\:pt-6{padding-top:1.5rem}}
  :root{
    color-scheme: light;
    --page:#F3F4F6; --card:#FFFFFF; --soft:#F7F7F9;
    --text:#1D1D1F; --muted:#6E6E73; --faint:#9A9AA0;
    --line:#E6E6EB; --line-2:#D6D6DC;
    --accent:#EE6C10; --accent-hi:#F47A1F; --accent-lo:#D95E08; --tint:#FFF2E8; --tint-2:#FFE3CE;
    --green:#1DA851; --red:#E5484D; --studio:#D5D1CB;
    --r-card:20px; --r-btn:10px;
    --header-h:60px;
  }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ color-scheme: light; } }
  :root[data-theme="dark"]{ color-scheme: light; }

  *,*::before,*::after{ box-sizing:border-box; border-width:0; border-style:solid; }
  h1,h2,h3,p,ul,dl,dd,figure{ margin:0; } ul{ padding:0; list-style:none; }
  a{ color:inherit; text-decoration:none; } img,canvas{ max-width:100%; } img{ display:block; }
  button,input{ font:inherit; color:inherit; margin:0; } button{ background:none; cursor:pointer; padding:0; }
  html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
  body{ margin:0; background:var(--page); color:var(--text); font-family:'Inter','Segoe UI',Roboto,sans-serif; font-size:16px; line-height:1.45; letter-spacing:-.01em; overflow-x:clip; -webkit-tap-highlight-color:transparent; -webkit-font-smoothing:antialiased; }
  body.lock{ overflow:hidden; }
  h1,h2,h3{ font-weight:600; letter-spacing:-.04em; line-height:1.08; text-wrap:balance; }
  .wrap{ width:100%; max-width:1240px; margin-inline:auto; padding-inline:16px; }
  @media (min-width:768px){ .wrap{ padding-inline:24px; } }
  section[id]{ scroll-margin-top:calc(var(--header-h) + 12px); }
  .num{ font-variant-numeric:tabular-nums; }
  :focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:8px; }
  [data-lucide]{ width:20px; height:20px; stroke-width:1.8; flex:none; }

  .sec{ padding-block:40px; }
  @media (min-width:768px){ .sec{ padding-block:64px; } }
  .sec-head{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
  @media (min-width:768px){ .sec-head{ margin-bottom:28px; } }
  .h2{ font-size:clamp(26px,4vw,40px); }
  .sub{ color:var(--muted); font-size:clamp(15px,1.6vw,17px); max-width:62ch; }
  .card{ background:var(--card); border-radius:var(--r-card); }

  /* Кнопки в духе BI: плоские, 10px, средний вес */
  .btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 20px; border-radius:var(--r-btn); font-weight:600; font-size:16px; letter-spacing:-.02em; transition:background .15s, color .15s, border-color .15s, transform .12s; cursor:pointer; white-space:nowrap; user-select:none; }
  .btn:active{ transform:scale(.98); }
  .btn-accent{ background:var(--accent); color:#fff; }
  .btn-accent:hover{ background:var(--accent-lo); }
  .btn-out{ background:var(--card); color:var(--text); border:1px solid var(--line-2); }
  .btn-out:hover{ border-color:var(--text); }
  .btn-out-accent{ background:var(--card); color:var(--accent-lo); border:1px solid var(--accent); }
  .btn-out-accent:hover{ background:var(--tint); }
  .btn-dark{ background:var(--text); color:var(--card); }
  .btn-dark:hover{ background:#000; }
  .btn-wa{ background:var(--green); color:#fff; }
  .btn-wa:hover{ background:#17964a; }
  .btn-lg{ min-height:56px; font-size:17px; padding:0 24px; }
  .btn-block{ width:100%; }

  /* Верхняя полоса и шапка */
  .strip{ background:var(--accent); color:#fff; font-size:13.5px; font-weight:500; }
  .strip-in{ height:36px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .strip [data-lucide]{ width:16px; height:16px; }
  .hdr{ position:sticky; top:env(safe-area-inset-top,0px); z-index:60; background:var(--glass); backdrop-filter:saturate(1.6) blur(16px); -webkit-backdrop-filter:saturate(1.6) blur(16px); border-bottom:1px solid var(--line); }
  .hdr-in{ height:var(--header-h); display:flex; align-items:center; gap:16px; }
  @media (min-width:1024px){ :root{ --header-h:72px; } }
  .logo{ display:flex; align-items:center; gap:10px; flex:none; }
  .logo img{ height:40px; width:auto; }
  @media (min-width:1024px){ .logo img{ height:50px; } }
  .logo b{ display:block; font-family:'Montserrat','Inter',sans-serif; font-weight:800; font-size:16px; line-height:1; letter-spacing:.01em; }
  .logo small{ display:block; font-size:10.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-top:4px; white-space:nowrap; }
  .nav a{ font-size:15px; font-weight:500; color:var(--text); padding:8px 12px; border-radius:8px; }
  .nav a:hover{ background:var(--soft); color:var(--accent-lo); }
  .ibtn{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border-radius:10px; color:var(--text); }
  .ibtn:hover{ background:var(--soft); }
  .ibtn.wa{ color:var(--green); }
  .hdr .v-lg{ display:none; } @media (min-width:1024px){ .hdr .v-lg{ display:inline-flex; } .hdr .h-lg{ display:none; } }
  .hdr .h-xl{ } @media (min-width:1280px){ .hdr .h-xl{ display:none; } }

  .status{ display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
  .status i.dot{ width:7px; height:7px; border-radius:50%; background:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.3); }
  .status.closed i.dot{ background:#FFD7B8; }

  /* Меню */
  .drawer{ position:fixed; inset:0; z-index:80; overflow:hidden; visibility:hidden; pointer-events:none; transition:visibility 0s .3s; }
  .drawer .scrim{ position:absolute; inset:0; background:rgba(0,0,0,.4); opacity:0; transition:opacity .25s; }
  .drawer .sheet{ position:absolute; left:0; right:0; bottom:0; max-height:88vh; background:var(--card); border-radius:20px 20px 0 0; transform:translateY(100%); transition:transform .32s cubic-bezier(.2,.8,.2,1); padding:10px 16px calc(18px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; gap:10px; overflow-y:auto; }
  @media (min-width:640px){ .drawer .sheet{ left:auto; top:0; width:400px; max-height:none; border-radius:0; transform:translateX(100%); padding-top:18px; } }
  .drawer.open{ pointer-events:auto; visibility:visible; transition:none; }
  .drawer.open .scrim{ opacity:1; }
  .drawer.open .sheet{ transform:none; }
  .grab{ width:40px; height:4px; border-radius:4px; background:var(--line-2); margin:0 auto 6px; }
  @media (min-width:640px){ .grab{ display:none; } }
  .drawer nav a{ display:flex; align-items:center; gap:14px; padding:14px 4px; font-size:17px; font-weight:500; border-bottom:1px solid var(--line); }
  .drawer nav a [data-lucide]{ color:var(--accent); }

  /* Hero: большая фото-карточка + белая промо-карточка */
  .hero-photo{ position:relative; border-radius:24px; overflow:hidden; aspect-ratio:16/9; background:#ccc; }
  @media (max-width:767.98px){ .hero-photo{ aspect-ratio:4/3.3; border-radius:20px; } }
  .hero-photo img{ width:100%; height:100%; object-fit:cover; }
  .hero-photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.0) 40%, rgba(0,0,0,.55) 100%); }
  .hero-tag{ position:absolute; z-index:1; left:14px; top:14px; background:var(--chip-bg); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); border-radius:8px; padding:6px 10px; font-size:13px; font-weight:600; display:inline-flex; gap:6px; align-items:center; }
  .hero-tag [data-lucide]{ width:15px; height:15px; color:var(--accent); }
  .hero-card{ position:relative; z-index:2; margin:-56px 12px 0; background:var(--card); border-radius:20px; padding:20px; box-shadow:0 20px 50px -24px rgba(0,0,0,.28); display:flex; flex-direction:column; gap:14px; }
  @media (min-width:1024px){ .hero-wrap{ position:relative; } .hero-card{ position:absolute; left:32px; bottom:32px; margin:0; width:min(560px, 52%); padding:28px; } }
  .hero-card h1{ font-size:clamp(26px,4.4vw,44px); }
  .hero-card h1 em{ font-style:normal; color:var(--accent); }
  .chips{ display:flex; flex-wrap:wrap; gap:6px; }
  .chip{ display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:8px; background:var(--soft); border:1px solid var(--line); font-size:13.5px; font-weight:500; white-space:nowrap; }
  .chip b{ font-weight:700; }

  /* Иконки-ярлыки как у BI */
  .quick{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  @media (min-width:768px){ .quick{ grid-template-columns:repeat(6,minmax(0,1fr)); } }
  .quick a{ display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 6px; background:var(--card); border-radius:16px; font-size:13.5px; font-weight:500; text-align:center; transition:transform .15s, box-shadow .15s; }
  .quick a:hover{ transform:translateY(-2px); box-shadow:0 12px 24px -16px rgba(0,0,0,.3); }
  .quick a span.i{ width:44px; height:44px; border-radius:12px; background:var(--tint); color:var(--accent); display:flex; align-items:center; justify-content:center; }
  .quick a span.i [data-lucide]{ width:22px; height:22px; }

  /* Преимущества */
  .why{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  @media (min-width:1024px){ .why{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; } }
  .why .card{ padding:18px; display:flex; flex-direction:column; gap:10px; }
  .why .v{ font-size:clamp(24px,3.4vw,34px); font-weight:700; letter-spacing:-.04em; line-height:1; }
  .why .v span{ color:var(--accent); }
  .why .t{ font-weight:600; font-size:15px; }
  .why .d{ color:var(--muted); font-size:14px; }

  /* 3D-разбор */
  .xv-stage{ position:relative; }
  .xv-canvas-box{ position:relative; background:radial-gradient(120% 90% at 50% 40%, #DEDAD4 0%, var(--studio) 55%, #C4C0B9 100%); border-radius:24px; overflow:hidden; aspect-ratio:3/2; width:100%; max-width:100%; }
  .xv-canvas-box canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
  .xv-hud{ position:absolute; left:12px; top:12px; right:12px; display:flex; justify-content:space-between; gap:8px; z-index:2; pointer-events:none; }
  .xv-chip{ background:var(--chip-bg); color:var(--text); font-size:12.5px; font-weight:600; padding:6px 10px; border-radius:8px; }
  .xv-chip.a{ background:var(--accent); color:#fff; }
  .xv-progress{ position:absolute; left:12px; right:12px; bottom:12px; height:4px; border-radius:4px; background:rgba(0,0,0,.12); z-index:2; overflow:hidden; }
  .xv-progress i{ display:block; height:100%; width:100%; background:var(--accent); transform-origin:left; transform:scaleX(0); }
  .layer-card{ background:var(--card); border-radius:20px; padding:20px; border:1px solid var(--line); transition:border-color .3s, box-shadow .3s, opacity .3s; }
  .layer-card .k{ font-size:13px; font-weight:600; color:var(--accent); }
  .layer-card h3{ font-size:20px; margin:6px 0 8px; }
  .layer-card p{ color:var(--muted); font-size:15px; }
  .layer-card .tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
  .layer-card.is-active{ border-color:var(--accent); box-shadow:0 18px 40px -24px rgba(238,108,16,.6); }
  @media (max-width:1023.98px){
    .xv-sticky{ position:sticky; top:calc(env(safe-area-inset-top,0px) + var(--header-h) + 8px); z-index:3; padding-block:2px 12px; background:var(--page); box-shadow:0 12px 14px -12px var(--page); }
    .xv-cards{ position:relative; z-index:1; display:flex; flex-direction:column; gap:26vh; padding-top:6vh; padding-bottom:20vh; }
    .layer-card{ opacity:.6; } .layer-card.is-active{ opacity:1; }
  }
  @media (min-width:1024px){
    .xv-stage{ height:calc(100vh - var(--header-h)); min-height:620px; display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:32px; align-items:center; padding-block:24px; }
    .xv-canvas-box{ max-height:calc(100vh - var(--header-h) - 48px); }
    .xv-cards{ position:relative; height:100%; max-height:560px; }
    .xv-cards .layer-card{ position:absolute; left:0; right:0; top:50%; translate:0 -50%; }
  }

  /* До / После — реальные фото */
  .ba{ position:relative; border-radius:24px; overflow:hidden; aspect-ratio:1376/768; width:100%; max-width:100%; background:#ddd; touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:ew-resize; }
  @media (max-width:640px){ .ba{ border-radius:18px; } }
  .ba img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; -webkit-user-drag:none; }
  .ba .before{ position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--pos,50%)) 0 0); }
  .ba .handle{ position:absolute; top:0; bottom:0; left:var(--pos,50%); width:0; z-index:3; }
  .ba .handle::before{ content:""; position:absolute; top:0; bottom:0; left:-1.5px; width:3px; background:#fff; box-shadow:0 0 10px rgba(0,0,0,.35); }
  .ba .knob{ position:absolute; top:50%; left:0; transform:translate(-50%,-50%); width:52px; height:52px; border-radius:50%; background:var(--card); color:var(--accent); display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(0,0,0,.3); }
  .ba .lbl{ position:absolute; top:12px; z-index:2; font-size:13px; font-weight:600; padding:6px 10px; border-radius:8px; background:var(--chip-bg); color:var(--text); }
  .ba .lbl.l{ left:12px; } .ba .lbl.r{ right:12px; background:var(--accent); color:#fff; }

  /* ===== КАТАЛОГ: стили оригинального сайта без изменений ===== */
  .cat-orig{ --primary:#1a2940; --accent:#c8891a; --accent2:#e8a52a; --light:#f5f3ef; --gray:#8a8a8a; --red:#ef4444; background:#f5f3ef; font-family:'Inter',sans-serif; color:#1a2940; line-height:1.4; letter-spacing:0; }
  .cat-orig .section{ max-width:480px; margin:0 auto; padding:20px 16px; background:#f5f3ef; }
  .cat-orig .section-title{ font-family:Montserrat,sans-serif; font-weight:800; font-size:18px; margin-bottom:4px; color:#1a2940; }
  .cat-orig .section-sub{ font-size:12px; color:var(--gray); margin-bottom:14px; }
  .cat-orig .filter-tabs{ display:flex; gap:7px; overflow-x:auto; padding-bottom:4px; margin-bottom:14px; scrollbar-width:none; }
  .cat-orig .filter-tabs::-webkit-scrollbar{ display:none; }
  .cat-orig .ftab{ white-space:nowrap; padding:9px 16px; border-radius:20px; font-size:12px; font-weight:600; border:2px solid #ddd; background:white; color:var(--gray); cursor:pointer; font-family:Montserrat,sans-serif; }
  .cat-orig .ftab.active{ background:var(--primary); border-color:var(--primary); color:white; }
  .cat-orig .products-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .cat-orig .product-card{ background:white; border-radius:14px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.07); cursor:pointer; }
  .cat-orig .product-card:active{ transform:scale(.97); }
  .cat-orig .pcp{ width:100%; height:90px; position:relative; overflow:hidden; }
  .cat-orig .pnum{ position:absolute; top:6px; left:6px; background:rgba(0,0,0,.45); color:white; font-size:10px; padding:2px 6px; border-radius:8px; font-family:Montserrat,sans-serif; font-weight:700; }
  .cat-orig .pinfo{ padding:8px 10px; }
  .cat-orig .pname{ font-family:Montserrat,sans-serif; font-weight:700; font-size:11px; color:var(--primary); margin-bottom:2px; line-height:1.3; }
  .cat-orig .pprice{ font-size:12px; color:var(--accent); font-weight:700; font-family:Montserrat,sans-serif; }
  .cat-orig .pprice span{ font-size:10px; color:var(--gray); font-weight:400; }
  @media (min-width:768px){ .cat-orig .section{ max-width:960px; padding:32px 24px; } .cat-orig .products-grid{ grid-template-columns:repeat(3,1fr); gap:14px; } .cat-orig .pcp{ height:130px; } }
  @media (min-width:1100px){ .cat-orig .section{ max-width:1200px; } .cat-orig .products-grid{ grid-template-columns:repeat(4,1fr); } .cat-orig .pcp{ height:150px; } }
  #modal{ --primary:#1a2940; --accent:#c8891a; --light:#f5f3ef; --gray:#8a8a8a; font-family:'Inter',sans-serif; color:#1a2940; line-height:1.4; letter-spacing:0; }
  .modal-overlay{ display:none; position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:200; align-items:flex-end; }
  .modal-overlay.open{ display:flex; }
  .modal{ background:white; width:100%; max-width:480px; margin:0 auto; border-radius:20px 20px 0 0; padding:18px; animation:slideUp .3s ease; position:relative; max-height:90vh; overflow-y:auto; padding-bottom:calc(18px + env(safe-area-inset-bottom,0px)); }
  @keyframes slideUp{ from{ transform:translateY(100%); } to{ transform:translateY(0); } }
  .modal-handle{ width:40px; height:4px; background:#ddd; border-radius:2px; margin:0 auto 14px; }
  .modal-preview{ width:100%; height:150px; border-radius:12px; margin-bottom:12px; }
  .modal-title{ font-family:Montserrat,sans-serif; font-weight:800; font-size:17px; margin-bottom:10px; }
  .modal-prices{ display:flex; gap:10px; margin-bottom:10px; }
  .price-box{ flex:1; background:var(--light); border-radius:10px; padding:10px; text-align:center; }
  .pthick{ font-size:10px; color:var(--gray); margin-bottom:2px; }
  .pval{ font-family:Montserrat,sans-serif; font-weight:800; font-size:17px; color:var(--accent); }
  .punit{ font-size:10px; color:var(--gray); }
  .modal-close{ position:absolute; top:14px; right:14px; background:#f0f0f0; border:none; width:28px; height:28px; border-radius:50%; font-size:13px; cursor:pointer; }
  .modal-cta{ background:var(--accent); color:white; border:none; width:100%; padding:13px; border-radius:12px; font-family:Montserrat,sans-serif; font-weight:700; font-size:14px; cursor:pointer; margin-top:10px; }
  .t1 { background: repeating-linear-gradient(45deg, rgb(232, 232, 232) 0px, rgb(232, 232, 232) 4px, rgb(245, 245, 245) 4px, rgb(245, 245, 245) 8px); }
.t2 { background: repeating-linear-gradient(0deg, rgb(240, 240, 240) 0px, rgb(240, 240, 240) 18px, rgb(216, 216, 216) 18px, rgb(216, 216, 216) 20px); }
.t3 { background: repeating-linear-gradient(0deg, rgb(229, 229, 229) 0px, rgb(229, 229, 229) 14px, rgb(204, 204, 204) 14px, rgb(204, 204, 204) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(204, 204, 204) 36px, rgb(204, 204, 204) 38px) rgb(229, 229, 229); }
.t4 { background: repeating-linear-gradient(0deg, rgb(229, 229, 229) 0px, rgb(229, 229, 229) 24px, rgb(204, 204, 204) 24px, rgb(204, 204, 204) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(204, 204, 204) 56px, rgb(204, 204, 204) 58px) rgb(229, 229, 229); }
.t5 { background: linear-gradient(160deg, rgb(122, 128, 144), rgb(90, 96, 112)); }
.t6 { background: repeating-linear-gradient(0deg, rgb(107, 114, 128) 0px, rgb(107, 114, 128) 18px, rgb(79, 90, 104) 18px, rgb(79, 90, 104) 20px); }
.t7 { background: repeating-linear-gradient(0deg, rgb(107, 114, 128) 0px, rgb(107, 114, 128) 14px, rgb(75, 85, 99) 14px, rgb(75, 85, 99) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(75, 85, 99) 36px, rgb(75, 85, 99) 38px) rgb(107, 114, 128); }
.t8 { background: repeating-linear-gradient(0deg, rgb(107, 114, 128) 0px, rgb(107, 114, 128) 24px, rgb(75, 85, 99) 24px, rgb(75, 85, 99) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(75, 85, 99) 56px, rgb(75, 85, 99) 58px) rgb(107, 114, 128); }
.t9 { background: linear-gradient(160deg, rgb(240, 232, 208), rgb(216, 200, 160)); }
.t10 { background: repeating-linear-gradient(0deg, rgb(237, 224, 192) 0px, rgb(237, 224, 192) 18px, rgb(200, 184, 136) 18px, rgb(200, 184, 136) 20px); }
.t11 { background: repeating-linear-gradient(0deg, rgb(232, 216, 168) 0px, rgb(232, 216, 168) 14px, rgb(192, 168, 112) 14px, rgb(192, 168, 112) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(192, 168, 112) 36px, rgb(192, 168, 112) 38px) rgb(232, 216, 168); }
.t12 { background: repeating-linear-gradient(0deg, rgb(232, 216, 168) 0px, rgb(232, 216, 168) 24px, rgb(192, 168, 112) 24px, rgb(192, 168, 112) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(192, 168, 112) 56px, rgb(192, 168, 112) 58px) rgb(232, 216, 168); }
.t13 { background: linear-gradient(160deg, rgb(232, 208, 96), rgb(200, 168, 32)); }
.t14 { background: repeating-linear-gradient(0deg, rgb(216, 192, 80) 0px, rgb(216, 192, 80) 18px, rgb(184, 152, 32) 18px, rgb(184, 152, 32) 20px); }
.t15 { background: repeating-linear-gradient(0deg, rgb(212, 184, 48) 0px, rgb(212, 184, 48) 14px, rgb(168, 136, 16) 14px, rgb(168, 136, 16) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(168, 136, 16) 36px, rgb(168, 136, 16) 38px) rgb(212, 184, 48); }
.t16 { background: repeating-linear-gradient(0deg, rgb(212, 184, 48) 0px, rgb(212, 184, 48) 24px, rgb(168, 136, 16) 24px, rgb(168, 136, 16) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(168, 136, 16) 56px, rgb(168, 136, 16) 58px) rgb(212, 184, 48); }
.t17 { background: linear-gradient(160deg, rgb(139, 96, 64), rgb(107, 64, 32)); }
.t18 { background: repeating-linear-gradient(0deg, rgb(122, 80, 48) 0px, rgb(122, 80, 48) 18px, rgb(90, 48, 16) 18px, rgb(90, 48, 16) 20px); }
.t19 { background: repeating-linear-gradient(0deg, rgb(122, 80, 48) 0px, rgb(122, 80, 48) 14px, rgb(90, 48, 16) 14px, rgb(90, 48, 16) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(90, 48, 16) 36px, rgb(90, 48, 16) 38px) rgb(122, 80, 48); }
.t20 { background: repeating-linear-gradient(0deg, rgb(122, 80, 48) 0px, rgb(122, 80, 48) 24px, rgb(90, 48, 16) 24px, rgb(90, 48, 16) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(90, 48, 16) 56px, rgb(90, 48, 16) 58px) rgb(122, 80, 48); }
.t21 { background: linear-gradient(160deg, rgb(192, 57, 43), rgb(146, 43, 33)); }
.t22 { background: repeating-linear-gradient(0deg, rgb(192, 57, 43) 0px, rgb(192, 57, 43) 18px, rgb(146, 43, 33) 18px, rgb(146, 43, 33) 20px); }
.t23 { background: repeating-linear-gradient(0deg, rgb(192, 57, 43) 0px, rgb(192, 57, 43) 14px, rgb(146, 43, 33) 14px, rgb(146, 43, 33) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(146, 43, 33) 36px, rgb(146, 43, 33) 38px) rgb(192, 57, 43); }
.t24 { background: repeating-linear-gradient(0deg, rgb(192, 57, 43) 0px, rgb(192, 57, 43) 24px, rgb(146, 43, 33) 24px, rgb(146, 43, 33) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(146, 43, 33) 56px, rgb(146, 43, 33) 58px) rgb(192, 57, 43); }
.t25 { background: radial-gradient(at 30% 40%, rgb(200, 184, 152) 0%, transparent 50%), radial-gradient(at 70% 60%, rgb(168, 152, 120) 0%, transparent 40%) rgb(184, 168, 136); }
.t26 { background: repeating-linear-gradient(0deg, rgb(184, 168, 136) 0px, rgb(184, 168, 136) 18px, rgb(152, 136, 104) 18px, rgb(152, 136, 104) 20px); }
.t27 { background: repeating-linear-gradient(0deg, rgb(176, 160, 120) 0px, rgb(176, 160, 120) 14px, rgb(144, 128, 96) 14px, rgb(144, 128, 96) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(144, 128, 96) 36px, rgb(144, 128, 96) 38px) rgb(176, 160, 120); }
.t28 { background: repeating-linear-gradient(0deg, rgb(176, 160, 120) 0px, rgb(176, 160, 120) 24px, rgb(144, 128, 96) 24px, rgb(144, 128, 96) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(144, 128, 96) 56px, rgb(144, 128, 96) 58px) rgb(176, 160, 120); }
.t29 { background: linear-gradient(135deg, rgb(184, 208, 232) 25%, rgb(136, 168, 200) 50%, rgb(184, 208, 232) 75%); }
.t30 { background: repeating-linear-gradient(0deg, rgb(168, 192, 216) 0px, rgb(168, 192, 216) 18px, rgb(120, 152, 184) 18px, rgb(120, 152, 184) 20px); }
.t31 { background: repeating-linear-gradient(90deg, rgb(139, 69, 19) 0px, rgb(160, 82, 45) 20px, rgb(139, 69, 19) 40px, rgb(123, 63, 46) 60px); }
.t32 { background: repeating-linear-gradient(0deg, rgb(139, 69, 19) 0px, rgb(139, 69, 19) 18px, rgb(107, 48, 16) 18px, rgb(107, 48, 16) 20px); }
.t33 { background: linear-gradient(160deg, rgb(250, 250, 250), rgb(239, 239, 239)); }
.t34 { background: repeating-linear-gradient(0deg, rgb(248, 248, 248) 0px, rgb(248, 248, 248) 18px, rgb(224, 224, 224) 18px, rgb(224, 224, 224) 20px); }
.t35 { background: repeating-linear-gradient(0deg, rgb(192, 57, 43) 0px, rgb(192, 57, 43) 20px, rgb(232, 176, 144) 20px, rgb(232, 176, 144) 22px), repeating-linear-gradient(90deg, transparent 0px, transparent 52px, rgb(160, 40, 32) 52px, rgb(160, 40, 32) 54px) rgb(192, 57, 43); }
.t36 { background: repeating-linear-gradient(45deg, rgb(192, 128, 64) 0px, rgb(192, 128, 64) 10px, rgb(160, 96, 32) 10px, rgb(160, 96, 32) 20px); }
.t37 { background: repeating-linear-gradient(0deg, rgb(26, 26, 26) 0px, rgb(26, 26, 26) 20px, rgb(255, 255, 255) 20px, rgb(255, 255, 255) 22px), repeating-linear-gradient(90deg, transparent 0px, transparent 52px, rgb(68, 68, 68) 52px, rgb(68, 68, 68) 54px) rgb(26, 26, 26); }
.t38 { background: linear-gradient(135deg, rgb(26, 26, 46) 25%, rgb(22, 33, 62) 50%, rgb(15, 52, 96) 75%); }
.t39 { background: repeating-linear-gradient(0deg, rgb(26, 26, 46) 0px, rgb(26, 26, 46) 18px, rgb(13, 13, 30) 18px, rgb(13, 13, 30) 20px); }
.t40 { background: repeating-linear-gradient(0deg, rgb(42, 26, 26) 0px, rgb(42, 26, 26) 14px, rgb(26, 10, 10) 14px, rgb(26, 10, 10) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(26, 10, 10) 36px, rgb(26, 10, 10) 38px) rgb(42, 26, 26); }
.t41 { background: repeating-linear-gradient(0deg, rgb(42, 26, 26) 0px, rgb(42, 26, 26) 24px, rgb(26, 10, 10) 24px, rgb(26, 10, 10) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(26, 10, 10) 56px, rgb(26, 10, 10) 58px) rgb(42, 26, 26); }
.t42 { background: linear-gradient(160deg, rgb(232, 216, 160), rgb(200, 184, 112)); }
.t43 { background: repeating-linear-gradient(0deg, rgb(216, 200, 128) 0px, rgb(216, 200, 128) 18px, rgb(184, 168, 80) 18px, rgb(184, 168, 80) 20px); }
.t44 { background: repeating-linear-gradient(0deg, rgb(208, 192, 112) 0px, rgb(208, 192, 112) 14px, rgb(168, 152, 64) 14px, rgb(168, 152, 64) 16px), repeating-linear-gradient(90deg, transparent 0px, transparent 36px, rgb(168, 152, 64) 36px, rgb(168, 152, 64) 38px) rgb(208, 192, 112); }
.t45 { background: repeating-linear-gradient(0deg, rgb(208, 192, 112) 0px, rgb(208, 192, 112) 24px, rgb(168, 152, 64) 24px, rgb(168, 152, 64) 26px), repeating-linear-gradient(90deg, transparent 0px, transparent 56px, rgb(168, 152, 64) 56px, rgb(168, 152, 64) 58px) rgb(208, 192, 112); }
.t46 { background: repeating-linear-gradient(90deg, rgb(90, 48, 16) 0px, rgb(122, 72, 32) 22px, rgb(90, 48, 16) 44px, rgb(74, 40, 8) 66px); }
.t47 { background: repeating-linear-gradient(0deg, rgb(90, 48, 16) 0px, rgb(90, 48, 16) 18px, rgb(58, 24, 0) 18px, rgb(58, 24, 0) 20px); }
  /* ===== конец каталога ===== */

  /* Калькулятор (логика оригинального сайта) */
  .calc-grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:12px; align-items:start; }
  @media (min-width:1024px){ .calc-grid{ grid-template-columns:minmax(0,1fr) 400px; gap:20px; } .calc-side{ position:sticky; top:calc(var(--header-h) + 16px); max-height:calc(100vh - var(--header-h) - 32px); overflow-y:auto; border-radius:20px; scrollbar-width:thin; } }
  .cc{ background:var(--card); border-radius:20px; padding:18px; display:flex; flex-direction:column; gap:12px; }
  @media (min-width:768px){ .cc{ padding:22px; } }
  .cc-head{ display:flex; align-items:center; gap:12px; }
  .cc-head .i{ width:40px; height:40px; border-radius:10px; background:var(--tint); color:var(--accent); display:flex; align-items:center; justify-content:center; flex:none; }
  .cc-head h3{ font-size:18px; letter-spacing:-.03em; }
  .cc-head small{ display:block; font-size:13px; color:var(--muted); font-weight:400; letter-spacing:-.01em; margin-top:2px; }
  .hint{ font-size:14px; color:var(--muted); background:var(--soft); border-radius:10px; padding:10px 12px; }
  .hint b{ color:var(--text); font-weight:600; }
  .item{ border:1px solid var(--line); border-radius:14px; padding:12px; display:flex; flex-direction:column; gap:10px; }
  .item-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .item-label{ font-weight:600; font-size:15px; display:inline-flex; align-items:center; gap:8px; }
  .item-label [data-lucide]{ width:18px; height:18px; color:var(--accent); }
  .badges{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
  .badge{ font-size:12.5px; font-weight:600; padding:4px 8px; border-radius:6px; background:var(--soft); color:var(--text); white-space:nowrap; font-variant-numeric:tabular-nums; }
  .badge.a{ background:var(--tint); color:var(--accent-lo); }
  .badge.r{ background:var(--red-tint); color:var(--red); }
  .rm{ width:32px; height:32px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; color:var(--faint); }
  .rm:hover{ background:var(--red-tint); color:var(--red); }
  .rm [data-lucide]{ width:18px; height:18px; }
  .dim-label{ font-size:12.5px; color:var(--muted); font-weight:500; }
  .dim-row{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto; gap:8px; align-items:center; }
  .dim-row input, .field{ width:100%; min-width:0; height:48px; border:1px solid var(--line-2); border-radius:10px; padding:0 12px; font-size:16px; font-weight:500; background:var(--card); font-variant-numeric:tabular-nums; -moz-appearance:textfield; }
  .dim-row input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--tint-2); }
  .dim-row input::-webkit-outer-spin-button,.dim-row input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
  .dim-sep,.dim-unit{ color:var(--muted); font-weight:500; }
  .seg2{ display:grid; grid-template-columns:1fr 1fr; gap:6px; background:var(--soft); padding:4px; border-radius:12px; }
  .seg2 button{ min-height:40px; border-radius:9px; font-weight:600; font-size:14.5px; color:var(--muted); display:inline-flex; align-items:center; justify-content:center; gap:6px; }
  .seg2 button [data-lucide]{ width:17px; height:17px; }
  .seg2 button.on{ background:var(--card); color:var(--text); box-shadow:0 1px 3px rgba(0,0,0,.12); }
  .count-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:14px; color:var(--muted); }
  .count{ display:inline-flex; align-items:center; border:1px solid var(--line-2); border-radius:10px; overflow:hidden; }
  .count button{ width:44px; height:42px; font-size:20px; font-weight:500; color:var(--text); }
  .count button:hover{ background:var(--soft); }
  .count span{ min-width:36px; text-align:center; font-weight:600; color:var(--text); font-variant-numeric:tabular-nums; }
  .total{ display:none; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; border-radius:12px; background:var(--soft); font-size:14.5px; font-weight:500; }
  .total b{ font-size:17px; font-weight:700; font-variant-numeric:tabular-nums; }
  .total.w b{ color:var(--text); } .total.o b{ color:var(--red); } .total.f b{ color:#8A5A2B; }
  .total .p{ color:var(--muted); font-weight:500; font-size:13.5px; margin-left:8px; }
  .empty{ font-size:14px; color:var(--faint); text-align:center; padding:12px; border:1px dashed var(--line-2); border-radius:12px; }
  .add{ min-height:46px; border-radius:10px; border:1px dashed var(--accent); color:var(--accent-lo); font-weight:600; font-size:15px; display:inline-flex; align-items:center; justify-content:center; gap:6px; background:var(--card); width:100%; }
  .add:hover{ background:var(--tint); }
  .add [data-lucide]{ width:18px; height:18px; }
  .thick{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .thick button{ border:1px solid var(--line-2); border-radius:12px; padding:12px; text-align:left; display:flex; flex-direction:column; gap:2px; }
  .thick button b{ font-size:17px; font-weight:700; letter-spacing:-.03em; }
  .thick button span{ font-size:13.5px; color:var(--muted); }
  .thick button.on{ border-color:var(--accent); background:var(--tint); box-shadow:inset 0 0 0 1px var(--accent); }
  .thick button.on span{ color:var(--accent-lo); }
  .psel-wrap{ max-height:360px; overflow-y:auto; margin-inline:-4px; padding:4px; }
  .psel{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  @media (min-width:640px){ .psel{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
  .popt{ border:1px solid var(--line); border-radius:12px; overflow:hidden; text-align:left; background:var(--card); display:flex; flex-direction:column; }
  .popt .sw{ height:56px; background-size:cover; background-position:center; }
  .popt .sw img{ width:100%; height:100%; object-fit:cover; }
  .popt .nm{ font-size:11.5px; font-weight:500; padding:6px 7px; line-height:1.25; color:var(--text); }
  .popt.on{ border-color:var(--accent); box-shadow:0 0 0 2px var(--accent); }
  .side{ background:var(--card); border-radius:20px; padding:20px; display:flex; flex-direction:column; gap:14px; }
  .side .row{ display:flex; justify-content:space-between; gap:10px; font-size:15px; }
  .side .row span{ color:var(--muted); }
  .side .row b{ font-weight:600; font-variant-numeric:tabular-nums; text-align:right; }
  .side .big{ font-size:clamp(34px,6vw,44px); font-weight:700; letter-spacing:-.05em; line-height:1; font-variant-numeric:tabular-nums; }
  .side .big small{ font-size:.45em; color:var(--muted); font-weight:500; letter-spacing:-.01em; margin-left:6px; }
  .side hr{ border:0; border-top:1px solid var(--line); margin:0; width:100%; }
  .err{ display:none; font-size:14px; color:var(--red); background:var(--red-tint); border-radius:10px; padding:10px 12px; }
  .err.show{ display:block; }
  .result{ display:none; flex-direction:column; gap:12px; }
  .result.show{ display:flex; }
  .rrows{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
  .rrow{ display:flex; justify-content:space-between; gap:12px; padding:10px 12px; font-size:14px; border-top:1px solid var(--line); }
  .rrow:first-child{ border-top:0; }
  .rrow .rl{ color:var(--muted); }
  .rrow .rv{ font-weight:600; text-align:right; font-variant-numeric:tabular-nums; }
  .rrow.h{ background:var(--soft); }
  .rrow.h .rl{ color:var(--text); font-weight:700; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; }
  .rrow .minus{ color:var(--red); } .rrow .grn{ color:var(--green); }
  .rrow.t .rv{ color:var(--accent-lo); }

  /* Kaspi, контакты, адреса */
  .kaspi{ background:linear-gradient(135deg, var(--tint) 0%, var(--kaspi-b) 100%); border-radius:24px; padding:22px; display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:center; }
  @media (min-width:900px){ .kaspi{ grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); padding:36px; gap:32px; } }
  .term{ background:var(--card); border-radius:16px; padding:16px; }
  .term b{ display:block; font-size:clamp(32px,5vw,44px); font-weight:700; letter-spacing:-.05em; line-height:1; color:var(--accent); }
  .locs{ display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  @media (min-width:700px){ .locs{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
  @media (min-width:1200px){ .locs{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
  .loc{ background:var(--card); border-radius:20px; padding:20px; display:flex; flex-direction:column; gap:10px; }
  .loc .top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .loc .ic{ width:44px; height:44px; border-radius:12px; background:var(--tint); color:var(--accent); display:flex; align-items:center; justify-content:center; }
  .loc .pill{ font-size:12.5px; font-weight:600; padding:5px 9px; border-radius:6px; background:var(--soft); color:var(--muted); }
  .loc .pill.a{ background:var(--accent); color:#fff; }
  .loc h3{ font-size:19px; }
  .loc .addr{ font-weight:500; }
  .loc .note{ color:var(--muted); font-size:14.5px; }
  .loc .hrs{ display:flex; align-items:center; gap:6px; font-size:14px; color:var(--green); font-weight:500; }
  .loc .hrs [data-lucide]{ width:16px; height:16px; }
  .loc .maps{ margin-top:auto; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding-top:6px; }
  .contact{ background:var(--card); border-radius:24px; overflow:hidden; display:grid; grid-template-columns:minmax(0,1fr); }
  @media (min-width:900px){ .contact{ grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); } }
  .contact .art{ background:linear-gradient(180deg, var(--tint), var(--art-b)); display:flex; align-items:flex-end; justify-content:center; padding-top:20px; }
  .contact .art img{ width:min(78%,340px); height:auto; }

  footer{ background:var(--card); border-top:1px solid var(--line); }
  .mbar{ position:fixed; left:0; right:0; bottom:0; z-index:70; display:grid; grid-template-columns:1fr 1.3fr; gap:8px; padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)); background:var(--glass); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-top:1px solid var(--line); }
  .mbar .btn{ min-height:52px; }
  @media (max-width:1023.98px){ body{ padding-bottom:calc(70px + env(safe-area-inset-bottom,0px)); } }
  @media (min-width:1024px){ .mbar{ display:none; } }
  @media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation:none !important; transition:none !important; } }

  /* ---------- Тёмная тема ---------- */
  :root{ --glass:rgba(255,255,255,.94); --chip-bg:rgba(255,255,255,.92); --red-tint:#FDECEC; --kaspi-b:#FFE6D3; --art-b:#FFD9BD; --on-card-shadow:rgba(0,0,0,.28); }
  @media (prefers-color-scheme: dark){
    :root:not([data-mode="light"]){
      color-scheme:dark;
      --page:#0E0E10; --card:#19191C; --soft:#222226; --text:#F2F2F4; --muted:#A3A3AA; --faint:#6F6F77;
      --line:#2A2A2F; --line-2:#3A3A41; --accent:#F47A1F; --accent-hi:#FF8F3A; --accent-lo:#FF9A4D;
      --tint:rgba(244,122,31,.14); --tint-2:rgba(244,122,31,.3); --glass:rgba(20,20,23,.9); --chip-bg:rgba(25,25,28,.88);
      --red-tint:rgba(229,72,77,.16); --kaspi-b:#2A1C12; --art-b:#3A2415;
    }
  }
  :root[data-mode="dark"]{
    color-scheme:dark;
    --page:#0E0E10; --card:#19191C; --soft:#222226; --text:#F2F2F4; --muted:#A3A3AA; --faint:#6F6F77;
    --line:#2A2A2F; --line-2:#3A3A41; --accent:#F47A1F; --accent-hi:#FF8F3A; --accent-lo:#FF9A4D;
    --tint:rgba(244,122,31,.14); --tint-2:rgba(244,122,31,.3); --glass:rgba(20,20,23,.9); --chip-bg:rgba(25,25,28,.88);
    --red-tint:rgba(229,72,77,.16); --kaspi-b:#2A1C12; --art-b:#3A2415;
  }
  body{ transition:background-color .25s, color .25s; }
  .btn-accent{ color:#fff; }
  :root[data-mode="dark"] .btn-accent:hover{ background:#FF8F3A; }

  /* Каталог и окно товара в тёмной теме (светлая тема — как в оригинале) */
  :root[data-mode="dark"] .cat-orig{ background:#121214; color:var(--text); }
  :root[data-mode="dark"] .cat-orig .section{ background:#121214; }
  :root[data-mode="dark"] .cat-orig .section-title{ color:var(--text); }
  :root[data-mode="dark"] .cat-orig .ftab{ background:var(--card); border-color:var(--line-2); color:var(--muted); }
  :root[data-mode="dark"] .cat-orig .ftab.active{ background:var(--text); border-color:var(--text); color:#111; }
  :root[data-mode="dark"] .cat-orig .product-card{ background:var(--card); box-shadow:none; border:1px solid var(--line); }
  :root[data-mode="dark"] .cat-orig .pname{ color:var(--text); }
  :root[data-mode="dark"] #modal .modal{ background:var(--card); color:var(--text); }
  :root[data-mode="dark"] #modal{ --light:#222226; --primary:#F2F2F4; color:var(--text); }
  :root[data-mode="dark"] #modal .modal-close{ background:var(--soft); color:var(--text); }
  :root[data-mode="dark"] #modal .modal-handle{ background:var(--line-2); }

  /* ---------- Переключатели темы и языка ---------- */
  .ctrls{ display:inline-flex; align-items:center; gap:6px; }
  .lang{ display:inline-flex; background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:3px; }
  .lang button{ min-width:40px; height:34px; padding:0 8px; border-radius:7px; font-size:13px; font-weight:600; color:var(--muted); letter-spacing:0; }
  .lang button[aria-pressed="true"]{ background:var(--card); color:var(--text); box-shadow:0 1px 3px rgba(0,0,0,.14); }
  .mode{ width:42px; height:42px; border-radius:10px; border:1px solid var(--line); background:var(--soft); color:var(--text); display:inline-flex; align-items:center; justify-content:center; }
  .mode .sun{ display:none; }
  :root[data-mode="dark"] .mode .sun{ display:block; } :root[data-mode="dark"] .mode .moon{ display:none; }
  .hdr .v-md{ display:none; } @media (min-width:768px){ .hdr .v-md{ display:inline-flex; } }
  .drawer .ctrl-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; }
  .drawer .ctrl-row span{ font-size:15px; color:var(--muted); }

  .nav{ display:none; } .nav a{ white-space:nowrap; }
  @media (min-width:1400px){ .nav{ display:flex; } .hdr .burger{ display:none; } }
  .strip .status{ min-width:0; overflow:hidden; text-overflow:ellipsis; } .strip .status > span{ overflow:hidden; text-overflow:ellipsis; }
  .strip a{ white-space:nowrap; flex:none; }
  /* ---------- Hero с видео ---------- */
  .hv{ position:relative; border-radius:24px; overflow:hidden; min-height:clamp(600px, 82vh, 860px); display:flex; align-items:flex-end; background:#2a2016; isolation:isolate; }
  @media (max-width:767.98px){ .hv{ border-radius:20px; min-height:max(620px, 86svh); } }
  .hv video, .hv .poster{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
  .hv .shade{ position:absolute; inset:0; z-index:-1; background:
      linear-gradient(180deg, rgba(10,8,6,.35) 0%, rgba(10,8,6,0) 22%, rgba(10,8,6,0) 38%, rgba(10,8,6,.72) 78%, rgba(10,8,6,.86) 100%),
      linear-gradient(90deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,0) 60%); }
  .hv-tag{ position:absolute; left:16px; top:16px; background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.28); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-radius:8px; padding:7px 11px; font-size:13px; font-weight:600; display:inline-flex; gap:6px; align-items:center; }
  .hv-tag [data-lucide]{ width:15px; height:15px; color:#FFB27A; }
  .hv-play{ position:absolute; right:16px; top:16px; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); color:#fff; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
  .hv-play [data-lucide]{ width:18px; height:18px; }
  .hv-body{ position:relative; width:100%; padding:22px 18px 22px; color:#fff; display:flex; flex-direction:column; gap:14px; }
  @media (min-width:1024px){ .hv-body{ padding:48px; max-width:760px; gap:18px; } }
  .hv-body h1{ font-size:clamp(30px,5.2vw,60px); color:#fff; }
  .hv-body h1 em{ font-style:normal; color:#FF9A4D; }
  .hv-body .lead{ color:rgba(255,255,255,.86); font-size:clamp(15px,1.7vw,18px); max-width:56ch; }
  .hv .chip{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.24); color:#fff; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
  .hv .btn-glass{ background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
  .hv .btn-glass:hover{ background:rgba(255,255,255,.24); }

  /* ---- иконки (спрайт вместо библиотеки Lucide) ---- */
  svg[data-lucide]{ fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  /* ---- каталог: кнопки вместо div, вид прежний ---- */
  .cat-orig .ftab{ line-height:1.2; }
  .cat-orig .product-card{ display:block; width:100%; padding:0; border:0; margin:0; text-align:left; font:inherit; color:inherit; }
  .cat-orig .product-card:focus-visible, .cat-orig .ftab:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }
  /* ---- окно товара ---- */
  .modal{ overscroll-behavior:contain; }
  .modal-close{ width:44px !important; height:44px !important; top:8px !important; right:8px !important; display:flex; align-items:center; justify-content:center; font-size:0 !important; }
  .modal-close svg{ width:20px; height:20px; }
  .drawer .sheet{ overscroll-behavior:contain; }
  body.lock{ overflow:hidden; touch-action:none; }
  .modal, .drawer .sheet{ touch-action:pan-y; }

  /* Логотип WhatsApp на кнопках WhatsApp */
  svg[data-lucide="wa"]{ fill:currentColor; stroke:none; }
