/* =====================================================================
   Magazin – scări de pod, trape și uși antifoc
   Design: lemn cald + antracit + nisip, ritm de „trepte”, umbre stratificate
   ===================================================================== */

:root {
  --ink: #16191c;
  --ink-2: #252a2f;
  --ink-3: #3a4148;
  --text: #22262a;
  --muted: #6c7076;
  --line: #e8e1d6;
  --line-2: #d9cfc1;
  --bg: #fbf8f3;
  --paper: #ffffff;
  --sand: #f4ede3;
  --sand-2: #e9dfd0;
  --oak: #b8783f;
  --oak-2: #d9a36b;
  --oak-3: #f3dcc0;
  --oak-d: #8a5528;
  --ok: #2f7d4f;
  --ok-bg: #e7f4ec;
  --err: #b42318;
  --err-bg: #fdecea;
  --info-bg: #eef2f6;
  --fire: #c2410c;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(22, 25, 28, .05), 0 2px 6px rgba(22, 25, 28, .04);
  --sh-2: 0 2px 4px rgba(22, 25, 28, .04), 0 8px 24px rgba(22, 25, 28, .07);
  --sh-3: 0 4px 10px rgba(22, 25, 28, .05), 0 22px 48px -12px rgba(22, 25, 28, .18);
  --sh-oak: 0 10px 28px -8px rgba(184, 120, 63, .55);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dark: #16191c;
  --dark-2: #252a2f;
  --night: #16191c;
  --night-2: #2a2f34;
  --paper-2: #fdfbf8;
  --hi: #fffaf4;
  --header-bg: rgba(251, 248, 243, .86);
  --header-bg-2: rgba(251, 248, 243, .94);
  --glass: rgba(255, 255, 255, .92);
  color-scheme: light;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--oak-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oak); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--oak-3); color: var(--ink); }
:focus-visible { outline: 3px solid var(--oak-2); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.green { color: var(--ok); }
.err-text { color: var(--err); font-size: .9rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { flex: none; }

/* ---------------------------------------------------------------- butoane */
.btn { --bg: var(--paper); --fg: var(--ink); --bd: var(--line-2); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 1.2em; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; position: relative; isolation: isolate; overflow: hidden; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--fg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-oak { --bg: linear-gradient(135deg, var(--oak-2), var(--oak) 55%, var(--oak-d)); --fg: #fff; --bd: transparent; background: var(--bg); box-shadow: var(--sh-oak); }
.btn-oak::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-oak:hover::after { transform: translateX(120%); }
.btn-oak:hover { box-shadow: 0 16px 34px -10px rgba(184, 120, 63, .7); }
.btn-dark { --bg: var(--dark); --fg: #fff; --bd: var(--dark); }
.btn-dark:hover { --bg: var(--dark-2); }
.btn-ghost { --bg: transparent; }
.btn-ghost:hover { --bg: var(--paper); }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 0 1.6em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.loading { pointer-events: none; }
.btn.loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .ic { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row.center { justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; transition: background .2s, transform .2s var(--ease); text-decoration: none; }
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow.back { margin-top: 18px; color: var(--muted); }

/* ---------------------------------------------------------------- antet */
.announce { background: var(--night); color: #e9e4dc; font-size: .84rem; }
.announce .wrap { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.announce .ic { color: var(--oak-2); }
.announce span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announce a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(22, 25, 28, .35); background: var(--header-bg-2); }
.header-row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { display: block; flex: none; border-radius: 10px; box-shadow: 0 6px 16px rgba(0,0,0,.22); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 22px rgba(0,0,0,.28); }
.logo-bg { fill: var(--dark); }
.logo-steps { stroke: var(--oak-2); }
.logo-ceil { stroke: #f3ece2; }
.logo b .tld { font-style: normal; color: var(--oak); }
.logo span { display: grid; line-height: 1.1; }
.logo b { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.logo small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.burger { display: none; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.main-nav > ul > li > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.open > a { background: var(--sand); }
.main-nav > ul > li > a .ic { transition: transform .3s var(--ease); opacity: .6; }
.main-nav li.open > a .ic, .main-nav li:hover > a .ic { transform: rotate(180deg); }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; pointer-events: none; }
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-inner { max-width: calc(var(--wrap) - 2 * var(--gut)); margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 18px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-content: start; }
.mega-links a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .2s, transform .25s var(--ease); }
.mega-links a:hover { background: var(--sand); transform: translateX(3px); }
.mega-links img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.mega-links span { display: grid; }
.mega-links b { font-size: .95rem; }
.mega-links small { color: var(--muted); font-size: .8rem; }
.mega-feature { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--sand), var(--sand-2)); text-decoration: none; color: var(--ink); }
.mega-feature img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--sh-2); }
.mega-feature span { display: grid; gap: 4px; }
.mega-feature small { color: var(--muted); font-size: .82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mega-feature em { font-style: normal; font-weight: 600; color: var(--oak-d); display: inline-flex; gap: 6px; align-items: center; font-size: .88rem; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.search { position: relative; display: flex; align-items: center; }
.search input { width: 230px; height: 44px; padding: 0 44px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); transition: width .35s var(--ease), border-color .2s, box-shadow .2s; }
.search input:focus { outline: 0; width: 290px; border-color: var(--oak-2); box-shadow: 0 0 0 4px rgba(217, 163, 107, .2); }
.search button { position: absolute; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.suggest { position: absolute; top: calc(100% + 8px); right: 0; width: min(380px, 92vw); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-3); padding: 8px; z-index: 70; animation: pop .25s var(--ease); }
.suggest a { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.suggest a:hover, .suggest a.active { background: var(--sand); }
.suggest img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.suggest b { display: block; font-size: .92rem; line-height: 1.3; }
.suggest small { color: var(--muted); font-size: .8rem; }
.suggest .all { display: block; text-align: center; font-weight: 600; padding: 10px; font-size: .9rem; }
.suggest .none { padding: 14px; color: var(--muted); font-size: .9rem; text-align: center; }
.cart-btn .cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--oak); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.cart-count.bump { animation: bump .5s var(--ease); }
.cart-count[hidden], [hidden] { display: none !important; }

/* ---------------------------------------------------------------- meniu mobil */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(22, 25, 28, .45); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(380px, 88vw); background: var(--bg); padding: 16px; display: flex; flex-direction: column; gap: 14px; transform: translateX(-100%); transition: transform .4s var(--ease); overflow-y: auto; box-shadow: var(--sh-3); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-search { display: flex; position: relative; }
.drawer-search input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--line); padding: 0 48px 0 14px; background: var(--paper); }
.drawer-search button { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; }
.drawer nav { display: grid; gap: 4px; }
.drawer details { border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.drawer summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; list-style: none; cursor: pointer; font-weight: 600; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary a { flex: 1; color: var(--ink); text-decoration: none; }
.drawer summary > .ic { transition: transform .3s var(--ease); }
.drawer details[open] summary > .ic { transform: rotate(180deg); }
.ds-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; color: var(--oak-d); }
.drawer .sub { display: block; padding: 10px 14px 10px 58px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line); font-size: .95rem; }
.drawer .plain { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 600; }
.drawer-phone { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; font-weight: 700; }
.drawer-phone span { display: grid; }
.drawer-phone small { font-weight: 400; color: #b9b3aa; font-size: .8rem; }
.drawer-phone .ic { color: var(--oak-2); }

/* ---------------------------------------------------------------- mesaje */
.flashes { display: grid; gap: 10px; margin-top: 16px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--info-bg); border: 1px solid rgba(0, 0, 0, .05); font-weight: 500; animation: slide-down .45s var(--ease); }
.flash span { flex: 1; }
.flash button { border: 0; background: none; cursor: pointer; padding: 4px; opacity: .6; }
.flash-success { background: var(--ok-bg); color: #1e5a37; }
.flash-error { background: var(--err-bg); color: var(--err); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 140%); background: var(--dark); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--sh-3); display: flex; align-items: center; gap: 14px; max-width: min(520px, calc(100vw - 32px)); transition: transform .45s var(--ease), opacity .3s, visibility .3s; font-weight: 500; }
.toast:empty, .toast:not(.show) { opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .ic { color: var(--oak-2); }
.toast a { color: var(--oak-2); font-weight: 700; white-space: nowrap; }

/* ---------------------------------------------------------------- animații la derulare */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(90px, 10vw, 140px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1100px 520px at 85% 10%, var(--oak-3), transparent 60%), linear-gradient(180deg, var(--bg), var(--sand)); }
.steps-deco { position: absolute; right: -40px; bottom: 0; width: 56%; height: 74%; opacity: .55; background:
  linear-gradient(var(--sand-2), var(--sand-2)) 0 100% / 100% 16% no-repeat,
  linear-gradient(var(--sand-2), var(--sand-2)) 18% 100% / 82% 33% no-repeat,
  linear-gradient(var(--sand-2), var(--sand-2)) 36% 100% / 64% 50% no-repeat,
  linear-gradient(var(--sand-2), var(--sand-2)) 54% 100% / 46% 67% no-repeat,
  linear-gradient(var(--sand-2), var(--sand-2)) 72% 100% / 28% 84% no-repeat; border-radius: 30px 0 0 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: float 14s ease-in-out infinite; }
.glow-1 { width: 380px; height: 380px; background: #f0c99f; top: -120px; left: 30%; }
.glow-2 { width: 280px; height: 280px; background: #e9dfd0; bottom: -80px; left: -60px; animation-delay: -6s; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-3); box-shadow: var(--sh-1); }
.eyebrow .ic { color: var(--oak); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); margin: 22px 0 18px; line-height: 1.02; letter-spacing: -.03em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-3); max-width: 58ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 40px); list-style: none; padding: 0; margin: 0; }
.hero-proof li { display: grid; gap: 2px; }
.hero-proof b { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--ink); }
.hero-proof span { font-size: .84rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-3); }
.hero-card-main { position: absolute; inset: 6% 4% 4% 8%; overflow: hidden; transform: rotate(2deg); transition: transform .6s var(--ease); }
.hero-card-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); }
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual:hover .hero-card-main { transform: rotate(0) scale(1.01); }
.hero-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; animation: float 6s ease-in-out infinite; }
.hero-float span { display: grid; line-height: 1.2; }
.hero-float b { font-size: 1rem; color: var(--ink); }
.hero-float small { font-size: .78rem; color: var(--muted); }
.hero-float .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--sand); color: var(--oak-d); }
.hero-float-1 { left: -4%; top: 16%; }
.hero-float-1 .ic { background: #e2f1f4; color: #0e7490; }
.hero-float-2 { right: -2%; top: 46%; animation-delay: -2s; }
.hero-float-2 .ic { background: #fdebe2; color: var(--fire); }
.hero-float-3 { left: 6%; bottom: -2%; animation-delay: -4s; }

/* ---------------------------------------------------------------- configurator */
.finder-wrap { margin-top: -64px; position: relative; z-index: 5; }
.finder { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; padding: 20px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); }
.finder-title { display: flex; gap: 12px; align-items: center; align-self: center; }
.finder-title div { display: grid; line-height: 1.25; }
.finder-title small { color: var(--muted); font-size: .85rem; }
.finder-ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--oak-2), var(--oak-d)); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-oak); flex: none; }
.finder label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.finder input, .finder select { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; font-size: 1rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 500; width: 100%; }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 46px; }
.input-unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: .9rem; pointer-events: none; text-transform: none; letter-spacing: 0; }

/* ---------------------------------------------------------------- secțiuni */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.section-alt { background: linear-gradient(180deg, var(--sand), var(--bg)); }
.section-dark { background: var(--night); color: #d9d4cc; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-d); margin-bottom: 10px; }

/* categorii */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
.cat-tile:hover { transform: translateY(-8px); box-shadow: var(--sh-3); color: var(--text); }
.cat-img { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat-tile:hover .cat-img img { transform: scale(1.07); }
.cat-info { padding: 22px 20px 20px; position: relative; display: flex; flex-direction: column; }
.cat-ic { position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; border-radius: 16px; background: var(--dark); color: var(--oak-2); display: grid; place-items: center; box-shadow: var(--sh-2); transition: transform .45s var(--ease); }
.cat-tile:hover .cat-ic { transform: rotate(-8deg) scale(1.06); }
.cat-info h3 { margin-top: 18px; }
.cat-info p { color: var(--muted); font-size: .92rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--oak-d); font-size: .92rem; }
.cat-link .ic { transition: transform .3s var(--ease); }
.cat-tile:hover .cat-link .ic { transform: translateX(5px); }

/* card produs */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .8s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--dark); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .03em; box-shadow: var(--sh-2); z-index: 2; }
.badge-ghost { left: auto; right: 14px; background: var(--glass); color: var(--oak-d); display: inline-flex; gap: 5px; align-items: center; backdrop-filter: blur(6px); }
.card-body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oak-d); text-decoration: none; }
.card-title { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.card-title a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card:hover .card-title a { background-size: 100% 1px; }
.chip { align-self: flex-start; font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-3); font-weight: 500; }
.card-rating { display: flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); }
.stars { display: inline-flex; gap: 1px; color: var(--line-2); }
.stars .on { color: #e2a33a; }
.stars .on .ic { fill: currentColor; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price small { color: var(--muted); font-size: .8rem; }
.price strong { font-size: 1.22rem; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.price del { color: var(--muted); font-size: .9rem; }
.price-lg strong { font-size: clamp(1.8rem, 3vw, 2.3rem); font-family: var(--display); }
.price-request { font-weight: 700; color: var(--oak-d); font-size: 1rem; }
.price-lg .price-request { font-size: 1.5rem; font-family: var(--display); }

/* ghid măsurare */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s; }
.steps li:hover { transform: translateX(6px); box-shadow: var(--sh-2); }
.steps li > span { width: 46px; height: 46px; border-radius: 14px; background: var(--dark); color: var(--oak-2); display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.steps b { display: block; color: var(--ink); margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.steps.small li { padding: 10px 0; background: none; border: 0; box-shadow: none; grid-template-columns: 36px 1fr; }
.steps.small li:hover { transform: none; }
.steps.small li > span { width: 36px; height: 36px; font-size: 1rem; border-radius: 11px; }
.guide-visual { background: var(--paper); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 34px); box-shadow: var(--sh-3); border: 1px solid var(--line); }
.svg-l { font: 600 15px var(--sans); fill: var(--ink-3); }
.sv-sand { fill: var(--sand-2); }
.sv-ink { fill: var(--ink); }
.sv-oak { stroke: var(--oak); fill: none; }
.sv-oakd { stroke: var(--oak-d); fill: none; }
.sv-inks { stroke: var(--ink); fill: none; }
.guide-visual .draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.guide-visual.in .draw { animation: dash 1.6s var(--ease) forwards .3s; }
.guide-visual .rung { opacity: 0; }
.guide-visual.in .rung { animation: fade-in .4s var(--ease) forwards; animation-delay: calc(.9s + var(--k) * 90ms); }

/* avantaje */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.usp { padding: 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .35s, transform .45s var(--ease), border-color .35s, opacity .8s var(--ease); }
.usp:hover { background: rgba(255, 255, 255, .07); transform: translateY(-6px); border-color: rgba(217, 163, 107, .4); }
.usp-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--oak-2), var(--oak-d)); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 26px -10px rgba(217, 163, 107, .7); }
.usp h3 { color: #fff; font-size: 1.15rem; }
.usp p { color: #a9a39a; font-size: .93rem; margin: 0; }

/* recenzii */
.reviews-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { margin: 0; padding: 28px; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-2); display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform .45s var(--ease), opacity .8s var(--ease); }
.review-card:hover { transform: translateY(-5px) rotate(-.4deg); }
.review-card::before { content: "”"; position: absolute; right: 22px; top: 2px; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--oak-3); }
.review-card blockquote { margin: 0; font-size: 1.04rem; color: var(--ink-3); flex: 1; position: relative; }
.review-card figcaption { font-size: .88rem; color: var(--muted); display: grid; gap: 2px; }
.review-card figcaption b { color: var(--ink); }
.review-card figcaption a { font-size: .8rem; text-decoration: none; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, border-color .3s, opacity .8s var(--ease), transform .8s var(--ease); }
.faq details[open] { box-shadow: var(--sh-2); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--oak); color: #fff; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-3); animation: fade-in .4s var(--ease); }
.faq details > div p { margin: 0; }

/* ghiduri */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card a:hover { transform: translateY(-6px); box-shadow: var(--sh-3); color: var(--text); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card a:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-body h3 { margin: 0; font-size: 1.18rem; }
.post-body p { color: var(--muted); font-size: .93rem; flex: 1; margin: 0; }

/* ---------------------------------------------------------------- pagini interioare */
.page-hero { background: linear-gradient(180deg, var(--sand), var(--bg)); padding: clamp(22px, 4vw, 40px) 0 clamp(30px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero.slim { padding-bottom: clamp(24px, 3vw, 36px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.page-hero h1 { margin-top: 10px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-img img { width: clamp(160px, 22vw, 280px); border-radius: var(--r-lg); box-shadow: var(--sh-3); transform: rotate(3deg); transition: transform .6s var(--ease); }
.page-hero-img:hover img { transform: rotate(0); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 6px; font-size: .84rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--oak-d); }
.crumbs .ic { opacity: .5; }
.pdp + .crumbs, .wrap > .crumbs { padding-top: 22px; }
.subcat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.subcat-pills a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; transition: all .25s var(--ease); }
.subcat-pills a:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-2px); }

/* listare */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.listing-side { position: sticky; top: calc(var(--header-h) + 18px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.side-head { display: none; }
.filters { display: grid; gap: 20px; }
.f-group h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.f-group select, .f-group input[type=number] { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px; }
.f-link { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.f-link:hover { background: var(--sand); }
.f-link small { color: var(--muted); }
.f-check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-size: .93rem; }
.f-check input { width: 18px; height: 18px; accent-color: var(--oak); margin: 3px 0 0; flex: none; }
.f-check.has-err span { color: var(--err); }
.f-range { display: flex; align-items: center; gap: 8px; }
.f-actions { display: grid; gap: 8px; text-align: center; }
.f-clear { font-size: .88rem; color: var(--muted); }
.sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sort-bar > span { color: var(--muted); }
.sort-bar label { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.sort-bar select { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; color: var(--ink); font-weight: 600; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty .ic { margin: 0 auto 14px; color: var(--oak); }
.empty.big { padding: 80px 20px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--dark); color: #fff; border-color: var(--dark); }
.pager a:hover { border-color: var(--oak-2); }
.seo-text { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); }

/* conținut editorial */
.prose { color: var(--ink-3); font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--oak); }
.prose strong { color: var(--ink); }
.prose > *:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- pagina produs */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 64px); padding-top: 14px; padding-bottom: clamp(40px, 6vw, 70px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.pdp-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: var(--sh-3); aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.pdp-main:hover img { transform: scale(1.03); }
.zoom-btn { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: var(--sh-2); display: grid; place-items: center; cursor: zoom-in; transition: transform .3s var(--ease); }
.zoom-btn:hover { transform: scale(1.1); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pdp-thumbs button { flex: none; width: 82px; height: 82px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sand); transition: border-color .2s, transform .25s var(--ease); }
.pdp-thumbs button.active { border-color: var(--oak); }
.pdp-thumbs button:hover { transform: translateY(-2px); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 8px 0 12px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.pdp-rating { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; }
.pdp-short { font-size: 1.06rem; color: var(--ink-3); }
.buy-box, .quote-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 26px); box-shadow: var(--sh-2); display: grid; gap: 14px; margin: 22px 0; }
.quote-box p { margin: 0; color: var(--ink-3); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.stock.in { color: var(--ok); background: var(--ok-bg); }
.stock.out { color: var(--oak-d); background: var(--oak-3); }
.vat { color: var(--muted); font-size: .84rem; margin-top: -8px; }
.variants { border: 0; margin: 0; padding: 0; }
.variants legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: .95rem; }
.variant-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .25s, transform .25s var(--ease), background .2s; height: 100%; }
.variant b { color: var(--ink); font-size: .96rem; }
.variant small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.variant em { font-style: normal; font-weight: 700; color: var(--oak-d); font-size: .9rem; margin-top: 4px; }
.variant:hover span { border-color: var(--line-2); transform: translateY(-2px); }
.variant input:checked + span { border-color: var(--oak); background: var(--hi); box-shadow: 0 0 0 4px rgba(217, 163, 107, .22); }
.variant input:focus-visible + span { outline: 3px solid var(--oak-2); outline-offset: 2px; }
.variant.fit span::after { content: "potrivită"; position: absolute; top: -9px; right: 10px; background: var(--ok); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.fit-check { padding: 14px; border-radius: 14px; background: var(--sand); }
.fit-check label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; color: var(--ink); }
.fit-check .input-unit { width: 120px; margin-left: auto; }
.fit-check input { width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 40px 0 12px; background: var(--paper); }
.fit-check p { margin: 8px 0 0; font-size: .9rem; }
.fit-check p:empty { display: none; }
.fit-check .ok { color: var(--ok); font-weight: 600; }
.fit-check .warn { color: var(--oak-d); font-weight: 600; }
.buy-row { display: flex; gap: 12px; }
.grow { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); height: 54px; padding: 0 4px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--sand); }
.qty input { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.link-quote { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; text-decoration: none; justify-self: start; }
.pdp-usp { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pdp-usp li { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pdp-usp .ic { color: var(--oak); }
.pdp-usp span { display: grid; line-height: 1.25; }
.pdp-usp b { font-size: .86rem; color: var(--ink); }
.pdp-usp small { font-size: .76rem; color: var(--muted); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--glass); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(22, 25, 28, .4); transform: translateY(110%); transition: transform .4s var(--ease); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 12px; }
.sticky-buy img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-buy b { flex: 1; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-tabs { padding-bottom: clamp(30px, 5vw, 60px); }
.tab-list { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { border: 0; background: none; padding: 14px 18px; font-weight: 600; color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; transition: color .2s; }
.tab-list button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--oak); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab-list button[aria-selected=true] { color: var(--ink); }
.tab-list button[aria-selected=true]::after { transform: scaleX(1); }
.tab-panel { animation: fade-up .45s var(--ease); max-width: 920px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table tbody th { width: 38%; color: var(--muted); font-weight: 500; background: var(--paper-2); }
.spec-table thead th { background: var(--dark); color: #fff; font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background .2s; }
.spec-table tbody tr:hover td { background: var(--hi); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); }
.reviews-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review p { margin: 8px 0; color: var(--ink-3); }
.review small { color: var(--muted); }
.review-form { display: grid; gap: 10px; }
.review-form input, .review-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.review-form small { text-align: center; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { cursor: pointer; color: var(--line-2); transition: color .15s, transform .2s var(--ease); }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: #e2a33a; }
.rating-input label:hover { transform: scale(1.15); }
.rating-input label .ic { fill: currentColor; }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(15, 17, 19, .9); display: grid; place-items: center; padding: 30px; animation: fade-in .3s; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .4s var(--ease); }
.lightbox .icon-btn { position: absolute; top: 16px; right: 16px; color: #fff; }

/* ---------------------------------------------------------------- coș și comandă */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.ship-progress { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 16px; display: grid; gap: 10px; }
.ship-progress div { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.ship-progress .ic { color: var(--oak); }
.ship-progress span { height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.ship-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--oak-2), var(--oak)); border-radius: inherit; transition: width 1s var(--ease); }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto 44px; gap: 16px; align-items: center; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: opacity .3s, transform .3s var(--ease); }
.cart-line.removing { opacity: 0; transform: translateX(30px); }
.cl-img img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--sand); }
.cl-info { display: grid; gap: 2px; min-width: 0; }
.cl-info a { color: var(--ink); text-decoration: none; }
.cl-info small { font-size: .84rem; color: var(--muted); }
.cl-total { text-align: right; font-weight: 700; color: var(--ink); display: grid; }
.cl-total small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.cart-line .qty { height: 44px; }
.cart-line .qty button { width: 34px; height: 34px; }
.cart-line .qty input { width: 34px; }
.summary { position: sticky; top: calc(var(--header-h) + 18px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-2); display: grid; gap: 14px; }
.summary h2 { font-size: 1.4rem; margin: 0; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.summary .total { font-size: 1.2rem; font-weight: 700; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line); }
.summary dd.total { font-family: var(--display); font-size: 1.5rem; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 1px solid var(--line); padding: 0 14px; background: var(--bg); text-transform: uppercase; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .86rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust .ic { color: var(--ok); }
.mini-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-lines li { display: flex; gap: 12px; align-items: center; }
.mini-lines img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--sand); }
.mini-lines span { flex: 1; display: grid; line-height: 1.3; min-width: 0; }
.mini-lines b { font-size: .92rem; color: var(--ink); }
.mini-lines small { color: var(--muted); font-size: .8rem; }
.mini-lines em { font-style: normal; font-weight: 600; white-space: nowrap; }
.checkout-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; counter-reset: c; flex-wrap: wrap; }
.checkout-steps li { counter-increment: c; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted); }
.checkout-steps li::before { content: counter(c); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); }
.checkout-steps .done::before { content: "✓"; background: var(--ok); color: #fff; }
.checkout-steps .active { color: var(--ink); border-color: var(--oak-2); }
.checkout-steps .active::before { background: var(--oak); color: #fff; }
.checkout-main { display: grid; gap: 18px; }
.hint { display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--info-bg); font-size: .92rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--sh-1); margin: 0; }
.panel.left { text-align: left; margin-bottom: 18px; }
.panel.dark { background: var(--night); color: #cfc9c0; border-color: var(--night); }
.panel.dark h3 { color: #fff; }
.panel.dark small { color: #9f998f; display: block; text-align: center; margin-top: 8px; }
.panel h2 { font-size: 1.4rem; }
fieldset.panel { min-width: 0; }
fieldset.panel legend { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--ink); padding: 0 8px; margin-left: -8px; }
fieldset.panel legend span { width: 32px; height: 32px; border-radius: 10px; background: var(--dark); color: var(--oak-2); display: grid; place-items: center; font-size: 1rem; font-family: var(--sans); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-3); }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field i { color: var(--err); font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); padding: 12px 14px; font-weight: 500; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--oak-2); background: var(--paper); box-shadow: 0 0 0 4px rgba(217, 163, 107, .18); }
.field.has-err input, .field.has-err select, .field.has-err textarea, .field input.invalid { border-color: var(--err); background: var(--err-bg); }
.field em { font-style: normal; color: var(--err); font-size: .82rem; font-weight: 500; }
.company summary { cursor: pointer; font-weight: 600; color: var(--oak-d); margin: 4px 0 12px; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.radio-cards.col { grid-template-columns: 1fr; margin: 0; }
.radio-card { cursor: pointer; position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card > span { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); transition: all .25s var(--ease); }
.radio-card .ic { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sand); color: var(--oak-d); }
.radio-card b { color: var(--ink); }
.radio-card small { color: var(--muted); font-size: .84rem; }
.radio-card input:checked + span { border-color: var(--oak); background: var(--hi); box-shadow: 0 0 0 4px rgba(217, 163, 107, .2); }
.radio-card input:checked + span .ic { background: var(--oak); color: #fff; }
.terms { padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.success-mark { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); animation: pop .6s var(--ease); box-shadow: 0 0 0 12px rgba(47, 125, 79, .08); }
.success-mark .ic { stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: dash .7s var(--ease) forwards .3s; }

.pay-ok { border-color: #bfe3cc; background: var(--ok-bg); }
.pay-ok h3 { display: flex; gap: 8px; align-items: center; color: var(--ok); }
.pay-wait { border-color: var(--oak-2); background: var(--hi); }
.pay-wait form { margin-top: 12px; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* oferta */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks li { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); }
.checks .ic { color: var(--ok); }
.quote-product { display: flex; gap: 16px; align-items: center; padding: 14px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-3); max-width: 380px; }
.quote-product img { width: 110px; height: 110px; border-radius: 14px; object-fit: cover; }
.quote-product div { display: grid; gap: 2px; }
.quote-product small { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.quote-product b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.quote-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.quote-grid form h2 { margin-top: 6px; }
.quote-grid form h2 + .form-grid { margin-top: 16px; }
.quote-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 18px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .ic { color: var(--oak-2); }
.contact-list a { color: inherit; text-decoration: none; }

/* articol */
.article header { padding-top: 26px; }
.article time { color: var(--muted); font-size: .88rem; font-weight: 600; }
.article h1 { margin-top: 10px; }
.article-cover { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-3); margin: 22px 0 36px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 40px 0 0; flex-wrap: wrap; }
.article-cta p { margin: 0; }

/* cont */
.auth-wrap { display: grid; place-items: center; }
.auth { width: 100%; max-width: 460px; }
.auth form { display: grid; gap: 14px; margin-top: 18px; }
.auth h1 { font-size: 2rem; margin: 0 0 4px; }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.inline-form { margin-top: 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--sand); color: var(--ink-3); }
.s-noua { background: #e8f0fe; color: #1d4ed8; }
.s-confirmata, .s-in-procesare { background: #fef3c7; color: #92400e; }
.s-in-livrare { background: #ede9fe; color: #6d28d9; }
.s-livrata { background: var(--ok-bg); color: var(--ok); }
.s-anulata, .s-returnata { background: var(--err-bg); color: var(--err); }
.nf-code { font-family: var(--display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--oak-2), var(--oak-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-search { display: flex; gap: 10px; margin: 22px 0; max-width: 680px; }
.center .big-search { margin-left: auto; margin-right: auto; }
.big-search input { flex: 1; min-width: 0; height: 56px; border-radius: 999px; border: 1px solid var(--line-2); padding: 0 22px; background: var(--paper); font-size: 1rem; box-shadow: var(--sh-1); }
.big-search input:focus { outline: 0; border-color: var(--oak-2); box-shadow: 0 0 0 4px rgba(217, 163, 107, .2); }
.big-search .btn { min-height: 56px; }

/* ---------------------------------------------------------------- subsol */
.site-footer { background: var(--night); color: #b9b3aa; margin-top: clamp(40px, 6vw, 80px); position: relative; }
.footer-cta { position: relative; top: -48px; margin-bottom: -18px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(135deg, #2a2f34, var(--ink) 60%), var(--ink); border: 1px solid rgba(255, 255, 255, .07); box-shadow: var(--sh-3); flex-wrap: wrap; overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 163, 107, .35), transparent 70%); }
.footer-cta h2 { color: #fff; margin-bottom: 6px; }
.footer-cta p { margin: 0; color: #b9b3aa; max-width: 60ch; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-grid h3 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #b9b3aa; text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.footer-grid ul a:hover { color: #fff; padding-left: 4px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-bg { fill: var(--night-2); }
.footer-brand .logo small { color: #8f897f; }
.footer-brand p { font-size: .92rem; }
.newsletter { display: flex; gap: 8px; margin: 14px 0; }
.newsletter input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; padding: 0 18px; }
.newsletter input::placeholder { color: #8f897f; }
.newsletter .btn { width: 48px; padding: 0; min-height: 48px; }
.legal-badges, .socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.legal-badges a, .socials a { font-size: .75rem; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; color: #d9d4cc; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #8f897f; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 110; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-3); display: grid; gap: 12px; animation: slide-up .5s var(--ease); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .9rem; }
.cookie div { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 48px; height: 48px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-3); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background .2s; }
.to-top .ic { transform: rotate(180deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--oak); color: #fff; }
.has-sticky .to-top { bottom: 84px; }


/* ---------------------------------------------------------------- temă întunecată */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2ede6; --ink-2: #e2dcd3; --ink-3: #cbc5bc; --text: #ddd7ce; --muted: #9c978f; --line: #2b3035; --line-2: #3b4147;
    --bg: #111316; --paper: #1a1d21; --paper-2: #1f2327; --sand: #22262b; --sand-2: #2b3036; --oak-3: #4a3525; --oak-d: #e2ad77;
    --ok: #63c991; --ok-bg: #163222; --err: #ff8f80; --err-bg: #3a1916; --info-bg: #1c2733; --hi: #2a2119;
    --dark: #3a4047; --dark-2: #474e56; --night: #0b0c0e; --night-2: #1d2024;
    --header-bg: rgba(17, 19, 22, .82); --header-bg-2: rgba(17, 19, 22, .94); --glass: rgba(26, 29, 33, .92);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35); --sh-3: 0 4px 10px rgba(0, 0, 0, .35), 0 22px 48px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f2ede6; --ink-2: #e2dcd3; --ink-3: #cbc5bc; --text: #ddd7ce; --muted: #9c978f; --line: #2b3035; --line-2: #3b4147;
  --bg: #111316; --paper: #1a1d21; --paper-2: #1f2327; --sand: #22262b; --sand-2: #2b3036; --oak-3: #4a3525; --oak-d: #e2ad77;
  --ok: #63c991; --ok-bg: #163222; --err: #ff8f80; --err-bg: #3a1916; --info-bg: #1c2733; --hi: #2a2119;
  --dark: #3a4047; --dark-2: #474e56; --night: #0b0c0e; --night-2: #1d2024;
  --header-bg: rgba(17, 19, 22, .82); --header-bg-2: rgba(17, 19, 22, .94); --glass: rgba(26, 29, 33, .92);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 2px 4px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35); --sh-3: 0 4px 10px rgba(0, 0, 0, .35), 0 22px 48px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
:root[data-theme="dark"] .glow { opacity: .12; }
:root[data-theme="dark"] .card-media, :root[data-theme="dark"] .cat-img, :root[data-theme="dark"] .pdp-main, :root[data-theme="dark"] .hero-card-main { filter: brightness(.92); }
:root[data-theme="dark"] .status.s-noua { background: #1c2b45; color: #8fb4ff; }
:root[data-theme="dark"] .status.s-confirmata, :root[data-theme="dark"] .status.s-in-procesare { background: #3a2f12; color: #f5c96b; }
:root[data-theme="dark"] .status.s-in-livrare { background: #2c2445; color: #c4b2ff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .glow { opacity: .12; }
  :root:not([data-theme="light"]) .card-media, :root:not([data-theme="light"]) .cat-img, :root:not([data-theme="light"]) .pdp-main, :root:not([data-theme="light"]) .hero-card-main { filter: brightness(.92); }
}
.theme-btn .ic-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ic-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .ic-moon { display: none; }
}

/* ---------------------------------------------------------------- animații */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes draw-steps { from { opacity: 0; } to { opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .guide-visual .draw { stroke-dashoffset: 0; }
  .guide-visual .rung { opacity: 1; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1380px) {
  .logo small { display: none; }
  .search input { width: 190px; }
  .search input:focus { width: 230px; }
  .main-nav > ul > li > a { padding: 10px 10px; font-size: .9rem; }
}
@media (max-width: 1520px) {
  .header-actions .btn.hide-md { display: none; }
  .main-nav .nav-extra { display: none; }
  .search input { width: 170px; }
}
.main-nav { min-width: 0; }
@media (max-width: 1180px) {
  .search input { width: 180px; }
  .search input:focus { width: 220px; }
  .main-nav > ul > li > a { padding: 10px 10px; font-size: .9rem; }
  .finder { grid-template-columns: repeat(3, 1fr); }
  .finder-title { grid-column: 1 / -1; }
  .finder .btn { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  :root { --header-h: 66px; }
  .burger { display: inline-grid; margin-left: -8px; }
  .main-nav { display: none; }
  .header-row { gap: 8px; }
  .logo { margin-right: auto; }
  .hide-md { display: none; }
  .search input { width: 44px; padding: 0; border-color: transparent; background: transparent; cursor: pointer; color: transparent; }
  .search input::placeholder { color: transparent; }
  .search input:focus { position: fixed; left: 12px; right: 12px; top: 11px; width: auto; height: 46px; z-index: 80; padding: 0 16px; background: var(--paper); border-color: var(--oak-2); color: var(--ink); cursor: text; box-shadow: var(--sh-3); }
  .search input:focus::placeholder { color: var(--muted); }
  .search button { pointer-events: none; color: var(--ink); }
  .suggest { position: fixed; top: 66px; left: 12px; right: 12px; width: auto; }
}
@media (max-width: 1024px) {
  .hero-grid, .guide-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 480px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-row, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .listing-side { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); z-index: 105; border-radius: 0 var(--r-lg) var(--r-lg) 0; transform: translateX(-105%); transition: transform .4s var(--ease); overflow-y: auto; top: 0; box-shadow: var(--sh-3); }
  .listing-side.open { transform: none; }
  .side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .cart-grid, .quote-grid, .account-grid, .reviews-layout { grid-template-columns: 1fr; }
  .summary, .quote-side { position: static; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .announce span { font-size: .78rem; }
  .announce a { display: none; }
  .hide-sm { display: none; }
  .hero { padding-top: 28px; }
  .hero-float { padding: 9px 12px; }
  .hero-float .ic { width: 32px; height: 32px; padding: 7px; }
  .hero-float-3 { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .finder { grid-template-columns: 1fr; padding: 16px; }
  .finder-wrap { margin-top: -50px; }
  .cat-grid, .product-grid, .product-grid.grid-3, .usp-grid, .reviews-row, .post-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-body { padding: 12px; gap: 6px; }
  .card-title { font-size: .95rem; }
  .chip, .card-rating { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .card-foot .btn { width: 100%; }
  .card .price strong { font-size: 1.05rem; }
  .badge { top: 10px; left: 10px; font-size: .66rem; padding: 4px 9px; }
  .badge-ghost { display: none; }
  .form-grid, .radio-cards { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr 40px; grid-template-areas: "img info rm" "img qty total"; gap: 8px 12px; }
  .cl-img { grid-area: img; }
  .cl-img img { width: 72px; height: 72px; }
  .cl-info { grid-area: info; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cl-total { grid-area: total; }
  .cl-remove { grid-area: rm; }
  .pdp-usp { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { flex: 1 1 100%; }
  .qty { flex: none; }
  .variant-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-cta { top: -36px; }
  .footer-cta .btn { width: 100%; }
  .big-search { flex-direction: column; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .section-head.row { align-items: start; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: .9rem; }
  .tab-list button { padding: 12px 12px; }
}
@media (max-width: 380px) {
  .product-grid, .product-grid.grid-3 { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .announce, .site-footer, .sticky-buy, .to-top, .cookie, .drawer { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* bannere ANPC, logo încărcat */
.legal-box { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 22px; background: var(--paper); }
.legal-box p { margin: 0 0 12px; }
.anpc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.anpc a { display: block; border-radius: 8px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.anpc a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.anpc img { width: 200px; height: auto; }
.anpc-note { font-size: .78rem; margin-top: 10px; }
.anpc-note a { color: #d9d4cc; text-decoration: underline; }
.footer-bottom b { color: #d9d4cc; font-weight: 600; }
.footer-bottom a { color: #b9b3aa; }
.logo-img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }

/* calculator gol */
.calc { display: grid; grid-template-columns: 420px 1fr; gap: 26px; align-items: start; }
.calc-form { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.calc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--sand); }
.calc-tabs label { cursor: pointer; }
.calc-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.calc-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; font-size: .8rem; font-weight: 600; text-align: center; color: var(--muted); transition: all .25s var(--ease); }
.calc-tabs input:checked + span { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }
.calc-tabs input:checked + span .ic { color: var(--oak); }
.calc-fields { display: grid; gap: 12px; }
.calc-visual { padding: 14px; border-radius: 16px; background: var(--bg); border: 1px dashed var(--line-2); }
.calc-visual small { color: var(--muted); display: block; margin-top: 8px; font-size: .8rem; }
.calc-visual [data-calc-hole] { transition: x .4s var(--ease), width .4s var(--ease); }
.calc-results { display: grid; gap: 16px; }
.calc-results h3 { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; }
.calc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.calc-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s; animation: fade-up .45s var(--ease) both; }
.calc-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--text); }
.calc-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.calc-item b { display: block; color: var(--ink); line-height: 1.25; }
.calc-item small { display: block; color: var(--muted); font-size: .8rem; }
.calc-item em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--ok); }
.calc-item.close em { color: var(--oak-d); }
.calc-item strong { color: var(--oak-d); font-size: .95rem; }
.calc-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1024px) { .calc { grid-template-columns: 1fr; } .calc-form { position: static; } }

/* WhatsApp */
.wa-btn { position: fixed; right: 18px; bottom: 18px; z-index: 56; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); animation: wa-in .6s var(--ease) 1.2s both; }
.wa-btn:hover { transform: scale(1.08); color: #fff; }
.wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.6s ease-out infinite 2s; }
.wa-btn span { position: absolute; right: 66px; white-space: nowrap; background: var(--paper); color: var(--ink); font-size: .84rem; font-weight: 600; padding: 8px 12px; border-radius: 12px; box-shadow: var(--sh-2); opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); pointer-events: none; }
.wa-btn:hover span { opacity: 1; transform: none; }
.has-wa .to-top { bottom: 86px; }
.has-wa.has-sticky .wa-btn { bottom: 84px; }
.has-wa.has-sticky .to-top { bottom: 152px; }
@keyframes wa-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* recenzii Google */
.g-reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.g-score { display: flex; align-items: center; gap: 14px; }
.g-score b { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--ink); }
.g-score small { display: block; color: var(--muted); }
.g-logo { font-weight: 700; letter-spacing: -.02em; }
.g-logo i:nth-child(1) { color: #4285f4; font-style: normal; } .g-logo i:nth-child(2) { color: #ea4335; font-style: normal; } .g-logo i:nth-child(3) { color: #fbbc05; font-style: normal; }
.g-logo i:nth-child(4) { color: #4285f4; font-style: normal; } .g-logo i:nth-child(5) { color: #34a853; font-style: normal; } .g-logo i:nth-child(6) { color: #ea4335; font-style: normal; }
.review-card .who { display: flex; align-items: center; gap: 10px; }
.review-card .who img { width: 36px; height: 36px; border-radius: 50%; }

/* antet robust: logo lung + meniu — nu se suprapun niciodată; dacă nu încape, meniul trece automat în „burger” */
.header-row > .logo { flex: 0 1 auto; min-width: 0; max-width: 300px; }
.logo span { min-width: 0; }
.logo b, .logo small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.main-nav > ul { justify-content: safe center; }
.site-header.nav-collapsed .nav-row { display: none; }
.site-header.nav-collapsed .burger { display: inline-grid; margin-left: -8px; }
.site-header.nav-collapsed .logo { margin-right: auto; }
.site-header.nav-collapsed .logo small { display: none; }

/* antet pe două rânduri (desktop): logo + căutare + acțiuni, apoi meniul pe toată lățimea */
.header-row { gap: 22px; }
.header-row > .search { flex: 1 1 auto; max-width: 560px; margin: 0 auto; }
.header-row > .search input, .header-row > .search input:focus { width: 100%; }
.nav-row { border-top: 1px solid var(--line); }
.nav-row .main-nav { overflow: visible; }
.nav-row .main-nav > ul { justify-content: center; gap: 4px; padding: 4px 0; flex-wrap: nowrap; }
.nav-row .main-nav .nav-extra { display: list-item; }
.nav-row .main-nav > ul > li > a { padding: 9px 16px; font-size: .92rem; }
.has-mega .mega { top: 100%; }
:root { --header-h: 124px; }
.site-header.scrolled .nav-row .main-nav > ul { padding: 0; }
@media (max-width: 1240px) {
  :root { --header-h: 66px; }
  .nav-row { display: none; }
  .header-row > .search { flex: 0 0 auto; margin: 0; max-width: none; }
  .header-row > .search input { width: 44px; }
}
@media (max-width: 1240px) and (min-width: 1px) {
  .header-row > .search input:focus { width: auto; }
}
@media (min-width: 1241px) { .header-actions .btn.hide-md { display: inline-flex; } }
@media (min-width: 1241px) { .header-row { height: 76px; } .header-row > .logo { max-width: 360px; } }

/* opțiunea de montaj */
.install-opt { display: block; cursor: pointer; }
.install-opt input { position: absolute; opacity: 0; pointer-events: none; }
.install-box { display: grid; grid-template-columns: 44px 1fr 24px; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--bg); transition: all .25s var(--ease); }
.install-box > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sand); color: var(--oak-d); }
.install-box b { display: block; color: var(--ink); }
.install-box small { color: var(--muted); }
.install-box i { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all .2s; }
.install-opt input:checked + .install-box { border-style: solid; border-color: var(--oak); background: var(--hi); box-shadow: 0 0 0 4px rgba(217, 163, 107, .18); }
.install-opt input:checked + .install-box i { background: var(--oak); border-color: var(--oak); }
.install-opt input:checked + .install-box i::after { content: "✓"; color: #fff; font-style: normal; font-weight: 700; font-size: .8rem; }
.install-opt input:focus-visible + .install-box { outline: 3px solid var(--oak-2); outline-offset: 2px; }
.cl-install { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .82rem; cursor: pointer; color: var(--ink-3); }
.cl-install input[type=checkbox] { accent-color: var(--oak); width: 16px; height: 16px; }
.cl-install span { display: inline-flex; gap: 4px; align-items: center; }
/* eticheta produsului jos, ca să nu acopere marcajele din fotografii */
.card-media .badge:not(.badge-ghost), .pdp-main .badge { top: auto; bottom: 14px; }

/* lucrări realizate */
.project-card .post-img { position: relative; }
.project-card .badge { top: auto; bottom: 12px; left: 12px; display: inline-flex; gap: 4px; align-items: center; }
.project-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px auto 36px; }
.pg-item { border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--sand); aspect-ratio: 4 / 3; box-shadow: var(--sh-1); }
.pg-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pg-item:hover img { transform: scale(1.05); }
[data-project-filter] a.on { background: var(--dark); color: #fff; border-color: var(--dark); }
@media (max-width: 720px) { .project-gallery { grid-template-columns: 1fr 1fr; } }

/* oferta online */
.offer-card { display: grid; gap: 12px; }
.offer-card h1 { margin: 0; }
.offer-dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 8px 0; padding: 18px; border-radius: var(--r); background: var(--bg); }
.offer-dl dt { color: var(--muted); } .offer-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.offer-dl .total { font-size: 1.15rem; padding-top: 10px; border-top: 1px solid var(--line); } .offer-dl dd.total { font-family: var(--display); font-size: 1.6rem; color: var(--oak-d); }
.offer-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.offer-actions details { flex: 1; min-width: 220px; }
.offer-actions summary { cursor: pointer; color: var(--muted); }
.offer-actions textarea { width: 100%; margin: 8px 0; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; background: var(--paper); }

.footer-downloads { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-downloads a { display: inline-flex; align-items: center; gap: 8px; color: var(--oak-2); font-weight: 600; }
.footer-downloads a:hover { color: #fff; }
