/* Partea de sus a paginii casei, Backlot (18.11.2026): titlul, rândul cu stele / Property ID / oraș, Share This / Wishlist (+ Owner Details și Map pentru admin),
   cele patru detalii cu iconiță, Available + Request scout, galeria (doar valorile care diferă de linkul demo) și banda Download ZIP / Mood board / Download PDF.
   Sursa: redesign/css/pages.css (.prop-*, .avail*, .gal-views, .mosaic, .tools-row), dir-d.css și backlot-live.css, cu valorile finale pentru data-d="d".
   Înlocuiește css/afn-header.css (nu se mai încarcă pe pagina casei). Galeria rămâne cea din css/afn-gallery.css + js/afn-gallery.js (comportamentul aprobat 05.11.2026).
   Tokenii vin din tokens.css. Nu conține Specification, Features, Description, cardul lateral, Similar Properties, bara de jos de pe telefon sau harta (fiecare are fișierul lui). */

/* style.css pune pe #product_info o margine de 85px (meniul vechi era fix) și un padding de 55px, iar pe h1–h6, p, span fontul „robotolight” cu !important */
[data-d="d"] #product_info.prop-top { width: auto; margin: 0; padding: 0; }
[data-d="d"] :is(.prop-top, .tools-row) :is(h1, h2, h3, h4, p, span, small, b) { font-family: var(--font) !important; }

[data-d="d"] .prop-head { padding: 26px 0 10px; }
[data-d="d"] .prop-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; width: 100%; margin: 0; padding: 0; }
[data-d="d"] .prop-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; color: var(--ink); margin: 0; padding: 0; }
[data-d="d"] .prop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-top: 8px; color: var(--mute); font-size: 14.5px; }
[data-d="d"] .prop-meta > span { font-size: 14.5px; font-weight: 300; color: var(--mute); }
[data-d="d"] .prop-meta .stars { color: var(--ink); display: inline-flex; gap: 1px; }
[data-d="d"] .prop-meta .stars .ico { width: 14px; height: 14px; }
[data-d="d"] .prop-meta > * + *::before { content: "·"; margin-right: 10px; color: var(--line-2); }

/* Share This, Wishlist, Owner Details, Map: butoane cu chenar subțire și text subliniat */
[data-d="d"] .prop-actions { display: flex; flex-wrap: wrap; gap: 4px; }
[data-d="d"] .prop-actions .btn { min-height: 38px; padding: 0 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: #fff; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px; }
[data-d="d"] .prop-actions .btn:is(:hover, :focus, :active) { color: var(--ink); text-decoration: underline; }
@media (hover: hover) { [data-d="d"] .prop-actions .btn:hover { background: var(--pill); } }
[data-d="d"] .prop-actions .is-saved .ico { color: var(--accent); }
/* caseta cu rețelele de socializare stă în butonul Share This, centrată sub el; banda ::before acoperă golul de 10px, ca mouse-ul să nu iasă din buton în drum spre casetă
   (comportamentul din css/afn-header.css, 05.11.2026) */
[data-d="d"] .prop-share { position: relative; display: inline-flex; }
[data-d="d"] .prop-share .share_bx { top: calc(100% + 10px); left: 50%; right: auto; transform: translateX(-50%); cursor: default; }
[data-d="d"] .prop-share .share_bx::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
@media (hover: none) { [data-d="d"] .prop-share .share_bx::before { display: none; } }

/* cele patru detalii: iconiță, valoare, etichetă */
[data-d="d"] .prop-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 22px 0; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-d="d"] .prop-facts li { display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 12px; list-style: none; border-radius: 14px; padding: 0; margin: 0; }
[data-d="d"] .prop-facts .ico { width: 28px; height: 28px; grid-row: span 2; color: var(--ink-2); }
[data-d="d"] .prop-facts b { font-size: 16px; font-weight: 500; }
[data-d="d"] .prop-facts small { color: var(--mute); font-size: 13px; font-weight: 300; }
@media (max-width: 899px) { [data-d="d"] .prop-facts { grid-template-columns: 1fr 1fr; } }

/* Available / Not Available (eticheta roșie de pe site, tokenul --live-badge-red) și Request scout */
[data-d="d"] .avail-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 12px; }
[data-d="d"] .avail { display: inline-flex; align-items: center; gap: 0; padding: 5px 7px; background: var(--live-badge-red); color: #fff; font-size: 11px; font-weight: 300; letter-spacing: 1px; }
[data-d="d"] .avail.off { background: var(--live-badge-red); }

/* Galeria: aceeași grilă (js/afn-gallery.js, css/afn-gallery.css), cu valorile prototipului: rânduri de 230px în mozaic, miniaturile 4:3, comutatorul Grid / Full închis la culoare când e activ */
[data-d="d"] .pro_slaider { padding: 0; margin: 0 auto; }
[data-d="d"] .pro_slaider .afn-gallery-wrap { margin: 0; }
@media (min-width: 821px) {   /* sub 821px galeria e o coloană de poze întregi (afn-gallery.css), fără rânduri fixe */
  [data-d="d"] .pro_slaider .thumbnailSlider.afn-gallery:not(.afn-gallery--all, .afn-gallery--full) { grid-template-rows: 230px 230px; grid-auto-rows: auto; }
  [data-d="d"] .pro_slaider .thumbnailSlider.afn-gallery:not(.afn-gallery--all, .afn-gallery--full) .sliderImg:nth-child(n+6) { aspect-ratio: 4 / 3; }
  [data-d="d"] .pro_slaider .afn-gallery[data-count="1"]:not(.afn-gallery--all, .afn-gallery--full) { grid-template-rows: none; grid-auto-rows: 548px; }
}
[data-d="d"] .afn-gallery-views button { font-family: var(--font); color: var(--ink); }
[data-d="d"] .afn-gallery-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 820px) {
  /* telefon: pozele una sub alta, ca pe site (cerut de client, 05.11.2026); marginile vin din .wrap */
  [data-d="d"] .pro_slaider .thumbnailSlider.afn-gallery { padding: 0; }
}

/* Download ZIP / Mood board / Download PDF: bandă albă translucidă pe toată lățimea, lipită jos cât derulezi prin poze (valorile din css/afn-header.css, 05.11.2026);
   pe telefon stă deasupra barei Request scout (--cta-h, măsurată de js/backlot/property-cta.js) */
[data-d="d"] .tools-row { position: sticky; bottom: var(--cta-h, 0px); z-index: 30; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px;
  margin: 4px calc(50% - 50vw) 16px; padding: 12px calc(50vw - 50%); background: rgb(255 255 255 / .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
[data-d="d"] .pro_slaider.afn-mood-open .tools-row { position: static; }
[data-d="d"] .tools-row form { display: flex; margin: 0; }
[data-d="d"] .tools-row .btn { min-height: 40px; padding: 0 20px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
@media (max-width: 743px) {
  [data-d="d"] .tools-row { justify-content: center; gap: 6px; padding-block: 10px; }
  [data-d="d"] .tools-row .btn { padding: 0 10px; gap: 6px; font-size: 13px; white-space: nowrap; }
}
@media (min-width: 385px) and (max-width: 743px) { [data-d="d"] .tools-row { flex-wrap: nowrap; } }   /* un singur rând de la 385px; pe telefoanele mai înguste, două */

/* „Sus” stă deasupra benzii de jos (banda are ~64px); fără asta acoperă marginea butonului Download PDF (în demo se suprapun; pe site era ridicat la 84px încă din 05.11.2026).
   Pe telefon îl ridică property-side.css, cu înălțimea barei Request scout. */
[data-d="d"] .back-to-top { bottom: 84px; }
