
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════════════════
   MY FIFTH WALL — Complete Design System
   Niche: Home Decor Accents
   Design: Modern Home Editorial
═══════════════════════════════════════════════════ */

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

:root {
  --cream:       #FAF8F5;
  --cream2:      #F3EFE9;
  --white:       #FFFFFF;
  --dark:        #1A1208;
  --brown-deep:  #3D2B1F;
  --brown:       #7C5B40;
  --brown-light: #A8896E;
  --gold:        #A8742C;
  --gold-mid:    #C49A50;
  --gold-light:  #DEC48A;
  --border:      #E4D9CE;
  --border-dark: #C5B5A4;
  --muted:       #8A7C6E;
  --text:        #1A1208;
  --surface:     #FFFFFF;
  --surface2:    #F8F5F1;
  --font-head:   'Playfair Display', 'Georgia', serif;
  --font:        'DM Sans', 'Helvetica Neue', sans-serif;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 2px 16px rgba(26,18,8,.07);
  --shadow-md:   0 4px 28px rgba(26,18,8,.10);
  --shadow-lg:   0 12px 48px rgba(26,18,8,.14);
}

/* ── Base ─────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brown-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── HEADER ──────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(26,18,8,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.2px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .02em;
}
.logo-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}
nav a:hover { color: var(--dark); background: var(--cream2); text-decoration: none; }
.nav-cta {
  background: var(--dark) !important;
  color: var(--gold-light) !important;
  font-weight: 600 !important;
  border-radius: 7px !important;
  padding: 8px 18px !important;
  margin-left: 8px;
  font-size: .8rem !important;
  letter-spacing: .07em !important;
}
.nav-cta:hover { background: var(--brown-deep) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,8,4,.7) 0%, rgba(30,20,10,.5) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(168,116,44,.035) 60px, rgba(168,116,44,.035) 61px
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168,116,44,.18);
  border: 1px solid rgba(168,116,44,.38);
  color: var(--gold-light);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold-light); font-style: italic; }
.hero p {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* Hero split */
.hero.hero-split { min-height: auto; }
.hero-content-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  text-align: left;
}
.hero-content-split .hero-text h1,
.hero-content-split .hero-text p { text-align: left; margin-left: 0; margin-right: 0; }

/* Hero CTAs */
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: .92rem;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  letter-spacing: .02em;
}
.hero-btn-primary:hover { background: var(--gold-mid); color: #fff; text-decoration: none; transform: translateY(-1px); }
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,.82);
  font-family: var(--font);
  font-weight: 500;
  font-size: .9rem;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28);
  text-decoration: none;
  transition: all .2s;
}
.hero-btn-secondary:hover { border-color: rgba(255,255,255,.6); color: #fff; text-decoration: none; }

/* Hero trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .79rem;
  color: rgba(255,255,255,.55);
  font-family: var(--font);
}
.hero-trust-icon { font-size: .85rem; color: var(--gold-light); }

/* Hero visual / logo mark */
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,.04);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-logo-mark {
  aspect-ratio: 1/1;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-logo-badge {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-badge::before,
.hero-logo-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(168,116,44,.32);
}
.hero-logo-badge::after {
  inset: 14px;
  border-color: rgba(168,116,44,.58);
  border-width: 2px;
}
.hero-logo-inner {
  width: 130px;
  height: 130px;
  background: rgba(168,116,44,.1);
  border-radius: 50%;
  border: 2px solid rgba(168,116,44,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hero-logo-mono {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .08em;
  line-height: 1;
}
.hero-logo-line {
  width: 36px;
  height: 1px;
  background: rgba(168,116,44,.55);
}
.hero-logo-sub {
  font-family: var(--font);
  font-size: .58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(168,116,44,.75);
}
.hero-logo-caption {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hero-logo-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}
.hero-logo-tag {
  font-size: .77rem;
  color: rgba(255,255,255,.48);
  max-width: 240px;
  line-height: 1.5;
}

@media(max-width: 880px) {
  .hero-content-split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-content-split .hero-text h1,
  .hero-content-split .hero-text p { text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-logo-mark { max-width: 300px; margin: 0 auto; }
}
@media(max-width: 560px) {
  .hero { padding: 56px 0 52px; }
}

/* Affiliate bar */
.aff-bar {
  background: var(--cream2);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}
.aff-bar strong { color: var(--brown-deep); font-weight: 600; }

/* Section headings */
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-head p { color: var(--muted); font-size: .97rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }
.section-head .divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── PRODUCT GRID ─────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
@media(min-width: 1100px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media(min-width: 820px) and (max-width: 1099px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 540px) and (max-width: 819px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); text-decoration: none; color: inherit; }
.card-img-wrap { position: relative; height: 210px; overflow: hidden; background: var(--cream2); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-wrap.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brown-deep), var(--brown));
}
.card-img-placeholder { font-size: 3.5rem; opacity: .22; }
.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--dark);
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-family: var(--font);
}
.card-rating-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.92);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.card-rating-badge .si { color: var(--gold); font-size: .85rem; }
.card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-brand {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--font);
}
.card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--dark);
}
.card-snippet { font-size: .84rem; color: var(--muted); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stars-row { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.stars-char { color: var(--gold); font-size: .9rem; letter-spacing: 1px; }
.rating-num  { font-weight: 700; font-size: .88rem; color: var(--dark); }
.rating-count { font-size: .78rem; color: var(--muted); }
.card-footer { padding: 13px 20px; border-top: 1px solid var(--border); }
.btn-review {
  display: block;
  text-align: center;
  background: var(--dark);
  color: var(--gold-light);
  padding: 10px 16px;
  border-radius: 7px;
  font-size: .84rem;
  font-weight: 600;
  transition: background .2s;
  font-family: var(--font);
}
.btn-review:hover { background: var(--brown-deep); text-decoration: none; color: #fff; }

/* Card horizontal */
.product-card.card-horizontal { flex-direction: row; max-height: 220px; overflow: hidden; }
.product-card.card-horizontal .card-img-wrap { width: 200px; min-width: 200px; height: auto; flex-shrink: 0; }
.product-card.card-horizontal .card-body { padding: 16px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.product-card.card-horizontal .card-snippet { -webkit-line-clamp: 2; flex: 0 1 auto; }
.btn-review-inline { display: inline-block; margin-top: 10px; background: var(--dark); color: var(--gold-light); padding: 7px 14px; border-radius: 6px; font-size: .8rem; font-weight: 600; align-self: flex-start; transition: background .2s; }
.btn-review-inline:hover { background: var(--brown-deep); color: #fff; text-decoration: none; }
@media(max-width: 560px) {
  .product-card.card-horizontal { flex-direction: column; max-height: none; }
  .product-card.card-horizontal .card-img-wrap { width: 100%; min-width: 0; height: 200px; }
}

/* ── EDITOR'S TOP PICKS (Editorial) ─────────── */
.featured-strip { background: var(--dark); padding: 80px 0; }
.featured-strip .section-head h2 { color: #fff; }
.featured-strip .section-head p  { color: rgba(255,255,255,.5); }
.featured-strip .section-head .divider { background: var(--gold); }

/* Big editorial card (#1) */
.editors-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 360px;
  box-shadow: 0 16px 60px rgba(0,0,0,.35);
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.editors-editorial:hover { opacity: .92; text-decoration: none; }
.editors-editorial-img { position: relative; overflow: hidden; background: rgba(255,255,255,.04); }
.editors-editorial-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.editors-editorial:hover .editors-editorial-img img { transform: scale(1.04); }
.editors-editorial-body {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-left: none;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.editors-rank-pill {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font);
  align-self: flex-start;
}
.editors-editorial-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.editors-editorial-stars { color: var(--gold-light); font-size: .95rem; letter-spacing: 1px; }
.editors-editorial-excerpt {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.editors-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font);
  margin-top: 4px;
  transition: color .2s;
}
.editors-editorial-link:hover { color: #fff; text-decoration: none; }
.editors-editorial-link::after { content: '→'; }

/* Smaller picks (#2, #3) */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.featured-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
  display: flex;
  flex-direction: row;
  color: inherit;
  text-decoration: none;
}
.featured-card:hover { transform: translateY(-3px); border-color: rgba(168,116,44,.45); text-decoration: none; color: inherit; }
.featured-img { width: 160px; min-width: 160px; overflow: hidden; flex-shrink: 0; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.featured-card:hover .featured-img img { transform: scale(1.05); }
.featured-img.no-img { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); font-size: 2rem; }
.featured-body { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.featured-rank { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-light); font-family: var(--font); }
.featured-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.3; }
.featured-stars { color: var(--gold-light); font-size: .85rem; }
.featured-link { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.45); font-size: .8rem; font-weight: 500; font-family: var(--font); transition: color .2s; }
.featured-link:hover { color: var(--gold-light); }
.featured-link::after { content: '→'; }

@media(max-width: 900px) {
  .editors-editorial { grid-template-columns: 1fr; min-height: auto; }
  .editors-editorial-img { height: 260px; }
  .editors-editorial-body { border-left: 1px solid rgba(255,255,255,.09); border-top: none; padding: 28px 24px; }
}
@media(max-width: 620px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { flex-direction: column; }
  .featured-img { width: 100%; min-width: 0; height: 160px; }
}

/* ── COMPARE TABLE ────────────────────────────── */
.compare-section { background: var(--surface2); border-top: 1px solid var(--border); }
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface); }
.compare-table th { background: var(--dark); color: #fff; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; padding: 14px 16px; text-align: left; white-space: nowrap; font-family: var(--font); }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: .87rem; vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(168,116,44,.04); }
.compare-table tr.compare-row { cursor: pointer; transition: background .15s; }
.compare-table tr.compare-row:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.compare-rank { font-size: 1.3rem; font-weight: 700; color: var(--gold); text-align: center; font-family: var(--font-head); }
.compare-img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.compare-img.placeholder { background: linear-gradient(135deg, var(--brown-deep), var(--brown)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; opacity: .5; }
.compare-name { font-weight: 600; font-family: var(--font-head); font-size: .9rem; color: var(--dark); line-height: 1.35; margin-bottom: 3px; }
.compare-brand-tag { font-size: .7rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.compare-bar { height: 5px; background: var(--border); border-radius: 3px; margin-top: 5px; overflow: hidden; }
.compare-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brown), var(--gold)); border-radius: 3px; }
.compare-score { font-weight: 700; color: var(--brown-deep); font-size: .95rem; }
.compare-link { display: inline-block; background: var(--dark); color: var(--gold-light); padding: 6px 14px; border-radius: 6px; font-size: .78rem; font-weight: 600; transition: background .2s; white-space: nowrap; }
.compare-link:hover { background: var(--brown-deep); text-decoration: none; color: #fff; }

/* ── SIDEBAR ─────────────────────────────────── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
@media(max-width: 1040px) { .content-with-sidebar { grid-template-columns: 1fr; } .sidebar { display: none; } }
.sidebar-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.sidebar-widget h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--dark); }
.sidebar-list { display: flex; flex-direction: column; gap: 0; }
.sidebar-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; transition: background .15s; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item:hover { background: var(--cream2); }
.sidebar-rank { font-size: .85rem; font-weight: 700; color: var(--gold); min-width: 20px; text-align: center; flex-shrink: 0; font-family: var(--font-head); }
.sidebar-img { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; flex-shrink: 0; background: var(--cream2); }
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-name { font-size: .78rem; font-weight: 600; color: var(--dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }
.sidebar-stars { color: var(--gold); font-size: .72rem; }
.sidebar-link { font-size: .72rem; color: var(--gold); font-weight: 600; display: block; margin-top: 2px; }

/* ── BRAND CLOUD ─────────────────────────────── */
.brand-cloud-section { background: var(--cream2); padding: 28px 0; border-bottom: 1px solid var(--border); }
.brand-cloud-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-bottom: 14px; font-family: var(--font); }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.brand-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s;
  background: var(--surface);
  user-select: none;
  line-height: 1.5;
  font-family: var(--font);
}
.brand-tag:hover { border-color: var(--gold); color: var(--brown-deep); }
.brand-tag.active { background: var(--dark); color: var(--gold-light); border-color: var(--dark); }

/* ── FILTER BAR ──────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-label { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; font-family: var(--font); }
.filter-select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 7px; font-size: .84rem; background: var(--cream); color: var(--text); cursor: pointer; font-family: var(--font); transition: border-color .18s; appearance: auto; }
.filter-select:focus { outline: none; border-color: var(--gold); }
.filter-reset { background: none; border: 1px solid var(--border); border-radius: 7px; padding: 7px 13px; font-size: .8rem; color: var(--muted); cursor: pointer; transition: all .18s; font-family: var(--font); }
.filter-reset:hover { border-color: var(--gold); color: var(--brown-deep); }
.filter-results { font-size: .8rem; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* ── PAGINATION ──────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 52px; flex-wrap: wrap; }
.page-btn { width: 40px; height: 40px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .86rem; font-weight: 500; cursor: pointer; transition: all .2s; color: var(--dark); font-family: var(--font); }
.page-btn:hover, .page-btn.active { background: var(--dark); color: var(--gold-light); border-color: var(--dark); }
.page-btn.disabled { opacity: .35; pointer-events: none; }
.page-nav { padding: 0 16px; width: auto; font-size: .85rem; }
.pg-empty { text-align: center; padding: 48px 24px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); font-size: .95rem; margin-top: 24px; }
.pg-empty-btn { background: var(--dark); color: var(--gold-light); border: none; border-radius: 8px; padding: 8px 16px; margin-left: 10px; cursor: pointer; font-size: .85rem; font-weight: 600; font-family: var(--font); }

/* ── PRODUCT PAGE ─────────────────────────────── */
.page-hero { background: var(--dark); padding: 28px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; font-family: var(--font); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-light); text-decoration: none; }
.breadcrumb sep { color: rgba(255,255,255,.3); margin: 0 2px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 56px 0 48px; }
@media(max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 36px; } }

/* Gallery */
.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 88px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--cream2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.no-img { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brown-deep), var(--brown)); font-size: 5rem; opacity: .35; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid var(--border); transition: all .2s; opacity: .65; background: var(--surface2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 2px rgba(168,116,44,.22); }

/* Product info */
.p-brand { display: inline-flex; align-items: center; gap: 6px; background: var(--cream2); color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; font-family: var(--font); border: 1px solid var(--border); }
.p-title { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: 18px; color: var(--dark); }
.p-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.p-rating .stars-char { font-size: 1.1rem; color: var(--gold); }
.p-rating .score { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.p-rating .reviews-ct { font-size: .85rem; color: var(--muted); }
.score-bar-wrap { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; }
.score-bar-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 8px; font-family: var(--font); }
.score-bar-track { height: 7px; background: var(--border); border-radius: 4px; overflow: hidden; }
.score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brown), var(--gold)); border-radius: 4px; }

/* Verdict */
.verdict-box { background: var(--cream2); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 24px; }
.verdict-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; font-family: var(--font); }
.verdict-label::before { content: '✦'; color: var(--gold); }
.verdict-text { font-size: .93rem; color: var(--dark); line-height: 1.7; }

/* CTA */
.cta-group { display: flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.cta-disclosure { font-size: .77rem; color: var(--muted); margin: 0 0 28px; line-height: 1.5; font-style: italic; }
.btn-buy { flex: 1 1 220px; min-width: 180px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: #fff; padding: 14px 22px; border-radius: 9px; font-weight: 700; font-size: .93rem; box-shadow: var(--shadow); transition: background .2s, transform .1s; font-family: var(--font); }
.btn-buy:hover { background: var(--gold-mid); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn-buy:active { transform: translateY(0); }
.btn-buy.alt { background: var(--dark); }
.btn-buy.alt:hover { background: var(--brown-deep); }
.btn-buy.outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); box-shadow: none; }
.btn-buy.outline:hover { background: var(--gold); color: #fff; }
.btn-read-reviews { flex: 1; min-width: 140px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--dark); color: var(--gold-light); padding: 12px 20px; border-radius: 9px; font-weight: 600; font-size: .9rem; transition: background .2s; font-family: var(--font); }
.btn-read-reviews:hover { background: var(--brown-deep); text-decoration: none; color: #fff; }

/* Features */
.features-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--dark); line-height: 1.55; }
.features-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.features-heading { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; font-family: var(--font); }

/* Pros / Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 52px 0; }
@media(max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-box, .cons-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pros-box { border-top: 3px solid #16a34a; }
.cons-box { border-top: 3px solid #dc2626; }
.box-head { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; font-family: var(--font); }
.pros-box .box-head { color: #16a34a; }
.cons-box .box-head { color: #dc2626; }
.pros-box ul, .cons-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pros-box li, .cons-box li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; line-height: 1.55; }
.pros-box li::before { content: '✓'; color: #16a34a; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.cons-box li::before { content: '✗'; color: #dc2626; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Description */
.product-desc { margin: 0 0 52px; }
.product-desc h2 { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--dark); }
.product-desc p { margin-bottom: 18px; color: var(--dark); font-size: .96rem; line-height: 1.8; }

/* Reviews */
.reviews-section { margin: 0 0 60px; }
.reviews-section h2 { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--border); color: var(--dark); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.reviewer-name { font-weight: 600; font-size: .9rem; color: var(--dark); }
.review-date { font-size: .77rem; color: var(--muted); }
.review-stars { color: var(--gold); font-size: .88rem; margin-bottom: 6px; letter-spacing: 1px; }
.review-title { font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--dark); }
.review-text { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* Related */
.related-section { background: var(--surface2); padding: 64px 0; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
@media(max-width: 960px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 520px)  { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: block; color: inherit; text-decoration: none; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; color: inherit; }
.related-img { height: 160px; overflow: hidden; background: var(--cream2); }
.related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.related-card:hover .related-img img { transform: scale(1.05); }
.related-img.no-img { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brown-deep), var(--brown)); font-size: 2rem; opacity: .4; }
.related-body { padding: 14px; }
.related-brand { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 5px; font-family: var(--font); }
.related-title { font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--dark); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-stars { color: var(--gold); font-size: .8rem; letter-spacing: 1px; }
.related-link { display: block; margin-top: 10px; text-align: center; background: var(--dark); color: var(--gold-light); padding: 7px; border-radius: 6px; font-size: .79rem; font-weight: 600; font-family: var(--font); }
.related-link:hover { background: var(--brown-deep); text-decoration: none; color: #fff; }

/* Static pages */
.static-hero { background: var(--dark); padding: 64px 0; }
.static-hero h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.9rem); color: #fff; font-weight: 700; }
.static-hero p  { color: rgba(255,255,255,.62); font-size: 1rem; margin-top: 12px; line-height: 1.7; }
.static-content { max-width: 820px; margin: 0 auto; padding: 64px 24px 88px; }
.static-content h2 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; margin: 40px 0 14px; color: var(--dark); }
.static-content p  { margin-bottom: 16px; line-height: 1.85; font-size: .96rem; color: var(--dark); }
.static-content ul { margin: 12px 0 20px 24px; display: flex; flex-direction: column; gap: 7px; font-size: .96rem; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
@media(max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.about-icon { font-size: 2.2rem; margin-bottom: 14px; }
.about-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.about-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 0; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); padding: 56px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media(max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width: 520px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-logo-icon { width: 30px; height: 30px; background: rgba(168,116,44,.2); border: 1px solid rgba(168,116,44,.38); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .62rem; color: var(--gold-light); font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; }
.footer-brand p { font-size: .84rem; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-disclaimer { margin-top: 14px; font-size: .77rem; color: rgba(255,255,255,.32); line-height: 1.65; }
footer h4 { color: rgba(255,255,255,.88); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-family: var(--font); }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul li a { color: rgba(255,255,255,.5); font-size: .84rem; transition: color .2s; font-family: var(--font); }
footer ul li a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .77rem; color: rgba(255,255,255,.3); font-family: var(--font); }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold-light); text-decoration: none; }

/* ── COOKIE BANNER ───────────────────────────── */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--brown-deep); border-top: 2px solid var(--gold); padding: 18px 0; box-shadow: 0 -4px 24px rgba(0,0,0,.25); transform: translateY(100%); transition: transform .4s ease; }
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { flex: 1; font-size: .84rem; color: rgba(255,255,255,.82); min-width: 220px; font-family: var(--font); }
.cookie-text a { color: var(--gold-light); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--gold); color: #fff; border: none; padding: 9px 22px; border-radius: 7px; font-size: .84rem; font-weight: 700; cursor: pointer; transition: opacity .2s; font-family: var(--font); }
.cookie-accept:hover { opacity: .88; }
.cookie-decline { background: transparent; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.22); padding: 8px 18px; border-radius: 7px; font-size: .84rem; cursor: pointer; transition: all .2s; font-family: var(--font); }
.cookie-decline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── AD PLACEMENTS ───────────────────────────── */
.ad-placement { margin: 40px auto; text-align: center; }
.ad-placement-inner { display: inline-flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ad-unit { width: 300px; height: 250px; background: transparent; border: 1px dashed rgba(0,0,0,.07); border-radius: 4px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media(max-width: 768px) {
  .header-inner { height: 62px; }
  .logo { font-size: 1.1rem; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .products-grid { gap: 18px; }
  .product-layout { gap: 28px; padding: 36px 0; }
  .nav-toggle { display: flex; }
  header nav {
    display: none !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--dark);
    padding: 10px 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 199;
  }
  header.nav-open nav { display: flex !important; }
  header nav a { color: rgba(255,255,255,.75); padding: 11px 14px; font-size: .92rem; border-radius: 6px; }
  header nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-cta { background: var(--gold) !important; color: #fff !important; margin-left: 0 !important; }
}
@media(max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media(max-width: 560px) {
  .products-grid { gap: 12px !important; grid-template-columns: 1fr !important; }

  /* Grid layout: image spans both rows, body + footer stack cleanly in right column.
     display must NOT have !important — JS hides cards via inline style.display='none'
     and !important in stylesheet would override that, breaking pagination. */
  .products-grid .product-card {
    display: grid;
    grid-template-columns: 120px 1fr !important;
    grid-template-rows: 1fr auto !important;
    flex-direction: unset !important;
    max-height: none;
  }
  .products-grid .product-card .card-img-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 120px !important;
    min-width: 120px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }
  .products-grid .product-card .card-img-wrap img { width: 100% !important; height: 100% !important; object-fit: cover; }
  /* Both overlay badges hidden on mobile — brand & rating shown as text in card body */
  .products-grid .product-card .card-badge { display: none !important; }
  .products-grid .product-card .card-rating-badge { display: none !important; }

  /* Body: right column, row 1 */
  .products-grid .product-card .card-body {
    grid-column: 2;
    grid-row: 1;
    padding: 12px 14px 4px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }
  .products-grid .product-card .card-brand { font-size: .65rem; margin-bottom: 0; }
  .products-grid .product-card .card-title { font-size: .9rem; line-height: 1.3; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .products-grid .product-card .stars-row { margin-bottom: 0; gap: 4px; }
  .products-grid .product-card .rating-count { display: none !important; } /* fix 3: hide review count */
  .products-grid .product-card .card-snippet { display: none; }

  /* Footer: right column, row 2 — no duplicate arrow */
  .products-grid .product-card .card-footer {
    grid-column: 2;
    grid-row: 2;
    padding: 0 14px 10px !important;
    border-top: none !important;
    background: transparent;
  }
  .products-grid .product-card .btn-review {
    background: transparent !important;
    color: var(--gold) !important;
    padding: 0 !important;
    font-size: .78rem !important;
    font-weight: 600;
    text-align: left;
    /* No ::after — text already contains "→" */
  }
}

/* Legacy compat */
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero-stat-num   { font-size: 1.6rem; font-weight: 700; color: #fff; font-family: var(--font-head); }
.hero-stat-label { font-size: .76rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }
/* old green vars aliased for any inline style references */
--green-900: var(--dark);
--green-800: var(--brown-deep);
--green-700: var(--brown);
