/* =========================================================
   ECO WHOLESALE — style.css
   Slate / emerald / cyan B2B electronics theme
   Colours are all defined as variables below: change once here
   and the whole site updates.
   ========================================================= */

:root {
  /* Surfaces */
  --bg:          #070b10;
  --bg-2:        #0b1119;
  --surface:     #0f1720;
  --surface-2:   #141d29;
  --surface-3:   #1b2634;
  --line:        #22303f;
  --line-soft:   #1a2531;

  /* Text */
  --text:        #e8eef4;
  --text-soft:   #93a4b6;
  --text-dim:    #64748b;

  /* Accents */
  --emerald:     #10b981;
  --emerald-2:   #34d399;
  --emerald-dk:  #059669;
  --cyan:        #22d3ee;
  --amber:       #f59e0b;
  --rose:        #f43f5e;

  /* Type */
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:'Space Grotesk', 'Inter', sans-serif;

  /* Metrics */
  --max:         1280px;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 24px 60px -24px rgba(0,0,0,.75);
  --glow:        0 0 0 1px rgba(16,185,129,.28), 0 14px 40px -14px rgba(16,185,129,.32);
  --t:           .28s cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 26px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--emerald); color: #04120c; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.ico    { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 16px; height: 16px; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--emerald-2); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--emerald); }
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.16; letter-spacing: -.02em; }

.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.section-sub   { color: var(--text-soft); max-width: 640px; font-size: 1.03rem; margin-bottom: 46px; }
.center        { text-align: center; }
.center.section-title, .center.section-sub { margin-left: auto; margin-right: auto; }
.accent        { color: var(--emerald-2); }

section { position: relative; }
.pad     { padding: 104px 0; }
.pad-sm  { padding: 68px 0; }
.bg-alt  { background: var(--bg-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .93rem; cursor: pointer; white-space: nowrap;
  transition: transform var(--t), background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
}
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-accent {
  background: linear-gradient(135deg, var(--emerald-2), var(--emerald-dk));
  color: #04120c; box-shadow: 0 14px 34px -14px rgba(16,185,129,.7);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgba(16,185,129,.85); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }
.btn-full { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-2); border-bottom: 1px solid var(--line-soft);
  font-size: .8rem; color: var(--text-soft);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 9px 26px; }
.topbar-inner span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-right { gap: 22px; }
.topbar a:hover { color: var(--emerald-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 400;
  background: rgba(7,11,16,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t), background var(--t);
}
.site-header.scrolled { box-shadow: 0 14px 34px -22px rgba(0,0,0,.9); background: rgba(7,11,16,.96); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--emerald-2), var(--emerald-dk)); color: #04120c;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-weight: 500; color: var(--emerald-2); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 9px 13px; border-radius: 8px; font-size: .9rem; font-weight: 550; color: var(--text-soft);
  display: inline-flex; align-items: center; gap: 6px; transition: color var(--t), background var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.05); }
.caret { width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); transition: transform var(--t); }
.nav-item.open .caret { transform: rotate(-135deg) translate(-2px,-2px); }
.nav-cta {
  margin-left: 10px; padding: 10px 20px; border-radius: 999px; font-size: .88rem; font-weight: 650;
  background: linear-gradient(135deg, var(--emerald-2), var(--emerald-dk)); color: #04120c;
  transition: transform var(--t), box-shadow var(--t);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(16,185,129,.8); }

/* ---------- Mega menu ---------- */
.nav-item { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: 1.2fr 1.2fr .85fr; gap: 40px; padding: 34px 26px 38px; }
.mega-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--emerald-2); margin-bottom: 10px; }
.mega-blurb { font-size: .84rem; color: var(--text-dim); margin-bottom: 16px; }
.mega-col ul { display: grid; gap: 3px; }
.mega-col li a {
  display: flex; gap: 12px; align-items: center; padding: 9px 11px; border-radius: 9px;
  transition: background var(--t), transform var(--t);
}
.mega-col li a:hover { background: var(--surface-2); transform: translateX(3px); }
.mega-ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-2); flex: none; }
.mega-col li strong { display: block; font-size: .9rem; font-weight: 600; }
.mega-col li em { font-style: normal; font-size: .76rem; color: var(--text-dim); }
.mega-promo { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mega-promo p { font-size: .86rem; color: var(--text-soft); margin-bottom: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 7px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background: radial-gradient(ellipse at 18% 0%, #0e2a24 0%, var(--bg) 58%); }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 15%, transparent 72%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .42; pointer-events: none; animation: drift 18s ease-in-out infinite; }
.hero-blob.b1 { width: 520px; height: 520px; background: radial-gradient(circle, var(--emerald) 0%, transparent 68%); top: -180px; left: -120px; }
.hero-blob.b2 { width: 460px; height: 460px; background: radial-gradient(circle, var(--cyan) 0%, transparent 68%); bottom: -220px; right: -110px; animation-delay: -8s; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-28px) scale(1.09); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; margin-bottom: 20px; }
.hero-sub { color: var(--text-soft); font-size: 1.1rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--emerald-2); }
.hero-stat span { font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .07em; }

/* Hero search */
.hero-search { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 7px 7px 18px; margin-bottom: 26px; max-width: 520px; }
.hero-search input { flex: 1; background: none; border: 0; outline: none; font-size: .95rem; }
.hero-search input::placeholder { color: var(--text-dim); }

/* Hero card stack */
.hero-visual { position: relative; }
.stock-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 14px;
  display: flex; align-items: center; gap: 16px; transition: transform var(--t), border-color var(--t);
}
.stock-card:hover { transform: translateX(-6px); border-color: var(--emerald); }
.stock-card .sc-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-2); flex: none; }
.stock-card h5 { font-family: var(--font-display); font-size: .96rem; font-weight: 600; }
.stock-card p { font-size: .8rem; color: var(--text-dim); }
.stock-card .sc-qty { margin-left: auto; text-align: right; }
.stock-card .sc-qty strong { display: block; font-family: var(--font-display); color: var(--emerald-2); font-size: 1.05rem; }
.stock-card .sc-qty span { font-size: .72rem; color: var(--text-dim); }

/* ---------- Logo marquee ---------- */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: scrollx 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; letter-spacing: .02em; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Pillars / categories ---------- */
.pillar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 34px; flex-wrap: wrap; }
.pillar-head .section-sub { margin-bottom: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cat-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.cat-card::after {
  content: ''; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.16), transparent 70%); opacity: 0; transition: opacity var(--t);
}
.cat-card:hover { transform: translateY(-6px); border-color: rgba(16,185,129,.45); box-shadow: var(--shadow); }
.cat-card:hover::after { opacity: 1; }
.cat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-2); margin-bottom: 18px; }
.cat-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.cat-card p { font-size: .87rem; color: var(--text-soft); margin-bottom: 16px; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-dim); position: relative; z-index: 1; }
.cat-meta .go { color: var(--emerald-2); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 20px; }
.prod-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.prod-card:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.45); box-shadow: var(--shadow); }
.prod-media { position: relative; background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.prod-media .prod-art, .prod-media img { display: block; width: 100%; height: auto; }
.prod-media .chip { position: absolute; top: 12px; left: 12px; }
.prod-body { padding: 17px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.prod-brand { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 650; }
.prod-name { font-family: var(--font-display); font-size: .97rem; font-weight: 600; line-height: 1.35; }
.prod-spec { font-size: .8rem; color: var(--text-dim); }
.prod-foot { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; color: var(--emerald-2); }
.price-unit { font-size: .72rem; color: var(--text-dim); display: block; }
.price-locked { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--emerald-2); }
.price-locked:hover { text-decoration: underline; }
.moq { font-size: .74rem; color: var(--text-dim); text-align: right; }
.moq strong { display: block; color: var(--text-soft); font-size: .84rem; }

/* Badges and chips */
.badge, .chip {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; padding: 5px 11px;
  border: 1px solid transparent; white-space: nowrap;
}
.chip-emerald, .badge-emerald { background: rgba(16,185,129,.14); color: var(--emerald-2); border-color: rgba(16,185,129,.35); }
.chip-cyan,    .badge-cyan    { background: rgba(34,211,238,.13); color: var(--cyan);      border-color: rgba(34,211,238,.32); }
.chip-amber,   .badge-amber   { background: rgba(245,158,11,.13); color: var(--amber);     border-color: rgba(245,158,11,.32); }
.chip-rose,    .badge-rose    { background: rgba(244,63,94,.13);  color: var(--rose);      border-color: rgba(244,63,94,.32); }
.chip-slate,   .badge-slate   { background: var(--surface-3);     color: var(--text-soft); border-color: var(--line); }

/* ---------- Browse / shop layout ---------- */
.shop-head { padding: 46px 0 26px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.breadcrumb { font-size: .8rem; color: var(--text-dim); margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--emerald-2); }
.shop-head h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 10px; }
.shop-head p { color: var(--text-soft); max-width: 680px; }

.shop-layout { display: grid; grid-template-columns: 268px 1fr; gap: 34px; padding: 34px 0 96px; align-items: start; }

.filters { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px 20px; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 13px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .87rem; color: var(--text-soft); cursor: pointer; }
.filter-opt:hover { color: var(--text); }
.filter-opt input { accent-color: var(--emerald); width: 15px; height: 15px; }
.filter-opt .count { margin-left: auto; font-size: .74rem; color: var(--text-dim); }
.filter-search { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; outline: none; font-size: .88rem; }
.filter-search:focus { border-color: var(--emerald); }
.range-row { display: flex; gap: 9px; }
.range-row input { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 11px; outline: none; font-size: .85rem; }
.range-row input:focus { border-color: var(--emerald); }

.shop-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.result-count { font-size: .87rem; color: var(--text-soft); margin-right: auto; }
.result-count strong { color: var(--text); }
.sort-select { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .85rem; outline: none; cursor: pointer; }
.sort-select:focus { border-color: var(--emerald); }
.view-toggle { display: flex; gap: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { background: none; border: 0; cursor: pointer; padding: 7px 11px; border-radius: 999px; color: var(--text-dim); display: grid; place-items: center; transition: background var(--t), color var(--t); }
.view-toggle button.active { background: var(--surface-3); color: var(--emerald-2); }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 8px 6px 14px; font-size: .8rem; color: var(--text-soft);
}
.pill button { background: none; border: 0; cursor: pointer; color: var(--text-dim); font-size: 1rem; line-height: 1; padding: 0 4px; }
.pill button:hover { color: var(--rose); }

/* List view */
.prod-grid.list-view { grid-template-columns: 1fr; }
.prod-grid.list-view .prod-card { flex-direction: row; }
.prod-grid.list-view .prod-media { width: 190px; flex: none; border-bottom: 0; border-right: 1px solid var(--line-soft); }
.prod-grid.list-view .prod-body { flex-direction: row; align-items: center; gap: 24px; }
.prod-grid.list-view .prod-info { flex: 1; }
.prod-grid.list-view .prod-foot { margin-top: 0; padding-top: 0; border-top: 0; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 190px; }

.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-dim); }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0 20px; align-items: start; }
.pdp-media { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; }
.pdp-media .prod-art { width: 100%; display: block; }
.pdp h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 10px 0 14px; }
.pdp-badges { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp-price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 22px 0; }
.pdp-price-box .price { font-size: 2rem; }
.pdp-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; vertical-align: top; }
.spec-table th { color: var(--text-dim); font-weight: 550; width: 40%; }
.pdp-note { background: var(--surface-2); border-left: 3px solid var(--emerald); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .87rem; color: var(--text-soft); margin-top: 20px; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px 26px; counter-increment: step;
  transition: transform var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.45); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 700;
  color: rgba(16,185,129,.28); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 9px; }
.step p { font-size: .88rem; color: var(--text-soft); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform var(--t), border-color var(--t);
}
.feature:hover { transform: translateY(-5px); border-color: rgba(16,185,129,.45); }
.feature .f-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-2); margin-bottom: 17px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: .88rem; color: var(--text-soft); }

/* ---------- Grading tables ---------- */
.grade-row {
  display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 14px; transition: border-color var(--t);
}
.grade-row:hover { border-color: rgba(16,185,129,.45); }
.grade-row h3 { font-size: 1.02rem; margin-bottom: 8px; }
.grade-row .g-short { color: var(--emerald-2); font-size: .87rem; font-weight: 600; margin-bottom: 8px; }
.grade-row p { font-size: .9rem; color: var(--text-soft); }

.tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 22px; font-size: .88rem; font-weight: 600; color: var(--text-soft); cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.tab.active { background: rgba(16,185,129,.14); color: var(--emerald-2); border-color: rgba(16,185,129,.45); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 40px 20px 0; font-size: 1rem; font-weight: 600; font-family: var(--font-display);
  position: relative; color: var(--text);
}
.faq-q::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--emerald-2); transition: transform var(--t);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.faq-a p { padding: 0 40px 22px 0; color: var(--text-soft); font-size: .92rem; }
.faq-item.open .faq-a { max-height: 460px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact-detail { padding: 16px 0; border-top: 1px solid var(--line-soft); display: flex; gap: 15px; align-items: flex-start; }
.contact-detail .cd-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--emerald-2); flex: none; }
.contact-detail strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 4px; }
.contact-detail a:hover { color: var(--emerald-2); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; outline: none; font-size: .93rem; resize: vertical;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.14);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.checkbox-label { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--text-soft); cursor: pointer; margin-bottom: 22px; }
.checkbox-label input { margin-top: 3px; accent-color: var(--emerald); width: 16px; height: 16px; flex: none; }
.checkbox-label a { color: var(--emerald-2); }

.alert { border-radius: var(--radius-sm); padding: 15px 20px; font-size: .9rem; font-weight: 500; margin-bottom: 26px; }
.alert-success { background: rgba(16,185,129,.12); color: var(--emerald-2); border: 1px solid rgba(16,185,129,.35); }
.alert-error   { background: rgba(244,63,94,.11);  color: var(--rose);      border: 1px solid rgba(244,63,94,.32); }

/* ---------- CTA band ---------- */
.cta-band { padding: 82px 0; background: linear-gradient(120deg, #0a1a17, var(--bg-2)); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.16), transparent 70%); top: -260px; right: -120px; }
.cta-band-inner { position: relative; z-index: 1; text-align: center; }
.cta-band-inner h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 12px; }
.cta-band-inner p { color: var(--text-soft); max-width: 580px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr .8fr 1fr; gap: 36px; padding-bottom: 46px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-dim); font-size: .87rem; margin-bottom: 10px; transition: color var(--t); }
.footer-col a:hover { color: var(--emerald-2); }
.footer-brand p { color: var(--text-dim); font-size: .87rem; margin: 15px 0 20px; max-width: 300px; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-newsletter label { display: block; font-size: .78rem; color: var(--text-soft); margin-bottom: 9px; }
.nl-form { display: flex; gap: 8px; }
.nl-form input[type=email] { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; outline: none; font-size: .85rem; min-width: 0; }
.nl-form input[type=email]:focus { border-color: var(--emerald); }
.footer-contact p { color: var(--text-dim); font-size: .85rem; line-height: 1.8; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0 28px; }
.footer-bottom p { font-size: .8rem; color: var(--text-dim); }
.footer-note { margin-top: 8px; font-size: .74rem; color: #4b5a6b; max-width: 900px; }

/* ---------- Cookie banner + WhatsApp ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; max-width: 660px; margin: 0 auto; z-index: 800;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow); transform: translateY(160%); opacity: 0;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: .84rem; color: var(--text-soft); flex: 1; min-width: 220px; }
.cookie-banner a { color: var(--emerald-2); }
.cookie-actions { display: flex; gap: 9px; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 700;
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 19px; border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald-2), var(--emerald-dk)); color: #04120c;
  font-weight: 650; font-size: .87rem; box-shadow: 0 16px 34px -14px rgba(16,185,129,.75);
  transition: transform var(--t);
}
.wa-float:hover { transform: translateY(-3px); }
.cookie-banner.visible ~ .wa-float { bottom: 108px; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 66px 0 44px; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.legal-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.legal-updated { color: var(--text-dim); font-size: .85rem; }
.legal-body { padding: 56px 0 96px; }
.legal-container { max-width: 820px; }
.legal-container h2 { font-size: 1.25rem; margin: 38px 0 14px; }
.legal-container h2:first-child { margin-top: 0; }
.legal-container h3 { font-size: 1rem; margin: 24px 0 10px; color: var(--emerald-2); }
.legal-container p { color: var(--text-soft); margin-bottom: 14px; font-size: .95rem; }
.legal-container ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.legal-container ul li { color: var(--text-soft); font-size: .93rem; padding-left: 20px; position: relative; }
.legal-container ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.legal-container a { color: var(--emerald-2); }
.legal-container strong { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: 1fr 1fr; }
  .mega-promo { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: fixed; top: 68px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 13px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; }
  .nav-item.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 20px; padding: 8px 0 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-media { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .prod-grid.list-view .prod-card { flex-direction: column; }
  .prod-grid.list-view .prod-media { width: 100%; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .prod-grid.list-view .prod-body { flex-direction: column; align-items: stretch; }
  .prod-grid.list-view .prod-foot { flex-direction: row; align-items: center; min-width: 0; padding-top: 13px; border-top: 1px solid var(--line-soft); }
  .grade-row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .pad { padding: 68px 0; }
  .hero { padding: 60px 0 56px; }
  .steps, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .hero-stats { gap: 22px; }
}

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