

@media (max-width: 991px) {
    .desktop-filters { 
      display: none; 
    }
    /* .card-img-grid { 
      height: 200px; 
    } */

    .mobile-bottom-bar {
      position: fixed; 
      bottom: 0; 
      left: 0; 
      width: 100%;
      background: white; 
      border-top: 1px solid #ddd;
      display: flex; 
      z-index: 1000; 
      padding: 10px 0;
      overflow: hidden;
    }

    .mobile-action-btn {
        flex: 1; 
        text-align: center; 
        border: none; 
        background: none;
        font-weight: 600; 
        color: var(--brand-bg); 
        font-size: 1rem;
    }
    
    .mobile-action-btn:first-child { 
      border-right: 1px solid #eee; 
    }

    .desktop-actions {
        display: none !important;
    }

    .btn-post-property, #mobileProfileTrigger{
      margin-right: 0px !important;
    }

    .desktop-only { 
        display: none !important; 
    }

    .res-container{
      padding: 0 1rem !important;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-bar { 
      display: none; 
    }
    .mobile-menu-trigger { 
      display: none; 
    }

    .mobile-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {

  .property-top{
    position: sticky;
    top: var(--mobile-sticky-top-offset, 80px);
  }

  .details-card-img-grid {
      grid-template-columns: 1fr;
      grid-template-rows: 300px; 
  }
  
  .card-img-grid-r{
    display: grid !important;
  }

  .card-img-grid { 
    height: 200px; 
  }

  .single-img-r{
    display: block !important;
    height: 200px;
    overflow: hidden;
  }

  .single-img-r .card-gallery-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .single-img-r .card-gallery-image-placeholder{
    object-fit: contain;
  }

  .img-details-sub {
      display: none;
  }

  .info-box {
      width: 100%;
      border-radius: 10px !important;
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      padding: 10px 0 !important;
      margin-top: 10px;
  }

  .info-item {
      border: none !important;
      padding: 3px 6px 3px 15px !important;
      margin: 0 !important;
  }

  .info-item:nth-child(odd) {
      border-right: 1px solid #eee !important;
  }

  .info-item:nth-child(1),
  .info-item:nth-child(2) {
      border-bottom: 1px solid #eee !important;
  }

  .nearby-scrollable {
      overflow-x: auto;
      display: flex;
      gap: 6px;
      padding-bottom: 4px;
  }

  .card-body-custom{
    padding-left: 0 !important;
  }

  .prop-meta{
    margin-top: 5px;
    line-height: 1.6 !important;
  }

  .price-text {
      font-size: 1.4rem;
  }

  .res-container{
    padding: 0 0.5rem !important;
  }
  .card-footer-custom{
    padding: 5px 15px;
  }

  .prop-d-top-wrapper{
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .prop-d-price{
     display: flex !important;
     flex-direction: row-reverse !important;
     justify-content: space-between !important;
     align-items: baseline !important;
     width: 100% !important;
  }
}


@media (max-width: 992px) {
  .home-banner{
    padding: 40px 20px;
  }

  .hero-images {
    align-items: center !important;
    justify-content: center !important;
    right: 0;
  }

  .arch {
    width: 110px;
    height: 360px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .custom-card-new{
    width: 100% !important;
    max-width: 100% !important;
  }
}



@media (max-width: 396px) {

  .navbar-brand img{
    height: 26px !important;
  }

  .btn-post-property{
    display: none !important;
  }
  #mobileProfileTrigger{
    margin-left: 0px !important;
    margin-right: 20px !important;
  }
}
