/* ============================================================
   SAULĖS DETALĖS — Design System
   Clean energy-tech: deep solar blue + warm sun accent
   ============================================================ */

:root {
  /* Brand */
  --blue-900: #062354;
  --blue-800: #0a2f6e;
  --blue-700: #0B3D91;   /* primary */
  --blue-600: #1450b5;
  --blue-500: #2a6fdb;
  --blue-300: #8fb2ec;
  --blue-100: #e6efff;
  --blue-50:  #f2f7ff;

  --amber-600: #d98512;
  --amber-500: #f5a623;  /* sun accent */
  --amber-400: #ffb83d;
  --amber-300: #ffce6e;
  --amber-100: #fff2d6;
  --amber-text: #9a5d00;  /* AA-contrast amber for small text on light backgrounds */

  --green-600: #157f45;
  --green-500: #1f9d54;
  --green-100: #e3f6ea;

  /* Neutrals (cool-tinted) */
  --ink:    #0e1726;
  --ink-2:  #2a3650;
  --muted:  #5c6b85;
  --muted-2:#62708c;
  --line:   #e4e9f2;
  --line-2: #eef1f7;
  --bg:     #f7f9fc;
  --bg-2:   #eef2f8;
  --card:   #ffffff;
  --white:  #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(14,23,38,.06), 0 1px 3px rgba(14,23,38,.05);
  --shadow:    0 4px 14px rgba(14,23,38,.07), 0 2px 6px rgba(14,23,38,.05);
  --shadow-lg: 0 18px 40px rgba(11,61,145,.13), 0 8px 18px rgba(14,23,38,.08);
  --shadow-blue: 0 14px 30px rgba(11,61,145,.22);

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600); font-weight: 600;
}
.eyebrow.amber { color: var(--amber-text); }

h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.h-sec { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- App shell ---------- */
#app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-head p { margin-top: 8px; }
.link-arrow { color: var(--blue-700); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   BUTTONS — 3D pressable depth
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: 12px;
  position: relative; transition: transform .12s var(--ease), box-shadow .2s var(--ease), background .2s;
  user-select: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(3px); }

/* Primary = amber sun, 3D */
.btn-primary {
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  color: #3d2700;
  box-shadow: 0 4px 0 var(--amber-600), 0 10px 20px rgba(217,133,18,.32);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--amber-300), var(--amber-400)); box-shadow: 0 4px 0 var(--amber-600), 0 14px 26px rgba(217,133,18,.42); }
.btn-primary:active { box-shadow: 0 1px 0 var(--amber-600), 0 4px 10px rgba(217,133,18,.3); }

/* Blue 3D */
.btn-blue {
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: 0 4px 0 var(--blue-900), 0 10px 22px rgba(11,61,145,.32);
}
.btn-blue:hover { background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); box-shadow: 0 4px 0 var(--blue-900), 0 14px 28px rgba(11,61,145,.42); }
.btn-blue:active { box-shadow: 0 1px 0 var(--blue-900), 0 4px 10px rgba(11,61,145,.3); }

.btn-ghost {
  background: var(--white); color: var(--blue-700); border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }

.btn-outline-light {
  background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }

.btn-lg { padding: 16px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: .85rem; border-radius: 10px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 7px;
  letter-spacing: .01em; white-space: nowrap;
}
.badge-stock { background: var(--green-100); color: var(--green-600); }
.badge-out { background: #fbeaea; color: #b3261e; }
.badge-promo { background: var(--amber-100); color: var(--amber-text); }
.badge-new { background: var(--blue-100); color: var(--blue-700); }
.badge-feat { background: var(--blue-700); color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dot-pulse { position: relative; }
.dot-pulse::after { content:''; position:absolute; inset:-3px; border-radius:50%; background: currentColor; opacity:.35; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{transform:scale(.7);opacity:.5} 70%{transform:scale(1.8);opacity:0} 100%{opacity:0} }

/* ============================================================
   PRODUCT MEDIA — premium styled placeholders
   ============================================================ */
.pmedia {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 10%, #ffffff 0%, var(--blue-50) 60%, var(--bg-2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.pmedia::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(11,61,145,.05) 0 2px, transparent 2px 11px);
  opacity: .8;
}
.pmedia-glyph {
  position: relative; z-index: 1; width: 46%; max-width: 130px; opacity: .9;
  filter: drop-shadow(0 6px 14px rgba(11,61,145,.18));
}
.pmedia-photo {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover;
}
.pmedia-cap {
  position: absolute; left: 10px; bottom: 9px; z-index: 4;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .02em;
  color: var(--blue-700); background: rgba(255,255,255,.82); backdrop-filter: blur(4px);
  padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line);
}
.pmedia-shine {
  position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  box-shadow: var(--shadow-sm); position: relative; height: 100%;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.pcard:hover .pmedia-shine { left: 120%; }
.pcard-top { position: relative; }
.pcard-flags { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard-brand { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.pcard-name { font-weight: 700; font-size: .98rem; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pcard:hover .pcard-name { color: var(--blue-700); }
.pcard-spec { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font-family: var(--mono); font-size: .68rem; color: var(--ink-2); background: var(--bg-2); border-radius: 6px; padding: 3px 7px; }
.pcard-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 4px; }
.price { font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); }
.price-old { font-size: .85rem; color: var(--muted-2); text-decoration: line-through; font-weight: 600; }
.price-unit { font-size: .72rem; color: var(--muted); font-weight: 600; }
.iconbtn {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700)); color: #fff;
  box-shadow: 0 3px 0 var(--blue-900), 0 6px 14px rgba(11,61,145,.3);
  transition: transform .12s var(--ease), box-shadow .2s;
}
.iconbtn:hover { background: linear-gradient(180deg, var(--amber-400), var(--amber-500)); color: #3d2700; box-shadow: 0 3px 0 var(--amber-600), 0 8px 16px rgba(217,133,18,.34); }
.iconbtn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--blue-900); }
.iconbtn svg { width: 20px; height: 20px; }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.rating svg { width: 14px; height: 14px; color: var(--amber-500); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--blue-900); color: #cdd9f2; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: #cdd9f2; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-r { display: flex; gap: 22px; align-items: center; }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
header.site.scrolled { box-shadow: var(--shadow); }
.hdr { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-600), var(--blue-800)); box-shadow: var(--shadow-blue); }
.logo-mark svg { width: 24px; height: 24px; color: var(--amber-400); }
.logo-txt b { font-size: 1.18rem; font-weight: 800; letter-spacing: -.03em; display: block; line-height: 1; }
.logo-txt span { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.search { flex: 1; position: relative; max-width: 520px; }
.search input {
  width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 44px 0 44px; background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s;
  font-size: .95rem;
}
.search input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted-2); }
.search-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted-2); width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.search-clear:hover { background: var(--bg-2); color: var(--ink); }

.hdr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hdr-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); position: relative; transition: background .2s, color .2s; }
.hdr-icon:hover { background: var(--bg-2); color: var(--blue-700); }
.hdr-icon svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: 5px; right: 5px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--amber-500); color: #3d2700; border-radius: 10px; font-size: .68rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }
.hamburger { display: none; }

/* category nav row */
.catnav { border-top: 1px solid var(--line-2); background: #fff; }
.catnav .wrap { display: flex; align-items: center; gap: 2px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav a { font-size: .9rem; font-weight: 600; color: var(--ink-2); padding: 8px 14px; border-radius: 9px; white-space: nowrap; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 7px; }
.catnav a:hover, .catnav a.active { background: var(--blue-50); color: var(--blue-700); }
.catnav a.lead-link { color: var(--amber-text); font-weight: 700; }
.catnav svg { width: 17px; height: 17px; opacity: .8; }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(14,23,38,.5); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 86vw; background: #fff; z-index: 80; transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 10px 12px; overflow-y: auto; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 11px; font-weight: 600; color: var(--ink-2); }
.drawer a:hover { background: var(--blue-50); color: var(--blue-700); }
.drawer a svg { width: 20px; height: 20px; color: var(--blue-600); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--blue-900) 18%, rgba(6,35,84,.82) 46%, rgba(6,35,84,.35) 100%); }
.hero-mesh { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(50% 60% at 88% 18%, rgba(245,166,35,.32), transparent 70%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 92px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); color: #fff; letter-spacing: -.035em; }
.hero h1 .accent { color: var(--amber-400); }
.hero-sub { font-size: 1.12rem; color: #c4d2ee; margin-top: 20px; max-width: 30ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 42px; }
.hero-stats .n { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .n b { color: var(--amber-400); }
.hero-stats .l { font-size: .82rem; color: #9fb3d9; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 10px; backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
}
.hero-card-img { border-radius: 16px; overflow: hidden; aspect-ratio: 5/4; position: relative; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow);
}
.hero-card-tag .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; }
.hero-card-tag b { display: block; font-size: .95rem; }
.hero-card-tag span { font-size: .76rem; color: var(--muted); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 6px 10px; }
.trust-item .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ic svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: .92rem; letter-spacing: -.01em; }
.trust-item span { font-size: .78rem; color: var(--muted); }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.catgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.catcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; align-items: center; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.catcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.catcard-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(150deg, var(--blue-50), var(--blue-100)); color: var(--blue-700); transition: transform .3s var(--ease); }
.catcard:hover .catcard-ic { transform: scale(1.08) rotate(-4deg); background: linear-gradient(150deg, var(--amber-100), var(--amber-300)); color: var(--amber-600); }
.catcard-ic svg { width: 30px; height: 30px; }
.catcard h3 { font-size: 1.06rem; }
.catcard p { font-size: .82rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.catcard .cnt { font-family: var(--mono); font-size: .72rem; color: var(--blue-600); font-weight: 600; margin-top: 7px; display: inline-block; }
.catcard .go { position: absolute; top: 18px; right: 18px; color: var(--muted-2); transition: transform .3s var(--ease), color .3s; }
.catcard:hover .go { transform: translate(3px,-3px); color: var(--blue-700); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pgrid.cols-3 { grid-template-columns: repeat(3,1fr); }

/* kits */
.kitgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.kitcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.kitcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.kitcard-media { aspect-ratio: 16/10; position: relative; }
.kitcard-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.kitcard-body h3 { font-size: 1.18rem; }
.kit-incl { display: flex; flex-direction: column; gap: 7px; }
.kit-incl li { display: flex; gap: 9px; font-size: .86rem; color: var(--ink-2); align-items: flex-start; }
.kit-incl li svg { width: 16px; height: 16px; color: var(--green-500); flex-shrink: 0; margin-top: 3px; }
.kitcard-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); }

/* ============================================================
   BENEFITS / TESTIMONIALS
   ============================================================ */
.benefits { background: var(--blue-900); color: #fff; position: relative; overflow: hidden; }
.benefits-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.benefits .wrap { position: relative; z-index: 1; }
.benegrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.bene .ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(255,255,255,.08); color: var(--amber-400); display: grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.12); }
.bene .ic svg { width: 26px; height: 26px; }
.bene h3 { color: #fff; font-size: 1.08rem; }
.bene p { color: #aebfde; font-size: .88rem; margin-top: 7px; }

.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.tcard .stars { display: flex; gap: 2px; color: var(--amber-500); margin-bottom: 13px; }
.tcard .stars svg { width: 17px; height: 17px; }
.tcard q { display: block; font-size: .96rem; color: var(--ink-2); line-height: 1.6; font-style: normal; }
.tcard .who { margin-top: 16px; display: flex; align-items: center; gap: 11px; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg,var(--blue-100),var(--blue-500)); color:#fff; display: grid; place-items: center; font-weight: 800; }
.tcard .who b { font-size: .9rem; display: block; }
.tcard .who span { font-size: .78rem; color: var(--muted); }

/* ============================================================
   NEWSLETTER + FOOTER
   ============================================================ */
.news { background: linear-gradient(135deg, var(--amber-100), #fff); border: 1px solid var(--amber-300); border-radius: var(--radius-lg); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.news h2 { font-size: 1.6rem; }
.news p { color: var(--ink-2); margin-top: 6px; }
.news-form { display: flex; gap: 10px; min-width: 320px; flex: 1; max-width: 460px; }
.news-form input { flex: 1; height: 52px; border: 1.5px solid var(--amber-300); border-radius: 12px; padding: 0 16px; background: #fff; }
.news-form input:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 4px var(--amber-100); }

footer.site { background: var(--blue-900); color: #aebfde; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.foot-grid > div { background-color: var(--blue-900); }  /* same as footer; ensures a11y bg detection */
footer.site h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .01em; font-weight: 700; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { font-size: .88rem; color: #aebfde; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.foot-logo b { color: #fff; font-size: 1.16rem; font-weight: 800; }
.foot-about { font-size: .88rem; line-height: 1.6; max-width: 34ch; }
.foot-contact { display: flex; flex-direction: column; gap: 11px; font-size: .88rem; }
.foot-contact div { display: flex; gap: 10px; align-items: center; }
.foot-contact svg { width: 17px; height: 17px; color: var(--amber-400); flex-shrink: 0; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 7px 11px; font-size: .76rem; font-weight: 700; color: #fff; font-family: var(--mono); letter-spacing: .02em; }
.pay-badge.paysera { background: #fff; color: #1a1a2e; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ============================================================
   CATALOG PAGE
   ============================================================ */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); padding: 20px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue-700); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.catalog { display: grid; grid-template-columns: 268px 1fr; gap: 30px; align-items: start; padding-bottom: 72px; }
.filters { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 20px; box-shadow: var(--shadow-sm); }
.fgroup { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.fgroup:last-child { border-bottom: none; }
.fgroup h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; font-family: var(--mono); font-weight: 600; }
.check { display: flex; align-items: center; gap: 11px; padding: 7px 0; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.check input { display: none; }
.check .box { width: 19px; height: 19px; border: 1.5px solid var(--line); border-radius: 6px; display: grid; place-items: center; transition: all .15s; flex-shrink: 0; }
.check .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.5); transition: all .15s; }
.check input:checked + .box { background: var(--blue-700); border-color: var(--blue-700); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check:hover { color: var(--ink); }
.check .cnt { margin-left: auto; font-size: .76rem; color: var(--muted-2); font-family: var(--mono); }

.range-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.range-row input[type=number] { width: 100%; height: 38px; border: 1.5px solid var(--line); border-radius: 9px; padding: 0 10px; font-family: var(--mono); font-size: .85rem; }
.range-row input:focus { outline: none; border-color: var(--blue-500); }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 4px; background: var(--bg-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-700); cursor: pointer; box-shadow: 0 2px 6px rgba(11,61,145,.4); border: 3px solid #fff; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-700); cursor: pointer; border: 3px solid #fff; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.toggle .sw { width: 42px; height: 24px; border-radius: 13px; background: var(--line); position: relative; transition: background .2s; flex-shrink: 0; }
.toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease); }
.toggle input { display: none; }
.toggle input:checked + .sw { background: var(--green-500); }
.toggle input:checked + .sw::after { transform: translateX(18px); }

.catalog-main {}
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.catalog-bar .res { font-size: .88rem; color: var(--muted); }
.catalog-bar .res b { color: var(--ink); }
.sortwrap { display: flex; align-items: center; gap: 10px; }
.select { position: relative; }
.select select { height: 42px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 38px 0 14px; background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink-2); cursor: pointer; appearance: none; }
.select select:focus { outline: none; border-color: var(--blue-500); }
.select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.filter-toggle-m { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fpill { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-50); color: var(--blue-700); border-radius: 8px; padding: 5px 8px 5px 11px; font-size: .82rem; font-weight: 600; }
.fpill button { color: var(--blue-600); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; }
.fpill button:hover { background: var(--blue-100); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; color: var(--line); margin: 0 auto 16px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 14px 0 60px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; position: relative; border: 1px solid var(--line); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gthumb { width: 76px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; position: relative; transition: border-color .2s; }
.gthumb.active { border-color: var(--blue-700); }
.pdp-info {}
.pdp-brand { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }
.pdp h1 { font-size: clamp(1.5rem,3vw,2rem); margin: 8px 0 12px; }
.pdp-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin: 20px 0; }
.pdp-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.pdp-vat { font-size: .82rem; color: var(--muted); }
.pdp-desc { color: var(--ink-2); line-height: 1.65; margin-bottom: 22px; }
.spec-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 22px; }
.spec-quick > div { background: #fff; padding: 13px 16px; }
.spec-quick .k { font-size: .74rem; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.spec-quick .v { font-weight: 700; font-size: .98rem; margin-top: 2px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 46px; height: 50px; display: grid; place-items: center; color: var(--ink-2); transition: background .15s; }
.qty button:hover { background: var(--bg-2); color: var(--blue-700); }
.qty input { width: 52px; height: 50px; text-align: center; border: none; font-weight: 700; font-size: 1.05rem; }
.qty input:focus { outline: none; }
.buy-row { display: flex; gap: 12px; margin: 22px 0; align-items: stretch; }
.assurance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.assurance .a { display: flex; gap: 11px; align-items: flex-start; padding: 13px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--line-2); }
.assurance .a svg { width: 22px; height: 22px; color: var(--blue-700); flex-shrink: 0; }
.assurance .a b { display: block; font-size: .86rem; }
.assurance .a span { font-size: .78rem; color: var(--muted); }
.datasheet { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-700); font-weight: 700; font-size: .9rem; padding: 11px 0; }
.datasheet svg { width: 18px; height: 18px; }
.datasheet:hover { color: var(--amber-600); }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; margin-top: 48px; }
.tab { padding: 14px 20px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tab.active { color: var(--blue-700); border-color: var(--amber-500); }
.tab:hover { color: var(--ink); }
.tabpanel { padding: 28px 0; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table td { padding: 13px 4px; font-size: .94rem; }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.spec-table td:last-child { font-weight: 700; text-align: right; }
.deliv-list { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }
.deliv-list .d { display: flex; gap: 14px; align-items: flex-start; }
.deliv-list .d svg { width: 24px; height: 24px; color: var(--blue-700); flex-shrink: 0; margin-top: 2px; }
.deliv-list .d b { display: block; }
.deliv-list .d p { color: var(--muted); font-size: .9rem; }

/* sticky mobile buy bar */
.buybar-m { display: none; }

/* ============================================================
   CART
   ============================================================ */
.cart-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; padding: 14px 0 72px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.citem { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; align-items: center; box-shadow: var(--shadow-sm); }
.citem-media { width: 92px; height: 76px; border-radius: 10px; overflow: hidden; }
.citem-info h4 { font-size: .98rem; }
.citem-info .br { font-family: var(--mono); font-size: .7rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; }
.citem-info .rm { color: var(--muted); font-size: .82rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.citem-info .rm:hover { color: #b3261e; }
.citem-info .rm svg { width: 15px; height: 15px; }
.citem-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.qty-sm { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-sm button { width: 34px; height: 38px; display: grid; place-items: center; color: var(--ink-2); }
.qty-sm button:hover { background: var(--bg-2); }
.qty-sm span { width: 40px; text-align: center; font-weight: 700; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.summary h3 { font-size: 1.2rem; margin-bottom: 18px; }
.sline { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: .94rem; color: var(--ink-2); }
.sline span, .sline b { white-space: nowrap; }
.sline.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.promo-row { display: flex; gap: 8px; margin: 16px 0; }
.promo-row input { flex: 1; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; }
.promo-row input:focus { outline: none; border-color: var(--blue-500); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; padding: 14px 0 72px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.co-card h3 { font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 11px; }
.co-card h3 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-700); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.co-card > p.sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; margin-left: 39px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field input, .field select { height: 48px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.field input.err { border-color: #d3402f; }
.field .errmsg { font-size: .76rem; color: #d3402f; }

.opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; margin-bottom: 10px; }
.opt:hover { border-color: var(--blue-300); }
.opt.sel { border-color: var(--blue-700); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue-700) inset; }
.opt input { display: none; }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: grid; place-items: center; transition: border-color .2s; }
.opt.sel .radio { border-color: var(--blue-700); }
.opt.sel .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-700); }
.opt .oc { flex: 1; }
.opt .oc b { display: block; font-size: .96rem; }
.opt .oc span { font-size: .82rem; color: var(--muted); }
.opt .oprice { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.opt .oprice.free { color: var(--green-600); }
.opt-logo { height: 26px; display: flex; align-items: center; }

.pay-paysera { display: flex; align-items: center; gap: 10px; }
.paysera-logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.paysera-logo .g { color: #1a9b54; } .paysera-logo .b2 { color: #00833d; }
.pay-tag { font-size: .7rem; background: var(--green-100); color: var(--green-600); padding: 3px 8px; border-radius: 6px; font-weight: 700; }

.ship-calc { background: var(--blue-50); border: 1px dashed var(--blue-300); border-radius: var(--radius-sm); padding: 16px; margin-top: 6px; }
.ship-calc .row { display: flex; justify-content: space-between; font-size: .88rem; padding: 4px 0; color: var(--ink-2); }
.ship-calc .row.tot { font-weight: 800; border-top: 1px solid var(--blue-100); margin-top: 6px; padding-top: 10px; color: var(--blue-700); }
.ship-calc .note { font-size: .76rem; color: var(--muted); margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.ship-calc .note svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

.co-summary { position: sticky; top: 100px; }
.co-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.co-mini:last-of-type { border-bottom: none; }
.co-mini-img { width: 52px; height: 44px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.co-mini b { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.co-mini .qx { font-size: .78rem; color: var(--muted); }
.co-mini .pr { margin-left: auto; font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* ============================================================
   SUCCESS
   ============================================================ */
.success { max-width: 620px; margin: 0 auto; text-align: center; padding: 70px 24px 90px; }
.success-ic { width: 92px; height: 92px; border-radius: 50%; background: var(--green-100); color: var(--green-500); display: grid; place-items: center; margin: 0 auto 26px; animation: pop .5s var(--ease); }
.success-ic svg { width: 50px; height: 50px; }
@keyframes pop { 0%{transform:scale(.3);opacity:0} 60%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }
.success h1 { font-size: 2rem; margin-bottom: 12px; }
.success p { color: var(--muted); font-size: 1.05rem; }
.success-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 30px 0; text-align: left; box-shadow: var(--shadow-sm); }
.success-card .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; }
.success-card .row b { color: var(--ink); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 9px; height: 9px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .2; } }

/* ============================================================
   RELATED
   ============================================================ */
.related { padding-top: 20px; padding-bottom: 70px; }

/* ============================================================
   SCROLL REVEAL  (transform-only — never traps content invisible
   even if the animation timeline is frozen/throttled)
   ============================================================ */
.reveal { transform: translateY(22px); transition: transform .7s var(--ease); will-change: transform; }
.reveal.in { transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } }

.view-anim { animation: viewIn .45s var(--ease); }
@keyframes viewIn { from { transform: translateY(9px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .view-anim { animation: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3,1fr); }
  .hero-stats { gap: 22px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { max-width: 460px; }
  .catgrid, .kitgrid, .tgrid, .benegrid { grid-template-columns: repeat(2,1fr); }
  .trust .wrap { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .cart-wrap, .checkout { grid-template-columns: 1fr; }
  .summary, .co-summary, .filters { position: static; }
  .search { display: none; }
  .hamburger { display: grid; }
  .catnav { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .pgrid, .pgrid.cols-3 { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .catgrid, .kitgrid, .tgrid, .benegrid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .topbar-r .hide-sm { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero-stats { flex-wrap: wrap; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .news { padding: 26px; }
  .news-form { min-width: 0; width: 100%; }
  .spec-quick { grid-template-columns: 1fr; }
  .assurance { grid-template-columns: 1fr; }

  /* sticky filters as bottom-sheet trigger */
  .filter-toggle-m { display: inline-flex; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 82vh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .35s var(--ease); z-index: 75; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters-close { display: flex !important; }

  /* sticky mobile buy bar on PDP */
  .buybar-m { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -6px 20px rgba(14,23,38,.1); }
  .buybar-m .bp { font-weight: 800; font-size: 1.2rem; }
  .buybar-m .btn { flex: 1; }
  .pdp { padding-bottom: 90px; }

  .citem { grid-template-columns: 72px 1fr; }
  .citem-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.filters-close { display: none; align-items: center; justify-content: space-between; padding-bottom: 8px; }

/* ============================================================
   PREMIUM ADD-ONS — buttons, tilt, wishlist, quick-view,
   mini-cart, marquee, calculator, toasts
   ============================================================ */

/* --- 3D button sheen sweep --- */
.btn { overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 58%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 140%; }
.btn-ghost::after { background: linear-gradient(100deg, transparent, rgba(20,80,181,.12), transparent); }

/* --- card tilt + cursor sheen --- */
.pcard.tilt { transform-style: preserve-3d; }
.pcard.tilting { transition: transform .1s linear, box-shadow .3s var(--ease); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card-sheen {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit; opacity: 0; pointer-events: none;
  transition: opacity .3s; mix-blend-mode: soft-light;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.7), transparent 60%);
}
.pcard.tilting .card-sheen { opacity: 1; }

/* --- wishlist heart --- */
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 6; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--muted-2); box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), color .18s, background .18s;
}
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn:hover { color: #e0245e; transform: scale(1.1); }
.wish-btn.on { color: #e0245e; background: #fff; }
.wish-btn.on svg { animation: heartPop .35s var(--ease); }
@keyframes heartPop { 0%{transform:scale(.6)} 55%{transform:scale(1.3)} 100%{transform:scale(1)} }
.wish-btn.lg { position: static; width: 54px; height: 54px; border-radius: 12px; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.wish-c { background: var(--blue-600); color: #fff; }

/* --- quick view button on card --- */
.quick-btn {
  position: absolute; left: 50%; bottom: 12px; z-index: 6; transform: translate(-50%, 14px); opacity: 0;
  display: inline-flex; align-items: center; gap: 7px; background: rgba(14,23,38,.88); color: #fff; backdrop-filter: blur(6px);
  padding: 9px 15px; border-radius: 10px; font-size: .82rem; font-weight: 700; white-space: nowrap;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.quick-btn svg { width: 16px; height: 16px; }
.pcard:hover .quick-btn { opacity: 1; transform: translate(-50%, 0); }
.quick-btn:hover { background: var(--blue-700); }

/* --- slide-over sheet backdrop --- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(14,23,38,.5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }

/* --- MINI CART --- */
.minicart { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: var(--bg); z-index: 95; transform: translateX(100%); transition: transform .38s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.minicart.open { transform: none; }
.minicart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.minicart-head h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.minicart-head h3 svg { width: 22px; height: 22px; color: var(--blue-700); }
.mc-count { background: var(--amber-500); color: #3d2700; border-radius: 9px; font-size: .72rem; padding: 1px 8px; font-weight: 800; }
.minicart-prog { padding: 14px 20px 0; }
.minicart-items { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.mc-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; align-items: center; box-shadow: var(--shadow-sm); }
.mc-img { width: 72px; height: 60px; border-radius: 8px; overflow: hidden; cursor: pointer; }
.mc-info { min-width: 0; }
.mc-brand { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); }
.mc-info h4 { font-size: .9rem; line-height: 1.25; margin: 2px 0 8px; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-price { font-size: .95rem; }
.mc-rm { color: var(--muted-2); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; align-self: flex-start; }
.mc-rm:hover { color: #b3261e; background: var(--bg-2); }
.mc-rm svg { width: 16px; height: 16px; }
.minicart-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mc-sub { display: flex; justify-content: space-between; font-size: 1.05rem; }
.mc-sub b { font-weight: 800; }
.mc-trust { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.mc-trust svg { width: 15px; height: 15px; color: var(--green-500); }
.minicart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px; text-align: center; color: var(--muted); }
.mc-empty-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-2); color: var(--muted-2); display: grid; place-items: center; }
.mc-empty-ic svg { width: 34px; height: 34px; }

/* --- free shipping progress --- */
.shipprog { display: flex; flex-direction: column; gap: 7px; }
.shipprog-txt { font-size: .82rem; color: var(--ink-2); }
.shipprog-txt svg { width: 15px; height: 15px; vertical-align: -3px; color: var(--blue-600); margin-right: 3px; }
.shipprog-txt b { color: var(--blue-700); }
.shipprog-txt .ok { color: var(--green-600); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.shipprog-bar { height: 7px; background: var(--bg-2); border-radius: 5px; overflow: hidden; }
.shipprog-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-500), var(--amber-400)); border-radius: 5px; transition: width .4s var(--ease); }

/* --- QUICK VIEW modal --- */
.qv-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(14,23,38,.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.qv { background: #fff; border-radius: var(--radius-lg); width: 880px; max-width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; box-shadow: var(--shadow-lg); animation: qvIn .3s var(--ease); }
@keyframes qvIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.qv-media { position: relative; }
.qv-media .pmedia { aspect-ratio: auto; height: 100%; min-height: 360px; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.qv-info { padding: 30px; }
.qv-info h3 { font-size: 1.5rem; margin-top: 6px; }
.qv-desc { color: var(--ink-2); font-size: .92rem; line-height: 1.6; margin-bottom: 16px; }
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink-2); }
.qv-close:hover { background: #fff; color: var(--ink); }
.qv-close svg { width: 20px; height: 20px; }

/* --- BRAND MARQUEE --- */
.marquee { background: var(--blue-900); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--mono); font-weight: 600; font-size: 1rem; color: #7e93bd; letter-spacing: .02em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* --- SAVINGS CALCULATOR --- */
.calc-sec { padding: 72px 0; }
.calc { background: linear-gradient(135deg, var(--blue-800), var(--blue-900)); border-radius: var(--radius-lg); padding: 42px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.calc::before { content: ''; position: absolute; top: -30%; right: -10%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.22), transparent 70%); pointer-events: none; }
.calc-left, .calc-right { position: relative; z-index: 1; }
.calc-slider { margin: 26px 0; }
.calc-slider-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.calc-slider-top span { color: #c4d2ee; font-size: .9rem; }
.calc-slider-top b { font-size: 1.7rem; font-weight: 800; }
.calc-range { width: 100%; }
.calc-range::-webkit-slider-thumb { background: var(--amber-500); box-shadow: 0 2px 8px rgba(245,166,35,.5); }
.calc-range::-moz-range-thumb { background: var(--amber-500); }
.calc-slider-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: #7e93bd; margin-top: 8px; }
.calc-rec { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; margin-top: 6px; }
.calc-rec-media { width: 64px; height: 54px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.calc-rec-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.calc-rec-tag { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-400); }
.calc-rec-info b { font-size: .92rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.calc-rec-price { font-weight: 800; }
.calc-right { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.calc-metric { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px; }
.calc-metric.hl { background: linear-gradient(135deg, var(--amber-500), var(--amber-600)); border: none; color: #3d2700; display: flex; align-items: center; gap: 16px; }
.calc-metric.hl .cm-ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.3); display: grid; place-items: center; }
.calc-metric.hl .cm-ic svg { width: 26px; height: 26px; }
.cm-num { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.calc-metric.hl .cm-num { font-size: 2rem; }
.cm-lbl { font-size: .8rem; color: #aebfde; margin-top: 5px; }
.calc-metric.hl .cm-lbl { color: #5d3d00; font-weight: 600; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-note { font-size: .85rem; color: #c4d2ee; text-align: center; margin-top: 4px; }
.calc-note b { color: var(--amber-400); }

/* --- TOASTS --- */
.toast-host { position: fixed; bottom: 24px; right: 24px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; box-shadow: var(--shadow-lg); min-width: 260px; max-width: 340px; animation: toastIn .35s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.toast-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.toast-ok .toast-ic { background: var(--green-100); color: var(--green-500); }
.toast-wish .toast-ic { background: #fde7ee; color: #e0245e; }
.toast-ic svg { width: 20px; height: 20px; }
.toast-body b { display: block; font-size: .9rem; }
.toast-body span { font-size: .78rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* --- responsive for add-ons --- */
@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; padding: 28px; }
  .qv { grid-template-columns: 1fr; }
  .qv-media .pmedia { border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: 240px; }
}
@media (max-width: 680px) {
  .toast-host { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; max-width: none; }
  .minicart { width: 100%; max-width: 100%; }
  .qv-info { padding: 22px; }
  .calc-slider-top b { font-size: 1.4rem; }
}

/* ============================================================
   v3 — topbar controls, search dropdown, configurator, compare,
   reviews, cross-sell, lightbox, faq, track, chat, dark mode
   ============================================================ */

/* topbar layout + controls */
.topbar .wrap { gap: 16px; }
.topbar-l { display: flex; align-items: center; gap: 18px; }
.topbar-l a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-l svg, .topbar-r svg { width: 14px; height: 14px; }
.topbar-r { display: flex; align-items: center; gap: 14px; }
.b2b-toggle { display: inline-flex; align-items: center; gap: 7px; color: #cdd9f2; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 7px; border: 1px solid rgba(255,255,255,.18); transition: all .2s; }
.b2b-toggle .b2b-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b7a96; transition: background .2s; }
.b2b-toggle:hover { background: rgba(255,255,255,.08); }
.b2b-toggle.on { background: var(--amber-500); color: #3d2700; border-color: var(--amber-500); }
.b2b-toggle.on .b2b-dot { background: #1f8a3b; }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 7px; padding: 2px; }
.lang-switch button { color: #aebfde; font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 5px; transition: all .15s; }
.lang-switch button.on { background: #fff; color: var(--blue-900); }
.hdr-icon.mini { width: 30px; height: 30px; color: #cdd9f2; }
.hdr-icon.mini svg { width: 17px; height: 17px; }
.hdr-icon.mini:hover { background: rgba(255,255,255,.1); color: #fff; }

/* search dropdown */
.search.open input { border-color: var(--blue-500); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.search-drop { position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border: 1.5px solid var(--blue-500); border-top: none; border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; }
.sd-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 14px; text-align: left; transition: background .15s; }
.sd-row:hover { background: var(--blue-50); }
.sd-img { width: 44px; height: 38px; border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.sd-info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sd-brand { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; color: var(--muted-2); }
.sd-name { font-size: .86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.sd-price { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.sd-all { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; font-weight: 700; font-size: .85rem; color: var(--blue-700); background: var(--bg); border-top: 1px solid var(--line); }
.sd-all:hover { background: var(--blue-50); }
.sd-all svg { width: 15px; height: 15px; }

/* card acts (wish + compare stack) + low stock + b2b price */
.pcard-acts { position: absolute; top: 10px; right: 10px; z-index: 6; display: flex; flex-direction: column; gap: 6px; }
.pcard-acts .wish-btn { position: static; }
.wish-btn.cmp:hover, .wish-btn.cmp.on { color: var(--blue-700); }
.badge-low { background: #fdeccb; color: var(--amber-600); }
.price.b2b { color: var(--green-600); }
.cfg-link { color: var(--amber-600) !important; font-weight: 700 !important; }
.cfg-link svg { width: 16px; height: 16px; }
.pdp-finance { display: flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--muted); margin: -8px 0 18px; }
.pdp-finance svg { width: 16px; height: 16px; color: var(--blue-600); }
.pdp-finance b { color: var(--ink-2); }
.co-finance { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.co-finance svg { width: 14px; height: 14px; color: var(--blue-600); }
.b2b-banner { display: flex; align-items: center; gap: 8px; background: var(--amber-100); color: var(--amber-600); border-radius: 9px; padding: 9px 12px; font-size: .82rem; font-weight: 700; margin-bottom: 12px; }
.b2b-banner svg { width: 16px; height: 16px; }
.promo-msg { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; margin: -6px 0 6px; }
.promo-msg svg { width: 14px; height: 14px; }
.promo-msg.ok { color: var(--green-600); }
.promo-msg.err { color: #d3402f; }
.zoom-hint { position: absolute; bottom: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(14,23,38,.7); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .76rem; font-weight: 600; opacity: 0; transition: opacity .25s; }
.gallery-main:hover .zoom-hint { opacity: 1; }
.gallery-main svg.zoom-hint { width: auto; }
.zoom-hint svg { width: 14px; height: 14px; }

/* CONFIGURATOR */
.cfg { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; padding-bottom: 70px; }
.cfg-slots { display: flex; flex-direction: column; gap: 16px; }
.cfg-slot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.cfg-slot-h { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.02rem; margin-bottom: 14px; }
.cfg-slot-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.cfg-slot-ic svg { width: 22px; height: 22px; }
.cfg-select select { width: 100%; }
.cfg-qty { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.cfg-qty > span { font-size: .88rem; color: var(--muted); }
.cfg-qty .qty { height: 44px; } .cfg-qty .qty button { height: 42px; width: 40px; } .cfg-qty .qty input { height: 42px; }
.cfg-kw { margin-left: auto; font-size: 1.2rem; color: var(--blue-700); }
.cfg-summary { position: sticky; top: 100px; }
.cfg-sum-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cfg-sum-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.cfg-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.cfg-badge { background: var(--blue-50); color: var(--blue-700); border-radius: 9px; padding: 7px 11px; font-size: .82rem; }
.cfg-badge b { font-size: 1.05rem; }
.cfg-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cfg-check { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; padding: 9px 11px; border-radius: 9px; }
.cfg-check svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.cfg-check.ok { background: var(--green-100); color: var(--green-600); }
.cfg-check.warn { background: #fdeccb; color: var(--amber-600); }
.cfg-check.err { background: #fbeaea; color: #b3261e; }
.cfg-lines { border-top: 1px solid var(--line-2); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.cfg-line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-2); gap: 10px; }
.cfg-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-total { display: flex; justify-content: space-between; border-top: 1.5px solid var(--line); margin-top: 12px; padding-top: 14px; font-size: 1.3rem; font-weight: 800; }
.cfg-fin { font-size: .82rem; color: var(--muted); margin: 8px 0 14px; text-align: center; }
.cfg-fin b { color: var(--ink-2); }
.cfg-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* COMPARE tray + table */
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14,23,38,.12); animation: slideUp .35s var(--ease); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.cmp-tray-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.cmp-tray-items { display: flex; align-items: center; gap: 12px; overflow-x: auto; }
.cmp-tray-lbl { font-weight: 700; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.cmp-chip { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 5px 8px; white-space: nowrap; }
.cmp-chip-img { width: 34px; height: 28px; border-radius: 6px; overflow: hidden; }
.cmp-chip span { font-size: .8rem; font-weight: 600; }
.cmp-chip button { color: var(--muted-2); width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; }
.cmp-chip button:hover { background: var(--bg-2); color: #b3261e; }
.cmp-chip button svg { width: 13px; height: 13px; }
.cmp-tray-act { display: flex; gap: 10px; flex-shrink: 0; }
.cmp-scroll { overflow-x: auto; padding-bottom: 70px; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; vertical-align: middle; }
.cmp-table thead th { background: var(--bg); vertical-align: bottom; }
.cmp-corner { background: var(--card) !important; border: none !important; }
.cmp-head { cursor: pointer; }
.cmp-head-img { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.cmp-head .cmp-brand { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; color: var(--muted-2); }
.cmp-head .cmp-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.cmp-k { font-weight: 600; color: var(--muted); width: 160px; background: var(--bg); font-size: .85rem; }
.cmp-price { font-size: 1.2rem; }

/* REVIEWS */
.reviews { display: grid; grid-template-columns: 280px 1fr; gap: 36px; max-width: 900px; }
.rev-summary { }
.rev-score { text-align: center; padding: 20px; background: var(--bg); border-radius: var(--radius); margin-bottom: 14px; }
.rev-big { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rev-stars { display: flex; gap: 2px; justify-content: center; margin: 8px 0 6px; }
.rev-stars svg { width: 18px; height: 18px; }
.rev-stars.sm svg { width: 14px; height: 14px; }
.rev-count { font-size: .82rem; color: var(--muted); }
.rev-bars { display: flex; flex-direction: column; gap: 6px; }
.rev-bar-row { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--muted); }
.rev-bar { flex: 1; height: 7px; background: var(--bg-2); border-radius: 4px; overflow: hidden; }
.rev-bar i { display: block; height: 100%; background: var(--amber-500); border-radius: 4px; }
.rev-bar-n { width: 24px; text-align: right; font-family: var(--mono); }
.rev-list { display: flex; flex-direction: column; gap: 20px; }
.rev-item { display: flex; gap: 14px; }
.rev-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--blue-100), var(--blue-500)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.rev-body { flex: 1; }
.rev-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rev-top b { font-size: .92rem; }
.rev-verified { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--green-600); font-weight: 600; }
.rev-verified svg { width: 13px; height: 13px; }
.rev-date { font-size: .76rem; color: var(--muted-2); margin-left: auto; font-family: var(--mono); }
.rev-body h5 { font-size: .92rem; margin: 8px 0 4px; }
.rev-body p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* BOUGHT TOGETHER */
.bt { padding: 30px 0; border-top: 1px solid var(--line); }
.bt-title { font-size: 1.3rem; margin-bottom: 18px; }
.bt-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bt-chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bt-item { display: flex; flex-direction: column; gap: 8px; width: 130px; cursor: pointer; }
.bt-img { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.bt-info { display: flex; flex-direction: column; }
.bt-brand { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; color: var(--muted-2); }
.bt-info b { font-size: .95rem; }
.bt-plus { color: var(--muted-2); }
.bt-plus svg { width: 18px; height: 18px; }
.bt-buy { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.bt-sum { font-size: 1rem; color: var(--muted); } .bt-sum b { color: var(--ink); font-size: 1.2rem; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(8,12,20,.9); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 40px; animation: fadeIn .25s var(--ease); }
.lb-stage { max-width: 760px; width: 100%; animation: qvIn .3s var(--ease); }
.lb-media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lb-media .pmedia { width: 100%; height: 100%; aspect-ratio: auto; }
.lb-cap { text-align: center; color: #cdd9f2; font-family: var(--mono); font-size: .82rem; margin-top: 14px; }
.lb-close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-close svg { width: 24px; height: 24px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 18px 22px; text-align: left; font-weight: 700; font-size: 1rem; }
.faq-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.faq-ic svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-2); line-height: 1.6; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--blue-50); border-radius: var(--radius); padding: 22px 26px; margin-top: 24px; }
.faq-cta b { display: block; } .faq-cta span { font-size: .88rem; color: var(--muted); }

/* TRACK */
.track-form { display: flex; gap: 10px; margin-bottom: 28px; }
.track-form input { flex: 1; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; background: var(--card); font-family: var(--mono); font-size: 1rem; }
.track-form input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.track-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.track-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.track-lbl { font-size: .78rem; color: var(--muted); display: block; }
.track-line { display: flex; flex-direction: column; gap: 0; }
.track-step { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; position: relative; }
.track-step:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.track-step.done:not(:last-child)::before { background: var(--green-500); }
.track-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); color: var(--muted-2); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; z-index: 1; }
.track-step.done .track-dot { background: var(--green-500); color: #fff; }
.track-step.done .track-dot svg { width: 17px; height: 17px; }
.track-step.cur .track-dot { box-shadow: 0 0 0 4px var(--green-100); }
.track-txt { font-weight: 600; color: var(--ink-2); }
.track-step.cur .track-txt { color: var(--ink); }
.track-meta { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.track-meta svg { width: 17px; height: 17px; color: var(--blue-700); vertical-align: -3px; margin-right: 6px; }

/* calc APVA toggle */
.calc-apva { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; cursor: pointer; }
.calc-apva b { display: block; font-size: .9rem; } .calc-apva i { font-size: .74rem; color: #9fb3d9; font-style: normal; }
.apva-r { display: flex; align-items: center; gap: 12px; }
.apva-amt { font-weight: 800; color: var(--amber-400); }

/* LIVE CHAT */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 88; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(180deg, var(--blue-600), var(--blue-800)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(11,61,145,.4); transition: transform .25s var(--ease), opacity .25s; }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab.hide { opacity: 0; pointer-events: none; transform: scale(.6); }
.chat-fab svg { width: 27px; height: 27px; }
.chat-fab-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; background: var(--green-500); border: 2px solid #fff; border-radius: 50%; }
.chat-panel { position: fixed; right: 24px; bottom: 24px; z-index: 89; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 48px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none; transition: all .3s var(--ease); transform-origin: bottom right; }
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; }
.chat-head-l { display: flex; align-items: center; gap: 11px; }
.chat-av { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.chat-av svg { width: 21px; height: 21px; color: var(--amber-400); }
.chat-head-l b { display: block; font-size: .95rem; }
.chat-head-l span { font-size: .74rem; color: #c4d2ee; display: flex; align-items: center; gap: 6px; }
.chat-head .hdr-icon { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg:not(.me) { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--blue-700); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; gap: 7px; padding: 10px 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.chat-quick button { font-size: .76rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); border-radius: 8px; padding: 6px 10px; transition: background .15s; }
.chat-quick button:hover { background: var(--blue-100); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; height: 42px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 14px; background: var(--bg); }
.chat-input input:focus { outline: none; border-color: var(--blue-500); }
.chat-input .iconbtn { width: 42px; height: 42px; }

@media (max-width: 900px) {
  .cfg { grid-template-columns: 1fr; }
  .cfg-summary { position: static; }
  .reviews { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .topbar-l { display: none; }
  .bt-row { flex-direction: column; align-items: stretch; }
  .bt-buy { align-items: stretch; }
  .chat-panel { right: 12px; bottom: 12px; }
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --ink: #eaf0fa; --ink-2: #c2cde2; --muted: #93a2be; --muted-2: #6f7e9b;
  --bg: #0d1320; --bg-2: #18233a; --card: #141d2e; --white: #141d2e;
  --line: #283449; --line-2: #1e293d;
  --blue-50: #16233c; --blue-100: #1d3052;
  --amber-100: #2a2212; --green-100: #122a1c;
  --amber-text: #ffb83d;
}
[data-theme="dark"] body { background: var(--bg); }
[data-theme="dark"] header.site { background: rgba(13,19,32,.92); }
[data-theme="dark"] .catnav,
[data-theme="dark"] .trust,
[data-theme="dark"] .pcard,
[data-theme="dark"] .catcard,
[data-theme="dark"] .kitcard,
[data-theme="dark"] .tcard,
[data-theme="dark"] .summary,
[data-theme="dark"] .co-card,
[data-theme="dark"] .filters,
[data-theme="dark"] .citem,
[data-theme="dark"] .minicart-head,
[data-theme="dark"] .minicart-foot,
[data-theme="dark"] .mc-item,
[data-theme="dark"] .qv,
[data-theme="dark"] .toast,
[data-theme="dark"] .cfg-slot,
[data-theme="dark"] .cfg-sum-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .track-result,
[data-theme="dark"] .cmp-tray,
[data-theme="dark"] .search-drop,
[data-theme="dark"] .chat-panel { background: var(--card); }
[data-theme="dark"] .minicart { background: var(--bg); }
[data-theme="dark"] .spec-quick > div,
[data-theme="dark"] .qty,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .select select,
[data-theme="dark"] .news-form input,
[data-theme="dark"] .promo-row input,
[data-theme="dark"] .track-form input,
[data-theme="dark"] .chat-input input,
[data-theme="dark"] .search input { background: var(--card); color: var(--ink); }
[data-theme="dark"] .chat-body { background: var(--bg); }
[data-theme="dark"] .chat-msg:not(.me) { background: var(--card); }
[data-theme="dark"] .wish-btn { background: rgba(20,29,46,.92); }
[data-theme="dark"] .pmedia { background: radial-gradient(120% 90% at 70% 10%, #1c2942 0%, #141d2e 60%, #0d1320 100%); }
[data-theme="dark"] .pmedia::before { opacity: .4; }
[data-theme="dark"] .pmedia-cap { background: rgba(13,19,32,.8); color: var(--blue-300); border-color: var(--line); }
[data-theme="dark"] .news { background: linear-gradient(135deg, #241d10, var(--card)); border-color: #4a3a18; }
[data-theme="dark"] .pmedia-photo { opacity: .92; }
[data-theme="dark"] .btn-ghost { background: var(--card); color: var(--blue-300); }
[data-theme="dark"] .chip { background: var(--bg-2); color: var(--ink-2); }
[data-theme="dark"] img.hero-card-tag { background: var(--card); }

/* ============================================================
   v4 — account, auth, roof planner, quote PDF, VAT toggle,
   compare badges, delivery ETA, saved address
   ============================================================ */

/* VAT toggle + account online dot */
.vat-toggle { color: #cdd9f2; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 7px; border: 1px solid rgba(255,255,255,.18); transition: all .2s; }
.vat-toggle:hover { background: rgba(255,255,255,.08); }
.vat-toggle.on { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.acc-online { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; background: var(--green-500); border: 2px solid var(--card); border-radius: 50%; }
.hdr-icon { position: relative; }

/* delivery ETA on PDP */
.pdp-eta { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; padding: 8px 12px; background: var(--bg); border-radius: 9px; border: 1px solid var(--line-2); }
.pdp-eta svg { width: 17px; height: 17px; color: var(--muted-2); }
.pdp-eta.soon { color: var(--green-600); background: var(--green-100); border-color: transparent; }
.pdp-eta.soon svg { color: var(--green-500); }

/* compare best-value badges */
.cmp-best { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; color: var(--green-600); background: var(--green-100); padding: 2px 6px; border-radius: 6px; margin-top: 6px; }
.cmp-best svg { width: 12px; height: 12px; }
td.cmp-win { background: rgba(31,157,84,.06); }

/* configurator sub actions */
.cfg-sub-act { display: flex; gap: 10px; margin-top: 10px; }
.cfg-sub-act .btn { flex: 1; }

/* ---------------- AUTH MODAL ---------------- */
.auth { background: var(--card); border-radius: var(--radius-lg); width: 420px; max-width: 100%; padding: 32px; position: relative; box-shadow: var(--shadow-lg); animation: qvIn .3s var(--ease); }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head h3 { font-size: 1.4rem; }
.auth-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.auth-switch button { color: var(--blue-700); font-weight: 700; }
.auth-switch button:hover { text-decoration: underline; }

/* ---------------- ACCOUNT ---------------- */
.acc { display: grid; grid-template-columns: 264px 1fr; gap: 30px; align-items: start; padding-bottom: 70px; }
.acc-side { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 20px; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; }
.acc-av { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.acc-av.sm { width: 38px; height: 38px; background: var(--blue-100); color: var(--blue-700); }
.acc-user b { display: block; font-size: .98rem; } .acc-user span { font-size: .78rem; color: #c4d2ee; word-break: break-all; }
.acc-nav { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.acc-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink-2); text-align: left; transition: background .15s, color .15s; }
.acc-nav button svg { width: 19px; height: 19px; color: var(--muted-2); }
.acc-nav button:hover { background: var(--bg); }
.acc-nav button.active { background: var(--blue-50); color: var(--blue-700); }
.acc-nav button.active svg { color: var(--blue-700); }
.acc-pill { margin-left: auto; background: var(--blue-100); color: var(--blue-700); font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 9px; }
.acc-logout { color: #b3261e !important; margin-top: 6px; border-top: 1px solid var(--line-2); border-radius: 0 !important; }
.acc-logout svg { color: #b3261e !important; }
.acc-main { min-width: 0; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.acc-stat { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; text-align: left; }
.acc-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.acc-stat-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.acc-stat-ic svg { width: 22px; height: 22px; }
.acc-stat > div { display: flex; flex-direction: column; line-height: 1.1; }
.acc-stat b { font-size: 1.5rem; font-weight: 800; line-height: 1; } .acc-stat span { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.acc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.acc-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.acc-card-h b { font-size: 1.05rem; }
.acc-list { display: flex; flex-direction: column; gap: 14px; }
.acc-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.acc-empty.sm { padding: 30px; }
.acc-empty svg { width: 48px; height: 48px; color: var(--line); margin: 0 auto 14px; }
.acc-empty p { margin-bottom: 16px; }
.ord-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ord-l b { font-size: 1rem; } .ord-date { display: block; font-size: .78rem; color: var(--muted); }
.ord-m { display: flex; align-items: center; gap: 12px; }
.ord-items { font-size: .84rem; color: var(--muted); }
.ord-r { display: flex; align-items: center; gap: 14px; }
.ord-r b { font-size: 1.1rem; }
.acc-card.sys { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sys-badges { display: flex; gap: 7px; margin-bottom: 8px; flex-wrap: wrap; }
.sys-parts { font-size: .9rem; color: var(--ink-2); } .sys-date { font-size: .76rem; color: var(--muted-2); }
.sys-act { display: flex; align-items: center; gap: 12px; }
.sys-del, .addr .sys-del { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted-2); border: 1px solid var(--line); }
.sys-del:hover { color: #b3261e; border-color: #f0c4c0; }
.sys-del svg { width: 17px; height: 17px; }
.acc-card.addr { display: flex; align-items: center; gap: 14px; }
.addr-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.acc-card.addr b { display: block; } .acc-card.addr span { font-size: .86rem; color: var(--muted); }
.acc-card.addr > div { flex: 1; }
.drawer-acc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 11px; font-weight: 600; color: var(--ink); background: var(--bg); }
.drawer-acc:hover { background: var(--blue-50); }

/* saved address chips in checkout */
.saved-addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.saved-addr-l { font-size: .82rem; color: var(--muted); font-weight: 600; }
.saved-addr-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-50); color: var(--blue-700); border-radius: 8px; padding: 6px 11px; font-size: .82rem; font-weight: 600; }
.saved-addr-chip:hover { background: var(--blue-100); }
.saved-addr-chip svg { width: 14px; height: 14px; }

/* ---------------- ROOF PLANNER ---------------- */
.roof { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; padding-bottom: 70px; }
.roof-controls { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 18px; display: flex; flex-direction: column; gap: 20px; }
.roof-ctl-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.roof-ctl-top span { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.roof-ctl-top b { font-size: 1.2rem; }
.roof-orient { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.roof-orient > span { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.roof-seg { display: flex; gap: 3px; background: var(--bg-2); border-radius: 10px; padding: 3px; }
.roof-seg button { padding: 8px 14px; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.roof-seg button.on { background: var(--card); color: var(--blue-700); box-shadow: var(--shadow-sm); }
.roof-stage { background: linear-gradient(160deg, #cfe0f6, #aac4ea); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: grid; place-items: center; min-height: 320px; box-shadow: var(--shadow-sm); position: relative; }
[data-theme="dark"] .roof-stage { background: linear-gradient(160deg, #1a2740, #131d30); }
.roof-controls { } 
.roof-area { position: relative; width: 100%; max-width: 480px; background: linear-gradient(160deg, #8a5a3c, #6f4428); border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.25), inset 0 2px 0 rgba(255,255,255,.15); padding: 14px; }
.roof-grid { display: grid; gap: 4px; width: 100%; height: 100%; }
.roof-panel { background: linear-gradient(150deg, #1a3a6b, #0e2347); border: 1px solid #2f5894; border-radius: 2px; aspect-ratio: 1.5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); animation: panelIn .4s var(--ease) backwards; }
@keyframes panelIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.roof-dim { position: absolute; font-family: var(--mono); font-size: .72rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.4); padding: 2px 7px; border-radius: 5px; }
.roof-dim-w { top: -12px; left: 50%; transform: translateX(-50%); }
.roof-dim-l { top: 50%; right: -14px; transform: translateY(-50%) rotate(90deg); transform-origin: center; }
.roof-none { color: #fff; text-align: center; padding: 40px; font-weight: 600; }
.roof-more { position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.roof-summary { position: sticky; top: 100px; }
.roof-sum-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.roof-big { text-align: center; padding: 14px 0 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 18px; }
.roof-big-n { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--blue-700); display: block; }
.roof-big-l { font-size: .9rem; color: var(--muted); }
.roof-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.roof-metric { background: var(--bg); border-radius: 11px; padding: 13px; }
.roof-metric b { font-size: 1.15rem; display: block; letter-spacing: -.01em; } .roof-metric span { font-size: .76rem; color: var(--muted); }
.roof-save { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--green-100); color: var(--green-600); border-radius: 11px; padding: 12px; font-weight: 600; margin-bottom: 16px; }
.roof-save svg { width: 18px; height: 18px; } .roof-save b { font-size: 1.05rem; }
.roof-rec { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 12px; padding: 12px; margin-bottom: 16px; }
.roof-rec-media { width: 60px; height: 50px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.roof-rec-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.roof-rec-info b { font-size: .9rem; line-height: 1.2; } .roof-rec-price { font-weight: 800; }
.roof-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------------- QUOTE / PDF ---------------- */
.quote-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(14,23,38,.6); backdrop-filter: blur(4px); overflow-y: auto; padding: 70px 20px 40px; }
.quote-bar { position: fixed; top: 0; left: 0; right: 0; height: 56px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; z-index: 2; }
.quote-bar > span { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.quote-bar svg { width: 18px; height: 18px; }
.quote-bar-act { display: flex; gap: 10px; }
.quote-print { max-width: 800px; margin: 0 auto; background: #fff; color: #15202e; border-radius: 8px; padding: 48px; box-shadow: var(--shadow-lg); }
.quote-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid #0B3D91; margin-bottom: 24px; }
.quote-brand { display: flex; align-items: center; gap: 12px; }
.quote-brand .logo-mark { width: 44px; height: 44px; }
.quote-brand b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; display: block; }
.quote-brand span { font-size: .78rem; color: #5c6b85; }
.quote-meta { text-align: right; }
.quote-meta h2 { font-size: 1.3rem; color: #0B3D91; margin-bottom: 8px; }
.quote-meta table { margin-left: auto; font-size: .85rem; }
.quote-meta td { padding: 2px 0 2px 16px; } .quote-meta td:first-child { color: #5c6b85; }
.quote-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.quote-parties .ql { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #8493ac; display: block; margin-bottom: 4px; }
.quote-parties b { font-size: 1rem; } .quote-parties p { font-size: .84rem; color: #5c6b85; line-height: 1.5; margin-top: 4px; }
.quote-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.quote-table th { background: #f2f7ff; color: #0B3D91; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: 10px 12px; }
.quote-table th:nth-child(2), .quote-table th:nth-child(3), .quote-table th:nth-child(4),
.quote-table td:nth-child(2), .quote-table td:nth-child(3), .quote-table td:nth-child(4) { text-align: right; white-space: nowrap; }
.quote-table td { padding: 11px 12px; border-bottom: 1px solid #e4e9f2; font-size: .9rem; vertical-align: top; }
.quote-table td b { font-weight: 700; } .qt-note { display: block; font-family: var(--mono); font-size: .72rem; color: #8493ac; margin-top: 2px; }
.quote-totals { display: flex; justify-content: flex-end; margin-bottom: 28px; }
.quote-tot-box { width: 280px; }
.qt-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; color: #2a3650; }
.qt-row.grand { border-top: 2px solid #0B3D91; margin-top: 6px; padding-top: 12px; font-size: 1.3rem; font-weight: 800; color: #15202e; }
.qt-fin { text-align: right; font-size: .8rem; color: #8493ac; margin-top: 6px; }
.quote-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid #e4e9f2; padding-top: 20px; }
.quote-foot b { font-size: .9rem; } .quote-foot p { font-size: .82rem; color: #5c6b85; line-height: 1.5; margin-top: 3px; }
.quote-note { grid-column: 1 / -1; font-size: .76rem; color: #8493ac; font-style: italic; margin-top: 8px; }

@media print {
  body { background: #fff !important; }
  body > #app > *:not(.quote-overlay), .no-print { display: none !important; }
  .quote-overlay { position: static; inset: auto; background: #fff; padding: 0; backdrop-filter: none; overflow: visible; }
  .quote-print { box-shadow: none; border-radius: 0; padding: 0; max-width: 100%; }
  @page { margin: 16mm; }
}

@media (max-width: 900px) {
  .acc { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .roof { grid-template-columns: 1fr; }
  .roof-summary { position: static; }
}
@media (max-width: 680px) {
  .acc-stats { grid-template-columns: 1fr; }
  .acc-card.sys, .ord-row { flex-direction: column; align-items: stretch; }
  .quote-print { padding: 24px; }
  .quote-head, .quote-parties, .quote-foot { grid-template-columns: 1fr; flex-direction: column; }
  .quote-meta, .quote-meta table { text-align: left; margin-left: 0; }
  .vat-toggle { display: none; }
}

/* ============================================================
   v5 — blog/patarimai, article, notify modal
   ============================================================ */
.notify { background: var(--card); border-radius: var(--radius-lg); width: 440px; max-width: 100%; padding: 30px; position: relative; box-shadow: var(--shadow-lg); animation: qvIn .3s var(--ease); }
.notify-head { display: flex; gap: 16px; margin-bottom: 16px; }
.notify-img { width: 84px; height: 70px; border-radius: 11px; overflow: hidden; flex-shrink: 0; }
.notify-head h3 { font-size: 1.2rem; line-height: 1.2; } .notify-head p { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.notify-txt { font-size: .9rem; color: var(--ink-2); margin-bottom: 16px; }
.notify-eta { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.notify-eta svg { width: 15px; height: 15px; color: var(--blue-600); }
.notify-done { text-align: center; padding: 20px 10px; }
.notify-done h3 { font-size: 1.3rem; margin-bottom: 8px; } .notify-done p { color: var(--muted); }
.notify-cta { margin-top: 12px; }

/* BLOG */
.blog-feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; cursor: pointer; transition: box-shadow .3s, transform .3s var(--ease); }
.blog-feat:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-feat-media { position: relative; min-height: 280px; background: radial-gradient(130% 120% at 75% 15%, var(--blue-600), var(--blue-900)); display: grid; place-items: center; overflow: hidden; }
.blog-feat-media::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 13px); }
.blog-feat-glyph { width: 96px; height: 96px; border-radius: 24px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--amber-400); border: 1px solid rgba(255,255,255,.18); }
.blog-feat-glyph svg { width: 48px; height: 48px; }
.blog-feat-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.blog-feat-body h2 { font-size: 1.7rem; margin: 12px 0 12px; line-height: 1.15; }
.blog-feat-body p { color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-cat { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--blue-700); background: var(--blue-50); padding: 4px 10px; border-radius: 7px; align-self: flex-start; }
.blog-cat.float { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted-2); margin: 12px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-media { position: relative; aspect-ratio: 16/9; background: radial-gradient(120% 110% at 70% 10%, var(--blue-100), var(--bg-2)); display: grid; place-items: center; }
.blog-card-glyph { width: 60px; height: 60px; border-radius: 16px; background: var(--card); display: grid; place-items: center; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.blog-card-glyph svg { width: 30px; height: 30px; }
.blog-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 8px; }
.blog-card:hover .blog-card-body h3 { color: var(--blue-700); }
.blog-card-body p { font-size: .86rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-body .blog-meta { margin-top: auto; padding-top: 12px; }

/* ARTICLE */
.article { max-width: 760px; margin: 0 auto; padding-bottom: 30px; }
.article-hero { text-align: center; margin-bottom: 26px; }
.article-hero .blog-cat { margin-bottom: 14px; }
.article-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.12; margin-bottom: 14px; }
.article-banner { aspect-ratio: 21/9; border-radius: var(--radius-lg); background: radial-gradient(130% 120% at 75% 15%, var(--blue-600), var(--blue-900)); display: grid; place-items: center; margin-bottom: 32px; position: relative; overflow: hidden; }
.article-banner::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.article-banner-glyph { width: 104px; height: 104px; border-radius: 26px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--amber-400); border: 1px solid rgba(255,255,255,.18); }
.article-banner-glyph svg { width: 52px; height: 52px; }
.article-body { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { font-size: 1.4rem; color: var(--ink); margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; }
.article-list li { display: flex; gap: 11px; align-items: flex-start; }
.article-list li svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; margin-top: 5px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--blue-50); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.article-cta b { display: block; font-size: 1.05rem; } .article-cta span { font-size: .9rem; color: var(--muted); }
.article-cta-act { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 820px) {
  .blog-feat { grid-template-columns: 1fr; }
  .blog-feat-media { min-height: 180px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-feat-body { padding: 24px; }
  .article-cta { flex-direction: column; align-items: stretch; }
  .article-cta-act { flex-direction: column; }
}

/* ============================================================
   v6 — About/Kontaktai, cookie banner
   ============================================================ */
.about-hero { position: relative; background: var(--blue-900); color: #fff; overflow: hidden; padding: 72px 0 64px; }
.about-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .9;
  background: radial-gradient(60% 80% at 85% 10%, rgba(245,166,35,.22), transparent 70%), radial-gradient(50% 70% at 10% 90%, rgba(42,111,219,.3), transparent 70%); }
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #fff; margin: 12px 0 16px; max-width: 18ch; }
.about-hero p { color: #c4d2ee; font-size: 1.1rem; max-width: 56ch; line-height: 1.6; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.about-stat b { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue-700); line-height: 1; }
.about-stat span { font-size: .86rem; color: var(--muted); margin-top: 8px; display: block; }

.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.about-story-media { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: radial-gradient(130% 120% at 70% 15%, var(--blue-600), var(--blue-900)); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.about-story-media::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.about-story-glyph { width: 110px; height: 110px; border-radius: 28px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--amber-400); border: 1px solid rgba(255,255,255,.18); }
.about-story-glyph svg { width: 56px; height: 56px; }
.about-story-body p { color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }

.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.about-value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-value-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 14px; }
.about-value-ic svg { width: 26px; height: 26px; }
.about-value h3 { font-size: 1.05rem; margin-bottom: 7px; }
.about-value p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; box-shadow: var(--shadow-sm); }
.contact-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: .95rem; margin-bottom: 4px; }
.contact-card a { display: block; color: var(--blue-700); font-weight: 700; font-size: 1.02rem; }
.contact-card a:hover { color: var(--amber-600); }
.contact-card span { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; }

.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 320px; }
.map-placeholder { position: relative; width: 100%; height: 100%; min-height: 320px; background: linear-gradient(160deg, #dce7f5, #c3d6ee); display: grid; place-items: center; }
[data-theme="dark"] .map-placeholder { background: linear-gradient(160deg, #1a2740, #131d30); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(11,61,145,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(11,61,145,.08) 1px, transparent 1px); background-size: 38px 38px; }
.map-pin { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50% 50% 50% 0; background: var(--amber-500); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 10px 20px rgba(217,133,18,.4); animation: mapBounce 2s var(--ease) infinite; }
.map-pin svg { transform: rotate(45deg); width: 26px; height: 26px; color: #fff; }
@keyframes mapBounce { 0%,100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-8px); } }
.map-card { position: absolute; bottom: 18px; left: 18px; z-index: 2; background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); }
.map-card b { display: block; font-size: .92rem; } .map-card span { font-size: .8rem; color: var(--muted); }
.map-note { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: .68rem; color: var(--blue-700); background: rgba(255,255,255,.8); padding: 3px 8px; border-radius: 6px; }
[data-theme="dark"] .map-note { background: rgba(20,29,46,.8); color: var(--blue-300); }

.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; border-radius: var(--radius-lg); padding: 30px 34px; margin-top: 30px; }
.about-cta b { display: block; font-size: 1.3rem; } .about-cta span { color: #c4d2ee; font-size: .95rem; }
.about-cta-act { display: flex; gap: 12px; flex-shrink: 0; }

/* COOKIE BANNER */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 110; max-width: 460px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; animation: cookieIn .4s var(--ease); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.cookie-ic svg { width: 21px; height: 21px; }
.cookie-txt b { font-size: .95rem; } .cookie-txt p { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.cookie-act { display: flex; gap: 8px; margin-top: 12px; }

@media (max-width: 900px) {
  .about-stats, .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .about-stats, .about-values, .contact-cards { grid-template-columns: 1fr; }
  .about-cta { flex-direction: column; align-items: stretch; }
  .about-cta-act { flex-direction: column; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-wrap: wrap; }
  .cookie-act { width: 100%; }
  .cookie-act .btn { flex: 1; }
}

/* dark-mode coverage for new surfaces */
[data-theme="dark"] .about-stat,
[data-theme="dark"] .about-value,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .map-card,
[data-theme="dark"] .cookie,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .blog-feat,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .notify,
[data-theme="dark"] .auth { background: var(--card); }
[data-theme="dark"] .blog-card-media { background: radial-gradient(120% 110% at 70% 10%, #1c2942, #0d1320); }
[data-theme="dark"] .blog-card-glyph { background: var(--bg-2); }
