/* =============================================================
   Lemn Plus — stiluri (temă închisă, inspirată de enipau.ro)
   ============================================================= */
:root {
  --bg: #000000;
  --bg-soft: #0c0c0d;
  --surface: #17191c;
  --surface-2: #212429;
  --ink: #ffffff;
  --ink-soft: #b9b2aa;
  --ink-mute: #8a847d;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .35);
  --accent: #b9714a;
  --accent-hover: #a2613e;
  --price: #e6b981;
  --ok: #7fbf6a;
  --wa: #25d366;
  --invert: #ffffff;
  --invert-ink: #000000;
  --header-bg: rgba(0, 0, 0, .88);
  --header-solid: #000000;
  --topbar-bg: #141414;
  --topbar-ink: #ffffff;
  --footer-bg: #0e0f11;
  --bar-bg: rgba(18, 19, 22, .96);
  --ok-bg: rgba(127, 191, 106, .14);
  --ok-ink: #bfe3b2;
  --warn-bg: rgba(230, 185, 129, .13);
  --warn-ink: #f0d3ab;
  --map-filter: grayscale(1) invert(.92) contrast(.9);
  --radius: 16px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--ink-soft); }
.note { font-size: .8rem; color: var(--ink-mute); }
.empty { padding: 40px 0; color: var(--ink-soft); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.link-arrow::before { content: "↗"; font-size: 1.05rem; }
.link-arrow:hover { color: var(--price); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 600 .88rem var(--font); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--invert); color: var(--invert-ink); border-color: var(--invert); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #06301a; }
.btn-wa:hover { background: #1fb957; border-color: #1fb957; color: #06301a; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
#site-header { display: contents; }
.topbar { background: var(--topbar-bg); color: var(--topbar-ink); font-size: .8rem; font-weight: 500; text-align: center; padding: 8px 16px; }
.topbar b { color: var(--price); font-weight: 600; }

.navbar { background: var(--header-bg); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s; }
.scrolled .navbar { border-color: var(--line); }
.navbar-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.logo-text { font-size: 1.65rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.logo-text b { color: var(--accent); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; text-decoration: none; font-weight: 500; font-size: .86rem; color: var(--ink-soft); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cart { margin-left: 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; }
.nav .nav-cart:hover { background: var(--invert); color: var(--invert-ink); }
.cart-count { background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
.cart-count[hidden] { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .nav-cart { margin: 16px 0 0; justify-content: center; border-bottom: 1px solid var(--line-strong); }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Imagini / texturi ---------- */
.media { position: relative; overflow: hidden; background: var(--surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.92) 100%); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding: 120px 0 clamp(48px, 7vw, 88px); }
.hero h1 { margin: 0; font-weight: 600; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.hero-side p { color: #e9e3dc; font-size: 1.05rem; max-width: 420px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Declarație centrată ---------- */
.statement { text-align: center; max-width: 820px; margin-inline: auto; }
.statement h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.statement p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Bandă imagine full-width ---------- */
.strip { height: clamp(260px, 38vw, 520px); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Secțiune asimetrică ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-text p { color: var(--ink-soft); }
.split-text h2 { margin: 40px 0 32px; }
.split-small { width: min(320px, 70%); aspect-ratio: 4 / 3; border-radius: 4px; margin-top: 24px; }
.split-tall { aspect-ratio: 3 / 4; border-radius: 4px; }
.split-tall picture { display: contents; }
.split-tall img { object-position: center 80%; } /* poza din „Despre”: subiectul (ex: cabana) e de obicei jos */
.split-right p { color: var(--ink-soft); margin-top: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-tall { aspect-ratio: 4 / 3; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.stats div { background: var(--bg); padding: 22px 18px; }
.stats b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--price); line-height: 1.1; }
.stats span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Carduri produs ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: background .2s; }
.card:hover { background: var(--surface-2); }
.card:hover .media img { transform: scale(1.05); }
.card .media { aspect-ratio: 4 / 3; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.card-cat { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.card-body h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.card-dims { font-size: 1rem; color: var(--ink-soft); display: block; }
.card-price { margin: 14px 0 16px; }
.card .btn { margin-top: auto; width: 100%; }
.price { color: var(--ink-soft); font-size: .85rem; }
.price strong { color: var(--price); font-size: 1.2rem; font-weight: 700; }
.price-request { color: var(--ok); font-weight: 600; }
.price-big strong { font-size: 2.2rem; }

/* ---------- Carduri categorie (titlu sus, imagine jos) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.cat-tile-head { padding: 22px 20px; text-align: center; }
.cat-tile-head h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.cat-tile-head p { margin: 4px 0 0; font-size: .8rem; color: var(--ink-mute); }
.cat-tile .media { aspect-ratio: 16 / 11; }
.cat-tile:hover .media img { transform: scale(1.05); }

.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.heading-row h2 { margin: 0; }

/* ---------- Pași ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step b { display: block; font-size: .8rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- CTA cu imagine ---------- */
.cta { position: relative; overflow: hidden; border-radius: 4px; }
.cta > .media { position: absolute; inset: 0; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 12, 5, .72) 0%, rgba(20, 12, 5, .5) 60%, rgba(20, 12, 5, .38) 100%); }
.cta > .media img { object-position: center 55%; }
.cta-in h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.cta-in { position: relative; z-index: 1; text-align: center; padding: clamp(56px, 9vw, 110px) 24px; max-width: 720px; margin: 0 auto; }
.cta-in p { color: #e9e3dc; }
.cta .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Cap de pagină (subpagini) ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-head p { color: var(--ink-soft); max-width: 600px; margin-inline: auto; }

/* ---------- Pagina produse ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin: 24px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { border: 1px solid var(--line); background: transparent; padding: 9px 18px; border-radius: 999px; font: 500 .84rem var(--font); cursor: pointer; color: var(--ink-soft); transition: .2s; }
.tabs button:hover { border-color: var(--line-strong); color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--invert); border-color: var(--invert); color: var(--invert-ink); }
.search { position: relative; }
.search input { padding: 11px 18px 11px 42px; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-size: .88rem; width: 280px; max-width: 100%; background: var(--surface); color: var(--ink); }
.search::before { content: ""; position: absolute; left: 17px; top: 50%; width: 12px; height: 12px; border: 1.5px solid var(--ink-soft); border-radius: 50%; transform: translateY(-60%); }
.search::after { content: ""; position: absolute; left: 28px; top: 58%; width: 6px; height: 1.5px; background: var(--ink-soft); transform: rotate(45deg); }
@media (max-width: 520px) { .search, .search input { width: 100%; } }

/* ---------- Pagina produs ---------- */
.crumbs { font-size: .8rem; color: var(--ink-mute); padding: 20px 0; margin-bottom: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-media { border-radius: var(--radius); aspect-ratio: 4 / 3; position: sticky; top: 100px; background: var(--surface); }
/* caseta are 4:3, ca pozele decupate (fundal crem) — ele încap exact; orice altă poză
   (ex: reală, din curte) se arată întreagă, fără să i se taie marginile */
.product-media img { object-fit: contain; }
/* setarea „Încadrarea pozelor” din panou */
.product-media.fit-umple img { object-fit: cover; }
.product-media.fit-intinsa img { object-fit: fill; }
.product-info h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 8px 0 20px; }
.meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 36px; margin: 0 0 24px; }
.meta dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mute); }
.meta dd { margin: 0; font-weight: 600; font-size: .92rem; }
.product-price { padding: 22px 0 4px; border-top: 1px solid var(--line); }
.order-box { background: var(--surface); border-radius: var(--radius); padding: 24px; margin: 20px 0 28px; }
.order-box label { font-weight: 600; font-size: .85rem; display: block; margin-bottom: 10px; }
.qty-row { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty-row input { width: 90px; text-align: center; border: 0; font: 600 1.05rem var(--font); background: transparent; color: var(--ink); -moz-appearance: textfield; }
.qty-row input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { width: 46px; height: 46px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty-btn:hover { background: var(--surface-2); }
.estimate { margin: 16px 0 0; color: var(--ink-soft); font-size: .92rem; }
.order-box .btn-row { margin-top: 20px; } /* distanța față de cantitate, și când totalul e ascuns (preț la cerere) */
.estimate strong { color: var(--ink); font-size: 1.25rem; }
.product-desc { color: var(--ink-soft); }
.specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.specs li { padding-left: 24px; position: relative; font-size: .88rem; }
.specs li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 5px; border-left: 2px solid var(--price); border-bottom: 2px solid var(--price); transform: rotate(-45deg); }
.related { margin: 96px 0 24px; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-media { position: static; aspect-ratio: 4 / 3; }
  .specs { grid-template-columns: 1fr; }
}

/* ---------- Cerere (coș) ---------- */
.quote-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; padding: 24px 0 96px; }
.cart { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 12px 16px 12px 12px; }
.cart-media { width: 76px; height: 76px; border-radius: 10px; }
.cart-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-info a { text-decoration: none; font-weight: 600; }
.cart-info .price strong { font-size: .95rem; }
.cart-qty { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-soft); }
.cart-qty input { width: 78px; padding: 9px; border: 1px solid var(--line-strong); border-radius: 10px; font: 600 .95rem var(--font); text-align: center; background: transparent; color: var(--ink); }
.cart-line { font-weight: 700; min-width: 92px; text-align: right; }
.cart-remove { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--ink-soft); }
.cart-remove:hover { border-color: #e07a5f; color: #e07a5f; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 22px 4px 8px; border-top: 1px solid var(--line-strong); margin-top: 22px; }
.cart-total span { color: var(--ink-soft); font-size: .9rem; }
.cart-total strong { font-size: 2rem; color: var(--price); }
@media (max-width: 1100px) { .quote-layout { grid-template-columns: 1fr; } .quote-layout .form-card { position: static; } }
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 12px; }
  .cart-media { width: 60px; height: 60px; }
  .cart-qty { grid-column: 2; }
  .cart-line { grid-column: 3; grid-row: 2; }
  .cart-remove { grid-column: 3; grid-row: 1; justify-self: end; }
}

/* ---------- Formulare ---------- */
.form-card { background: var(--surface); border-radius: 20px; padding: clamp(22px, 4vw, 36px); position: sticky; top: 100px; }
.form-card h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .92rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--ink);
}
.field select option { background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus, .qty-row input:focus, .search input:focus, .cart-qty input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--ink-soft); grid-column: 1 / -1; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-card .btn[type=submit] { width: 100%; margin-top: 20px; }
.form-status { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; font-size: .88rem; }
.form-status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.form-status.warn { background: var(--warn-bg); color: var(--warn-ink); }
.form-status a { color: var(--ink); }
.form-status .btn { margin-top: 10px; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } .form-card { position: static; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 24px 0 96px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { color: var(--ink-mute); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--price); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); filter: var(--map-filter); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .contact-layout .form-card { position: static; } }

/* ---------- Footer ---------- */
footer { background: var(--footer-bg); color: var(--ink-soft); padding-top: 64px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-top p { margin: 0; color: var(--ink); font-weight: 600; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.footer-grid h4 { color: var(--ink); font-size: .9rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .82rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0; font-size: .78rem; color: var(--ink-mute); }
.footer-bottom a { text-decoration: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Butoane flotante ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); transition: transform .15s; }
.fab a:hover { transform: scale(1.07); }
.fab svg { width: 27px; height: 27px; fill: #fff; }
.fab-wa { background: var(--wa); }
.fab-tel { background: var(--accent); }
.fab-tel svg { width: 23px; height: 23px; }

/* ---------- Apariție la scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .media img { transition: none; } }

.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--price); margin-bottom: 12px; }

/* ---------- Logo (imagine) ---------- */
.logo img { height: 40px; width: auto; display: block; }
.logo-footer img { width: 170px; height: auto; display: block; }
@media (max-width: 900px) { .logo img { height: 34px; } }
@media (max-width: 380px) { .logo img { height: 30px; } }
@media (max-width: 600px) { .logo-footer img { width: 140px; } }

/* =============================================================
   VARIANTA LUMINOASĂ (butonul lună/soare din header)
   ============================================================= */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --surface: #f3efe8;
  --surface-2: #e9e3d9;
  --ink: #1b1713;
  --ink-soft: #5c544b;
  --ink-mute: #8a8177;
  --line: rgba(0, 0, 0, .1);
  --line-strong: rgba(0, 0, 0, .28);
  --price: #a2602b;
  --ok: #3f7d2c;
  --invert: #1b1713;
  --invert-ink: #ffffff;
  --header-bg: rgba(255, 255, 255, .9);
  --header-solid: #ffffff;
  --topbar-bg: #1b1713;
  --topbar-ink: #ffffff;
  --footer-bg: #f3efe8;
  --bar-bg: rgba(255, 255, 255, .96);
  --ok-bg: rgba(63, 125, 44, .1);
  --ok-ink: #2d5a20;
  --warn-bg: rgba(162, 96, 43, .1);
  --warn-ink: #7a4a1c;
  --map-filter: grayscale(.3);
}
:root[data-theme="light"] .topbar b { color: #e6b981; }
:root[data-theme="light"] .fab a { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
:root[data-theme="light"] .card, :root[data-theme="light"] .cat-tile { box-shadow: 0 1px 2px rgba(0,0,0,.04); }

/* Text peste imagini întunecate rămâne alb în ambele variante */
.hero, .cta { color: #fff; }
.hero .btn:not(.btn-wa):not(.btn-primary), .cta .btn:not(.btn-wa):not(.btn-primary) { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn:not(.btn-wa):not(.btn-primary):hover, .cta .btn:not(.btn-wa):not(.btn-primary):hover { background: #fff; color: #000; border-color: #fff; }

/* Trecere lină între variante */
body, .navbar, .topbar, footer, .card, .cat-tile, .form-card, .order-box, .field input, .field select, .field textarea {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* ---------- Butonul lună/soare ---------- */
.nav-actions { display: flex; align-items: center; gap: 4px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  margin-left: 10px; transition: background .2s, color .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--invert); color: var(--invert-ink); border-color: var(--invert); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Iconița arată varianta în care treci: soare pe negru, lună pe alb */
.theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
@media (max-width: 900px) { .theme-toggle { margin-left: 0; } }
@media (min-width: 901px) { .navbar-in .nav { margin-left: auto; } }

/* Imagini diferite pentru varianta albă / neagră (se descarcă doar cea vizibilă) */
.only-light { display: none !important; }
:root[data-theme="light"] .only-light { display: block !important; }
:root[data-theme="light"] .only-dark { display: none !important; }

/* Varianta albă: lemn deschis, umbră caldă (maro) doar cât să se citească textul */
:root[data-theme="light"] .hero::after {
  background: linear-gradient(180deg, rgba(60, 34, 12, .08) 0%, rgba(60, 34, 12, .22) 45%, rgba(48, 26, 8, .68) 100%);
}
:root[data-theme="light"] .hero h1, :root[data-theme="light"] .hero-side p { text-shadow: 0 1px 18px rgba(40, 20, 5, .35); }
:root[data-theme="light"] .cta::after { background: rgba(52, 30, 10, .55); }

/* ---------- Galerie produs (miniaturi) ---------- */
.gallery { position: sticky; top: 100px; display: grid; gap: 12px; min-width: 0; }
.gallery .product-media { position: static; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--surface-2); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }
@media (max-width: 860px) { .gallery { position: static; } }
@media (max-width: 600px) { .thumbs { padding: 0 2px; } .thumb { width: 72px; height: 56px; } }

/* =============================================================
   PRIMA PAGINĂ: meniu de categorii (stânga) + slider (dreapta)
   ============================================================= */
/* înălțimea minimă e a sliderului; dacă sunt multe categorii, zona crește și sliderul se întinde odată cu meniul */
.home-top { display: grid; grid-template-columns: 270px 1fr; gap: 20px; margin-top: 24px; min-height: clamp(420px, 38vw, 520px); }

.cat-menu { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 18px 10px 10px; min-height: 0; }
.cat-menu-title { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin: 0 12px 8px; }
.cat-menu-list { display: flex; flex-direction: column; flex: 1 0 auto; }
.cm-link {
  display: grid; grid-template-columns: 1fr 16px; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background .15s, color .15s;
}
.cm-item + .cm-item .cm-link { border-top: 1px solid var(--line); }
.cm-link:hover, .cm-item:hover > .cm-link, .cm-item:focus-within > .cm-link { background: var(--surface-2); color: var(--price); }
.cm-item:hover + .cm-item .cm-link { border-top-color: transparent; }
/* numele categoriilor din meniu: cu litere mari */
.cm-name { text-transform: uppercase; letter-spacing: .04em; font-size: .88rem; }
.cm-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; transition: transform .15s, opacity .15s; }
.cm-item:hover .cm-arrow { opacity: 1; transform: translateX(3px); }
.cat-menu-all { margin: 8px 2px 0; padding: 12px; border-radius: 10px; text-align: center; font-weight: 600; font-size: .88rem; text-decoration: none; background: var(--accent); color: #fff; }
.cat-menu-all:hover { background: var(--accent-hover); }

.hslider { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); color: #fff; min-height: 0; }
.hs-track, .hs-slide { position: absolute; inset: 0; }
.hs-slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hs-slide.active { opacity: 1; visibility: visible; }
.hs-slide picture { display: contents; } /* poza de telefon (opțională) */
.hs-slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center; } /* subiectul pozei stă în dreapta, textul în stânga */
.hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 12, 5, .78) 0%, rgba(20, 12, 5, .45) 45%, rgba(20, 12, 5, .05) 80%); }
.hs-text { position: absolute; z-index: 1; left: 80px; right: 28%; top: 50%; transform: translateY(-50%); }
.hs-text h1, .hs-text h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.9rem); font-weight: 700; line-height: 1.1; margin: 0 0 14px; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.hs-text p { color: #efe7dc; font-size: 1.02rem; max-width: 400px; margin-bottom: 22px; }
.hslider.ready .hs-slide.active .hs-text { animation: hsIn .7s ease both; }
@keyframes hsIn { from { opacity: 0; transform: translateY(calc(-50% + 14px)); } to { opacity: 1; transform: translateY(-50%); } }

.hs-btn { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.hs-btn:hover { background: rgba(0, 0, 0, .55); }
.hs-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }
.hs-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.hs-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.hs-dots button[aria-current="true"] { width: 26px; background: #fff; }
.hslider.single .hs-btn, .hslider.single .hs-dots { display: none; }
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } .hs-slide.active .hs-text { animation: none; } }

/* ---------- Prezentare + avantaje (sub slider) ---------- */
.intro-sec { padding: clamp(48px, 6vw, 80px) 0 0; }
.intro { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.intro-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.intro-text p { color: var(--ink-soft); font-size: 1rem; margin: 0; max-width: 460px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 20px; }
.benefit h3 { font-size: .98rem; margin: 2px 0 4px; }
.benefit p { font-size: .84rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.b-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.b-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Curs valutar BNR ---------- */
.topbar-in { display: flex; justify-content: center; align-items: center; gap: 24px; position: relative; }
.fx { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx[hidden] { display: none; }
.fx b { font-weight: 700; color: var(--price); margin-right: 2px; }
.fx-label { opacity: .7; }
.fx-top { position: absolute; right: 0; color: var(--topbar-ink); }
:root[data-theme="light"] .fx-top b { color: #e6b981; }
.fx-foot { color: var(--ink-mute); }

/* =============================================================
   BARA DE SUS (informații): program · rețele · curs · telefon
   ============================================================= */
.topbar { background: linear-gradient(90deg, #8b5530 0%, #5c3720 45%, #2f1d11 100%); color: #fff; padding: 0; text-align: left; font-size: .92rem; }
:root[data-theme="light"] .topbar { background: linear-gradient(90deg, #8b5530 0%, #5c3720 45%, #2f1d11 100%); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 54px; position: static; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tb-item b { font-weight: 600; color: #fff; }
.topbar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.topbar svg.fill { fill: currentColor; stroke: none; }
.topbar a { text-decoration: none; color: #fff; }
.tb-social > span { opacity: .85; }
.tb-social a { width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: background .2s; }
.tb-social a:hover { background: rgba(255, 255, 255, .3); }
/* telefonul sus, email-ul mic dedesubt */
.tb-contact { flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; }
.tb-mail { display: inline-flex; align-items: center; gap: 8px; font-size: .8em; opacity: .9; }
.tb-mail svg { width: 15px !important; height: 15px !important; margin: 0 2px; }
.tb-mail:hover span { text-decoration: underline; }
.tb-phone i { font-style: normal; }
.tb-phone { display: inline-flex; align-items: center; gap: 8px; }
.tb-phone:hover b { text-decoration: underline; }
.tb-sep { opacity: .45; }
.tb-wa { width: 32px; height: 32px; border-radius: 50%; background: #25d366; display: grid; place-items: center; transition: transform .15s; }
.tb-wa:hover { transform: scale(1.08); }
.tb-wa svg { width: 19px; height: 19px; }
.topbar .fx-top { position: static; color: rgba(255, 255, 255, .9); font-size: .92rem; }
.topbar .fx-top b { color: #f3c98f; }
.topbar .tb-item b, :root[data-theme="light"] .topbar .tb-item b { color: #fff; }

/* ---------- Panoul care apare la hover pe o categorie (desktop) ---------- */
.cm-sub { display: none; }
@media (min-width: 861px) and (hover: hover) {
  .cm-sub {
    display: block; position: absolute; z-index: 20; top: 0; left: 100%;
    width: 330px; min-height: 100%; padding-left: 10px;
    opacity: 0; visibility: hidden; transform: translateX(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .cm-item:hover > .cm-sub, .cm-item:focus-within > .cm-sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s;
  }
  .cm-sub-box {
    min-height: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18); padding: 14px; display: flex; flex-direction: column;
  }
  .cm-sub-title { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--price); text-decoration: none; padding: 6px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
  .cm-sub-link { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; }
  .cm-sub-link + .cm-sub-link { border-top: 1px solid var(--line); }
  .cm-sub-link small { font-weight: 500; font-size: .76rem; color: var(--ink-mute); white-space: nowrap; }
  .cm-sub-link em { display: block; font-style: normal; font-weight: 500; font-size: .75rem; color: var(--ink-mute); margin-top: 2px; }
  .cm-sub-link:hover { background: var(--surface); color: var(--price); }
  .cm-sub-link:hover + .cm-sub-link { border-top-color: transparent; }
  .cm-sub-all { margin-top: auto; padding: 12px 10px 4px; font-size: .84rem; font-weight: 600; color: var(--price); text-decoration: none; }
  .cm-sub-all:hover { text-decoration: underline; }
}

/* ---------- File sub produs: Descriere / Informații suplimentare ---------- */
.ptabs { margin-top: 64px; }
.ptabs-nav { display: flex; justify-content: center; gap: 32px; border-bottom: 1px solid var(--line); }
.ptabs-nav button {
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 14px 2px; font: 600 1rem var(--font); color: var(--ink-mute); cursor: pointer; transition: color .15s, border-color .15s;
}
.ptabs-nav button:hover { color: var(--ink); }
.ptabs-nav button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.ptabs-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.ptabs-panel { max-width: 940px; margin: 0 auto; padding: 30px 0 4px; }
.ptabs-panel p { color: var(--ink-soft); line-height: 1.75; }
.tab-h { font-size: 1.05rem; margin: 0 0 14px; }
.benefit-list { margin: 0 0 26px; padding-left: 20px; display: grid; gap: 10px; }
.benefit-list li::marker { color: var(--accent); }
.benefit-list b { color: var(--ink); }
.ptabs-panel .specs { margin-top: 20px; }
.info-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-table th, .info-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 240px; font-weight: 600; color: var(--ink); }
.info-table td { color: var(--ink-soft); }
.info-table tr:nth-child(odd) { background: var(--surface); }

/* =============================================================
   TRANZIȚII LINE
   ============================================================= */
/* Între pagini (Chrome, Edge, Safari): pagina se estompează lin, bara de sus și meniul rămân pe loc */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lpFadeOut .28s ease both; }
::view-transition-new(root) { animation: lpFadeIn .28s ease both; }
::view-transition-group(root) { animation-duration: .28s; }
@keyframes lpOut { to { opacity: 0; } }
@keyframes lpFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes lpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Browsere fără tranziții între pagini: conținutul apare lin la încărcare */
.no-vt main { animation: lpFadeIn .3s ease both; }

/* Filtrele din catalog */
#product-grid { transition: opacity .17s ease, transform .17s ease; }
#product-grid.is-swapping { opacity: 0; transform: translateY(6px); }

/* Galeria produsului */
.product-media img { transition: opacity .2s ease; }
.product-media img.is-fading { opacity: 0; }

/* Filele Descriere / Informații suplimentare */
.ptabs-panel:not([hidden]) { animation: lpIn .32s ease both; }

/* Reducerea animațiilor din setările sistemului */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .no-vt main, .ptabs-panel:not([hidden]) { animation: none; }
  #product-grid, .product-media img { transition: none; }
}

/* Elementele vizibile la deschiderea paginii apar direct (fără a doua animație) */
.reveal.no-anim { transition: none !important; }

/* ---------- Variante produs (ex: 4 / 6 / 8 persoane) — listă derulantă ---------- */
.select-wrap { position: relative; max-width: 440px; margin: 10px 0 22px; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 13px 48px 13px 20px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg); color: var(--ink); font: 600 .95rem var(--font);
  transition: border-color .2s;
}
.select-wrap select:hover { border-color: var(--accent); }
.select-wrap select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.select-wrap::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; pointer-events: none;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg);
}

/* ---------- Bara de derulare (dreapta): subțire, rotunjită, în culorile lemnului ---------- */
:root { --sb-thumb: #c9b39c; --sb-thumb-hover: #a2613e; --sb-track: #f3efe8; }
:root[data-theme="dark"] { --sb-thumb: #4a3a2e; --sb-thumb-hover: #b9714a; --sb-track: #121110; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) var(--sb-track); } /* Firefox */
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--sb-track); }
html::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 10px; border: 2px solid var(--sb-track); }
html::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }
html::-webkit-scrollbar-button { display: none; height: 0; }

/* ---------- Slide în stilul „Produs pe fundal crem”: text în stânga, produsul decupat în dreapta ---------- */
.hs-slide.hs-cream { background: #f3efe8; }
.hs-slide.hs-cream::after { display: none; }
.hs-slide.hs-cream img { position: absolute; top: 4%; right: 2%; width: 60%; height: 92%; object-fit: contain; }
/* „Produs mărit” (bifat din panou): produsul ocupă mai mult din slide */
.hs-slide.hs-cream.hs-zoom img { transform: scale(1.14); transform-origin: 92% 55%; }
.hs-cream .hs-text { right: 56%; }
.hs-cream .hs-text h1, .hs-cream .hs-text h2 { color: #1d1a17; text-shadow: none; }
.hs-cream .hs-text p { color: #5f564d; max-width: 320px; }
.hslider.on-cream .hs-btn { background: rgba(255, 255, 255, .7); border-color: rgba(29, 26, 23, .15); color: #1d1a17; }
.hslider.on-cream .hs-btn:hover { background: #fff; }
.hslider.on-cream .hs-dots button { background: rgba(29, 26, 23, .25); }
.hslider.on-cream .hs-dots button[aria-current="true"] { background: #b9714a; }
@media (max-width: 600px) {
  /* pe telefon, slide-urile cu poză: poza întreagă sus, textul dedesubt pe maro închis */
  .hs-slide:not(.hs-cream) { display: flex; flex-direction: column; background: #f3efe8; }
  .hs-slide:not(.hs-cream) .hs-text h1, .hs-slide:not(.hs-cream) .hs-text h2 { color: #1d1a17; text-shadow: none; }
  .hs-slide:not(.hs-cream) .hs-text p { color: #5f564d; }
  .hslider .hs-dots button { background: rgba(29, 26, 23, .25); }
  .hslider .hs-dots button[aria-current="true"] { background: #b9714a; }
  .hs-slide:not(.hs-cream)::after { display: none; }
  .hs-slide:not(.hs-cream) img { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
  .hs-slide:not(.hs-cream) .hs-text { position: static; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px 40px; } /* butonul jos, la fel ca pe slide-urile crem */
  /* poza puțin mai jos, textul mai compact */
  .hs-slide:not(.hs-cream) img { margin-top: 44px; }
  .hs-slide:not(.hs-cream) .hs-text h1, .hs-slide:not(.hs-cream) .hs-text h2 { margin-bottom: 6px; line-height: 1.12; }
  .hs-slide:not(.hs-cream) .hs-text p { line-height: 1.45; margin-bottom: 12px; }
  /* pe telefon: poza ocupă spațiul de sus, textul stă dedesubt, jos (nu se mai suprapun pe ecrane înguste) */
  .hs-slide.hs-cream { display: flex; flex-direction: column; }
  .hs-slide.hs-cream img { position: static; flex: 1 1 auto; min-height: 0; width: 100%; height: auto; padding: 12px 12px 0; object-fit: contain; transform: scale(1.18); transform-origin: center 45%; } /* produsul decupat are margini goale → îl mărim */
  .hs-cream .hs-text { position: static; flex: none; padding: 0 20px 40px; }
  .hs-cream .hs-text h2, .hs-cream .hs-text h1 { margin-bottom: 6px; }
  .hs-cream .hs-text p { margin-bottom: 12px; }
  .hslider.on-cream .hs-dots { bottom: 10px; }
}

/* ---------- Stoc epuizat (bifat din panou) ---------- */
.card { position: relative; }
.stock-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  background: #1d1a17; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card.sold-out .media img { opacity: .55; filter: grayscale(.5); }
.card.sold-out .card-price { opacity: .6; }
.stock-out { margin: 4px 0 18px; padding: 14px 16px; border-radius: 12px; background: #f6e3dc; color: #7a2e1a; font-size: .9rem; line-height: 1.45; }
.stock-out strong { display: block; font-size: 1rem; margin-bottom: 2px; }
:root[data-theme="dark"] .stock-out { background: #3a201a; color: #f3c2b2; }
.order-box.is-sold-out .btn-primary[disabled] { background: var(--ink-mute); border-color: var(--ink-mute); cursor: not-allowed; opacity: .8; }

/* ---------- Livrare: caseta de pe pagina produsului, nota din cerere, harta zonei ---------- */
.delivery { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.delivery h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 12px; }
.delivery ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.delivery li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.delivery li svg, .delivery-note svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.delivery b { display: block; font-size: .92rem; }
.delivery span { display: block; font-size: .84rem; color: var(--ink-soft); line-height: 1.45; }
.delivery-link { display: inline-block; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.delivery-link:hover { text-decoration: underline; }
.delivery-note { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: .88rem; }
.delivery-note p { margin: 0; color: var(--ink-soft); }
.delivery-note a { color: var(--accent); font-weight: 600; }
.delivery-zone { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding-bottom: 96px; scroll-margin-top: 110px; }
.delivery-zone h2 { margin: 6px 0 12px; }
.dz-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.dz-list li { padding-left: 18px; position: relative; color: var(--ink-soft); }
.dz-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.dz-list b { color: var(--ink); }
.delivery-map { height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--surface); z-index: 0; }
@media (max-width: 860px) { .delivery-zone { grid-template-columns: 1fr; gap: 20px; } .delivery-map { height: 320px; } }

/* Footer: datele de contact cu iconițe (telefon, email, Facebook, adresă) */
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact svg.fill { fill: var(--accent); stroke: none; }
.footer-contact .fc-addr { align-items: flex-start; }
.footer-contact .fc-addr svg { margin-top: 2px; }
.footer-contact .fc-addr em { font-style: normal; }

/* Bara de sus (calculator): Facebook în dreapta, lângă telefon și email */
@media (min-width: 601px) {
  .topbar-in { justify-content: flex-start; }
  .tb-program { order: 1; }
  .topbar .fx-top { order: 2; margin: 0 auto; }
  .tb-social { order: 3; margin-left: auto; }
  .tb-social > span { display: none; }
  .tb-contact { order: 4; margin-left: 16px; }
}

/* ---------- Slide „Banner”: imaginea are deja textul ei; pe calculator doar butonul, jos la mijloc ---------- */
@media (min-width: 601px) {
  .hs-slide.hs-banner::after { display: none; }
  .hs-slide.hs-banner img { object-position: center; }
  .hs-banner .hs-text { left: 50%; right: auto; top: auto; bottom: 44px; transform: translateX(-50%); text-align: center; }
  .hslider.ready .hs-slide.active.hs-banner .hs-text { animation: none; }
  .hs-banner .hs-text h1, .hs-banner .hs-text h2, .hs-banner .hs-text p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hs-banner .hs-text .btn { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); white-space: nowrap; }
}

/* Cursul BNR: pe laptop centrat în bara de sus; pe telefon și tabletă apare în footer */
@media (min-width: 1101px) {
  .topbar-in { position: relative; }
  .topbar .fx-top { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
  .fx-foot { display: none !important; }
}
.fx-foot { flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.fx-foot b { color: var(--accent); }

/* ---------- Variante cu culoare: butoane rotunde ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 22px; }
.swatch { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, box-shadow .2s; }
.swatch:hover { border-color: var(--accent); }
.swatch[aria-checked="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.swatch i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.swatch i.clear { background: repeating-linear-gradient(45deg, #f4ead9 0 5px, #e6d4b5 5px 10px); }
.swatch span { display: flex; flex-direction: column; line-height: 1.2; }
.swatch b { font-size: .92rem; font-weight: 600; }
.swatch small { font-size: .78rem; color: var(--ink-soft); }
.swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* butonul „Înapoi” de pe pagina produsului */
.back-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; margin: 16px 0 0; padding: 0; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.back-btn:hover { border-color: var(--accent); color: var(--accent); }
.back-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Catalog „Toate produsele”: grupat pe categorii ---------- */
#product-grid.grouped { display: block; }
.tip-tabs { margin-bottom: 28px; }
.cat-group + .cat-group { margin-top: 56px; }
.cat-group-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.cat-group-head h2, .cat-group-head h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.cat-group-head::after { content: ""; flex: 1; height: 1px; background: var(--price); opacity: .55; order: 1; }
.cat-group-head a, .cat-group-head .offers-until { order: 2; white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.cat-group-head a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .cat-group + .cat-group { margin-top: 40px; }
  .cat-group-head { gap: 12px; margin-bottom: 14px; }
  .cat-group-head h2, .cat-group-head h3 { font-size: 1rem; }
  .cat-group-head a { font-size: .74rem; }
}

/* titlul categoriei în stânga, negru, iar linia continuă spre dreapta */
.cat-group-head { gap: 16px; margin-bottom: 20px; }
.cat-group-head::before { display: none; }
.cat-group-head h2 { font-size: clamp(1rem, 1.7vw, 1.25rem); color: var(--ink); letter-spacing: .06em; }
@media (max-width: 600px) { .cat-group-head h2 { font-size: .9rem; } }

/* ---------- Oferta lunii (bifată din panou, la fiecare produs) ---------- */
.feat-block + .feat-block { margin-top: 48px; }
.cat-group-head .offers-until { color: var(--ink-soft); font-weight: 500; }
.cat-group-head .offers-until:empty { display: none; }
.offer-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #b5482a; color: #fff; font-size: 1rem; font-weight: 700;
}
.offer-tag { display: inline-block; margin: 2px 0 8px; padding: 5px 12px; border-radius: 999px; background: #b5482a; color: #fff; font-size: .8rem; font-weight: 700; }

/* „+ TVA” lângă prețurile care nu includ TVA */
.price-vat { color: var(--ink-soft); font-size: 1em; white-space: nowrap; }

/* Explicația pentru prețurile fără TVA (persoane fizice / taxare inversă) */
.vat-note { margin: 6px 0 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--surface-2, #f3efe8); border-radius: 8px; font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
