/* =====================================================================
   Hidrogarant — "Liquid Glass" design system (site public)
   Fara build: CSS simplu, variabile, mobile-first. Toate componentele
   site-ului sunt aici; paginile folosesc doar aceste clase.
   ===================================================================== */

:root {
    --brand: #fc8006;
    --brand-600: #e26f00;
    --brand-100: #fff1e2;
    --ink: #152229;
    --ink-2: #2b3d47;
    --muted: #5d6b74;
    --line: rgba(21, 34, 41, .10);
    --bg: #eef1f5;
    --ok: #12805c;
    --ok-bg: #e6f6ef;
    --err: #c0362c;
    --err-bg: #fdecea;
    --warn-bg: #fff6e5;

    --glass: rgba(255, 255, 255, .58);
    --glass-strong: rgba(255, 255, 255, .78);
    --glass-border: rgba(255, 255, 255, .65);
    --glass-dark: rgba(21, 34, 41, .62);
    --blur: saturate(170%) blur(18px);
    --shadow: 0 1px 0 rgba(255, 255, 255, .75) inset, 0 10px 30px -10px rgba(21, 34, 41, .18), 0 2px 6px rgba(21, 34, 41, .05);
    --shadow-lg: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -20px rgba(21, 34, 41, .30);

    --r-sm: 12px;
    --r: 20px;
    --r-lg: 28px;
    --pill: 999px;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Sora", "Manrope", system-ui, sans-serif;
    --wrap: 1240px;
    --gutter: 16px;
    --header-h: 64px;
}

@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
    background: var(--bg); min-height: 100vh; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-600); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(252, 128, 6, .55); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
.skip-link:focus { top: 12px; color: #fff; }

/* Fundalul "lichid": pete de culoare estompate pe care sticla le refracta */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: radial-gradient(circle, #ffd2a1, transparent 70%); }
.bg-orbs span:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: 20vh; background: radial-gradient(circle, #b9d6ee, transparent 70%); animation-delay: -8s; }
.bg-orbs span:nth-child(3) { width: 36vw; height: 36vw; left: 25vw; bottom: -14vw; background: radial-gradient(circle, #c9efe6, transparent 70%); animation-delay: -15s; }
@keyframes drift { to { transform: translate3d(4vw, 3vh, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .bg-orbs span, .liquid span { animation: none; } html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; padding-top: calc(var(--header-h) + 24px); }

/* ---------- Glass surfaces ---------- */
.glass {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow);
    position: relative;
}
.glass-strong { background: var(--glass-strong); }
.glass::before { /* reflexia "speculara" de sus */
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%);
    mask: linear-gradient(#000 0 0); opacity: .55;
}
.glass > * { position: relative; }
.glass-dark {
    background: var(--glass-dark); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 20px 40px -18px rgba(0,0,0,.45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(255,255,255,.94); }
    .glass-dark, .site-header .bar { background: rgba(21,34,41,.96); }
}
.card { padding: 22px; }
@media (min-width: 768px) { .card { padding: 30px; } }

/* ---------- Buttons ---------- */
.btn {
    --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 22px; border-radius: var(--pill); border: 1px solid transparent;
    font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap; line-height: 1.1;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
    text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary {
    color: #fff; background: linear-gradient(180deg, #ff9a35 0%, var(--brand) 55%, var(--brand-600) 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 10px 22px -8px rgba(252,128,6,.65);
}
.btn-primary:hover { color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 14px 28px -8px rgba(252,128,6,.75); transform: translateY(-1px); }
.btn-dark { color: #fff; background: linear-gradient(180deg, #2b3d47, var(--ink)); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -10px rgba(21,34,41,.6); }
.btn-dark:hover { color: #fff; transform: translateY(-1px); }
.btn-glass {
    color: var(--ink); background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.8);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow);
}
.btn-glass:hover { background: rgba(255,255,255,.8); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.btn-danger { color: var(--err); background: var(--err-bg); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 100; left: 0; right: 0; top: 0; padding: 10px var(--gutter) 0; transition: transform .3s ease; }
.site-header .bar {
    max-width: var(--wrap); margin: 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 12px;
    padding: 0 10px 0 18px; border-radius: 22px; color: #fff;
    background: rgba(21, 34, 41, .74); border: 1px solid rgba(255,255,255,.14);
    -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 40px -18px rgba(0,0,0,.5);
}
.site-header.is-scrolled .bar { background: rgba(21, 34, 41, .84); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 22px; width: auto; }
@media (min-width: 768px) { .brand img { height: 26px; } }
.nav { display: none; align-items: center; gap: 2px; margin-left: 18px; }
.nav > a, .nav .dd > button {
    color: rgba(255,255,255,.86); padding: 9px 14px; border-radius: var(--pill); font-weight: 600; font-size: .93rem;
    background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a.active, .nav .dd.open > button { color: #fff; background: rgba(255,255,255,.12); }
.nav > a.active { box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
    position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
    color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); cursor: pointer;
}
.icon-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-badge {
    position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
    box-shadow: 0 0 0 2px rgba(21,34,41,.9);
}
.cart-badge[data-count="0"] { display: none; }
.cart-badge.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.lang-btn { width: auto; padding: 0 10px; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; gap: 4px; display: inline-flex; }
.hide-mobile { display: none !important; }
@media (min-width: 1024px) {
    .nav { display: flex; }
    .burger { display: none !important; }
    .hide-mobile { display: inline-grid !important; }
}

/* Dropdown (catalog / limba / cont) */
.dd { position: relative; }
.dd-panel {
    position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px; padding: 8px; border-radius: 18px; z-index: 120;
    background: rgba(255,255,255,.86); color: var(--ink); border: 1px solid rgba(255,255,255,.9);
    -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel.right { left: auto; right: 0; }
.dd-panel a, .dd-panel button.link {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 600; font-size: .92rem;
    width: 100%; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink);
}
.dd-panel a:hover, .dd-panel button.link:hover, .dd-panel a.active { background: rgba(21,34,41,.06); color: var(--ink); }
.mega { width: min(860px, calc(100vw - 2 * var(--gutter))); padding: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; }
.mega h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 12px 4px; font-family: var(--font); }
.mega .mega-col { display: flex; flex-direction: column; }
.mega .mega-col a { padding: 6px 12px; font-weight: 600; }
.mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }

/* Meniul mobil (sertar) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 18, 22, .45); z-index: 140; opacity: 0; visibility: hidden; transition: .25s; }
.drawer {
    position: fixed; z-index: 150; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); padding: 18px; overflow-y: auto;
    background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px);
    border-left: 1px solid rgba(255,255,255,.9); transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
    display: flex; flex-direction: column; gap: 6px;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer a.d-link, .drawer summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer a.d-link:hover, .drawer summary:hover { background: rgba(21,34,41,.06); color: var(--ink); }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer .d-sub { padding: 0 0 6px 14px; display: grid; gap: 2px; }
.drawer .d-sub a { padding: 8px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-2); font-size: .94rem; }
.drawer .d-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.drawer .d-langs a { padding: 7px 12px; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 700; font-size: .8rem; }
.drawer .d-langs a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; padding: 46px 22px 30px;
    background: radial-gradient(120% 120% at 0% 0%, #2b3d47 0%, #152229 55%, #0d161b 100%);
    box-shadow: 0 30px 60px -30px rgba(13, 22, 27, .7);
}
@media (min-width: 768px) { .hero { padding: 80px 56px 56px; } }
.liquid { position: absolute; inset: 0; pointer-events: none; }
.liquid span { position: absolute; border-radius: 50%; filter: blur(40px); mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.liquid span:nth-child(1) { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(252,128,6,.75), transparent 65%); }
.liquid span:nth-child(2) { width: 380px; height: 380px; left: 30%; bottom: -220px; background: radial-gradient(circle, rgba(64,160,220,.45), transparent 65%); animation-delay: -6s; }
.liquid span:nth-child(3) { width: 260px; height: 260px; left: -60px; top: 40%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); animation-delay: -12s; }
.hero-inner { position: relative; display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.hero .eyebrow { color: #ffd2a1; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb469, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 46ch; }
.hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: rgba(255,255,255,.75); font-size: .9rem; }
.hero-stats b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.5rem; }

/* Cautarea dupa dimensiuni (d x D x H) - functia principala a magazinului */
.seal-search { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset; }
.seal-search h3 { color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.seal-search .grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seal-search .grid-fields .full { grid-column: 1 / -1; }
.seal-search label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); display: block; margin-bottom: 4px; }
.seal-search .input { background: rgba(255,255,255,.92); border-color: transparent; }
.seal-search .btn { margin-top: 12px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.section-head p { color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-600); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }

.grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid { gap: 22px; } }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid-cats { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .grid-cats { grid-template-columns: repeat(4, 1fr); } }

/* Card categorie / subcategorie */
.cat-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.cat-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: #e8edf2; border-radius: calc(var(--r) - 6px); margin: 6px; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .body { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-card .title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.cat-card .meta { color: var(--muted); font-size: .82rem; display: flex; justify-content: space-between; gap: 8px; margin-top: auto; }
.cat-card .go { color: var(--brand-600); font-weight: 700; }
.tag-sale { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--brand); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: var(--pill); box-shadow: 0 6px 14px -6px rgba(252,128,6,.8); }

/* Card "de ce noi" */
.feature { padding: 22px; display: flex; gap: 16px; align-items: flex-start; height: 100%; }
.feature .ico { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(160deg, #ffa24a, var(--brand-600)); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 18px -8px rgba(252,128,6,.7); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Bandou titlu pagina */
.page-hero { padding: 28px 22px; margin-bottom: 26px; }
@media (min-width: 768px) { .page-hero { padding: 40px 40px; } }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 6px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 70ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.label .req { color: var(--brand-600); }
.input, .select, .textarea {
    width: 100%; min-height: 48px; padding: 11px 16px; border-radius: 14px; border: 1px solid rgba(21,34,41,.14);
    background: rgba(255,255,255,.82); outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
    font-size: 16px; /* iOS: fara zoom la focus */
}
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152229' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(252,128,6,.16); background: #fff; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--err); }
.error-text { color: var(--err); font-size: .82rem; font-weight: 600; }
.help { color: var(--muted); font-size: .82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 2px; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 16px; margin-bottom: 18px; font-weight: 600; font-size: .94rem; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-info { background: var(--warn-bg); color: #8a5300; }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Filtre catalog ---------- */
.filters { padding: 16px; margin-bottom: 18px; }
.filters form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.filters .field { margin: 0; }
.filters .f-code { grid-column: 1 / -1; }
.filters .f-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.filters .f-actions .btn { flex: 1; }
@media (min-width: 900px) {
    .filters form { grid-template-columns: 2fr 1fr 1fr 1fr auto; }
    .filters .f-code, .filters .f-actions { grid-column: auto; }
    .filters .f-actions .btn { flex: none; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--pill); font-weight: 700; font-size: .85rem;
    background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.chip:hover, .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { opacity: .6; font-weight: 600; }

/* ---------- Tabel produse (devine carduri pe telefon) ---------- */
.ptable-wrap { padding: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.ptable th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 12px 14px; white-space: nowrap; }
.ptable td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.ptable tbody tr { transition: background .15s; }
.ptable tbody tr:hover { background: rgba(255,255,255,.55); }
.ptable .code { font-weight: 800; font-family: var(--font-display); letter-spacing: -.01em; word-break: break-word; }
.ptable .pimg { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: #e8edf2; }
.ptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .actions { text-align: right; white-space: nowrap; }
.qty-add { display: inline-flex; align-items: center; gap: 6px; }
.qty-add .input { width: 74px; min-height: 40px; padding: 6px 8px; text-align: center; border-radius: 12px; }
@media (max-width: 960px) {
    .ptable thead { display: none; }
    .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
    .ptable tr { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.62); margin-bottom: 10px; border: 1px solid rgba(255,255,255,.8);
        display: grid; grid-template-columns: 54px 1fr; gap: 4px 12px; }
    .ptable td { border: 0; padding: 2px 0; }
    .ptable td.c-img { grid-row: span 3; }
    .ptable td.c-code { align-self: center; }
    .ptable td[data-label]:not(.c-code):not(.c-img):not(.actions)::before { content: attr(data-label) ": "; color: var(--muted); font-size: .78rem; font-weight: 700; }
    .ptable td.actions { grid-column: 1 / -1; text-align: left; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
    .ptable td.hide-sm { display: none; }
}
.price { font-weight: 800; font-family: var(--font-display); color: var(--ink); white-space: nowrap; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85em; margin-right: 6px; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--pill); font-size: .74rem; font-weight: 800; background: rgba(21,34,41,.08); color: var(--ink-2); white-space: nowrap; }
.badge-sale { background: var(--brand-100); color: var(--brand-600); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: #e7f0fb; color: #1d5fa8; }

/* Galerie subcategorie */
.gallery { display: grid; gap: 10px; }
.gallery .main { aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; background: #e8edf2; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery .thumbs button { flex: none; width: 70px; height: 70px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #e8edf2; }
.gallery .thumbs button.active { border-color: var(--brand); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.split { display: grid; gap: 22px; }
@media (min-width: 960px) { .split { grid-template-columns: 420px 1fr; gap: 34px; align-items: start; } .split.wide-left { grid-template-columns: 1fr 380px; } }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }

/* Rich text din admin */
.prose { color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--ink); margin: 1.2em 0 .5em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose img { border-radius: 14px; }
.prose a { color: var(--brand-600); text-decoration: underline; }

/* FAQ / accordion */
.accordion details { border-radius: 18px; margin-bottom: 10px; overflow: hidden; }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-family: var(--font-display); position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; transition: transform .2s; }
.accordion details[open] summary::after { content: "–"; background: var(--brand); }
.accordion .answer { padding: 0 20px 20px; }

/* ---------- Cos / checkout ---------- */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-line:first-child { border-top: 0; }
.cart-line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #e8edf2; }
.cart-line .info { min-width: 0; }
.cart-line .info .code { font-weight: 800; font-family: var(--font-display); overflow-wrap: anywhere; }
.cart-line .controls { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (min-width: 700px) {
    .cart-line { grid-template-columns: 72px 1fr auto auto; }
    .cart-line .controls { grid-column: auto; justify-content: flex-end; }
}
.stepper { display: inline-flex; align-items: center; border-radius: var(--pill); background: rgba(255,255,255,.8); border: 1px solid var(--line); overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.stepper button:hover { background: rgba(21,34,41,.06); }
.stepper input { width: 54px; height: 38px; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.link-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; font-weight: 700; padding: 6px; }
.link-remove:hover { color: var(--err); }
.summary .s-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .95rem; }
.summary .s-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 1.2rem; font-weight: 800; font-family: var(--font-display); }
.summary .s-row .neg { color: var(--ok); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { min-height: 44px; }
.pay-logos { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { padding: 6px 14px; border-radius: var(--pill); font-size: .8rem; font-weight: 800; background: rgba(255,255,255,.5); color: var(--muted); }
.steps span.on { background: var(--ink); color: #fff; }
.address-pick { display: grid; gap: 10px; }
.address-pick label { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.6); cursor: pointer; }
.address-pick input { accent-color: var(--brand); margin-top: 4px; }
.address-pick label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(252,128,6,.15); }

/* ---------- Cont client ---------- */
.account { display: grid; gap: 20px; }
@media (min-width: 960px) { .account { grid-template-columns: 260px 1fr; align-items: start; } }
.acc-nav { padding: 10px; display: flex; gap: 4px; overflow-x: auto; }
@media (min-width: 960px) { .acc-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); } }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; font-weight: 700; white-space: nowrap; font-size: .93rem; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: rgba(21,34,41,.06); color: var(--ink); }
.acc-nav a.active { background: var(--ink); color: #fff; }
.acc-nav svg { width: 18px; height: 18px; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { padding: 18px; }
.kpi .v { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.kpi .l { color: var(--muted); font-size: .82rem; font-weight: 700; }

/* Tabele simple (comenzi in cont) */
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; }
.table td { padding: 12px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
    .table.responsive thead { display: none; }
    .table.responsive tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
    .table.responsive td { border: 0; padding: 2px 0; }
    .table.responsive td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 14px; font-weight: 700;
    background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); }
.pagination a:hover { background: #fff; }
.pagination .active span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled span { opacity: .45; }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 300; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; color: #fff; font-weight: 600; font-size: .93rem;
    background: rgba(21,34,41,.84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 20px 40px -14px rgba(0,0,0,.5); animation: toast-in .3s cubic-bezier(.2,.8,.2,1); }
.toast .t-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }
.toast.error .t-ico { background: var(--err); }
.toast a { color: #ffd2a1; text-decoration: underline; margin-left: auto; white-space: nowrap; }
.toast.out { opacity: 0; transform: translateY(10px); transition: .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; padding: 0 var(--gutter) 24px; }
.site-footer .inner { max-width: var(--wrap); margin: 0 auto; padding: 36px 22px 22px; border-radius: var(--r-lg); color: rgba(255,255,255,.78);
    background: radial-gradient(120% 140% at 100% 0%, #2b3d47 0%, #152229 60%); position: relative; overflow: hidden; }
@media (min-width: 768px) { .site-footer .inner { padding: 52px 48px 26px; } }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 700px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer .cols { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; font-family: var(--font); }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: rgba(255,255,255,.55); }
.site-footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.site-footer .contact-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.socials a:hover { background: var(--brand); }
.socials svg { width: 18px; height: 18px; }

/* Cookie banner */
.cookie-bar { position: fixed; z-index: 250; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100vw - 24px)); padding: 16px 18px;
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.cookie-bar p { margin: 0; font-size: .88rem; flex: 1 1 260px; }
.cookie-bar[hidden] { display: none; }

/* Pagina de autentificare */
.auth-wrap { max-width: 480px; margin: 0 auto; }
.auth-wrap.wide { max-width: 760px; }
.auth-card { padding: 26px 20px; }
@media (min-width: 640px) { .auth-card { padding: 38px 40px; } }
.auth-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pw-meter { height: 6px; border-radius: 6px; background: rgba(21,34,41,.08); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--err); transition: width .25s, background .25s; }

/* Empty state */
.empty { text-align: center; padding: 46px 20px; }
.empty .ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 24px; display: grid; place-items: center; background: rgba(21,34,41,.06); color: var(--ink-2); }
.empty .ico svg { width: 34px; height: 34px; }

/* Testimonial / review */
.quote { padding: 26px; }
.quote p { font-size: 1.05rem; color: var(--ink-2); }
.quote .who { font-weight: 800; font-family: var(--font-display); }

/* Map */
.map-embed { border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; background: #e8edf2; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Print (factura / comanda din cont) */
@media print {
    .site-header, .site-footer, .bg-orbs, .acc-nav, .cookie-bar, .toasts, .no-print { display: none !important; }
    main { padding-top: 0; }
    .glass { box-shadow: none; border-color: #ddd; background: #fff; }
}

/* ---- fork A: mici completari pentru paginile de catalog / continut ---- */
svg.star { width: 16px; height: 16px; fill: currentColor; }
.badge svg, .chip svg { width: 14px; height: 14px; }
.feature p a { color: var(--ink); font-weight: 700; }
.seal-search .btn svg, .btn-icon svg { width: 18px; height: 18px; }
.dd-caret { width: 16px; height: 16px; }
.hero h3 { color: #fff; }
.seal-search h3 svg { width: 20px; height: 20px; color: var(--brand); }

/* ---- fork B: cos / checkout / cont ---- */
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.link-remove svg, .pay-logos svg, .dd-panel a svg, .dd-panel button svg { width: 18px; height: 18px; flex: none; }
.link-remove { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; }
.link-remove:hover { background: var(--err-bg); }
.cart-line .controls .price { min-width: 84px; text-align: right; }
.empty .ico svg { width: 34px; height: 34px; }
.acc-nav form { margin: 0; }
.summary .s-row > span:first-child { min-width: 0; }
.address-pick label span { min-width: 0; overflow-wrap: anywhere; }
.site-footer .bottom svg { width: 14px; height: 14px; }
.prose h5, .prose h6 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin: .35em 0; letter-spacing: 0; }
.prose p { margin-bottom: .6em; }
.stack > .feature, .stack > .glass { height: auto; }
[hidden] { display: none !important; }
.summary .s-row > span:last-child { white-space: nowrap; text-align: right; }
.summary .s-row.total > span:first-child { white-space: normal; }


/* ===================== Navigare mobila + cookies ===================== */
/* Bara de jos (doar pe telefon) */
.tabbar { display: none; }
@media (max-width: 767px) {
    .tabbar {
        position: fixed; z-index: 130; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; height: 64px; padding: 6px;
        border-radius: 22px; color: #fff; background: rgba(21, 34, 41, .80); border: 1px solid rgba(255,255,255,.14);
        -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
        box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 40px -14px rgba(0,0,0,.55);
    }
    .tabbar a, .tabbar button {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0;
        color: rgba(255,255,255,.72); background: none; border: 0; border-radius: 16px; font-size: 10.5px; font-weight: 700;
        cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .2s, color .2s;
    }
    .tabbar a span, .tabbar button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    .tabbar svg { width: 22px; height: 22px; }
    .tabbar a.active, .tabbar a:active, .tabbar button:active { color: #fff; background: rgba(255,255,255,.14); }
    .tabbar a.active svg { color: var(--brand); }
    .tabbar .tab-ico { position: relative; display: inline-flex; font-style: normal; }
    .tabbar .cart-badge { top: -6px; right: -10px; }
    body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    /* pe telefon footer-ul dispare; continutul lui e in meniul burger */
    .site-footer { display: none; }
    .hdr-desk { display: none !important; }
    .toasts { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .drawer .d-section, .drawer .d-copy { display: none; } }
.drawer .d-section { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.drawer .d-small { font-weight: 600; font-size: .92rem; padding-top: 9px; padding-bottom: 9px; }
.drawer .d-title { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 14px; }
.drawer .d-contacts .contact-line { display: flex; gap: 10px; align-items: flex-start; padding: 7px 14px; font-size: .92rem; color: var(--ink-2); }
.drawer .d-contacts .contact-line svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }
.drawer .socials { padding: 6px 14px 0; }
.drawer .socials a { background: rgba(21,34,41,.06); border-color: rgba(21,34,41,.08); color: var(--ink); }
.drawer .socials a:hover { background: var(--brand); color: #fff; }
.drawer .d-copy { font-size: .78rem; color: var(--muted); margin: 10px 4px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.drawer .d-copy svg { width: 14px; height: 14px; }
.drawer { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

/* Foaie de jos: cautare */
.sheet-backdrop { position: fixed; inset: 0; z-index: 160; background: rgba(10,18,22,.45); opacity: 0; visibility: hidden; transition: .2s; }
body.sheet-open .sheet-backdrop { opacity: 1; visibility: visible; }
body.sheet-open { overflow: hidden; }
.sheet { position: fixed; z-index: 170; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0; animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
.sheet[hidden] { display: none; }
.sheet h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.sheet h3 svg { width: 20px; height: 20px; color: var(--brand); }
.sheet-handle { width: 44px; height: 5px; border-radius: 5px; background: rgba(21,34,41,.2); margin: 0 auto 12px; }
.sheet .grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.sheet .grid-fields .full { grid-column: 1 / -1; }
.sheet label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: block; margin-bottom: 4px; }
@keyframes sheet-in { from { transform: translateY(100%); } }

/* Cookies: panou pe ~30% din partea de jos a ecranului */
.cookie-bar { display: none !important; }
.cookie-sheet {
    position: fixed; z-index: 240; left: 0; right: 0; bottom: 0; min-height: 30vh; max-height: 70vh; overflow-y: auto;
    display: flex; align-items: center; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0; border-bottom: 0; animation: sheet-in .4s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 -24px 60px -20px rgba(21,34,41,.35);
}
.cookie-sheet[hidden] { display: none; }
.cookie-sheet.out { transform: translateY(100%); transition: transform .28s ease; }
.cookie-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; gap: 16px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cookie-inner { grid-template-columns: auto 1fr auto; gap: 28px; } }
.cookie-ico { font-size: 2.4rem; line-height: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--brand-100); }
.cookie-text h3 { margin-bottom: 6px; }
.cookie-text p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.cookie-text a { color: var(--brand-600); text-decoration: underline; font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 160px; }
@media (min-width: 900px) { .cookie-actions { flex-direction: column; } .cookie-actions .btn { flex: none; min-width: 200px; } }
@media (max-width: 767px) {
    /* deasupra barii de navigare */
    .cookie-sheet { bottom: calc(84px + env(safe-area-inset-bottom)); left: 10px; right: 10px; border-radius: 24px; border-bottom: 1px solid var(--glass-border); min-height: 30vh; max-height: calc(100vh - 170px); padding: 18px 16px; }
    .cookie-ico { width: 48px; height: 48px; font-size: 1.8rem; border-radius: 16px; }
}
@media print { .tabbar, .cookie-sheet, .sheet { display: none !important; } }

/* Poze reale din continut (home) */
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 55%); }
@media (max-width: 959px) { .hero-photo { opacity: .22; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.2) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.2) 100%); } }
.feature .ico.ico-img { background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 18px -10px rgba(21,34,41,.35); padding: 6px; }
.feature .ico.ico-img img { width: 100%; height: 100%; object-fit: contain; }
.who-photo { margin: -6px -6px 20px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; background: #e8edf2; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
