/* ==========================================================
   MOBILE ONLY — Plot Details Section Toggles
   Completely isolated from desktop presentation.
   ========================================================== */

/* Desktop: these helpers have zero visual impact on the reference layout. */
.mobile-price-head,
.mobile-whatsapp-head,
.mobile-section-toggle{
  display:none;
}
.mobile-price-content,
.mobile-whatsapp-content{
  display:contents;
}
.mobile-whatsapp-container{
  display:contents;
}

@media (max-width:800px){
  /* ---------- Price / total section ---------- */
  body.public-map .plot-info .price-box{
    overflow:hidden!important;
    padding:0!important;
  }

  body.public-map .plot-info .mobile-price-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:54px!important;
    padding:7px 9px!important;
    box-sizing:border-box!important;
    direction:rtl!important;
    border-bottom:1px solid rgba(15,118,110,.10)!important;
  }

  body.public-map .plot-info .mobile-price-head > span{
    color:#172033!important;
    font-size:16px!important;
    font-weight:900!important;
  }

  body.public-map .plot-info .mobile-price-content{
    display:block!important;
    max-height:300px!important;
    opacity:1!important;
    overflow:hidden!important;
    transition:max-height .28s ease,opacity .2s ease,padding .28s ease!important;
  }

  body.public-map .plot-info .price-box.is-collapsed .mobile-price-content{
    max-height:0!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  /* ---------- WhatsApp-only section ---------- */
  body.public-map .plot-info .plot-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }

  body.public-map .plot-info .mobile-whatsapp-container{
    display:block!important;
    width:100%!important;
    overflow:hidden!important;
    border:1px solid rgba(37,211,102,.18)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.74)!important;
  }

  body.public-map .plot-info .mobile-whatsapp-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:54px!important;
    padding:7px 9px!important;
    box-sizing:border-box!important;
    direction:rtl!important;
    background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(255,255,255,.88))!important;
    border-bottom:1px solid rgba(37,211,102,.10)!important;
  }

  body.public-map .plot-info .mobile-whatsapp-head > span{
    color:#172033!important;
    font-size:16px!important;
    font-weight:900!important;
  }

  body.public-map .plot-info .mobile-whatsapp-content{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    padding:8px!important;
    max-height:180px!important;
    opacity:1!important;
    overflow:hidden!important;
    transition:max-height .28s ease,opacity .2s ease,padding .28s ease!important;
  }

  body.public-map .plot-info .mobile-whatsapp-container.is-collapsed .mobile-whatsapp-content{
    max-height:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  body.public-map .plot-info .mobile-whatsapp-content .whatsapp-btn{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }

  body.public-map .plot-info .plot-actions > .reserve-btn{
    width:100%!important;
    flex:0 0 auto!important;
  }

  /* Shared mobile-only toggle button. */
  body.public-map .plot-info .mobile-section-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:rgba(15,118,110,.09)!important;
    color:#0f766e!important;
    box-shadow:none!important;
    cursor:pointer!important;
    font-size:0!important;
    line-height:1!important;
  }

  body.public-map .plot-info .mobile-whatsapp-head .mobile-section-toggle{
    color:#16a34a!important;
    background:rgba(37,211,102,.11)!important;
  }

  body.public-map .plot-info .mobile-section-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transition:transform .22s ease!important;
  }

  body.public-map .plot-info .price-box:not(.is-collapsed) .mobile-section-toggle span,
  body.public-map .plot-info .mobile-whatsapp-container:not(.is-collapsed) .mobile-section-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }
}

@media (max-width:430px){
  body.public-map .plot-info .mobile-price-head > span,
  body.public-map .plot-info .mobile-whatsapp-head > span{
    font-size:15px!important;
  }
}

/* ==========================================================
   MOBILE FIX — Price details layout
   Keep the toggle header full width, and the three values in
   one horizontal row. Desktop is completely untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .price-box{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
  }

  body.public-map .plot-info .price-box .mobile-price-head{
    display:flex!important;
    width:100%!important;
    box-sizing:border-box!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    width:100%!important;
    max-height:300px!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .info-row,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final{
    min-width:0!important;
    min-height:92px!important;
    margin:0!important;
    padding:11px 6px 9px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    text-align:center!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content > * + *{
    border-inline-start:1px dashed #b8c1cc!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .info-row span,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final span{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:900!important;
    white-space:nowrap!important;
    text-align:center!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .info-row b,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b{
    min-width:0!important;
    width:100%!important;
    margin:3px 0 0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:2px!important;
    font-size:19px!important;
    line-height:1.1!important;
    font-weight:900!important;
    direction:ltr!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .value-number{
    order:1!important;
    display:block!important;
    font-size:inherit!important;
    line-height:1.1!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .value-unit{
    order:2!important;
    display:block!important;
    margin:2px 0 0!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
  }

  /* Keep the final total in the project's green accent. */
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final span,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final .value-number,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final .value-unit{
    color:#16a34a!important;
  }
}

/* ==========================================================
   MOBILE FINAL — Unified collapsible sections
   Price details / Purchase accounting / WhatsApp use the same
   header + circular toggle. Desktop remains untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .price-box,
  body.public-map .plot-info .purchase-box,
  body.public-map .plot-info .mobile-whatsapp-container{
    width:100%!important;
    box-sizing:border-box!important;
    border-radius:15px!important;
    overflow:hidden!important;
  }

  /* Same compact header for all three sections. */
  body.public-map .plot-info .mobile-price-head,
  body.public-map .plot-info .purchase-head,
  body.public-map .plot-info .mobile-whatsapp-head{
    min-height:54px!important;
    height:54px!important;
    margin:0!important;
    padding:7px 9px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    direction:rtl!important;
  }

  body.public-map .plot-info .mobile-price-head > span,
  body.public-map .plot-info .purchase-head h3,
  body.public-map .plot-info .mobile-whatsapp-head > span{
    margin:0!important;
    padding:0!important;
    color:#172033!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:900!important;
  }

  /* Identical circular toggle button. */
  body.public-map .plot-info .mobile-section-toggle,
  body.public-map .plot-info .purchase-toggle{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(15,118,110,.09)!important;
    color:#0f766e!important;
    box-shadow:none!important;
    font-size:0!important;
    line-height:1!important;
  }

  body.public-map .plot-info .purchase-head-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    direction:ltr!important;
  }

  body.public-map .plot-info .purchase-percent-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    height:30px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
  }

  body.public-map .plot-info .mobile-section-toggle span,
  body.public-map .plot-info .purchase-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transition:transform .22s ease!important;
  }

  body.public-map .plot-info .price-box:not(.is-collapsed) .mobile-section-toggle span,
  body.public-map .plot-info .mobile-whatsapp-container:not(.is-collapsed) .mobile-section-toggle span,
  body.public-map .plot-info .purchase-box:not(.is-collapsed) .purchase-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }

  /* Open price details: exactly three equal columns like the reference image. */
  body.public-map .plot-info .price-box .mobile-price-content{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    max-height:300px!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content > *{
    min-width:0!important;
    min-height:92px!important;
    margin:0!important;
    padding:11px 6px 9px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    text-align:center!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content > * + *{
    border-inline-start:1px dashed #b8c1cc!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .info-row span,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final span{
    display:block!important;
    width:100%!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:900!important;
    color:#667085!important;
    white-space:nowrap!important;
    text-align:center!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .info-row b,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b{
    min-width:0!important;
    width:100%!important;
    margin:3px 0 0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:2px!important;
    font-size:24px!important;
    line-height:1.1!important;
    font-weight:900!important;
    direction:ltr!important;
    text-align:center!important;
    white-space:nowrap!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .value-number{
    display:block!important;
    order:1!important;
    line-height:1.1!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .value-unit{
    display:block!important;
    order:2!important;
    margin:2px 0 0!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
    color:#667085!important;
  }

  body.public-map .plot-info .price-box .mobile-price-content .price-row.final span,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final .value-number,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final .value-unit{
    color:#16a34a!important;
  }

  /* All three sections start closed. */
  body.public-map .plot-info .price-box.is-collapsed .mobile-price-content,
  body.public-map .plot-info .purchase-box.is-collapsed .purchase-calculator-content,
  body.public-map .plot-info .mobile-whatsapp-container.is-collapsed .mobile-whatsapp-content{
    max-height:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  /* Purchase + WhatsApp contents use the same collapsed-section behavior. */
  body.public-map .plot-info .purchase-calculator-content{
    max-height:500px!important;
    overflow:hidden!important;
    transition:max-height .28s ease,opacity .22s ease,padding .28s ease!important;
  }

  body.public-map .plot-info .mobile-whatsapp-content{
    max-height:180px!important;
    overflow:hidden!important;
    transition:max-height .28s ease,opacity .22s ease,padding .28s ease!important;
  }
}


/* ==========================================================
   MOBILE FINAL — Purchase Accounting toggle matches the same
   compact section-button language used by Price Details/WhatsApp.
   Desktop remains completely untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .purchase-box{
    width:100%!important;
    margin-top:10px!important;
    padding:0!important;
    border:1px solid rgba(15,118,110,.16)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.74)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:54px!important;
    height:54px!important;
    margin:0!important;
    padding:7px 9px!important;
    box-sizing:border-box!important;
    direction:rtl!important;
    background:linear-gradient(135deg,rgba(240,253,250,.80),rgba(255,255,255,.92))!important;
    border:0!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head h3{
    margin:0!important;
    padding:0!important;
    color:#172033!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head-actions{
    display:flex!important;
    align-items:center!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
    direction:ltr!important;
  }

  body.public-map .plot-info .purchase-box .purchase-toggle{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(15,118,110,.09)!important;
    color:#0f766e!important;
    box-shadow:none!important;
    cursor:pointer!important;
    font-size:0!important;
    line-height:1!important;
  }

  body.public-map .plot-info .purchase-box .purchase-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    margin:0!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transition:transform .22s ease!important;
  }

  body.public-map .plot-info .purchase-box:not(.is-collapsed) .purchase-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }

  /* One step larger for price labels, values and units. */
  body.public-map .plot-info .price-box .mobile-price-content .info-row span,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final span{
    font-size:13px!important;
  }
  body.public-map .plot-info .price-box .mobile-price-content .info-row b,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b{
    font-size:21px!important;
  }
  body.public-map .plot-info .price-box .mobile-price-content .info-row b .value-unit,
  body.public-map .plot-info .price-box .mobile-price-content .price-row.final b .value-unit{
    font-size:13px!important;
  }
}

/* ==========================================================
   MOBILE FINAL — Close + Purchase controls unified with WhatsApp
   Mobile only. Desktop styles and behavior remain untouched.
   ========================================================== */
@media (max-width:800px){
  /* Plot-details close button: same circular control language. */
  body.public-map .plot-info .plot-info-head #closeInfo{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(15,118,110,.09)!important;
    color:#0f766e!important;
    box-shadow:none!important;
    font-size:22px!important;
    font-weight:500!important;
    line-height:1!important;
    cursor:pointer!important;
  }

  body.public-map .plot-info .plot-info-head #closeInfo:hover,
  body.public-map .plot-info .plot-info-head #closeInfo:focus-visible{
    background:rgba(15,118,110,.14)!important;
    color:#0f766e!important;
    outline:none!important;
  }

  /* Purchase accounting: exactly the same mobile header/control language as WhatsApp. */
  body.public-map .plot-info .purchase-box{
    border:1px solid rgba(37,211,102,.18)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.74)!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head{
    min-height:54px!important;
    height:54px!important;
    padding:7px 9px!important;
    border:0!important;
    border-bottom:1px solid rgba(37,211,102,.10)!important;
    background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(255,255,255,.88))!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head h3{
    color:#172033!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:900!important;
  }

  body.public-map .plot-info .purchase-box .purchase-head-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    direction:ltr!important;
  }

  body.public-map .plot-info .purchase-box .purchase-toggle{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(37,211,102,.11)!important;
    color:#16a34a!important;
    box-shadow:none!important;
    font-size:0!important;
    line-height:1!important;
  }

  body.public-map .plot-info .purchase-box .purchase-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transition:transform .22s ease!important;
  }

  body.public-map .plot-info .purchase-box:not(.is-collapsed) .purchase-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }
}

/* MOBILE ONLY — Purchase arrow direction must exactly match WhatsApp arrow. */
@media (max-width:800px){
  body.public-map .plot-info .purchase-box .purchase-toggle{
    font-size:0!important;
    line-height:0!important;
  }
  body.public-map .plot-info .purchase-box .purchase-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transform-origin:center!important;
    transition:transform .22s ease!important;
    font-size:0!important;
    line-height:0!important;
  }
  body.public-map .plot-info .purchase-box:not(.is-collapsed) .purchase-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }
}

/* ==========================================================
   MOBILE FINAL OVERRIDE — Price / Purchase / WhatsApp controls
   All three sections use the exact same open/close control.
   Mobile only. Desktop remains completely untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .mobile-price-head,
  body.public-map .plot-info .purchase-head,
  body.public-map .plot-info .mobile-whatsapp-head{
    min-height:54px!important;
    height:54px!important;
    padding:7px 9px!important;
    margin:0!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    direction:rtl!important;
    border:0!important;
  }

  body.public-map .plot-info .price-box,
  body.public-map .plot-info .purchase-box,
  body.public-map .plot-info .mobile-whatsapp-container{
    border-radius:14px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  /* The three circular controls are intentionally identical. */
  body.public-map .plot-info .mobile-price-head .mobile-section-toggle,
  body.public-map .plot-info .purchase-head .purchase-toggle,
  body.public-map .plot-info .mobile-whatsapp-head .mobile-section-toggle{
    position:relative!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:rgba(37,211,102,.11)!important;
    color:#16a34a!important;
    box-shadow:none!important;
    font-size:0!important;
    line-height:0!important;
    cursor:pointer!important;
  }

  body.public-map .plot-info .mobile-price-head .mobile-section-toggle span,
  body.public-map .plot-info .purchase-head .purchase-toggle span,
  body.public-map .plot-info .mobile-whatsapp-head .mobile-section-toggle span{
    display:block!important;
    width:10px!important;
    height:10px!important;
    margin:0!important;
    padding:0!important;
    border-right:3px solid currentColor!important;
    border-bottom:3px solid currentColor!important;
    border-radius:1px!important;
    transform:rotate(45deg) translate(-1px,-1px)!important;
    transform-origin:center!important;
    transition:transform .22s ease!important;
  }

  /* Closed = down, open = up — identical for all three sections. */
  body.public-map .plot-info .price-box.is-collapsed .mobile-section-toggle span,
  body.public-map .plot-info .purchase-box.is-collapsed .purchase-toggle span,
  body.public-map .plot-info .mobile-whatsapp-container.is-collapsed .mobile-section-toggle span{
    transform:rotate(45deg) translate(-1px,-1px)!important;
  }

  body.public-map .plot-info .price-box:not(.is-collapsed) .mobile-section-toggle span,
  body.public-map .plot-info .purchase-box:not(.is-collapsed) .purchase-toggle span,
  body.public-map .plot-info .mobile-whatsapp-container:not(.is-collapsed) .mobile-section-toggle span{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }

  /* Purchase header is visually the same as WhatsApp, not the old teal/L-shaped control. */
  body.public-map .plot-info .purchase-head{
    background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(255,255,255,.88))!important;
    border-bottom:1px solid rgba(37,211,102,.10)!important;
  }

  body.public-map .plot-info .purchase-head h3,
  body.public-map .plot-info .mobile-price-head > span,
  body.public-map .plot-info .mobile-whatsapp-head > span{
    margin:0!important;
    color:#172033!important;
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:900!important;
  }

  body.public-map .plot-info .purchase-head-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    direction:ltr!important;
  }

  body.public-map .plot-info .purchase-percent-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    height:30px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
  }
}

/* FINAL MOBILE PURCHASE COUNTER — keep percentage badge visible */
@media (max-width:800px){
  body.public-map .plot-info .purchase-head-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    direction:ltr!important;
  }
  body.public-map .plot-info .purchase-percent-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:38px!important;
    height:30px!important;
    padding:0 9px!important;
    border-radius:999px!important;
    background:#00bfae!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1!important;
    direction:ltr!important;
    flex:0 0 auto!important;
    visibility:visible!important;
    opacity:1!important;
  }
}

/* ==========================================================
   MOBILE FINAL — Make Price Details capsule identical to
   Purchase Accounting and WhatsApp capsules.
   Desktop remains completely untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .price-box,
  body.public-map .plot-info .purchase-box,
  body.public-map .plot-info .mobile-whatsapp-container{
    border:1px solid rgba(37,211,102,.18)!important;
    border-radius:14px!important;
    background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(255,255,255,.88))!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body.public-map .plot-info .price-box .mobile-price-head,
  body.public-map .plot-info .purchase-box .purchase-head,
  body.public-map .plot-info .mobile-whatsapp-container .mobile-whatsapp-head{
    background:linear-gradient(135deg,rgba(37,211,102,.08),rgba(255,255,255,.88))!important;
    border-bottom:1px solid rgba(37,211,102,.10)!important;
  }
}

/* ==========================================================
   MOBILE ONLY — Turquoise capsule theme
   Price Details / Purchase Accounting / WhatsApp capsules.
   Desktop remains completely untouched.
   ========================================================== */
@media (max-width:800px){
  body.public-map .plot-info .price-box,
  body.public-map .plot-info .purchase-box,
  body.public-map .plot-info .mobile-whatsapp-container{
    border-color:rgba(0,191,174,.22)!important;
    background:linear-gradient(135deg,rgba(0,191,174,.08),rgba(255,255,255,.92))!important;
  }

  body.public-map .plot-info .mobile-price-head,
  body.public-map .plot-info .purchase-head,
  body.public-map .plot-info .mobile-whatsapp-head{
    background:linear-gradient(135deg,rgba(0,191,174,.08),rgba(255,255,255,.92))!important;
    border-bottom-color:rgba(0,191,174,.12)!important;
  }

  body.public-map .plot-info .mobile-price-head .mobile-section-toggle,
  body.public-map .plot-info .purchase-head .purchase-toggle,
  body.public-map .plot-info .mobile-whatsapp-head .mobile-section-toggle{
    background:rgba(0,191,174,.11)!important;
    color:#008f83!important;
  }
}

/* MOBILE ONLY — final hidden state used by the menu/search close guard. */
@media (max-width: 800px){
  body.public-map .plot-info[aria-hidden="true"]{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
}


@media (max-width:800px){
  body.public-map .plot-info.mobile-details-force-closed{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
}


/* Hide video control */
.video-btn,.video-button,.video-control,.btn-video,.video-toggle,
[data-action="video"],[data-video],[data-tool="video"],
button[title*="فيديو"],button[aria-label*="فيديو"],
a[title*="فيديو"],a[aria-label*="فيديو"]{
  display:none!important;
}


/* Planning menu: video controls disabled */
#videoBtn,
#videoGuideBtn,
#mobileVideoBtn,
.video-action,
.video-menu-item,
[data-action="video"],
[data-video="project"],
a[href*="youtube.com"] .video-action{
  display:none !important;
}

/* MOBILE: hide purchase percentage badge while the purchase section is collapsed. */
@media (max-width: 800px){
  body.public-map .plot-info .purchase-box.is-collapsed .purchase-percent-badge{
    display:none !important;
  }
}
