/* ============================
   PRODUCT PAGE CSS - SPACING FIX ONLY
   (Add this to your product.css file)
=============================== */

/* Fix body padding to account for fixed navbar */
body {
  padding-top: 100px;
  margin: 0;
  background: #000000; /* Black background */
  color: #b0b0b0; /* Grey text */
}

/* ===== BEST SELLER SECTION (Product Page) ===== */
.best-seller {
  padding: 15px 0 60px 0;
  text-align: center;
  background: #000000; /* Black background */
  margin-top: 10px;
  position: relative;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 2rem;
  margin-top: 0px;
  color: #FF681F; /* Orange heading */
  font-family: "Montserrat Underline", serif;
  text-align: center;
  letter-spacing: -0.5px;
  
  /* No pill shape styling */
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  display: block;
}

/* Product Grid */
.product-grid {
  max-width: 1200px;
  margin: 25px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}

/* ===== PRODUCT CARD - NO OUTER BOX ===== */
.product-card {
  text-align: center;
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #333333;
  display: block;
}

/* ===== PRODUCT TITLES - NO PILL SHAPE, GREY TEXT ===== */
.product-card h3 {
  margin-top: 15px; /* Slightly reduced */
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  color: #b0b0b0; /* Grey text */
  letter-spacing: 0.5px;
  text-transform: uppercase;

  /* No pill shape styling - completely flat */
  display: block;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  min-width: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Extra Large Desktop (1400px and above) */
@media (min-width: 1400px) {
  body {
    padding-top: 110px;
  }
  
  .best-seller {
    padding: 20px 0 70px 0;
    margin-top: 15px;
  }
  
  .section-title {
    font-size: 3.2rem;
    margin-top: 5px;
  }
  
  .product-grid {
    margin-top: 30px;
  }
  
  .product-card h3 {
    font-size: 1.1rem;
    margin-top: 18px;
  }
}

/* Large Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  body {
    padding-top: 105px;
  }
  
  .best-seller {
    padding: 18px 0 60px 0;
    margin-top: 12px;
  }
  
  .section-title {
    font-size: 3rem;
    margin-top: 3px;
  }
  
  .product-grid {
    margin-top: 28px;
  }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  body {
    padding-top: 100px;
  }
  
  .best-seller {
    padding: 15px 0 50px 0;
    margin-top: 10px;
  }

  .section-title {
    font-size: 2.6rem;
    margin-top: 0px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 25px;
  }
  
  .product-card h3 {
    font-size: 0.95rem;
  }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  body {
    padding-top: 95px;
  }
  
  .best-seller {
    padding: 15px 0 50px 0;
    margin-top: 8px;
  }

  .section-title {
    font-size: 2.3rem;
    margin-top: 5px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
  
  .product-card h3 {
    font-size: 0.9rem;
  }
}

/* Mobile Landscape (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  body {
    padding-top: 90px;
  }
  
  .best-seller {
    padding: 12px 0 40px 0;
    margin-top: 8px;
  }

  .section-title {
    font-size: 2rem;
    margin-top: 5px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
  }
  
  .product-card h3 {
    font-size: 0.85rem;
  }
}

/* Mobile Portrait (400px to 575px) */
@media (min-width: 400px) and (max-width: 575px) {
  body {
    padding-top: 85px;
  }
  
  .best-seller {
    padding: 10px 0 30px 0;
    margin-top: 5px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-top: 0px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }
  
  .product-card h3 {
    font-size: 0.95rem;
  }
}

/* Small Mobile (up to 399px) */
@media (max-width: 399px) {
  body {
    padding-top: 80px;
  }
  
  .best-seller {
    padding: 8px 0 25px 0;
    margin-top: 5px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-top: 0px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  
  .product-card h3 {
    font-size: 0.9rem;
  }
}

/* ===== PAGINATION ===== */
.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 30px 0 30px;
  gap: 10px;
}

.pagination a {
  background: #FF681F; /* Orange background */
  color: #000000; /* Black text */
  padding: 12px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(255, 104, 31, 0.2);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #ff853f; /* Lighter orange */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 104, 31, 0.3);
}

/* Pagination Responsive */
@media (max-width: 768px) {
  .pagination {
    margin: 25px 0 20px;
  }
  
  .pagination a {
    padding: 10px 25px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .pagination a {
    padding: 8px 20px;
    font-size: 14px;
  }
}

/* Ensure navbar is visible with proper z-index */
.navbar {
  z-index: 1000;
}

/* Section scroll margin */
section:first-of-type {
  scroll-margin-top: 110px;
}

/* ===== REMOVE ALL OUTER BOXES ===== */

/* Remove any potential box shadows or backgrounds from containers */
.container,
.row,
.col,
[class*="col-"] {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ensure no unwanted spacing */
* {
  box-sizing: border-box;
}

/* Product images only keep their own styling, no outer boxes */
.product-card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Keep image styling but remove any outer containers */
.product-card img {
  /* Image styling remains */
  border-radius: 12px;
  border: 1px solid #333333;
}

/* Product titles are flat text only */
.product-card h3 {
  /* No background, no border, no padding */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}