/* Filter Panel */
.filter-panel {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.filter-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 15px;
}

.filter-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ccc;
  cursor: pointer;
  padding: 6px 0;
  font-size: 14px;
  gap: 8px;
}

.filter-option input { accent-color: #f5b800; }
.filter-option span:first-of-type { flex: 1; margin-left: 8px; }
.filter-count { color: #888; font-size: 13px; }
.active-filter { color: #fff; font-weight: 600; }

/* Product Card */
.product-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  height: 100%;
}

/* Product card image container */
.product-card .position-relative {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-card:hover { transform: translateY(-4px); }

.product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

.product-card-brand {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
   z-index: 2;
}

.product-card-body { 
  padding: 8px 10px 10px;
   background: #1a1a1a;
   border-radius: 0 0 12px 12px;
 }
.product-card-name {
   color: #fff; 
   font-size: 12px; 
   font-weight: 600; 
   margin-bottom: 2px;
   margin-top:0;
   }

.product-card-price {
   color: #f5b800;
    font-weight: 700;
     font-size: 13px;
     margin-bottom:3px;
     }

     /* Main product image — shows full watch */
/* Product Details */
.product-main-image {
  height: 100px;
  object-fit: contain;   /* changed from cover to contain — shows full image */
  border-radius: 12px;
  transition: transform 0.3s ease;
  width: 100%;
  display: block;
  background: #111;       /* dark background behind the image */
}


.product-img-outer {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.product-image-zoom-wrapper {
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
  width: 100%;
  background: #111;
}

.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f5b800;
  color: #111;
  font-size:10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  z-index: 10;
  pointer-events: none;
}

.wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.wishlist-btn.active { color: #dc3545; }

.thumbnail-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  background: #111;
}

.thumbnail-img.active { border-color: #f5b800; }

.product-price { font-size: 26px; font-weight: 800; color: #f5b800; }
.product-original-price { font-size: 16px; color: #888; text-decoration: line-through; }

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-swatch.active { border-color: #f5b800; }

.variant-btn {
  padding: 6px 16px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.variant-btn.active {
  border-color: #f5b800;
  color: #f5b800;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.qty-display {
  font-size: 18px;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

/* Stars */
.review-star { color: #888; cursor: pointer; font-size: 20px; }
.review-star.active { color: #f5b800; }
.star-filled { color: #f5b800; }
.star-empty { color: #555; }

/* Nav tabs dark theme */
.nav-tabs .nav-link { border: none; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active {
  background: transparent;
  color: #f5b800 !important;
  border-bottom-color: #f5b800;
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before { color: #888; }

/* Pagination dark */
.pagination .page-link {
  background: #1a1a1a;
  border-color: #333;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: #f5b800;
  border-color: #f5b800;
  color: #111;
}

.product-image-zoom-wrapper {
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
  position: relative;
   display: block;
}

.product-main-image {
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  width: 100%;
  display: block;
}

.product-image-zoom-wrapper:hover .product-main-image {
  transform: scale(1.4);
 
}

/* Search input dark grey */
#productSearch {
  background: #2a2a2a ;
  border: 1px solid #444 ;
  color: #fff ;
  border-radius: 8px;
}

#productSearch::placeholder {
  color: #888;
}

#productSearch:focus {
  background: #2a2a2a ;
  border-color: #f5b800 ;
  box-shadow: 0 0 0 2px rgba(245,184,0,0.2);
  color: #fff ;
}

/* Sort dropdown dark grey */
#sortSelect {
  background: #2a2a2a ;
  border: 1px solid #444 ;
  color: #fff ;
  border-radius: 8px;
}

#sortSelect:focus {
  background: #2a2a2a ;
  border-color: #f5b800 ;
  box-shadow: none ;
}

/* Dropdown options dark */
#sortSelect option {
  background: #2a2a2a;
  color: #fff;
}

.wishlist-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.wishlist-img-wrapper {
  position: relative;
  overflow: hidden;
}

.wishlist-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
  display: block;
}

.wishlist-img-wrapper img:hover {
  transform: scale(1.05);
}

.wishlist-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #dc3545;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.wishlist-card-body {
  padding: 12px;
}

.wishlist-product-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.wishlist-product-price {
  color: #f5b800;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Color swatch label tooltip */
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.color-swatch.active {
  border-color: #f5b800;
  transform: scale(1.15);
}

.color-swatch:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
}

.card-wishlist-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.card-wishlist-btn:hover {
  color: #dc3545;
}

.unavailable-product-msg {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 60px 40px;
  margin: 20px 0;
  border: 1px solid #2a2a2a;
}

.unavailable-icon {
  font-size: 70px;
  color: #444;
}

.unavailable-product-msg h3 {
  color: #fff;
}