/* Category Page Styles */
.products-page {
  position: relative;
  min-height: 100vh;
  padding: 120px 40px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 40px;
  padding: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(241, 212, 114, 0.2);
}

.category-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.category-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-header:hover .category-banner img {
  transform: scale(1.1);
}

.category-header h1 {
  padding: 20px;
  margin: 0;
  font-size: 2.5rem;
  font-family: "Bodoni Moda", serif;
  color: #f1d472;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.category-header p {
  padding: 0 20px 20px;
  color: #f1d472;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  font-family: "Bodoni Moda", serif;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0;
}

.product-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1.5;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-10px);
}

.product-item a {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-item a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-item a:hover::before {
  opacity: 1;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover img {
  transform: scale(1.1);
}

.product-content {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  transform: translateY(150%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.product-content p {
  color: #f1d472;
  font-family: "Bodoni Moda", serif;
  font-size: 1.1rem;
  text-align: center;
  display: block;
  margin: 0;
}

.product-item:hover .product-content {
  transform: translateY(0);
}

.product-item h3 {
  color: #f1d472;
  font-family: "Bodoni Moda", serif;
  font-size: 1.2rem;
  margin: 0 0 10px;
  text-align: center;
}

.product-item .price {
  color: #f1d472;
  font-family: "Bodoni Moda", serif;
  font-size: 1.1rem;
  text-align: center;
  display: block;
  margin: 0;
}

/* Price Styles */
.product-item .price del {
  position: relative;
  text-decoration: none;
  opacity: 0.7;
  margin-right: 10px;
}

.product-item .price del::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: rgba(241, 212, 114, 0.6);
  transform: rotate(-8deg);
}

.product-item .price ins {
  text-decoration: none;
  font-weight: 600;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid rgba(241, 212, 114, 0.2);
  color: #f1d472;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: "Bodoni Moda", serif;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: #f1d472;
  color: #000;
  border-color: #f1d472;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-page {
    padding: 100px 20px 40px;
  }

  .category-banner {
    height: 200px;
  }

  .category-header h1 {
    font-size: 2rem;
  }

  .products-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .category-header h1 {
    font-size: 1.8rem;
  }
}
