.shop-hero {
  text-align: center;
  padding: 60px 0 20px;
}

.shop-filters {
  padding: 10px 0 20px;
}

#search-bar {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f5fb;
  margin-bottom: 14px;
}

.filters-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.shop-empty-note { color: #cfd8ff; text-align:center; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.product-card h3 {
  font-size: 18px;
  margin: 10px 0;
  min-height: 50px;
  color: #d4af37;
}

.product-card .price {
  font-size: 20px;
  font-weight: bold;
  color: #d4af37;
  margin: auto 0 15px 0;
}

.product-card .view-product-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #d4af37, #f0c659);
  color: #0f0c29;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: auto;
}

/* Tablet breakpoint - 2 columns */
@media (min-width: 481px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
    padding: 0 15px;
  }

  .product-card img {
    height: 180px;
  }

  .product-card h3 {
    font-size: 16px;
    min-height: 40px;
  }
}

/* Phone breakpoint - 1 column */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 15px;
  }

  .product-card {
    width: 100% !important;
    margin: 0 auto;
  }

  .product-card img {
    height: 200px;
  }

  .product-card h3 {
    font-size: 16px;
    min-height: 40px;
  }

  .product-card .view-product-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Forms mobile optimization */
  input, select, textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    width: 100%;
  }

  /* Filter panel stacking */
  .filters-panel {
    grid-template-columns: 1fr !important;
  }

  .shop-filters .form-group {
    width: 100%;
  }
}
