/* ELBA — Listă proiect (wishlist = deviz). */
/* fix: [hidden] trebuie sa bata regulile display:grid/flex de mai jos */
.elba-proj [hidden]{display:none !important;}
.elba-wlheart,
.elba-wlpill,
.elba-proj *{box-sizing:border-box;}

/* ── Inimă wishlist — compactă, în rândul de cumpărare, lângă „Adaugă în coș" ── */
.elba-pdp .elba-wlheart{
	flex:0 0 auto; width:54px; min-height:54px; padding:0;
	display:flex; align-items:center; justify-content:center;
	background:#fff !important; border:1px solid #dbe3ec !important; border-radius:12px !important;
	color:#8a97a4 !important; cursor:pointer; box-shadow:none !important;
	transition:border-color .15s, background .15s, color .15s, transform .15s;
}
.elba-pdp .elba-wlheart svg{width:22px; height:22px;}
.elba-pdp .elba-wlheart:hover{border-color:#e0245e !important; color:#e0245e !important; background:#fdf3f6 !important;}
.elba-pdp .elba-wlheart.is-done{border-color:#e0245e !important; background:#fdf0f4 !important; color:#e0245e !important; animation:elbaHeartPop .35s ease;}
.elba-pdp .elba-wlheart.is-done svg{fill:#e0245e; stroke:#e0245e;}
@keyframes elbaHeartPop{0%{transform:scale(1);}40%{transform:scale(1.22);}100%{transform:scale(1);}}

/* ── Pastila plutitoare ── */
/* Aceeasi logica de design ca butonul cart: alb, border subtil, icon albastru, badge verde, hover cu umplere albastra. */
.elba-wlpill{
	position:fixed; right:20px; bottom:88px; z-index:8500;
	display:none; align-items:center; gap:9px; padding:11px 16px 11px 14px;
	background:#fff !important; color:#005AA6 !important; border:1px solid #e2e8ee !important; border-radius:999px; text-decoration:none;
	box-shadow:0 2px 6px rgba(15,26,36,.08), 0 14px 34px -14px rgba(15,26,36,.28);
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
	font-size:13.5px; font-weight:700;
	transition:transform .18s cubic-bezier(.22,.8,.3,1), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.elba-wlpill.is-on{display:inline-flex;}
.elba-wlpill:hover{
	background:#005AA6 !important; color:#fff !important; border-color:#005AA6 !important; transform:translateY(-3px);
	box-shadow:0 6px 14px rgba(0,90,166,.22), 0 22px 48px -16px rgba(0,90,166,.5);
}
.elba-wlpill svg{width:18px; height:18px;}
.elba-wlpill__n{background:#96C03E; color:#1e2d07; border:2px solid #fff; border-radius:999px; min-width:20px; height:20px; padding:0 6px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:800;}
@media (max-width:720px){ .elba-wlpill{right:14px; bottom:80px;} .elba-wlpill__t{display:none;} }

/* ── Pagina deviz ── */
.elba-proj{max-width:960px; margin:20px auto 60px; padding:0 20px; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif; color:#12212e;}
.elba-proj__doc{background:#fff; border:1px solid #e6ebf1; border-radius:16px; padding:34px 38px 26px; box-shadow:0 1px 3px rgba(15,26,36,.04);}

.elba-proj__head{display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-bottom:22px; border-bottom:2px solid #005AA6; margin-bottom:22px;}
.elba-proj__brand{display:flex; align-items:flex-start; gap:16px; min-width:0;}
.elba-proj__logo{width:150px; height:auto; flex:0 0 auto;}
.elba-proj__co{display:flex; flex-direction:column; gap:2px; font-size:11.5px; color:#5b6875; line-height:1.5;}
.elba-proj__co b{font-size:14px; color:#12212e; font-weight:800; margin-bottom:2px;}
.elba-proj__meta{text-align:right; flex:0 0 auto; max-width:320px;}
.elba-proj__eyebrow{font-size:11px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#005AA6;}
.elba-proj__title{
	font-size:22px; font-weight:800; color:#12212e; letter-spacing:-.015em; line-height:1.2;
	margin-top:4px; outline:none; border-radius:7px; padding:2px 6px; margin-right:-6px;
	transition:background .15s, box-shadow .15s; cursor:text; min-width:120px; min-height:1.2em;
}
.elba-proj__title:empty::before{content:attr(data-ph); color:#b3bec9; font-weight:600; font-style:italic;}
.elba-proj__title[contenteditable="true"]:hover{background:#f2f6fb;}
.elba-proj__title[contenteditable="true"]:focus{background:#f2f6fb; box-shadow:inset 0 -2px 0 #005AA6;}
.elba-proj__date{font-size:12.5px; color:#7c8894; margin-top:5px;}

.elba-proj__fields{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0 0 22px;}
.elba-proj__f{display:flex; flex-direction:column; gap:5px;}
.elba-proj__f span{font-size:12px; font-weight:600; color:#33404d;}
.elba-proj__f input, .elba-proj__f textarea{
	width:100%; border:1px solid #d7dee6; border-radius:9px; padding:10px 12px; font-size:14px;
	background:#fff; color:#12212e; font-family:inherit; transition:border-color .15s, box-shadow .15s;
}
.elba-proj__f input:focus, .elba-proj__f textarea:focus{outline:none; border-color:#005AA6; box-shadow:0 0 0 3px rgba(0,90,166,.12);}
.elba-proj__pname{font-size:14px; color:#12212e; margin:0 0 18px;}
.elba-proj__noteshow{font-size:12.5px; color:#5b6875; margin:16px 0 0; padding-top:14px; border-top:1px solid #eef2f6; line-height:1.55;}

/* tabel deviz */
.elba-proj__table{width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums;}
/* fără borduri verticale moștenite de la temă — doar linii orizontale fine */
.elba-proj__table th, .elba-proj__table td{border-left:0 !important; border-right:0 !important;}
.elba-proj__table thead th{
	font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:#005AA6; font-weight:700;
	text-align:left; padding:11px 14px; background:#f2f6fb; border-bottom:1px solid #dbe6f2 !important; border-top:0 !important;
}
.elba-proj__table thead th:first-child{border-radius:8px 0 0 0;}
.elba-proj__table thead th:last-child{border-radius:0 8px 0 0;}
.elba-proj__table thead th.c-qty, .elba-proj__table thead th.c-unit, .elba-proj__table thead th.c-line{text-align:right;}
.elba-proj__table thead th.c-nr{width:40px; text-align:center; padding-left:16px;}
.elba-proj__table thead th.c-unit, .elba-proj__table thead th.c-line{padding-right:16px;}
.elba-proj__table thead th.c-del{width:44px;}
.elba-proj__table tbody td{padding:15px 14px; border-bottom:1px solid #eef2f6 !important; border-top:0 !important; font-size:13.5px; vertical-align:middle;}
.elba-proj__table tbody td.c-nr{padding-left:16px;}
.elba-proj__table tbody td.c-unit, .elba-proj__table tbody td.c-line{padding-right:16px;}
.elba-proj__table tbody tr:hover td{background:#fbfcfe;}
.elba-proj__table td.c-nr{text-align:center; color:#8a97a4; font-size:12px;}
.c-prod__wrap{display:flex; align-items:center; gap:13px;}
.c-prod__img{width:48px; height:48px; flex:0 0 auto; object-fit:contain; background:#fff; border:1px solid #eef2f6; border-radius:8px; padding:4px;}
.c-prod__txt{min-width:0;}
.elba-proj__table td.c-prod b{display:block; font-size:14px; font-weight:700; color:#12212e; line-height:1.3;}
.elba-proj__table td.c-prod .c-prod__link{color:#12212e; text-decoration:none; transition:color .15s;}
.elba-proj__table td.c-prod .c-prod__link:hover{color:#005AA6; text-decoration:underline;}
.elba-proj__table td.c-prod span{display:block; font-size:12px; color:#7c8894; margin-top:2px;}
.elba-proj__table td.c-code{font-size:12.5px; color:#48555f;}
.elba-proj__table td.c-unit, .elba-proj__table td.c-line{text-align:right; font-weight:700; white-space:nowrap;}
.elba-proj__table td.c-unit small, .elba-proj__table td.c-line small{font-weight:600; color:#7c8894; font-size:11px;}
.elba-proj__table td.c-line{color:#12212e;}
.elba-proj__table .q-cerere{color:#005AA6; font-weight:600; font-size:12.5px;}

/* cantitate editabilă */
.elba-proj__table td.c-qty{text-align:right;}
.q-box{display:inline-flex; align-items:center; border:1px solid #d7dee6; border-radius:9px; overflow:hidden; background:#fff;}
.q-box button{width:30px; height:34px; border:0; background:#fff; color:#48555f; font-size:16px; cursor:pointer; line-height:1;}
.q-box button:hover{background:#f2f6fb; color:#005AA6;}
.q-box .q-i{width:44px; height:34px; border:0; border-left:1px solid #eef2f6; border-right:1px solid #eef2f6; text-align:center; font-size:14px; font-weight:700; color:#12212e; font-variant-numeric:tabular-nums;}
.q-box .q-i:focus{outline:none; background:#f7fafd;}
.q-ro{font-weight:700; font-size:14px;}

/* totaluri — bloc curat aliniat la dreapta */
.elba-proj__table tfoot td{border-bottom:0 !important;}
.elba-proj__table tfoot .t-lbl{text-align:right; padding:9px 14px 9px 10px; font-size:13px; color:#7c8894; font-weight:600;}
.elba-proj__table tfoot .t-val{text-align:right; padding:9px 16px 9px 14px; font-size:14px; font-weight:700; color:#12212e; white-space:nowrap;}
.elba-proj__table tfoot tr.t-sub td, .elba-proj__table tfoot tr.t-vat td{border-bottom:1px solid #f0f3f7 !important;}
.elba-proj__table tfoot tr.t-tot .t-lbl{font-size:15px; font-weight:800; color:#12212e; padding-top:15px; border-top:2px solid #12212e;}
.elba-proj__table tfoot tr.t-tot .t-val{font-size:20px; font-weight:900; color:#94C12C; letter-spacing:-.01em; padding-top:15px; border-top:2px solid #12212e;}
.elba-proj__table tfoot tr.t-note td{color:#7c8894; font-size:11.5px; text-align:right; padding:12px 16px 0 10px; font-style:italic;}
.elba-proj__table tfoot small{font-size:11px; color:#8a97a4; font-weight:600; margin-left:2px;}
.p-del{border:0; background:none; color:#c0343f; cursor:pointer; padding:6px; border-radius:7px; display:inline-flex;}
.p-del:hover{background:#fdecec;}
.p-del svg{width:17px; height:17px;}

/* stare goală */
.elba-proj__empty{text-align:center; padding:40px 20px 30px; color:#5b6875;}
.elba-proj__empty svg{width:44px; height:44px; color:#c6d3e0; margin:0 auto 14px; display:block;}
.elba-proj__empty b{display:block; font-size:17px; color:#12212e; margin-bottom:6px;}
.elba-proj__empty p{font-size:13.5px; margin:0 auto 18px; max-width:420px; line-height:1.55;}
.elba-proj__browse{display:inline-block; background:#005AA6; color:#fff; text-decoration:none; border-radius:9px; padding:10px 22px; font-size:13.5px; font-weight:700;}
.elba-proj__browse:hover{background:#00427a; color:#fff;}

.elba-proj__foot{margin-top:22px; padding-top:16px; border-top:1px solid #eef2f6;}
.elba-proj__valid{font-size:12.5px; color:#48555f; line-height:1.55; background:#f7f9fc; border:1px solid #eef2f6; border-radius:9px; padding:11px 14px; margin-bottom:12px;}
.elba-proj__valid b{color:#005AA6; font-weight:700;}
.elba-proj__legal{font-size:11px; color:#9aa6b1; line-height:1.65;}

/* bara acțiuni */
.elba-proj__bar{display:flex; flex-wrap:wrap; gap:11px; margin-top:20px;}
.elba-proj__act{display:inline-flex; align-items:center; gap:8px; border:1.5px solid #dbe3ec; background:#fff; color:#12212e; border-radius:11px; padding:12px 18px; font-size:14px; font-weight:700; cursor:pointer; transition:border-color .15s, background .15s; font-family:inherit;}
.elba-proj__act svg{width:18px; height:18px; color:#005AA6;}
.elba-proj__act:hover{border-color:#005AA6; background:#f5f9fd;}
.elba-proj__act--link{background:#005AA6; border-color:#005AA6; color:#fff;}
.elba-proj__act--link svg{color:#fff;}
.elba-proj__act--link:hover{background:#00427a; border-color:#00427a;}
.elba-proj__act--clear{margin-left:auto; color:#8a97a4; border-color:#eef2f6;}
.elba-proj__act--clear:hover{color:#c0343f; border-color:#f4c4c4; background:#fdf4f4;}
.elba-proj__act.is-loading{opacity:.7; pointer-events:none;}

/* share box */
.elba-proj__share{margin-top:16px; background:#f2f6fb; border:1px solid #dbe6f2; border-radius:12px; padding:16px 18px;}
.elba-proj__share > b{display:block; font-size:13px; color:#005AA6; margin-bottom:10px;}
.elba-proj__share-row{display:flex; gap:10px;}
.elba-proj__share-row input{flex:1 1 auto; border:1px solid #d7dee6; border-radius:9px; padding:11px 13px; font-size:13.5px; background:#fff; color:#12212e;}
.elba-proj__copy{border:0; background:#94C12C; color:#fff; border-radius:9px; padding:11px 20px; font-size:13.5px; font-weight:700; cursor:pointer; white-space:nowrap;}
.elba-proj__copy:hover{background:#84ac34;}

@media (max-width:640px){
	.elba-proj__doc{padding:22px 18px;}
	.elba-proj__head{flex-direction:column; gap:14px;}
	.elba-proj__meta{text-align:left;} .elba-proj__ref{margin-left:0;}
	.elba-proj__fields{grid-template-columns:1fr;}
	.elba-proj__table td.c-code{display:none;} .elba-proj__table th.c-code{display:none;}
	.elba-proj__act--clear{margin-left:0;}
}

/* ── PRINT (PDF) — doar documentul, curat, brandat ── */
@media print{
	body *{visibility:hidden !important;}
	#elbaProject, #elbaProject *{visibility:visible !important;}
	#elbaProject{position:absolute; left:0; top:0; width:100%; margin:0; padding:0; max-width:none;}
	.elba-proj__doc{border:0 !important; box-shadow:none !important; border-radius:0 !important; padding:0 !important;}
	[data-noprint], .elba-proj__bar, .elba-proj__share, .elba-wlpill, .elba-wlheart{display:none !important;}
	.elba-proj__fields{display:none !important;}
	.elba-proj__pname{display:block !important;}
	.q-box{border:0 !important;} .q-box button{display:none !important;}
	.q-box .q-i{border:0 !important; width:auto !important; text-align:right; padding:0;}
	.p-del, .c-del{display:none !important;}
	.elba-proj__table thead th{-webkit-print-color-adjust:exact; print-color-adjust:exact;}
	@page{margin:16mm 14mm;}
}

/* MOBIL: inima compactă 44×44 (era 54 înălțime — buy-box-ul e acum compact) */
@media (max-width:768px){
	.elba-pdp .elba-wlheart,
	.elba-wlheart{width:44px !important; height:44px !important; min-height:44px !important; padding:0 !important;
		box-sizing:border-box !important; display:inline-flex !important;
		align-items:center !important; justify-content:center !important;}
	.elba-pdp .elba-wlheart svg,
	.elba-wlheart svg{width:19px !important; height:19px !important;}
}

/* ── Pastila „Listă": IDENTICĂ vizual cu coșul plutitor — pătrat 44×44,
      radius 12, fără umbre, fără număr, doar iconul. ── */
.elba-wlpill, .elba-wlpill.is-on{
	width:44px !important; height:44px !important; padding:0 !important;
	border-radius:12px !important; justify-content:center !important; gap:0 !important;
	background:#fff !important; border:1px solid #d7dee6 !important;
	box-shadow:none !important; right:16px; bottom:84px;
}
.elba-wlpill__t, .elba-wlpill__n{display:none !important;}
.elba-wlpill svg{width:20px; height:20px;}
.elba-wlpill:hover{transform:none !important; box-shadow:none !important; border-color:#005AA6 !important;}
/* inima „în listă": plină, brand */
.elba-pdp .elba-wlheart.is-in{border-color:#005AA6 !important; color:#005AA6 !important;}
.elba-pdp .elba-wlheart.is-in svg{fill:#005AA6;}
