
.p-detail-container {  /* main two column divider */
    display: grid;
    grid-template-columns: 700px auto;
    gap: 10px;
    padding: 10px;
    margin-top: 5px;

}

.gallery-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.main-image {
    text-align: center;
    height: 300px;
    display: flex;
    justify-content: center;
}

.main-image img {
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding-top: 100px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border 0.3s;
}

.thumbnail:hover {
    border: 2px solid #007bff;
}

.thumbnail.active {
    border: 2px solid #007bff;
}


.p-d-des-card {
    padding: 10px;
    background-color: white;
    border-radius: 5px;
}
.p-d-des-card h1 {
    font-size: 30px;
    color: #333;
    font-family: sans-serif;
}
.p-d-des-card p {
    font-size: 16px;
    color: #666;
    font-family: sans-serif;
    padding-top: 10px;
}

.p-d-cart-button {
    background: linear-gradient(60deg, #fad6d4, #f1bfea);
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 40%;
    margin-top: 10px;
    font-family: sans-serif;
}

.p-d-buy-button {
    background-color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 40%;
    margin-top: 10px;
    font-family: sans-serif;
    border: 2px solid #f6cbce;
}

.p-pincode {
    flex: 1; /* Allow the input to grow */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* Rounded corners on the left */
    font-size: 16px;
    width: 30%;
    display: flex;
    margin-top: 10px
}

.description-card {
    background-color: white;
    border-radius: 5px;
    margin-top: 20px;
    width: 600px;
}
.description-card h2 {
    font-size: 20px;
    color: #333;
    font-family: sans-serif;
    border-bottom: 1px solid #ccc;
}
.similar-product-card {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
}
.main-customer-review {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5px;
    width: 700px;
}
.review-card {
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 100%;
  
}
.review-card img {
    width: 30%;
    height: 60%;
}
.r-container {
    padding: 2px;
}
.star-rating {
    display: flex;
    gap: 10px;
  }
  .star {
    width: 18px;
    height: 18px;
    fill: #ffd700;
    filter: drop-shadow(0 0 1px #c59b00);
    cursor: default;
    transition: transform 0.3s ease;
  }
  


/* responsive */

@media(max-width: 800px){ 
    .p-detail-container {
        grid-template-columns: auto;
        margin-left: 0px;
    }
    .gallery-container {
        max-width: 100%;
        padding: 10px;
        margin-left: 0px;
    }
    .p-d-des-card {
        border-radius: 5px;
        max-width: 100%;
        padding: 10px;
        margin-left: 0px;
        
    }
    .p-pincode {
        width: 100%;
        margin-top: 10px;
        margin-left: 0px;
    }
    
} 
@media(max-width: 480px){
    .p-detail-container {
        grid-template-columns: auto;
        margin-left: 0px;
    }
    .gallery-container {
        max-width: 100%;
        padding: 10px;
        margin-left: 0px;
    }
    .p-d-des-card {
        border-radius: 5px;
        max-width: 100%;
        padding: 10px;
        margin-left: 0px;
        
    }
    .p-pincode {
        width: 100%;
        margin-top: 10px;
        margin-left: 0px;
    }
    .description-card {
        width: 100%;
        margin-left: 0px;
    }
    .main-customer-review {
        display: grid;
        grid-template-columns: auto;
        width: 100%;
    }
}
/* silimar product */

/* review */
.review-slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

.review-slider {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
}

.review-card {
  background: white;
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 0.5rem auto;
  cursor: pointer;
}

.review-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.review-text {
  color: #4b5563; /* Tailwind's text-gray-700 */
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.review-stars {
  color: #fbbf24; /* Tailwind's yellow-400 */
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .review-slider {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .review-card {
    width: 85%;
  }

  .review-text {
    font-size: 0.85rem;
  }
}



