/* /domy/tec35/ – TEC35 model page (tabs: oferta, standardy, rzuty, elewacje, wnetrza). */

/* hero: photo fills the right column; chips + price above the buttons */
.model-hero__meta { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 8px; }
.model-hero__price { font-size: 28px; font-weight: 800; letter-spacing: var(--ls-head); color: var(--white); font-variant-numeric: tabular-nums; }
.model-hero__price span { font-size: 14px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .86); }

/* overview */
.path .path__head { align-items: center; }
.stat__value { font-size: 26px; }

/* tabs */
.model-tabs .tabs__panel { padding-top: 24px; }
.model-photo { position: relative; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: var(--slate-100); }
.model-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-photo--contain { min-height: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--slate-200); }
.model-photo--contain img { position: static; height: auto; object-fit: contain; }
.model-panel-title { margin: 6px 0 10px; font-size: clamp(24px, 2.6vw, 30px); }
.model-panel-sub { margin-bottom: 12px; font-weight: 700; }
.model-list { font-size: 14px; color: var(--slate-700); }
.model-list strong { color: var(--slate-900); }
.model-price-line { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--slate-200); font-size: 24px; font-weight: 800; letter-spacing: var(--ls-head); }
.model-prose { max-width: none; }
.model-prose h3:first-child { margin-top: 0; }
.model-prose .btn-row { margin-top: 20px; }
.prose h3:first-child { margin-top: 0; }

/* packages (component model-packages) */
.model-packages { padding-top: 12px; }
.model-packages__from { font-size: 16px; font-weight: 600; color: var(--muted); }
.model-packages__ask { font-size: 22px; }

/* plans and facades */
.model-plan__title { margin-bottom: 12px; }
.model-plan .hotspot { max-width: 1100px; margin: 0 auto; }
.model-plan--narrow .hotspot { max-width: 768px; }

/* dot positions (top-left corner of the 25px dot) – copied from the old rzuty.css / elewacje.css on branch main */
.hotspot--parter .hotspot__spot:nth-of-type(1) { --x: 44.88255%; --y: 31.13208%; }
.hotspot--parter .hotspot__spot:nth-of-type(2) { --x: 60.23490%; --y: 44.91363%; }
.hotspot--parter .hotspot__spot:nth-of-type(3) { --x: 70.87766%; --y: 24.86551%; }
.hotspot--parter .hotspot__spot:nth-of-type(4) { --x: 28.02013%; --y: 55.66219%; }
.hotspot--parter .hotspot__spot:nth-of-type(5) { --x: 15.43624%; --y: 76.67946%; }
.hotspot--parter .hotspot__spot:nth-of-type(6) { --x: 51.84564%; --y: 57.29367%; }

.hotspot--antresola .hotspot__spot:nth-of-type(1) { --x: 43.20470%; --y: 33.27155%; }
.hotspot--antresola .hotspot__spot:nth-of-type(2) { --x: 61.66107%; --y: 48.56348%; }
.hotspot--antresola .hotspot__spot:nth-of-type(3) { --x: 73.32215%; --y: 25.11585%; }
.hotspot--antresola .hotspot__spot:nth-of-type(4) { --x: 46.81208%; --y: 58.48007%; }
.hotspot--antresola .hotspot__spot:nth-of-type(5) { --x: 10.73826%; --y: 54.12419%; }

.hotspot--elewacje .hotspot__spot:nth-of-type(1) { --x: 18.87417%; --y: 18.29016%; }
.hotspot--elewacje .hotspot__spot:nth-of-type(2) { --x: 68.04636%; --y: 8.03109%; }
.hotspot--elewacje .hotspot__spot:nth-of-type(3) { --x: 37.99669%; --y: 55.12953%; }
.hotspot--elewacje .hotspot__spot:nth-of-type(4) { --x: 32.03642%; --y: 85.64767%; }

/* gallery */
.model-gallery-title { margin-bottom: 12px; }
.model-gallery-title--next { margin-top: 28px; }

@media (max-width: 640px) {
  .model-photo { min-height: 240px; }
  .model-hero__price { font-size: 24px; }
  .model-price-line { font-size: 20px; }
}

/* package cards: list rows keep their natural height; badge on a solid background over the card border */
.package__list.check-list { align-content: start; }
.package__badge { background: #e3f6f6; box-shadow: 0 0 0 1px rgba(13, 176, 181, .35); }
@media (max-width: 640px) { .model-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .model-stats .stat__value { font-size: 20px; } }
