/* ================================
   PROPERTY PAGE – GLOBAL
   ================================ */

body.page-property {
  background: #f3f4f6;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.property-page {
  min-height: 100vh;
}

/* max-width pentru conținut (summary + main) */
.property-summary-band,
.property-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ================================
   HERO MEDIA
   ================================ */

.property-hero {
  position: relative;
  width: 100%;
  background: #000;
}

.property-hero-media {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  height: 700px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* container pentru slide-uri */
.property-hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1; /* sub overlay + nav */
}

/* fiecare slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1); /* puțin mai mare în stare de bază */
  transition:
    opacity 1s ease-in-out,
    transform 8s ease-out;
  will-change: opacity, transform;
}

/* slide activ – devine vizibil și „se depărtează” ușor la 1 */
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.5);
}

/* overlay peste poze rămâne deasupra */
.property-hero-media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(15, 23, 42, 0.45), transparent 55%);
  z-index: 2;
}

/* ================================
   HERO – PROGRESS BAR
   ================================ */

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                 /* lipită de marginea de jos a pozei */
  height: 3px;               /* grosimea barei */
  background: rgba(15, 23, 42, 0.35);  /* fundal discret */
  z-index: 3;                /* peste overlay-ul întunecat */
  overflow: hidden;
}

.hero-progress-bar {
  width: 0%;
  height: 100%;
  background: #ff0017;       /* portocaliu „accent” (poți schimba după gust) */
  transform-origin: left center;
  transition: none;          /* controlăm tranziția din JS */
}

/* ================================
   TOP NAV – peste HERO (DARK)
   ================================ */

.property-top-nav {
  position: fixed;     /* ↩️ NU mai e fixed aici */
  top: 0;
  left: 0;
  right: 0;
  height: 74px;

  /* o centrăm ca panoul de dedesubt */
  max-width: 1200px;
  margin: 0 auto;

  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;

  background: rgba(0, 0, 0, 0.7); /* dark state peste foto */
  color: #f9fafb;
  backdrop-filter: blur(8px);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.property-top-nav-left {
  min-width: 0;
}

/* summary (preț + rooms + m²) – ascuns by default */
.property-nav-summary {
  display: none;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-summary-price {
  font-weight: 600;
}

.nav-summary-dot {
  margin: 0 4px;
  opacity: 0.5;
}

.nav-summary-stat {
  margin-right: 8px;
}

/* centru: tab-uri */
.property-top-nav-center {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex: 1;
}

.property-nav-tab {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.property-nav-tab.is-active {
  background: rgba(248, 250, 252, 0.2);
}

/* ================================
   TOP NAV RIGHT: Save / Share (text only)
   - fără border/background/padding
   - underline la hover/focus
   - păstrează trecerea alb/negru (dark vs light)
   ================================ */

/* container dreapta */
.property-top-nav-right{
  display: flex;
  gap: 16px;
  padding-right: 10px;
}

/* butoane: reset total (doar text) */
.property-top-nav-right .btn-hollow.btn-sm{
  border: 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;

  display: inline-flex;
  align-items: center;

  font: inherit;
  line-height: 1.1;
  font-weight: 300;
  font-size: 14px;
  
  cursor: pointer;
  position: relative;

  transition: color .18s ease, opacity .18s ease;
}

/* culoare în DARK (peste hero) */
.property-top-nav:not(.is-light) .property-top-nav-right .btn-hollow.btn-sm{
  color: #fff;
}

/* culoare în LIGHT */
.property-top-nav.is-light .property-top-nav-right .btn-hollow.btn-sm{
  color: #111827;
}

/* underline (inițial ascuns) */
.property-top-nav-right .btn-hollow.btn-sm::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;           /* dacă e tăiat de overflow, pune 0 */
  height: 2px;
  background: currentColor;
  opacity: .9;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .16s ease, opacity .16s ease;
}

/* underline la hover/focus */
.property-top-nav-right .btn-hollow.btn-sm:hover::after,
.property-top-nav-right .btn-hollow.btn-sm:focus-visible::after{
  transform: scaleX(1);
  opacity: 1;
}

/* Saved: underline permanent (opțional) */
.property-top-nav-right .btn-hollow.btn-sm.is-saved::after{
  transform: scaleX(1);
  opacity: 1;
}

/* fără hover background în light */
.property-top-nav.is-light .property-top-nav-right .btn-hollow.btn-sm:hover{
  background: transparent !important;
}

/* accesibilitate */
.property-top-nav-right .btn-hollow.btn-sm:focus{
  outline: none;
}

/* STAREA "LIGHT" – FIXĂ SUS, ALBĂ, CU PREȚ + CAMERE + SUPRAFAȚĂ */
.property-top-nav.is-light {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 74px;

  /* 🔹 aceeași lățime ca panoul .property-lightbox */
  width: min(1200px, 100vw - 96px);
  max-width: 100%;

  background: #ffffff;
  color: #111827;
  z-index: 10000; /* opțional, dar util ca să fie clar peste conținut */
}

/* summary în NAV LIGHT trebuie negru (chiar dacă JS a pus inline color alb) */
.property-top-nav.is-light .property-nav-summary{
  color: #111827 !important;
}

.property-top-nav.is-light .property-nav-summary *{
  color: inherit;
}

.property-top-nav.is-light .property-nav-tab.is-active {
  background: #111827;
  color: #f9fafb;
}

/* în stare light afișăm summary-ul din stânga */
.property-top-nav.is-light .property-nav-summary {
  display: block;
}

/* ================================
   AGENT BADGE PESTE HERO
   ================================ */

.property-hero-agent-badge {
  display: none;
}

.agent-badge-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e5e7eb;
}

.agent-badge-info {
  display: flex;
  flex-direction: column;
}

.agent-badge-name {
  font-size: 14px;
  font-weight: 600;
}

.agent-badge-agency {
  font-size: 12px;
  color: #6b7280;
}

/* ================================
   SUMMARY BAND (badge sus + row jos)
   ================================ */

.property-summary-band{
  position: static;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-areas:
    "badge"
    "row";
  gap: 12px;
}

/* scoatem hack-ul de overlap */
.property-summary-band::before{
  content: none;
}

/* badge sus, pe linia 1 (card separat) */
.summary-status-badge{
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fee2e2;
  color: #b91c1c;

  /* îl facem card alb în spate */
  justify-self: start;
  box-shadow: 0 0 0 0 transparent;
}

/* rândul de jos (card mare împărțit în 2 coloane) */
.summary-main-row{
  grid-area: row;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 16px;

  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
}

/* stânga */
.summary-left{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.summary-price{
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
}

.summary-address{
  font-size: 20px;
  color: #6b7280;
  line-height: 32px;
}

/* dreapta */
.summary-right{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.summary-stat{
  flex: 1;
  text-align: center;
}

.summary-stat-value{
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
}

.summary-stat-label{
  font-size: 20px;
  text-transform: none;
  letter-spacing: 0.08em;
  color: #9ca3af;
  line-height: 32px;
}

/* ================================
   AMENITIS
   ================================ */

.property-facts{
  padding: 12px 14px;
}

.facts-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fact-tile{
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
}

.fact-icon{
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}

.fact-icon svg{
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.fact-text{
  font-size: 14px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================
   DESCRIPTIONS (preview 3 lines + toggle)
   ================================ */

.property-description-lead{
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: #111827;
  margin: 0 0 10px;
}

.property-description-body{
  font-size: 0.98rem;
  line-height: 1.7;
  color: #374151;
}

.property-description .desc-short{
  margin: 0 0 10px 0;
}

/* container */
.desc-full{
  position: relative;
}

/* preview: 3 lines clamp */
.desc-full-inner{
  overflow: hidden;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* fade only when it can expand and it's not expanded */
.desc-full.can-expand:not(.is-open)::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3.2em;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--card, #fff));
}

/* expanded: show all */
.desc-full.is-open .desc-full-inner{
  display: block;
  overflow: visible;
}

.desc-toggle{
  margin-top: 10px;
}

/* ================================
   STATS
   ================================ */

.property-stats{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.property-stat{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.property-stat .k{ display:block; font-size:.78rem; color: var(--muted); }
.property-stat .v{ display:block; font-weight: 700; font-size: 1.05rem; margin-top: 4px; }

/* ================================
   MAIN LAYOUT – 2 COLUMNS
   ================================ */

.property-main {
  margin-top: 16px;
  padding-bottom: 40px;
}

.layout-2col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1.1fr);
  gap: 20px;
}

/* stânga */
.property-main-left {
  min-width: 0;
}

/* dreapta (sidebar sticky) */
.property-main-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 96px; /* sub nav sticky */
  align-self: flex-start;
}

/* ================================
   SECTIONS & CARDS
   ================================ */

.property-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.property-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* Descriere */
.property-section p {
  margin: 15px 0 8px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}

/* =========================
   Media shortcuts
   ========================= */

.property-media-shortcuts .media-shortcuts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-shortcut {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  font-size: 13px;
  background: #f9fafb;
  cursor: pointer;
}

.media-shortcut:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
}

/* =========================
   Virtual tour (page)
   ========================= */

.property-virtual-tour .virtual-tour-embed {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin-bottom: 8px;
}

.property-virtual-tour iframe {
  display: block;
  width: 100%;
  height: 420px;
}

.virtual-tour-link a {
  font-size: 13px;
  color: #2563eb;
}

/* =========================
   Photos grid (page)
   ========================= */

.property-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.property-photo {
  margin: 0;
}

.property-photo img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  height: 160px;
}

/* =========================
   STAGING
   ========================= */
/* Room staging cards grid
   - max 3 pe rând
   - dacă sunt 1-2, se întind și ocupă tot spațiul */
.property-section.property-room-staging .staging-cards-row {
    background-image: url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp), url(https://martestate.com/listings-app/public/icons/icons-ai-30.webp);
    background-size: 70%, 50%, 60%, 15%, 0%, 50%, 15%, 15%;
    background-position: center, left -20% top -30%, left -50% bottom -30%, left 20% bottom 85%, right 10% top 10%, right -23% bottom 60%, right 30% bottom -10%, right 20% top -30%;
    background-repeat: no-repeat;
}

.property-section.property-room-staging .staging-cards-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 50px;
  overflow: hidden;
  border: 1px solid #fdb3b3;
  border-radius: 16px;
}

/* Card: 3 coloane ca "bază", dar poate crește ca să umple rândul */
.property-section.property-room-staging .staging-card{
  flex: 1 1 calc((100% - 24px) / 3); /* 3 pe rând (2 gap-uri x 12px) */
  box-sizing: border-box;
  min-width: 0; /* important ca să nu împingă în dreapta */
}

.property-section.property-room-staging .staging-cards-row button{
  border: none;
  background: none;
  padding: 0;
}

/* Thumb / image: full width, fără să forțeze overflow */
.property-section.property-room-staging .staging-card-thumb{
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  transform-origin: center;
  box-shadow: 10px 10px 100px #a78b8b;
}

.property-section.property-room-staging .staging-card-thumb img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .18s ease;
}

.property-section.property-room-staging .staging-card:hover .staging-card-thumb{
  
}

.property-section.property-room-staging .staging-card:hover .staging-card-thumb img{
  transform: scale(1.03);
}

/* Optional: dacă ai texte lungi care pot împinge layout-ul */
.property-section.property-room-staging .staging-card-title,
.property-section.property-room-staging .staging-card-sub{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.property-section.property-room-staging .staging-card-meta {
  display: flex;
  gap: 10px;
  padding-left: 10px;
  padding-top: 5px;
}

/* Responsive: 2 coloane pe tabletă (se întind dacă sunt mai puține) */
@media (max-width: 900px){
  .property-section.property-room-staging .staging-card{
    flex: 1 1 calc((100% - 12px) / 2);
  }
}

/* Responsive: 1 coloană pe mobil */
@media (max-width: 520px){
  .property-section.property-room-staging .staging-card{
    flex: 1 1 100%;
  }
}


/* =========================
   MAP placeholder
   ========================= */

.property-map-placeholder{
  width: 100%;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* dacă vrei altă înălțime strict în map-section, poți păstra */
.property-map-section .property-map-placeholder{
  height: 260px; /* optional */
}

/* =========================
   Route tools
   ========================= */

.property-route-tools{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.property-route-tools .route-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.property-route-tools .route-input{
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.15);
  color: inherit;
}

.property-route-tools .route-select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.15);
  color: inherit;
}

.property-route-tools .route-result{
  margin-top: 10px;
  font-size: 0.95rem;
}

.property-route-tools .route-result .muted{
  opacity: .8;
}

/* =========================
   Autocomplete suggestions (route)
   ========================= */

.route-origin-wrap{
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
}

/* container */
.route-suggestions{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 9999;
}

/* list box */
.route-suggestions .route-suggestions-list{
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
}

/* items */
.route-suggestions .route-suggestion-item{
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95); /* ✅ FIX: text alb */
}

.route-suggestions .route-suggestion-item:last-child{
  border-bottom: 0;
}

.route-suggestions .route-suggestion-item:hover{
  background: rgba(255,255,255,0.08);
}

/* =========================
   Nearby education (modern UI) — 3 coloane egale
   ========================= */

.nearby-edu-card{
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

/* ✅ 3 coloane egale pe toată lățimea */
.nearby-edu-content{
  --edu-gap: 24px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--edu-gap);
  row-gap: 12px;
  align-items: start;

  /* 2 linii (între 3 coloane), centrate în gap */
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.14), rgba(0,0,0,0.14)),
    linear-gradient(to bottom, rgba(0,0,0,0.14), rgba(0,0,0,0.14));
  background-size: 1px 100%, 1px 100%;
  background-repeat: no-repeat;

  /* colWidth = (100% - 2*gap)/3
     line1 = colWidth + gap/2
     line2 = 2*colWidth + 3*gap/2
  */
  background-position:
    calc((100% - (2 * var(--edu-gap))) / 3 + (var(--edu-gap) / 2)) 0,
    calc((2 * (100% - (2 * var(--edu-gap))) / 3) + (3 * var(--edu-gap) / 2)) 0;
}

/* 2 coloane: o singură linie, centrată în gap */
@media (max-width: 980px){
  .nearby-edu-content{
    grid-template-columns: repeat(2, minmax(0, 1fr));

    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.14), rgba(0,0,0,0.14));
    background-size: 1px 100%;
    background-repeat: no-repeat;

    /* colWidth = (100% - gap)/2
       line = colWidth + gap/2
    */
    background-position:
      calc((100% - var(--edu-gap)) / 2 + (var(--edu-gap) / 2)) 0;
  }
}

/* 1 coloană: fără linii */
@media (max-width: 620px){
  .nearby-edu-content{
    grid-template-columns: 1fr;
    background-image: none;
  }
}

.nearby-edu-loading,
.nearby-edu-empty{
  padding: 10px 2px;
  opacity: .85;
}

/* group wrapper */
.nearby-edu-group{
  margin-top: 0;
  min-width: 0;
  padding: 0 20px;
}

.nearby-edu-group-head{
  display:flex;
  align-items: baseline;
  justify-content: space-evenly;
  gap:12px;
  margin: 0 0 10px;
}

.nearby-edu-group-title{
  font-weight: 750;
  letter-spacing: .01em;
  font-size: 14px;
  opacity: .95;
}

.nearby-edu-group-badge{
  font-size: 11px;
  opacity: .9;
  white-space: nowrap;
  color: var(--primary);
}

/* list + items */
.nearby-edu-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.nearby-edu-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 14px;

  /* ✅ white card */
  background: rgba(255,255,255,0.96);

  /* ✅ subtle bottom divider */
  border: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.10);

  /* ✅ smooth hover */
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.nearby-edu-item:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.10);

  /* ✅ fine shadow on hover */
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* ✅ ascundem items după preview limit */
.nearby-edu-item.is-hidden{
  display: none;
}

.nearby-edu-name{
  line-height: 1.2;
  text-align: start;
  word-break: break-word;
}

.nearby-edu-meta{
  width: 100%;
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
  white-space: nowrap;
  margin-top: 8px;
}

.nearby-edu-dist{
  font-size: 12px;
  opacity: .75;
}

/* map pill */
.nearby-edu-link{
  display:inline-flex;
  align-items:center;
  gap:6px;

  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  opacity: .95;
}

.nearby-edu-link:hover{
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.10);
}

.nearby-edu-link svg{
  width: 14px;
  height: 14px;
  opacity: .9;
}

/* View more button */
.nearby-edu-more{
  margin-top: 10px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;

  color: #111;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.nearby-edu-more:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* view more button */
.nearby-edu-more{
  margin-top: 10px;
  width: 100%;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding: 10px 12px;
  border-radius: 14px;

  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.10);

  font-size: 13px;
  font-weight: 600;
  cursor: pointer;

  transition: border-color .12s ease, background .12s ease, transform .12s ease;
}

.nearby-edu-more:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.14);
}

/* hidden rows */
.nearby-edu-item.is-hidden{ display:none; }

/* =========================
   SIDEBAR CARDS
   ========================= */

.property-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: none;
}

.page-property .property-card:hover,
.property-page .property-card:hover,
.page-property .tour-card:hover,
.property-page .tour-card:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* =========================
   Agent/Owner card (sidebar)
   ========================= */

.property-card.agent-card{
  position: relative;           /* pt badge absolute */
  padding-top: 34px;            /* spațiu sub "Listed by" */
  text-align: center;           /* avatar + texte centrate */
}

/* Listed by badge (colț stânga sus) */
.listed-by-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 400;
  color: #a1a1a1;
  background: rgba(243, 244, 246, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 10px;
}

/* Avatar */
.agent-card-avatar{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 6px auto 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-card-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Owner universal avatar (svg) */
.agent-card-avatar.owner-avatar svg{
  width: 34px;
  height: 34px;
  fill: #6b7280;
}

/* Text */
.agent-card-name{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.agent-card-agency{
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 14px;
}

/* Actions row */
.agent-card-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

/* card wrapper spacing (opțional) */
.property-card.whatsapp-card,
.property-card.tour-card{
  padding: 14px 16px;
}

/* “pill button” look */
.action-pill{
  width: 100%;
  border: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;

  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

/* icon */
.action-pill .pill-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-pill .pill-icon svg{
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* text */
.action-pill .pill-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.action-pill .pill-title{
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
}

.action-pill .pill-subtitle{
  font-size: 12.5px;
  opacity: .9;
  margin-top: 3px;
}

/* micro-hover DOAR pe butoanele (pills) */
.action-pill:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  filter: brightness(1.03);
}

/* click feel */
.action-pill:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.14);
  filter: brightness(1.0);
}

/* disabled whatsapp: fără hover */
.action-whatsapp.is-disabled:hover,
.action-whatsapp.is-disabled:active{
  transform: none;
  box-shadow: none;
  filter: none;
}

/* WhatsApp (verde) */
.action-whatsapp{
  background: #16a34a;
  color: #ffffff;
}

/* Request tour (roșu) */
.action-tour{
  background: #ef4444;
  color: #ffffff;
}

.action-tour .pill-icon{
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

/* disabled whatsapp */
.action-whatsapp.is-disabled{
  background: #9ca3af;
  cursor: not-allowed;
  opacity: .8;
}

/* fără hover shadow (rămâne fix) */
.action-pill:hover{
  transform: none;
}

/* ================================
   FEATURES
   ================================ */

.features-bullets{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.features-bullets li{ line-height: 1.35; }

.features-details{ margin-top: 14px; }

.features-kv{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.features-kv li{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.6);
}

.features-kv .k{ opacity: .72; }
.features-kv .v{ font-weight: 600; }

/* =========================
   Overview grid
   ========================= */

.overview-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 16px;
  padding: 14px;
  margin: 0;
  list-style: none;

  /* background fin sub tot grid */
  background: rgb(255 0 0 / 6%);
  border: 1px solid rgb(255 0 0 / 10%);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

/* item */
.overview-grid li{
  position: relative;
  display: flex;
  flex-direction: column;

  padding: 10px 12px 10px 14px; /* puțin mai mult la stânga */
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
  overflow: hidden;

  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

/* linia de accent */
.overview-grid li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.overview-grid li:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.16);
}

.overview-grid li:hover::before{
  background: rgba(255,255,255,0.38);
}

.overview-grid .label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 2px;
}

.overview-grid .value{
  font-size: 14px;
  font-weight: 500;
}

/* =========================
   Acordion agenție → agent
   ========================= */

.property-agents-accordion details {
  padding: 8px 50px 8px 20px;
}

/* Summary header */
.property-agents-accordion summary.agency-summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;     /* centrat vertical */
  gap: 12px;
  font-size: 14px;
  flex-wrap:nowrap;      /* nu permite rând nou */
  overflow:hidden; 
  border-bottom: 1px solid #e5e7eb;
}

.property-agents-accordion summary::-webkit-details-marker{
  display: none;
}

.agency-summary-left,
.agency-summary-center{
  min-width:0;
  overflow:hidden;
}

/* stânga */
.agency-summary-left{
  flex: 0 0 auto;
}
.agency-summary-agent-name{
  font-weight: 400;
  font-size: 16px;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* linie neagră continuă între blocuri */
.agency-summary-divider{
  flex: 1 1 auto;
  height: 1px;
  background: #111;        /* negru */
  opacity: 1;
}

/* mijloc: nume agenție + logo în același container */
.agency-summary-center{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;     /* centrat vertical */
  gap: 16px;
  min-width: 0;
}

.agency-summary-agency-name{
  font-size: 16px;
  font-weight: 600;
  color: #111;             /* negru */
  overflow:hidden;
  text-overflow:ellipsis;
}

.agency-summary-logo{
  width: auto;
  height: 30px;
  object-fit: contain;
  display: block;
  flex:0 0 auto;
}

/* dreapta: săgeată în cerc negru */
.agency-summary-right{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.agency-summary-arrow{
  color: #333;
  font-size: 45px;
  line-height: 0;
}

/* Body */
.agency-panel-body {
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
}

/* Rândul principal */
.agency-agent-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.agent-left {
  flex: 0 0 auto;
}

.agency-agent-avatar {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.agency-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mijloc: text */
.agent-main {
  flex: 1;
  min-width: 0;
}

.agent-main-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-main-name {
  font-size: 16px;
  font-weight: 600;
}

.agent-main-agency,
.agent-main-license {
  font-size: 13px;
  color: #6b7280;
}

.agent-main-reviews {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.agent-stars {
  color: #f97316; /* portocaliu/roșu pentru stele */
}

/* Dreapta: website + social */
.agent-right {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.agent-website-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff2f2;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #b91c1c;

  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  will-change: transform;
}

.agent-website-icon {
  font-size: 14px;
}

.agent-website-btn:hover{
  transform: translateY(-1px);
  background: #fecaca;          /* un pic mai “solid” */
  box-shadow: 0 10px 18px rgba(185, 28, 28, .18);
}

.agent-website-btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(185, 28, 28, .14);
}

.agent-website-btn:focus-visible{
  outline: 2px solid #b91c1c;
  outline-offset: 3px;
}

.agent-social-row {
  display: flex;
  gap: 8px;
}

.agent-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fee2e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b91c1c;

  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  will-change: transform;
}

.agent-social-icon svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;

  transition: transform .15s ease;
}

.agent-social-icon:hover{
  transform: translateY(-1px) scale(1.03);
  background: #fecaca;
  box-shadow: 0 10px 16px rgba(185, 28, 28, .18);
}

.agent-social-icon:active{
  transform: translateY(0) scale(1);
  box-shadow: 0 6px 12px rgba(185, 28, 28, .14);
}

.agent-social-icon:focus-visible{
  outline: 2px solid #b91c1c;
  outline-offset: 3px;
}

/* mic “pop” pe icon */
.agent-social-icon:hover svg{
  transform: scale(1.06);
}

/* descriere dedesubt */
.agency-agent-bio {
  margin-top: 12px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

/* ================================
   AGENT / CONTACT / TOUR MODAL (modern)
   ================================ */

.agent-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10050; /* peste conținutul property-lightbox */
}

.agent-modal-backdrop.is-open{
  display: flex;
}

/* card */
.agent-modal{
  position: relative;
  width: min(520px, 100vw - 32px);
  max-height: min(620px, 100vh - 32px);

  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(15, 23, 42, 0.46);

  padding: 18px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* close button (cerc discret) */
.agent-modal-close{
  position: absolute;
  top: 12px;
  right: 12px;

  width: 34px;
  height: 34px;
  border-radius: 999px;

  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(17,24,39,0.04);

  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: #4b5563;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.agent-modal-close:hover{
  transform: translateY(-1px);
  background: rgba(17,24,39,0.08);
  border-color: rgba(17,24,39,0.16);
  color: #111827;
}

.agent-modal-body{
  margin-top: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

/* panels: doar unul vizibil la un moment dat */
.agent-modal-panel{
  display: none;
}

.agent-modal-panel.is-active{
  display: block;
}

/* header (agent-info) */
.agent-modal-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(17,24,39,0.03);
  border: 1px solid rgba(17,24,39,0.06);
}

.agent-modal-avatar{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e5e7eb;
  border: 1px solid rgba(0,0,0,0.06);
  flex: 0 0 auto;
}

.agent-modal-header-text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.agent-modal-title{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 650;
  color: #111827;
  letter-spacing: .01em;
}

.agent-modal-subtitle{
  margin: 0;
  font-size: 13px;
  color: rgba(17,24,39,0.55);
}

/* helper text (contact/tour) */
.agent-modal-helper{
  font-size: 13px;
  color: rgba(17,24,39,0.62);
  margin: 6px 0 14px;
  line-height: 1.35;
}

/* meta list (agent-info) */
.agent-modal-meta{
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.agent-modal-meta > div{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: baseline;

  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(17,24,39,0.08);
}

.agent-modal-meta dt{
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(17,24,39,0.45);
}

.agent-modal-meta dd{
  margin: 0;
  font-size: 14px;
  color: #111827;
  word-break: break-word;
}

/* --------------------------------
   FORMS (Contact + Tour) modern UI
   -------------------------------- */

.agent-modal-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* inputs (soft) */
.agent-modal-form input,
.agent-modal-form textarea,
.agent-modal-form select{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.14);
  background: rgba(255,255,255,0.96);
  padding: 12px 12px;
  font-size: 14px;
  color: #111827;

  transition: box-shadow .14s ease, border-color .14s ease, transform .12s ease;
}

.agent-modal-form textarea{
  resize: vertical;
  min-height: 96px;
}

.agent-modal-form input::placeholder,
.agent-modal-form textarea::placeholder{
  color: rgba(17,24,39,0.45);
}

/* focus ring */
.agent-modal-form input:focus,
.agent-modal-form textarea:focus,
.agent-modal-form select:focus{
  outline: none;
  border-color: rgba(17,24,39,0.28);
  box-shadow: 0 0 0 4px rgba(17,24,39,0.08);
}

/* labels */
.agent-modal-label{
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: rgba(17,24,39,0.60);
  gap: 6px;
}

.agent-modal-label input{
  font-size: 14px;
}

/* Tour: pune date/time pe 2 coloane dacă ai wrapper (opțional) */
.agent-form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 520px){
  .agent-form-row{
    grid-template-columns: 1fr;
  }
}

/* buttons inside forms (full width, premium feel) */
.agent-modal-form .btn-primary.btn-grow,
.agent-modal-form .btn-secondary.btn-grow{
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 650;
  letter-spacing: .01em;

  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.agent-modal-form .btn-primary.btn-grow:hover,
.agent-modal-form .btn-secondary.btn-grow:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(17,24,39,0.12);
}

.agent-modal-form .btn-primary.btn-grow:active,
.agent-modal-form .btn-secondary.btn-grow:active{
  transform: translateY(0);
  box-shadow: none;
}

.agent-hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ================================
   MEDIA LIGHTBOX
   ================================ */

.property-lightbox-backdrop { z-index: 20000; }
.media-lightbox { z-index: 30000; }

/* Virtual tour click -> să prindem click pe container, nu în iframe */
.virtual-tour-embed { cursor: pointer; }
.virtual-tour-embed iframe { pointer-events: none; }

/* ===== MEDIA LIGHTBOX: FULLSCREEN SHELL ===== */

body.has-media-lightbox{
  overflow: hidden; /* oprește scroll pe pagină când e deschis */
}

.media-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30000;
}

.media-lightbox.is-open{
  display: block;
}

.media-lightbox-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

/* ✅ fullscreen: exact cât ecranul */
.media-shell{
  /* lățimea sidebar-ului (trebuie să coincidă cu .media-sidebar) */
  --media-sidebar-w: 480px;

  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0b1220;
}

/* =========================
   HEADER (GRID: left | center | right)
   + center aliniat pe media-main
   ========================= */

.media-header{
  height: 52px;
  flex: 0 0 52px;
  background: rgba(255,255,255,.06);

  /* ✅ GRID pentru layout stabil */
  display: grid;
  grid-template-columns: auto 1fr auto; /* left | center | right */
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

/* LEFT */
.media-header-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* CENTER */
.media-header-center{
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;       /* vertical */
  justify-content: center;   /* orizontal */
}

/* RIGHT = rezervăm exact cât sidebar-ul (ca să nu “tragă” centrul) */
.media-header-right{
  width: var(--media-sidebar-w);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

/* opțional: close btn mai “curat” */
.media-close{
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: xxx-large;
  line-height: 0;
}

.media-close:hover{
  background: rgba(0,0,0,.38);
  border-color: rgba(255,255,255,.22);
}

/* =========================
   HEADER RIGHT ACTIONS (Save / Share)
   ========================= */

/* containerul din header-right */
.media-header-right,
.media-lightbox [data-media-actions]{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
}

/* stil “pill” pentru butoanele din dreapta */
.media-lightbox [data-media-actions] .btn-hollow.btn-sm,
.media-lightbox [data-media-actions] button[data-media-action]{
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.media-lightbox [data-media-actions] .btn-hollow.btn-sm:hover,
.media-lightbox [data-media-actions] button[data-media-action]:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.media-lightbox [data-media-actions] .btn-hollow.btn-sm:active,
.media-lightbox [data-media-actions] button[data-media-action]:active{
  transform: translateY(0);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.20);
  box-shadow: none;
}

/* “Saved” (aria-pressed) – devine accent */
.media-lightbox [data-media-actions] button[data-media-action="save"][aria-pressed="true"]{
  background: rgba(37,99,235,.22);
  border-color: rgba(37,99,235,.55);
  color: #fff;
}

/* focus accesibil */
.media-lightbox [data-media-actions] .btn-hollow.btn-sm:focus-visible,
.media-lightbox [data-media-actions] button[data-media-action]:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.28);
  border-color: rgba(37,99,235,.60);
}

/* opțional: buton “Share” puțin diferit */
.media-lightbox [data-media-actions] button[data-media-action="share"]{
  background: rgba(0,0,0,.22);
}
.media-lightbox [data-media-actions] button[data-media-action="share"]:hover{
  background: rgba(0,0,0,.32);
}

/* =========================
   BODY
   ========================= */

.media-body{
  flex: 1 1 auto;
  min-height: 0; /* IMPORTANT pentru scroll intern */
  display: flex;
}

.media-main{
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.media-sidebar{
  width: var(--media-sidebar-w);
  flex: 0 0 var(--media-sidebar-w);
  background: rgba(255,255,255,.04);
  overflow: auto;
}

/* =========================
   MEDIA LIGHTBOX FOOTER – PRO UI
   ========================= */

.media-footer{
  height: 104px;
  flex: 0 0 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;

  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
}

/* left / center / right */
.media-footer [data-media-footer-left]{
  flex: 0 0 auto;
  min-width: 0;
}

.media-footer [data-media-footer-center]{
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;

  /* ✅ mută cluster-ul mai spre dreapta (spre sidebar), dar păstrează alinierea peste media-main */
  justify-content: flex-end;
  padding-right: calc(var(--media-sidebar-w) - 100px);
}

.media-footer [data-media-footer-right]{
  flex: 0 0 var(--media-sidebar-w);
  width: var(--media-sidebar-w);
  height: 100%;
  display: flex;
  align-items: center;

  /* ✅ mai centrat pe zona sidebar */
  justify-content: center;
}

/* =========================
   LEFT: title + badge inline
   ========================= */

.media-footer-left-wrap{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.media-footer-title-row{
  display: flex;
  align-items: center;     /* ✅ badge la mijlocul titlului */
  gap: 14px;               /* ✅ “puțin mai depărtat” */
  min-width: 0;
}

.media-footer-title{
  font-weight: 650;
  font-size: 13px;
  opacity: .95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
  min-width: 0;
}

.media-footer-deal-badge{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
}

/* =========================
   CENTER: contact row
   ========================= */

.media-footer-contact{
  display: inline-flex;
  align-items: center;
  gap: 18px;               /* ✅ distanță mai mare între avatar / telefon / whatsapp */
  min-width: 0;
  max-width: 100%;
}

.media-contact-avatar{
  width: 42px;             /* ✅ avatar mai mare */
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  overflow: hidden;
  flex: 0 0 42px;
  display: block;
  object-fit: cover;
}

.media-contact-name{
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
  min-width: 0;
}

.media-contact-phone{
  white-space: nowrap;
  color: rgba(255,255,255,.70);     /* ✅ gri deschis, nu albastru */
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .2px;
}

.media-contact-phone:hover{
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WhatsApp */
.media-contact-wa{
  padding: 4px 16px;
  border-radius: 999px;
  border: 2px solid #25D366;     /* ✅ border verde */
  background: transparent;        /* ✅ fără background */
  color: #ffffff;                 /* text verde */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background .12s ease, color .12s ease;
}

.media-contact-wa:hover{
  transform: translateY(-1px);
  background: rgba(37, 211, 102, .10); /* subtil pe hover */
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.media-contact-wa:active{
  transform: translateY(0);
}

/* =========================
   RIGHT: price + rooms + area
   ========================= */

.media-footer-stats{
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  white-space: nowrap;
}

.media-stat-price{
  font-size: 24px;         /* ✅ caractere mai mari */
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.98);
}

.media-price-currency{
  font-size: 14px;         /* ✅ ₪ mai estompat */
  font-weight: 800;
  opacity: .60;
  margin-left: 4px;
}

.media-stat-row{
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.media-stat-chip{
  font-size: 16px;         /* ✅ mare */
  font-weight: 750;
  color: rgba(255,255,255,.92);
}

/* separatori "•" între rooms și area */
.media-stat-chip:not(:last-child)::after{
  content: "•";
  opacity: .45;
  margin: 0 12px;
}

/* =========================
   MAIN NAV (prev/next)
   ========================= */

.media-nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.media-nav-btn:hover{
  background: rgba(0,0,0,.55);
}

.media-nav-btn.is-prev{ left: 14px; }
.media-nav-btn.is-next{ right: 14px; }

/* counter */
.media-main-counter{
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  z-index: 6;
}

/* =========================
   HEADER CENTER CONTENT (chips / hints)
   ========================= */

/* tabs container din markup (media-header-center) */
.media-lightbox .media-header [data-media-tabs]{
  display: flex !important;   /* ✅ arată */
  align-items: center;        /* ✅ vertical */
  justify-content: center;    /* ✅ orizontal */
  height: 100%;
  width: 100%;
}

/* chips wrapper */
.media-header-groups{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* chip */
.media-chip{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.media-chip:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
}

.media-chip.is-active{
  background: rgba(37,99,235,.22);
  border-color: rgba(37,99,235,.55);
}

/* hint boxes (tour/video/floorplans) */
.media-header-hint{
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.media-hint-title{
  font-weight: 600;
  font-size: .95rem;
  opacity: .95;
}

.media-hint-text{
  font-size: .88rem;
  opacity: .8;
}

.media-header-only-title{
  font-weight: 650;
  font-size: .9rem;
  line-height: 1.1;
  padding: 6px 12px;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   MEDIA SIDEBAR (top + bottom fixed desc)
   ========================= */

.media-sidebar-inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ✅ fără scroll aici (ca să nu se miște preview-urile) */
.media-sidebar-top{
  flex: 1.6;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* jos: descriere fixă */
.media-sidebar-desc{
  flex: 0.4;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 12px 12px 14px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  color: rgb(255 255 255 / 66%);
  overflow-y: auto;
}

.media-sidebar-desc-title{
  font-weight: 600;
  font-size: 13px;
  opacity: .9;
  margin: 0 0 6px;
}

.media-sidebar-desc-text{
  font-size: 13px;
  line-height: 1.35;
  opacity: .88;
  margin: 0;
  max-height: 140px;
  overflow: auto;
}

/* =========================
   Sidebar preview tabs (Photos / Tour / Floorplans / Video)
   ========================= */

.media-sidebar-previews{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 14vh;           /* spațiul din jurul “cardurilor” */
}

/* butonul mare (card) */
.media-side-tab{
  --tab-h: clamp(150px, 21vh, 210px);; /* ✅ “fix dar responsiv” */

  width: 100%;
  /*height: var(--tab-h); */

  display: grid;
  grid-template-rows: 34px 1fr;       /* header + preview */
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);

  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: rgba(255,255,255,.92);
}

.media-side-tab:hover{
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
}

.media-side-tab.is-active{
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 2px rgba(255,255,255,.10) inset;
}

/* bara cu titlul (Photos / Virtual tour / ...) */
.media-side-tab-head{
  display: flex;
  align-items: center;
  justify-content: center; /* ca în screenshot, titlul centrat */
  font-weight: 600;
  font-size: 13px;

  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* zona de preview (unde intră grid/iframe) */
.media-side-tab-preview{
  padding: 10px;                 /* spațiu intern ca în poză */
  height: 14vh;
  overflow: hidden;              /* ✅ fără scroll */
  display: block;
}

/* =========================
   Mini grid / thumbs (unificat: păstrează efectul final al cascadelor)
   ========================= */

.media-mini-grid{
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
  align-content: start;
}

.media-mini-thumb{
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  cursor: pointer;

  /* ca să NU se întindă în celula 1fr */
  justify-self: center;
  align-self: center;
}

/* stare activă (opțional) */
.media-mini-thumb.is-active{
  border-color: rgba(255,255,255,.35);
  outline: 2px solid rgba(255,255,255,.18);
  outline-offset: 2px;
}

.media-mini-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Preview iframe (tour/video)
   ========================= */

.media-mini-frame{
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);

  aspect-ratio: var(--preview-ar, 16 / 9);
  background: rgba(255,255,255,.06); /* nu mai vezi negrul ca fundal */
  position: relative;
}

.media-mini-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

/* COVER mode: umple, elimină „black bars” (cu crop) */
.media-mini-frame.is-cover iframe{
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(1.18); /* ajustezi 1.10–1.35 */
  width: 120%;
  height: 120%;
}

/* =========================
   Mortgage calculator (property page)
   ========================= */

.property-mortgage .mortgage-card{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.mortgage-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.mortgage-row{
  display:flex;
  gap: 12px;
  margin-bottom: 12px;
}

.mortgage-label{
  display:flex;
  flex-direction:column;
  gap: 6px;
  flex: 1 1 220px;
  font-size: 13px;
  font-weight: 600;
}

.mortgage-label-wide{ flex: 1 1 100%; }

.mortgage-input, .mortgage-select{
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.mortgage-input:focus, .mortgage-select:focus{
  border-color: rgba(0,0,0,0.25);
}

.mortgage-results{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  padding: 12px;
}

.mg-kpi{ padding: 10px 8px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.mg-kpi:last-child{ border-bottom: 0; }
.mg-k{ font-size: 12px; opacity: .75; }
.mg-v{ font-size: 18px; font-weight: 700; margin-top: 2px; }
.mg-v-strong{ font-size: 22px; }

.mg-warn{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 153, 0, 0.35);
  background: rgba(255, 153, 0, 0.10);
  font-size: 13px;
}

.mortgage-hint{
  font-size: 13px;
  opacity: .8;
  margin-top: -4px;
}

/* =======================
   MOBILE AGENT BOTTOM BAR
   ======================= */

/* doar mobil */
@media (min-width: 901px){
  .mobile-agent-bar{ display:none !important; }
}

.mobile-agent-bar{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1200;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 10px 10px;
  border-radius: 18px;

  /* fundal “glass” */
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(0,0,0,0.08);

  /* dropshadow numai jos + blur subțire dedesubt */
  box-shadow:
    0 10px 24px rgba(0,0,0,0.16);

  /* ascuns by default */
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}

/* “blur subțire dedesubt” ca un glow/soft haze */
.mobile-agent-bar::after{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: -10px;
  height: 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.16);
  filter: blur(10px);
  opacity: 0.22;
  pointer-events:none;
}

/* vizibil */
.mobile-agent-bar.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mab-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.mab-avatar{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  overflow:hidden;
  background: rgba(0,0,0,0.06);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}
.mab-avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.mab-avatar svg{
  width: 20px;
  height: 20px;
  fill: rgba(0,0,0,0.65);
}

.mab-meta{
  min-width:0;
}
.mab-name{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  color: #111;
  max-width: 44vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mab-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}

.mab-icbtn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.92);
  display:grid;
  place-items:center;
  padding:0;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.mab-icbtn svg{
  width: 20px;
  height: 20px;
  fill: #111;
}
.mab-icbtn:active{ transform: scale(0.98); }

.mab-icbtn:hover{
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  background: rgba(255,255,255,1);
}

.mab-icbtn-link{
  text-decoration:none;
}

.mab-icbtn.is-disabled,
.mab-icbtn-link.is-disabled{
  opacity: .45;
  pointer-events: none;
}


/* ================================
   LAPTOP (WIDE + SHORT HEIGHT) OVERRIDES
   ================================ */
   
@media (max-height: 900px) and (min-width: 1200px){
  .property-hero-media {
    max-width: 1050px;
    margin: 0 auto;
    height: 470px;
  }
  
  .media-sidebar-top {
    flex: 1.7;
  }
  
  .media-sidebar-desc{
    font-size: small;
	flex: 0.30;
  }
  
  .media-sidebar-previews {
    padding: 20px 20vh;
  }
  
  .media-side-tab-preview {
    height: 13vh;
  }
  
  .media-mini-grid {
    gap: 5px;
  }
  
  .media-mini-thumb {
    width: 34px;
    height: 34px;
    border-radius: 6px;
  }
  
  .media-header {
    display: flex;
  }
  
  .media-lightbox .media-header [data-media-tabs] {
    flex: 1.5;
  }
  
  .media-header-right, .media-lightbox [data-media-actions] {
    flex: 0.5;
  }
}

@media (max-height: 700px) and (min-width: 1200px){
  .property-hero-media {
    max-width: 900px;
    margin: 0 auto;
    height: 350px;
  }
  
  .nearby-edu-group {
    padding: 0;
  }
  
  .mortgage-grid {
    grid-template-columns: 1.4fr .6fr;
  }
  
  .overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .media-sidebar-previews {
    padding: 20px;
    flex-direction: row;
  }
  
  .media-mini-thumb {
    width: 24px;
    height: 24px;
    border-radius: 3px;
  }
  
  .media-sidebar-top {
    flex: 1.4;
  }
  
  .media-sidebar-desc{
	flex: 0.60;
	font-size: small;
  }
}


/* ================================
   MOBILE OVERRIDES
   ================================ */

/* =========================
   <= 1024
   ========================= */
@media (max-width: 1024px){
  .summary-main-row{ grid-template-columns: 1.6fr 1.2fr; }
  .property-hero-media{ height: 360px; }

  .layout-2col{ grid-template-columns: 1fr; }
  .property-main-left{ grid-row: 1; }
  .property-main-right{ grid-row: 2; }

  .facts-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================
   <= 980 (media lightbox)
   ========================= */
@media (max-width: 980px){
  .media-footer [data-media-footer-center]{ padding-right: 0; justify-content: flex-end; }
  .media-footer [data-media-footer-right]{ width: auto; flex: 0 0 auto; justify-content: flex-end; }

  .media-shell{ --media-sidebar-w: 0px; }
  .media-header-center{ padding-right: 0; }
  .media-header-right{ width: auto; }
}

/* =========================
   <= 820
   ========================= */
@media (max-width: 820px){
  .property-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mortgage-grid{ grid-template-columns: 1fr; }
}

/* =========================
   <= 768
   ========================= */
@media (max-width: 768px){
  .summary-main-row{ grid-template-columns: 1fr; }
  .summary-right{ justify-content: flex-start; }
  .summary-stat { text-align: left; }
  .summary-price, .summary-stat-value{ font-size: 26px; }
  .summary-address, .summary-stat-label{ font-size: 18px; }
  .agency-summary-left{ flex: 0 1 20%; }
  .agency-summary-center{ flex:1 1 60%; }
  .agency-summary-divider{ flex:1 1 5%; }
  .property-agents-accordion summary.agency-summary{ border-bottom: 1px solid #e5e7eb; padding-bottom: 5px;}

  .property-top-nav{ padding-inline: 12px; flex-direction: column-reverse; align-items: flex-start; gap: 10px; height: 96px; }
  .property-top-nav.is-light{ height: 104px; gap: 5px; box-shadow: 0 10px 14px -10px rgba(0,0,0,0.25);}
  .property-nav-tab{ font-size: 12px; margin-bottom: 14px;}
  .property-top-nav-center{ overflow-x: auto; justify-content: flex-start; width: 90vw; }
  .property-top-nav-right{ width: 80vw; justify-content: flex-end; padding-top: 6px; height: 30px;}
  .property-top-nav-right .btn-hollow.btn-sm{ font-size: 12px; }
  .property-top-nav-left{ padding-bottom: 5px; }
  .property-lightbox.is-light .property-lightbox-close{ color:#000; z-index: 999999; }
  .layout-2col{ grid-template-columns: 1fr; }

  .property-main-right{ position: static; order: -1; }
	
  .media-header{  }
  .media-lightbox .media-header [data-media-tabs]{ position: absolute; top: 40px; height: 52px; padding-right: 20px; overflow-x: auto; justify-content: flex-start; z-index: 999;}
  .media-header-groups{ flex-wrap: nowrap; }
  
  .media-shell{ --media-sidebar-w: auto; }
  .media-body{ flex-direction: column; }
  .media-main{ flex: 1; margin-top: 60px; }
  .media-sidebar{ flex: 1; }
  .media-sidebar-inner{ justify-content: space-between; }
  .media-sidebar-top{ flex: 1.5; }
  .media-sidebar-desc{ flex: 0.5; overflow-y: auto; }
  .media-sidebar-previews{ flex-direction: row; padding: 20px 20px; overflow-x: auto; }
  .media-side-tab-preview{ height: auto; }
  .media-mini-grid{ height: 30px; } 
  .media-sidebar-desc{ font-size: small; }
  .media-mini-grid{ grid-template-columns: repeat(3, minmax(0px, 1fr)); }
  .media-mini-thumb{ width: 20px; height: 20px; border-radius: 6px;}
  .media-mini-frame{ border-radius: 6px;}
  .media-footer-left-wrap, .media-footer [data-media-footer-right]{ display: none; }
	

  .property-hero-agent-badge{ position:absolute; right: 16px; bottom: 16px; z-index: 999;}
  .property-hero-media{ height: 60vh; }
  .property-virtual-tour iframe{ height: 260px; }
  .property-section{ padding: 0;}
  .property-agents-accordion details{ padding: 0;}
  .agency-summary-agency-name{ font-size: 14px;}
  .agency-agent-row{ align-items: flex-start; }
  .agent-right{ align-items: flex-start; }
  .agent-left, .agent-main, .agent-right{ flex: auto; }
  .agency-agent-avatar{ width: 70px; height: 70px; }
  .agent-website-btn{ padding: 4px 10px; }
  .mortgage-row{ flex-direction: column; }
  .mortgage-label{ flex: auto; }
  .nearby-edu-card { padding: 14px; border-radius: 16px; border: 1px solid rgba(0, 0, 0, 0.08); background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);}
  .property-section.property-room-staging .staging-cards-row { padding: 10px 50px 20px 50px; }
}

/* =========================
   <= 720
   ========================= */
@media (max-width: 720px){
  .media-footer-title{ max-width: 220px; }
  .media-contact-phone{ display:none; }
  .media-footer-stats{ gap: 12px; }
  .media-stat-price{ font-size: 17px; }
  .media-stat-chip{ font-size: 15px; }
}

/* =========================
   <= 640
   ========================= */
@media (max-width: 640px){
  .facts-grid{ grid-template-columns: 1fr; }

  .agent-modal{
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .agent-modal-body{ flex: 1; }
}

/* =========================
   <= 420
   ========================= */
@media (max-width: 420px){
  .agent-card-actions{ grid-template-columns: 1fr; }
}

