/* ===== PRODUCTS PAGE ===== */

/* Page Hero */
.page-hero {
  min-height: 320px; padding-top: 72px;
  background: linear-gradient(135deg, #1a1a2e 0%, #302b63 60%, #24243e 100%);
  display: flex; align-items: center; position: relative;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2; padding: 3rem 0;
}
.page-hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white);
  margin-bottom: 0.75rem; font-weight: 600;
}
.page-hero-content h1 em { color: var(--gold); font-style: normal; }
.page-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 500px; }

/* Sticky Filter */
.filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.sticky-filter { position: sticky; top: 72px; z-index: 100; }
.filter-tabs {
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 1.1rem 1.5rem; border: none; background: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  font-weight: 500; color: var(--gray); cursor: pointer;
  border-bottom: 2.5px solid transparent; white-space: nowrap;
  transition: var(--transition);
}
.filter-tab:hover { color: var(--primary); }
.filter-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* Products Section */
.products-section { background: var(--light); }
.product-category-block { margin-bottom: 5rem; }
.category-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.subcategory-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray);
  margin: 2rem 0 1.25rem; display: flex; align-items: center; gap: 1rem;
}
.subcategory-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--border); overflow: hidden;
  position: relative; transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 50px;
}
.product-badge.new { background: #22c55e; }
.product-image {
  height: 200px; background: linear-gradient(135deg, #f8f5f0, #ede9e0);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.prod-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(26,26,46,0.2); font-size: 3rem; text-align: center;
}
.prod-placeholder small { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.6; }
.product-info { padding: 1.5rem; }
.product-category-tag {
  display: inline-block; background: rgba(230,57,70,0.08);
  color: var(--accent); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 50px;
  border: 1px solid rgba(230,57,70,0.2); margin-bottom: 0.6rem;
}
.product-info h3 {
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  font-weight: 600; margin-bottom: 0.75rem; line-height: 1.4;
}
.product-specs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1rem;
}
.product-specs span {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: var(--gray);
  background: var(--light-gray); padding: 0.25rem 0.6rem;
  border-radius: 50px;
}
.product-specs span i { font-size: 0.65rem; color: var(--accent); }
.product-features {
  display: flex; flex-direction: column; gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.product-features li {
  font-size: 0.8rem; color: var(--gray);
  display: flex; align-items: flex-start; gap: 6px;
}
.product-features li::before {
  content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; margin-top: 0px;
}
.product-actions { display: flex; gap: 0.75rem; }
.product-actions .btn {
  flex: 1; justify-content: center; padding: 0.65rem 1rem; font-size: 0.82rem;
}

/* CTA section (reused) */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #b0202e 100%);
  padding: 4rem 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 0.5rem; }
.cta-content p { color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--white); color: var(--accent); }
.cta-actions .btn-primary:hover { background: var(--light); }
.cta-actions .btn-secondary { border-color: rgba(255,255,255,0.5); color: var(--white); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .category-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-inner { flex-direction: column; text-align: center; }
}
