/* ── Products Page Styles (sidebar + grid layout) ───────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}
.animal-panel.hidden-search {
  display: none;
}

/* Hero Section */
/* Hero Section */
.prod-hero {
  background: #000;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.prod-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/headerimages/products.png') bottom center / cover;
  opacity: 0.55; /* updated overlay opacity */
}

.prod-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Market Bar */
.mkt-bar {
  background: var(--stone);
  border-bottom: 1px solid var(--border);
}
.mkt-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mkt-text {
  font-size: 13px;
  color: var(--ink-light);
}
.mkt-text strong {
  color: var(--navy-dark);
}
.mkt-switcher {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.mkt-btn {
  padding: 7px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-light);
  transition: all 0.15s;
}
.mkt-btn:last-child {
  border-right: none;
}
.mkt-btn.active {
  background: var(--navy-dark);
  color: var(--white);
}
.mkt-btn.active.gcc {
  background: var(--gold);
}

/* NEW: Two‑column layout (sidebar + main) */
.products-layout {
  display: flex;
  gap: 32px;
  padding: 25px 0 64px;
  background: var(--stone);
}
/* LEFT SIDEBAR (filter panel) */
.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
  height: fit-content;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}
.filter-group {
  margin-bottom: 32px;
}
.filter-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
  color: var(--navy-dark);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  text-transform: uppercase;
}
/* Vertical animal tabs */
.animal-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.atab-vert {
  background: var(--stone);
  border: none;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-sans);
  width: 100%;
  color: #3d4a5c;
  transition: all 0.2s ease;
}
.atab-vert.active {
  background: var(--navy-dark);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.atab-vert.active::before {
  content: "🐐 ";
  font-size: 0.9rem;
}
.atab-vert[data-animal="sheep"].active::before {
  content: "🐑 ";
}
.atab-vert[data-animal="camel"].active::before {
  content: "🐫 ";
}
/* Category pills vertical */
.cat-pills-vertical {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.cat-pill-vert {
  background: #f0eee9;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink-light);
}
.cat-pill-vert.active {
  background: var(--navy-dark);
  color: white;
  border-color: var(--navy-dark);
}
/* vertical search */
.search-wrap-vert {
  display: flex;
  align-items: center;
  background: var(--stone);
  border-radius: 60px;
  padding: 4px 16px;
  border: 1px solid var(--border);
}
.search-icon-vert {
  font-size: 1rem;
  margin-right: 8px;
  opacity: 0.6;
}
.search-input-vert {
  background: transparent;
  border: none;
  padding: 10px 0;
  width: 100%;
  outline: none;
  font-size: 0.8rem;
  font-family: var(--font-sans);
}
/* RIGHT MAIN CONTENT */
.product-grid-main {
  flex: 1;
  min-width: 0; /* avoid flex overflow */
}
/* product grid – consistent with original */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1060px) {
  .pc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .products-layout {
    flex-direction: column;
  }
  .filter-sidebar {
    width: 100%;
    position: static;
  }
  .pc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .pc-grid {
    grid-template-columns: 1fr;
  }
}
/* product card — fully preserved */
.pc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}
.pc:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
  transform: translateY(-4px);
}
.pc.hidden-search {
  display: none;
}
.pc-img-link {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--stone-mid);
}
.pc-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
  display: block;
}
.pc:hover .pc-img-link img {
  transform: scale(1.06);
}
.pc-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pc-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var( --navy-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pc-desc {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 10px;
  flex: 1;
}
.pc-specs {
  background: var(--stone);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
.pc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
}
.pc-spec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-light);
  flex-shrink: 0;
}
.pc-spec-val {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.pc-cta {
  display: block;
  text-align: center;
  padding: 9px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.pc:hover .pc-cta {
  background: #203b24;
}

.prod-section {
  margin-bottom: 44px;
}
.cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.cat-header-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
}
.cat-divider {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.no-results {
  display: none;
  text-align: center;
  padding: 64px 24px;
  background: transparent;
}
.no-results.visible {
  display: block;
}
.no-results p {
  color: var(--ink-light);
  font-size: 15px;
  margin-top: 8px;
}

.camel-note {
  background: var( --navy-dark);
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.camel-note-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.camel-note-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.bottom-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.strip-card {
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strip-card-navy {
  background: var( --navy-dark);
}
.strip-card-stone {
  background: var(--stone);
  border: 1px solid var(--border);
}
.strip-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.strip-icon-navy {
  background: var(--navy-dark);
}
.strip-title-gold {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.strip-title-navy {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.strip-text-white {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}
.strip-text-ink {
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.65;
}
@media (max-width: 700px) {
  .bottom-strip {
    grid-template-columns: 1fr;
  }
  .mkt-bar-inner {
    padding: 10px 20px;
  }
}

/* keep original utility classes for consistency */

.btn-gold {
  background: var(--gold);
  color: var( --navy-dark);
  padding: 10px 26px;
  border-radius: 60px;
  font-weight: 600;
}