body {
  font-family: Arial, sans-serif;
  background-color: #000000;
  color: #C0C0C0;
  margin: 0;
  padding: 0;
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;            /* space between buttons */
  margin-top: 1.5rem;
  min-height: 40px;       /* keeps vertical space even with 1 page */
}

.page-link {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  border: 1px solid #374151; /* gray-700 */
  background-color: #1f2933; /* gray-800-ish */
  color: #d1d5db;            /* gray-300 */
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.page-link:hover {
  background-color: #111827; /* gray-900-ish */
}

.page-link-active {
  background-color: #9ca3af; /* gray-400 */
  color: #000000;
  border-color: #9ca3af;
}

.page-link-disabled {
  background-color: #111827;
  border-color: #1f2933;
  color: #6b7280;            /* gray-500 */
  cursor: default;
  pointer-events: none;
}

/* Promo Banner */
.promo-banner {
  background-color: #333333;
  color: #FFFFFF;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.promo-banner .order-now {
  color: #FF0000;
  text-decoration: underline;
}

.promo-banner .order-now:hover {
  color: #C0C0C0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000000;
  position: fixed;
  top: 30px;
  border-bottom: 1px solid #C0C0C0;
  padding: 15px 30px;
  width: 100%;
  z-index: 999;
}

.nav-left a,
.nav-center a,
.nav-right a {
  text-decoration: none;
  color: #C0C0C0;
  margin: 0 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-left a:hover,
.nav-center a:hover,
.nav-right a:hover {
  color: #FFFFFF;
}

.nav-left .logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-left .logo .white {
  color: #FFFFFF;
}

.nav-left .logo .red {
  color: #FF0000;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right .icon {
  font-size: 20px;
  margin: 0 8px;
}

.search-bar {
  width: 200px;
  padding: 8px;
  border: 1px solid #C0C0C0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  background-color: #333333;
  color: #C0C0C0;
}

.search-results-box {
  position: absolute;
  background: #333333;
  border: 1px solid #C0C0C0;
  width: 200px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: none;
  top: 100%;
  right: 30px;
}

.result-item {
  display: flex;
  align-items: center;
  padding: 8px;
  text-decoration: none;
  color: #C0C0C0;
  border-bottom: 1px solid #444444;
}

.result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  margin-right: 10px;
}

.result-item:hover {
  background: #444444;
}

.no-result {
  padding: 10px;
  color: #777777;
  text-align: center;
}

/* Filter Section */
.filter-section {
  width: 20%;
  height: 100vh;
  padding: 15px;
  border-right: 1px solid #333333;
  border-top: 1px solid #333333;
  border-bottom: 1px solid #333333;
  background-color: #111111;
  overflow-y: auto;
  position: sticky;
  top: 20px;
}

.filter-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #C0C0C0;
  text-align: center;
  border-bottom: 1px solid #C0C0C0;
  padding-bottom: 8px;
}

.filter-box {
  margin-bottom: 25px;
  background-color: #222222;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #333333;
  box-shadow: 0 0 6px rgba(192, 192, 192, 0.1);
  transition: all 0.3s ease;
}

.filter-box:hover {
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.filter-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #C0C0C0;
}

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

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #C0C0C0;
}

.size-options label {
  margin-right: 12px;
  background-color: #333333;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.2s;
  cursor: pointer;
}

.size-options label:hover {
  background-color: #a2a2a2;
}

.filter-btn {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 8px;
  margin-right: 8px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.filter-btn.clear {
    padding: 4px 8px; /* Reduced vertical (top/bottom) and horizontal (left/right) padding */
    font-size: 12px;   /* Explicitly setting a small font size */
  width: 80px;
  height: 30px;
   margin-top: -2px;
}
.filter-btn.apply{
  padding: 4px 8px;
    font-size: 12px;
    width: 150px;
    margin-top: -2px;
    
}

.filter-btn.apply {
  background-color: #C0C0C0;
  color: #000000;
}

.filter-btn.clear {
  background-color: #444444;
  color: #FFFFFF;
}

.filter-btn:hover {
  opacity: 0.9;
}

/* Product Section */
.product-section {
  width: 80%;
  margin-left: 350px;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

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

.item-block {
  border: 1px solid #333333;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
  background-color: #111111;
}

.item-block:hover {
  transform: scale(1.05);
}

.product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.details {
  padding: 12px;
  text-align: center;
}

.details p {
  margin: 5px 0;
  font-size: 14px;
}

.details p:first-child {
  font-weight: bold;
  color: #FFFFFF;
}

.details p:nth-child(2) {
  color: #C0C0C0;
  font-weight: bold;
}

/* Top Utilities */
.top-utils {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #111111;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb {
  font-size: 14px;
  color: #C0C0C0;
}

.breadcrumb a {
  text-decoration: none;
  color: #C0C0C0;
  font-weight: bold;
}

.sort-box {
  font-size: 14px;
  color: #C0C0C0;
}

.sort-box select {
  margin-left: 8px;
  padding: 5px 10px;
  background-color: #333333;
  color: #C0C0C0;
  border: 1px solid #C0C0C0;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.sort-box select option {
  background-color: #333333;
  color: #C0C0C0;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background: #000000;
  color: #C0C0C0;
  flex-wrap: wrap;
}

.footer h4 {
  margin-bottom: 10px;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: 5px;
}

.footer-logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
}

.footer .footer-1 {
  padding-top: 50px;
}

footer p {
  text-align: center;
  padding-bottom: 20px;
  font-size: 14px;
  color: #FFFFFF;
}
.detail-container {
      display: flex;
      justify-content: space-between;
      gap: 3rem;
      padding: 2rem;
      max-width: 1200px;
   
      margin: 50px auto;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .detail-image {
      flex: 1;
      max-width: 50%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .detail-image img#mainImage {
      width: 100%;
      max-height: 500px;
      object-fit: contain;
      border-radius: 10px;
      margin-bottom: 1rem;
    }

    .thumbnail-wrapper {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .thumbnail {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border: 1px solid #ddd;
      border-radius: 5px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .thumbnail:hover {
      transform: scale(1.05);
      border-color: #000;
    }

    .active-thumb {
      border: 2px solid #c92a2a;
    }

    .detail-info {
      flex: 1;
      max-width: 40%;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      margin-top: 20px;
      
    }

    .detail-info h2 {
      font-size: 2rem;
      color: #333;
    }

    .price-tag {
      font-size: 1.5rem;
      color: #c92a2a;
      font-weight: bold;
    }

    .info-label {
      font-weight: bold;
    }

    .color-dot {
      display: inline-block;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      margin: 0 5px;
      border: 1px solid #ccc;
    }

    .add-cart-btn {
      margin-top: 1rem;
      padding: 0.7rem 1.5rem;
      font-size: 1rem;
      background-color: #000;
      color: #fff;
      border: none;
      cursor: pointer;
      border-radius: 5px;
      transition: background 0.3s ease;
    }

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

    @media screen and (max-width: 768px) {
      .detail-container {
        flex-direction: column;
        align-items: center;
      }

      .detail-image,
      .detail-info {
        max-width: 100%;
      }

      .thumbnail {
        width: 60px;
        height: 60px;
      }

      .detail-info h2 {
        font-size: 1.5rem;
      }

      .price-tag {
        font-size: 1.3rem;
      }
    }

/* Click Effect */
.product:active,
.fam-item:active,
.review:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(192, 192, 192, 0.4);
}

.click-effect {
  transition: all 0.2s ease;
}

.click-effect:active {
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }
  .nav-left,
  .nav-center,
  .nav-right {
    margin: 8px 0;
  }
  .nav-center {
    flex-direction: column;
  }
  .nav-center a {
    margin: 8px 0;
  }
  .search-bar {
    width: 100%;
    margin: 8px 0;
  }
  .filter-section {
    width: 100%;
    height: auto;
  }
  .product-section {
    width: 100%;
  }
  .item-block {
    width: 100%;
  }
  .top-utils {
    flex-direction: column;
    align-items: flex-start;
  }
  .sort-box {
    width: 100%;
  }
}