

.produs-sus { padding: var(--sp-4) 0 0; }
.produs-grila { display: grid; gap: var(--sp-5); }


.galerie-mare { position: relative; aspect-ratio: 4 / 3; background: #FFFFFF; border: 1px solid var(--linie); border-radius: var(--raza); overflow: hidden; }
.galerie-mare img { width: 100%; height: 100%; object-fit: contain; padding: var(--sp-4); }
.galerie-mare img[hidden], .galerie-schita[hidden], .bara-cumpara[hidden] { display: none; }
.galerie-schita { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--sp-4); }
.galerie-mici { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); }
button.mica {    width: 96px; height: 72px; padding: 0; border: 1px solid var(--linie); border-radius: var(--raza); background: #FFFFFF; cursor: pointer; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
button.mica img { width: 100%; height: 100%; object-fit: contain; }
button.mica[aria-pressed="true"] { border: 2px solid var(--petrol); }

.mica-schita { flex-direction: column; gap: 2px; background: #FFFFFF; }
.mica-schita [data-ic-dim] { display: contents; }
.ic-dim { width: 44px; height: 33px; flex: none; }
.ic-forma rect, .ic-forma path { fill: #F2EEE7; stroke: #6B6258; stroke-width: 3; }
.ic-cota { fill: none; stroke: #9A7A1E; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.et-dim { font: 700 var(--s14)/1 "Lato", system-ui, sans-serif; color: var(--petrol); }


.schita { width: 100%; height: auto; max-height: 100%; }

.galerie-schita:has(.dim-poza) { padding: 0; background: #FFFFFF; }
.dim-poza { display: block; width: 100%; height: 100%; object-fit: contain; }
.schita-cadru .dim-poza { height: auto; }
.schita-cadru:has(.dim-poza) { padding: 0; overflow: hidden; }
.schita .contur rect { fill: #F2EEE7; stroke: #6B6258; stroke-width: 2; }
.schita .cota path { fill: none; stroke: var(--auriu); stroke-width: 2; }
.schita text { font: 700 24px "Lato", system-ui, sans-serif; fill: #1B1B1B; }
.schita .leg text { font-weight: 400; font-size: 20px; fill: #5B5752; }


.cumpara h1 { font-size: var(--s30); }
.pret-mare { margin: var(--sp-3) 0 var(--sp-4); font-size: var(--s24); font-weight: 700; }
.variante { border: 0; margin: 0 0 var(--sp-4); padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.variante legend { grid-column: 1 / -1; font-weight: 700; margin-bottom: var(--sp-2); padding: 0; }
.varianta { position: relative; cursor: pointer; }
.varianta input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.varianta > span { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 56px; justify-content: center; padding: var(--sp-2) var(--sp-4);
  border: 1px solid #8A857E; border-radius: var(--raza); background: var(--fundal-alt); }
.varianta small { font-size: var(--s14); color: var(--secundar); }
.varianta input:checked + span { border-color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); background: #FFFFFF; }   
.varianta input:focus-visible + span { outline: 3px solid var(--auriu); outline-offset: 2px; }
.culoare-nota { margin: 0 0 var(--sp-5); font-size: var(--s14); color: var(--secundar); }
.culoare-nota strong { color: var(--text); }
.actiuni-produs { display: flex; gap: var(--sp-3); }
.actiuni-produs .btn { flex: 1; }
.fav-mare { position: static; width: 48px; height: 48px; flex: none; border: 1px solid #8A857E; border-radius: var(--raza); background: transparent; }
.repere-produs { list-style: none; margin: var(--sp-5) 0 0; padding: var(--sp-4) 0 0; border-top: 1px solid var(--linie); display: grid; gap: var(--sp-4); }
.repere-produs li, .vizita summary { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--s14); color: var(--secundar); }
.repere-produs strong, .vizita summary strong { display: block; color: var(--text); font-size: var(--s16); }
.repere-produs svg, .vizita summary svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--auriu); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vizita { margin-top: var(--sp-5); border: 1px solid var(--linie); border-radius: var(--raza); background: var(--fundal-alt); }
.vizita summary { list-style: none; cursor: pointer; padding: var(--sp-4); min-height: 44px; }
.vizita summary::-webkit-details-marker { display: none; }
.formular-vizita { display: grid; gap: var(--sp-3); padding: 0 var(--sp-4) var(--sp-4); }
.formular-vizita label { display: grid; gap: var(--sp-1); font-size: var(--s14); }
.formular-vizita .mic { margin: 0; font-size: var(--s14); color: var(--secundar); }



.dim-sus { margin: calc(-1 * var(--sp-2)) 0 var(--sp-4); font-size: var(--s14); color: var(--secundar); }
.dim-sus strong { color: var(--text); }
.puncte-cheie { list-style: none; margin: 0 0 var(--sp-2); padding: 0; display: grid; gap: var(--sp-2); }
.puncte-cheie li { position: relative; padding-left: 26px; font-size: var(--s14); text-wrap: pretty; }   
.repere-produs strong, .h-sectiune-produs + .produse h3, .vazute h3 { text-wrap: balance; }
.puncte-cheie li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--auriu); border-bottom: 2px solid var(--auriu); transform: rotate(-45deg); }
.spre-descriere { margin-bottom: var(--sp-5); }


.blocuri-produs { padding-top: var(--sp-7); }
.blocuri-produs .cont { max-width: calc(1000px + 2 * var(--gutter)); }
.bloc { border-top: 1px solid var(--linie); }
.bloc:last-child { border-bottom: 1px solid var(--linie); }
.bloc > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 64px; padding: var(--sp-3) 0; }
.bloc > summary::-webkit-details-marker { display: none; }
.bloc > summary h2 { font-size: var(--s24); }
.bloc > summary::after { content: "+"; flex: none; font: 400 var(--s24)/1 "Lato", system-ui, sans-serif; color: var(--auriu); }
.bloc[open] > summary::after { content: "−"; }
.bloc-corp { padding: 0 0 var(--sp-6); }
.h-sectiune-produs { font-size: var(--s24); margin-bottom: var(--sp-4); }


.deschidere { margin: 0 0 var(--sp-5); font-size: var(--s18); max-width: 60ch; }
.puncte-descriere { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.punct { display: flex; gap: var(--sp-4); align-items: flex-start; }
.punct svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--auriu); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.punct h3 { font-size: var(--s18); margin: var(--sp-1) 0 var(--sp-2); }
.punct p { margin: 0; color: var(--secundar); max-width: 60ch; }


.dim-grila { display: grid; gap: var(--sp-5); align-items: center; }
.tabel-spec { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-6); margin: 0; }
.tabel-spec dt { color: var(--secundar); }
.tabel-spec dd { margin: 0; font-weight: 700; }
.de-completat { display: inline-block; text-wrap: balance; font-weight: 400; font-size: var(--s14); color: #6B4E00; background: #FBF4DD; border: 1px dashed #B8962E; border-radius: var(--raza); padding: 0 var(--sp-2); }
.lista-bloc { margin: 0; padding-left: var(--sp-5); display: grid; gap: var(--sp-2); }
.schita-cadru { margin: 0; background: #FFFFFF; border: 1px solid var(--linie); border-radius: var(--raza); padding: var(--sp-4); }
.legatura-sus { margin-top: var(--sp-5); }


.bara-cumpara { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-3) var(--gutter); background: #FFFFFF; border-top: 1px solid var(--linie); box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.bara-cumpara div { display: grid; font-size: var(--s14); }
.bara-cumpara span { font-weight: 700; font-size: var(--s16); }
.bara-cumpara .btn { padding: 0 var(--sp-4); }

.pagina-produs { padding-bottom: 80px; }

@media (min-width: 640px) {
  .dim-grila { grid-template-columns: 1fr 1.4fr; }
}
@media (min-width: 1024px) {
  .produs-grila { grid-template-columns: 1.25fr 1fr; gap: var(--sp-8); align-items: start; }
  .galerie { position: sticky; top: calc(var(--antet-h) + var(--sp-4)); }
  .cumpara h1 { font-size: var(--s38); }
  .pret-mare { font-size: var(--s30); }
  .h-sectiune-produs, .bloc > summary h2 { font-size: var(--s30); }
  .puncte-descriere { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-7); }
  .bloc > summary { cursor: default; }
  .bloc > summary::after { display: none; }
  .bara-cumpara { display: none; }
  .pagina-produs { padding-bottom: 0; }
}


.varianta .forma { width: 100%; height: auto; margin-bottom: var(--sp-2); }
.varianta .forma .corp { fill: #F2EEE7; stroke: #6B6258; stroke-width: 1; }
.varianta .forma .spatar { fill: #E2D9CB; stroke: #6B6258; stroke-width: 1; }
.varianta .forma rect:not(.corp):not(.spatar) { fill: #FFFFFF; stroke: #A99F92; stroke-width: .8; }
.varianta input:checked + span .forma .corp, .varianta input:checked + span .forma .spatar { stroke: var(--petrol); stroke-width: 1.6; }
.varianta > span { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }


.variante legend span { font-weight: 400; color: var(--secundar); }

.alege-marime { margin: 0 0 var(--sp-4); }
.alege-marime label { display: block; font-weight: 700; margin-bottom: var(--sp-2); }
.alege-marime .camp { max-width: 360px; cursor: pointer; }
.v-text { display: flex; flex-direction: column; gap: 2px; }
.v-text strong { font-size: var(--s18); }
.v-pret { margin-top: var(--sp-1); font-size: var(--s16); }
.v-dim { display: none; }
.varianta.cu-foto > span { flex-direction: row; align-items: center; gap: var(--sp-3); padding-left: var(--sp-3); padding-right: var(--sp-3); }
.v-foto { width: 96px; height: 60px; object-fit: contain; flex: none; background: #FFFFFF; border-radius: var(--raza); }
.varianta input:checked + span::after { content: ""; position: absolute; top: var(--sp-2); right: var(--sp-2); width: 22px; height: 22px; border-radius: 50%;
  background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 639px) {
  .varianta.cu-dim > span { padding: 0; border: 0; background: none; box-shadow: none; min-height: 0; gap: var(--sp-1); flex-direction: column; align-items: stretch; }
  .varianta.cu-dim .v-foto, .varianta.cu-dim .v-text strong { display: none; }
  .varianta.cu-dim .v-dim { position: relative; display: block; aspect-ratio: 4 / 3; border: 1px solid #8A857E; border-radius: var(--raza); background: #FFFFFF; overflow: hidden; }
  .varianta.cu-dim .v-dim img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .v-eticheta { position: absolute; left: var(--sp-2); top: var(--sp-2); padding: 2px 10px; border-radius: 999px; font-size: var(--s14); font-weight: 700;
    background: #FFFFFF; color: var(--petrol); border: 1px solid var(--petrol); }
  .varianta.cu-dim input:checked + span .v-dim { border: 2px solid var(--petrol); }
  .varianta.cu-dim input:checked + span .v-eticheta { background: var(--petrol); color: #FFFFFF; }
  .varianta.cu-dim input:checked + span::after { display: none; }
  .varianta.cu-dim .v-text { flex-direction: row; flex-wrap: wrap; gap: 0 var(--sp-2); }
  .varianta.cu-dim .v-text small { font-size: var(--s14); }
  .varianta.cu-dim .v-pret { margin: 0; font-size: var(--s14); }
}


button.mica-dim { position: relative; }
button.mica-dim img { object-fit: contain; }
button.mica-dim .et-dim { position: absolute; left: 4px; bottom: 4px; padding: 2px 6px; border-radius: 999px; font-size: var(--s12); background: var(--petrol); color: #FFFFFF; }
.culoare-nota .spre-vizita { display: inline-block; margin-top: var(--sp-1); font-weight: 700; color: #7A6015; text-underline-offset: 4px; }
.vazute[hidden] { display: none; }   


.galerie-mare img.scena { object-fit: cover; padding: 0; }
.galerie-mici { flex-wrap: wrap; }
button.mica[hidden] { display: none; }
