/* ================================================
   PRODUCTS PAGE — products.css
   ================================================ */

/* ─── PAGE HEADER ────────────────────────────── */
.products-header {
  padding: 80px 0 60px;
  background: var(--cream);
}

.products-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Filter panel */
.filter-panel {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: flex-end;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ─── CATEGORY SECTION ───────────────────────── */
.cat-section {
  padding: 80px 0;
}

.cat-label {
  margin-bottom: 52px;
}

/* ─── TAGS ───────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.tag--sage {
  background: rgba(74, 122, 101, 0.12);
  color: var(--sage);
}

.tag--sand {
  background: rgba(196, 168, 130, 0.2);
  color: #8A6840;
}

.tag--navy {
  background: rgba(13, 27, 42, 0.08);
  color: var(--navy);
}

/* ─── PRODUCTS GRID ──────────────────────────── */
.products-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ─── PRODUCT CARD V2 ────────────────────────── */
.product-card-v2 {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 16px;
}

.product-img-v2 {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0;
}

.product-v2-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-v2-tags { margin-bottom: 4px; }

.product-v2-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  line-height: 1.25;
}

.product-v2-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-top: 4px;
}

.product-v2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
}

/* ─── FEATURED PRODUCT ───────────────────────── */
.product-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}

.product-featured-img {
  width: 100%;
  min-height: 400px;
  border-radius: 0;
}

.product-featured-text {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.product-featured-text h3 {
  color: var(--navy);
}

.product-featured-price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin: 28px 0;
}

/* ─── CTA BAND ───────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: 80px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1200px) {
  .products-grid-full { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .products-grid-full { grid-template-columns: repeat(2, 1fr); }
  .product-featured { grid-template-columns: 1fr; }
  .product-featured-text { padding: 36px 32px; }
}

@media (max-width: 600px) {
  .products-grid-full { grid-template-columns: 1fr; }
  .products-header-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
