/* ── PRODUCTS PAGE ── */

.products-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 28px) 24px 28px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(6,92,58,0.3) 0%, transparent 70%);
}
.products-hero-inner { position: relative; z-index: 2; }

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 16px 24px;
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
  background: rgba(4,57,39,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,183,76,0.1);
}
.filter-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border: 1px solid rgba(223,183,76,0.3);
  border-radius: 6px;
  background: transparent;
  color: rgba(232,220,200,0.6);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  color: var(--green);
  border-color: var(--gold);
  font-weight: 700;
}

/* ── PRODUCTS SECTION ── */
.products-section {
  padding: 32px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.products-loading {
  grid-column: 1/-1;
  text-align: center;
  color: rgba(232,220,200,0.4);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  padding: 60px 0;
  letter-spacing: 0.1em;
}

/* ── PRODUCT CARD ── */
.product-card {
  border: 1px solid rgba(223,183,76,0.14);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(223,183,76,0.35);
  border-color: rgba(223,183,76,0.4);
}

/* Photo */
.product-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #021f17;
  position: relative;
}
.product-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-photo img { transform: scale(1.04); }

/* Category tag — bottom left of photo */
.product-category {
  position: absolute;
  bottom: 8px; left: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
}

/* Bestseller tag — top right of photo */
.product-bestseller {
  position: absolute;
  top: 8px; right: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: #e8c84a;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
}

/* Info */
.product-info {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-name {
  font-family: 'Alestyn', 'Palatino Linotype', 'Book Antiqua', Palatino, serif, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 0.98rem;
  color: var(--gold);
  line-height: 1.25;
  margin: 0;
}
.product-price-row { display: flex; align-items: center; }
.product-price {
  font-family: 'Alestyn', 'Palatino Linotype', 'Book Antiqua', Palatino, serif, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1;
}

/* Actions row — enquire + video side by side */
.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Enquire button */
.product-cta {
  flex: 1;
  display: block;
  text-align: center;
  padding: 8px 10px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-family: 'Alestyn', 'Palatino Linotype', 'Book Antiqua', Palatino, serif, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.product-cta:hover { background: var(--gold); color: var(--green); }

/* Video / Instagram reel button */
.product-video-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(223,183,76,0.1);
  border: 1.5px solid rgba(223,183,76,0.35);
  border-radius: 6px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.product-video-btn:hover {
  background: rgba(223,183,76,0.2);
  border-color: var(--gold);
}


/* Hidden state */
.product-card.hidden { display: none; }

/* Responsive */
@media (max-width: 768px) {
  .products-hero { padding: calc(var(--nav-h) + 20px) 20px 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 10px 11px 12px; gap: 8px; }
  .product-name { font-size: 0.85rem; }
  .product-price { font-size: 1.05rem; }
  .product-cta { font-size: 0.72rem; padding: 7px 8px; }
  .product-video-btn { font-size: 0.72rem; padding: 7px 8px; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
