/* --- Base Styles --- */
/* --- Base --- */
/* ==============================
   SHOP SECTION (Compact Version)
   ============================== */

/* ==============================
   SHOP SECTION (Compact + Centered)
   ============================== */

.shop-section {
  background-color: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
 padding: 120px 10px;;
  text-align: center;

}

.shop-section .shop-title {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 40px;
  /* margin-top: 20px;
  margin-bottom: 20px; */
}

/* ✅ Centered Product Grid */
.shop-section .products-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ✅ Product Card Styling */
.shop-section .product-card {
  background-color: transparent;
  text-align: left;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.shop-section .product-card:hover {
  transform: scale(0.95);
}

.shop-section .product-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}

.shop-section .category {
  color: #ccc;
  font-size: 13px;
  margin-top: 8px;
}

.shop-section .product-name {
  font-size: 15px;
  margin: 8px 0;
  font-weight: bold;
}

.shop-section .price {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

.shop-section .add-btn {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shop-section .add-btn:hover {
  background-color: #ccc;
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

/* ✅ Large Tablets (1024px and below) */
@media (max-width: 1024px) {
  .shop-section {
   padding: 120px 10px;
  }

  .shop-section .shop-title {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .shop-section .products-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 0 30px;
  }

  .shop-section .product-card {
    padding: 18px;
  }
}

/* ✅ Tablets (768px and below) */
@media (max-width: 768px) {
  .shop-section {
   padding: 120px 10px
  }

  .shop-section .shop-title {
    font-size: 36px;
  }

  .shop-section .products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .shop-section .product-card {
    padding: 16px;
  }

  .shop-section .product-name {
    font-size: 15px;
  }

  .shop-section .add-btn {
    font-size: 13px;
    padding: 8px 18px;
  }
}

/* ✅ Mobile (below 480px) */
@media (max-width: 480px) {
  .shop-section {
            padding: 91px 10px;
  }

  .shop-section .shop-title {
    font-size: 42px;
    margin-bottom: 25px;
  }

  .shop-section .products-container {
    grid-template-columns: 1fr; /* ✅ Only one card per row */
    gap: 20px;
  }

  .shop-section .product-card {
    padding: 18px;
    transform: scale(1.02); /* ✅ Slightly bigger look */
  }

  .shop-section .product-name {
    font-size: 17px;
  }

  .shop-section .price {
    font-size: 16px;
  }

  .shop-section .add-btn {
    font-size: 15px;
    padding: 8px 16px;
  }
}

/* Pagination Container */
.pagination {
  display: flex;
  justify-content: center;  /* center horizontally */
  align-items: center;      /* center vertically */
  gap: 15px;                /* space between buttons */
  margin: 30px 0;           /* spacing above and below */
  flex-wrap: wrap;          /* wrap on small screens */
}

/* Buttons */
.pagination button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #0e0e0e;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
  background-color: #fff;
  color: #0e0e0e;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Page Info */
.pagination #pageInfo {
  font-size: 16px;
  color: #fff;
}

/* === Responsive for smaller screens === */
@media (max-width: 480px) {
  .pagination button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .pagination #pageInfo {
    font-size: 14px;
  }

  .pagination {
    gap: 10px;
  }
}
.products-container {
  opacity: 1;
  transition: opacity 0.5s ease; /* smooth fade */
}
.products-container.fade-out {
  opacity: 0;
}
