

/* ====== Choose section page ===== */


.choose-partments-hero-sec{
    padding: 88px 48px 80px 48px;
  }
  .choose-partments-hero-sec .hero-heading{
    color: #252525;
  }
  .cus-bg-secondary{
    background-color: var(--secondary-color);
  
  }
  
  .cus-sec-px-32{
    padding-left: 32px;
    padding-right: 32px;
  }
  
  .choose-apartments {
  
    padding-top: 80px;
    padding-bottom: 80px;
  
  }
  
  .imp-tooltips-container {
    /* width: 300px !important; */
  }
  
  .imp-tooltip {
    width: 266px !important;
    border-radius: 0 !important;
  
    background-color: #ffffff !important;
    padding: 15px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  /* Show only apt-unit-1 tooltip by default */
  /* Alternative selectors */
  /* Replace with actual tooltip class you find */
  /* .imp-tooltip-0,
  .imp-tooltip[data-index="0"] {
      opacity: 1 !important;
      visibility: visible !important;
      display: block !important;
  } */
  .imp-tooltip-title {
    font-size: 18px;
    font-weight: 400;
    /* margin-bottom: 5px; */
  }
  
  .imp-tooltip-description {
    font-size: 14px;
    line-height: 100%;
    font-weight: 400;
    color: #000 !important;
  }
  .squares-container .squares-element{
    padding: 0 0 15px 0 !important;
  }
  .squares-container .squares-element img{
    width:  100% !important;
  }
  .cus-tooltip-content .apartment-title{
    font-size: 18px;
    font-weight: 400;
    color: #252525;
  }
  .cus-tooltip-content .apartment-price, .cus-tooltip-content .apartment-availability{
    font-size: 14px;
    font-weight: 400;
    color: #252525;
  }
  .cus-tooltip-btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .cus-tooltip-btns .cus-sticky-header-cta-btn{
  width: 232px !important;
  }
  /* ::before,::after,*{
    border: 1px solid red;
  } */
  .cus-tooltip-content .pdf-link {
    display: inline-flex;
    align-items: center;
    /* gap: 8px; */
    color: #252525;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    margin-top: auto;
    transition: color 0.3s;
    border-bottom: 1px solid #252525;
    width: fit-content;
    text-transform: uppercase;
  }
  .cus-tooltip-content .pdf-link img{
    height: 24px;
    width: 24px !important;
  }
  .hs-arrow-bottom{
    border: none !important;
  
  }
  
  /* Mobile view  */
  
  .imp-fullscreen-tooltip{
    background-color: #fff !important;
  }
  
  
  /* ==== cards ==== */
  
  
  .choose-apartments {
    background-color: #E6E6E6;
  }
  .choose-apartments__title {
    font-size: 18px ;
    text-transform: uppercase;
    font-weight: 400;
  }
  
  .catalog-btn {
    border: 1px solid #25252533;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
    background-color: inherit;
    text-transform: uppercase;
    line-height: 100%;
  
  }
  
  .catalog-btn:hover {
    background-color: #f0f0f0;
  }
  
  .tab-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
    line-height: 100%;
  }
  .tab-buttons button:focus{
    outline: none;
  }
  
  .tab-btn {
    border: 1px solid #25252533;
    padding: 24px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    height: 64px;
    width: 64px;
    background-color: inherit;
    }
  .tab-btn.active {
    border-color: #252525;
    z-index: 1;
  }
  
  .tab-btn:hover:not(.active) {
    background-color: #fafafa;
  }
  
  
  #apartmentGrid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 384px));
    /* justify-content: start; */
  }
  
  /* Responsive grid based on device width */
  @media (min-width: 1536px) {
    #apartmentGrid {
        grid-template-columns: repeat(4, 1fr);
        /* max-width: 1600px; */
    }
  }
  
  @media (min-width: 1280px) and (max-width: 1535px) {
    #apartmentGrid {
        grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 768px) and (max-width: 1279px) {
    #apartmentGrid {
        grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 767px) {
    #apartmentGrid {
        grid-template-columns: 1fr;
        /* max-width: 384px; */
        margin: 0 auto;
        width: 100%;
    }
  }
  
  .apartment-card {
    background-color: white;
    padding: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    /* max-width: 384px; */
    width: 100%;
  }
  
  .apartment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  
  .apartment-image {
    width: 320;
    height: 326px;
    position: relative;
    overflow: hidden;
  }
  
  .apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .floor-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #333;
  }
  
  .apartment-info {
    padding-top: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .apartment-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #252525;
  }
  
  .apartment-price {
    font-size: 16px;
    color: #252525;
    margin-bottom: 4px;
  }
  
  .apartment-size {
    font-size: 16px;
    color: #252525;
    margin-bottom: 8px;
  }
  
  .apartment-availability {
    font-size: 14px;
    color: #252525;
    margin-bottom: 16px;
  }
  
  .pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #252525;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    margin-top: auto;
    transition: color 0.3s;
    border-bottom: 1px solid #252525;
    width: fit-content;
    text-transform: uppercase;
  }
  
  .pdf-link:hover {
    color: #666;
  }
  
  .pdf-link svg {
    width: 24px;
    height: 24px;
  }
  
  
  @media (max-width: 768px) {
    .tab-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
  
    .cus-sec-px-32 {
        padding-left: 16px;
        padding-right: 16px;
    }
  
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
  
    .catalog-btn {
        width: 100%;
    }
    .apartment-card{
      width: 100% !important;
    }
   
  }
  
  
  @media (max-width: 576px) {
  
    .squares-container{
      padding-top: 15px !important;
    }
    
  /* #image-map-pro-container{
     rotate: 90deg;
     scale: 3.0;
     padding-block: 500px;
    
  }   */
  /* .imp-shape-container, .hs-poly-svg {
    rotate: 90deg !important;
  } */
  }
  
  
  
  
  /* .apt-tooltip-card {
    background-color: #ffffff;
    padding: 50px;
    width: 266px;
    height: auto;
    border: 0;
  } */
  
  
  .imp-fullscreen-tooltips-container .imp-fullscreen-tooltip .imp-tooltip-close-button{
    /* color: #252525 !important;
    font-size: 18px !important; */
    top: -25px !important;
    z-index: 999;
    color: #252525 !important;
  }
  
  .fa-times {
  
  }
  .imp-tooltip-close-button i {
    width: 24px;
    height: 24px;
    display: inline-block;
  
    /* mask-image: url('https://panonska.webermelon.dev/wp-content/uploads/panonska/2025/12/Icon-3.png'); */
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  
    background-color: black; /* icon color */
    
    font-size: 0; 
    /* hide original FA text */
  }