/* Base structure */
.product-page {
    padding: 1rem 0;
    background-color: #f8f9fa;
    
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8f9fa;
}

/* Left Thumbnail Column */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.product-thumbnails img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: border 0.3s ease;
}

.product-thumbnails img:hover {
    border-color: #a41c75;
}

/* Center Carousel */
.product-carousel {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.product-carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* Right Content */
.product-details {
    padding-left: 2rem;
}

.product-details h1 {
    
    font-size: 2rem;
    font-weight: 700;
    color: #111;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a41c75;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.rating-stars {
    color: #f5c518;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.gift-wrap,
.blouse-stitching {
    margin-bottom: 1rem;
}

.blouse-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-buy,
.btn-cart {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.btn-buy {
    background: rgba(164, 28, 117, 0.95);
    color: #fff;
}

.btn-buy:hover {
    background: rgba(164, 28, 117, 0.95);
}

.btn-cart {
    background: #fff;
    color: #a41c75;
    border: 2px solid #a41c75;
}

.btn-cart:hover {
    background: #f8e1f0;
}

/* Size Chart & Notes */
.size-chart,
.product-note {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.expandable-section {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    margin-top: 1rem;
}

.expandable-section h5 {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.expandable-section p {
    margin-top: 0.5rem;
    display: none;
    font-size: 0.9rem;
    color: #444;
}

/* Sticky positioning for left and center on large screens */
@media (min-width: 992px) {
    .product-page .col-md-1,
    .product-page .col-md-6 {
        /* REMOVE sticky */
        position: static; 
        top: auto; 
        align-self: auto;
        height: auto;
    }
}


/* Mobile responsiveness */
@media (max-width: 991px) {
    .product-container {
        flex-direction: column;
    }

    .product-thumbnails {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .product-carousel {
        margin-bottom: 1rem;
    }

    .product-details {
        padding-left: 0;
    }

    .btn-buy,
    .btn-cart {
        width: 100%;
        margin-bottom: 1rem;
    }

    .blouse-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}

.buttons-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.btn-cart,
.btn-buy {
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  white-space: nowrap;
  transition: 0.3s ease;
}

.btn-cart {
  background-color: #fff;
  border: 1px solid #1c1e20;
  color: #1c1e20;
}

.btn-cart:hover {
  background-color: #f7f7f7;
}

.btn-buy {
  background-color: #1c1e20;
  color: #fff;
  border: 1px solid #1c1e20;
}

.btn-buy:hover {
  background-color: #000;
}
#shareBtn {
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
}
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  overflow: hidden;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d2f38;
  white-space: normal;
  word-wrap: break-word;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.share-btn {
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.product-main-image {
  margin-bottom: 1rem;
}

.thumbs-wrapper img.selected {
  border-color: #a41c75;
  box-shadow: 0 0 5px rgba(164, 28, 117, 0.6);
}

.zoom-wrapper {
  position: relative;
  display: inline-block;
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 8px;
  font-size: 18px;
  color: #000;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease;
}

.zoom-icon:hover {
  background: rgba(255, 255, 255, 1);
}

/* Lightbox style */
#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightboxOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px #000;
  object-fit: contain;
}
.product-price-row {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.offer-price {
  font-weight: 700;
  color: #0a0a14;
}

.original-price {
  font-weight: 500;
  color: #a0a3ab;
  text-decoration: line-through;
}
.you-may-also-like {
  margin-top: 3rem;   /* spacing from product section */
  position: relative; /* keeps it below product view */
  z-index: 1;         /* ensures it stays above carousel */
}
