     #product_details{
    padding: 5rem;
}

#product_details > div{
    margin-bottom: 1rem;
    a{
        color: black;
        text-decoration: none;
    }
}

#product_details main{
    display: flex;
    gap: 4rem;
    align-items: top;
}

#product_details main .image-viewer{
    display: flex;
    gap: 1rem;
    width: 60%;
}


#product_details main .image-viewer .image-slider{
    max-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    width: 25%;
}
#product_details main .image-viewer .image-slider figure{
    background-color:#ebe8e8;
    padding: .5rem;
    border-radius: 10px;

}

#product_details main .image-viewer .image-slider img{
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

#product_details main .image-viewer .image-display{
    width: calc(100% - 25% - 1rem);
    height: auto;
}


#product_details main .image-viewer .image-display img{
    width: 100%;
    height: auto;
    max-height: calc(400px - 2rem);
    object-fit: contain;
}

#product_details main .image-viewer .image-display figure{
    background-color:#ebe8e8;
    border-radius: 10px;
     max-height: 400px;
    padding: 1rem;
}

#product_details main .product-form{
    width: calc(100% - 60% - 4rem);
}

.product-form{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-form .fa-star{
    color: var(--primary-color);
}

.product-form .in-stock{
    color: var(--success);
}

.product-form  .rating span{
    color: #444444;
    font-size: .9rem;
}

.product-form .out-stock{
    color: var(--danger);
}

.product-form .price{
    font-size: 1.4rem;
    font-weight: 600;
}

.product-form .description{
    color: #444444;
}

.product-form #place_order_data{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-form #place_order_data .color-data{
    display: flex;
        align-items: center;
    width: 100%;
    gap: .5rem;
}

.product-form #place_order_data .color-data button{
    padding: .5rem !important;
}


.active-size{
    background-color:var(--primary-color);
    color: white !important;
}

.active-color{
    border: 2px solid #000 !important;
}

.wishlist i{
    color: var(--danger);
}


.free-dil{
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    gap: 2rem;
    width: fit-content;
}

.free-dil i{
    width:fit-content;
}

.free-dil div{
    display: flex;
    flex-direction: column;
    gap: .5rem;
   
}

.free-dil div h5{
    font-weight: 500;
    font-size: 1rem;
}

.free-dil div p{
    font-size: .9rem;
}

/* //PROPERTY-OVERVIEW */
/* Container */
    .container {
      max-width: 1300px;
      margin: 20px auto;
      padding: 0 20px;
      display: flex;
      gap: 2rem;
      flex-wrap: wrap; /* responsive */
    }

    /* Left Side (Gallery) */
    .left-side {
      flex: 1 1 60%;
      min-width: 350px;
    }

    .property-header {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 15px;
    }

    .property-header h2 {
      margin: 0;
    }

    .price {
      font-size: 2rem;
      color: var(--secondary-color);
      font-weight: bold;
    }

    .property-gallery {
      margin: 15px 0;
    }

    .property-gallery img {
      width: 100%;
      border-radius: 8px;
    }

        /* Right Side (Details) */
    .property-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column;
  border-radius: 12px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.detail-section h3 {
  font-size: 1.6rem;
  text-align: center;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.overview-items, 
.details-grid, 
.features-grid {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.overview-item, 
.detail-item, 
.feature-item {
  flex: 1 1 calc(33.333% - 1.5rem);
  background: #f9fbff;
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.overview-item:hover, 
.detail-item:hover, 
.feature-item:hover {
  background: #eef3fb;
  transform: translateY(-3px);
}

.overview-item strong, 
.detail-item strong {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.05rem;
}

.description p {
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
  color: #444;
}

.address {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: 1rem;
  color: #555;
}
#whatsappBtnAnim {
  text-align: center;
  z-index: 100;
  background-color: #25d366;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  margin-top: 1.2rem;
  color: #fff;

  /* Animation */
  animation: bounce 2s infinite;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Text & icon color */
#whatsappBtnAnim span,
#whatsappBtnAnim i {
  color: #fff;
}

/* Hover effect */
#whatsappBtnAnim:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  animation: none; /* stops bounce while hovering */
}

/* Bounce keyframes */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive */
@media(max-width: 992px) {
  .container {
    flex-direction: column;
  }

  .left-side, 
  .right-side {
    flex: 1 1 100%;
  }

  .overview-item, 
  .detail-item, 
  .feature-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media(max-width: 576px) {
  .property-details {
    padding: 2rem 1rem;
  }

  .overview-item, 
  .detail-item, 
  .feature-item {
    flex: 1 1 100%;
  }

  .detail-section h3 {
    font-size: 1.4rem;
  }
}

 



@media only screen and (max-width : 1100px){
    #product_details main .image-viewer .image-slider{
    max-height: 300px;

}
}

@media only screen and (max-width : 1000px){
    #product_details main .image-viewer .image-slider{
    max-height: 400px;

}
#product_details main .image-viewer{
    display: flex;
    gap: 1rem;
    
    width: 100%;
}
#product_details main{
    display: flex;
    gap: 4rem;
    align-items: top;
    flex-direction: column;
}
#product_details main .product-form{
    width: calc(100%);
}
#product_details{
    padding: 4rem;
}
}

@media only screen and (max-width : 800px){
    #product_details{
    padding: 3rem;
}
}

@media only screen and (max-width : 500px){
    #product_details{
    padding: 2rem;
}
}