/* LUVAND — fereastra „Coșul tău”. Desktop: 2 coloane (piesa pe crem | formularul). Telefon: foaie care urcă de jos, antet închis cu piesa. */
.lvux-lock, .lvux-lock body { overflow: hidden !important; }
.lvux-m { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; font-family: var(--lv-text); color: var(--lv-ink); }
.lvux-m[hidden] { display: none; }
.lvux-m *, .lvux-m *::before, .lvux-m *::after { box-sizing: border-box; }
.lvux-m__ov { position: absolute; inset: 0; background: rgba(34, 30, 28, .48); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .28s ease; }
.lvux-m__box {
	position: relative; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); width: min(1080px, calc(100vw - 48px)); height: min(860px, calc(100vh - 48px));
	background: var(--lv-cream); border-radius: var(--lv-r-lg); overflow: hidden; box-shadow: 0 40px 100px rgba(34, 30, 28, .35);
	opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .28s ease, transform .32s cubic-bezier(.2, .8, .2, 1);
}
.lvux-m.is-open .lvux-m__ov { opacity: 1; }
.lvux-m.is-open .lvux-m__box { opacity: 1; transform: none; }
.lvux-m__x {
	position: absolute; top: 14px; right: 14px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 1px solid rgba(34, 37, 41, .18); border-radius: 50%; background: rgba(253, 247, 242, .92); color: var(--lv-ink); cursor: pointer; transition: background .2s, border-color .2s;
}
.lvux-m__x:hover { background: #fff; border-color: var(--lv-ink); }
.lvux-m__x .lvux-ic { width: 20px; height: 20px; }
/* stânga: piesa */
.lvux-m__side { display: flex; flex-direction: column; min-height: 0; background: var(--lv-sand); border-right: 1px solid var(--lv-line); overflow-y: auto; }
.lvux-m__img { flex: none; aspect-ratio: 1 / 1; background: #f3ece4; overflow: hidden; }
.lvux-m__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
.lvux-m__img img:not([src]), .lvux-m__img img[src=""] { opacity: 0; }
.lvux-m__info { padding: 24px 30px 28px; }
.lvux-m__k { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1.2 var(--lv-text); letter-spacing: .2em; text-transform: uppercase; color: var(--lv-terra); }
.lvux-m__k .lvux-ic { width: 15px; height: 15px; stroke-width: 2; }
.lvux-m__t { margin: 10px 0 12px !important; font: 400 26px/1.2 var(--lv-display) !important; color: var(--lv-ink) !important; letter-spacing: 0 !important; text-transform: none !important; }
.lvux-m__rows { margin: 0 0 6px; }
.lvux-m__rows div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--lv-line); font: 300 14px/1.35 var(--lv-text); }
.lvux-m__rows dt { color: var(--lv-muted); font-weight: 400; letter-spacing: .04em; }
.lvux-m__rows dd { margin: 0; text-align: right; color: var(--lv-ink); }
.lvux-m__price { margin: 6px 0 0 !important; font: 400 22px/1.2 var(--lv-text) !important; color: var(--lv-ink) !important; }
.lvux-m__others { margin-top: 20px; }
.lvux-m__ol { margin: 0 0 8px !important; font: 500 10.5px/1.2 var(--lv-text) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--lv-muted) !important; }
.lvux-m__others ul { list-style: none; margin: 0; padding: 0; }
.lvux-m__others li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--lv-line); font: 300 13.5px/1.35 var(--lv-text); }
.lvux-m__others img { width: 44px; height: 44px; object-fit: cover; border-radius: 2px; display: block; background: #f3ece4; }
.lvux-m__others span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lvux-m__others b { font-weight: 400; white-space: nowrap; }
.lvux-m__tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(34, 37, 41, .25); }
.lvux-m__tot span { font: 500 10.5px/1.2 var(--lv-text); letter-spacing: .18em; text-transform: uppercase; color: var(--lv-muted); }
.lvux-m__tot b { font: 500 20px/1.2 var(--lv-text); }
.lvux-m__perk { margin: 12px 0 0 !important; font: 300 13px/1.5 var(--lv-text) !important; color: var(--lv-ink-2) !important; }
.lvux-m__note { margin: 18px 0 0 !important; font: italic 400 16px/1.5 var(--lv-display) !important; color: var(--lv-ink-2) !important; }
.lvux-m.is-single .lvux-m__tot { display: none; }
/* dreapta: formularul */
.lvux-m__main { position: relative; min-width: 0; min-height: 0; background: var(--lv-cream); }
.lvux-m__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .3s ease; }
.lvux-m.is-ready .lvux-m__frame { opacity: 1; }
.lvux-m__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity .25s; }
.lvux-m.is-ready .lvux-m__load { opacity: 0; pointer-events: none; }
.lvux-m__load p { margin: 0 !important; font: italic 400 16px/1.4 var(--lv-display) !important; color: var(--lv-ink-2) !important; }
.lvux-m__spin { width: 34px; height: 34px; border: 1px solid var(--lv-line); border-top-color: var(--lv-terra); border-radius: 50%; animation: lvux-spin .9s linear infinite; }
@keyframes lvux-spin { to { transform: rotate(360deg); } }

/* telefon / tabletă îngustă: foaie de jos, antet compact */
@media (max-width: 860px) {
	.lvux-m { align-items: flex-end; }
	.lvux-m__box { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 94%; border-radius: 18px 18px 0 0; transform: translateY(40px); }
	.lvux-m__side { flex-direction: row; align-items: center; gap: 14px; padding: 14px 64px 14px 16px; background: var(--lv-ink); color: var(--lv-cream); border: 0; overflow: visible; }
	.lvux-m__img { width: 62px; height: 62px; aspect-ratio: auto; border-radius: 4px; flex: none; background: #3a3532; }
	.lvux-m__info { flex: 1; padding: 0; min-width: 0; }
	.lvux-m__k { font-size: 9.5px; letter-spacing: .16em; color: var(--lv-gold-hi); }
	.lvux-m__k .lvux-ic { width: 12px; height: 12px; }
	.lvux-m__t { margin: 4px 0 2px !important; font-size: 17px !important; color: var(--lv-cream) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.lvux-m__rows, .lvux-m__others, .lvux-m__perk, .lvux-m__note, .lvux-m__tot { display: none !important; }
	.lvux-m__price { margin: 0 !important; font-size: 14px !important; color: var(--lv-cream) !important; opacity: .9; }
	.lvux-m__x { top: 16px; right: 12px; width: 38px; height: 38px; background: transparent; border-color: rgba(253, 247, 242, .4); color: var(--lv-cream); }
	.lvux-m__x:hover { background: rgba(253, 247, 242, .12); border-color: var(--lv-cream); }
}
@media (prefers-reduced-motion: reduce) { .lvux-m__box, .lvux-m__ov { transition: none; } }

/* mesajul de stoc maxim + „+” estompat */
.lvux-qty-msg { margin: 6px 0 0 !important; font: 400 12.5px/1.4 var(--lv-text, Jost, sans-serif) !important; color: var(--lv-terra, #bb5644) !important; transition: opacity .4s; }
.lvux-qty-msg.is-out { opacity: 0; }
.quantity .plus.lvux-at-max { opacity: .3; cursor: not-allowed; }

/* un nume lung de produs nu are voie să lățească fereastra (coloana grilei) */
.lvux-m__side, .lvux-m__main { min-width: 0; }
.lvux-m.is-done .lvux-m__price { display: none; }
