/*
 * Interfata publica a magazinelor, dupa artefactul de design (tokenuri: CLAUDE.md).
 * Aceleasi stiluri pentru toate magazinele; diferentele vin din configurarea magazinului.
 */

/* ---------- Fonturi locale (SIL OFL 1.1, assets/fonts) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal-Gz7AlRl.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-ext-wght-normal-1Br77OV.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url("../fonts/space-grotesk-latin-wght-normal-iUqe0-F.woff2") format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url("../fonts/space-grotesk-latin-ext-wght-normal-NXGsJlG.woff2") format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokenuri ---------- */
:root {
    --ink: #0F1E2E;
    --ink-2: #2A3A4C;
    --ink-line: #3A4A5C;
    --accent: #0495FF;
    --accent-hover: #0379D1;
    --accent-soft: #E6F4FF;
    --accent-tint: #F3F9FF;
    --accent-on-dark: #8FD0FF;
    --surface: #F5F7FA;
    --surface-2: #F7F9FA;
    --sky: #E6EEF5;
    --line: #E4E8EE;
    --field: #D0D6DC;
    --field-hover: #B8C3CE;
    --muted: #5B6878;
    --muted-2: #8A96A3;
    --text-2: #3F4E5C;
    --on-dark: #D5DCE3;
    --on-dark-muted: #B8C3CE;
    --in-stock: #15803D;
    --in-stock-soft: #DCFCE7;
    --on-order: #9A5B00;
    --danger: #B42318;
    --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r-sm: 12px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 24px;
    --gutter: clamp(16px, 4vw, 32px);
    --focus: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}

/* ---------- Baza ---------- */
body.sf {
    margin: 0;
    background: #FFFFFF;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sf h1, .sf h2, .sf h3, .sf h4 { font-family: var(--font-heading); letter-spacing: -0.02em; margin: 0; }
.sf p { margin: 0; }
.sf a { color: var(--ink); }
.sf a:hover { color: var(--accent); }
.sf img, .sf svg { max-width: 100%; }
.sf button { font: inherit; cursor: pointer; }
.sf input, .sf select, .sf textarea { font: inherit; color: inherit; }
.sf :focus-visible { outline: none; box-shadow: var(--focus); }
.sf [disabled] { cursor: not-allowed; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: #FFFFFF !important; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: 64px 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.small { font-size: 13px; }

.h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.h1--product { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.h3 { font-size: 22px; line-height: 1.2; }
.h4 { font-size: 18px; line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.lead--on-dark { color: var(--on-dark-muted); }
.body-text, .prose p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--muted { color: var(--muted); letter-spacing: 0.06em; font-weight: 600; }
.eyebrow--success { color: var(--in-stock); letter-spacing: 0.06em; }
.eyebrow--on-dark { color: var(--accent-on-dark); }
.link-accent { color: var(--accent) !important; font-weight: 600; text-decoration: none; }
.link-accent:hover { text-decoration: underline; }
.link-button { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 14px; }
.note, .help { font-size: 13px; line-height: 1.5; color: var(--muted); }
.help--center { text-align: center; }

/* ---------- Butoane ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; padding: 0 18px; border: 1.5px solid transparent; border-radius: var(--r-sm);
    font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { min-height: 52px; padding: 0 24px; border-radius: var(--r-md); font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #FFFFFF !important; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary[disabled] { background: var(--field); color: #FFFFFF; }
.btn--dark { background: var(--ink); color: #FFFFFF !important; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { background: #FFFFFF; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--surface); }
.btn--outline[disabled] { border-color: var(--field); color: var(--muted-2); }
.btn--ghost-dark { border-color: #4A5A6C; color: #FFFFFF !important; }
.btn--ghost-dark:hover { border-color: #FFFFFF; }
.btn-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: var(--r-md); background: var(--ink); color: #FFFFFF;
}
.btn-icon:hover { background: var(--accent); }

/* Pastile (filtre, optiuni) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    min-height: 44px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 999px;
    background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 600;
}
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* ---------- Formulare ---------- */
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field-row--3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.input, .select {
    width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: var(--r-sm);
    background: #FFFFFF; font-size: 15px;
}
textarea.input { padding: 12px 14px; resize: vertical; }
.input:hover, .select:hover { border-color: var(--field-hover); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
.input[readonly] { background: var(--surface-2); }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.check--top { align-items: flex-start; font-size: 14px; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.option-list { display: grid; gap: 10px; }
.option {
    display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px;
    border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer;
}
.option:hover { border-color: var(--field-hover); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.option-text { flex: 1; display: flex; flex-direction: column; }
.option-text span { font-size: 13px; color: var(--muted); }
.option-cost { font-weight: 600; white-space: nowrap; }

/* ---------- Etichete, pret, stoc ---------- */
.tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #FFFFFF; font-size: 12px; font-weight: 600; color: var(--ink); }
.price { font-family: var(--font-heading); font-size: 21px; font-weight: 700; white-space: nowrap; }
.price--lg { font-size: 26px; }
.price--xl { font-size: 36px; letter-spacing: -0.02em; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--in-stock); }
.stock--order { color: var(--on-order); }
.stock--out { color: var(--muted); }
.btn[disabled], .btn-icon[disabled] { opacity: .55; cursor: not-allowed; }
.badge-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 700; }
.status-pill { align-self: flex-start; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.status-pill--danger { background: #FEE2E2; color: #7F1D1D; }
.chip-outline { align-self: flex-start; padding: 6px 12px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-on-dark); }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feature-chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; }
.feature-chips--soft li { background: var(--accent-soft); color: var(--accent-hover); }

/* Mesaje, stari goale */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.alert--info { background: var(--accent-soft); color: #7C2D12; }
.alert--success { background: var(--in-stock-soft); color: #14532D; }
.alert--warning { background: #FDF1DC; color: #7A4A00; }
.alert--danger { background: #FDECEA; color: #7A1A12; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 48px 24px; border: 1px dashed var(--field); border-radius: var(--r-lg); text-align: center; color: var(--muted); }
.empty-state-title { font-family: var(--font-heading); font-size: 19px; color: var(--ink); }

/* Iconite in casute */
.icon-tile { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); }
.icon-tile--sm { width: 40px; height: 40px; }

/* Ilustratia produsului (pana la imaginile reale) */
.product-visual { color: var(--muted-2); }
.product-visual--md { width: 64px; height: 94px; }
.product-visual--lg { width: 120px; height: 176px; }
.product-visual--sm { width: 40px; height: 58px; stroke-width: 4; }
.product-visual--xs { width: 24px; height: 34px; stroke-width: 6; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.topbar-items { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.topbar-phone { color: #FFFFFF !important; font-weight: 600; text-decoration: none; }
.topbar-items a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.topbar-items a:hover { text-decoration-color: currentColor; }

.site-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--accent); color: #FFFFFF; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; color: var(--ink); }
.logo-text--light { font-size: 24px; color: #FFFFFF; }
.logo-suffix { color: var(--accent); }
.logo-text--light .logo-suffix { color: var(--accent-on-dark); }

.search { flex: 1 1 360px; display: flex; min-width: 0; }
.search input {
    flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 1.5px solid var(--field); border-right: 0;
    border-radius: var(--r-md) 0 0 var(--r-md); background: #FFFFFF; font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--ink); }
.search button { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border: 0; border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--ink); color: #FFFFFF; font-weight: 600; }
.search button:hover { background: var(--ink-2); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-link, .header-cart { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-size: 15px; }
.header-link { font-weight: 500; }
.header-link:hover { background: var(--surface); }
.header-cart { padding-inline: 16px; background: var(--surface); font-weight: 600; }
.header-cart:hover { background: var(--line); color: var(--ink) !important; }

.main-nav { border-block: 1px solid var(--line); }
.main-nav ul { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 2px; margin: 0 calc(var(--gutter) * -1 + 8px); padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.main-nav a { display: block; padding: 14px 12px; white-space: nowrap; text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Meniu mobil (fara JavaScript) */
.mobile-menu { display: none; position: relative; }
.mobile-menu > summary { list-style: none; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--field); border-radius: var(--r-sm); cursor: pointer; }
.mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: min(320px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; box-shadow: 0 20px 40px rgba(11, 27, 43, 0.14); }
.mobile-menu-panel ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu-panel a { display: block; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.mobile-menu-panel a:hover, .mobile-menu-panel a[aria-current="page"] { background: var(--surface); color: var(--accent); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; }
.breadcrumbs a { color: var(--muted); }

/* ---------- Sectiuni generice ---------- */
.band--surface { background: var(--surface); }
.band--bordered { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 16px; margin-bottom: 28px; }
.section-head--tight { align-items: center; margin-bottom: 0; }
.panel { border-radius: var(--r-xl); padding: 28px; }
.panel--white { background: #FFFFFF; }
.panel--surface { background: var(--surface); }
.panel--bordered { border: 1px solid var(--line); background: #FFFFFF; }
.prose { display: flex; flex-direction: column; gap: 14px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 72px; }
.split--top { align-items: flex-start; padding-block: 80px; }
.split-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .panel { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 4px 0 0; list-style: none; font-size: 16px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list .icon { flex: none; color: var(--in-stock); }
.check-list--on-dark { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--on-dark); }
.check-list--on-dark .icon { color: #4ADE80; }

/* ---------- Hero + ghid rapid ---------- */
.hero { background: var(--ink); color: #FFFFFF; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 64px 72px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.02; }
.hero--compact .hero-copy { gap: 14px; padding-block: 48px 56px; }
.hero--compact h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; max-width: 820px; }
.finder { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--r-xl); background: #FFFFFF; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.finder h2 { margin-top: 6px; font-size: 26px; line-height: 1.15; }
.finder-step { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.finder-step legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
/* Imagine + text pe primul rand, pret + buton pe un rand separat: un nume lung nu ajunge sub buton. */
.finder-result { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 14px 16px; padding: 16px; border-radius: 18px; background: var(--surface); }
.finder-result[hidden] { display: none; }
.finder-result-media { box-sizing: border-box; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--r-md); background: #FFFFFF; }
.finder-result-media img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 6px; object-fit: contain; mix-blend-mode: multiply; }
.finder-result-media img[hidden] { display: none; }
.finder-result-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.finder-result-name { font-family: var(--font-heading); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.finder-result-name:hover, .finder-result-name:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.finder-result-text > span:last-child { font-size: 13px; line-height: 1.45; color: var(--muted); }
.finder-result-buy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.finder-result-buy .price { white-space: nowrap; }

/* Avantaje */
.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 28px; }
.feature { display: flex; align-items: flex-start; gap: 14px; }
.feature strong { display: block; font-size: 15px; }
.feature span:not(.icon-tile) { font-size: 14px; color: var(--muted); }

/* Categorii */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.category-card { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 26px; border-radius: 22px; text-decoration: none; transition: transform .15s; }
.category-card:hover { transform: translateY(-2px); }
.category-card h3 { font-size: 23px; line-height: 1.15; }
.category-card p { margin-top: 10px; font-size: 15px; line-height: 1.55; }
.category-card-cta { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.category-card--ink { background: var(--ink); color: #FFFFFF !important; }
.category-card--ink p { color: var(--on-dark-muted); }
.category-card--accent { background: var(--accent-soft); color: var(--ink) !important; }
.category-card--accent p { color: #5C4033; }
.category-card--sky { background: var(--sky); color: var(--ink) !important; }
.category-card--sky p { color: var(--text-2); }
.category-card--surface { background: var(--surface); color: var(--ink) !important; }
.category-card--surface p { color: var(--muted); }

/* ---------- Card de produs ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-grid--listing { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: var(--field); box-shadow: 0 12px 28px rgba(11, 27, 43, 0.08); }
.product-card-media { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--surface); }
.product-card-media img { width: 100%; height: 100%; padding: 12px; object-fit: contain; mix-blend-mode: multiply; }
.product-card-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.product-card > .stock { margin-top: auto; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Calculator (homepage + pagina) */
.calc-inputs { display: flex; flex-direction: column; gap: 22px; }
.calc-profile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
/* Pagina calculatorului: sexul pe primul rand, greutatea si orele alaturi pe al doilea (nu unul la dreapta si celalalt rupt pe randul urmator). */
.calc-inputs:not(.calc-inputs--compact) .calc-profile { justify-content: flex-start; gap: 16px 40px; }
.calc-inputs:not(.calc-inputs--compact) .calc-profile > .pills { flex-basis: 100%; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.stepper-value { min-width: 64px; text-align: center; font-size: 17px; }
.step-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--field); border-radius: var(--r-sm); background: #FFFFFF; color: var(--ink); }
.step-btn:hover { border-color: var(--ink); }
.drink-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.calc-inputs--compact { container-type: inline-size; }
.calc-inputs--compact .drink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 520px) { .calc-inputs--compact .drink-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.drink { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; background: #FFFFFF; }
.calc-inputs--compact .drink { gap: 10px; padding: 14px; border-width: 1px; border-radius: 16px; }
.drink.is-selected { border-color: var(--accent); background: var(--accent-tint); }
.drink-head { display: flex; align-items: center; gap: 12px; }
.drink-head strong { display: block; font-size: 15px; }
.drink-head span { font-size: 13px; color: var(--muted); }
.drink-count { display: flex; align-items: center; justify-content: space-between; }
.drink-count strong { min-width: 28px; text-align: center; font-family: var(--font-heading); font-size: 24px; }
.drink-head > div { display: flex; flex-direction: column; gap: 2px; }
.calc-inputs--compact .drink-head { min-height: 58px; align-items: flex-start; }
.calc-inputs--compact .drink-count { margin-top: auto; gap: 6px; }
.calc-inputs--compact .drink-count strong { font-size: 20px; }
.calc-inputs--compact .step-btn { width: 32px; height: 32px; border-width: 1px; border-radius: 10px; }
.calc-inputs--compact .step-btn .icon { width: 15px; height: 15px; }
.calc-inputs--compact .stepper { gap: 8px; }
.calc-inputs--compact .stepper-value { min-width: 56px; }
.calc-result { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-xl); background: var(--ink); color: #FFFFFF; }
.calc-result--compact { gap: 16px; padding: 22px; border-radius: 18px; }
.calc-result-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.calc-result-value { display: flex; flex-direction: column; gap: 4px; }
.calc-result-label { font-size: 13px; color: var(--on-dark-muted); }
.calc-result-number { font-family: var(--font-heading); font-size: 64px; font-weight: 700; line-height: 1; }
.calc-result--compact .calc-result-number { font-size: 48px; }
.calc-result-number small { font-size: 22px; font-weight: 600; }
.gauge { position: relative; height: 12px; border-radius: 999px; background: var(--ink-2); }
.gauge-fill { height: 100%; border-radius: 999px; }
.gauge-fill--danger { background: #F87171; }
.gauge-marker { position: absolute; top: -6px; left: 50%; width: 2px; height: 24px; background: #FFFFFF; }
.gauge-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--on-dark-muted); }
.calc-result-foot { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--ink-2); font-size: 15px; line-height: 1.5; }
.calc-result-foot .icon { flex: none; color: var(--accent-on-dark); }
.calc-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-block: 40px 64px; }
.calc-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.calc-main > .panel--bordered { display: flex; flex-direction: column; gap: 20px; }
.calc-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.recs { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.rec-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.rec-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-md); background: var(--surface-2); text-decoration: none; }
.rec-media { flex: none; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--r-sm); background: #FFFFFF; }
.rec-media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.rec-item { transition: background-color .15s ease; }
.rec-item:hover { background: var(--accent-tint); }
.rec-item:hover .rec-name { color: var(--accent-hover); }
.rec-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rec-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; }
.rec-price { font-size: 14px; font-weight: 700; color: var(--accent-hover); white-space: nowrap; }
.rec-item > .icon { flex: none; margin-right: 4px; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.rec-item:hover > .icon { color: var(--accent); transform: translateX(2px); }
/* Sub 1024 (coloanele nu mai incap alaturi): rezultatul imediat dupa ce ai baut, apoi legea si recomandarile. */
@media (max-width: 1023.98px) {
    .calc-layout { flex-direction: column; align-items: stretch; gap: 20px; }
    .calc-main, .calc-side { display: contents; }
    .calc-side > .calc-result { order: 1; }
    .calc-main > .calc-law { order: 2; }
    .calc-side > .recs { order: 3; }
}
/* Telefon: bauturile pe doua coloane, controale mai mici, greutatea / orele pe cate un rand intreg. */
@media (max-width: 559.98px) {
    .calc-layout > .calc-main > .panel { padding: 20px; }
    .calc-inputs:not(.calc-inputs--compact) .drink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .calc-inputs:not(.calc-inputs--compact) .drink { gap: 10px; padding: 12px; border-width: 1px; border-radius: 16px; }
    .calc-inputs:not(.calc-inputs--compact) .drink-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .calc-inputs:not(.calc-inputs--compact) .drink-head .icon-tile { width: 34px; height: 34px; }
    .calc-inputs:not(.calc-inputs--compact) .drink-count { margin-top: auto; }
    .calc-inputs:not(.calc-inputs--compact) .drink-count strong { font-size: 20px; }
    .calc-inputs:not(.calc-inputs--compact) .drink .step-btn { width: 36px; height: 36px; border-width: 1px; }
    .calc-inputs:not(.calc-inputs--compact) .calc-profile .stepper { flex-basis: 100%; }
    .calc-inputs:not(.calc-inputs--compact) .calc-profile .stepper-label { flex: 1; }
}

/* Oferta / formulare in panouri */
.split--top .panel--bordered { flex: 1 1 480px; }

/* Intrebari frecvente */
.faq { display: flex; flex-direction: column; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker::before { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq-item[open] .faq-marker::before { content: '\2212'; }
.faq-item p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.band--bordered .section { display: flex; flex-direction: column; gap: 24px; padding-block: 72px; }

/* ---------- Pagina de categorie ---------- */
.page-head { display: flex; flex-direction: column; gap: 18px; padding-block: 32px 36px; }
.page-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-head-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.help-card { max-width: 360px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: #FFFFFF; text-decoration: none; }
.help-card > span:last-child { display: flex; flex-direction: column; }
.help-card > span:last-child span { font-size: 14px; color: var(--muted); }
.help-card:hover { border-color: var(--field); color: var(--ink) !important; }
.listing { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-block: 32px 64px; }
.filters { flex: 1 1 240px; max-width: 300px; min-width: 0; }
.filters-toggle { display: none; }
.filters-panel { display: flex; flex-direction: column; gap: 24px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filter-group { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group legend { padding: 0 0 12px; font-size: 15px; font-weight: 600; }
.listing-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.listing-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: 14px; color: var(--muted); }
.sort .select { width: auto; min-height: 44px; font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-block: 12px; }
.page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.page-link:hover { border-color: var(--ink); }
.page-link[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF !important; }
.page-link[aria-disabled="true"] { color: var(--muted-2); pointer-events: none; }
.listing-main > .panel { margin-top: 32px; }
a.pill { display: inline-flex; align-items: center; text-decoration: none; }
.pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF !important; }
.page-head-media { flex: none; width: 112px; height: 112px; padding: 10px; border-radius: 18px; background: #FFFFFF; object-fit: contain; }
.page-head-row:has(.page-head-media) { align-items: center; }
.page-gap { min-width: 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range .input { min-height: 44px; font-size: 14px; }
.check .muted { margin-left: auto; font-size: 13px; }

/* ---------- Pagina de produs ---------- */
.product-top { display: flex; flex-direction: column; gap: 20px; padding-block: 28px 48px; }
.product-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1 / 0.85; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: var(--r-xl); background: var(--surface); }
.gallery-caption { font-size: 13px; color: var(--muted); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumb { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: var(--r-md); background: var(--surface); }
.gallery-thumb[aria-pressed="true"] { border-color: var(--ink); }
.buy-box { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buy-box-head { display: flex; flex-direction: column; gap: 8px; }
.buy-box-price { display: flex; flex-direction: column; gap: 8px; padding-block: 4px; }
.buy-box-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-box-actions .btn { flex: 1 1 220px; }
.buy-box-info { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); list-style: none; }
.buy-box-info li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; }
.buy-box-info .icon { flex: none; margin-top: 2px; color: var(--accent); }
.buy-box-info li > span { display: flex; flex-direction: column; gap: 2px; }
.buy-box-info li > span span { color: var(--muted); }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--field); border-radius: var(--r-md); background: #FFFFFF; }
.qty-btn { width: 48px; height: 100%; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); }
.qty-btn:hover { color: var(--accent); }
.qty-input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; }
.anchor-nav { position: sticky; top: 0; z-index: 20; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); }
.anchor-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav a { flex: none; padding: 14px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.product-sections { display: flex; flex-direction: column; gap: 48px; padding-block: 40px 72px; }
.product-sections section { scroll-margin-top: 64px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.two-col .panel { display: flex; flex-direction: column; gap: 16px; }
.steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.step-no { flex: none; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 14px; }
.spec-list { margin: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }
.download { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 16px; border-radius: var(--r-md); background: var(--surface); }
.download > span { display: flex; flex-direction: column; }
.download .icon { color: var(--accent); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mini-card { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.mini-card-media { flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--surface); }
.mini-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.mini-card-text span { font-weight: 700; }
.container--narrow-left { max-width: 880px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Checkout ---------- */
.checkout-header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.checkout-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 18px; }
.checkout-steps { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li + li::before { content: ''; width: 28px; height: 1.5px; margin-right: 8px; background: var(--field); }
.checkout-steps span { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--field); font-size: 13px; }
.checkout-steps .is-done span { background: var(--in-stock); border-color: var(--in-stock); color: #FFFFFF; }
.checkout-steps .is-current { color: var(--ink); }
.checkout-steps .is-current span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.checkout-secure { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.checkout-page { background: var(--surface); }
.checkout-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; padding-block: 32px 64px; }
.checkout-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.order-summary { flex: 1 1 320px; min-width: 0; position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.cart-lines { margin: 16px 0 0; padding: 0; list-style: none; }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-media { flex: none; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--surface); }
.cart-line-text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-line-text a { font-weight: 600; text-decoration: none; }
.cart-line .qty { height: 44px; }
.cart-line .qty-btn { width: 40px; }
.cart-line-total { min-width: 110px; text-align: right; font-family: var(--font-heading); font-size: 18px; }
.company-fields { padding: 14px 16px; border: 1px dashed var(--field); border-radius: var(--r-md); }
.company-fields summary { font-weight: 600; cursor: pointer; }
.company-fields[open] { display: flex; flex-direction: column; gap: 16px; }
.locker-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.locker-map { min-height: 160px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--sky); color: var(--text-2); font-size: 14px; font-weight: 600; }
.summary-lines { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.summary-lines div { display: flex; justify-content: space-between; font-size: 15px; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { margin: 0; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.summary-notes { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; color: var(--muted); }
.summary-notes li { display: flex; align-items: center; gap: 10px; }

/* ---------- Ghid ---------- */
.guide { display: flex; flex-direction: column; gap: 24px; padding-block: 48px 72px; }
.guide-head { display: flex; flex-direction: column; gap: 12px; }
.progress-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.progress-track { height: 8px; border-radius: 999px; background: var(--line); }
.progress-fill { height: 100%; border-radius: 999px; background: var(--accent); }
.guide-step { display: flex; flex-direction: column; gap: 24px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 88px; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #FFFFFF; text-align: left; }
.choice strong { font-size: 16px; }
.choice span { font-size: 14px; color: var(--muted); }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); }
.guide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.b2b-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--ink); color: #FFFFFF; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.site-footer .container { display: flex; flex-direction: column; gap: 40px; padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; line-height: 1.6; }
.footer-title { margin-bottom: 12px !important; font-family: var(--font-body) !important; font-size: 15px; letter-spacing: 0 !important; color: #FFFFFF; }
.footer-links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; }
.footer-links .footer-strong { color: #FFFFFF; font-weight: 600; }
.footer-links .footer-contact { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.footer-links .footer-contact svg { flex: none; color: var(--accent-on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink-2); font-size: 13px; align-items: center; }

/* Index previzualizare (doar dev) */
.preview-list { display: grid; gap: 8px; margin-top: 24px; padding: 0; list-style: none; max-width: 420px; }
.preview-list a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1279.98px) {
    .main-nav ul { font-size: 14px; }
    .main-nav a { padding-inline: 9px; }
}
@media (max-width: 1199.98px) {
    .main-nav { display: none; }
    .mobile-menu { display: block; }
}
@media (max-width: 1023.98px) {
    .header-link span { display: none; }
    .topbar-items li:nth-child(n+2) { display: none; }
    .site-header-inner { flex-wrap: nowrap; gap: 16px; }
    .search { flex-basis: 200px; }
    .search button span { display: none; }
    .search button { padding: 0 16px; }
    .header-actions { flex: none; }
    .trust-grid, .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filters { flex-basis: 100%; max-width: none; }
    .filters-toggle { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid var(--field); border-radius: var(--r-sm); font-weight: 600; cursor: pointer; list-style: none; }
    .filters-toggle::-webkit-details-marker { display: none; }
    .filters[open] .filters-panel { margin-top: 16px; }
    .category-card { min-height: 180px; }
}
@media (max-width: 767.98px) {
    body.sf { font-size: 15px; }
    .topbar-items li:not(:first-child) { display: none; }
    .site-header-inner { gap: 12px; padding-block: 14px; }
    .logo-text { font-size: 22px; }
    .logo-mark { width: 32px; height: 32px; }
    .header-actions { margin-left: auto; }
    .header-cart-label, .header-link { display: none; }
    .mobile-menu { display: block; }
    .site-header-inner { flex-wrap: wrap; }
    .search { order: 3; flex-basis: 100%; }
    .category-card { min-height: 140px; }
    .search button span { display: none; }
    .search button { padding: 0 16px; }
    .main-nav { display: none; }
    .section { padding-block: 48px 16px; }
    .hero-inner { padding-block: 40px 48px; gap: 32px; }
    .finder, .panel { padding: 20px; }
    .finder-result { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .finder-result-media { width: 64px; height: 64px; }
    .split, .split--top { padding-block: 48px; gap: 32px; }
    .product-grid, .product-grid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-card { padding: 10px; gap: 10px; }
    .product-card-media { height: 150px; }
    .product-card .price { font-size: 17px; }
    .product-card .btn-icon { width: 40px; height: 40px; }
    .calc-result-number { font-size: 52px; }
    .checkout-steps li:not(.is-current) { display: none; }
    .checkout-steps li + li::before { display: none; }
    .checkout-secure { display: none; }
    .cart-line-total { min-width: 0; margin-left: auto; }
    .order-summary { position: static; }
    .input-group { flex-wrap: wrap; }
    .input-group .btn { flex: 1 1 100%; }
}
@media (max-width: 479.98px) {
    .trust-grid, .category-grid { grid-template-columns: minmax(0, 1fr); }
    .product-grid, .product-grid--listing { grid-template-columns: 1fr; }
    .product-card-media { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
    .sf * { transition: none !important; }
}

/* Pagini CMS si blocuri predefinite (App\Content\ContentBlocks) */
.cms-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 28px 32px; }
.cms-title { margin: 0; max-width: 900px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; overflow-wrap: anywhere; }
.cms-page { padding-block: 36px 64px; }
.cms-body { max-width: 780px; margin-inline: auto; }
.cms-body h2 { font-size: 22px; padding-top: 8px; scroll-margin-top: 96px; }
.cms-body h3 { font-size: 18px; scroll-margin-top: 96px; }
.cms-body .cms-block + .cms-block { margin-top: 24px; }
.cms-body a.btn { text-decoration: none; }
.cms-toc { margin-bottom: 28px; }
.cms-toc details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cms-toc summary { padding: 14px 18px; font-family: var(--font-heading); font-weight: 600; color: var(--ink); cursor: pointer; }
.cms-toc ol { margin: 0; padding: 0 18px 16px; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }
.cms-toc a { color: var(--text-2); text-decoration: none; }
.cms-toc a:hover { color: var(--accent); }
.cms-toc-l3 { padding-left: 14px; }
@media (min-width: 1100px) {
    .cms-page--toc { display: grid; grid-template-columns: 260px minmax(0, 780px); justify-content: center; gap: 56px; align-items: start; }
    .cms-page--toc .cms-body { margin-inline: 0; }
    .cms-toc { position: sticky; top: 24px; margin: 0; max-height: calc(100vh - 48px); overflow: auto; }
    .cms-toc summary { pointer-events: none; list-style: none; }
    .cms-toc summary::-webkit-details-marker { display: none; }
}
/* Pagini de informare: contact, harta site-ului */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.info-card h2 { margin: 0; font-size: 20px; }
.info-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-list dt { font-size: 13px; color: var(--muted); }
.info-list dd { margin: 2px 0 0; color: var(--ink); }
.sitemap-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sitemap-list ul { margin: 8px 0 0; padding-left: 16px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sitemap-list a { text-decoration: none; }
.cms-block + .cms-block { margin-top: 24px; }
.cms-text > :first-child { margin-top: 0; }
.cms-image img { display: block; max-width: 100%; height: auto; border-radius: var(--radius, 8px); }
.cms-columns { display: grid; gap: 24px; }
@media (min-width: 768px) { .cms-columns--2 { grid-template-columns: 1fr 1fr; } .cms-columns--3 { grid-template-columns: repeat(3, 1fr); } }
.cms-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cms-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line, #E2E6EA); border-radius: var(--radius, 8px); background: #fff; }
.cms-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.cms-card-title { font-weight: 600; }

/* Aspect configurabil pe magazin (StorefrontLayout: variabile CSS si variante) */
.container { max-width: var(--container, 1280px); }
.btn { border-radius: var(--btn-radius, var(--r-sm)); text-transform: var(--btn-transform, none); }
.sf--spacing-compact .cms-block + .cms-block { margin-top: 16px; }
.sf--spacing-relaxed .cms-block + .cms-block { margin-top: 40px; }
.preview-bar { padding: 8px var(--gutter); background: #FEF3C7; color: #78350F; font-size: 14px; text-align: center; }
.preview-bar--admin { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; position: sticky; top: 0; z-index: 60; line-height: 1.4; }
.preview-bar-back { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 4px; color: inherit; font-weight: 600; text-decoration: none; }
.preview-bar-back:hover { background: rgba(120, 53, 15, .08); }
.site-header.is-sticky { position: sticky; top: 0; z-index: 40; background: #FFFFFF; }
.logo-image { display: block; width: auto; max-width: 240px; object-fit: contain; }
.site-header--centered .site-header-inner { flex-wrap: wrap; justify-content: center; }
.site-header--centered .logo { order: -1; flex: 1 0 100%; justify-content: center; }
.header-nav .nav { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.nav, .footer-links { margin: 0; padding: 0; list-style: none; }
.main-nav .nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav-item { position: relative; }
.nav--sub { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 220px; padding: 8px 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #FFFFFF; box-shadow: 0 8px 24px rgb(11 27 43 / 0.08); }
.nav--sub .nav--sub { top: 0; left: 100%; }
.nav-item:hover > .nav--sub, .nav-item:focus-within > .nav--sub { display: block; }
.nav--sub a { display: block; padding: 6px 16px; }
.mobile-nav { margin: 0; padding: 0; list-style: none; }
.mobile-nav--sub { padding-left: 16px; }
.footer-grid { grid-template-columns: repeat(var(--footer-columns, 4), minmax(0, 1fr)); }
.footer-grid--public { gap: 32px 28px; }
@media (min-width: 768px) and (max-width: 1099px) { .footer-grid--public { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-block + .footer-block { margin-top: 20px; }
.footer-links--sub { padding-left: 12px; }
.footer-images, .footer-badges { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.footer-images img { max-height: 40px; width: auto; }
.footer-badges li { padding: 4px 10px; border: 1px solid var(--ink-line); border-radius: var(--r-sm); }
.site-footer--light { background: var(--surface); color: var(--muted); }
.site-footer--light a, .site-footer--light .footer-title { color: var(--ink); }
.home-page { padding-block: 24px 56px; }
.home-slider { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); }
.home-slider .banner { scroll-snap-align: start; }
.home-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.banner { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); }
.banner img { display: block; width: 100%; height: auto; }
.banner-caption { position: absolute; inset: auto 0 0 0; display: grid; gap: 6px; justify-items: start; padding: 20px; background: linear-gradient(transparent, rgb(11 27 43 / 0.7)); color: #FFFFFF; }
.banner-title { font-family: var(--font-heading); font-size: 22px; }
.banner-link { position: absolute; inset: 0; }
.home-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-benefits li { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.status-pill--warning { background: #FEF3C7; color: #78350F; }
.status-pill--success { background: var(--in-stock-soft); color: var(--in-stock); }
.gauge-fill--warning { background: #FBBF24; }
.gauge-fill--success { background: var(--in-stock); }

/* Pagina de produs simplificata (etapa 1) si cosul dezactivat pana la implementare */
.product-layout--simple { align-items: flex-start; padding-block: 16px 40px; }
.product-simple-media { flex: 1 1 360px; display: flex; justify-content: center; align-items: center; min-height: 320px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.product-simple-media img { max-width: 100%; max-height: 460px; object-fit: contain; }
.product-simple-info { flex: 1 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.price--lg { font-size: 30px; }
.product-simple-text { color: var(--text-2); line-height: 1.65; }
.product-simple-description { max-width: 880px; padding-bottom: 56px; }
.header-cart.is-disabled { cursor: not-allowed; opacity: .75; }
.product-card[hidden] { display: none; }

/* ---------- Pagina de produs (date reale) ---------- */
.gallery-main { overflow: hidden; }
.gallery-zoom { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; border: 0; background: none; cursor: zoom-in; }
.gallery-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-main .gallery-caption { position: absolute; bottom: 12px; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumbs .gallery-thumb { flex: 0 0 76px; height: 76px; }
.gallery-thumb { padding: 6px; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lightbox { width: min(1100px, 100vw - 32px); height: min(860px, 100vh - 32px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--r-xl); background: #FFFFFF; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(11 27 43 / 0.82); }
.lightbox img { max-width: calc(100% - 48px); max-height: calc(100% - 48px); object-fit: contain; }
.lightbox-btn { position: absolute; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--ink); }
.lightbox-btn:hover { border-color: var(--ink); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.brand-line { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; text-decoration: none; }
.brand-logo { height: 32px; max-width: 120px; object-fit: contain; }
.feature-chips a { text-decoration: none; color: inherit; }
.feature-chips a:hover { color: var(--accent); }
.product-description { display: flex; flex-direction: column; gap: 20px; max-width: 920px; }

/* Text formatat (descrieri importate): structura pastrata, stil uniform */
.rich-text { min-width: 0; overflow-wrap: anywhere; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.rich-text > * + * { margin-top: 14px; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 { margin: 28px 0 0; font-family: var(--font-heading); color: var(--ink); line-height: 1.25; }
.rich-text > :first-child { margin-top: 0; }
.rich-text h1, .rich-text h2 { font-size: 22px; }
.rich-text h3 { font-size: 19px; }
.rich-text h4, .rich-text h5, .rich-text h6 { font-size: 16px; }
.rich-text p { margin: 14px 0 0; }
.rich-text ul, .rich-text ol { margin: 14px 0 0; padding-left: 22px; }
.rich-text li + li { margin-top: 6px; }
.rich-text li::marker { color: var(--accent); }
.rich-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.rich-text strong, .rich-text b { color: var(--ink); font-weight: 600; }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.rich-text iframe, .rich-text video { max-width: 100%; }
.rich-text hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.rich-text blockquote { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); }
.rich-table { max-width: 100%; margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.rich-text table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.rich-text th, .rich-text td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rich-text tr:last-child td { border-bottom: 0; }
.rich-text th, .rich-text tr:first-child td strong { color: var(--ink); }
.rich-text th { background: var(--surface); font-weight: 600; }
.rich-text tr:nth-child(even) td { background: var(--surface-2, #FAFBFC); }
.rich-text--short { font-size: 15px; }
.product-notice { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .01em; }
.product-notice p { margin: 0; }
@media (max-width: 767.98px) {
    .lightbox { width: 100vw; height: 100vh; border-radius: 0; }
    .rich-text { font-size: 15px; }
}
.rich-text td > *, .rich-text th > * { margin: 0; }
.rich-text td > * + *, .rich-text th > * + * { margin-top: 6px; }
.rich-text td:empty, .rich-text tr:has(> td:only-child:empty) { padding: 0; }

/* ---------- Cos ---------- */
.alert--warning { background: #FEF3C7; color: #78350F; }
.alert--danger { background: #FEE2E2; color: #7F1D1D; }
.add-form { display: contents; }
.add-form--full { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.add-form--full .btn { flex: 1 1 220px; }
.btn-icon--primary { background: var(--accent); }
.btn-icon--primary:hover { background: var(--accent-hover); }
.cart-line-media img { width: 100%; height: 100%; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.cart-line-actions .link-button { min-height: 32px; align-self: center; }
.link-button--muted { color: var(--muted); font-weight: 500; }
.link-button--muted:hover { color: #B91C1C; }
.cart-line-problem { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #B45309; }
.cart-line--unavailable .cart-line-media, .cart-line--unavailable .cart-line-text > a { opacity: .6; }
.header-cart .badge-count:empty { display: none; }

/* ---------- Cont client ---------- */
.field-error { font-size: 13px; font-weight: 600; color: #B91C1C; }
.field.has-error .input { border-color: #DC2626; }
.pill--radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.pill--radio input { accent-color: var(--ink); }
.pill--radio:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.table-scroll { max-width: 100%; margin-top: 16px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.data-table td:first-child { white-space: normal; }
.data-table th { font-size: 13px; font-weight: 600; color: var(--muted); }
.data-table .num { text-align: right; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--surface); font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-badge[style]::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--status); }
.order-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.order-totals { max-width: 360px; margin-left: auto; width: 100%; }
.order-total { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.order-total dt { color: var(--ink) !important; }
.address-block { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 16px; }
.address-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.address-actions { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.two-col .panel { gap: 10px; }
.data-table td:first-child { min-width: 180px; }

/* ---------- Autentificare (card + panou de brand) ---------- */
.auth-page { background: var(--surface); }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: stretch; max-width: 1080px; padding-block: 40px 72px; }
.auth-card { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-right: 0; border-radius: var(--r-xl) 0 0 var(--r-xl); background: #FFFFFF; }
.auth-logo { align-self: flex-start; }
.auth-head { display: flex; flex-direction: column; gap: 8px; }
.auth-head .h2 { font-size: clamp(26px, 3vw, 32px); }
.auth-head p { margin: 0; font-size: 15px; line-height: 1.6; }
.auth-aside { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 48px); border-radius: 0 var(--r-xl) var(--r-xl) 0; background: var(--ink); color: #FFFFFF; }
.auth-aside-title { color: #FFFFFF; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.auth-benefits { display: flex; flex-direction: column; gap: 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.auth-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.auth-benefits li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--on-dark-muted); }
.auth-benefits strong { color: #FFFFFF; font-size: 15px; }
.icon-tile--dark { background: var(--ink-2); color: var(--accent-on-dark); }
.auth-help { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--ink-2); font-size: 14px; color: var(--on-dark-muted); }
.auth-help a { color: #FFFFFF; font-weight: 600; }
.auth-switch { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.field-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.small { font-size: 13px; }
.password-field { position: relative; }
.password-field .input { width: 100%; padding-right: 96px; }
.password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.password-toggle:hover { background: var(--surface); color: var(--ink); }
.password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.caps-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #B45309; }
.caps-hint::before { content: "\21EA"; }
.password-rules { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.password-rules li { display: inline-flex; align-items: center; gap: 6px; }
.password-rules .icon { padding: 2px; border-radius: 999px; background: var(--line); color: #FFFFFF; transition: background .15s; }
.password-rules li.is-ok { color: var(--in-stock); font-weight: 600; }
.password-rules li.is-ok .icon { background: var(--in-stock); }
.btn.is-loading { pointer-events: none; opacity: .85; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899.98px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr); max-width: 560px; padding-block: 24px 48px; }
    .auth-card { border-right: 1px solid var(--line); border-radius: var(--r-xl); }
    .auth-aside { display: none; }
}
@media (max-width: 479.98px) {
    .auth-shell { padding-inline: 12px; }
    .auth-card { padding: 22px 18px; gap: 18px; }
}

/* ---------- Cont client (antet, tab-uri, carduri) ---------- */
.account-section { display: flex; flex-direction: column; gap: 16px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.account-panel { display: flex; flex-direction: column; gap: 16px; }
.account-panel .h4 { display: flex; align-items: center; gap: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.stat-card:hover { border-color: var(--field); box-shadow: 0 12px 28px rgba(11, 27, 43, 0.06); }
.stat-card > span:last-child { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.stat-card strong { font-family: var(--font-heading); font-size: 28px; line-height: 1.1; color: var(--ink); }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.order-card-head { display: flex; align-items: center; gap: 14px; }
.order-card-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.order-card-items { margin: 0; font-size: 14px; color: var(--text-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.order-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quick-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; text-decoration: none; }
.quick-card > .icon:first-child { color: var(--accent); }
.quick-card > span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.quick-card strong { font-size: 15px; color: var(--ink); }
.quick-card:hover { border-color: var(--field); }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.back-link .icon { transform: rotate(180deg); }
.order-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: start; gap: 20px; }
.order-detail-main, .order-detail-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.order-lines { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.order-lines li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.order-lines li > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.order-line-total { white-space: nowrap; font-family: var(--font-heading); }
.timeline { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px 26px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; border-radius: 999px; background: var(--field); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.two-col--top { align-items: start; }
.address-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.address-title .icon { color: var(--accent); flex: none; }
.address-card { background: #FFFFFF; }
.address-form-panel { max-width: 860px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.account-panel .form-stack > .btn { align-self: flex-start; min-width: 200px; }
@media (max-width: 1023.98px) {
    .order-detail { grid-template-columns: minmax(0, 1fr); }
    .quick-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
    .stat-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .stat-card { padding: 14px 16px; }
    .account-panel .form-stack > .btn { align-self: stretch; }
}
.caps-hint[hidden], [hidden].field-error { display: none !important; }

/* ---------- Checkout ---------- */
.checkout-layout > .checkout-main { flex: 999 1 600px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 10px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 14px; vertical-align: 3px; }
.option[hidden], .company-fields[hidden], .shipping-fields[hidden], [data-checkout-target][hidden] { display: none !important; }
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.summary-items { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.summary-items li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.summary-item-media { position: relative; flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: var(--surface); }
.summary-item-media img { width: 100%; height: 100%; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.summary-item-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.summary-item-name { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.summary-item-price { font-weight: 600; white-space: nowrap; }
.summary-discount dd, .summary-discount dt { color: var(--in-stock) !important; }
.free-shipping-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-hover); font-size: 13px; }
.free-shipping-note[hidden] { display: none; }
.discount-form .input-group { flex-wrap: nowrap; }
.discount-form .input-group .btn { flex: none; }
.discount-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--in-stock); border-radius: var(--r-sm); background: var(--in-stock-soft); }
.discount-applied > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.terms-field .check a { color: var(--accent); }
.confirm-layout { display: flex; flex-direction: column; gap: 20px; padding-block: 32px 64px; }
.confirm-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(24px, 4vw, 48px); text-align: center; }
.confirm-icon { width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--in-stock-soft); color: var(--in-stock); }
.confirm-number { font-family: var(--font-heading); color: var(--ink); }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bank-box { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); text-align: left; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: start; gap: 20px; }
@media (max-width: 1023.98px) { .confirm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) {
    .discount-form .input-group { flex-wrap: nowrap; }
    .discount-form .input-group .btn { flex: none; }
}

/* ---------- Cont client: sidebar ---------- */
.account-page { background: var(--surface); padding-bottom: 64px; }
.account-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 28px; padding-top: 32px; }
.account-sidebar { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #FFFFFF; }
.account-hello { display: flex; align-items: center; gap: 12px; padding: 0 4px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); min-width: 0; }
.account-avatar { flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent); color: #FFFFFF; font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.account-hello-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.account-hello-text strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-hello-text span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a, .account-logout button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font: inherit; font-size: 15px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.account-nav a .icon, .account-logout .icon { flex: none; color: var(--muted); }
.account-nav a:hover { background: var(--surface); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-hover) !important; font-weight: 600; }
.account-nav a[aria-current="page"] .icon { color: var(--accent); }
.account-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.account-logout button:hover { background: #FEF2F2; color: #B91C1C; }
.account-logout button:hover .icon { color: #B91C1C; }
.account-content { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.account-title { font-size: clamp(24px, 3vw, 30px); }
@media (max-width: 1023.98px) {
    .account-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
    .account-sidebar { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; }
    .account-hello { flex: 1 1 auto; padding: 0; margin: 0; border: 0; }
    .account-logout { order: 2; margin: 0; padding: 0; border: 0; }
    .account-logout button { width: auto; min-height: 40px; padding: 8px 12px; color: var(--muted); }
    .account-nav { order: 3; flex: 1 1 100%; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .account-nav a { flex: none; width: auto; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
    .account-nav a[aria-current="page"] { border-color: var(--accent); }
}
@media (max-width: 479.98px) { .account-logout button span { display: none; } .account-avatar { width: 42px; height: 42px; } }

/* ---------- Notificari (toast) ---------- */
.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); padding: 0; pointer-events: none; }
.toast { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF !important; color: var(--ink) !important; box-shadow: 0 18px 40px rgba(11, 27, 43, 0.16); font-size: 14px; font-weight: 500; line-height: 1.45; pointer-events: auto; animation: toast-in .25s ease; transition: opacity .25s ease, transform .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.toast.is-leaving { opacity: 0; transform: translateX(24px); }
.toast-icon { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.toast-text { flex: 1; min-width: 0; padding-top: 5px; }
.toast-close { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.toast-close:hover { background: var(--surface); color: var(--ink); }
.toast-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; animation: toast-progress var(--toast-delay, 5000ms) linear forwards; }
.toast.is-paused .toast-progress { animation-play-state: paused; }
@keyframes toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast.alert--success .toast-icon { background: var(--in-stock-soft); color: var(--in-stock); }
.toast.alert--success .toast-progress { background: var(--in-stock); }
.toast.alert--warning .toast-icon { background: #FEF3C7; color: #B45309; }
.toast.alert--warning .toast-progress { background: #F59E0B; }
.toast.alert--danger .toast-icon { background: #FEE2E2; color: #B91C1C; }
.toast.alert--danger .toast-progress { background: #DC2626; }
@media (max-width: 479.98px) { .toast-stack { top: 12px; right: 12px; left: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.is-leaving { animation: none; transition: none; } .toast-progress { animation: none; } }
.order-card-head { flex-wrap: wrap; }
.order-card-head .status-badge { white-space: normal; }
@media (max-width: 767.98px) {
    .order-card-title { flex: 1 1 calc(100% - 64px); }
    .order-card-head > .status-badge { order: 3; margin-left: 58px; }
}
/* Checkout: livrarea la locker cu harta oficiala (locker_controller.js) */
.locker-box[data-controller="locker"] { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface, #F5F7FA); }
.locker-box[data-controller="locker"][hidden] { display: none; }
.locker-box .locker-title { font-size: 15px; }
.locker-selected { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.locker-selected[hidden] { display: none; }
.locker-selected-label { display: inline-flex; align-items: center; gap: 6px; color: var(--in-stock, #15803D); font-size: 13px; font-weight: 600; }
.locker-selected .btn { justify-self: start; margin-top: 6px; }
.locker-error { margin: 0; color: #B91C1C; font-size: 14px; }
.locker-error[hidden] { display: none; }
.locker-fallback { width: 100%; font-size: 14px; }
.locker-fallback summary { cursor: pointer; color: var(--text-2); }
.locker-fallback .select { margin-top: 8px; width: 100%; }
@media (max-width: 479.98px) { .locker-box [data-locker-target="open"] { width: 100%; justify-content: center; } }
.locker-box[data-controller="locker"] [hidden] { display: none !important; }
/* Verificarea ANAF (formular oferta, checkout PJ) */
.anaf-status--success { color: var(--in-stock, #15803D); }
.anaf-status--warning { color: #9A5B00; }
.anaf-status--error { color: #B91C1C; }
[data-anaf-target="button"][aria-busy="true"] { cursor: progress; opacity: .8; }
/* Checkout: lista de rezerva a lockerelor, cu cautare (locker_controller.js#filter) */
.locker-search { display: grid; gap: 8px; margin-top: 8px; }
.locker-results { display: grid; gap: 6px; max-height: 320px; margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.locker-results:empty { display: none; }
.locker-result { display: grid; gap: 2px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.locker-result:hover, .locker-result:focus-visible { border-color: var(--accent); outline: none; box-shadow: var(--focus); }
.locker-result[aria-selected="true"] { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 6%, #fff); }
.locker-result strong { font-size: 14px; }
.locker-result span { font-size: 13px; color: var(--text-2); }

/* Blog / articole */
.blog-list { padding-block: 32px 64px; display: flex; flex-direction: column; gap: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.blog-card-media { display: block; aspect-ratio: 16 / 9; background: var(--surface); text-decoration: none; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.blog-card-title { margin: 0; font-size: 19px; line-height: 1.3; }
.blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-text { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--muted); }
.blog-meta a.eyebrow { text-decoration: none; }
.badge-draft { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #FFF4E0; color: var(--on-order, #9A5B00); font-size: 12px; font-weight: 600; }
.blog-post { display: flex; flex-direction: column; gap: 24px; padding-block: 28px 64px; }
.blog-post-head { display: flex; flex-direction: column; gap: 14px; }
.blog-post-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; overflow-wrap: anywhere; }
.blog-post-image { width: 100%; height: auto; border-radius: var(--r-md); }
.blog-related { display: flex; flex-direction: column; gap: 24px; padding-block: 48px 64px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Footer: retele sociale (sub email) si insignele legale (Netopia, ANPC SAL / SOL) */
.footer-social-icons { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.footer-social-icons a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #FFFFFF; text-decoration: none; transition: background .15s, border-color .15s; }
.footer-social-icons a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social-icons span { font-size: 12px; padding: 0 6px; }
.footer-badges-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.footer-badges-legal img { display: block; width: 175px; max-width: 100%; height: auto; }
.badge-netopia { display: block; height: 40px; width: auto; padding: 6px 10px; border-radius: 6px; background: #2568EF; }

/* ==========================================================================
   Blog, articole, pagini CMS, contact (redesign): radius 4px, accent #0495FF
   ========================================================================== */
:root { --r-ui: 4px; --reading: 720px; }

/* Antet de pagina comun (blog, articol, CMS, contact) */
.page-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 28px 36px; }
.page-hero .breadcrumbs { margin-bottom: 6px; }
.page-hero-title { margin: 0; max-width: 920px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.page-hero .lead { margin: 0; }
.page-hero-lead > * { margin: 0; }
.page-hero-lead > * + * { margin-top: 8px; }

/* ---------- Blog: lista ---------- */
.blog-list { padding-block: 28px 72px; gap: 32px; }
.blog-filter { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.blog-filter::-webkit-scrollbar { display: none; }
.blog-filter-list { display: flex; gap: 8px; margin: 0; padding: 2px 0; list-style: none; }
.blog-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.blog-chip:hover { border-color: var(--accent); color: var(--accent); }
.blog-chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.blog-chip-count { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; text-align: center; }
.blog-chip[aria-current="page"] .blog-chip-count { background: rgba(255, 255, 255, .22); color: #FFFFFF; }

.blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px 24px; }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { position: relative; border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.blog-card:hover { border-color: #C9D6E3; box-shadow: 0 10px 28px rgba(15, 30, 46, .08); transform: translateY(-2px); }
.blog-card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.blog-card-media img { transition: transform .4s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.03); }
.blog-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 22px; overflow: hidden; color: #FFFFFF; background: var(--ink); }
.blog-cover::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border: 28px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.blog-cover--0 { background: linear-gradient(140deg, #0F1E2E 0%, #1B3550 100%); }
.blog-cover--1 { background: linear-gradient(140deg, #0379D1 0%, #0495FF 100%); }
.blog-cover--2 { background: linear-gradient(140deg, #E6F4FF 0%, #CFE7FB 100%); color: var(--ink); }
.blog-cover--2::after { border-color: rgba(4, 149, 255, .12); }
.blog-cover-label { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-cover--2 .blog-cover-label { background: #FFFFFF; color: var(--accent-hover); }
.blog-cover-title { position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-heading); font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.blog-card--featured .blog-cover-title { font-size: clamp(26px, 3vw, 38px); }
.blog-card:hover .blog-cover::after { transform: scale(1.06); }
.blog-cover::after { transition: transform .4s ease; }
.blog-card-body { gap: 12px; padding: 20px 22px 22px; }
.blog-card-title { font-size: 19px; line-height: 1.3; }
.blog-card-title a::after { content: ''; position: absolute; inset: 0; } /* tot cardul e clicabil */
.blog-card-title a:focus-visible { outline: none; }
.blog-card:has(.blog-card-title a:focus-visible) { outline: 3px solid color-mix(in oklab, var(--accent) 45%, transparent); outline-offset: 2px; }
.blog-card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.blog-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; color: var(--accent); font-size: 14px; font-weight: 600; }
.blog-card-more .icon { transition: transform .2s; }
.blog-card:hover .blog-card-more .icon { transform: translateX(3px); }
.blog-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-decoration: none; position: relative; z-index: 1; }
a.blog-tag:hover { background: var(--accent); color: #FFFFFF; }
.blog-meta time, .blog-meta > span:not(.blog-tag) { white-space: nowrap; }
.blog-meta > * + time::before, .blog-meta > * + span:not(.blog-tag)::before { content: ''; display: inline-block; width: 3px; height: 3px; margin-right: 10px; border-radius: 50%; background: var(--muted-2); vertical-align: middle; }
.blog-meta { gap: 6px 10px; }

/* Articol evidentiat */
.blog-card--featured { display: grid; grid-column: 1 / -1; }
.blog-card--featured .blog-card-body { padding: 24px; gap: 14px; }
.blog-card-title--featured { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.blog-card--featured .blog-card-text { -webkit-line-clamp: 4; font-size: 16px; }
@media (min-width: 900px) {
    .blog-card--featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
    .blog-card--featured .blog-card-media { aspect-ratio: auto; min-height: 360px; }
    .blog-card--featured .blog-card-media img { position: absolute; inset: 0; }
    .blog-card--featured .blog-card-body { justify-content: center; padding: 40px; }
}

/* Paginare */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; padding-top: 8px; }
.pager-pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager-link, .pager-step { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #FFFFFF; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .15s, color .15s; }
.pager-link:hover, a.pager-step:hover { border-color: var(--accent); color: var(--accent); }
.pager-link[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.pager-step[aria-disabled="true"] { color: var(--muted-2); background: var(--surface-2); }
.pager-gap { min-width: 24px; text-align: center; color: var(--muted); }
.pager-arrow { display: inline-flex; }
.pager-arrow--prev { transform: rotate(180deg); }
.pager-summary { margin: -16px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 599.98px) {
    .pager-step span:not(.pager-arrow) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .pager-step { padding: 0; }
}

/* ---------- Articol ---------- */
.article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 28px 44px; }
.article-title { margin: 0; max-width: 980px; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.article-lead { margin: 0; max-width: 820px; font-size: clamp(17px, 1.6vw, 20px); }
.article-hero { position: relative; overflow: hidden; }
.article-hero::after { content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border: 56px solid rgba(4, 149, 255, .07); border-radius: 50%; pointer-events: none; }
.article-hero .container { position: relative; z-index: 1; }

/* Articol pe toata latimea containerului + sidebar (desktop), sidebar sub articol pe ecrane mici. */
.article-shell { display: grid; gap: 40px; padding-block: 40px 72px; }
.article-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.article-main .article-body { font-size: 17px; }
.article-figure { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); }
.article-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.article-toc--inline { margin: 0; }
.article-toc--aside { display: none; }
@media (min-width: 1100px) {
    .article-shell { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
    .article-toc--inline { display: none; }
    .article-toc--aside { display: block; }
}

.article-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.aside-sticky { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 700px) and (max-width: 1099.98px) {
    .article-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .article-aside > .aside-card:first-child:not(:only-of-type) { grid-row: span 2; }
}
@media (min-width: 1100px) { .aside-sticky { position: sticky; top: 24px; } }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.aside-title { margin: 0 0 18px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.aside-toc { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.aside-toc a { color: var(--text-2); text-decoration: none; }
.aside-toc a:hover { color: var(--accent); }
.aside-posts { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.aside-post { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line); }
.aside-post:first-child { padding-top: 0; border-top: 0; }
.aside-post:last-child { padding-bottom: 0; }
.aside-post-thumb { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); color: #FFFFFF; font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.aside-post-thumb.blog-cover--0 { background: linear-gradient(140deg, #0F1E2E 0%, #1B3550 100%); }
.aside-post-thumb.blog-cover--1 { background: linear-gradient(140deg, #0379D1 0%, #0495FF 100%); }
.aside-post-thumb.blog-cover--2 { background: linear-gradient(140deg, #E6F4FF 0%, #CFE7FB 100%); color: var(--accent-hover); }
.aside-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.aside-post-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aside-post-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; }
.aside-post-title::after { content: ''; position: absolute; inset: 0; } /* tot randul e clicabil */
.aside-post:hover .aside-post-title { color: var(--accent); }
.aside-post-meta { font-size: 12px; color: var(--muted); }
.aside-categories { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.aside-categories a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; margin-inline: -12px; border-radius: var(--r-sm); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.aside-categories a:hover { background: var(--surface); color: var(--accent); }
.aside-categories a[aria-current] { background: var(--accent-tint); color: var(--accent-hover); font-weight: 600; }
.aside-count { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.aside-categories a[aria-current] .aside-count { background: #FFFFFF; color: var(--accent-hover); }
.aside-cta { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; overflow: hidden; padding: 26px 24px; border-radius: var(--r-lg); background: linear-gradient(150deg, #0F1E2E 0%, #1B3550 100%); color: var(--on-dark-muted); }
.aside-cta::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 190px; height: 190px; border: 28px solid rgba(143, 208, 255, .10); border-radius: 50%; pointer-events: none; }
.aside-cta > * { position: relative; z-index: 1; }
.aside-cta-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(143, 208, 255, .14); color: var(--accent-on-dark); }
.aside-cta-title { margin: 4px 0 0; color: #FFFFFF; font-size: 21px; line-height: 1.2; }
.aside-cta p { margin: 0; font-size: 14px; line-height: 1.55; }
.aside-cta .btn { margin-top: 6px; }
.aside-cta a.aside-cta-phone { align-self: center; color: #FFFFFF; font-weight: 600; font-size: 15px; text-decoration: none; }
.aside-cta a.aside-cta-phone:hover { color: var(--accent-on-dark); }

/* Bara de progres a citirii (doar CSS, browserele cu scroll-driven animations; altfel nu apare). */
.reading-progress { display: none; }
@supports (animation-timeline: scroll()) {
    .reading-progress { display: block; position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: reading-progress linear both; animation-timeline: scroll(root); }
    @keyframes reading-progress { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .reading-progress { display: none; } }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.article-back:hover { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share-label { margin-right: 4px; font-size: 13px; color: var(--muted); }
.share-link { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.share-link:hover { color: var(--accent); border-color: var(--accent); }
.share-status { font-size: 13px; color: var(--in-stock); }
.blog-related { padding-block: 56px 72px; }
.blog-related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.blog-related-head .h2 { font-size: clamp(24px, 2.4vw, 32px); }

/* Tipografie de lectura (articole + pagini CMS) */
.article-body, .cms-body { font-size: 17px; line-height: 1.75; color: var(--text-2); }
.article-body h2, .cms-body h2 { margin-top: 44px; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.25; letter-spacing: -0.005em; scroll-margin-top: 96px; }
.article-body h3, .cms-body h3 { margin-top: 32px; font-size: clamp(19px, 1.8vw, 21px); scroll-margin-top: 96px; }
.article-body h4, .cms-body h4 { margin-top: 24px; font-size: 17px; }
.article-body > :first-child, .cms-body .cms-block:first-child > .cms-text > :first-child { margin-top: 0; }
.article-body p { margin-top: 16px; }
.cms-body p { margin-top: 12px; }
.article-body ul, .article-body ol, .cms-body ul, .cms-body ol { padding-left: 24px; }
.article-body li + li, .cms-body li + li { margin-top: 8px; }
.article-body a, .cms-body a:not(.btn) { color: var(--accent-hover); text-decoration-color: color-mix(in oklab, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.article-body a:hover, .cms-body a:not(.btn):hover { text-decoration-color: currentColor; }
.article-body img, .cms-body img { border-radius: var(--r-ui); }
.article-body figure, .cms-body figure { margin: 24px 0 0; }
.article-body figcaption, .cms-body figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.article-body blockquote, .cms-body blockquote { margin: 28px 0 0; padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-ui) var(--r-ui) 0; background: var(--accent-tint); color: var(--ink); font-size: 18px; line-height: 1.6; }
.article-body blockquote > :first-child, .cms-body blockquote > :first-child { margin-top: 0; }
.article-body .rich-table, .cms-body .rich-table { margin-top: 24px; border-radius: var(--r-ui); }
.article-body table, .cms-body table { font-size: 15px; }
.article-body hr, .cms-body hr { margin: 40px 0; }
@media (max-width: 767.98px) { .article-body, .cms-body { font-size: 16px; line-height: 1.7; } }

/* Cuprins (articol + CMS) */
.cms-toc details { border-radius: var(--r-lg); background: #FFFFFF; }
.cms-toc summary { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cms-toc ol { counter-reset: toc; }
.cms-toc li { position: relative; }
.cms-toc a { display: block; padding: 2px 0 2px 12px; border-left: 2px solid var(--line); }
.cms-toc a:hover, .cms-toc a.is-active { border-left-color: var(--accent); color: var(--accent); }

/* ---------- Pagini CMS ---------- */
.cms-layout { display: flex; flex-direction: column; gap: 40px; padding-block: 40px 72px; }
.cms-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cms-body { width: 100%; max-width: var(--reading); margin-inline: 0; }
.cms-aside { display: flex; flex-direction: column; gap: 20px; }
.cms-nav, .cms-help { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.cms-nav-title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cms-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cms-nav a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: var(--r-ui); color: var(--ink); font-size: 15px; line-height: 1.35; text-decoration: none; }
.cms-nav a:hover { background: #FFFFFF; color: var(--accent); }
.cms-help { display: flex; flex-direction: column; gap: 10px; }
.cms-help .cms-nav-title { margin-bottom: 2px; }
.cms-help a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.cms-help a:hover { color: var(--accent); }
.cms-help .icon { flex: none; color: var(--accent); }
.cms-body .btn { border-radius: var(--r-ui); }
@media (min-width: 1100px) {
    .cms-layout--nav { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
    .cms-aside { position: sticky; top: 24px; }
    .cms-main--toc { display: grid; grid-template-columns: 220px minmax(0, var(--reading)); gap: 48px; align-items: start; }
    .cms-main--toc .cms-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; margin: 0; }
    .cms-main--toc .cms-toc summary { pointer-events: none; list-style: none; }
    .cms-main--toc .cms-toc summary::-webkit-details-marker { display: none; }
    .cms-layout:not(.cms-layout--nav) .cms-main { align-items: center; }
}
@media (min-width: 1100px) and (max-width: 1379.98px) {
    .cms-layout--nav .cms-main--toc { display: flex; }
    .cms-layout--nav .cms-main--toc .cms-toc { position: static; max-height: none; }
    .cms-layout--nav .cms-main--toc .cms-toc summary { pointer-events: auto; }
}
@media (min-width: 1380px) { .cms-layout--nav { grid-template-columns: minmax(0, 1fr) 300px; } }

/* ---------- Contact ---------- */
.contact-page { display: flex; flex-direction: column; gap: 32px; padding-block: 32px 72px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; }
.contact-card-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent); }
.contact-card-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-card-value { color: var(--ink); font-family: var(--font-heading); font-size: 19px; font-weight: 600; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
a.contact-card-value:hover { color: var(--accent); }
.contact-card-value--text { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.5; }
.contact-card-extra { font-size: 14px; color: var(--muted); text-decoration: none; }
.contact-card-extra:hover { color: var(--accent); }
.contact-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 32px; } }
.contact-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; scroll-margin-top: 24px; }
.contact-panel-title { margin: 0; font-size: 22px; line-height: 1.25; }
.contact-panel-text { margin: -8px 0 0; font-size: 14px; color: var(--muted); }
.contact-aside { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .input { border-radius: var(--r-sm); }
.contact-form textarea.input { min-height: 160px; padding-block: 12px; resize: vertical; line-height: 1.55; }
.contact-form .btn, .contact-panel .btn, .cms-help .btn { border-radius: var(--r-lg); }
.contact-form .btn { gap: 10px; }
.contact-form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.contact-form .field-error[hidden] { display: none; }
.contact-form .field.has-error .input { border-color: #DC2626; background: #FFFBFB; }
.contact-form .field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .18); }
.req { color: #DC2626; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-form-note { margin: 0; font-size: 13px; color: var(--muted); }
.turnstile-box { min-height: 65px; }
.contact-panel .alert { border-radius: var(--r-ui); }
.contact-card-phones { display: flex; flex-direction: column; gap: 4px; }
.contact-panel-subtitle { margin: 8px 0 -4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.contact-list li { padding-left: 14px; position: relative; }
.contact-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.contact-dl { display: grid; gap: 12px; margin: 0; }
.contact-dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-dl div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-dl dt { font-size: 14px; color: var(--muted); }
.contact-dl dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--accent-tint), var(--sky)); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.contact-map-placeholder p { margin: 0; max-width: 300px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.contact-map-placeholder .contact-card-icon { margin: 0; background: #FFFFFF; }
@media (max-width: 1023.98px) { .contact-map { aspect-ratio: 16 / 10; } }
@media (max-width: 599.98px) {
    .contact-cards { gap: 10px; }
    .contact-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
    .contact-card-icon { grid-row: span 3; margin: 0; }
    .contact-card > :not(.contact-card-icon) { grid-column: 2; }
}
@media (max-width: 479.98px) {
    .contact-dl div { grid-template-columns: 1fr; gap: 2px; }
    .contact-form-foot .btn { width: 100%; }
    .contact-card-value { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-card, .blog-card-media img, .blog-card-more .icon { transition: none; }
    .blog-card:hover { transform: none; }
    .blog-card:hover .blog-card-media img { transform: none; }
}
/* Confirmarea obligatorie (components/_consent.html.twig) */
.consent .check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error .check input { outline: 2px solid #B91C1C; outline-offset: 2px; }

/* ==========================================================================
   Bara de cookie + setari (components/_cookie_consent.html.twig)
   ========================================================================== */
.cookie-banner { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; box-shadow: 0 24px 60px rgba(15, 30, 46, .18), 0 2px 8px rgba(15, 30, 46, .06); animation: cookie-in .35s cubic-bezier(.2, .8, .2, 1) both; }
.cookie-banner[hidden] { display: none; }
@media (min-width: 640px) { .cookie-banner { left: 24px; right: auto; bottom: 24px; width: 440px; padding: 24px; } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner-head { display: flex; align-items: center; gap: 12px; }
.cookie-banner-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-hover); }
.cookie-banner-title { margin: 0; font-size: 18px; line-height: 1.25; }
.cookie-banner-text { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cookie-banner-text p { margin: 0; }
.cookie-banner-text p + p { margin-top: 8px; }
.cookie-banner-text a, .cookie-dialog-intro a { color: var(--accent-hover); font-weight: 600; }
.cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-banner-actions .btn { min-height: 44px; }
.cookie-banner-actions .btn:only-child { grid-column: 1 / -1; }
.cookie-btn-settings { grid-column: 1 / -1; order: 3; gap: 8px; }

.cookie-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: #FFFFFF; color: var(--ink); box-shadow: 0 30px 80px rgba(15, 30, 46, .3); }
.cookie-dialog[open] { animation: cookie-in .3s cubic-bezier(.2, .8, .2, 1) both; }
.cookie-dialog::backdrop { background: rgba(15, 30, 46, .55); backdrop-filter: blur(2px); }
.cookie-dialog-inner { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.cookie-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-dialog-title { margin: 0; font-size: 22px; }
.cookie-dialog-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--muted); cursor: pointer; }
.cookie-dialog-close:hover { color: var(--ink); border-color: var(--ink); }
.cookie-dialog-intro { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cookie-categories { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cookie-category { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.cookie-category-text { display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.cookie-category-text strong { font-size: 15px; }
.cookie-category-text span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cookie-always { flex: none; font-size: 12px; font-weight: 700; color: var(--in-stock); }
.switch { position: relative; flex: none; display: inline-flex; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.switch-track { width: 100%; height: 100%; border-radius: 999px; background: var(--field, #C5CED8); transition: background-color .2s; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(15, 30, 46, .25); transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--accent); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { box-shadow: var(--focus); }
.cookie-dialog-actions { display: grid; gap: 8px; }
@media (min-width: 560px) { .cookie-dialog-actions { grid-template-columns: repeat(3, 1fr); } }
.cookie-dialog-actions .btn { min-height: 44px; padding-inline: 12px; }

.footer-cookie-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-cookie-link:hover { color: #FFFFFF; }
.footer-sep { margin-inline: 6px; opacity: .6; }
@media (prefers-reduced-motion: reduce) { .cookie-banner, .cookie-dialog[open] { animation: none; } }

/* ==========================================================================
   Pagini de eroare (templates/bundles/TwigBundle/Exception, storefront/error/)
   ========================================================================== */
.err-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 500px at 85% 10%, var(--accent-soft) 0%, transparent 60%), var(--surface); }
.err-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .45; mask-image: radial-gradient(700px 360px at 80% 40%, #000 0%, transparent 75%); pointer-events: none; }
.err-hero-inner { position: relative; display: grid; gap: 40px; align-items: center; padding-block: 56px 64px; }
@media (min-width: 960px) { .err-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; padding-block: 80px 96px; } }
.err-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.err-title { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
.err-lead { margin: 0; max-width: 560px; }
.err-search { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; margin-top: 8px; padding: 6px 6px 6px 16px; border: 1.5px solid var(--field); border-radius: var(--r-md); background: #FFFFFF; box-shadow: 0 8px 24px rgba(15, 30, 46, .06); }
.err-search:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.err-search-icon { flex: none; display: grid; color: var(--muted); }
.err-search-input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.err-search .btn { flex: none; }
.err-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 8px; }
.err-actions .btn { gap: 8px; }
.err-phone { display: inline-flex; align-items: center; gap: 8px; padding-inline: 6px; color: var(--ink); font-weight: 600; text-decoration: none; }
.err-phone:hover { color: var(--accent); }
.err-suggest { padding-bottom: 72px; }

/* Aparatul cu ecran LCD */
.err-device { position: relative; justify-self: center; width: min(100%, 380px); }
.err-device-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 26px; border-radius: 36px; background: linear-gradient(160deg, #1B3550 0%, #0F1E2E 70%); box-shadow: 0 40px 80px rgba(15, 30, 46, .28), inset 0 1px 0 rgba(255, 255, 255, .08); transform: rotate(-3deg); animation: err-float 6s ease-in-out infinite; }
.err-device-top { display: flex; align-items: center; gap: 8px; }
.err-led { width: 8px; height: 8px; border-radius: 50%; background: #3A4C60; }
.err-led--on { background: #34D399; box-shadow: 0 0 10px #34D399; animation: err-blink 2.4s ease-in-out infinite; }
.err-device-brand { margin-left: auto; color: var(--on-dark-muted); font-family: var(--font-heading); font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .7; }
.err-screen { position: relative; display: flex; flex-direction: column; gap: 4px; overflow: hidden; padding: 18px 20px 14px; border-radius: 18px; background: linear-gradient(180deg, #0B2338 0%, #07192A 100%); box-shadow: inset 0 0 0 1px rgba(143, 208, 255, .12), inset 0 10px 30px rgba(0, 0, 0, .35); }
.err-screen::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); pointer-events: none; }
.err-screen-label { color: rgba(143, 208, 255, .6); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .2em; }
.err-screen-value { color: var(--accent-on-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(64px, 12vw, 104px); font-weight: 700; line-height: 1; letter-spacing: .04em; text-shadow: 0 0 18px rgba(143, 208, 255, .45); }
.err-pulse { width: 100%; height: 44px; overflow: visible; }
.err-pulse path { fill: none; stroke: #34D399; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; filter: drop-shadow(0 0 4px rgba(52, 211, 153, .7)); animation: err-trace 2.6s ease-in-out infinite; }
.err-device-keys { display: flex; gap: 10px; }
.err-device-keys span { flex: 1; height: 34px; border-radius: 12px; background: #24405C; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.err-device-keys .err-key-wide { flex: 2; background: var(--accent); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 6px 16px rgba(4, 149, 255, .35); }
.err-device-glow { position: absolute; left: 10%; right: 10%; bottom: -24px; height: 40px; border-radius: 50%; background: rgba(15, 30, 46, .25); filter: blur(18px); animation: err-shadow 6s ease-in-out infinite; }
@keyframes err-float { 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes err-shadow { 50% { transform: scaleX(.88); opacity: .7; } }
@keyframes err-trace { 0% { stroke-dashoffset: 320; } 55%, 75% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -320; } }
@keyframes err-blink { 50% { opacity: .35; } }

/* Pagina independenta (5xx, administrare) */
.err-standalone { min-height: 100vh; display: flex; background: radial-gradient(1100px 600px at 80% 0%, var(--accent-soft) 0%, transparent 60%), var(--surface); }
.err-standalone-main { flex: 1; display: flex; align-items: center; }
.err-brand { margin-bottom: 12px; color: var(--ink); font-family: var(--font-heading); font-size: 24px; font-weight: 700; text-decoration: none; }
.err-brand span { color: var(--accent); }
@media (max-width: 599.98px) {
    .err-actions .btn { flex: 1 1 100%; }
    .err-phone { justify-content: center; width: 100%; }
    .err-device { width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) { .err-device-body, .err-device-glow, .err-led--on, .err-pulse path { animation: none; } .err-pulse path { stroke-dashoffset: 0; } }
.err-suggest .category-card { min-height: 170px; }

/* ==========================================================================
   Pagina de mentenanta (storefront/maintenance.html.twig, MaintenanceMode, raspuns 503)
   ========================================================================== */
body.mnt { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
    background: radial-gradient(900px 520px at 85% 0%, var(--accent-soft) 0%, transparent 62%), radial-gradient(700px 420px at 0% 100%, #FFF6E5 0%, transparent 60%), var(--surface); }
body.mnt::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 44px 44px; opacity: .4; mask-image: radial-gradient(760px 420px at 78% 42%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(760px 420px at 78% 42%, #000 0%, transparent 75%); pointer-events: none; }
.mnt-main { position: relative; flex: 1; display: flex; align-items: center; }
.mnt-inner { display: grid; gap: 48px; align-items: center; padding-block: 48px 32px; }
@media (min-width: 960px) { .mnt-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; padding-block: 72px 48px; } }
.mnt-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.mnt-brand { display: inline-flex; align-items: center; margin-bottom: 10px; color: var(--ink); font-family: var(--font-heading); font-size: 24px; font-weight: 700; text-decoration: none; }
.mnt-brand span { color: var(--accent); }
.mnt-logo { display: block; width: auto; max-width: 220px; max-height: 56px; object-fit: contain; }
.mnt-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 12px; border: 1px solid #F2D9A6; border-radius: 999px; background: #FFF6E5;
    color: var(--on-order, #9A5B00); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mnt-status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #F59E0B; }
.mnt-status-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #F59E0B; opacity: 0; animation: mnt-ping 2s ease-out infinite; }
.mnt-title { margin: 0; color: var(--ink); font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.mnt-message { max-width: 580px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.mnt-message > * { margin: 0; }
.mnt-message > * + * { margin-top: 10px; }
.mnt-message a { color: var(--accent); }
.mnt-eta { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.mnt-eta[hidden], .mnt-soon[hidden] { display: none; }
.mnt-eta-label { margin: 0; color: var(--ink); font-weight: 600; }
.mnt-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 84px)); gap: 10px; }
.mnt-unit { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 10px; border: 1px solid var(--line); border-radius: var(--r-md); background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 30, 46, .06); }
.mnt-unit-value { color: var(--ink); font-family: var(--font-heading); font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.mnt-unit-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mnt-soon { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 4px 0 0; color: var(--ink); font-weight: 500; }
.mnt-progress { position: relative; display: block; width: min(100%, 320px); height: 6px; overflow: hidden; border-radius: 999px; background: var(--line); }
.mnt-progress span { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #34D399); animation: mnt-slide 1.8s ease-in-out infinite; }
.mnt-contact { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 580px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.mnt-contact-title { margin: 0; color: var(--ink); font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.mnt-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mnt-contact-btn { gap: 8px; min-width: 0; }
.mnt-contact-btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mnt-hours { margin: 0; color: var(--muted); font-size: 14px; }
.mnt-footer { position: relative; padding-block: 20px 28px; color: var(--muted); font-size: 13px; }

/* Aparatul: LED galben, ecran cu rotite si bara de progres */
.mnt-device { width: min(100%, 400px); }
.mnt-led { background: #F59E0B; box-shadow: 0 0 10px #F59E0B; animation: err-blink 1.6s ease-in-out infinite; }
.mnt-screen { gap: 10px; padding-bottom: 18px; }
.mnt-screen-row { display: flex; align-items: center; gap: 4px; min-height: 88px; }
.mnt-gear { flex: none; fill: none; stroke: var(--accent-on-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(143, 208, 255, .45)); }
.mnt-gear--big { width: 72px; height: 72px; animation: mnt-spin 6s linear infinite; }
.mnt-gear--small { width: 42px; height: 42px; margin: 34px 0 0 -14px; stroke: #34D399; filter: drop-shadow(0 0 6px rgba(52, 211, 153, .5)); animation: mnt-spin 4s linear infinite reverse; }
.mnt-screen-text { margin-left: auto; white-space: nowrap; color: var(--accent-on-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: .08em;
    text-shadow: 0 0 14px rgba(143, 208, 255, .45); }
.mnt-screen-text::after { content: '_'; animation: err-blink 1s steps(1) infinite; }
.mnt-screen-bar { position: relative; display: block; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(143, 208, 255, .12); }
.mnt-screen-bar span { position: absolute; inset: 0 auto 0 0; width: 45%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-on-dark), #34D399); box-shadow: 0 0 10px rgba(52, 211, 153, .6); animation: mnt-slide 2.4s ease-in-out infinite; }
@keyframes mnt-spin { to { transform: rotate(360deg); } }
@keyframes mnt-slide { 0% { left: -45%; } 100% { left: 100%; } }
@keyframes mnt-ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 959.98px) { .mnt-device { order: -1; width: min(100%, 300px); } .mnt-inner { gap: 36px; } .mnt-screen-text { font-size: 26px; letter-spacing: .04em; } }
@media (max-width: 599.98px) {
    .mnt-inner { padding-block: 28px 16px; }
    .mnt-device { width: min(100%, 240px); }
    .mnt-screen-row { min-height: 64px; }
    .mnt-gear--big { width: 54px; height: 54px; }
    .mnt-gear--small { width: 32px; height: 32px; margin-top: 26px; }
    .mnt-screen-text { font-size: 20px; }
    .mnt-message { font-size: 16px; }
    .mnt-countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
    .mnt-contact-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .mnt-status-dot::after, .mnt-led, .mnt-gear, .mnt-screen-text::after { animation: none; }
    .mnt-progress span, .mnt-screen-bar span { left: 0; width: 60%; animation: none; }
}

/* ==========================================================================
   Recenzii produs (catalog/_reviews.html.twig)
   ========================================================================== */
.stars { --star-size: 18px; --star-on: #F5A524; --star-off: #D7DEE6; flex: none; display: inline-block; width: calc(var(--star-size) * 5); height: var(--star-size); vertical-align: middle;
    background: linear-gradient(90deg, var(--star-on) calc(var(--stars, 0) / 5 * 100%), var(--star-off) 0);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.95 6 6.6.96-4.78 4.66 1.13 6.57L12 17.68l-5.9 3.1 1.13-6.57L2.45 9.56l6.6-.96z'/%3E%3C/svg%3E") 0 0 / var(--star-size) var(--star-size) repeat-x;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.95 6 6.6.96-4.78 4.66 1.13 6.57L12 17.68l-5.9 3.1 1.13-6.57L2.45 9.56l6.6-.96z'/%3E%3C/svg%3E") 0 0 / var(--star-size) var(--star-size) repeat-x; }
.rating-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink); font-size: 14px; text-decoration: none; }
.rating-line:hover strong { color: var(--accent); }

.rating-input { margin: 0; padding: 0; border: 0; }
.rating-input legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.rating-input-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input-stars label { display: grid; place-items: center; padding: 2px; border-radius: var(--r-sm); color: #C5CED8; cursor: pointer; transition: transform .12s, color .12s; }
.rating-input-stars label .icon { fill: currentColor; stroke: currentColor; }
.rating-input-stars label:hover, .rating-input-stars label:hover ~ label, .rating-input-stars input:checked ~ label { color: #F5A524; }
.rating-input-stars label:hover { transform: scale(1.12); }
.rating-input-stars input:focus-visible + label { box-shadow: var(--focus); }
.rating-input.has-error legend { color: #DC2626; }

.rv { display: flex; flex-direction: column; gap: 24px; }
.rv-head .eyebrow { margin: 0 0 6px; }
.rv-title { margin: 0; display: flex; align-items: center; gap: 12px; }
.rv-title-count { display: inline-grid; place-items: center; min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-size: 15px; font-weight: 700; }

.rv-summary { display: grid; gap: 24px; padding: 24px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--surface) 0%, var(--accent-tint) 100%); border: 1px solid var(--line); }
@media (min-width: 900px) { .rv-summary { grid-template-columns: auto minmax(0, 1fr) minmax(260px, 320px); align-items: center; gap: 40px; padding: 32px 36px; } .rv-summary--empty { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); } }
.rv-score { display: flex; align-items: center; gap: 18px; }
.rv-score-value { font-family: var(--font-heading); font-size: 68px; font-weight: 700; line-height: .9; letter-spacing: -0.04em; color: var(--ink); }
.rv-score-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.rv-bars { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.rv-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: center; gap: 12px; font-size: 13px; }
.rv-bar-label { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--ink); }
.rv-bar-label span { color: #F5A524; }
.rv-bar { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(15, 30, 46, .07); }
.rv-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #F5A524, #FBBF24); }
.rv-bar-n { text-align: right; color: var(--muted); }
.rv-empty { display: flex; align-items: center; gap: 18px; }
.rv-empty-stars .stars { --star-on: #D7DEE6; }
.rv-empty strong { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--ink); }
.rv-empty p { margin: 4px 0 0; color: var(--muted); }
.rv-action { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 22px; border-radius: var(--r-lg); background: #FFFFFF; box-shadow: 0 12px 30px rgba(15, 30, 46, .07); }
.rv-action-text { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.45; }
.rv-action-hint { font-size: 12px; text-align: center; color: var(--muted); }
.rv-btn { gap: 10px; padding-inline: 26px; }
.rv-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; }
.rv-note .icon { flex: none; margin-top: 1px; }
.rv-note--success, .rv-note--own { background: #ECFDF3; color: var(--in-stock); }
.rv-note--danger { background: #FEF2F2; color: #B91C1C; }

.rv-compose[open] { animation: cookie-in .3s ease both; }
.rv-form { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: #FFFFFF; box-shadow: 0 18px 44px rgba(15, 30, 46, .08); }
.rv-form-head { display: flex; flex-direction: column; gap: 4px; }
.rv-form-title { margin: 0; font-size: 20px; }
.rv-form-head p { margin: 0; }
.rv-form textarea.input { min-height: 140px; padding-block: 12px; resize: vertical; line-height: 1.55; }
.rv-form-foot { display: flex; flex-wrap: wrap; gap: 10px; }

.rv-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .rv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.rv-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; transition: box-shadow .2s, border-color .2s; }
.rv-card::before { content: '\201C'; position: absolute; top: 6px; right: 20px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--accent-soft); pointer-events: none; }
.rv-card:hover { border-color: #C9D6E3; box-shadow: 0 12px 30px rgba(15, 30, 46, .07); }
.rv-card-top { display: flex; align-items: center; gap: 12px; }
.rv-date { font-size: 13px; color: var(--muted); }
.rv-card-title { margin: 0; font-size: 17px; line-height: 1.3; }
.rv-card-body { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); overflow-wrap: anywhere; }
.rv-card-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.rv-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0379D1); color: #FFFFFF; font-family: var(--font-heading); font-weight: 700; }
.rv-author { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--in-stock); }
.rv-reply { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); font-size: 14px; }
.rv-reply-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.rv-reply p { margin: 6px 0 0; color: var(--text-2); line-height: 1.55; }
@media (max-width: 599.98px) { .rv-summary, .rv-form { padding: 20px; } .rv-score-value { font-size: 56px; } .rv-form-foot .btn { flex: 1 1 100%; } }

/* ==========================================================================
   Newsletter (storefront/newsletter/): banda din footer + paginile de confirmare
   ========================================================================== */
.newsletter-band { position: relative; display: grid; gap: 20px; overflow: hidden; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, #16324D 0%, #1B3A5A 55%, #0B5CA0 140%); color: var(--on-dark); }
.newsletter-band::after { content: ''; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border: 36px solid rgba(143, 208, 255, .08); border-radius: 50%; pointer-events: none; }
.newsletter-band > * { position: relative; z-index: 1; }
@media (min-width: 960px) { .newsletter-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; padding: 32px 36px; } }
.newsletter-copy { display: flex; align-items: flex-start; gap: 16px; }
.newsletter-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(143, 208, 255, .14); color: var(--accent-on-dark); }
.newsletter-title { margin: 0 0 6px; color: #FFFFFF; font-size: 22px; line-height: 1.2; }
.newsletter-copy p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.newsletter-row { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-md); background: #FFFFFF; }
.newsletter-row .input { flex: 1; min-width: 0; height: 46px; border: 0; box-shadow: none; }
.newsletter-row .input:focus { box-shadow: none; }
.newsletter-row:focus-within { box-shadow: 0 0 0 3px rgba(143, 208, 255, .45); }
.newsletter-row .btn { flex: none; min-height: 46px; }
.newsletter-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--on-dark-muted); cursor: pointer; }
.newsletter-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.newsletter-consent a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }
.newsletter-message { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; }
.newsletter-message--success { background: rgba(52, 211, 153, .14); color: #A7F3D0; }
.newsletter-message--danger { background: rgba(248, 113, 113, .16); color: #FECACA; }
.site-footer .newsletter-band { margin-bottom: 48px; }
@media (max-width: 479.98px) { .newsletter-row { flex-direction: column; } .newsletter-row .btn { width: 100%; } }

.newsletter-result { display: flex; justify-content: center; padding-block: 64px 80px; }
.newsletter-result-card { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 560px; padding: 40px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #FFFFFF; text-align: center; box-shadow: 0 24px 60px rgba(15, 30, 46, .08); }
.newsletter-result-card .h2, .newsletter-result-card .lead { margin: 0; }
.newsletter-result-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-hover); }
.newsletter-result-icon--confirmed, .newsletter-result-icon--unsubscribed { background: #DCFCE7; color: var(--in-stock); }
.newsletter-result-icon--invalid { background: #FEF3C7; color: #9A5B00; }
.newsletter-result-email { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 600; }
/* Butonul plutitor "Setari cookie-uri" (dupa alegere): rotund, se extinde cu eticheta la hover/focus. */
.cookie-fab { position: fixed; z-index: 70; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 0; height: 48px; padding: 0 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--accent-hover); box-shadow: 0 10px 28px rgba(15, 30, 46, .16); cursor: pointer; transition: gap .2s, padding .2s, box-shadow .2s; }
.cookie-fab[hidden] { display: none; }
.cookie-fab svg { flex: none; }
.cookie-fab-label { max-width: 0; overflow: hidden; white-space: nowrap; color: var(--ink); font: 600 14px/1 var(--font-body); transition: max-width .25s ease; }
.cookie-fab:hover, .cookie-fab:focus-visible { gap: 8px; padding-right: 18px; box-shadow: 0 14px 34px rgba(15, 30, 46, .22); }
.cookie-fab:hover .cookie-fab-label, .cookie-fab:focus-visible .cookie-fab-label { max-width: 160px; }
.cookie-fab:focus-visible { outline: none; box-shadow: var(--focus), 0 14px 34px rgba(15, 30, 46, .22); }
@media (min-width: 640px) { .cookie-fab { left: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .cookie-fab, .cookie-fab-label { transition: none; } }
