/* Stiluri publice. Mobile-first: stilurile de bază sunt pentru telefon, apoi se adaugă pentru ecrane mai late. */

:root {
    --c-primary: #1f3a5f;       /* bleumarin — încredere și calm, reduce ezitarea la plata avansului */
    --c-primary-dark: #15294a;
    --c-secondary: #f3f6fa;     /* gri-albăstrui foarte deschis — fundaluri secundare */
    --c-accent: #b8892b;        /* auriu — accente (fir de aur), nu pentru text pe fundal alb */
    --c-cta: #f09054;           /* portocaliul din logo — butoanele de acțiune */
    --c-cta-dark: #e27c3c;      /* hover: un ton mai închis, același portocaliu */
    --c-cta-text: #1c2430;      /* text închis pe portocaliu: contrast ~7:1 (alb pe portocaliu ar fi ilizibil) */
    --c-text: #1c2430;
    --c-muted: #56606d;
    --c-line: #e2e7ee;
    --c-white: #ffffff;
    --c-danger: #b42318;
    --radius: 14px;
    --shadow: 0 6px 22px rgba(28, 36, 48, .08);
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--c-text); margin: 0 0 .6em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
.h2 { font-size: 1.5rem; }
.h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--c-muted); }
.muted { color: var(--c-muted); font-size: .92em; }
.note { font-size: .9rem; color: var(--c-muted); }
.plain { list-style: none; padding: 0; margin: 0; }
.centered { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--c-primary); font-weight: 600; margin-bottom: .5em; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-accent); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 40px 0; }
.section-alt { background: var(--c-secondary); }
.split { display: grid; gap: 28px; }
.grid { display: grid; gap: 18px; }
.page-head { margin: 24px 0; }
.empty { padding: 40px 0; color: var(--c-muted); }

/* ---------- Butoane ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px;
    background: var(--c-cta); color: var(--c-cta-text); font: inherit; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: background .2s, transform .1s;
}
.btn:hover { background: var(--c-cta-dark); color: var(--c-cta-text); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: .92rem; }
.btn-large { min-height: 54px; padding: 12px 30px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--c-text); border: 2px solid var(--c-cta); }
.btn-ghost:hover { background: #fdf0e6; color: var(--c-text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.link-arrow { font-weight: 600; text-decoration: none; }

/* ---------- Antet ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--c-text); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: none; }
.main-nav.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px;
    background: var(--c-white); padding: 12px 16px 20px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
}
.main-nav a { padding: 12px 4px; text-decoration: none; color: var(--c-text); border-bottom: 1px solid var(--c-line); }
.main-nav a.btn { margin-top: 12px; border: 0; justify-content: center; color: var(--c-cta-text); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--c-secondary) 0%, #e4ecf6 100%); padding: 40px 0 48px; }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.hero-art { max-width: 420px; margin: 0 auto; }

/* ---------- Carduri ---------- */
.card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
a.card:hover { border-color: var(--c-primary); }
.category-card h3 { color: var(--c-primary); }
.category-card p { color: var(--c-muted); font-size: .95rem; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-media { display: block; aspect-ratio: 1 / 1; background: var(--c-secondary); }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.product-body h2 { font-size: 1.1rem; margin: 0; }
.product-body h2 a { color: var(--c-text); text-decoration: none; }
.price { font-weight: 700; color: var(--c-primary); font-size: 1.05rem; margin: 0; }
.media-placeholder {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--c-secondary), #dbe5f1);
}
.media-placeholder img { width: 42%; height: auto; border-radius: 50%; opacity: .85; }
.media-placeholder.big { min-height: 320px; }
.review { margin: 0; }
.review blockquote { margin: 0 0 12px; font-style: italic; }
.review figcaption { display: flex; justify-content: space-between; gap: 8px; color: var(--c-muted); }
.review figcaption span { color: var(--c-accent); }

.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--c-line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--c-primary); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--c-muted); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 6px; }
label { font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], input[type="file"], select, textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; color: var(--c-text);
    background: var(--c-white); border: 1px solid #c4cdd8; border-radius: 10px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(31, 58, 95, .15); }
.counter { text-align: right; color: var(--c-muted); }
.radio-line { display: flex; gap: 10px; align-items: center; min-height: 40px; font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 12px 0; }
.consent input { margin-top: 5px; width: 20px; height: 20px; flex: 0 0 auto; }
.form-status { min-height: 1.4em; font-weight: 600; color: var(--c-primary); }
.form-status.error { color: var(--c-danger); }
.field-error { color: var(--c-danger); font-size: .9rem; margin: 2px 0 0; }

/* ---------- Opțiuni (configurator) ---------- */
.option-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.option-card {
    position: relative; display: grid; gap: 2px; padding: 14px 16px; min-height: 64px;
    border: 2px solid var(--c-line); border-radius: var(--radius); background: var(--c-white); cursor: pointer;
}
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:checked) { border-color: var(--c-primary); background: #eef4fb; box-shadow: 0 0 0 1px var(--c-primary) inset; }
.option-card:has(input:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.option-title { font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { display: grid; justify-items: center; gap: 4px; cursor: pointer; font-size: .85rem; font-weight: 400; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c4cdd8; box-shadow: inset 0 0 0 2px var(--c-white); }
.swatch:has(input:checked) span { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.font-card { position: relative; display: grid; justify-items: center; gap: 4px; padding: 12px 8px; border: 2px solid var(--c-line); border-radius: var(--radius); cursor: pointer; font-size: 1.4rem; font-weight: 400; background: var(--c-white); }
.font-card input { position: absolute; opacity: 0; pointer-events: none; }
.font-card small { font-family: var(--font-body); font-size: .8rem; color: var(--c-muted); }
.font-card:has(input:checked) { border-color: var(--c-primary); background: #eef4fb; }
.symbol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.symbol-card { position: relative; display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border: 2px solid var(--c-line); border-radius: var(--radius); cursor: pointer; font-weight: 400; background: var(--c-white); }
.symbol-card input { position: absolute; opacity: 0; pointer-events: none; }
.symbol-card img { width: 64px; height: 64px; object-fit: contain; }
.symbol-card small { font-size: .8rem; text-align: center; }
.symbol-card:has(input:checked) { border-color: var(--c-primary); background: #eef4fb; }
.option-card.check input[type="checkbox"], .consent input[type="checkbox"] { position: static; opacity: 1; pointer-events: auto; }
.option-card.check { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
.option-card.check .option-title, .option-card.check .muted { grid-column: 2; }
.option-card.check input { grid-row: span 2; width: 22px; height: 22px; position: static; opacity: 1; margin: 0; }

/* ---------- Configurator ---------- */
.configurator-layout { display: grid; gap: 24px; padding-top: 12px; padding-bottom: 40px; }
.preview-panel { position: relative; }
.preview-stage {
    position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius);
    background: var(--c-secondary); overflow: hidden; box-shadow: var(--shadow);
}
.preview-product { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.preview-placeholder { background: repeating-linear-gradient(45deg, #e6ecf4, #e6ecf4 12px, #f3f6fa 12px, #f3f6fa 24px); }
.preview-area {
    position: absolute; border: 2px dashed rgba(31, 58, 95, .55); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; transform: translateZ(0);
    pointer-events: none; min-width: 20%; min-height: 12%;
}
.preview-text { white-space: nowrap; line-height: 1; text-shadow: 0 0 1px rgba(0, 0, 0, .15); }
.preview-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.preview-caption { font-size: .85rem; color: var(--c-muted); margin: 8px 0 14px; }
.price-box { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px 16px; }
.price-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: .95rem; }
.price-row.total { border-top: 1px solid var(--c-line); margin-top: 6px; padding-top: 10px; font-size: 1.1rem; }
.price-row.total strong { color: var(--c-primary); }

.stepper { display: flex; gap: 8px; overflow-x: auto; list-style: none; padding: 0 0 6px; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.stepper li {
    flex: 0 0 auto; font-size: .85rem; padding: 6px 12px; border-radius: 999px;
    background: var(--c-secondary); color: var(--c-muted); white-space: nowrap;
}
.stepper li[aria-current="step"] { background: var(--c-primary); color: var(--c-white); font-weight: 600; }
.stepper li.done { background: #d6e2f0; color: var(--c-primary-dark); }
.step { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; }
.wizard-nav .btn { flex: 1; }
.summary { display: grid; grid-template-columns: 1fr; gap: 4px 12px; background: var(--c-secondary); padding: 16px; border-radius: var(--radius); margin: 0 0 18px; }
.summary dt { font-weight: 600; color: var(--c-muted); font-size: .9rem; }
.summary dd { margin: 0 0 8px; }

/* ---------- Pagina de produs ---------- */
.breadcrumb { font-size: .9rem; color: var(--c-muted); margin: 16px 0; }
.breadcrumb a { color: var(--c-muted); }
.product-layout { display: grid; gap: 28px; padding-bottom: 40px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--c-secondary); }
.gallery-main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: 0 0 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--c-primary); }
.thumb img { width: 72px; height: 72px; object-fit: cover; }
.variant-list { padding-left: 1.1em; }
.variant-list li { margin-bottom: 4px; }

/* ---------- Căutare, verificarea comenzii, newsletter și cookie-uri ---------- */
.form-card { max-width: 480px; margin-top: 24px; }
.form-card .btn { margin-top: 4px; }
.site-footer .newsletter-label { display: block; font-size: .92rem; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-row input {
    flex: 1 1 170px; min-height: 42px; padding: 8px 12px; border-radius: 8px; border: 1px solid #4a5666;
    background: #fff; color: var(--c-text);
}
.site-footer .consent { font-size: .85rem; margin: 10px 0 4px; }
.site-footer .form-status { color: #fff; font-size: .9rem; }
.site-footer .form-status.error { color: #ffb4b4; }
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 640px; margin: 0 auto;
    background: #fff; color: var(--c-text); border: 1px solid var(--c-line); border-radius: 12px;
    padding: 16px 18px; box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 12px; font-size: .92rem; }
.cookie-banner .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Subsol ---------- */
.site-footer { background: #1c2430; color: #dfe6ef; padding: 36px 0 0; margin-top: 40px; }
.site-footer a { color: #f1f5fa; }
.site-footer strong { color: var(--c-white); }
.footer-grid { display: grid; gap: 26px; }
.footer-grid ul li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding: 16px 0 24px; }
.whatsapp-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 40; padding: 10px 16px; border-radius: 999px;
    background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); font-size: .9rem;
}
.whatsapp-float:hover { color: #fff; }

/* ---------- Pagini de text ---------- */
body:has(#cookie-banner:not([hidden])) .whatsapp-float { display: none; }
.prose { font-size: 1.02rem; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* ---------- Pagina de acasă și produs: elemente adăugate ---------- */
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--c-muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--c-accent); font-weight: 700; margin-right: 6px; }
.product-body h3 { font-size: 1.1rem; margin: 0; }
.product-body h3 a { color: var(--c-text); text-decoration: none; }
.product-body .muted { margin: 0; }
.steps-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps-cards li { counter-increment: step; display: grid; gap: 2px; padding: 16px 16px 16px 64px; position: relative; background: var(--c-secondary); border-radius: var(--radius); }
.steps-cards li::before {
    content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: var(--c-white);
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps-cards span { color: var(--c-muted); font-size: .95rem; }
.cta-band { background: var(--c-primary); color: var(--c-white); }
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: #d6e2f0; }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-secondary); font-weight: 600; font-size: .92rem; }
.chips .muted { font-weight: 400; }
.swatches-static .swatch { cursor: default; }
.swatches-static { margin-bottom: 18px; }
.checklist { list-style: none; padding: 0; margin: 18px 0; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.product-info .btn-large { width: 100%; }
.product-info .prose { margin-bottom: 1.2rem; }
.product-info .h3 { margin: 1.4rem 0 .6rem; }
.swatch:has(input:focus-visible) span { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* ============ Ecrane mai late (tabletă) ============ */
@media (min-width: 640px) {
    h1 { font-size: 2.4rem; }
    .grid.cards-3 { grid-template-columns: repeat(2, 1fr); }
    .steps-cards { grid-template-columns: repeat(2, 1fr); }
    .product-info .btn-large { width: auto; }
    .option-grid { grid-template-columns: repeat(2, 1fr); }
    .option-grid.three { grid-template-columns: repeat(3, 1fr); }
    .summary { grid-template-columns: 180px 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1.1fr .9fr; }
}

/* ============ Desktop ============ */
@media (min-width: 900px) {
    .section { padding: 64px 0; }
    .hero { padding: 72px 0 80px; }
    .grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
    .steps-cards { grid-template-columns: repeat(4, 1fr); }
    .steps-cards li { padding: 64px 16px 18px; text-align: center; }
    .steps-cards li::before { left: 50%; top: 18px; transform: translateX(-50%); }
    .grid.cards-5 { grid-template-columns: repeat(5, 1fr); }
    .grid.cards-3, .grid.cards-5 { gap: 22px; }
    .split { grid-template-columns: 1fr 1fr; align-items: start; }
    .menu-toggle { display: none; }
    .main-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
    .main-nav a { border: 0; padding: 6px 2px; font-size: .95rem; }
    .main-nav a.btn { margin: 0 0 0 6px; color: var(--c-cta-text); padding: 8px 18px; min-height: 40px; }
    .main-nav.open { position: static; box-shadow: none; border: 0; padding: 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-layout { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 48px; }
    .configurator-layout { grid-template-columns: 5fr 6fr; align-items: start; gap: 40px; }
    .preview-panel { position: sticky; top: 90px; }
    .option-grid.three { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr 1.3fr; }
    .wizard-nav { justify-content: flex-start; }
    .wizard-nav .btn { flex: 0 0 auto; min-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Ajustări: meniu, carusel de produs, grupe de opțiuni ============ */

.carousel { position: relative; }
.carousel-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    border-radius: var(--radius); background: var(--c-secondary); overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.carousel-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .92); color: var(--c-primary); font-size: 1.6rem; line-height: 1; box-shadow: var(--shadow);
}
.carousel-btn:hover { background: var(--c-white); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.carousel-dot { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: #c4cdd8; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: var(--c-primary); }

.option-group { margin-bottom: 22px; }
.option-group legend { font-size: 1.02rem; }
.option-note { margin-top: 12px; }

/* ============ Catalog: bara de căutare și filtre ============ */
/* Telefon: câmpurile una sub alta. Tabletă: căutarea pe toată lățimea, filtrele două câte două. Desktop: un singur rând. */
.filter-bar { display: grid; gap: 12px; margin: 18px 0 8px; align-items: end; }
.filter-bar label { display: grid; gap: 4px; }
.filter-bar label > span { font-size: .85rem; font-weight: 600; color: var(--c-muted); }
.filter-bar input[type="search"], .filter-bar select {
    width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--c-text);
    background: var(--c-white); border: 1px solid #c4cdd8; border-radius: 10px;
}
.filter-bar .btn { width: 100%; }
.filter-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font-size: .95rem; color: var(--c-muted); margin: 8px 0 0; }
.catalog-results { padding-top: 24px; }
.category-meta { font-weight: 600; color: var(--c-primary); font-size: .92rem; margin: 0; }
.section-inline { margin-top: 36px; }

/* Câmpul-capcană pentru roboți: nevăzut, dar prezent în pagină */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Legături interne în liste (chips) ============ */
.chips a { color: var(--c-text); text-decoration: none; }
.chips a:hover { color: var(--c-primary); text-decoration: underline; }
.chips-large li { font-size: 1rem; padding: 10px 18px; }

/* ============ Verificarea comenzii ============ */
.order-check { background: #fdf0e6; border-bottom: 1px solid #f5d3b8; padding: 14px 0; }
.order-check-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.order-check-row p { margin: 0; }
.order-result {
    margin-top: 24px; max-width: 560px; background: var(--c-white); border: 1px solid var(--c-line);
    border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.order-number { margin: 0; font-size: .9rem; color: var(--c-muted); }
.order-label { margin: 2px 0 16px; font-family: var(--font-head); font-size: 1.6rem; color: var(--c-text); }
.order-note { margin: 0; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.order-steps li { position: relative; min-height: 24px; padding-left: 36px; color: var(--c-muted); display: flex; align-items: center; }
.order-steps li::before {
    content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px;
    border-radius: 50%; border: 2px solid #c4cdd8; background: var(--c-white); box-sizing: border-box;
}
.order-steps li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 60%; height: 16px; width: 2px; background: #c4cdd8; }
.order-steps li.done { color: var(--c-text); }
.order-steps li.done::before { background: var(--c-primary); border-color: var(--c-primary); }
.order-steps li.done::after { background: var(--c-primary); }
.order-steps li[aria-current="step"] { color: var(--c-text); font-weight: 700; }
.order-steps li[aria-current="step"]::before { background: var(--c-cta); border-color: var(--c-cta); box-shadow: 0 0 0 5px rgba(240, 144, 84, .25); }

/* ============ Articole: blog și ocazii ============ */
.article-card { display: flex; flex-direction: column; gap: 6px; }
.article-card h2, .article-card h3 { font-size: 1.15rem; margin: 0; }
.article-card h2 a, .article-card h3 a { color: var(--c-text); text-decoration: none; }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--c-primary); text-decoration: underline; }
.article-card p { margin: 0; }
.article-card .link-arrow { margin-top: auto; }
.article-meta { font-size: .85rem; color: var(--c-muted); margin: 0 0 6px; }
.prose { overflow-x: auto; }
.prose h2 { font-size: 1.35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; min-width: 110px; }
.prose th { background: var(--c-secondary); font-weight: 700; }
.prose blockquote { margin: 0 0 1em; padding: 8px 16px; border-left: 3px solid var(--c-accent); color: var(--c-muted); }
.prose li { margin-bottom: 4px; }

/* ============ Tabletă și desktop: bara de filtre ============ */
@media (min-width: 640px) {
    .filter-search { grid-column: 1 / -1; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-bar .btn { width: auto; justify-self: start; }
}
@media (min-width: 900px) {
    .filter-bar { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; }
    .filter-search { grid-column: auto; }
    .filter-bar .btn { min-height: 46px; }
}

/* ============ Fotografii pentru categorii și articole ============ */
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-secondary); margin: -20px -20px 14px; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-media .media-placeholder { width: 100%; height: 100%; }
.category-hero { margin: 0 0 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--c-secondary); }
.category-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-hero { margin: 0 0 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--c-secondary); }
.article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) {
    .category-hero { aspect-ratio: 21 / 8; }
}

/* Imaginea de rezervă (până se încarcă o fotografie reală) */
.media-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
