/**
 * responsive/dtf-vitrina.css — partea COMUNA a configuratorului DTF (16 oct 2026, Firul 1).
 *
 * Scoasa din <style>-urile din responsive/pagcategorie-tip-4.php (7-35) si responsive/pagcategorie-dtf-piese.php
 * (7-37 / 7-38), care aveau acelasi CSS scris de doua ori. Pasul 1 din DTFC-8 §4b (decizia userului, 14 oct 2026):
 * acelasi fisier il incarca si vitrina dtfcenter.ro, ca sa nu avem a treia copie.
 *
 * AICI intra doar regulile IDENTICE in ambele pagini. Ce difera (marimea miniaturilor si a pastilei, lista de
 * fisiere de pe 7-37, lupa cu fundaluri de pe 7-35) ramane in <style>-ul paginii, DUPA acest fisier — diferentele
 * dintre pagini se pastreaza, nu se uniformizeaza.
 *
 * Culorile = machetele aprobate, cu ROSUL site-ului (#e31e24) pe butoane si alegeri
 * (userul, 12 oct 2026: „nu putem avea rosu cum avem in restul paginilor?”).
 */
.dtfc { --ink:#15161a; --muted:#64646d; --rule:#dedbd4; --card:#fffefb; --soft:#f4f2ee; --cy:#0a7d8c; --mg:#e31e24; --rosu:#e31e24;
	--ok:#2f7d4f; --warn:#9a6700; --bad:#b5312a; --film:#1b1d22; --filmtext:#9aa0ab; box-sizing:border-box; text-align:left; color:var(--ink); }
.dtfc *, .dtfc *:before, .dtfc *:after { box-sizing:inherit; }
.dtfc h1.page_title { font-weight:700; margin:0 0 2px; padding:0; border:0; text-align:left; font-size:26px; letter-spacing:-.01em; line-height:1.15; }
.dtfc-sub { color:var(--muted); font-size:13px; margin:0 0 14px; }
.dtfc-grid { display:grid; gap:22px; grid-template-columns:minmax(0,1.35fr) minmax(0,.95fr); background:var(--card); border:1px solid var(--rule); border-radius:6px; padding:18px; }
.dtfc-grid > * { min-width:0; }
.dtfc-lbl { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:18px 0 7px; }
.dtfc-lbl:first-child { margin-top:0; }
.dtfc-drop { border:2px dashed #8fc3ca; border-radius:6px; padding:28px 16px; text-align:center; background:#f3f9fa; cursor:pointer; }
.dtfc-drop.peste { background:#e3f2f4; border-color:var(--cy); }
.dtfc-drop .big { font-weight:800; font-size:17px; margin-bottom:4px; }
.dtfc-drop .s { color:var(--muted); font-size:12.5px; }
.dtfc-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; font-weight:700; font-size:14px; padding:10px 16px; border-radius:4px;
	background:var(--rosu); color:#fff !important; border:1px solid var(--rosu); cursor:pointer; text-decoration:none; font-family:inherit; }
.dtfc-btn.ghost { background:transparent; color:var(--ink) !important; border-color:var(--rule); padding:5px 10px; font-size:12px; }
.dtfc-btn.wide { width:100%; padding:13px 16px; font-size:15px; }
.dtfc-btn[disabled] { opacity:.35; cursor:not-allowed; }
.dtfc-progres { height:7px; border-radius:999px; background:var(--rule); overflow:hidden; margin:10px 0 4px; }
.dtfc-progres i { display:block; height:100%; width:0; background:var(--cy); transition:width .2s; }
.dtfc-straturi { display:flex; }
.dtfc-strat { border-radius:4px; position:relative; overflow:hidden; border:1px solid var(--rule); background:#2a2c33 center/contain no-repeat; cursor:zoom-in; padding:0; font:inherit; }
.dtfc-strat.alb { background-color:#fff; }
.dtfc-strat:hover, .dtfc-strat:focus-visible { border-color:var(--rosu); outline:0; }
.dtfc-strat span { position:absolute; left:0; right:0; bottom:0; font-weight:700; text-align:center; background:rgba(0,0,0,.55); color:#fff; padding:1px 0; }
/* 12 oct 2026 (userul): clic pe miniatură = imaginea mare, cu comutare între „pe textil” și „stratul alb”, ca să vezi unde cade albul */
.dtfc-lb { position:fixed; inset:0; z-index:2147483000; background:rgba(12,13,16,.88); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:16px; }
.dtfc-lb[hidden] { display:none; }
.dtfc-lb-img { max-width:min(92vw,1100px); max-height:calc(100vh - 120px); object-fit:contain; border-radius:4px; }
.dtfc-lb-img.textil { background:#2a2c33; } .dtfc-lb-img.alb { background:#fff; }
.dtfc-lb-bara { display:flex; gap:8px; margin-top:12px; align-items:center; }
.dtfc-lb-bara button { font:inherit; font-size:13px; font-weight:700; padding:7px 14px; border-radius:4px; border:1px solid #555; background:#1b1d22; color:#ddd; cursor:pointer; }
.dtfc-lb-bara button[aria-pressed="true"] { background:var(--rosu); border-color:var(--rosu); color:#fff; }
.dtfc-lb-x { position:absolute; top:10px; right:14px; font-size:30px; line-height:1; color:#fff; background:none; border:0; cursor:pointer; }
/* 12 oct 2026 (userul): grila de prețuri vizibilă și înainte de upload; treapta se aprinde după fișier */
.dtfc-grila { margin:14px 0 0; border:1px solid var(--rule); border-radius:5px; background:#fff; overflow:hidden; }
.dtfc-grila table { border-collapse:collapse; width:100%; font-size:13px; }
.dtfc-grila th, .dtfc-grila td { text-align:left; padding:6px 10px; border-bottom:1px solid var(--rule); }
.dtfc-grila th { font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--muted); }
.dtfc-grila td.n { font-family:ui-monospace,Consolas,monospace; white-space:nowrap; }
.dtfc-grila .cut { color:var(--rosu); }
.dtfc-grila tbody tr:last-child td { border-bottom:0; }
.dtfc-grila tr.aici { background:#fff1f1; } .dtfc-grila tr.aici td { font-weight:700; }
.dtfc-grila-cap { display:flex; justify-content:space-between; align-items:baseline; gap:8px; padding:8px 10px 2px; }
.dtfc-grila-cap b { font-size:13px; }
.dtfc-grila-cap a { font-size:12px; font-weight:700; color:var(--rosu); }
.dtfc-fname { font-family:ui-monospace,Consolas,monospace; font-weight:700; overflow-wrap:anywhere; }
.dtfc-fmeta { font-family:ui-monospace,Consolas,monospace; color:var(--muted); }
.dtfc-pill { display:inline-flex; align-items:center; gap:5px; font-weight:700; border-radius:999px; white-space:nowrap; }
.dtfc-pill.verde { background:#e3f0e8; color:var(--ok); } .dtfc-pill.galben { background:#f6edd9; color:var(--warn); }
.dtfc-pill.rosu { background:#f5e1df; color:var(--bad); } .dtfc-pill.gri { background:#eee; color:var(--muted); }
.dtfc-alert { border-radius:5px; padding:9px 12px; font-size:13px; margin:10px 0 0; border:1px solid; line-height:1.4; }
.dtfc-alert.warn { border-color:#e3cc96; background:#fbf6ea; } .dtfc-alert.bad { border-color:#e2b2ad; background:#fbf0ef; } .dtfc-alert.ok { border-color:#b6d6c2; background:#f0f7f3; }
.dtfc-alert b { display:block; margin-bottom:2px; }
.dtfc-step { display:inline-flex; align-items:center; border:1px solid var(--rule); border-radius:4px; background:#fff; }
.dtfc-step button { width:40px; height:40px; border:0; background:transparent; color:var(--ink); font-size:20px; cursor:pointer; }
.dtfc-step input { height:40px; text-align:center; border:0; border-left:1px solid var(--rule); border-right:1px solid var(--rule); font-family:ui-monospace,Consolas,monospace; font-weight:700; font-size:16px; }
.dtfc-opts { display:grid; gap:9px; grid-template-columns:1fr 1fr; }
.dtfc-opt { text-align:left; border:1px solid var(--rule); border-radius:5px; padding:11px 12px; background:#fff; color:var(--ink); cursor:pointer; font-family:inherit; min-width:0; }
.dtfc-opt b { display:block; font-size:14.5px; }
.dtfc-opt .pr { font-family:ui-monospace,Consolas,monospace; font-size:13px; font-weight:700; margin-top:5px; display:block; }
.dtfc-opt .d { color:var(--muted); font-size:12px; display:block; margin-top:3px; }
.dtfc-opt[aria-pressed="true"] { border:2px solid var(--rosu); padding:10px 11px; }
.dtfc-opt.cut b { color:var(--mg); }
.dtfc-film { background:var(--film); border-radius:5px; padding:10px 12px 12px; }
.dtfc-filmbar { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; font-family:ui-monospace,Consolas,monospace; font-size:10.5px; letter-spacing:.08em; color:var(--filmtext); text-transform:uppercase; margin-bottom:8px; }
.dtfc-filmscroll { overflow:auto; min-height:60px; max-height:520px; color:var(--filmtext); font-size:12px; }
.dtfc-filmscroll svg { display:block; max-width:100%; height:auto; background:#fff; border-radius:2px; }
.dtfc-readout { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 16px; padding:13px 0; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); margin:14px 0; }
.dtfc-ro-k { font-size:10.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.dtfc-ro-v { font-family:ui-monospace,Consolas,monospace; font-size:18px; font-weight:700; line-height:1.25; }
.dtfc-ro-v.data { font-family:inherit; font-size:15px; }
.dtfc-ro-s { font-family:ui-monospace,Consolas,monospace; font-size:11px; color:var(--muted); line-height:1.35; }
.dtfc-seg { display:inline-flex; border:1px solid var(--rule); border-radius:4px; overflow:hidden; background:#fff; }
.dtfc-seg button { font-family:inherit; font-size:12px; font-weight:700; padding:6px 12px; background:transparent; color:var(--muted); border:0; cursor:pointer; }
.dtfc-seg button[aria-pressed="true"] { background:var(--rosu); color:#fff; }
.dtfc-rand { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.dtfc-mic { color:var(--muted); font-size:12px; }
.dtfc-nudge { font-size:13px; margin:10px 0 0; color:#3d4854; }
.dtfc-nudge b { color:var(--ink); }
/* blocurile de text de sub configurator (aceleasi functii ca tipul 2) */
.dtf2-ancore { position:sticky; top:0; z-index:40; background:#fff; border-top:1px solid #e6e9ec; border-bottom:1px solid #e6e9ec; margin:24px 0 0; }
.dtf2-ancore ul { list-style:none; margin:0; padding:0; display:flex; gap:4px; overflow-x:auto; }
.dtf2-ancore a { display:block; white-space:nowrap; padding:11px 13px; font-size:13px; color:#243447; text-decoration:none; }
.dtf2-bloc { text-align:left; padding:22px 0 4px; border-bottom:1px solid #eef1f3; }
.dtf2-bloc h2 { font-size:19px; color:#243447; margin:0 0 10px; font-weight:500; }
.dtf2-bloc-corp { font-size:14px; line-height:1.6; color:#333; max-width:80ch; }
.dtf2-bloc-corp p { margin:0 0 9px; }
.dtf2-lista, .dtf2-pasi { margin:0 0 10px; padding-left:20px; }
.dtf2-lista li, .dtf2-pasi li { margin-bottom:5px; }
.dtf2-tabel-w { overflow-x:auto; margin:0 0 10px; max-width:100%; }
.dtf2-tabel { border-collapse:collapse; width:100%; max-width:640px; font-size:13px; }
.dtf2-tabel th, .dtf2-tabel td { border:1px solid #e1e6ea; padding:6px 9px; text-align:left; }
.dtf2-tabel th { background:#f2f4f7; font-weight:500; color:#243447; }
.dtf2-nota { font-size:13px; color:#3d4854; background:#f7f9fa; border-left:3px solid #cfd8de; padding:7px 10px; margin:0 0 8px; }
.dtf2-faq-i { font-weight:500; color:#243447; margin:12px 0 2px; } .dtf2-faq-r { margin:0 0 9px; }
.dtf2-mic { font-size:12px; color:#777; }
@media (max-width:860px) {
	.dtfc-grid { grid-template-columns:minmax(0,1fr); padding:14px; }
	.dtfc-opts { grid-template-columns:1fr; }
	.dtfc h1.page_title { font-size:22px; }
	/* pe telefon bara cu metri, pret, data si butonul se lipeste jos (macheta) */
	.dtfc-lipit { position:sticky; bottom:0; background:var(--card); border-top:1px solid var(--rule); padding:8px 0 6px; z-index:5; }
	.dtfc-readout { margin:6px 0 8px; padding:8px 0; }
	.dtfc-ro-v { font-size:15px; }
}

/* 6 nov 2026 (userul: paginile UV „trebuie totusi sa fie un pic diferita sa nu le incurce clientii”): linia UV are culoarea ei —
   violet in loc de rosu pe butoane si alegeri, fundal rece, dunga de sus si eticheta „UV DTF · pentru obiecte dure” deasupra titlului.
   Se aprinde cu clasa `uv` pe .dtfc (pagcategorie-tip-4.php la UV, pagcategorie-dtf-coala.php). */
.dtfc.uv { --rosu:#5b3fd6; --mg:#5b3fd6; --cy:#5b3fd6; --card:#fbfaff; --rule:#dcd7ef; --soft:#f1eefb; }
.dtfc.uv .dtfc-grid { border-top:4px solid #5b3fd6; }
.dtfc-uvbadge { display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700; letter-spacing:.04em; color:#3f2aa6; background:#ece8fc; border:1px solid #d6cef7; border-radius:999px; padding:4px 11px 4px 8px; margin:0 0 8px; }
.dtfc-uvbadge i { width:9px; height:9px; border-radius:50%; background:linear-gradient(135deg,#7b5cff,#2fb8ff); display:inline-block; }
.dtfc.uv .dtfc-drop.peste { background:#efebfd; }
/* UV: treapta aleasa si schita filmului tot in violet (schita are culorile ca atribute SVG, CSS-ul le bate) */
.dtfc.uv .dtfc-grila tr.aici { background:#efebfd; }
.dtfc.uv svg rect[fill="#fbe3e4"] { fill:#ece8fc; }
.dtfc.uv svg rect[stroke="#e31e24"] { stroke:#5b3fd6; }
