/* Breadcrumb styles */
.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #1c8b8b;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #156666;
}

.breadcrumb .separator {
  margin: 0 8px;  
  color: #999;
  font-size: 0.8rem;  
}

.breadcrumb a:last-of-type {
  color: #666;
  pointer-events: none;
}

/* Product Container */
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 40px;
}

/* Product Images */
.product-images {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
  cursor: pointer;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: #333;
}

.thumbnail.active {
  border-color: #ff3e6c;
}

/* Main Image */
.main-image-container {
  flex: 0 0 500px;
}

.main-image {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* Product Info */
.product-info {
  flex: 1;
  padding-right: 20px;
}

.online-exclusive {
  display: inline-block;
  background: #008845;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 12px;
}

.product-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.price-container {
  margin-bottom: 20px;
}

.mrp {
  color: #666;
  text-decoration: line-through;
  margin-right: 10px;
}

.selling-price {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.offer {
  color: #ff3e6c;
  font-weight: bold;
  margin-left: 10px;
  font-size: 20px;
}

.product-brand {
  margin-bottom: 15px;
  color: #666;
}

/* Stock Status and Action Buttons Container */
.stock-and-actions {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  gap: 10px; /* Space between stock status and buttons */
}

.stock-status {
  display: inline-block; /* Keep stock status as inline-block */
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  width: fit-content; /* Only take up as much width as needed */
}

.in-stock {
  background: #e8f5e9;
  color: #2e7d32;
}

.out-of-stock {
  background: #ffebee;
  color: #c62828;
}
.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

 .add-to-cart-btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}


.wishlist-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.wishlist-button:hover {
  background: #f5f5f5;
}
.wishlist-icon {
  color: #ccc;
  font-size: 18px;
}

.wishlist-icon.active {
  color: #e74c3c;
}

.wishlist-text {
  font-size: 16px;
}


.add-to-cart-btn {
  background-color: #ff3e6c;
  color: white;
  border: none;
}



.add-to-cart-btn:hover {
  background-color: #67222e;
}

.add-to-wishlist-btn.active {
  background-color: #ffe6e6;
  border-color: #ff3e6c;
  color: #ff3e6c;
}

.wishlist-icon {
  transition: transform 0.3s ease;
}

.add-to-wishlist-btn:hover .wishlist-icon {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .stock-and-actions {
    width: 100%;
  }

  .action-buttons {
    width: 100%;
  }

  .buy-now-btn, .add-to-cart-btn {
    flex: 1;
    text-align: center;
  }
}

/* Product Description */
.product-description {
  max-width: 1200px;
  margin: 40px auto;
  text-align: start;
  line-height: 1.8;
  color: #333;
  padding: 0 20px;
}

/* Reviews Section */
.product-reviews {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.reviews-title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.rating-bars {
  max-width: 400px;
  margin: 0 auto;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.star-number {
  width: 30px;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  margin: 0 10px;
  border-radius: 4px;
}

.rating-count {
  width: 50px;
  text-align: right;
}

.write-review {
  text-align: center;
  margin-top: 20px;
}

.write-review-btn {
  padding: 10px 20px;
  background: white;
  border: 2px solid #333;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
}

.write-review-btn:hover {
  background: #333;
  color: white;
}
/* Related Products Section */
.related-products {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.related-title {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
  position: relative;
}

.related-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #1c8b8b;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-link {
  text-decoration: none;
  color: inherit;
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border-radius: 50%;
  padding: 8px;
  height: 25px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-details {
  padding: 15px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mrp {
  color: #888;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.selling-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1c8b8b;
}

.product-rating {
  color: #ffd700;
  margin-bottom: 12px;
}


/* Responsive Design */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-name {
    font-size: 1rem;
  }
  
  .selling-price {
    font-size: 1.1rem;
  }
}


/* Available Colors Section */
.available-colors {
  margin: 20px 0;
}

.colors-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.color-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.color-option {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  cursor: pointer;
  padding: 5px;
  /* border-radius: 8px; */
  transition: all 0.3s ease;
}

.color-option.active {
  background-color: #f5f5f5;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ddd;
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

.color-option:hover .color-circle {
  transform: scale(1.1);
}

.color-option.active .color-circle {
  border: 2px solid #1c8b8b;
}

.color-name {
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* Update existing thumbnail styles */
.thumbnail {
  width: 80px;
  height: 80px;
  border: 1px solid #ddd;
  cursor: pointer;
  object-fit: cover;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border: 2px solid #1c8b8b;
}

/* Zoom Lens Effect */
/* Main Image Zoom */
.main-image-container {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.main-image-container:hover {
  cursor: crosshair; /* Cursor changes on zoom */
}

/* Zoom Box for Larger Preview */
.zoom-box {
  position: absolute;
  width: 300px; /* Adjust zoom box size */
  height: 300px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  background-repeat: no-repeat;
  background-size: 200%; /* Zoom level */
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
