/* ========== GLOBAL STYLES ========== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #000;
  color: #FFD700;
}

h1, h2, h3, h4, h5, h6, p, a, span, label {
  color: #FFD700;
  margin: 0;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #000;
  border-bottom: 1px solid #FFD700;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFD700;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu li a {
  color: #FFD700;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  border-bottom: 2px solid #FFD700;
}

.cart-icon, .wishlist-icon {
  position: relative;
}

.cart-count, .wishlist-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #FFD700;
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #FFD700;
  margin: 4px 0;
  transition: 0.4s;
}

/* ========== PAGE HEADER ========== */
.page-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #aaa;
}

/* ========== FILTERS & SORTING ========== */
.products-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filters-section h3 {
  margin-bottom: 0.8rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border: 2px solid #FFD700;
  background: transparent;
  color: #FFD700;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #FFD700;
  color: #000;
}

.sort-section label {
  margin-right: 0.5rem;
}

#sort-select {
  border: 2px solid #FFD700;
  background: black;
  color: #FFD700;
  padding: 0.5rem;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.product-card {
  width: 260px;
  height: 420px;
  border: 1px solid #FFD700;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.4s;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-8px);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  min-height: 40px;
}

.price {
  font-weight: bold;
  margin: 0.3rem 0;
}

.rating i {
  color: #FFD700;
}

.add-to-cart-btn {
  margin-top: 1rem;
  border: 2px solid #FFD700;
  background: transparent;
  padding: 0.5rem 1rem;
  color: #FFD700;
  cursor: pointer;
  transition: 0.3s;
}

.add-to-cart-btn:hover {
  background: #FFD700;
  color: #000;
}

/* ========== LOAD MORE BUTTON ========== */
.load-more-container {
  text-align: center;
  margin: 2rem 0;
}

.load-more-btn {
  border: 2px solid #FFD700;
  background: transparent;
  color: #FFD700;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.load-more-btn:hover {
  background: #FFD700;
  color: #000;
}

/* ========== FOOTER ========== */
.footer {
  background: #000;
  border-top: 1px solid #FFD700;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4, 
.footer-section h3 {
  margin-bottom: 0.8rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #FFD700;
  font-size: 0.9rem;
}

.social-links a {
  margin-right: 0.6rem;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #FFD700;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #000;
    border-top: 1px solid #FFD700;
    padding: 1rem;
  }
  .nav-menu.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .products-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .products-grid {
    justify-items: center;
  }
}
