/* MAP
 * §1 tokeni de tema
 * §2 antet si meniu
 * §3 hero si sectiuni
 * §4 grila de produse
 * §5 pagina de produs (varianta veche, ramasa pentru cardurile de galerie)
 * §6 subsol
 * §7 ecrane mici
 * §8 asezare cu coloana din dreapta
 * §9 pagina de produs
 * §10 partajare
 * §11 (liber)
 * §12 ecrane mici
 * §13 poza pe tot ecranul
 * §14 capul paginii de produs
 * §15 prima pagina: hero mare
 * §16 prima pagina: clienti si logouri
 * §17 prima pagina: categorii cu icon
 * §18 prima pagina: piloni, cifre, pasi, pareri, intrebari
 * §19 chemarea finala la actiune
 * §20 formularul mare de cerere
 * §21 coloana din dreapta cu iconuri
 * §22 ecrane mici pentru sectiunile noi
 * §23 cutia de contact din colt
 * §24 nota de confidentialitate
 * §25 filmuletele produsului (YouTube)
 * §26 iconurile de socializare
 */

/* §1 tokeni de tema */
/* Culorile sunt LUATE DE PE SITE-UL VECHI, ca omul care intra sa nu creada ca a gresit adresa
   (cerinta Augustin, 6 sept 2026: „similare, putin mai moderne, dar sa nu creada clientii ca au
   gresit site-ul"). Preluate din processcolor.ro: rosul `#c91e3a` al butoanelor si al accentelor,
   antracitul `#26272b` al antetului si al subsolului. Modernizarea nu atinge culorile de brand:
   e doar in fundalul curat (alb + gri rece foarte deschis, in loc de crem), in bordurile mai fine
   si in colturile mai putin rotunjite. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #edf0f4;
  --border: #d5d9e2;
  --border-strong: #b4bac8;
  --text: #1c1f26;
  --text-2: #4b5262;
  --text-3: #6b7285;
  --accent: #c91e3a;
  --accent-hover: #a5162e;
  --accent-soft: rgba(201, 30, 58, .09);
  --on-accent: #ffffff;
  --band: #181a21;
  --band-2: #222530;
  --on-band: #f1f3f7;
  --radius: 11px;
  --wrap: 1320px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161b; --surface: #1c1f26; --surface-2: #242832;
    --border: #343947; --border-strong: #4a5063;
    --text: #eceff5; --text-2: #adb4c2; --text-3: #878fa0;
    /* Rosul de brand nu are contrast destul pe fundal inchis, deci se deschide, nu se schimba. */
    --accent: #ef5a72; --accent-hover: #f7788c; --accent-soft: rgba(239,90,114,.14);
    --on-accent: #1a0a0e; --band: #101216; --band-2: #181b22; --on-band: #eceff5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
/* `height: auto` e obligatoriu: pozele au width/height scrise in eticheta, iar fara asta browserul
   pastreaza inaltimea din atribut si le turteste pe latime. Asa aratau alungite. */
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* §2 antet si meniu */
/* Banda de antet personalizata (daca din Setari se incarca o alta poza). */
.site-banner { background: #12141a; }
.site-banner .wrap { padding: 0; }
.site-banner a { display: block; line-height: 0; }
.site-banner img { display: block; width: 100%; height: auto; }

/* Antetul vectorial modernizat: sigla Process Color mare la stanga, certificarile ISO/IAS compacte la dreapta. */
.site-brand {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg,
      rgba(20, 22, 29, 0) 0%,
      rgba(20, 22, 29, 0) 24%,
      rgba(99, 68, 224, .34) 33%,
      rgba(31, 128, 245, .36) 40%,
      rgba(0, 196, 174, .34) 47%,
      rgba(130, 214, 62, .30) 53%,
      rgba(250, 206, 40, .32) 59%,
      rgba(246, 122, 34, .34) 65%,
      rgba(232, 36, 84, .36) 71%,
      rgba(198, 44, 152, .30) 76%,
      rgba(20, 22, 29, 0) 84%),
    repeating-linear-gradient(110deg,
      rgba(255, 255, 255, .035) 0 18px,
      rgba(0, 0, 0, .06) 18px 36px),
    linear-gradient(180deg, #1b1e27 0%, #13151b 100%);
  color: #f3f5f9;
}
.site-brand-spec {
  height: 4px;
  background: linear-gradient(90deg, #6344e0 0%, #1f80f5 18%, #00c4ae 36%, #82d63e 52%, #face28 68%, #f67a22 83%, #e82454 100%);
}
.site-brand-in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand-logo {
  display: inline-flex; align-items: center; gap: 13px; color: inherit;
  transition: opacity .15s ease;
}
.brand-logo:hover { text-decoration: none; opacity: .94; }
.brand-mark { flex: 0 0 auto; width: 48px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.brand-txt { display: flex; flex-direction: column; }
.brand-name {
  font-size: clamp(24px, 2.5vw, 34px); font-weight: 850; line-height: 1.02;
  letter-spacing: -.025em; color: #f23855;
  text-shadow: 0 2px 12px rgba(217, 30, 58, .22);
}
.brand-reg { font-size: .4em; vertical-align: super; color: #d5dce9; font-weight: 600; margin-left: 2px; }
.brand-sub {
  margin-top: 4px; font-size: 10.5px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: #d5dce9;
}

.brand-certs {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: 10px;
  background: #f8f9fc; border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}
.cert-hex { display: block; width: auto; height: 42px; }
.cert-sep { width: 1px; height: 32px; background: #d6dce7; }
.cert-ias { display: inline-flex; align-items: center; gap: 7px; }
.cert-ias-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 4px;
  background: #262930; color: #ffffff;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
}
.cert-ias-txt { display: flex; flex-direction: column; line-height: 1.12; color: #242730; }
.cert-ias-txt strong { font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.cert-ias-txt strong sup { font-size: .7em; }
.cert-ias-txt span { font-size: 7px; color: #434958; }
.cert-ias-txt em { font-style: normal; font-size: 7.2px; font-weight: 700; color: #242730; }

/* Meniul principal: modernizat, dar in acelasi registru antracit + rosu Process Color. */
.site-head {
  background: rgba(24, 27, 34, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-band);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1.5px solid rgba(255, 255, 255, .12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
  position: sticky; top: 0; z-index: 30;
}
.site-head-in {
  display: flex; align-items: center; gap: 16px;
  min-height: 52px; padding-top: 6px; padding-bottom: 6px;
}
.logo { font-size: 21px; font-weight: 800; letter-spacing: .4px; color: var(--on-band); }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  padding: 7px 13px; min-height: 40px; border-radius: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: #f1f3f7; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { background: rgba(255, 255, 255, .14); }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 8px;
  color: #e3e7f0; font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav a:hover { background: rgba(255, 255, 255, .08); color: #ffffff; text-decoration: none; }
.site-nav a.on { background: rgba(239, 58, 88, .17); color: #ffffff; text-decoration: none; }
.site-nav a.on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: #f23855;
}

@media (max-width: 860px) {
  .site-brand {
    background:
      linear-gradient(118deg,
        rgba(20, 22, 29, 0) 0%,
        rgba(99, 68, 224, .32) 16%,
        rgba(31, 128, 245, .34) 30%,
        rgba(0, 196, 174, .32) 44%,
        rgba(130, 214, 62, .28) 56%,
        rgba(250, 206, 40, .30) 68%,
        rgba(246, 122, 34, .32) 80%,
        rgba(232, 36, 84, .34) 92%,
        rgba(20, 22, 29, 0) 100%),
      repeating-linear-gradient(118deg,
        rgba(255, 255, 255, .03) 0 14px,
        rgba(0, 0, 0, .05) 14px 28px),
      linear-gradient(180deg, #1b1e27 0%, #13151b 100%);
  }
  .site-brand-in {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 12px 16px;
  }
  .brand-logo { justify-content: center; gap: 10px; max-width: 100%; }
  .brand-mark { width: 38px; height: 42px; }
  .brand-name { font-size: clamp(21px, 6vw, 26px); }
  .brand-sub { font-size: 8.5px; letter-spacing: .09em; margin-top: 3px; }
  .brand-certs {
    margin: 0 auto; justify-content: center; max-width: 100%;
    padding: 5px 11px; gap: 9px; border-radius: 9px;
  }
  .cert-hex { height: 32px; }
  .cert-sep { height: 24px; }
  .cert-ias { gap: 6px; }
  .cert-ias-box { width: 27px; height: 27px; font-size: 10.5px; }
  .cert-ias-txt strong { font-size: 8px; }
  .cert-ias-txt span, .cert-ias-txt em { font-size: 6.4px; }

  .site-head-in {
    flex-wrap: wrap; justify-content: space-between; gap: 10px;
    min-height: 48px; padding: 6px 16px;
  }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; order: 3; flex: 1 0 100%; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 6px 0 8px; border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .js .site-head.nav-open .site-nav { display: flex; }
  .js .site-nav a { min-height: 44px; padding: 10px 14px; }
  .js .site-nav a.on::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
}

/* §3 hero si sectiuni */
.hero {
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
  padding: 54px 0;
}
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 12px; max-width: 720px; }
.hero p { font-size: 18px; color: var(--text-2); max-width: 640px; margin: 0 0 20px; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  border: 2px solid var(--accent); font-weight: 700;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--text-2); }

section { padding: 44px 0; }
section h2 { font-size: 27px; margin: 0 0 6px; }
section .lead { color: var(--text-2); margin: 0 0 24px; }

.crumbs { font-size: 14px; color: var(--text-2); padding: 18px 0 0; }
.crumbs a { color: var(--text-2); }

/* §4 grila de produse */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(18, 24, 40, .04);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: var(--accent); transform: translateY(-3px); text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 24, 40, .11);
}
/* Rama de prezentare: fundal subtil de studio + chenar rotunjit cu margine alba si umbra
   direct pe poza reala (fara a taia din capacul sau marginile ambalajului). */
.card .ph {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 13px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #f8f9fc 0%, #e7ebf3 100%);
  border-bottom: 1px solid var(--border);
}
.card .ph::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 1px solid rgba(28, 34, 52, .07); border-radius: 10px;
}
.card .ph img {
  position: relative; z-index: 1;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  padding: 0; border-radius: 9px;
  border: 3px solid #ffffff;
  outline: 1px solid rgba(28, 34, 52, .12);
  box-shadow: 0 8px 20px rgba(18, 24, 40, .14), 0 2px 5px rgba(18, 24, 40, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover .ph img {
  transform: scale(1.03);
  box-shadow: 0 12px 26px rgba(18, 24, 40, .19), 0 3px 8px rgba(18, 24, 40, .09);
}
@media (prefers-color-scheme: dark) {
  .card { box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
  .card:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .38); }
  .card .ph { background: radial-gradient(circle at 50% 30%, #262b38 0%, #191c24 100%); }
  .card .ph::before { border-color: rgba(255, 255, 255, .07); }
  .card .ph img {
    border-color: #2f3545;
    outline-color: rgba(255, 255, 255, .14);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .42);
  }
}
.no-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px; letter-spacing: .5px;
  background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, var(--bg) 12px, var(--bg) 24px);
}
.card .body { padding: 13px 15px 16px; }
.card h3 { font-size: 16px; margin: 0 0 5px; color: var(--text); line-height: 1.35; }
.card p { font-size: 14px; color: var(--text-2); margin: 0; }
.card .cat { font-size: 12px; text-transform: uppercase; letter-spacing: .7px; color: var(--accent); font-weight: 700; }

/* Cartonasele de categorie de pe „Acasa" si „Produse". Sunt mai putine si mai importante decat
   cartonasele de produs, deci stau mai lat si au titlul mai mare: omul alege dintr-o privire. */
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cat-card h3 { font-size: 18px; margin-bottom: 3px; }
.cat-card .cat-n { font-size: 13px; color: var(--text-3); }

.search { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.search input[type=search] {
  flex: 1 1 300px; min-width: 0;
  padding: 11px 16px; font: inherit;
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border-strong); border-radius: 999px;
}
.search input[type=search]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.cats a {
  padding: 7px 15px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); color: var(--text-2); font-weight: 600; font-size: 14px;
}
.cats a:hover, .cats a.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); text-decoration: none; }

.pager { display: flex; gap: 7px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { padding: 7px 13px; border: 1.5px solid var(--border); border-radius: 9px; }
.pager span.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Butonul „Vezi mai multe produse": tine locul paginilor, cand JavaScript-ul merge. */
.mai-multe {
  display: block; margin: 26px auto 0; padding: 12px 26px; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: 11px;
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600;
}
.mai-multe:hover { border-color: var(--accent); color: var(--accent); }
.mai-multe[disabled] { opacity: .6; cursor: default; }

.empty { border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 34px; text-align: center; color: var(--text-2); }

/* §5 pagina de produs */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: start; }
.gallery .main {
  position: relative;
  border: 1.5px solid var(--border); border-radius: 14px;
  overflow: hidden; padding: 16px;
  background: radial-gradient(circle at 50% 30%, #f8f9fc 0%, #e7ebf3 100%);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
}
.gallery .main img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 10px; border: 4px solid #ffffff;
  outline: 1px solid rgba(28, 34, 52, .12);
  box-shadow: 0 10px 26px rgba(18, 24, 40, .15);
}
@media (prefers-color-scheme: dark) {
  .gallery .main { background: radial-gradient(circle at 50% 30%, #262b38 0%, #191c24 100%); }
  .gallery .main img { border-color: #2f3545; outline-color: rgba(255, 255, 255, .14); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
}
.gallery .thumbs { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs img {
  width: 76px; height: 76px; object-fit: contain; padding: 4px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 9px; cursor: pointer;
}
.gallery .thumbs img:hover, .gallery .thumbs img.on { border-color: var(--accent); }
.product h1 { font-size: 31px; margin: 0 0 8px; }
.prose { color: var(--text-2); }
.prose p { margin: 0 0 13px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.tags span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }

.callout {
  background: var(--accent-soft); border: 1.5px solid var(--accent);
  border-radius: var(--radius); padding: 18px 20px; margin-top: 22px;
}
.callout h3 { margin: 0 0 6px; font-size: 17px; }

/* §6 subsol */
.site-foot {
  background: var(--band); color: var(--on-band);
  border-top: 2px solid rgba(255, 255, 255, .1);
  padding: 36px 0 28px; margin-top: 40px;
}
.site-foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.site-foot h4 { margin: 0 0 10px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .8px; color: #f23855; }
.site-foot a { color: var(--on-band); opacity: .85; display: block; padding: 2px 0; }
.site-foot a:hover { opacity: 1; color: #f23855; }
.site-foot .fine { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; opacity: .75; }

/* Site-urile noastre surori in subsol, cate 3-4 pe rand (fosta coloana din dreapta). */
.foot-sites {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot-sites-grid {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px;
}
.foot-sites-grid a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 13px; border-radius: 9px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  opacity: 1; transition: border-color .15s ease, background-color .15s ease;
}
.foot-sites-grid a:hover {
  border-color: #f23855; background: rgba(242, 56, 85, .12); text-decoration: none;
}
.foot-site-n { font-size: 14px; font-weight: 600; color: #f1f3f7; line-height: 1.3; }
.foot-site-d { font-size: 12px; color: rgba(241, 243, 247, .6); line-height: 1.3; word-break: break-word; }
@media (max-width: 980px) { .foot-sites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .foot-sites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; } }

/* §7 ecrane mici */
@media (max-width: 800px) {
  .hero h1 { font-size: 30px; }
  .product { grid-template-columns: 1fr; gap: 22px; }
}

/* §8 asezare cu coloana din stanga (doar 2 coloane pe desktop; fara coloana pe dreapta) */
.layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-top: 26px;
  padding-bottom: 40px;
}
@media (min-width: 1220px) {
  .layout { grid-template-columns: 285px minmax(0, 1fr); gap: 34px; }
}
.main-col { min-width: 0; }
.main-col > section { padding: 0 0 34px; }

/* Coloana din stanga: ramane lipita la derulare pe desktop; dispare pe mobil/tableta,
   unde rolul ei e preluat de butonul plutitor „Produse" din bara de jos. */
.side { order: -1; align-self: stretch; }
.side-in { display: grid; gap: 16px; }
@media (min-width: 981px) {
  .side-in {
    position: sticky;
    top: 70px;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.side-search { display: grid; gap: 9px; }
.side-search input[type=search] {
  min-width: 0; padding: 10px 15px; font: inherit;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border-strong); border-radius: 999px;
}
.side-search input[type=search]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.side-renunt { font-size: 13px; color: var(--text-3); text-align: center; }
.side-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.side-t { font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-2); }
.side-cats { list-style: none; margin: 0; padding: 0; }
.side-cats li + li { border-top: 1px solid var(--border); }
.side-cats a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 9px 2px; color: var(--text); font-weight: 500;
}
.side-cats a:hover { color: var(--accent); text-decoration: none; }
.side-cats a.on { color: var(--accent); font-weight: 700; }
.side-n { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Treapta a doua: gamele dinauntrul unei categorii mari (Alimentare, Nealimentare), ca in meniul vechi. */
.side-sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 28px; }
.side-sub li + li { border-top: 1px solid var(--border); }
.side-sub a { display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 7px 2px; color: var(--text-2); font-weight: 400; font-size: 14px; }
.side-sub a:hover { color: var(--accent); text-decoration: none; }
.side-sub a.on { color: var(--accent); font-weight: 700; }

/* Numele intregi au voie sa treaca pe randul urmator; taiate cu „..." nu se mai deosebeau intre ele. */
.side-cats .side-nume, .side-sub .side-nume { white-space: normal; overflow: visible; text-overflow: clip; }

/* Harta si pozele de pe paginile statice (Contact). */
.pg-harta iframe { max-width: 100%; border-radius: 6px; }
/* Fiecare poza e paragraful ei. Puse una sub alta ocupau cat un ecran fiecare, asa ca le lasam
   sa curga pe randuri, ca pe site-ul vechi. */
.pg-poza { display: inline-block; margin: 0 10px 10px 0; vertical-align: top; }
.pg-poza img { max-width: 300px; width: 100%; height: auto; display: block; border-radius: 6px; }
/* Poza mare (harta desenata pana la sediu) se vede pe toata latimea. */
.pg-poza-mare { display: block; }
.pg-poza-mare img { max-width: 100%; }

/* §9 pagina de produs */
.hero-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.sumar-t { font-size: 17px; line-height: 1.6; color: var(--text); margin: 0 0 18px; }

.fise { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 0 20px; font-size: 15px; }
.fise dt { padding: 8px 14px 8px 0; color: var(--text-2); border-bottom: 1px solid var(--border); }
.fise dd { padding: 8px 0; margin: 0; border-bottom: 1px solid var(--border); }

.desc h2, .legaturi h2, .reco h2 { font-size: 21px; margin: 0 0 12px; }
.desc .prose p { margin: 0 0 12px; color: var(--text-2); }
.legaturi h2 { margin-top: 20px; }
.legaturi h2:first-child { margin-top: 0; }
.tags a {
  font-size: 14px; padding: 5px 13px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}
.tags a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.alt-site { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.alt-site a {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); color: var(--text-2); font-weight: 600; font-size: 14px;
}
.alt-site a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.callout h2 { font-size: 17px; margin: 0 0 6px; }
.callout p { margin: 0 0 12px; color: var(--text-2); font-size: 15px; }

/* §10 partajare */
.share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
/* Documentele PDF de pe paginile statice (tabelele de dimensiuni, programul de deseuri). */
.pg-pdf { margin: 0 0 22px; }
.pg-pdf iframe { width: 100%; height: 620px; border: 1.5px solid var(--border); border-radius: 6px; background: #fff; }
.pg-pdf p { margin: 10px 0 0; }
@media (max-width: 800px) { .pg-pdf iframe { height: 380px; } }
/* Documentul aratat ca poze, pagina dupa pagina: se citeste direct pe ecran, si pe telefon.
   Cerinta clientei din 7 septembrie 2026: fara cititor de PDF si fara descarcare. */
.pg-doc { margin: 0 0 22px; }
.pg-doc img {
  display: block; width: 100%; height: auto; margin: 0 0 14px;
  border: 1.5px solid var(--border); border-radius: 6px; background: #fff;
}
.pg-doc p { margin: 6px 0 0; }
.pg-link a { font-weight: 600; }

.share-l { color: var(--text-2); font-size: 14px; margin-right: 4px; }
.share-b {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 7px 15px; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text-2);
}
.share-b:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* §12 ecrane mici */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 24px; }
  .side { display: none; }
  .hero-prod { grid-template-columns: 1fr; }
}

/* §13 poza pe tot ecranul */
.gallery .main img { cursor: zoom-in; }
.lupa {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 19, 18, .93);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 70px;
}
.lupa[hidden] { display: none; }
.lupa img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lupa-x, .lupa-prev, .lupa-next {
  position: absolute; cursor: pointer; font: inherit; line-height: 1;
  background: rgba(250, 249, 245, .12); color: var(--on-band);
  border: 1.5px solid rgba(250, 249, 245, .35); border-radius: 999px;
}
.lupa-x { top: 16px; right: 18px; width: 44px; height: 44px; font-size: 26px; }
.lupa-prev, .lupa-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 26px; }
.lupa-prev { left: 14px; }
.lupa-next { right: 14px; }
.lupa-x:hover, .lupa-prev:hover, .lupa-next:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lupa-nr {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: var(--on-band); font-size: 14px; font-variant-numeric: tabular-nums;
  background: rgba(20, 19, 18, .6); padding: 5px 14px; border-radius: 999px;
}
@media (max-width: 620px) {
  .lupa { padding: 56px 12px; }
  .lupa-prev, .lupa-next { width: 42px; height: 42px; }
}

/* §14 capul paginii de produs (titlul deasupra, pe toata latimea) */
.prod-cap { margin: 0 0 22px; }
.prod-cap .cat {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
/* Fara limita de latime: titlurile lor aduna mai multe coduri de model si au nevoie de tot randul. */
.prod-cap h1 { font-size: 32px; line-height: 1.22; margin: 0; }
@media (max-width: 620px) { .prod-cap h1 { font-size: 25px; } }

/* §15 prima pagina: hero mare */
.hero-mare { padding: 0; background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 42px; align-items: center; padding-top: 56px; padding-bottom: 56px;
}
.eyebrow {
  margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--accent);
}
.hero-mare h1 { font-size: 42px; line-height: 1.14; margin: 0 0 16px; }
.hero-p { font-size: 18px; color: var(--text-2); margin: 0 0 20px; max-width: 52ch; }
.hero-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.hero-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 500; }
.hero-list .ico { flex: 0 0 auto; color: var(--accent); margin-top: 3px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0; }
.hero-btns .btn { display: inline-flex; align-items: center; gap: 8px; }
.hero-poza {
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: 0 18px 44px rgba(31, 30, 29, .12);
}
.hero-poza img { width: 100%; height: auto; }

/* §16 prima pagina: clienti si logouri */
.band-clienti { padding: 30px 0; background: var(--surface); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.band-l { margin: 0 0 18px; text-align: center; color: var(--text-2); font-size: 15px; }
.logo-rand { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; }
.logo-grila { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.logo-cut {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 78px; padding: 12px 14px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--bg);
}
.logo-cut img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; }
.logo-cut:hover img { filter: none; opacity: 1; }
.logo-nume { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--text-2); }
.logo-dom { font-style: normal; font-size: 12px; color: var(--text-3); }
a.logo-total { border-color: var(--accent); background: var(--accent-soft); }
a.logo-total:hover { text-decoration: none; border-color: var(--accent-hover); }
a.logo-total strong { font-size: 24px; color: var(--accent); line-height: 1; }
a.logo-total span { font-size: 12px; color: var(--text-2); }

/* §17 prima pagina: categorii cu icon */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 18px 18px 16px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.cat-ico {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.cat-nume { font-weight: 700; font-size: 16px; line-height: 1.3; }
.cat-n { font-size: 13px; color: var(--text-3); }

/* §18 prima pagina: piloni, cifre, pasi, pareri, intrebari */
.fundal-2 { background: var(--surface-2); border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); }
.wrap-ingust { max-width: 800px; }

.pilon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.pilon { display: grid; gap: 8px; align-content: start; }
.pilon-ico {
  display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--surface); border: 1.5px solid var(--border); color: var(--accent);
}
.pilon h3 { font-size: 17px; margin: 4px 0 0; }
.pilon p { margin: 0; color: var(--text-2); font-size: 15px; }

.band-cifre { background: var(--band); color: var(--on-band); border-top: 2px solid var(--border-strong); border-bottom: 2px solid var(--border-strong); }
.band-cifre .band-t { font-size: 20px; margin: 0 0 24px; color: var(--on-band); font-weight: 600; }
.cifre { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.cifra { display: grid; gap: 4px; }
.cifra strong { font-size: 38px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.cifra span { font-size: 14px; opacity: .82; }

.pasi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.pasi li { display: flex; gap: 13px; align-items: flex-start; }
.pas-nr {
  flex: 0 0 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 15px;
}
.pasi h3 { font-size: 16px; margin: 5px 0 4px; }
.pasi p { margin: 0; color: var(--text-2); font-size: 15px; }

.pareri { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.parere {
  margin: 0; padding: 20px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius);
}
.stele { display: flex; gap: 2px; color: var(--accent); margin-bottom: 10px; }
.stele .ico { fill: currentColor; }
.parere blockquote { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--text); }
.parere figcaption { display: grid; gap: 2px; font-size: 14px; }
.parere figcaption strong { color: var(--text); }
.parere figcaption span { color: var(--text-3); }
.mai-mult { margin: 24px 0 0; }
.mai-mult a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }

.faq {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 34px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: var(--accent); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 16px; color: var(--text-2); }

/* §19 chemarea finala la actiune */
.cta-final { background: var(--accent-soft); border-top: 2px solid var(--accent); text-align: center; }
.cta-final h2 { font-size: 28px; margin: 0 0 10px; }
.cta-final p { color: var(--text-2); max-width: 58ch; margin: 0 auto 22px; }
.cta-final .hero-btns { justify-content: center; }
.btn-clar { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-clar:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }

/* §20 formularul mare de cerere */
.form-mare {
  margin-top: 26px; padding: 22px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius);
}
.form-mare label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.form-mare input[type=text], .form-mare input[type=email], .form-mare input[type=tel], .form-mare textarea, .form-mare select {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: inherit; font-size: 15px;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border-strong); border-radius: 10px;
}
.form-mare input:focus, .form-mare textarea:focus, .form-mare select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.f-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-mare button.btn { border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 700; }
.f-fine { margin: 12px 0 0; font-size: 13px; color: var(--text-3); }
/* Camp-capcana pentru roboti: omul nu il vede niciodata, deci nu il completeaza. */
.capcana { position: absolute; left: -9999px; }

/* §21 coloana din dreapta cu iconuri */
.side-cats a { gap: 9px; }
.side-cats .ico { flex: 0 0 auto; color: var(--text-3); }
.side-cats a:hover .ico, .side-cats a.on .ico { color: var(--accent); }
.side-nume { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Lista de categorii isi deruleaza propriul continut. Fara asta, pe site-urile cu multe categorii,
   coloana lipita de ecran depasea inaltimea lui si ultimele intrari nu se mai puteau atinge. */

/* §22 ecrane mici pentru sectiunile noi */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; padding-bottom: 34px; }
  .hero-mare h1 { font-size: 30px; }
  .hero-poza { order: -1; }
  .f-doi { grid-template-columns: 1fr; gap: 0; }
  .cifra strong { font-size: 30px; }
  .cta-final h2 { font-size: 23px; }
}

/* §23 cutia plutitoare (Produse pe mobil + Solicitare oferta + Contact) */
.fly {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fly-bara {
  display: flex; gap: 8px; order: 2;
  background: var(--surface); padding: 6px;
  border: 1.5px solid var(--border-strong); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.fly-b {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap;
  padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fly-b-prod { display: none; background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.fly-b-prod:hover, .fly-b-prod.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.fly-b-1 { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.fly-b-1:hover, .fly-b-1.on { background: var(--accent-hover); border-color: var(--accent-hover); }
.fly-b-2 { background: transparent; color: var(--text); border-color: var(--border-strong); }
.fly-b-2:hover, .fly-b-2.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.fly-panel {
  order: 1; width: 380px; max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
}
.fly-panel[hidden] { display: none; }

/* antetul panourilor */
.fly-head {
  background: var(--band); color: var(--on-band); padding: 15px 18px 14px;
  position: sticky; top: 0; z-index: 2;
}
.fly-head-sm { padding: 12px 18px; }
.fly-head-sm .fly-head-t { margin-bottom: 0; }
.fly-head-t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fly-head-t strong { font-size: 16.5px; }
.fly-x {
  background: none; border: none; color: var(--on-band); font-size: 26px; line-height: 1;
  cursor: pointer; opacity: .75; padding: 2px 6px; border-radius: 6px;
}
.fly-x:hover { opacity: 1; color: #f23855; background: rgba(255, 255, 255, .08); }
.fly-date { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.fly-date li { display: flex; align-items: flex-start; gap: 9px; }
.fly-date .ico { flex: 0 0 auto; color: #f23855; margin-top: 3px; }
.fly-date a, .fly-date span { color: var(--on-band); }
.fly-date a:hover { color: #f23855; }
.fly-adr { line-height: 1.45; }
.fly-legal { margin: 10px 0 0; font-size: 11.5px; opacity: .65; line-height: 1.5; }

/* formularele si continutul panourilor */
.fly-corp { padding: 16px 18px 18px; }
.fly-produs {
  margin: 0 0 12px; padding: 8px 11px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-2);
}
.fly-produs strong { color: var(--text); }

.fly-form { border-top: 1.5px solid var(--border); padding-top: 14px; }
.fly-form-clean { border-top: 0; padding-top: 0; }
.fly-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 11px; color: var(--text); }
.fly-form input[type=text],
.fly-form input[type=email],
.fly-form input[type=tel],
.fly-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 11px; font: inherit; font-size: 14.5px;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border-strong); border-radius: 9px;
}
.fly-form input:focus, .fly-form textarea:focus {
  outline: 2px solid transparent; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.fly-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fly-form .btn { width: 100%; text-align: center; cursor: pointer; font: inherit; font-weight: 700; min-height: 44px; }
.fly-fine { margin: 10px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* panoul mobil Produse (cautare + categorii) */
.fly-corp-prod { padding: 14px 16px 18px; display: grid; gap: 14px; }
.fly-corp-prod .side-box { padding: 0; border: 0; background: transparent; border-radius: 0; }
.fly-corp-prod .side-search { padding-bottom: 14px; border-bottom: 1.5px solid var(--border); }
.fly-corp-prod .side-cats a, .fly-corp-prod .side-sub a { min-height: 42px; }

/* Sub 980px dispare coloana din stanga, deci butonul „Produse" intra in bara plutitoare. */
@media (max-width: 980px) {
  .fly-b-prod { display: inline-flex; }
}

/* Pe telefon bara sta lipita jos, pe toata latimea, cu 3 butoane clare (Produse, Solicitare oferta, Contact). */
@media (max-width: 620px) {
  .fly { right: 0; left: 0; bottom: 0; align-items: stretch; gap: 0; }
  .fly-bara {
    border-radius: 0; border-left: none; border-right: none; border-bottom: none;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); gap: 6px;
  }
  .fly-b {
    flex: 1 1 0; flex-direction: column; justify-content: center; gap: 3px;
    padding: 7px 4px; min-height: 54px; border-radius: 10px;
    font-size: 11.5px; line-height: 1.15;
  }
  .fly-panel {
    width: auto; max-width: none; border-radius: 14px 14px 0 0;
    border-left: none; border-right: none; border-bottom: none;
    max-height: calc(100dvh - 86px);
  }
  .fly-doi { grid-template-columns: 1fr; gap: 0; }
  /* Bara acopera subsolul; ii facem loc, ca ultimele linkuri sa ramana atinse. */
  body { padding-bottom: 76px; }
}

/* §24 nota de confidentialitate */
.nota-conf {
  display: flex; align-items: flex-start; gap: 11px;
  margin: 22px 0 0; padding: 14px 16px;
  background: var(--accent-soft); border: 1.5px solid var(--accent); border-radius: 12px;
  color: var(--text); font-size: 15px;
}
.nota-conf .ico { flex: 0 0 auto; color: var(--accent); margin-top: 3px; }

/* §25 filmuletele produsului (YouTube)
   Cadrul pastreaza raportul 16:9 fara sa asteptam raspunsul de la YouTube, deci pagina nu mai sare
   sub ochii omului cand se incarca filmuletul. */
.video { margin: 26px 0 0; }
.video h2 { margin: 0 0 12px; }
.video-cadru {
  position: relative; aspect-ratio: 16 / 9; max-width: 860px;
  border: 1.5px solid var(--border-strong); border-radius: 12px; overflow: hidden;
  background: #26272b; margin: 0 0 14px;
}
.video-cadru iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* §26 iconurile de socializare (Facebook, Instagram, TikTok)
   Aceleasi trei semne in trei locuri: bara de sus, subsol si pagina de Contact, unde sunt mai mari.
   Adresele vin din Setari; una goala inseamna ca iconul nu se scrie deloc in pagina. */
.soc { display: flex; align-items: center; gap: 10px; }
.soc a { display: inline-flex; color: inherit; opacity: .85; transition: opacity .15s, transform .15s; }
.soc a:hover { opacity: 1; transform: translateY(-1px); }
.site-head .soc { margin-left: auto; gap: 8px; color: #e2e6f0; }
.site-head .soc a {
  width: 34px; height: 34px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  opacity: 1; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.site-head .soc a svg { width: 17px; height: 17px; }
.site-head .soc a:hover { background: #c91e3a; border-color: #c91e3a; color: #ffffff; transform: translateY(-1px); }
.soc-foot { margin: 12px 0 0; color: #fff; }
.soc-mare { gap: 14px; margin: 4px 0 18px; color: var(--accent); }
.soc-mare svg { width: 30px; height: 30px; }

/* §27 randul de jos: dreptul de autor si cele doua legaturi obligatorii prin lege (ANPC SAL + SOL),
   toate la stanga. Marja din dreapta le tine departe de butoanele plutitoare de oferta si contact. */
.site-foot .fine { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-right: 340px; }
@media (max-width: 800px) { .site-foot .fine { padding-right: 0; padding-bottom: 60px; } }
.site-foot .fine .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot .fine .legal a { display: inline-block; padding: 0; text-decoration: underline; }
/* Pictogramele ANPC: inaltime fixa, latimea urmeaza proportia. Fundal alb rotunjit, fiindca
   siglele sunt desenate pe alb si pe subsolul inchis s-ar vedea marginile. */
.site-foot .fine .legal a:has(img) { text-decoration: none; }
.site-foot .fine .legal img { display: block; height: 26px; width: auto; border-radius: 3px; background: #fff; }

/* §28 adresa din subsol duce la harta (cerinta clientei, 8 septembrie 2026).
   Se vede ca legatura: subliniata subtire, fara sa strige. */
.site-foot .foot-adr {
  display: block; margin: 6px 0 0; opacity: .85;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35);
}
.site-foot .foot-adr:hover { opacity: 1; text-decoration-color: currentColor; }

/* §29 prima pagina: categorii pe sub-sectiuni, latime intreaga, aerisite (_categorii-home.php) */
.cat-home-sec { padding: 48px 0 56px; }

.cat-home-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 24px;
  padding-bottom: 24px; border-bottom: 1.5px solid var(--border);
}
.cat-home-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.cat-home-title h2 { margin: 0; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.15; }

.cat-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-jump-b {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; min-height: 38px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  color: var(--text); font-size: 14px; font-weight: 600;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.cat-jump-b em {
  font-style: normal; font-size: 12px; font-weight: 700;
  padding: 1px 7px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-variant-numeric: tabular-nums;
}
.cat-jump-b:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-soft); text-decoration: none;
}
.cat-jump-b:hover em { background: var(--accent); color: var(--on-accent); }

.cat-home-search {
  display: flex; align-items: center; flex: 0 1 280px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: 999px;
  padding: 3px 4px 3px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.cat-home-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cat-home-search input {
  flex: 1 1 auto; min-width: 0; border: 0; background: transparent;
  color: var(--text); font: inherit; font-size: 14px; padding: 6px 6px 6px 0; outline: none;
}
.cat-home-search button {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent); cursor: pointer;
}
.cat-home-search button:hover { background: var(--accent-hover); }

.cat-grup { margin-top: 40px; scroll-margin-top: 76px; }
.cat-grup:first-of-type { margin-top: 32px; }
.cat-grup-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 18px;
}
.cat-grup-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.cat-grup-meta h3 { margin: 0; font-size: 21px; line-height: 1.25; }
.cat-grup-sub { font-size: 14.5px; color: var(--text-2); }
.cat-grup-all {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap;
}
.cat-grup-all:hover { color: var(--accent-hover); text-decoration: none; }

/* Grila aerisita pe latime intreaga: 3 carduri/rand pentru 6 game; bento 2+3 pentru 5 game (fara spatii goale). */
.cat-grid-home { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cat-grid-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cat-grid-bento .cat-hcard { grid-column: span 2; }
.cat-grid-bento .cat-hcard-wide { grid-column: span 3; }

.cat-hcard { position: relative; }
.cat-hcard .ph { aspect-ratio: 4 / 3; padding: 14px; }
.cat-hcard-wide .ph { aspect-ratio: 16 / 10; padding: 16px; }
.cat-hcard-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(201, 30, 58, .35);
}
.cat-hcard .body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.cat-hcard-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cat-hcard h4 { margin: 0; font-size: 17px; line-height: 1.3; color: var(--text); }
.cat-hcard-n {
  flex: 0 0 auto; font-size: 12.5px; font-weight: 700;
  padding: 2px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-2); font-variant-numeric: tabular-nums;
}
.cat-hcard:hover .cat-hcard-n { background: var(--accent-soft); color: var(--accent); }
.cat-hcard-d { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }

/* Sub-sectiunea 3: banda orizontala curata pentru Matrite CNC */
.cat-tech {
  margin-top: 44px; scroll-margin-top: 76px;
  display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 26px; align-items: center;
  padding: 20px 24px; border-radius: 14px;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  box-shadow: 0 10px 28px rgba(16, 20, 32, .06);
}
.cat-tech-ph {
  position: relative;
  aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 10px;
  background: radial-gradient(circle at 50% 30%, #f8f9fc 0%, #e7ebf3 100%);
  border: 1px solid var(--border);
}
.cat-tech-ph img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  border-radius: 8px; border: 3px solid #ffffff;
  outline: 1px solid rgba(28, 34, 52, .12);
  box-shadow: 0 6px 16px rgba(18, 24, 40, .14);
}
@media (prefers-color-scheme: dark) {
  .cat-tech-ph { background: radial-gradient(circle at 50% 30%, #262b38 0%, #191c24 100%); }
  .cat-tech-ph img { border-color: #2f3545; outline-color: rgba(255, 255, 255, .14); box-shadow: 0 8px 18px rgba(0, 0, 0, .4); }
}
.cat-tech-body h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.cat-tech-body p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 52ch; }
.cat-tech-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cat-tech-btns .btn { cursor: pointer; font-family: inherit; font-size: 14.5px; padding: 11px 18px; white-space: nowrap; }

@media (max-width: 980px) {
  .cat-home-sec { padding: 34px 0 42px; }
  .cat-home-search { flex: 1 1 100%; }
  .cat-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cat-grid-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid-bento .cat-hcard, .cat-grid-bento .cat-hcard-wide { grid-column: auto; }
  .cat-grid-bento .cat-hcard-wide:first-child { grid-column: 1 / -1; }
  .cat-tech { grid-template-columns: 160px minmax(0, 1fr); gap: 18px; }
  .cat-tech-btns { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .cat-grup-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cat-tech { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .cat-tech-ph { max-height: 180px; }
}
/* Pe telefon cardurile sunt randuri orizontale curate si compacte. */
@media (max-width: 560px) {
  .cat-grid-home, .cat-grid-bento { grid-template-columns: 1fr; gap: 10px; }
  .cat-grid-bento .cat-hcard-wide:first-child { grid-column: auto; }
  .cat-hcard { flex-direction: row; align-items: stretch; }
  .cat-hcard .ph, .cat-hcard-wide .ph {
    flex: 0 0 118px; width: 118px; aspect-ratio: auto; min-height: 90px;
    padding: 8px; border-bottom: 0; border-right: 1px solid var(--border);
  }
  .cat-hcard .ph::before { inset: 4px; border-radius: 7px; }
  .cat-hcard .ph img { padding: 0; border-width: 2px; border-radius: 7px; box-shadow: 0 4px 10px rgba(18, 24, 40, .14); }
  .cat-hcard-tag { top: 5px; left: 5px; padding: 2px 6px; font-size: 9.5px; }
  .cat-hcard .body { flex: 1 1 auto; min-width: 0; padding: 10px 12px; justify-content: center; }
  .cat-hcard h4 { font-size: 15px; }
  .cat-hcard-d { font-size: 13px; line-height: 1.35; }
  .cat-tech-btns .btn { width: 100%; text-align: center; }
}

/* §30 prima pagina: „Ultimele ambalaje produse" (_ultimele-produse.php) + subtitlu categorii */
.cat-home-sub { margin: 4px 0 0; font-size: 14.5px; color: var(--text-2); }
.cat-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-single { margin-top: 28px; }

.latest-sec {
  padding: 48px 0 56px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.latest-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px;
  margin-bottom: 26px;
}
.latest-head h2 { margin: 0; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.18; }
.latest-sub { margin: 5px 0 0; font-size: 15px; color: var(--text-2); max-width: 60ch; }

.latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.latest-card { position: relative; }
.latest-card .ph { aspect-ratio: 4 / 3; padding: 12px; }
.latest-code {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(20, 22, 29, .82); color: #f4f6fa;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  backdrop-filter: blur(4px);
}
.latest-card .body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; }
.latest-cat {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--accent);
}
.latest-card h3 {
  margin: 0; font-size: 15px; line-height: 1.32; font-weight: 700; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 1100px) {
  .latest-grid, .cat-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 760px) {
  .latest-sec { padding: 36px 0 44px; }
  .latest-grid, .cat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .latest-card .ph { padding: 8px; }
  .latest-card .body { padding: 10px 11px 12px; }
  .latest-card h3 { font-size: 14px; }
}

/* §31 SEO/GEO: H1 curat pe catalog/pagina + blocuri FAQ semantice (<details>/<summary>) */
.cat-h1 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; }
.seo-faq {
  margin-top: 38px; padding-top: 26px;
  border-top: 1.5px solid var(--border);
}
.seo-faq h2 { margin: 0 0 14px; font-size: 20px; }
.seo-faq details, .prose details.seo-qa {
  margin: 0 0 10px; padding: 13px 16px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
}
.seo-faq summary, .prose details.seo-qa summary {
  cursor: pointer; font-weight: 700; color: var(--text); list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.seo-faq summary::after, .prose details.seo-qa summary::after {
  content: "+"; font-size: 18px; line-height: 1; color: var(--accent); flex: 0 0 auto;
}
.seo-faq details[open] summary::after, .prose details.seo-qa[open] summary::after { content: "−"; }
.seo-faq details p, .prose details.seo-qa p { margin: 10px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.prose h2 { margin: 28px 0 10px; font-size: 21px; line-height: 1.25; }
