/* ==========================================================================
   ENERGOTEMP WEBSHOP — storefront stíluslap
   Világos, minimal, vékony vonalvezetésű (Geist 300/400).
   ========================================================================== */

:root {
  --bg:          #FAFAF7;
  --bg-sunken:   #F4F3EE;
  --surface:     #FFFFFF;
  --surface-2:   #FBFBF8;
  --surface-hover:#F6F5F1;

  --fg:    #15161A;
  --fg-1:  #2D2E33;
  --fg-2:  #5C5D64;
  --fg-3:  #8A8B91;
  --fg-mute:#A6A7AD;

  --border:    #E7E5DE;
  --border-2:  #D9D7CF;
  --border-hi: #C9C7BE;

  --brand:      #2547D0;
  --brand-2:    #1733A0;
  --brand-soft: #E6EBFB;
  --accent:     #6E59E8;
  --accent-soft:#ECE7FE;

  --teal:  #0EA5A5; --teal-soft:#DBF4F1;
  --amber: #C2891C; --amber-soft:#FBF1DE;
  --ok:    #1F8A5B; --ok-bg:#DEF1E5;
  --warn:  #C2891C; --warn-bg:#FBF1DE;
  --err:   #C92A2A; --err-bg:#FAE0DF;

  --sh-1: 0 1px 2px rgba(20,20,30,.05);
  --sh-2: 0 6px 20px -6px rgba(20,20,30,.10), 0 2px 6px rgba(20,20,30,.04);
  --sh-3: 0 20px 50px -16px rgba(20,20,30,.18), 0 6px 16px -8px rgba(20,20,30,.08);
  --sh-brand: 0 16px 40px -12px rgba(37,71,208,.35);

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px; --r-2xl: 28px;
  --maxw: 1200px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 1, "cv11" 1;
}
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.icn { width: 18px; height: 18px; flex-shrink: 0; }

/* ----------------------------------------------------------- UTILITY BAR */
.utility {
  background: var(--fg);
  color: var(--bg);
  font-size: 12.5px;
}
.utility .wrap { display: flex; align-items: center; gap: 18px; height: 36px; }
.utility a { color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: #fff; }
.utility .sep { flex: 1; }
.utility .pill { color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 6px; }

/* ----------------------------------------------------------- HEADER */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,247,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.header.scrolled { border-color: var(--border); box-shadow: var(--sh-1); }
.header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--fg); color: var(--bg);
  display: grid; place-items: center; position: relative;
  font-weight: 600; letter-spacing: -.5px; font-size: 15px;
}
.brand .mark::after {
  content: ""; position: absolute; right: -3px; top: -3px;
  width: 10px; height: 10px; background: var(--brand);
  border-radius: 3px; border: 2px solid var(--bg);
}
.brand .nm { font-weight: 600; font-size: 16px; letter-spacing: -.02em; line-height: 1; }
.brand .nm small { display: block; font-weight: 400; color: var(--fg-3); font-size: 11px; letter-spacing: .04em; margin-top: 3px; }

.mainnav { display: flex; align-items: center; gap: 2px; }
.mainnav a {
  padding: 9px 13px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 450; color: var(--fg-1);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .14s, color .14s;
}
.mainnav a:hover { background: var(--surface-hover); }
.mainnav a.on { color: var(--brand); font-weight: 550; }

.h-search {
  flex: 1; max-width: 360px; margin-left: auto; position: relative;
}
.h-search input {
  width: 100%; height: 40px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 20px;
  padding: 0 14px 0 40px; font-size: 14px; color: var(--fg); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.h-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.h-search .si { position: absolute; left: 13px; top: 11px; color: var(--fg-3); }

.h-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: none; background: transparent;
  color: var(--fg-1); position: relative; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--fg); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; font-family: var(--mono);
  box-shadow: 0 0 0 2px var(--surface);
}
.icon-btn .badge.empty { display: none; }

/* ----------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--fg); font-size: 14.5px; font-weight: 500; cursor: pointer;
  white-space: nowrap; transition: transform .12s, background .14s, border-color .14s, box-shadow .14s;
}
.btn:hover { background: var(--surface-hover); }
.btn:active { transform: translateY(1px); }
.btn.brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.brand:hover { background: var(--brand-2); box-shadow: var(--sh-brand); }
.btn.dark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.dark:hover { background: #000; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-hover); }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: var(--r-md); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.block { width: 100%; }
.btn.icn-r .icn { width: 16px; height: 16px; }

/* ----------------------------------------------------------- CHIPS */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .005em;
  background: var(--bg-sunken); color: var(--fg-1);
}
.chip .dot { width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.chip.brand { background: var(--brand-soft); color: var(--brand-2); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.chip.teal { background: var(--teal-soft); color: var(--teal); }
.chip.amber { background: var(--amber-soft); color: var(--amber); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.ghost { background: transparent; border: 1px solid var(--border-2); color: var(--fg-2); }
.chip.sm { height: 22px; font-size: 11px; padding: 0 8px; }

/* ----------------------------------------------------------- MEDIA PLACEHOLDER */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--bg-sunken); display: grid; place-items: center;
  width: 100%; height: 100%;
}
.media .stripes { position: absolute; inset: 0; }
.media .glyph { position: relative; opacity: .9; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.media .cap {
  position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .02em;
}

/* ----------------------------------------------------------- SECTION HEADERS */
.section { padding: 56px 0; }
.section.tight { padding: 36px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-head .eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.sec-head h2 { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.sec-head p { color: var(--fg-2); margin-top: 8px; max-width: 520px; }
.link-more { color: var(--brand); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; cursor: pointer; }
.link-more:hover { gap: 9px; }

/* ----------------------------------------------------------- HERO */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 60px 0 70px;
}
.hero .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.hero h1 {
  font-size: 56px; line-height: 1.02; font-weight: 300; letter-spacing: -.035em;
  margin: 18px 0 0; text-wrap: balance;
}
.hero h1 b { font-weight: 600; }
.hero .lede { font-size: 18px; color: var(--fg-2); margin-top: 20px; max-width: 480px; font-weight: 400; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero .trust .t { display: flex; flex-direction: column; gap: 2px; }
.hero .trust .t b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.hero .trust .t span { font-size: 12.5px; color: var(--fg-3); }

.hero-visual { position: relative; }
.hero-card {
  display: block; width: 100%;
  position: relative; border-radius: var(--r-2xl); overflow: hidden;
  aspect-ratio: 4/3.4; box-shadow: var(--sh-3); border: 1px solid var(--border);
}
.hero-float {
  position: absolute; background: rgba(255,255,255,.86); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 14px; padding: 11px 14px;
  box-shadow: var(--sh-2); display: flex; align-items: center; gap: 10px;
}
.hero-float .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.hero-float b { font-size: 13.5px; font-weight: 600; display: block; }
.hero-float span { font-size: 11.5px; color: var(--fg-3); }
.hero-float.f1 { top: 26px; left: -22px; }
.hero-float.f2 { bottom: 30px; right: -18px; }
.hero-float.f3 { bottom: -16px; left: 40px; }

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1;
}
.hero-blob.b1 { width: 380px; height: 380px; background: var(--brand-soft); top: -80px; right: -60px; }
.hero-blob.b2 { width: 300px; height: 300px; background: var(--accent-soft); bottom: -60px; left: -40px; }

/* ----------------------------------------------------------- CATEGORY TILES */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .16s, border-color .16s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--border-2); }
.cat-tile .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.cat-tile h3 { font-size: 17px; font-weight: 550; letter-spacing: -.01em; }
.cat-tile p { font-size: 13px; color: var(--fg-3); margin-top: 4px; }
.cat-tile .go { position: absolute; top: 22px; right: 22px; color: var(--fg-mute); transition: transform .16s, color .16s; }
.cat-tile:hover .go { color: var(--brand); transform: translate(3px,-3px); }

/* ----------------------------------------------------------- PRODUCT CARD */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s, border-color .18s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--border-2); }
.pcard .pc-media { aspect-ratio: 4/3; border-radius: 0; position: relative; }
.pcard:hover .pc-media .glyph { transform: scale(1.08); }
.pcard .pc-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard .pc-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9);
  border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg-3);
  opacity: 0; transform: translateY(-4px); transition: opacity .16s, transform .16s, color .14s;
}
.pcard:hover .pc-fav { opacity: 1; transform: translateY(0); }
.pcard .pc-fav:hover { color: var(--err); }
.pcard .pc-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s;
}
.pcard:hover .pc-quick { opacity: 1; transform: translateY(0); }
.pcard .pc-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard .pc-cat { font-size: 11.5px; color: var(--fg-3); font-weight: 500; letter-spacing: .02em; }
.pcard .pc-title { font-size: 15px; font-weight: 550; letter-spacing: -.01em; margin-top: 4px; line-height: 1.3; }
.pcard .pc-tag { font-size: 12.5px; color: var(--fg-2); margin-top: 5px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .pc-rating { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--fg-3); }
.pcard .pc-rating .stars { color: #F0B400; letter-spacing: -1px; }
.pcard .pc-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pcard .pc-price .from { font-size: 11px; color: var(--fg-3); display: block; }
.pcard .pc-price .amt { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pcard .pc-price .unit { font-size: 12px; color: var(--fg-3); font-weight: 400; }
.pcard .pc-price .mode { font-size: 12px; color: var(--brand); font-weight: 600; }
.pc-add {
  width: 40px; height: 40px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--fg); color: var(--bg); border: none; cursor: pointer;
  display: grid; place-items: center; transition: background .14s, transform .12s;
}
.pc-add:hover { background: var(--brand); }
.pc-add:active { transform: scale(.92); }

/* ----------------------------------------------------------- CATALOG LAYOUT */
.catalog { display: grid; grid-template-columns: 248px 1fr; gap: 32px; align-items: start; padding: 36px 0 70px; }
.filters-col { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; overscroll-behavior: contain; padding-right: 12px; margin-right: -12px; padding-bottom: 40px; align-self: start; }
.fgroup { border-bottom: 1px solid var(--border); padding: 18px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-3); font-weight: 600; margin-bottom: 12px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--fg-1); }
.fopt:hover { color: var(--fg); }
.fopt .box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border-hi);
  display: grid; place-items: center; flex-shrink: 0; color: transparent; transition: all .12s;
}
.fopt.on .box { background: var(--brand); border-color: var(--brand); color: #fff; }
.fopt .cnt { margin-left: auto; font-size: 12px; color: var(--fg-mute); font-family: var(--mono); }
.fopt.radio .box { border-radius: 50%; }

.catalog-main .toolbar {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap;
}
.catalog-main .toolbar .count { font-size: 14px; color: var(--fg-2); }
.catalog-main .toolbar .count b { color: var(--fg); font-weight: 600; }
.sortsel {
  margin-left: auto; height: 40px; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--r-md); padding: 0 12px; font-size: 14px; color: var(--fg-1); cursor: pointer; outline: none;
}
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 11px; border-radius: 15px;
  background: var(--brand-soft); color: var(--brand-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.af-chip .x { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; }
.af-chip:hover .x { background: rgba(37,71,208,.15); }

/* mobile filter toggle */
.filter-toggle { display: none; }

/* ----------------------------------------------------------- PRODUCT DETAIL */
.pdp { padding: 26px 0 80px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-3); margin-bottom: 24px; }
.crumbs a { cursor: pointer; }
.crumbs a:hover { color: var(--fg); }
.crumbs .now { color: var(--fg-1); }
.pdp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }

.gallery .main-media { aspect-ratio: 4/3.2; border-radius: var(--r-xl); position: relative; }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.05); color: var(--fg);
  display: grid; place-items: center; cursor: pointer;
  transition: all .2s; z-index: 5;
}
.gallery-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.gallery-btn.prev { left: 16px; }
.gallery-btn.next { right: 16px; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery .thumb {
  width: 76px; aspect-ratio: 1; border-radius: 10px; cursor: pointer; overflow: hidden;
  border: 2px solid transparent; transition: border-color .14s;
}
.gallery .thumb.on { border-color: var(--brand); }

.pdp-info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-info .p-cat { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: .02em; }
.pdp-info h1 { font-size: 34px; font-weight: 400; letter-spacing: -.03em; line-height: 1.08; margin: 8px 0 0; }
.pdp-info .p-rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--fg-2); }
.pdp-info .p-rating .stars { color: #F0B400; letter-spacing: -1px; font-size: 16px; }
.pdp-info .p-desc { color: var(--fg-2); margin-top: 18px; font-size: 15px; line-height: 1.6; }

.buybox {
  margin-top: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1);
}
.buybox .price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buybox .price-row .amt { font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.buybox .price-row .unit { font-size: 15px; color: var(--fg-3); }
.buybox .price-row .from { font-size: 13px; color: var(--fg-3); }
.buybox .price-row .vat { font-size: 12.5px; color: var(--fg-3); margin-left: auto; }

.cfg { margin-top: 20px; }
.cfg .cfg-label { font-size: 13px; font-weight: 600; color: var(--fg-1); margin-bottom: 9px; display: flex; justify-content: space-between; }
.cfg .cfg-label .cur { color: var(--fg-3); font-weight: 400; }
.cfg-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.cfg-opt {
  border: 1.5px solid var(--border); background: var(--surface); border-radius: var(--r-md);
  padding: 9px 13px; font-size: 13.5px; cursor: pointer; transition: all .12s;
  display: flex; flex-direction: column; gap: 2px; min-width: 64px;
}
.cfg-opt:hover { border-color: var(--border-hi); }
.cfg-opt.on { border-color: var(--brand); background: var(--brand-soft); }
.cfg-opt .d { font-size: 11px; color: var(--fg-3); font-family: var(--mono); }
.cfg-opt.on .d { color: var(--brand-2); }

.plan-opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.plan-opt {
  border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 12px; cursor: pointer;
  text-align: center; transition: all .12s; position: relative;
}
.plan-opt:hover { border-color: var(--border-hi); }
.plan-opt.on { border-color: var(--brand); background: var(--brand-soft); }
.plan-opt .pl { font-size: 13px; font-weight: 600; }
.plan-opt .pp { font-size: 15px; font-weight: 600; margin-top: 3px; letter-spacing: -.01em; }
.plan-opt .ps { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--ok); color: #fff; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 8px; white-space: nowrap; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-md); height: 48px; }
.stepper button { width: 44px; height: 100%; border: none; background: transparent; font-size: 19px; color: var(--fg-1); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--surface-hover); }
.stepper .n { width: 44px; text-align: center; font-size: 15px; font-weight: 600; font-family: var(--mono); }

.buybox .actions { display: flex; gap: 10px; margin-top: 18px; }
.buybox .meta { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.buybox .meta .m { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-2); }
.buybox .meta .m .icn { color: var(--ok); }

/* spec / description sections under pdp */
.pdp-sections { margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 13px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.specs-table td:first-child { color: var(--fg-3); width: 45%; }
.specs-table td:last-child { font-weight: 500; text-align: right; }
.prose h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.prose p { color: var(--fg-2); line-height: 1.7; }

/* ----------------------------------------------------------- TRUST STRIP */
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.trust-strip .t { padding: 22px 24px; border-right: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.trust-strip .t:last-child { border-right: none; }
.trust-strip .t .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.trust-strip .t b { font-size: 14.5px; font-weight: 600; display: block; }
.trust-strip .t span { font-size: 12.5px; color: var(--fg-3); margin-top: 2px; display: block; line-height: 1.4; }

/* ----------------------------------------------------------- SOFTWARE BAND */
.sw-band { background: var(--fg); color: #fff; border-radius: var(--r-2xl); padding: 50px; position: relative; overflow: hidden; }
.sw-band .sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.sw-band .eyebrow { color: #A8B6F0; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sw-band h2 { font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-top: 14px; }
.sw-band h2 b { font-weight: 600; }
.sw-band p { color: rgba(255,255,255,.66); margin-top: 16px; max-width: 420px; }
.sw-band .blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(110,89,232,.5), transparent 70%); top: -120px; right: -80px; filter: blur(40px); }
.sw-feat { display: grid; gap: 12px; }
.sw-feat .f { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.sw-feat .f .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(168,182,240,.16); color: #C4CEF7; display: grid; place-items: center; flex-shrink: 0; }
.sw-feat .f b { font-size: 14.5px; font-weight: 600; }
.sw-feat .f span { font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ----------------------------------------------------------- CART DRAWER */
.overlay { position: fixed; inset: 0; background: rgba(20,22,28,.4); z-index: 60; animation: fade .16s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 96vw); z-index: 61;
  background: var(--bg); border-left: 1px solid var(--border); box-shadow: -10px 0 40px rgba(20,20,30,.16);
  display: flex; flex-direction: column; animation: slidein .24s cubic-bezier(.2,.7,.2,1);
}
@keyframes slidein { from { transform: translateX(40px); opacity: .6; } to { transform: translateX(0); opacity: 1; } }
.cart-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.cart-head .close { margin-left: auto; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 18px; }
.cart-sec-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-3); font-weight: 600; padding: 14px 4px 8px; }
.cart-item { display: flex; gap: 13px; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.cart-item .ci-media { width: 64px; height: 64px; border-radius: 10px; flex-shrink: 0; }
.cart-item .ci-main { flex: 1; min-width: 0; }
.cart-item .ci-title { font-size: 14px; font-weight: 550; line-height: 1.3; }
.cart-item .ci-cfg { font-size: 12px; color: var(--fg-3); margin-top: 2px; }
.cart-item .ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.mini-step { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; height: 30px; }
.mini-step button { width: 30px; height: 100%; border: none; background: transparent; cursor: pointer; color: var(--fg-1); font-size: 15px; }
.mini-step button:hover { background: var(--surface-hover); }
.mini-step .n { width: 30px; text-align: center; font-size: 13px; font-weight: 600; font-family: var(--mono); }
.cart-item .ci-price { font-weight: 600; font-size: 14.5px; }
.cart-item .ci-remove { font-size: 12px; color: var(--fg-3); cursor: pointer; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.cart-item .ci-remove:hover { color: var(--err); }
.cart-quote-tag { font-size: 11.5px; color: var(--accent); font-weight: 600; }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--fg-3); }
.cart-empty .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-sunken); display: grid; place-items: center; margin: 0 auto 16px; color: var(--fg-mute); }
.cart-foot { border-top: 1px solid var(--border); padding: 18px 22px; background: var(--surface); }
.cart-foot .line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--fg-2); }
.cart-foot .line.total { font-size: 18px; font-weight: 600; color: var(--fg); margin: 12px 0 16px; }
.cart-foot .note { font-size: 12px; color: var(--fg-3); margin-top: 10px; text-align: center; }

/* ----------------------------------------------------------- CHECKOUT */
.checkout { padding: 30px 0 80px; max-width: 980px; margin: 0 auto; }
.steps { display: flex; align-items: center; gap: 8px; margin-bottom: 34px; }
.steps .step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-3); }
.steps .step .num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border-hi); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.steps .step.on { color: var(--fg); }
.steps .step.on .num { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps .step.done .num { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps .bar { flex: 1; height: 1.5px; background: var(--border); }
.steps .bar.done { background: var(--ok); }
.co-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
.co-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.co-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 18px; letter-spacing: -.01em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--fg-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border); background: var(--surface);
  padding: 11px 13px; border-radius: var(--r-md); font-size: 14.5px; color: var(--fg); outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt { display: flex; align-items: center; gap: 13px; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 15px 16px; cursor: pointer; margin-bottom: 10px; transition: all .12s; }
.pay-opt:hover { border-color: var(--border-hi); }
.pay-opt.on { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-hi); flex-shrink: 0; display: grid; place-items: center; }
.pay-opt.on .radio { border-color: var(--brand); }
.pay-opt.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.pay-opt b { font-size: 14.5px; font-weight: 600; }
.pay-opt span { font-size: 12.5px; color: var(--fg-3); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary .s-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.summary .s-item .t { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.s-item .sm-media { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; }
.summary .s-item .q { font-size: 12px; color: var(--fg-3); }
.summary .s-item .p { margin-left: auto; font-weight: 600; font-size: 13.5px; white-space: nowrap; }

/* confirmation */
.confirm { text-align: center; padding: 60px 0 90px; max-width: 560px; margin: 0 auto; }
.confirm .check { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; animation: pop .4s cubic-bezier(.2,1.3,.4,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm h1 { font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.confirm p { color: var(--fg-2); margin-top: 12px; font-size: 16px; }
.confirm .ordref { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; font-family: var(--mono); font-size: 15px; font-weight: 600; }

/* ----------------------------------------------------------- QUOTE MODAL */
.modal-wrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(20,22,28,.42); animation: fade .15s ease-out; }
.modal { width: min(620px, 100%); max-height: 90vh; overflow-y: auto; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-3); animation: slideup .2s cubic-bezier(.2,.7,.2,1); }
@keyframes slideup { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head { padding: 22px 26px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 14px; }
.modal-head h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.modal-head p { font-size: 13.5px; color: var(--fg-3); margin-top: 3px; }
.modal-head .close { margin-left: auto; }
.modal-body { padding: 22px 26px; }
.q-media { width: 58px; height: 58px; border-radius: 10px; flex-shrink: 0; }
.modal-foot { padding: 16px 26px 22px; display: flex; gap: 10px; justify-content: flex-end; }

/* ----------------------------------------------------------- TOAST */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: var(--fg); color: var(--bg); padding: 13px 20px; border-radius: var(--r-md); font-size: 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-3); animation: toastin .24s cubic-bezier(.2,.9,.3,1); }
@keyframes toastin { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: #fff; flex-shrink: 0; }

/* ----------------------------------------------------------- FOOTER */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .f-brand .nm { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.footer .f-brand p { color: var(--fg-3); font-size: 13.5px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-3); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a { font-size: 14px; color: var(--fg-1); }
.footer ul a:hover { color: var(--brand); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--fg-3); flex-wrap: wrap; }

/* ----------------------------------------------------------- ENTRANCE ANIM */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal .6s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; }
  .d4 { animation-delay: .26s; } .d5 { animation-delay: .33s; } .d6 { animation-delay: .4s; }
}

/* ----------------------------------------------------------- RESPONSIVE */
@media (max-width: 1080px) {
  .hero h1 { font-size: 46px; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; }
  .pdp-info { position: static; }
  .pdp-sections { grid-template-columns: 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters-col { display: none; position: static; }
  .filters-col.open { display: block; position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: 20px; overflow-y: auto; }
  .filter-toggle { display: inline-flex; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip .t:nth-child(2) { border-right: none; }
  .trust-strip .t:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .sw-band .sw-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mainnav { display: none; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .prod-grid, .prod-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .h-search { display: none; }
  .sw-band { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}
