/* =========================================================
   LUXURYPERCS — Core Stylesheet
   Design tokens: near-black bg, matte gold accent, wellness green CTA
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Color tokens */
  --bg: #0D1117;
  --bg-elevated: #1A1F28;
  --bg-elevated-2: #20262F;
  --text: #F5F3EE;
  --text-muted: #9CA3AF;
  --text-faint: #6B7280;
  --gold: #C9A227;
  --gold-soft: rgba(201,162,39,.35);
  --green: #06736B;
  --green-bright: #0A8F85;
  --border: rgba(245,243,238,.08);
  --border-gold: rgba(201,162,39,.25);

  /* Type */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max: 1240px;
  --radius: 4px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

.wrap{ max-width: var(--max); margin:0 auto; padding:0 32px; }

/* ===================== Typography ===================== */
h1, h2, h3, .display{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--text);
}

h1{ font-size: clamp(2.7rem, 5.2vw, 4.9rem); font-weight: 400; letter-spacing:-0.02em; }
h2{ font-size: clamp(2rem, 3.4vw, 3rem); }
h3{ font-size: 1.32rem; font-weight: 500; }

.eyebrow{
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  display:inline-flex;
  align-items:center;
  gap:12px;
}
.eyebrow::before{
  content:'';
  width:24px; height:1px;
  background: var(--gold);
  display:inline-block;
}

p{ color: var(--text-muted); }
.lede{ font-size:1.18rem; line-height:1.72; max-width:640px; }

/* ===================== Signature: Breath Line ===================== */
.breath-line{
  width:100%;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--border-gold) 20%, var(--gold) 50%, var(--border-gold) 80%, transparent);
  background-size: 200% 100%;
  background-position: 200% 0;
  opacity:.5;
  transition: background-position 1.8s ease, opacity 1.8s ease;
}
.breath-line.lit{
  background-position: 0 0;
  opacity:1;
}

/* ===================== Header / Nav ===================== */
.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(13,17,23,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 32px;
  max-width: var(--max); margin:0 auto;
}
.logo{
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text);
  display:flex; align-items:center; gap:11px;
}
.logo-mark{ height:32px; width:32px; flex-shrink:0; display:block; object-fit:contain; }
.logo span{ color: var(--gold); }
.nav-links{ display:flex; gap:38px; align-items:center; }
.nav-links a{
  font-size:.86rem; font-weight:500;
  letter-spacing:.01em;
  color: var(--text-muted);
  transition: color .25s ease;
  position:relative;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-6px;
  width:0; height:1px; background:var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.active{ color: var(--gold); }
.nav-links a.active::after{ width:100%; }
.nav-cta{
  padding:11px 24px;
  background: var(--green);
  color:#fff;
  border-radius: var(--radius);
  font-size:.85rem; font-weight:600;
  letter-spacing:.01em;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}
.nav-cta:hover{ background: var(--green-bright); transform: translateY(-1px); box-shadow:0 6px 18px rgba(6,115,107,.3); }
.nav-cta::after{ display:none; }
.nav-toggle{ display:none; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; color:var(--text); font-size:1.5rem; }
  .nav-cta{ display:none; }
}

/* ===================== Buttons ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size:.92rem; font-weight:600;
  letter-spacing:.01em;
  transition: all .25s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--green); color:#fff; }
.btn-primary:hover{ background: var(--green-bright); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,115,107,.35); }
.btn-secondary{ background: transparent; color: var(--gold); border:1px solid var(--border-gold); }
.btn-secondary:hover{ border-color: var(--gold); background: rgba(201,162,39,.06); }
.btn-ghost{ background: transparent; color: var(--text); border:1px solid var(--border); }
.btn-ghost:hover{ border-color: var(--text-muted); }
.btn-lg{ padding:17px 36px; font-size:1rem; }
.btn-block{ width:100%; }

/* ===================== Hero Slider ===================== */
.hero-slider{
  position:relative; height:92vh; min-height:640px;
  overflow:hidden;
  background: var(--bg-elevated);
  display:flex; align-items:center;
}
.hero-slide{
  position:absolute; inset:0;
  opacity:0; transition: opacity 1.4s ease;
  display:flex; align-items:flex-end;
}
.hero-slide.active{ opacity:1; }
.hero-slide .slide-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}
.hero-slide.active .slide-img{ transform: scale(1); }
.hero-slide .ph{
  position:absolute; inset:0;
  background: linear-gradient(160deg, #1A1F28, #0D1117 70%);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint); font-size:.85rem; letter-spacing:.05em;
}
.hero-slide::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,17,23,.25) 0%, rgba(13,17,23,.45) 55%, rgba(13,17,23,.94) 100%);
}
.hero-content{
  position:relative; z-index:2;
  width:100%; padding: 0 32px;
  max-width: var(--max); margin:0 auto;
  transform: translateY(-4%);
}
.hero-content .eyebrow{ color: var(--gold); }
.hero-content h1{ color:#fff; max-width:820px; margin-bottom:24px; }
.hero-content p.lede{ color: rgba(245,243,238,.82); margin-bottom: 38px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-dots{
  position:absolute; bottom:36px; right:32px; z-index:3;
  display:flex; gap:10px;
}
.hero-dot{
  width:32px; height:3px; background: rgba(245,243,238,.22);
  border-radius:2px; transition: background .3s ease; cursor:pointer;
}
.hero-dot.active{ background: var(--gold); }

@media (max-width: 700px){
  .hero-slider{ height:82vh; align-items:center; }
  .hero-content{ padding-bottom:0; transform: translateY(-2%); }
  .hero-dots{ right:20px; bottom:24px; }
}

/* ===================== Category Cards ===================== */
.section{ padding: 130px 0; }
.section-tight{ padding: 84px 0; }
.section-head{ margin-bottom: 64px; max-width:680px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.cat-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:24px;
}
.cat-card{
  position:relative; aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color .3s ease, transform .3s ease;
}
.cat-card:hover{ border-color: var(--border-gold); transform: translateY(-4px); }
.cat-card .ph{
  position:absolute; inset:0;
  background: linear-gradient(160deg, #20262F, #14181F);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint); font-size:.78rem;
}
.cat-card::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,17,23,.94) 100%);
}
.cat-card-body{
  position:absolute; bottom:0; left:0; right:0; z-index:2;
  padding: 26px 22px;
}
.cat-card-body .count{ font-size:.78rem; color: var(--gold); letter-spacing:.05em; margin-bottom:6px; display:block; }
.cat-card-body h3{ color:#fff; margin-bottom:4px; }
.cat-card-body .arrow{ color: var(--text-muted); font-size:.85rem; }

@media (max-width: 1000px){ .cat-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cat-grid{ grid-template-columns: 1fr; } }

/* ===================== Product Grid (Featured) ===================== */
.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  transition: border-color .3s ease, transform .3s ease;
  display:flex; flex-direction:column;
}
.product-card:hover{ border-color: var(--border-gold); transform: translateY(-4px); }
.product-card.featured-lg{ grid-column: span 2; grid-row: span 2; }
.product-card .thumb{
  aspect-ratio: 4/3; position:relative;
  background: linear-gradient(160deg, #20262F, #14181F);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint); font-size:.78rem;
  border-bottom:1px solid var(--border);
}
.product-card.featured-lg .thumb{ aspect-ratio:16/11; }
.product-card .body{ padding: 22px; flex:1; display:flex; flex-direction:column; }
.product-card .brand{ font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--text-faint); margin-bottom:8px; }
.product-card h3{ font-size:1.08rem; margin-bottom:10px; }
.product-card.featured-lg h3{ font-size:1.5rem; }
.stat-pill{
  display:inline-flex; align-items:center; gap:6px;
  font-size:.78rem; color: var(--gold);
  background: rgba(201,162,39,.08);
  border:1px solid var(--border-gold);
  padding: 5px 12px; border-radius:20px;
  margin-bottom:14px; width:fit-content;
}
.product-card .price-row{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:auto; padding-top:14px;
  border-top:1px solid var(--border);
}
.price-from{ font-size:.74rem; color: var(--text-faint); display:block; }
.price-amt{ font-family: var(--font-display); font-size:1.2rem; color: var(--text); }
.rating{ display:flex; align-items:center; gap:5px; font-size:.82rem; color: var(--text-muted); }
.rating .stars{ color: var(--gold); letter-spacing:1px; }

@media (max-width: 1000px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .product-card.featured-lg{ grid-column: span 2; grid-row:auto; }
}
@media (max-width: 600px){
  .product-grid{ grid-template-columns: 1fr; }
  .product-card.featured-lg{ grid-column: span 1; }
}

/* ===================== Trust Band ===================== */
.trust-band{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-grid{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
}
.trust-item{
  padding: 44px 32px;
  text-align:center;
  border-left: 1px solid var(--border);
}
.trust-item:first-child{ border-left:none; }
.trust-item .icon{ color: var(--gold); font-size:1.5rem; margin-bottom:14px; }
.trust-item h4{ font-size:.95rem; color:var(--text); margin-bottom:6px; font-weight:600; }
.trust-item p{ font-size:.84rem; margin:0; }

@media (max-width: 900px){
  .trust-grid{ grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3){ border-left:none; }
}
@media (max-width: 560px){
  .trust-grid{ grid-template-columns: 1fr; }
  .trust-item{ border-left:none !important; border-top:1px solid var(--border); }
  .trust-item:first-child{ border-top:none; }
}

/* ===================== Compare Section ===================== */
.compare-list{ display:flex; flex-direction:column; gap:1px; background: var(--border); border-radius: var(--radius); overflow:hidden; }
.compare-row{
  display:grid; grid-template-columns: 1fr auto 1fr;
  align-items:center; gap:24px;
  background: var(--bg-elevated);
  padding: 32px 36px;
  transition: background .25s ease;
}
.compare-row:hover{ background: var(--bg-elevated-2); }
.compare-side{ display:flex; align-items:center; gap:16px; }
.compare-side .thumb-sm{
  width:64px; height:64px; flex-shrink:0;
  background: #14181F; border-radius: var(--radius);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint); font-size:.65rem;
}
.compare-side.right{ flex-direction:row-reverse; text-align:right; }
.compare-vs{
  font-family: var(--font-display); font-style:italic;
  color: var(--gold); font-size:1rem;
}
.compare-side h4{ font-size:1.02rem; margin-bottom:3px; }
.compare-side p{ font-size:.82rem; margin:0; }

@media (max-width: 700px){
  .compare-row{ grid-template-columns:1fr; gap:14px; padding: 24px; }
  .compare-side.right{ flex-direction:row; text-align:left; }
  .compare-vs{ justify-self:center; }
}

/* ===================== Guides / Editorial List ===================== */
.guide-list{ display:flex; flex-direction:column; }
.guide-row{
  display:grid; grid-template-columns: 90px 1fr auto;
  gap:28px; align-items:center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .25s ease;
}
.guide-row:hover{ padding-left:8px; }
.guide-row .gtag{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color: var(--gold); }
.guide-row h3{ font-size:1.15rem; margin-bottom:6px; }
.guide-row p{ font-size:.88rem; margin:0; max-width:520px; }
.guide-row .garrow{ color: var(--text-faint); font-size:1.3rem; transition: color .25s ease, transform .25s ease; }
.guide-row:hover .garrow{ color: var(--gold); transform: translateX(4px); }

@media (max-width: 700px){
  .guide-row{ grid-template-columns: 1fr; gap:8px; }
  .guide-row .garrow{ display:none; }
}

/* ===================== Footer ===================== */
.site-footer{ border-top:1px solid var(--border); padding-top: 70px; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:48px;
  padding-bottom: 56px;
}
.footer-grid h4{ font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color: var(--text); margin-bottom:18px; font-weight:600; }
.footer-grid ul{ display:flex; flex-direction:column; gap:11px; }
.footer-grid a{ font-size:.88rem; color: var(--text-muted); transition: color .2s ease; }
.footer-grid a:hover{ color: var(--gold); }
.footer-brand .logo{ margin-bottom:16px; }
.footer-brand .logo .logo-mark{ height:36px; width:36px; }
.footer-brand p{ font-size:.86rem; max-width:280px; margin-bottom:20px; }
.newsletter-form{ display:flex; gap:8px; max-width:320px; }
.newsletter-form input{
  flex:1; padding:12px 14px; background: var(--bg-elevated);
  border:1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-size:.85rem; font-family:inherit;
}
.newsletter-form input:focus{ outline:2px solid var(--gold-soft); border-color: var(--gold); }
.footer-bottom{
  border-top:1px solid var(--border);
  padding: 22px 0 28px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ font-size:.78rem; margin:0; color: var(--text-faint); }
.footer-legal-links{ display:flex; gap:20px; }
.footer-legal-links a{ font-size:.78rem; color: var(--text-faint); }
.footer-legal-links a:hover{ color: var(--gold); }
.operator-block{
  font-size:.74rem; color: var(--text-faint); line-height:1.9;
  padding: 18px 0; text-align:center; border-top:1px solid var(--border);
}

@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ===================== Affiliate Disclosure Banner ===================== */
.aff-note{
  background: rgba(201,162,39,.06);
  border:1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size:.82rem; color: var(--text-muted);
  display:flex; gap:10px; align-items:flex-start;
}
.aff-note a{ color: var(--gold); text-decoration:underline; }

/* ===================== Cookie Banner ===================== */
.cookie-banner{
  position:fixed; bottom:0; left:0; right:0; z-index:1000;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-gold);
  padding: 20px 32px;
  display:none;
}
.cookie-banner.show{ display:block; }
.cookie-inner{
  max-width: var(--max); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap;
}
.cookie-inner p{ font-size:.85rem; margin:0; max-width:600px; }
.cookie-inner a{ color: var(--gold); text-decoration:underline; }
.cookie-actions{ display:flex; gap:12px; flex-shrink:0; }
.cookie-actions .btn{ padding:10px 20px; font-size:.82rem; }

/* ===================== Utility ===================== */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.container-narrow{ max-width: 760px; margin:0 auto; padding:0 32px; }

/* Page header for inner pages */
.page-hero{
  padding: 190px 0 70px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(201,162,39,.05), transparent);
}
.page-hero h1{ margin-bottom:16px; }
.breadcrumb{ font-size:.82rem; color: var(--text-faint); margin-bottom:24px; letter-spacing:.02em; }
.breadcrumb a{ color: var(--text-muted); }
.breadcrumb a:hover{ color: var(--gold); }

/* Legal page prose */
.prose{ max-width:760px; }
.prose h2{ font-size:1.5rem; margin: 40px 0 16px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ margin-bottom:16px; font-size:.96rem; }
.prose ul{ margin: 0 0 16px 0; padding-left:0; }
.prose li{ color: var(--text-muted); font-size:.96rem; margin-bottom:10px; padding-left:22px; position:relative; }
.prose li::before{ content:'—'; position:absolute; left:0; color: var(--gold); }
.prose strong{ color: var(--text); }
.updated-date{ font-size:.82rem; color: var(--text-faint); margin-bottom:40px; display:block; }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  *{ transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html{ scroll-behavior:auto; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===================== Premium Refinements ===================== */
.cat-card{ box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cat-card:hover{ box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.cat-card .cat-card-body h3{ transition: color .25s ease; }
.cat-card:hover .cat-card-body h3{ color: var(--gold); }

.product-card:hover{ box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.product-card h3{ transition: color .25s ease; }
.product-card:hover h3{ color: var(--gold); }

/* Section eyebrow centered helper */
.section-head.center .eyebrow{ justify-content:center; }

/* Subtle grain/vignette on hero for depth */
.hero-slider::before{
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(ellipse at 50% 0%, transparent 55%, rgba(13,17,23,.35) 100%);
}

/* Refined buttons */
.btn{ letter-spacing:.015em; border-radius: var(--radius); }
.btn-primary{ box-shadow: 0 2px 8px rgba(6,115,107,.2); }

/* Trust band icons larger and refined */
.trust-item .icon{ font-size:1.7rem; opacity:.92; }
.trust-item{ transition: background .3s ease; }
.trust-item:hover{ background: var(--bg-elevated-2); }

/* Smoother gallery + buy box on product page */
.buy-box{ box-shadow: 0 8px 30px rgba(0,0,0,.25); }

/* Footer polish */
.site-footer{ margin-top:0; }
.footer-brand p{ line-height:1.7; }

/* Nicer focus on inputs */
.newsletter-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: var(--text-faint); }

/* Links in prose */
.prose a{ color: var(--gold); text-decoration: underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.prose a:hover{ color: var(--text); }

/* Slightly tighter mobile section spacing */
@media (max-width: 700px){
  .section{ padding: 80px 0; }
  .section-tight{ padding: 56px 0; }
  .section-head{ margin-bottom: 40px; }
  .wrap{ padding: 0 22px; }
  h1{ font-size: clamp(2.3rem, 9vw, 3rem); }
}

/* ===================== Category / Catalog Page ===================== */
.catalog-layout{ display:grid; grid-template-columns: 260px 1fr; gap:48px; padding: 56px 0 100px; }

.filter-sidebar{ align-self:start; position:sticky; top:100px; }
.filter-group{ padding-bottom:26px; margin-bottom:26px; border-bottom:1px solid var(--border); }
.filter-group:last-child{ border-bottom:none; }
.filter-group h4{ font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text); margin-bottom:16px; font-weight:600; }
.filter-opt{ display:flex; align-items:center; gap:10px; margin-bottom:11px; cursor:pointer; font-size:.9rem; color:var(--text-muted); transition:color .2s ease; }
.filter-opt:hover{ color:var(--text); }
.filter-opt input{ accent-color: var(--green); width:16px; height:16px; cursor:pointer; }
.filter-opt .cnt{ margin-left:auto; font-size:.78rem; color:var(--text-faint); }
.price-inputs{ display:flex; align-items:center; gap:8px; }
.price-inputs input{ width:100%; padding:9px 11px; background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius); color:var(--text); font-size:.85rem; font-family:inherit; }
.price-inputs input:focus{ outline:none; border-color:var(--gold); }
.price-inputs span{ color:var(--text-faint); }
.clear-filters{ font-size:.82rem; color:var(--gold); background:none; padding:0; margin-top:4px; text-decoration:underline; text-underline-offset:3px; }

.catalog-main .catalog-toolbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.catalog-toolbar .count-txt{ font-size:.9rem; color:var(--text-muted); }
.catalog-toolbar .count-txt strong{ color:var(--text); }
.sort-wrap{ display:flex; align-items:center; gap:10px; }
.sort-wrap label{ font-size:.82rem; color:var(--text-faint); }
.sort-wrap select{ padding:9px 14px; background:var(--bg-elevated); border:1px solid var(--border); border-radius:var(--radius); color:var(--text); font-size:.85rem; font-family:inherit; cursor:pointer; }
.sort-wrap select:focus{ outline:none; border-color:var(--gold); }

.catalog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.catalog-grid .product-card .thumb{ aspect-ratio:4/3; }

.empty-state{ display:none; text-align:center; padding:80px 20px; color:var(--text-muted); }
.empty-state h3{ margin-bottom:10px; }

.filter-toggle-btn{ display:none; }

@media (max-width: 1000px){
  .catalog-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px){
  .catalog-layout{ grid-template-columns: 1fr; gap:0; }
  .filter-sidebar{
    position:fixed; top:0; left:0; bottom:0; width:280px; z-index:200;
    background:var(--bg-elevated); border-right:1px solid var(--border);
    padding:80px 24px 24px; overflow-y:auto;
    transform:translateX(-100%); transition:transform .3s ease;
  }
  .filter-sidebar.open{ transform:translateX(0); }
  .filter-toggle-btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 20px; background:var(--bg-elevated);
    border:1px solid var(--border-gold); border-radius:var(--radius);
    color:var(--gold); font-size:.85rem; font-weight:600; margin-bottom:24px;
  }
}
@media (max-width: 560px){
  .catalog-grid{ grid-template-columns: 1fr; }
}

/* Category intro header */
.cat-intro{ padding: 180px 0 40px; border-bottom:1px solid var(--border); background: linear-gradient(180deg, rgba(201,162,39,.05), transparent); }
.cat-intro .lede{ margin-top:6px; }
.cat-subcats{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.cat-subcats a{ font-size:.82rem; padding:8px 16px; background:var(--bg-elevated); border:1px solid var(--border); border-radius:20px; color:var(--text-muted); transition:all .2s ease; }
.cat-subcats a:hover{ border-color:var(--border-gold); color:var(--gold); }
