/* BIZON by ITA Production, demo Nexio
   Sistem: monocrom rece + un singur accent (roșul bizonului), colțuri drepte peste tot, Geist / Geist Mono.
   Straturi (z-index): bara de filtre 40, meniu mobil 60, header 61 (deasupra umbrei meniului). Dialogurile folosesc <dialog> nativ. */

:root {
  --bg: #f3f3f1;
  --surface: #fbfbfa;
  --tint: #e8e8e4;
  --ink: #161616;
  --muted: #5c5c58;
  --line: #d9d9d4;
  --accent: #e0281c;        /* butoane și linkuri: contrast AA cu text alb */
  --accent-text: #c4231a;   /* accent folosit ca text pe fundal deschis */
  --on-accent: #fffdfb;
  --photo-bg: #efefeb;      /* fundalul pozelor de catalog decupate */
  --shadow: 0 18px 50px -24px rgb(22 22 22 / 0.28);
  --logo: url(../img/logo-bizon.png);

  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212;
    --surface: #1a1a19;
    --tint: #1f1f1d;
    --ink: #ededea;
    --muted: #a3a39e;
    --line: #2e2e2b;
    --accent-text: #ff5a4e;
    --photo-bg: #e9e9e5;
    --shadow: 0 18px 50px -24px rgb(0 0 0 / 0.7);
    --logo: url(../img/logo-bizon-dark.png);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121212;
  --surface: #1a1a19;
  --tint: #1f1f1d;
  --ink: #ededea;
  --muted: #a3a39e;
  --line: #2e2e2b;
  --accent-text: #ff5a4e;
  --photo-bg: #e9e9e5;
  --shadow: 0 18px 50px -24px rgb(0 0 0 / 0.7);
  --logo: url(../img/logo-bizon-dark.png);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lede { color: var(--muted); font-size: 1.125rem; max-width: 56ch; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 70; background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: 0;
  font-weight: 600; font-size: 0.98rem; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn i { font-size: 1.15em; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #c4231a; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow i { transition: transform 0.25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 61;
  height: var(--header);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: block; width: 92px; height: 53px; flex: none; background: var(--logo) center / contain no-repeat; }
.nav { display: flex; gap: 1.6rem; margin-left: 0.5rem; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.tel { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--mono); font-size: 0.92rem; text-decoration: none; padding: 0 0.4rem; white-space: nowrap; }
.tel i { color: var(--accent-text); font-size: 1.1rem; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.2rem; }
.icon-btn:hover { border-color: var(--ink); }
.menu-btn { display: none; }
.menu-btn .ph-x, .menu-btn[aria-expanded="true"] .ph-list { display: none; }
.menu-btn[aria-expanded="true"] .ph-x { display: inline; }
.theme-btn .ph-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ph-sun-dim { display: none; }
:root[data-theme="dark"] .theme-btn .ph-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ph-sun-dim { display: none; }
  :root:not([data-theme="light"]) .theme-btn .ph-moon { display: inline; }
}

.drawer { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 640px) {
  .tel span, .header-actions .btn { display: none; }
  .tel { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); padding: 0; }
}
.drawer[open] {
  display: block;
  position: fixed; top: var(--header); left: 0; right: 0; z-index: 60;
  max-height: calc(100dvh - var(--header)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.35), 0 0 0 100vmax rgb(10 10 10 / 0.45);
}
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 500; text-decoration: none;
}
.drawer li a i { color: var(--muted); font-size: 1rem; transition: transform 0.25s var(--ease), color 0.2s; }
.drawer li a:active i, .drawer li a:hover i { color: var(--accent-text); transform: translateX(3px); }
.drawer-foot { display: grid; gap: 1rem; margin-top: 1.25rem; }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; font-size: 0.85rem; color: var(--muted); }
.drawer-foot p a { text-decoration: none; }
.drawer-foot p a:first-child { font-family: var(--mono); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: drop 0.35s var(--ease); }
  .drawer[open] li, .drawer[open] .drawer-foot { animation: rise 0.45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- reveal la scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-title > *, .hero-side > * { animation: rise 0.9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .hero-media { animation: unveil 1.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes unveil { from { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

section { position: relative; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 760px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(1.75rem, 3.5vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(1.5rem, 4vw, 4rem); row-gap: clamp(1.5rem, 3vw, 2.25rem);
}
.hero-title { grid-column: 1 / -1; display: grid; gap: 1.1rem; }
.hero h1 { font-size: clamp(2.5rem, 4.9vw, 4.6rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-side { display: flex; flex-direction: column; gap: 1.75rem; justify-content: space-between; padding-bottom: 2.1rem; }
.hero .lede { font-size: 1.15rem; max-width: 34ch; }
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.hero-media { position: relative; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.hero-media picture { position: relative; overflow: hidden; background: var(--tint); height: clamp(340px, calc(100dvh - var(--header) - 21rem), 600px); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
figcaption { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { padding-bottom: 0; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-media picture { height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- cifre ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 1.4rem 1.5rem 0.25rem 0; display: grid; gap: 0.35rem; align-content: start; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact b { font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.04em; line-height: 1; }
.fact span { color: var(--muted); font-size: 0.95rem; max-width: 26ch; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1rem; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); margin-top: 1rem; }
}

/* ---------- bento categorii ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(260px, auto)); gap: 12px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; background: var(--tint); min-height: 260px; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(14 14 14 / 0.86) 0%, rgb(14 14 14 / 0.45) 38%, transparent 66%); }
.tile-body { padding: clamp(1.1rem, 2vw, 1.75rem); color: #f4f4f2; display: grid; gap: 0.35rem; }
.tile-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.025em; }
.tile-body p { font-size: 0.95rem; color: rgb(244 244 242 / 0.85); }
.tile-body .mono { font-size: 0.9rem; }
.tile-a { grid-column: span 6; grid-row: span 2; min-height: 560px; }
.tile-b { grid-column: span 6; }
.tile-c { grid-column: span 3; }
.tile-d { grid-column: span 3; background: var(--accent); }
.tile-d::after { display: none; }
.tile-d .tile-body { color: var(--on-accent); height: 100%; align-content: space-between; }
.tile-d .tile-body p { color: rgb(255 253 251 / 0.9); }
.tile-d i { font-size: 2rem; }
@media (max-width: 1080px) {
  .tile-a { grid-column: span 12; grid-row: auto; min-height: 420px; }
  .tile-b { grid-column: span 12; }
  .tile-c, .tile-d { grid-column: span 6; }
  .bento { grid-template-rows: auto; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: auto; grid-row: auto; min-height: 280px; }
  .tile-a { min-height: 380px; }
  .tile-d { min-height: 0; }
}

/* ---------- raft scaune ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.rail-head h2 { max-width: 16ch; }
.rail-arrows { display: flex; flex: none; border: 1px solid var(--line); }
.rail-arrows button { width: 52px; height: 52px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.rail-arrows button + button { border-left: 1px solid var(--line); }
.rail-arrows button:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.rail-arrows button:disabled { opacity: 0.3; cursor: default; }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: clamp(1.25rem, 2.5vw, 2rem); padding-top: clamp(1.25rem, 2.5vw, 1.75rem); border-top: 1px solid var(--line); }
.rail-foot p { font-size: 0.95rem; }
@media (max-width: 760px) {
  .rail-arrows { display: none; }
  .rail-foot { flex-direction: column; align-items: stretch; text-align: left; }
  .rail-foot .btn { width: 100%; }
}
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 290px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 1.25rem; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
.card { display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 4 / 5; background: var(--photo-bg); overflow: hidden; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.8s var(--ease); }
.card-media.cover img { object-fit: cover; mix-blend-mode: normal; }
.card:hover .card-media img { transform: scale(1.045); }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.card-info h3 { font-size: 1.05rem; font-weight: 650; }
.price { font-family: var(--mono); font-size: 0.95rem; white-space: nowrap; }
.price small { font-family: var(--font); color: var(--muted); font-size: 0.8rem; margin-right: 0.2rem; }
.card-meta { color: var(--muted); font-size: 0.88rem; margin-top: -0.45rem; }

/* ---------- configurator ---------- */
.config { background: var(--tint); }
.config-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.config-stage { position: sticky; top: calc(var(--header) + 1.25rem); display: grid; gap: 10px; }
.stage-main { aspect-ratio: 4 / 3; background: var(--photo-bg); display: grid; place-items: center; overflow: hidden; }
.stage-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity 0.35s var(--ease), transform 0.6s var(--ease); }
.stage-main img.swap { opacity: 0; transform: scale(0.985); }
.stage-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stage-thumbs button { aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--photo-bg); cursor: pointer; overflow: hidden; }
.stage-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.stage-thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.stage-note { font-size: 0.85rem; color: var(--muted); }
.config-panel { display: grid; gap: 1.9rem; }
.config-panel h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.opt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend, .opt-label { font-weight: 600; font-size: 0.95rem; padding: 0; display: flex; justify-content: space-between; gap: 1rem; width: 100%; }
.opt legend output, .opt-label output { font-weight: 450; color: var(--muted); text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); min-height: 40px; padding: 0 0.85rem; cursor: pointer;
  font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 0;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .mono { font-size: 0.82rem; opacity: 0.75; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.swatch { aspect-ratio: 1; padding: 0; border: 1px solid var(--line); cursor: pointer; position: relative; background: var(--line); min-width: 0; overflow: hidden; }
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--surface); }
.legs .swatch { aspect-ratio: 1 / 1.6; }
.legs { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); max-width: 420px; }
.tabs { display: inline-flex; border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; min-height: 38px; padding: 0 0.9rem; cursor: pointer; font-size: 0.9rem; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); background: var(--surface); width: max-content; }
.qty button { width: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; }
.qty button:hover { background: var(--tint); }
.qty input { width: 64px; border: 0; border-inline: 1px solid var(--line); background: transparent; text-align: center; font-family: var(--mono); min-height: 44px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.summary { background: var(--surface); border: 1px solid var(--line); padding: 1.25rem 1.35rem; display: grid; gap: 1rem; box-shadow: var(--shadow); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; font-size: 0.93rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem; }
.summary dd img { width: 18px; height: 18px; object-fit: cover; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.summary .total b { font-family: var(--mono); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.summary .btn { width: 100%; }
.summary small { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 900px) {
  .config-grid { grid-template-columns: 1fr; }
  .config-stage { position: static; }
  .stage-main { aspect-ratio: 4 / 3; }
}

/* ---------- mese ---------- */
.band { margin: 0; }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 760px) { .band img { aspect-ratio: 4 / 3; } }
.tables-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.tables-copy { display: grid; gap: 1.25rem; align-content: start; }
.tops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 0.75rem; }
.top { display: grid; gap: 0.45rem; }
.top img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.top b { font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.top span { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.sizes { border-top: 1px solid var(--ink); }
.sizes-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; flex-wrap: wrap; align-items: center; }
.size-row { display: grid; grid-template-columns: 1fr auto; padding: 0.8rem 0; font-family: var(--mono); font-size: 0.98rem; }
.size-row + .size-row { border-top: 1px solid var(--line); }
.size-row .lbl { color: var(--muted); }
.table-desc { color: var(--muted); font-size: 0.95rem; padding-bottom: 0.5rem; min-height: 3.2em; }
@media (max-width: 900px) {
  .tables-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- fabrica ---------- */
.factory-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.factory-intro { position: sticky; top: calc(var(--header) + 2rem); align-self: start; display: grid; gap: 1.25rem; }
.factory-note { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.92rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 1rem; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.process li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; }
.process li:nth-child(even) .process-media { order: 2; }
.process-media { margin: 0; overflow: hidden; background: var(--tint); }
.process-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.process h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.6rem; }
.process p { color: var(--muted); }
@media (max-width: 900px) {
  .factory-grid { grid-template-columns: 1fr; }
  .factory-intro { position: static; }
}
@media (max-width: 600px) {
  .process li { grid-template-columns: 1fr; }
  .process li:nth-child(even) .process-media { order: 0; }
}

/* ---------- HoReCa ---------- */
.trade { background: var(--tint); }
.trade-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.trade-media { margin: 0; display: grid; gap: 0.6rem; }
.trade-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trade-copy { display: grid; gap: 1.6rem; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.perks li { display: grid; gap: 0.35rem; }
.perks i { font-size: 1.6rem; color: var(--accent-text); }
.perks b { font-weight: 650; }
.perks span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .trade-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .perks { grid-template-columns: 1fr; } }

/* ---------- târguri + citat ---------- */
.fairs-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.quote { margin: 0; display: grid; gap: 1.5rem; }
.quote blockquote { margin: 0; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
.quote blockquote::before { content: "„"; color: var(--accent-text); }
.quote blockquote::after { content: "”"; color: var(--accent-text); }
.quote figcaption { font-size: 0.98rem; color: var(--ink); display: grid; gap: 0.15rem; }
.quote figcaption span { color: var(--muted); font-size: 0.9rem; }
.quote-photo { margin-top: 1rem; }
.quote-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline .mono { font-size: 1rem; }
.timeline b { font-weight: 600; display: block; }
.timeline span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .fairs-grid { grid-template-columns: 1fr; } }

/* ---------- ofertă + contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); }
.contact-info { display: grid; gap: 2rem; align-content: start; }
.big-tel { font-family: var(--mono); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 0.75rem; }
.big-tel i { color: var(--accent-text); }
.contact-list { display: grid; gap: 1.1rem; margin: 0; }
.contact-list div { display: grid; gap: 0.15rem; }
.contact-list dt { font-size: 0.85rem; color: var(--muted); }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.form { display: grid; gap: 1.15rem; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 1px solid #8f8f89; border-radius: 0;
  background: var(--bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field .err { font-size: 0.85rem; color: var(--accent-text); display: none; }
.field.invalid input, .field.invalid select { border-color: var(--accent); }
.field.invalid .err { display: block; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check.invalid span { color: var(--accent-text); }
.check.invalid input { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-done { display: none; gap: 0.8rem; align-content: start; }
.form-done i { font-size: 2.4rem; color: var(--accent-text); }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: grid; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
.footer-grid h4 { margin: 0 0 0.8rem; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-legal { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- pagina catalog ---------- */
.cat-head { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; display: grid; gap: 1rem; }
.cat-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; }
.toolbar { position: sticky; top: var(--header); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.toolbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; padding-block: 0.6rem; }
.toolbar select { min-height: 40px; border: 1px solid var(--line); background: var(--surface); padding: 0 0.75rem; border-radius: 0; }
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 16px; padding-block: 2.5rem 5rem; }
.grid-products .card { cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
@media (max-width: 1080px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 10px; } .card-info { flex-direction: column; gap: 0.15rem; } }
.empty { grid-column: 1 / -1; padding: 4rem 0; text-align: center; color: var(--muted); display: grid; gap: 1rem; justify-items: center; }

.product-dialog { width: min(1080px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 0; }
.product-dialog::backdrop { background: rgb(10 10 10 / 0.55); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .product-dialog[open] { animation: rise 0.45s var(--ease); }
}
.pd { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pd-gallery { background: var(--photo-bg); display: grid; gap: 8px; padding: 12px; align-content: start; }
.pd-main { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 1px solid transparent; background: transparent; cursor: pointer; }
.pd-thumbs button[aria-pressed="true"] { border-color: #161616; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pd-info { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.4rem; align-content: start; position: relative; }
.pd-info h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.pd-close { position: absolute; top: 12px; right: 12px; }
.pd-variants { border-top: 1px solid var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 800px) { .pd { grid-template-columns: 1fr; } .pd-main { aspect-ratio: 4 / 3; } }
