/* ============================================================
   PrintShop3D — design system
   Hârtie caldă + un singur portocaliu „signal", textură de
   build-plate ca accent discret. Premium, nu neon.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Bază */
    --bg:        #f4f2ec;   /* hârtie caldă */
    --bg-2:      #eceae1;   /* hârtie ușor mai închisă (hatch, secțiuni) */
    --surface:   #ffffff;
    --surface-2: #faf9f5;

    /* Cerneală */
    --ink:    #1c1a17;
    --ink-2:  #3c3934;
    --muted:  #6c675f;
    --muted-2:#9a948b;

    /* Linii */
    --line:    rgba(28,26,23,0.10);
    --line-2:  rgba(28,26,23,0.16);

    /* Accent — signal orange */
    --orange:      #ec5a24;
    --orange-deep: #d4481a;
    --orange-soft: #fcebe2;
    --orange-tint: rgba(236,90,36,0.10);

    /* Întunecat (carduri dark cu grilă) */
    --dark:   #17140f;
    --dark-2: #211c16;
    --on-dark:       #f4f2ec;
    --on-dark-muted: #b6b0a6;

    /* Stare */
    --green:  #1f9d57;
    --green-bg:#e6f4ec;
    --red:    #c0392b;
    --red-bg: #fdecea;

    --radius:    12px;
    --radius-lg: 18px;
    --radius-xl: 26px;

    --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Roboto Mono', Menlo, Consolas, monospace;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Textura build-plate (grilă fină) pentru cardurile întunecate */
.build-grid {
    background-color: var(--dark);
    background-image:
        radial-gradient(120% 120% at 80% 0%, rgba(236,90,36,0.18), transparent 55%),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: auto, 26px 26px, 26px 26px;
}
/* Hașură diagonală caldă (carduri „light" din marketplace) */
.hatch {
    background-image: repeating-linear-gradient(45deg,
        #e7e3d8 0, #e7e3d8 9px, #f1efe7 9px, #f1efe7 18px);
}

/* Etichetă mono (eyebrow) */
.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
}

/* ===================== HEADER / NAV ===================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244,242,236,0.85);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand strong { color: var(--orange); font-weight: 800; }
.brand-mark { width: 26px; height: 22px; display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; }
.brand-mark i { display: block; height: 3px; border-radius: 2px; background: var(--ink); }
.brand-mark i:nth-child(1) { width: 100%; background: var(--orange); }
.brand-mark i:nth-child(2) { width: 70%; }
.brand-mark i:nth-child(3) { width: 100%; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .12s; }
.nav-link:hover { color: var(--orange); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cart {
    position: relative; width: 42px; height: 42px; border-radius: 11px;
    border: 1px solid var(--line-2); background: var(--surface);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--ink); font-size: 18px; transition: border-color .12s, transform .1s;
}
.nav-cart:hover { border-color: var(--orange); }
.cart-badge {
    position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--orange); color: #fff;
    font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--bg);
}
.btn-upload {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: #fff; text-decoration: none;
    padding: 11px 18px; border-radius: 11px; font-weight: 700; font-size: 14.5px;
    box-shadow: 0 6px 18px rgba(236,90,36,0.30); transition: background .12s, transform .1s;
}
.btn-upload:hover { background: var(--orange-deep); }
.btn-upload:active { transform: scale(.98); }

/* Hamburger (ascuns pe desktop, afișat sub 768px) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 11px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section-sm { padding: 2.25rem 0; }

/* ===================== BUTOANE ===================== */

.btn-primary {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--orange); color: #fff; text-decoration: none; border: none;
    padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
    font-family: inherit; box-shadow: 0 8px 22px rgba(236,90,36,0.28);
    transition: background .12s, transform .1s;
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-primary:active { transform: scale(.99); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--surface); color: var(--ink); text-decoration: none;
    padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer;
    font-family: inherit; border: 1px solid var(--line-2);
    transition: border-color .12s, color .12s;
}
.btn-ghost:hover { border-color: var(--ink); }

.link-quiet { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; }
.link-quiet b { color: var(--orange); font-weight: 700; }
.link-arrow { color: var(--orange); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { gap: 9px; }

/* ===================== HERO ===================== */

.hero { padding: 2.5rem 0 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 1.5rem; font-weight: 600;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero-title { font-size: 60px; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.hero-title .accent { color: var(--orange); }
.hero-lead { font-size: 17px; color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.hero-actions .btn-primary,
.hero-actions .btn-ghost { justify-content: center; }
.hero-note { margin-top: 14px; }

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 44px; }
}
@media (max-width: 520px) {
    .hero-title { font-size: 36px; }
}

/* ===================== CARD CONFIGURATOR (quote) ===================== */

.quote-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: 0 24px 60px rgba(28,26,23,0.10);
}
.qc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.qc-head h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-bg); }

.qc-file {
    display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.qc-thumb { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.qc-thumb svg { width: 26px; height: 26px; }
.qc-file-info { flex: 1; min-width: 0; }
.qc-file-name { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-file-meta { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.qc-file-meta .ok { color: var(--green); }
.qc-replace { background: none; border: none; color: var(--orange); font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.qc-drop-hint { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); text-align: center; margin: 10px 0 4px; letter-spacing: 0.02em; }

.qc-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 1.25rem 0 .6rem; display: flex; align-items: center; justify-content: space-between; }
.qc-label .val { color: var(--ink); }

/* Materiale: butoane bordurate, activ portocaliu */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mat-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.mat-btn {
    border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 12px;
    padding: 12px 8px; cursor: pointer; font-family: inherit; text-align: center; transition: all .12s;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.mat-btn .m-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.mat-btn .m-sub { font-size: 11px; color: var(--muted-2); }
.mat-btn:hover { border-color: var(--ink-2); }
.mat-btn.active { border-color: var(--orange); background: var(--orange-soft); }
.mat-btn.active .m-name { color: var(--orange-deep); }

/* Segmented control (calitate) */
.seg { display: flex; background: var(--bg-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg-btn { flex: 1; border: none; background: transparent; border-radius: 9px; padding: 9px 6px; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .12s; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { background: var(--ink); color: #fff; }

/* Stepper cantitate */
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.qty-stepper button { width: 42px; height: 44px; border: none; background: var(--surface); font-size: 20px; color: var(--ink); cursor: pointer; font-family: inherit; }
.qty-stepper button:hover { background: var(--bg-2); }
.qty-stepper input { width: 52px; height: 44px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 15px; font-weight: 700; font-family: inherit; color: var(--ink); outline: none; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Slider infill */
.infill-slider { width: 100%; accent-color: var(--orange); height: 6px; }

/* Culori */
.color-row { display: flex; gap: 12px; }
.color-dot { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); transition: border-color .12s, transform .1s; }
.color-dot:hover { transform: scale(1.06); }
.color-dot.active { border-color: var(--orange); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 0 0 2px var(--bg); }

/* Total dark */
.qc-total { background: var(--dark); border-radius: 18px; padding: 18px; margin-top: 1.4rem; color: var(--on-dark); }
.qc-total-grid { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: end; margin-bottom: 14px; }
.qc-stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.qc-stat .v { font-size: 16px; font-weight: 700; margin-top: 3px; }
.qc-stat.total { text-align: right; }
.qc-stat.total .v { font-size: 28px; letter-spacing: -0.02em; }
.qc-total .btn-block { width: 100%; justify-content: center; }
.qc-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.45; }

.btn-block { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 12px; padding: 15px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; text-decoration: none; box-shadow: 0 8px 22px rgba(236,90,36,0.30); transition: background .12s, transform .1s; }
.btn-block:hover { background: var(--orange-deep); }
.btn-block:active { transform: scale(.99); }

/* Upload zone (în card) */
.upload-zone {
    border: 2px dashed var(--line-2); border-radius: 14px; padding: 1.8rem 1rem; text-align: center; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.upload-zone:hover { border-color: var(--orange); background: var(--orange-soft); }
.upload-icon { font-size: 30px; color: var(--muted-2); margin-bottom: 6px; }
.upload-text { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.upload-sub { font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-top: 4px; }

.parse-status { font-family: var(--mono); font-size: 12.5px; margin-top: 10px; padding: 7px 11px; border-radius: 9px; }
.parse-status.parsing { background: var(--orange-tint); color: var(--orange-deep); }
.parse-status.success { background: var(--green-bg); color: var(--green); }
.parse-status.error   { background: var(--red-bg);   color: var(--red); }

/* ===================== START HERE (3 carduri) ===================== */

.start-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.start-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 1.6rem; display: flex; flex-direction: column; min-height: 270px; text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.start-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28,26,23,0.10); }
.start-card.dark { color: var(--on-dark); border: none; }
.start-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.start-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--orange-soft); color: var(--orange-deep); }
.start-card.dark .start-ico { background: rgba(236,90,36,0.18); color: var(--orange); }
.start-pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.pill-here { background: var(--orange); color: #fff; }
.pill-early { border: 1px solid var(--orange); color: var(--orange); }
.start-card h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin: 1.4rem 0 .5rem; line-height: 1.1; }
.start-card p { font-size: 14px; color: var(--muted); }
.start-card.dark p { color: var(--on-dark-muted); }
.start-foot { margin-top: 1.3rem; }
.start-foot .btn-primary { width: 100%; justify-content: center; }
.start-link { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; font-weight: 700; color: var(--orange); font-size: 15px; }

@media (max-width: 880px) { .start-grid { grid-template-columns: 1fr; } }

/* ===================== SECTION HEADERS ===================== */

.sec-head { margin-bottom: 2rem; }
.sec-head .eyebrow { display: block; margin-bottom: .8rem; }
.sec-title { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 600px) { .sec-title { font-size: 30px; } }

/* ===================== HOW IT WORKS (4 pași) ===================== */

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.step-card .step-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.step-num { font-family: var(--mono); font-size: 34px; font-weight: 700; color: var(--line-2); line-height: 1; }
.step-card .step-ico { color: var(--orange); font-size: 22px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: .4rem; letter-spacing: -0.01em; }
.step-card p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 820px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps4 { grid-template-columns: 1fr; } }

/* ===================== MARKETPLACE ===================== */

.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0 2rem; }
.chip { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; font-family: inherit; transition: all .12s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }

.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28,26,23,0.10); }
.pcard-art { position: relative; aspect-ratio: 1 / 0.82; display: flex; align-items: center; justify-content: center; }
.pcard-tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--on-dark-muted); }
.pcard-art.light .pcard-tag { color: var(--muted); }
.pcard-badge { position: absolute; top: 10px; right: 10px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pcard-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: .4rem; }
.pcard-body p { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.pcard-price .k { font-family: var(--mono); font-size: 11px; color: var(--muted-2); display: block; }
.pcard-price .v { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.pcard-link { font-size: 13.5px; font-weight: 700; color: var(--orange); text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.pcard-link:hover { gap: 8px; }

/* Arta produs (placeholdere stilizate) */
.art-icon { font-size: 56px; line-height: 1; }
.art-nfc .chip-nfc { background: var(--orange); color: #111; font-family: var(--mono); font-weight: 800; font-size: 18px; padding: 14px 20px; border-radius: 12px; box-shadow: 0 0 40px rgba(236,90,36,0.6); }
.art-letters { font-weight: 900; font-size: 60px; letter-spacing: -0.02em; }
.art-letters .a { color: var(--orange); }
.art-letters .b { color: #fff; }
.art-logo { font-family: var(--mono); font-weight: 800; font-size: 30px; color: rgba(236,90,36,0.55); letter-spacing: 0.06em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.bars i { width: 13px; border-radius: 3px; display: block; }
.bars.dark i { background: var(--ink); }
.bars.green i { background: var(--green); }
.bars i:nth-child(1){height:42%} .bars i:nth-child(2){height:100%} .bars i:nth-child(3){height:64%}
.hexagon { width: 70px; height: 80px; background: #b9b3a8; clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.ring { width: 58px; height: 58px; border: 9px solid var(--orange); border-radius: 50%; }
.blob { width: 64px; height: 56px; background: var(--orange); border-radius: 14px; }

/* ===================== CUSTOM WORK (dark) ===================== */

.custom-block { border-radius: var(--radius-xl); padding: 3rem; color: var(--on-dark); }
.custom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.custom-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(236,90,36,0.5); border-radius: 999px; padding: 7px 14px; font-weight: 600; margin-bottom: 1.4rem; }
.custom-block h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.2rem; }
.custom-block .lead { color: var(--on-dark-muted); font-size: 15.5px; margin-bottom: 1.8rem; max-width: 42ch; }
.custom-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: var(--on-dark); padding: 14px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn-dark-ghost:hover { background: rgba(255,255,255,0.12); }
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.soon-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 16px; }
.soon-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.soon-top .ico { color: var(--orange); font-size: 20px; }
.soon-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); border: 1px solid rgba(236,90,36,0.5); border-radius: 999px; padding: 3px 8px; font-weight: 700; }
.soon-card h4 { font-size: 15px; font-weight: 700; }
.flow { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.flow .f { text-align: center; }
.flow .fn { font-family: var(--mono); font-size: 11px; color: var(--orange); font-weight: 700; }
.flow .ft { font-size: 12.5px; font-weight: 600; margin-top: 4px; }
@media (max-width: 860px) { .custom-inner { grid-template-columns: 1fr; } .custom-block { padding: 2rem; } .custom-block h2 { font-size: 32px; } }

/* ===================== MATERIALE ===================== */

.mat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.matc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; display: flex; flex-direction: column; }
.matc.dark { color: var(--on-dark); border: none; position: relative; }
.matc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.matc-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.matc-dot { width: 16px; height: 16px; border-radius: 50%; }
.matc p { font-size: 13px; color: var(--muted); flex: 1; margin-bottom: 1rem; }
.matc.dark p { color: var(--on-dark-muted); }
.matc-spec { border-top: 1px solid var(--line); padding-top: .8rem; font-family: var(--mono); font-size: 11.5px; }
.matc.dark .matc-spec { border-top-color: rgba(255,255,255,0.14); }
.matc-spec .row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--muted); }
.matc.dark .matc-spec .row { color: var(--on-dark-muted); }
.matc-spec .row b { color: var(--ink); font-weight: 700; }
.matc.dark .matc-spec .row b { color: var(--on-dark); }
.dots span { letter-spacing: 1px; }
.soon-corner { position: absolute; top: 12px; right: 12px; }
@media (max-width: 980px) { .mat-cards { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .mat-cards { grid-template-columns: 1fr 1fr; } }

/* ===================== CALITATE ===================== */

.quality-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.q-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; display: flex; gap: 12px; }
.q-check { width: 28px; height: 28px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.q-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.q-item p { font-size: 13px; color: var(--muted); }
.quality-wrap .lead { color: var(--muted); font-size: 15.5px; margin-top: 1rem; }
@media (max-width: 820px) { .quality-wrap { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ===================== FAQ ===================== */

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .sign { color: var(--muted-2); font-size: 22px; font-weight: 400; transition: transform .15s; }
.faq-item[open] summary .sign { color: var(--orange); transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-center { text-align: center; margin-top: 1.5rem; }

/* ===================== FINAL CTA (dark) ===================== */

.final-cta { border-radius: var(--radius-xl); padding: 4rem 2rem; text-align: center; color: var(--on-dark); }
.final-cta h2 { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 1rem; }
.final-cta p { color: var(--on-dark-muted); font-size: 16px; max-width: 48ch; margin: 0 auto 2rem; }
.final-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-ghost { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); color: var(--on-dark); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
@media (max-width: 600px) { .final-cta h2 { font-size: 34px; } }

/* ===================== FOOTER ===================== */

.site-footer { background: var(--dark); color: var(--on-dark); margin-top: 0; }
.footer-grid { max-width: 1180px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { color: var(--on-dark); margin-bottom: 1rem; }
.footer-brand p { color: var(--on-dark-muted); font-size: 14px; max-width: 30ch; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; color: var(--on-dark); text-decoration: none; font-size: 14px; padding: 6px 0; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { max-width: 1180px; margin: 0 auto; padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--on-dark-muted); letter-spacing: 0.04em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===================== COS ===================== */

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; }
@media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; display: flex; gap: 16px; align-items: center; }
.cl-art { width: 76px; height: 76px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cl-art .art-icon { font-size: 34px; }
.cl-art .art-letters { font-size: 30px; }
.cl-art .bars { height: 36px; gap: 4px; }
.cl-art .bars i { width: 8px; }
.cl-art .hexagon { width: 40px; height: 46px; }
.cl-art .ring { width: 34px; height: 34px; border-width: 6px; }
.cl-art .blob { width: 40px; height: 34px; }
.cl-art .chip-nfc { font-size: 11px; padding: 8px 10px; box-shadow: none; }
.cl-art .art-logo { font-size: 16px; }
.cl-info { flex: 1; min-width: 0; }
.cl-info h3 { font-size: 16px; font-weight: 700; }
.cl-options { font-size: 13px; color: var(--muted); margin-top: 3px; }
.cl-options .tag { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.cl-details { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; background: var(--surface-2); border-left: 2px solid var(--orange); padding: 6px 10px; border-radius: 0 8px 8px 0; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cl-price { font-size: 17px; font-weight: 800; }
.cl-remove { background: none; border: none; color: var(--muted-2); cursor: pointer; font-size: 13px; font-family: inherit; }
.cl-remove:hover { color: var(--red); }
.qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty-mini button { width: 32px; height: 34px; border: none; background: var(--surface); cursor: pointer; font-size: 16px; font-family: inherit; color: var(--ink); }
.qty-mini button:hover { background: var(--bg-2); }
.qty-mini .n { min-width: 36px; text-align: center; font-weight: 700; font-size: 14px; }

.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: 88px; }
.cart-summary h2 { font-size: 18px; font-weight: 800; margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.summary-row.total .amt { color: var(--orange); }

.empty-cart { text-align: center; padding: 4rem 1rem; }
.empty-cart .ico { font-size: 56px; color: var(--muted-2); }
.empty-cart h2 { font-size: 24px; font-weight: 800; margin: 1rem 0 .5rem; }
.empty-cart p { color: var(--muted); margin-bottom: 1.5rem; }

/* ===================== PAGINA PRODUS ===================== */

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-hero-art { border-radius: var(--radius-xl); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.product-hero-art .art-icon { font-size: 120px; }
.product-hero-art .art-letters { font-size: 120px; }

/* Fotografii reale de produs (incarcate din admin, servite prin /product-image) */
.pcard-art.has-photo, .product-hero-art.has-photo { overflow: hidden; background: var(--surface-2); }
.pcard-photo, .product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* etichetele raman deasupra fotografiei */
.pcard-art.has-photo .pcard-tag, .pcard-art.has-photo .pcard-badge,
.product-hero-art.has-photo .pcard-badge { z-index: 1; }
.photo-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.photo-thumb { width: 64px; height: 52px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: none; padding: 0; cursor: pointer; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb.active { border-color: var(--orange); }
.photo-thumb:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Paletele reale pot avea si 21 de culori — bulinele trec pe randul urmator */
.color-row { flex-wrap: wrap; }
.product-info .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.product-info h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: .6rem 0; }
.product-info .desc { color: var(--muted); font-size: 15.5px; margin-bottom: 1.5rem; }
.product-price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 1.5rem; }
.product-price-line .k { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.product-price-line .v { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 820px) { .product-layout { grid-template-columns: 1fr; } }

.custom-fields { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .5rem; }
.custom-fields .form-field label { font-size: 13px; }
.input-unit { position: relative; display: flex; align-items: center; }
.input-unit input { padding-right: 44px; }
.unit-suffix { position: absolute; right: 13px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); pointer-events: none; }

/* ===================== BANNER SUCCES / MESAJE ===================== */

.success-banner { background: var(--green-bg); border: 1px solid #b9e4c9; border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.success-inner { display: flex; align-items: center; gap: 14px; }
.success-icon { font-size: 22px; color: #fff; background: var(--green); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.success-banner strong { display: block; color: var(--green); font-size: 15px; }
.success-banner p { font-size: 13px; color: #1a6b3f; margin-top: 2px; }

.error-msg { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 1rem; }
.ok-msg { background: var(--green-bg); color: var(--green); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 1rem; }

/* ===================== FORMULARE ===================== */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: span 2; }
.form-field.half { grid-column: span 1; }
.form-field label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.form-field input, .form-field textarea, .select-input {
    border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; font-size: 14px;
    font-family: inherit; outline: none; background: var(--surface); color: var(--ink); width: 100%;
    transition: border-color .12s, box-shadow .12s;
}
.form-field input:focus, .form-field textarea:focus, .select-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.form-field textarea { resize: vertical; min-height: 90px; }
.field-error { font-size: 12px; color: var(--red); }
.select-input { cursor: pointer; }

.btn-submit { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 12px; padding: 15px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; box-shadow: 0 8px 22px rgba(236,90,36,0.28); transition: background .12s, transform .1s; }
.btn-submit:hover { background: var(--orange-deep); }
.btn-submit:active { transform: scale(.99); }

/* ===================== CARDURI GENERICE (comanda / admin) ===================== */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.card-price { border: 1.5px solid var(--orange); }
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1.3rem; }
.card-header h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.card-icon { font-size: 18px; color: var(--orange); }

.field-group { margin-bottom: 1.4rem; }
.field-group:last-child { margin-bottom: 0; }
.field-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; font-weight: 600; }

.slider-row { display: flex; align-items: center; gap: 10px; }
.slider-row input[type=range] { flex: 1; accent-color: var(--orange); }
.num-input { width: 80px; border: 1px solid var(--line-2); border-radius: 9px; padding: 8px; font-size: 14px; text-align: center; outline: none; font-family: inherit; }
.num-input:focus { border-color: var(--orange); }
.unit { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.vol-hint { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); margin-top: 6px; }

.opt-grid { display: grid; gap: 8px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: 1fr 1fr 1fr; }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 500px) { .g4 { grid-template-columns: 1fr 1fr; } }

.opt { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 6px; cursor: pointer; text-align: center; transition: all .12s; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: inherit; }
.opt:hover { border-color: var(--ink-2); }
.opt.active { border-color: var(--orange); background: var(--orange-soft); }
.opt-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.opt-sub { font-size: 11px; color: var(--muted-2); }
.opt.active .opt-name { color: var(--orange-deep); }
.opt.active .opt-sub { color: var(--orange); }

.opt-color { flex-direction: column; align-items: flex-start; padding: 11px 13px; text-align: left; }
.color-dots { display: flex; gap: 5px; margin-bottom: 6px; }
.color-dots span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); display: inline-block; }

.opt-rush { padding: 13px 8px; }
.rush-badge { margin-top: 7px; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge-normal { background: var(--green-bg); color: var(--green); }
.badge-rush { background: #fff3d6; color: #92610a; }
.badge-ams { background: var(--orange-soft); color: var(--orange-deep); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; letter-spacing: 0.04em; }

.file-chip { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
.file-chip-icon { font-size: 20px; }
.file-chip-info { flex: 1; display: flex; flex-direction: column; font-size: 13px; min-width: 0; }
.file-chip-info > span:first-child { font-family: var(--mono); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-sub { color: var(--muted-2); font-size: 12px; font-family: var(--mono); }
.chip-remove { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--muted-2); line-height: 1; padding: 0 4px; }
.chip-remove:hover { color: var(--red); }

/* Previzualizare 3D a fisierului STL incarcat (stl-viewer.js) */
.stl-viewer-wrap { margin-top: 10px; }
.stl-canvas {
    display: block; width: 100%; height: 280px; touch-action: none; cursor: grab;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--surface-2);
    background-size: 24px 24px, 24px 24px, auto;
    border: 1px solid var(--line); border-radius: 12px;
}
.stl-canvas:active { cursor: grabbing; }
.stl-viewer-hint { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 6px; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 1.3rem; }
.stat { background: var(--surface-2); border-radius: 10px; padding: 11px 13px; }
.stat-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.stat-val { font-size: 17px; font-weight: 700; }
.stat-sub { font-family: var(--mono); font-size: 10px; color: var(--muted-2); margin-top: 2px; line-height: 1.3; }

.price-breakdown { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 12px; }
.pb-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.pb-row:last-child { border-bottom: none; }
.pb-qty { font-family: var(--mono); font-size: 11px; color: var(--muted-2); font-weight: 400; }
.pb-row span:last-child { font-weight: 600; color: var(--ink); }

.price-total { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--line-2); padding-top: 14px; }
.price-total span:first-child { font-weight: 700; font-size: 15px; }
.price-amount { font-size: 28px; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; }
.price-note { font-size: 12px; color: var(--muted-2); margin-top: 10px; line-height: 1.45; }
.delivery-line { font-size: 13px; color: var(--muted); margin-top: 12px; }
.delivery-line strong { color: var(--ink); }

/* ===================== PAGE HERO / COMANDA ===================== */

.page-hero { margin-bottom: 2rem; }
.page-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.page-hero p { color: var(--muted); font-size: 15.5px; }

.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.col-left { display: flex; flex-direction: column; gap: 1.25rem; }
.col-right { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 88px; }

.mode-tabs { display: flex; gap: 10px; margin-bottom: 1.5rem; }
.mode-tab { flex: 1; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit; transition: all .12s; }
.mode-tab:hover { border-color: var(--ink-2); color: var(--ink); }
.mode-tab.active { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-deep); }

.card-quote { max-width: 760px; }
.quote-intro { font-size: 14px; color: var(--muted); margin-bottom: 1.5rem; }

/* ===================== ADMIN ===================== */

.admin-login { max-width: 400px; margin: 3rem auto; }
.admin-login .form-field { margin-bottom: 1rem; }
.admin-hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.badge-admin { font-size: 11px; font-weight: 700; background: #fff3d6; color: #92610a; padding: 3px 9px; border-radius: 7px; vertical-align: middle; letter-spacing: 0.05em; font-family: var(--mono); }
.btn-logout { background: transparent; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 18px; font-size: 13px; cursor: pointer; color: var(--muted); font-family: inherit; }
.btn-logout:hover { border-color: var(--red); color: var(--red); }
.email-test-card { max-width: 560px; margin-bottom: 1.5rem; }

/* ============================================================
   RESPONSIVE / MOBILE — consolidat (suprascrie regulile de sus)
   ============================================================ */

/* Pe o singură coloană, panourile sticky nu mai au sens */
@media (max-width: 880px) {
    .cart-summary, .col-right { position: static; top: auto; }
}

/* ---- Tabletă/telefon: meniu hamburger ---- */
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 40px rgba(28,26,23,0.12);
        padding: .25rem 1.5rem 1rem;
    }
    .site-header.nav-open .nav-links { display: flex; }
    .nav-links .nav-link { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
    .nav-links .nav-link:last-child { border-bottom: none; }
    .btn-upload-text { display: none; }          /* upload-ul devine doar iconiță */
    .btn-upload { padding: 11px 13px; }
}

/* ---- Telefon: formulare, target-uri touch, grile, titluri ---- */
@media (max-width: 600px) {
    /* formulare pe o coloană */
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full, .form-field.half { grid-column: auto; }
    /* font 16px ca să NU facă iOS zoom la focus pe inputuri */
    .form-field input, .form-field textarea, .select-input,
    .num-input, .qty-stepper input { font-size: 16px; }
    /* target-uri mai generoase pentru degete */
    .opt { padding: 14px 8px; }
    .mat-btn { padding: 14px 10px; }
    .seg-btn { padding: 12px 6px; }
    .chip { padding: 11px 18px; }
    /* grile care nu se pliau încă */
    .opt-grid.g3 { grid-template-columns: 1fr 1fr; }
    .flow { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    /* titluri mai mici */
    .product-info h1 { font-size: 28px; }
    .page-hero h1 { font-size: 26px; }
}

/* ---- Telefon mic ---- */
@media (max-width: 480px) {
    .color-row { flex-wrap: wrap; gap: 8px; }
    .color-dot { width: 30px; height: 30px; }
    .num-input { width: 64px; }
    .qc-total-grid { grid-template-columns: 1fr; gap: 10px; }
    .qc-stat.total { text-align: left; }
}

/* ---- Foarte mic (≤380px): mai puțin padding, titlu hero ---- */
@media (max-width: 380px) {
    .container, .header-inner { padding: 0 1rem; }
    .nav-links { padding-left: 1rem; padding-right: 1rem; }
    .hero-title { font-size: 30px; }
}
