/* Picks Page Glow Effect */
.picks-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 200, 91, 0.10) 0%, rgba(244, 200, 91, 0.00) 80%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(244, 200, 91, 0.18) 0%, rgba(244, 200, 91, 0.00) 100%);
  filter: blur(0.5px);
}

.picks-page {
  position: relative;
  z-index: 1;
}
:root {
  --bg: #050507;
  --panel: rgba(18, 18, 26, 0.85);
  --card: rgba(20, 20, 30, 0.9);
  --text: #f6f6f8;
  --muted: #c9c9d1;
  --gold: #f4c85b;
  --gold-strong: #f2a93b;
  --stroke: rgba(255, 255, 255, 0.06);
  --glow: 0 10px 40px rgba(244, 200, 91, 0.25);
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --grid-max: 1200px;
  --container-pad: 20px;
}

.artist-image {
  width: 180px;
  height: 220px;           /* mugshot ratio */
  object-fit: cover;       /* crop */
  object-position: 100% 15%;/* move crop UP to the face */
  border-radius: 6px;      /* optional */
}


* { box-sizing: border-box; }
html { overflow-y: scroll; }

/* Ensure boolean hidden works consistently across components */
[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY: Skip Link & Focus Styles
   ═══════════════════════════════════════════════════════════ */

/* Skip to main content link - visible only on focus */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #050507;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 10px;
  outline: none;
  box-shadow: 0 4px 20px rgba(244, 200, 91, 0.4);
}

/* Universal focus-visible styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Remove default outline when not using keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* Button focus styles */
button:focus-visible,
.pill:focus-visible,
a.pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(244, 200, 91, 0.15);
}

/* Input focus styles */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}

/* Card/interactive element focus */
.pick-card:focus-visible,
.hub-card:focus-visible,
.home-filter-card:focus-visible,
.home-category-card:focus-visible,
.home-featured-card:focus-visible,
.podium-card:focus-visible,
.gift-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: rgba(244, 200, 91, 0.5);
}

/* ═══════════════════════════════════════════════════════════ */

/* Strings page: reuse the same custom-select UI as picks */
.strings-select.custom-select {
  width: 100%;
}

.strings-select .select-trigger {
  width: 100%;
  justify-content: space-between;
}

.strings-select .select-menu {
  width: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Home: Quiz podium */
.home-podium-section {
  padding: 54px 0;
  position: relative;
}

.home-podium-section .home-podium-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.home-podium-section .home-podium-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.home-podium-section .home-podium-note {
  margin-top: 12px;
  font-size: 14px;
}

.home-podium-section .home-podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: end;
}

.home-podium-section .podium-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-podium-section .podium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 200, 91, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(244, 200, 91, 0.10),
    0 10px 34px rgba(244, 200, 91, 0.10);
}

.home-podium-section .podium-1:hover {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(244, 200, 91, 0.14),
    0 12px 40px rgba(244, 200, 91, 0.16);
}

.home-podium-section .podium-card:active {
  transform: translateY(-1px) scale(0.995);
}

.home-podium-section .podium-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 200, 91, 0.55), 0 24px 60px rgba(0, 0, 0, 0.45);
  border-color: rgba(244, 200, 91, 0.55);
}

.home-podium-section .podium-1 {
  border-color: rgba(244, 200, 91, 0.55);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 200, 91, 0.12);
}

/* If there's a tie for 1st, visually elevate both co-leaders */
.home-podium-section .podium-tied-top {
  border-color: rgba(244, 200, 91, 0.45);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(244, 200, 91, 0.10);
}

.home-podium-section .podium-image .podium-medal {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.home-podium-section .podium-1 .podium-image .podium-medal {
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.98), rgba(242, 169, 59, 0.98));
  border-color: rgba(244, 200, 91, 0.55);
  color: #050507;
}

.home-podium-section .podium-tied-top .podium-image .podium-medal {
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.95), rgba(242, 169, 59, 0.95));
  border-color: rgba(244, 200, 91, 0.50);
  color: #050507;
}

.home-podium-section .podium-image {
  position: relative;
  /* Podium height communicates ranking */
  height: var(--podium-image-height, 260px);
  background: #ffffff;
  /* Match the card radius so the white box sits flush */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

/* Staggered podium image heights */
.home-podium-section .podium-1 { --podium-image-height: clamp(270px, 25vw, 360px); }
.home-podium-section .podium-2 { --podium-image-height: clamp(235px, 22vw, 310px); }
.home-podium-section .podium-3 { --podium-image-height: clamp(225px, 21vw, 300px); }

/* Tie for 1st: match the #1 height so it doesn't look smaller */
.home-podium-section .podium-tied-top { --podium-image-height: clamp(270px, 25vw, 360px); }

.home-podium-section .podium-image img {
  width: 100%;
  height: 100%;
  /* Never squish/stretch: keep original aspect ratio and show full pick */
  object-fit: contain;
  padding: 14px;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Make #1 feel largest even when images differ */
.home-podium-section .podium-1 .podium-image img {
  padding: 10px;
}

.home-podium-section .podium-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.home-podium-section .podium-title {
  font-family: "Playfair Display", "Manrope", serif;
  font-size: 18px;
  line-height: 1.15;
  margin: 0;
}

.home-podium-section .podium-awarded {
  color: var(--muted);
  font-size: 14px;
}

.home-podium-section .podium-awarded-percent {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.home-podium-section .podium-tie {
  color: rgba(255, 255, 255, 0.60);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.home-podium-section .podium-awarded strong {
  color: var(--gold);
}

.home-podium-section .podium-genres {
  display: flex;
  gap: 8px;
  align-items: center;
}

.home-podium-section .podium-genre {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  font-size: 18px;
}

.home-podium-section .podium-perfect {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.home-podium-section .podium-perfect-label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.home-podium-section .podium-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.home-podium-section .podium-chip.pill.ghost {
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
}

.home-podium-section .podium-1 .podium-chip.pill.ghost {
  border-color: rgba(244, 200, 91, 0.35);
  box-shadow: 0 0 0 1px rgba(244, 200, 91, 0.08) inset;
}

.home-podium-section .podium-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.home-podium-section .podium-empty-text {
  color: var(--muted);
  font-size: 14px;
}


@media (max-width: 900px) {
  .home-podium-section .home-podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 10px;
    align-items: end;
  }

  .home-podium-section .podium-card {
    min-width: 0;
  }

  /* Keep the podium feeling on mobile too */
  .home-podium-section .podium-1 { --podium-image-height: 230px; }
  .home-podium-section .podium-2 { --podium-image-height: 185px; }
  .home-podium-section .podium-3 { --podium-image-height: 175px; }
  .home-podium-section .podium-tied-top { --podium-image-height: 230px; }

  .home-podium-section .podium-title {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-podium-section .podium-body { padding: 12px 12px 14px; }
  .home-podium-section .podium-image img { padding: 12px; }
}

@media (max-width: 520px) {
  .home-podium-section .home-podium-head {
    margin-bottom: 12px;
    align-items: flex-start;
  }

  .home-podium-section .home-podium-sub {
    width: 100%;
  }

  /* Mobile: compact 3-up grid (fit on screen) */
  .home-podium-section .home-podium {
    display: grid;
    grid-template-columns: 0.92fr 1.16fr 0.92fr;
    gap: 8px;
    align-items: end;
  }

  /* Tighten and stabilize on small screens */
  .home-podium-section .podium-1 { --podium-image-height: 210px; }
  .home-podium-section .podium-2 { --podium-image-height: 170px; }
  .home-podium-section .podium-3 { --podium-image-height: 160px; }
  .home-podium-section .podium-tied-top { --podium-image-height: 210px; }

  .home-podium-section .podium-title { font-size: 14px; }
  .home-podium-section .podium-awarded { font-size: 13px; }
  .home-podium-section .podium-body { padding: 12px 12px 14px; }
  .home-podium-section .podium-image img { padding: 10px; }

  .home-podium-section .podium-1 .podium-image img { padding: 8px; }
}

h1, h2, h3, h4 { font-family: "Playfair Display", "Manrope", serif; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  width: min(100%, var(--grid-max));
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n" x="0" y="0"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.08"/></svg>');
  opacity: 0.35;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--stroke);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo { height: 46px; width: auto; object-fit: contain; }
.brand.small .brand-logo { height: 38px; }

.brand-top { font-weight: 700; letter-spacing: 0.2px; }
.brand-sub { font-size: 15px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; }

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { padding: 8px 10px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:hover { background: rgba(255, 255, 255, 0.04); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  padding: 0;
  width: 44px;
  height: 44px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: none;
  border: 1px solid rgba(244, 200, 91, 0.5);
}

.pill:not(.ghost):not(.pick-artist-pill):not(.pick-variety-pill):hover {
  background: rgba(5, 5, 7, 0.92);
  color: var(--gold);
  border-color: rgba(244, 200, 91, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.pill:not(.ghost):not(.pick-artist-pill):not(.pick-variety-pill):active {
  transform: translateY(1px);
}

.pill.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--stroke);
}

.hero {
  padding: 80px 0 50px;
  position: relative;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.hero-copy h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.1; margin: 10px 0; }
.lead { color: var(--muted); max-width: 620px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--gold); font-weight: 700; }
.muted { color: var(--muted); }

.hero-actions { margin: 22px 0 14px; display: flex; flex-direction: column; gap: 12px; }

.search { display: flex; gap: 12px; flex-wrap: wrap; }
.search input {
  flex: 1 1 240px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.search button,
button {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 200, 91, 0.6);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: none;
}

button:hover,
.search button:hover {
  transform: translateY(-1px);
  background: rgba(5, 5, 7, 0.92);
  color: var(--gold);
  border-color: rgba(244, 200, 91, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

button:active,
.search button:active {
  transform: translateY(0);
}

button.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
button.ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--stroke); box-shadow: none; }

.badges { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.hero-stats { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.hero-stats strong { display: block; font-size: 22px; }
.hero-stats span { color: var(--muted); }

.hero-panel {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-list { display: flex; flex-direction: column; gap: 12px; }
.panel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--stroke);
}
.panel-item h4 { margin: 0; font-size: 16px; }
.panel-item span { color: var(--muted); font-size: 14px; }
.panel-footer { margin-top: 14px; color: var(--muted); font-size: 14px; }

.section { padding: 50px 0; position: relative; }
.section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: none; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Picks Page */
.picks-page { padding-bottom: 60px; }
.picks-page section { scroll-margin-top: 120px; }

/* Strings Page */
.strings-page { padding-bottom: 60px; }
.strings-page section { scroll-margin-top: 120px; }

.strings-guide { padding: 18px 0 12px; }

.picks-intro { padding: 24px 0 18px; text-align: center; }
.picks-intro h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.intro-text { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto; }

/* Discovery Hub */
.picks-hub { padding: 0 0 18px; }

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 200, 91, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hub-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}

.hub-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--text);
}

.hub-card p {
  font-size: 13px;
  line-height: 1.4;
}

/* Artist Info Banner */
.artist-info-banner {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(138, 92, 246, 0.08) 0%, rgba(138, 92, 246, 0.02) 100%);
  border: 1px solid rgba(138, 92, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.artist-info-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.artist-info-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.artist-info-text p {
  max-width: 520px;
  line-height: 1.65;
}
.artist-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(138, 92, 246, 0.15), rgba(138, 92, 246, 0.08));
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(138, 92, 246, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.artist-info-btn:hover {
  background: linear-gradient(135deg, rgba(138, 92, 246, 0.22), rgba(138, 92, 246, 0.12));
  border-color: rgba(138, 92, 246, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(138, 92, 246, 0.15);
}
@media (max-width: 680px) {
  .artist-info-content {
    flex-direction: column;
    text-align: center;
  }
  .artist-info-text p {
    margin: 0 auto;
  }
}

.picks-seo-intro {
  padding: 20px 24px;
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.picks-seo-intro p {
  margin-bottom: 12px;
}

.picks-seo-intro p:last-child {
  margin-bottom: 0;
}

.picks-seo-intro strong {
  color: var(--text);
}

.picks-seo-intro a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hub-card {
    padding: 16px 12px;
  }
  .hub-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .hub-card h3 {
    font-size: 14px;
  }
  .hub-card p {
    font-size: 11px;
  }
  .picks-seo-intro {
    padding: 16px;
    font-size: 13px;
  }
}

/* Category Pages (by-thickness, by-shape, etc.) */
.category-page .picks-intro { padding-top: 20px; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span[aria-current] { color: var(--text); }

.category-guide {
  padding: 24px 0 40px;
}

.thickness-bands,
.shape-bands,
.material-bands,
.genre-bands,
.grip-bands,
.best-for-bands {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.category-picks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-picks-grid {
  display: grid;
  /* Match picks.html card grid behavior */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

@media (max-width: 780px) {
  .category-picks-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 600px) {
  .category-picks-grid { grid-template-columns: 1fr; gap: 12px; }
}

.category-pager {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(18, 18, 26, 0.55);
}

.category-picks .no-picks {
  text-align: center;
  padding: 32px 16px;
  font-style: italic;
}

.category-seo-content {
  padding: 40px 0 60px;
  background: rgba(18, 18, 26, 0.4);
  border-top: 1px solid var(--stroke);
}

.category-seo-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.category-seo-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 14px;
}

.category-seo-content p:last-child {
  margin-bottom: 0;
}

.category-seo-content strong {
  color: var(--text);
}

.category-seo-content em {
  color: var(--gold);
  font-style: italic;
}

/* Related Categories Cross-links */
.related-categories {
  padding: 32px 0 48px;
  border-top: 1px solid var(--stroke);
  margin-top: 32px;
}
.related-categories h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.related-categories .muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  background: rgba(30, 30, 44, 0.55);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.related-card:hover {
  background: rgba(40, 40, 58, 0.7);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.related-title {
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}
.related-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .category-guide { padding: 16px 0 32px; }
  .thickness-bands,
  .shape-bands,
  .material-bands,
  .genre-bands,
  .grip-bands,
  .best-for-bands { gap: 32px; }
  .category-seo-content { padding: 28px 0 40px; }
  .related-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Picks: Guide + FAQ (SEO/value) */
.picks-guide { padding: 18px 0 12px; }

.picks-panel {
  background: rgba(18, 18, 26, 0.65);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.picks-divider {
  height: 1px;
  margin: 8px auto 0;
  width: min(100%, var(--grid-max));
  padding: 0 var(--container-pad);
  background: linear-gradient(90deg, transparent, rgba(244, 200, 91, 0.28), rgba(255, 255, 255, 0.08), rgba(244, 200, 91, 0.28), transparent);
  background-clip: content-box;
  opacity: 0.75;
}

.guide-head { text-align: left; margin: 0 0 14px; }
.guide-head h2 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 6px; }
.guide-head a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.guide-mini h3 { font-size: 18px; margin-bottom: 6px; }
.guide-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.guide-list li { margin: 6px 0; }

.seo-faq { padding: 18px 0 20px; }
.seo-faq h2 { text-align: left; font-size: clamp(20px, 2.4vw, 28px); margin: 0 0 12px; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin-top: 10px; }

.noscript-note {
  margin: 14px 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.noscript-note h2 { font-size: 18px; margin-bottom: 6px; }
.noscript-note ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.noscript-note li { margin: 6px 0; }

/* Filter Section */
.filter-section {
  background: rgba(10, 10, 14, 0.92);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 12px 0;
  position: sticky;
  top: 62px;
  z-index: 15;
  backdrop-filter: blur(14px);
}

/* Prevent global button glow/hover lift from affecting filter UI */
.filter-section button {
  box-shadow: none;
}

@media (max-width: 980px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-head { margin-bottom: 12px; }
}
.filter-section button:hover {
  transform: none;
}

.filter-topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
}

.filters-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transform: none;
}
.filters-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.filters-toggle[aria-expanded="true"] .filters-toggle-icon {
  transform: rotate(180deg);
}
.filters-toggle-icon {
  color: var(--gold);
  transition: transform 0.2s ease;
}

.filters-panel {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}
.filters-panel[hidden] { display: none; }

.filter-panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-panel-controls {
  justify-content: flex-end;
}
.picks-page .filter-panel-controls {
  justify-content: flex-start;
}
.gifts-page .filter-panel-controls {
  justify-content: flex-start;
}
.filter-panel-chips {
  gap: 24px;
}

.filter-block { display: flex; align-items: center; gap: 8px; }
.filter-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); font-weight: 600; white-space: nowrap; }

.thickness-block { flex: 1 1 320px; max-width: 500px; }
.thickness-control { display: flex; align-items: center; gap: 10px; flex: 1; }
.thickness-val { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; min-width: 90px; font-variant-numeric: tabular-nums; }
.thickness-control .dual-range { flex: 1; min-width: 140px; }

/* Strings: keep the gauge readout from jittering the slider width */
#strings-gauge-values { min-width: 200px; text-align: right; }

@media (max-width: 680px) {
  #strings-gauge-values { min-width: 0; }
}

.search-wrapper { flex: 1 1 200px; max-width: 320px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 8px 12px; }
.search-wrapper:focus-within { border-color: var(--gold); }
.search-svg { color: var(--muted); flex-shrink: 0; }
.search-wrapper input { flex: 1; background: transparent; border: none; color: var(--text); font-size: 13px; outline: none; min-width: 0; }
.search-wrapper input::placeholder { color: var(--muted); }

.filter-actions { display: flex; align-items: center; gap: 8px; }

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  min-width: 100px;
}
.select-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.select-trigger:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.select-trigger:focus {
  outline: none;
  border-color: var(--gold);
}
.select-arrow {
  color: var(--gold);
  margin-left: auto;
  transition: transform 0.2s ease;
}
.custom-select.open .select-arrow {
  transform: rotate(180deg);
}
.select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1a1c;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 4px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.15s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.custom-select.open .select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.select-menu li {
  padding: 8px 10px;
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.1s ease;
}
.select-menu li:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.select-menu li.active {
  background: rgba(244, 200, 91, 0.15);
  color: var(--gold);
}

.clear-btn { padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--stroke); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; transition: all 0.15s ease; }
.clear-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

@media (max-width: 680px) {
  .filter-topbar {
    grid-template-columns: 1fr auto auto;
  }
  .filters-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  /* Keep reset text visible but smaller */
  .reset-text {
    font-size: 0;
  }
  .reset-text::before {
    content: "✕";
    font-size: 16px;
  }
  .filters-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
  }
  .clear-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Results */
.picks-results { padding: 24px 0; }
.results-header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.results-count { font-size: 13px; color: var(--muted); }

.randomizer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 200, 91, 0.35);
  background: rgba(244, 200, 91, 0.08);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
  transform: none;
}
.randomizer-btn:hover {
  background: rgba(244, 200, 91, 0.12);
  border-color: rgba(244, 200, 91, 0.55);
}
.randomizer-icon { font-size: 16px; line-height: 1; }

/* Pagination */
.pager {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: rgba(18, 18, 26, 0.55);
}

.pager-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.pager-info {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pager-size {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pager-btn {
  padding: 10px 12px;
  border-radius: 999px;
}

.pager-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.pager-select {
  min-width: 86px;
}

.pager-select .select-trigger {
  padding: 8px 12px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .pager {
    align-items: stretch;
    flex-direction: column;
  }
  .pager-btn {
    width: 100%;
  }
}

/* Randomizer modal */
.randomizer-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}
.randomizer-modal.open { display: block; }
.randomizer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}
.randomizer-panel {
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: 80px auto 0;
  background: rgba(18, 18, 26, 0.95);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  padding: 18px;
}
.randomizer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.randomizer-top h2 { font-size: 22px; }
.randomizer-close {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 0;
  cursor: pointer;
}
.randomizer-sub { margin-top: 6px; color: var(--muted); font-size: 13px; }

.randomizer-stage {
  margin-top: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.randomizer-spinner {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 20% 30%, rgba(244,200,91,0.14), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(244,200,91,0.10), transparent 42%);
  opacity: 0;
  transform: scale(1.05);
}
.randomizer-stage.selecting .randomizer-spinner {
  opacity: 1;
  animation: randomizerGlow 1.2s ease-in-out infinite;
}
@keyframes randomizerGlow {
  0%, 100% { filter: blur(0px); }
  50% { filter: blur(1.5px); }
}

.randomizer-result { position: relative; z-index: 2; min-height: 120px; display: grid; place-items: center; text-align: center; }
.randomizer-placeholder { color: var(--muted); }

.randomizer-card {
  width: 100%;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.randomizer-figure {
  width: 92px;
  height: 92px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
}
.randomizer-figure img { width: 70px; height: 70px; object-fit: contain; filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05); }
.randomizer-figure.has-real-image { background: #fff; }
.randomizer-figure.has-real-image img { filter: none; }
.randomizer-name { font-size: 16px; font-weight: 800; }
.randomizer-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }

.randomizer-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.randomizer-pick {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 200, 91, 0.55);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  font-weight: 800;
  cursor: pointer;
}
.action-link {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.action-link:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }

/* Pick Finder Quiz */
.pick-quiz {
  padding: 30px 0 44px;
}
.quiz-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.quiz-head h2 { font-size: 26px; }

.quiz-disclaimer {
  flex: 1 1 100%;
  margin-top: 8px;
  color: rgba(201, 201, 209, 0.92);
  font-size: 13px;
  line-height: 1.6;
}

.quiz-alt-link {
  flex: 1 1 100%;
  margin-top: 6px;
  font-size: 13px;
}
.quiz-alt-link a {
  color: var(--gold);
}
.quiz-alt-link a:hover {
  text-decoration: underline;
}

.quiz-disclaimer-bottom {
  margin: 10px 0 0;
  opacity: 0.9;
}

/* Strings Calculator */
.strings-page .quiz-form { margin-bottom: 12px; }

.strings-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.input-control {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.input-control:focus {
  border-color: rgba(244,200,91,0.65);
}

.custom-tuning {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.03);
}

.tuning-inputs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.tuning-inputs.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tuning-inputs.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tuning-inputs.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tuning-inputs.cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tuning-inputs.cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tuning-inputs.cols-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.strings-result {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 26, 0.65);
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.strings-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.strings-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.strings-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px;
}

.strings-kpi-value {
  margin-top: 4px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.strings-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.strings-table-wrap {
  margin-top: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}

.strings-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.02);
}

.strings-table th,
.strings-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}

.strings-table th {
  color: var(--muted);
  font-weight: 800;
  background: rgba(0,0,0,0.18);
}

.strings-suggested {
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 14px;
}

.strings-suggested-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.strings-suggested-head h4 {
  margin: 0;
  font-size: 18px;
}

.strings-suggested-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.strings-suggested-card {
  display: block;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.strings-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  margin-bottom: 10px;
}

.strings-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.strings-suggested-card:hover {
  transform: translateY(-1px);
  border-color: rgba(244,200,91,0.45);
}

.strings-suggested-title {
  font-weight: 900;
  letter-spacing: 0.15px;
  margin-bottom: 6px;
}

.strings-suggested-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.strings-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.strings-suggested-gauges {
  font-size: 13px;
}

.strings-pack-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.strings-pack-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.strings-pack-links a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-size: 13px;
  font-weight: 800;
}

.strings-pack-links a:hover {
  color: var(--text);
}

.strings-browse {
  padding: 30px 0 44px;
}

.strings-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.strings-filter-check input {
  accent-color: var(--gold);
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-check input {
  accent-color: var(--gold);
}

.strings-gauge-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.filter-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.filter-input:focus {
  border-color: rgba(244,200,91,0.65);
}

@media (max-width: 780px) {
  .strings-grid-2 { grid-template-columns: 1fr; }
  .tuning-inputs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strings-kpis { grid-template-columns: 1fr; }
  .strings-suggested-grid { grid-template-columns: 1fr; }
}

.quiz-form {
  background: rgba(18, 18, 26, 0.65);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  width: 100%;
}

.quiz-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quiz-section-head {
  margin-bottom: 10px;
}
.quiz-section-label {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.3px;
  font-size: 14px;
  text-transform: uppercase;
}
.quiz-section-note {
  margin-top: 8px;
  font-size: 13px;
}

.quiz-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), rgba(244,200,91,0.22), rgba(255,255,255,0.10), transparent);
  opacity: 0.9;
}
.quiz-q {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,0.03);
}
.quiz-q legend {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15px;
  color: var(--text);
  padding: 0 6px;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 14px;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  line-height: 1.25;
  position: relative;
}
.quiz-option:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.quiz-option input {
  appearance: none;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.2);
}
.quiz-option input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.quiz-option:has(input:checked) {
  border-color: rgba(244,200,91,0.85);
  background: rgba(244,200,91,0.12);
  box-shadow:
    0 0 0 2px rgba(244,200,91,0.25),
    0 10px 34px rgba(244,200,91,0.10);
}

.quiz-option::after {
  content: "✓";
  margin-left: auto;
  color: var(--gold);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.quiz-option:has(input:checked)::after {
  opacity: 1;
  transform: translateX(0);
}

.quiz-actions {
  margin-top: 0;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.quiz-submit {
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 200, 91, 0.55);
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  font-weight: 900;
  cursor: pointer;
}
.quiz-reset {
  padding: 12px 14px;
}

.quiz-cta {
  position: sticky;
  bottom: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 5;
}

.quiz-progress-text {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.quiz-result {
  margin-top: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 26, 0.65);
  padding: 14px;
}
.quiz-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.quiz-result-head h3 { font-size: 18px; }
.quiz-result-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}
.quiz-figure {
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
}
.quiz-figure img { width: 72px; height: 72px; object-fit: contain; filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05); }
.quiz-name { font-size: 16px; font-weight: 900; }
.quiz-why { color: var(--muted); font-size: 13px; margin-top: 4px; }
.quiz-result-actions { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Quiz results grid for 3 picks */
.quiz-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.quiz-results-grid .quiz-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  position: relative;
}
.quiz-results-grid .quiz-result-primary {
  border-color: rgba(244, 200, 91, 0.5);
  background: rgba(244, 200, 91, 0.04);
}
.quiz-rank {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 999px;
  white-space: nowrap;
}
.quiz-rank-top {
  background: linear-gradient(135deg, #f4c85b, #d4a82b);
  color: #1a1a1a;
}
.quiz-rank-alt {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--muted);
}
.quiz-results-grid .quiz-figure {
  width: 72px;
  height: 72px;
  margin-top: 8px;
}
.quiz-results-grid .quiz-figure img {
  width: 56px;
  height: 56px;
}
.quiz-card-body {
  margin-top: 10px;
}
.quiz-specs {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.quiz-view-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(244, 200, 91, 0.08);
  border: 1px solid rgba(244, 200, 91, 0.25);
  border-radius: var(--radius);
  text-decoration: none;
}
.quiz-view-link:hover {
  background: rgba(244, 200, 91, 0.15);
  border-color: rgba(244, 200, 91, 0.4);
}

@media (max-width: 700px) {
  .quiz-results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quiz-results-grid .quiz-result-card {
    flex-direction: row;
    text-align: left;
    padding: 12px;
    gap: 12px;
  }
  .quiz-results-grid .quiz-figure {
    margin-top: 0;
    flex-shrink: 0;
  }
  .quiz-card-body {
    margin-top: 0;
    flex: 1;
  }
  .quiz-rank {
    left: auto;
    right: 10px;
    top: 10px;
    transform: none;
  }
}
.quiz-apply {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 200, 91, 0.35);
  background: rgba(244, 200, 91, 0.06);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.quiz-apply:hover { background: rgba(244, 200, 91, 0.10); border-color: rgba(244, 200, 91, 0.55); }

@media (max-width: 780px) {
  .quiz-cta {
    bottom: 0;
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    border-left: none;
    border-right: none;
  }
}

@media (max-width: 600px) {
  .quiz-form { padding: 12px; }
  .quiz-q { padding: 10px; }
  .quiz-option { padding: 12px; font-size: 13px; min-height: 54px; }
  .quiz-result-card { grid-template-columns: 80px 1fr; }
  .quiz-figure { width: 80px; height: 80px; }
  .quiz-figure img { width: 58px; height: 58px; }
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: none;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: none;
}
.chip.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}
.chip .chip-label { font-size: 13px; color: var(--muted); }

/* Grip chips need more visual weight next to big shape chips */
#grip-filters .chip {
  min-height: 48px;
  padding: 8px 14px;
}
#grip-filters .chip::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
#grip-filters .chip.active::before {
  background: var(--gold);
  border-color: var(--gold);
}

.shape-dot { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; }
.shape-dot img { width: 35px; height: 35px; object-fit: contain; filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05); }

.slider-values { color: var(--text); font-weight: 600; font-size: 13px; }
.dual-range { position: relative; height: 24px; width: 100%; }
.range-track {
  --start: 0%;
  --width: 100%;
  --low: 0%;
  --high: 100%;
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  pointer-events: none;
}
.range-track::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--start);
  width: var(--width);
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
}

.dual-range input[type="range"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 999px;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a1a1a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-top: -6px;
  cursor: pointer;
}

/* Distinguish dual-range handles (used by Strings gauge span) */
.dual-range .range-handle.range-thick::-webkit-slider-thumb {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(244, 200, 91, 0.55);
}
.dual-range input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 999px;
}
.dual-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1a1a1a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.dual-range .range-handle.range-thick::-moz-range-thumb {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(244, 200, 91, 0.55);
}

.dual-range input[type="range"]:disabled {
  opacity: 0.35;
}

.dual-range input[type="range"]:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
}

.dual-range input[type="range"]:disabled::-moz-range-thumb {
  cursor: not-allowed;
}

.picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(12px, 1.8vw, 22px); }
.pick-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; height: 100%; }
.pick-card .shape-figure { margin: 0 auto 4px; }
.pick-card .card-header { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: nowrap; }
.pick-card h3 {
  font-size: 17px;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pick-card .pick-badges {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}
.pick-card .meta { font-size: 13px; color: var(--muted); }
.pick-card .detail-row { font-size: 13px; }
.pick-card .pick-cta { margin-top: auto; }

.pick-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

/* Gifts carousel */
.carousel {
  position: relative;

  /* Make the carousel feel like a featured section */
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(18, 18, 26, 0.55);
  border: 1px solid rgba(244, 200, 91, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  scroll-padding: 10px;
  padding: 6px 2px 10px;
  border-radius: var(--radius-lg);
  scroll-behavior: smooth;

  /* Hide scrollbar but keep scrollability */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* JS-driven carousel already handles snap/loop. */
.carousel-track.is-js-carousel { scroll-snap-type: none; }

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    scroll-behavior: auto;
  }
}

.carousel-track::-webkit-scrollbar { display: none; }

/* Looping/continuous mode should not fight scroll snapping */
.carousel-track.is-continuous {
  scroll-snap-type: none;
}

.carousel-track:focus {
  outline: 2px solid rgba(244, 200, 91, 0.35);
  outline-offset: 4px;
}

.carousel-item {
  flex: 0 0 min(360px, 86vw);
  scroll-snap-align: start;
}

/* Pick tins: wider slides */
#tin-carousel .carousel-item {
  flex-basis: min(480px, 92vw);
}

.tin-slide {
  display: block;
  text-decoration: none;
}

.tin-slide .pick-card-img {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tin-slide .pick-card-img img {
  width: 100%;
  height: clamp(280px, 26vw, 380px);
  max-height: none;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .tin-slide:hover .pick-card-img {
    transform: translateY(-2px);
    border-color: rgba(244, 200, 91, 0.35);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  }
}

.tin-slide:focus-visible .pick-card-img {
  outline: 2px solid rgba(244, 200, 91, 0.45);
  outline-offset: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  padding: 10px 12px;

  /* Gold arrows */
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  border: 1px solid rgba(244, 200, 91, 0.7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  pointer-events: auto;
}

/* Override the global ghost button styles for carousel arrows */
.carousel-btn.ghost,
.carousel-btn.pill.ghost {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  border: 1px solid rgba(244, 200, 91, 0.7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.carousel-btn:hover {
  background: rgba(5, 5, 7, 0.92);
  color: var(--gold);
  border-color: rgba(244, 200, 91, 0.95);
}

.carousel-btn.ghost:hover,
.carousel-btn.pill.ghost:hover {
  background: rgba(5, 5, 7, 0.92);
  color: var(--gold);
  border-color: rgba(244, 200, 91, 0.95);
}

.carousel-prev { left: -6px; }
.carousel-next { right: -6px; }

.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }

@media (max-width: 760px) {
  .carousel-btn {
    display: none;
  }
}

.gift-card h3 {
  font-size: 16px;
}

.pick-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.pick-artist-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  border: 1px solid rgba(244, 200, 91, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.pick-variety-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  border: 1px solid rgba(244, 200, 91, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.pick-card-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pick-card-img img {
  /* Force upscaling so low-res images don't render smaller than others */
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.pick-card-img-primary {
  transition: opacity 0.18s ease;
}

.pick-card-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pick-card-img.has-hover:hover .pick-card-img-hover { opacity: 1; }
  .pick-card-img.has-hover:hover .pick-card-img-primary { opacity: 0; }
}


.pick-meta-block { display: flex; flex-direction: column; gap: 4px; }
.pick-submeta { opacity: 0.9; }

.pick-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.pick-packs {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.pick-packs-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

.pick-tags {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.pick-tags-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
}

/* Ensure pills don't shrink awkwardly in scroll rows */
.pick-packs-scroll > *,
.pick-tags-scroll > * { flex: 0 0 auto; }

/* Keep the row label fixed */
.pick-packs > .muted,
.pick-tags > .muted { flex: 0 0 auto; }

/* Hide horizontal scrollbar for pill rows (keep scroll behavior) */
.pick-packs-scroll,
.pick-tags-scroll {
  -ms-overflow-style: none; /* IE/Edge Legacy */
  scrollbar-width: none; /* Firefox */
}

.pick-packs-scroll::-webkit-scrollbar,
.pick-tags-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.pick-tag { padding: 7px 12px; font-size: 12px; }


.shape-figure {
  width: clamp(64px, 10vw, 96px);
  height: clamp(64px, 10vw, 96px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape-img { width: clamp(48px, 8vw, 72px); height: clamp(48px, 8vw, 72px); object-fit: contain; filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05); }
.shape-chip-img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05); }

.detail-row { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.detail-row strong { color: var(--text); font-size: 14px; }

.grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 18px; }
.card .meta { color: var(--muted); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 13px; }
.price { color: var(--gold); font-weight: 700; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.category-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }

.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; align-items: center; }
.guide-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.guide-card-body { padding: 20px; }
.guide-card-footer { padding: 14px 20px; background: rgba(255, 255, 255, 0.04); border-top: 1px solid var(--stroke); color: var(--muted); }

.guide-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.newsletter { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: center; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); color: var(--text); }

.footer {
  border-top: 1px solid var(--stroke);
  padding: 36px 0 18px;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.95), rgba(5, 5, 7, 1));
}

/* Footer layout: content-driven (no forced viewport height) */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 1fr));
  gap: 28px;
  align-items: start;
}

/* Allow existing markup (.footer-links wrapper) to behave like 3 additional grid columns */
.footer-links { display: contents; }

.footer-brand { max-width: 460px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.footer-col-title {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244, 200, 91, 0.92);
  margin: 0 0 6px;
}

.footer-col a {
  padding: 4px 0;
  opacity: 0.86;
  transition: color 0.15s ease, opacity 0.15s ease;
  width: fit-content;
}

.footer-col a:hover { opacity: 1; color: var(--gold); }

.footer a:focus-visible {
  outline: 2px solid rgba(244, 200, 91, 0.65);
  outline-offset: 3px;
  border-radius: 8px;
  opacity: 1;
}

.footer-cta-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 200, 91, 0.45);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2px;
  width: fit-content;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.footer-cta-btn:hover {
  border-color: rgba(244, 200, 91, 0.70);
  background: rgba(244, 200, 91, 0.08);
  transform: translateY(-1px);
}

.footer-cta-btn:active { transform: translateY(0); }

.footer-affiliate {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.5;
}

/* Bottom meta bar: compact, connected to footer via subtle divider */
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 900px) {
  .filter-row-chips { gap: 14px; }
  .thickness-block { flex: 1 1 100%; max-width: 100%; order: 3; }
}

@media (max-width: 780px) {
  .nav-row { position: relative; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 62px; right: 20px; background: var(--panel); padding: 12px; border-radius: var(--radius); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
  
  .filter-row-controls { flex-wrap: wrap; }
  .search-wrapper { flex: 1 1 100%; max-width: 100%; order: 1; }
  .filter-actions { flex: 1 1 100%; justify-content: flex-start; }
  .filter-row-chips { flex-direction: column; align-items: flex-start; gap: 10px; }
  .filter-block { width: 100%; }
  .picks-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (max-width: 600px) {
  .picks-intro { padding: 20px 0 14px; }
  .picks-intro h1 { font-size: 24px; }
  .intro-text { font-size: 13px; }
  .filter-section { padding: 10px 0; }
  .filter-row-controls { gap: 8px; margin-bottom: 10px; }
  .filter-row-chips { gap: 8px; }
  .chips { gap: 4px; }
  .chip { padding: 5px 8px; font-size: 11px; }
  #grip-filters .chip { min-height: 34px; padding: 5px 10px; }
  #grip-filters .chip::before { width: 8px; height: 8px; }
  .shape-dot { width: 22px; height: 22px; }
  .shape-dot img { width: 16px; height: 16px; }
  .filter-actions { flex-wrap: wrap; gap: 6px; }
  .filter-actions select, .clear-btn { flex: 1; min-width: 70px; font-size: 12px; padding: 6px 8px; }
  .picks-grid { grid-template-columns: 1fr; gap: 12px; }
  .pick-card { padding: 14px; }
  .shape-figure { width: 56px; height: 56px; }
  .shape-img { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 60px; }
  .hero-copy h1 { font-size: 34px; }
  .search button, button { width: 100%; }
  :root { --container-pad: 12px; }
  .filter-label { font-size: 10px; }
  .thickness-val { font-size: 11px; min-width: 75px; }
  .search-wrapper { padding: 6px 10px; }
  .search-wrapper input { font-size: 12px; }
}

/* ============================================
   Compare Feature Styles
   ============================================ */

/* Card actions row */
.pick-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

/* Details link on cards */
.pick-details-link {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* Compare button on cards */
.compare-btn {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.compare-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}
.compare-btn.in-compare {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(244, 200, 91, 0.08);
}

/* Fixed compare bar at bottom */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--stroke);
  padding: 12px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.compare-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.compare-picks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.compare-pick-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 13px;
}
.compare-pick-name {
  color: var(--text);
}
.compare-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.compare-remove:hover {
  color: #ff6b6b;
}
.compare-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.compare-count {
  font-size: 13px;
  color: var(--muted);
}
.compare-view-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f4c85b, #d4a82b);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.compare-view-btn:hover {
  transform: scale(1.02);
}
.compare-clear-btn {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  cursor: pointer;
}
.compare-clear-btn:hover {
  color: var(--text);
  border-color: var(--text);
}

/* Compare Modal */
.compare-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.compare-modal-inner {
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}
.compare-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
}
.compare-modal-header h2 {
  font-size: 20px;
  font-weight: 700;
}
.compare-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.compare-modal-close:hover {
  color: var(--text);
}
.compare-content {
  padding: 20px;
}

/* Compare Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
  vertical-align: top;
}
.compare-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}
.compare-table td {
  color: var(--text);
  font-size: 14px;
}
.compare-table thead th {
  background: rgba(255, 255, 255, 0.02);
  vertical-align: bottom;
  text-align: center;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-header-cell {
  min-width: 140px;
}
.compare-pick-img {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-pick-img img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) sepia(90%) hue-rotate(-8deg) saturate(360%) brightness(1.05);
}
.compare-pick-img.has-real-image { background: #fff; }
.compare-pick-img.has-real-image img { filter: none; }
.compare-pick-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.compare-pick-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
}
.compare-pick-link:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .compare-bar-inner {
    flex-direction: column;
    gap: 12px;
  }
  .compare-picks {
    width: 100%;
    justify-content: center;
  }
  .compare-modal-inner {
    max-height: 80vh;
  }
  .compare-table {
    font-size: 12px;
  }
  .compare-table th,
  .compare-table td {
    padding: 8px 6px;
  }
  .compare-header-cell {
    min-width: 100px;
  }
}

/* Compare Warning Toast */
.compare-warning {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: slideUpFade 0.3s ease;
}
.compare-warning-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(30, 30, 40, 0.95);
  border: 1px solid rgba(255, 107, 107, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 14px;
}
.compare-warning-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.compare-warning-close:hover {
  color: #ff6b6b;
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ========================================
   NEW HOMEPAGE STYLES
   ======================================== */

.text-gold { color: var(--gold); }

/* Home Hero Section */
.home-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(244, 200, 91, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(244, 200, 91, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(244, 200, 91, 0.1);
  border: 1px solid rgba(244, 200, 91, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.home-hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.home-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.home-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #0a0a0a;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 200, 91, 0.3);
  color: #0a0a0a;
}

.home-btn-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.home-btn-primary:hover .home-btn-arrow {
  transform: translateX(4px);
}

.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

.home-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.home-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.home-stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--stroke);
}

/* Home Section Styles */
.home-section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.home-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 28px;
}

/* Quick Filter Section */
.home-quick-filter {
  padding: 44px 0;
  background: linear-gradient(180deg, transparent, rgba(244, 200, 91, 0.02), transparent);
}

.home-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.home-filter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-filter-card:hover {
  border-color: rgba(244, 200, 91, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.home-filter-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.home-filter-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

/* How It Works - Pillars */
.home-how-it-works {
  padding: 56px 0;
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.home-pillar {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease;
}

.home-pillar:hover {
  border-color: rgba(244, 200, 91, 0.2);
}

.home-pillar-num {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.home-pillar h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.home-pillar p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.home-pillar-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.home-pillar-link:hover {
  opacity: 0.8;
  color: var(--gold);
}

/* Featured Picks */
.home-featured {
  padding: 52px 0 68px;
}

.home-featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.home-featured-header .home-section-title {
  margin-bottom: 0;
}

.home-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.home-view-all:hover {
  opacity: 0.8;
  color: var(--gold);
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.home-featured-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-featured-card:hover {
  border-color: rgba(244, 200, 91, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.home-featured-img {
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 12px;
  margin: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.home-featured-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.home-featured-info {
  padding: 16px 20px 20px;
}

.home-featured-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}

.home-featured-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}

.home-featured-spec {
  font-size: 13px;
  color: var(--muted);
}

/* Quiz CTA Section */
.home-quiz-cta {
  padding: 44px 0 68px;
}

.home-quiz-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.08) 0%, rgba(244, 200, 91, 0.02) 100%);
  border: 1px solid rgba(244, 200, 91, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (max-width: 800px) {
  .home-quiz-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .home-quiz-visual {
    display: none;
  }
}

.home-quiz-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(244, 200, 91, 0.15);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}

.home-quiz-content h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
}

.home-quiz-content p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

.home-quiz-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.home-quiz-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.home-quiz-feature span {
  color: var(--gold);
  font-weight: 700;
}

.home-quiz-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-quiz-shapes {
  position: relative;
  width: 200px;
  height: 200px;
}

.home-shape-float {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.6;
  animation: floatShape 4s ease-in-out infinite;
  animation-delay: var(--delay);
  transform: translate(var(--x), var(--y));
}

.home-shape-float:nth-child(1) { top: 0; left: 50%; }
.home-shape-float:nth-child(2) { top: 40%; right: 0; }
.home-shape-float:nth-child(3) { bottom: 0; left: 30%; }

@keyframes floatShape {
  0%, 100% { transform: translate(var(--x), var(--y)) translateY(0); }
  50% { transform: translate(var(--x), var(--y)) translateY(-10px); }
}

/* Categories Section */
.home-categories {
  padding: 52px 0 72px;
}

/* Podium section has its own header spacing; don't inherit large title margins */
.home-podium-section .home-section-title {
  margin-bottom: 0;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

/* Force 3x2 grid for 6 categories */
.home-category-grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .home-category-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .home-category-grid-3x2 {
    grid-template-columns: 1fr;
  }
}

.home-category-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-category-card:hover {
  border-color: rgba(244, 200, 91, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.home-category-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
}

.home-category-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.home-category-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .home-hero {
    padding: 80px 0 60px;
  }
  
  .home-hero-stats {
    gap: 20px;
  }
  
  .home-stat-divider {
    display: none;
  }
  
  .home-stat-num {
    font-size: 28px;
  }
  
  .home-pillars {
    gap: 20px;
  }
  
  .home-pillar {
    padding: 24px;
  }
}

/* ========== ENHANCED MOBILE OPTIMIZATIONS ========== */
@media (max-width: 780px) {
  .nav-row { padding: 10px 0; }
  .brand-logo { height: 38px; }
  .brand-sub { font-size: 13px; }
}
@media (max-width: 600px) {
  .home-hero-content { text-align: center; }
  .home-hero-badge { font-size: 12px; padding: 6px 12px; }
  .home-hero-title { font-size: 28px; line-height: 1.2; }
  .home-hero-sub { font-size: 14px; line-height: 1.5; }
  .home-hero-cta { flex-direction: column; gap: 10px; }
  .home-btn-primary, .home-btn-secondary { width: 100%; justify-content: center; padding: 14px 20px; }
  .home-filter-grid { 
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 10px; 
  }
  /* 5 items: center the last one, keep same size as others */
  .home-filter-grid .home-filter-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }
  .home-filter-card { padding: 16px 12px; }
  .home-filter-icon { font-size: 24px; }
  .home-filter-label { font-size: 12px; }

  /* "Must try" picks: make smaller and 2-up on mobile */
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-featured-img {
    margin: 10px;
    padding: 12px;
    border-radius: 10px;
  }
  .home-featured-info { padding: 12px 12px 14px; }
  .home-featured-brand { font-size: 10px; }
  .home-featured-name { font-size: 14px; }
  .home-featured-spec { font-size: 12px; }

  .pick-card { padding: 12px; }
  .pick-info h3 { font-size: 15px; }
  .pick-brand { font-size: 11px; }
  .pick-specs span { font-size: 11px; padding: 3px 6px; }

  /* Footer: keep stacked + readable (do not force center-align everything) */
  .footer { padding: 28px 0 18px; }
  .footer-grid { gap: 18px; }
  .brand.small { justify-content: flex-start; }
  .footer-meta { font-size: 12px; }
}
@media (max-width: 480px) {
  .nav-row { padding: 8px 0; }
  .brand-logo { height: 32px; }
  .brand-sub { font-size: 11px; }
  .home-hero { padding: 60px 0 40px; }
  .home-hero-title { font-size: 24px; }
  .home-hero-sub { font-size: 13px; }
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container { padding-left: 16px; padding-right: 16px; }
  img { max-width: 100%; height: auto; }
  .chip, .tag, .pill { min-height: 36px; display: inline-flex; align-items: center; }
  button, .pill, a.pill { min-height: 44px; }
  input, select, .select-trigger { min-height: 44px; }
}

/* ==========================================================
   Mobile compact layout
   Reduce vertical whitespace to make pages less scroll-heavy.
   ========================================================== */

@media (max-width: 768px) {
  .hero { padding: 56px 0 32px; }
  .section { padding: 36px 0; }

  /* Home page sections (not using .section class) */
  .home-hero { padding: 64px 0 40px; }
  .home-quick-filter { padding: 28px 0 44px; }
  .home-how-it-works { padding: 32px 0 48px; }
  .home-featured { padding: 32px 0 48px; }
  .home-quiz-cta { padding: 24px 0 52px; }
  .home-categories { padding: 44px 0 64px; }

  /* Quiz CTA: remove decorative SVG shapes on mobile */
  .home-quiz-visual,
  .home-quiz-shapes,
  .home-shape-float {
    display: none !important;
  }
  .home-quiz-card {
    padding: 22px !important;
    gap: 18px !important;
  }
  .home-quiz-features { gap: 10px; margin-top: 14px; }

  .hero-actions { margin: 16px 0 10px; gap: 10px; }
  .hero-panel { padding: 14px; }
  .panel-item { padding: 10px; }

  .grid { margin-top: 16px; gap: 14px; }
  .card { padding: 16px; }
  .category-card { padding: 16px; }
  .guide-card-body { padding: 16px; }
  .guide-card-footer { padding: 12px 16px; }

  .footer { padding: 28px 0 20px; }
  .footer-meta { margin-top: 16px; padding-top: 14px; }

  .picks-page { padding-bottom: 44px; }
  .strings-page { padding-bottom: 44px; }

  /* Artist pages: these are defined in per-page <style>, so override with !important */
  .artist-hero { padding: 28px 0 18px !important; }
  .artist-section { padding: 28px 0 !important; }
  .pick-feature-card { padding: 20px !important; gap: 20px !important; }
  .pick-feature-specs { margin: 16px 0 !important; gap: 12px !important; }
}

@media (max-width: 768px) and (min-width: 481px) {
  .nav-row { padding: 10px 0; }
  .brand-logo { height: 40px; }
  .brand.small .brand-logo { height: 34px; }
}

@media (max-width: 480px) {
  .nav-row { padding: 8px 0; }
  .brand-logo { height: 32px; }
}


/* ==========================================================
   Gifts Page Styles
   Premium black + gold gift finder with filtering UI
   ========================================================== */

/* Glow effect for gifts page */
.gifts-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 200, 91, 0.08) 0%, rgba(244, 200, 91, 0.00) 80%),
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(244, 200, 91, 0.14) 0%, rgba(244, 200, 91, 0.00) 100%);
  filter: blur(0.5px);
}

.gifts-page {
  position: relative;
  z-index: 1;
}

/* FAQ Section (Gifts Page) */
.gifts-faq {
  padding: 40px 0 60px;
  border-top: 1px solid var(--stroke);
}

.gifts-faq h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.faq-item p {
  font-size: 14px;
  line-height: 1.6;
}

.faq-item a {
  color: var(--gold);
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   GIFT CARD STYLES (using pick-card class for consistency)
   ═══════════════════════════════════════════════════════════ */

/* Quiz CTA Banner */
.quiz-cta-banner {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.08) 0%, rgba(244, 200, 91, 0.02) 100%);
  border: 1px solid rgba(244, 200, 91, 0.2);
  border-radius: var(--radius-lg);
}

.quiz-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.quiz-cta-text h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.quiz-cta-text p {
  margin: 0;
  font-size: 14px;
}

.quiz-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #050507;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.quiz-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 200, 91, 0.25);
}

@media (max-width: 600px) {
  .quiz-cta-content {
    flex-direction: column;
    text-align: center;
  }
  .quiz-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Gift card specific overrides */
.picks-page .pick-card {
  padding: 0;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
}

.picks-page .pick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 200, 91, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pick-card-image {
  position: relative;
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pick-card-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.pick-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-featured {
  background: rgba(244, 200, 91, 0.15);
  color: var(--gold);
  border: 1px solid rgba(244, 200, 91, 0.3);
}

.badge-safe {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-good {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-enthusiast {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.picks-page .pick-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.pick-card-brand {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.pick-card-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pick-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}

.pick-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}

.pick-card-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.pick-card-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #f4c85b, #d4a82b);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pick-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 200, 91, 0.3);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state p {
  margin-bottom: 16px;
}

.btn-secondary {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* Mobile adjustments for gifts page */
@media (max-width: 768px) {
  .pick-card-image {
    height: 160px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SKELETON LOADING ANIMATION
   ═══════════════════════════════════════════════════════════ */

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

.skeleton-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-card-image {
  height: 180px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-text {
  height: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-text.sm { width: 40%; }
.skeleton-text.md { width: 70%; }
.skeleton-text.lg { width: 90%; }
.skeleton-text.xl { width: 100%; }

.skeleton-btn {
  height: 42px;
  width: 100px;
  background: linear-gradient(
    90deg,
    rgba(244, 200, 91, 0.1) 25%,
    rgba(244, 200, 91, 0.2) 50%,
    rgba(244, 200, 91, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */

@media print {
  .noise-layer,
  .site-header,
  footer,
  .skip-link,
  .nav-toggle,
  .picks-glow,
  .compare-bar,
  .compare-modal,
  .quiz-cta-banner {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card,
  .pick-card,
  .hub-card {
    break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .pill {
    background: #f0f0f0;
    color: black;
    border: 1px solid #ccc;
  }
}

/* ═══════════════════════════════════════════════════════════
   🎸 EXPERIENCE LAYER - MEMORABLE GUITARIST-FOCUSED DESIGN
   "This isn't just a pick finder. It's YOUR pick journey."
   ═══════════════════════════════════════════════════════════ */

/* === ANIMATED GUITAR STRING DIVIDERS === */
.string-divider {
  position: relative;
  height: 3px;
  margin: 48px 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(244, 200, 91, 0.15) 10%,
    rgba(244, 200, 91, 0.4) 50%,
    rgba(244, 200, 91, 0.15) 90%,
    transparent 100%
  );
  overflow: visible;
}

.string-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  --divider-logo-size: 40px;
  width: var(--divider-logo-size);
  height: var(--divider-logo-size);
  aspect-ratio: 1 / 1;
  display: block;
  background: url('../LogoSquare.png') center / contain no-repeat;
  background-color: transparent;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(244, 200, 91, 0.4));
}

/* === PICK FLIP INTERACTION === */
.pick-card-img {
  perspective: 1000px;
}

.pick-card-img-stack {
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .pick-card:hover .pick-card-img-stack {
    transform: rotateY(8deg) rotateX(-3deg) scale(1.02);
  }
}

/* === STRUM EFFECT ON HOVER (cards sweep like a chord) === */
.picks-grid,
.home-featured-grid,
.category-picks-grid {
  --strum-delay: 0.03s;
}

@media (hover: hover) and (pointer: fine) {
  .picks-grid .pick-card,
  .home-featured-grid .home-featured-card,
  .category-picks-grid .pick-card {
    transition: 
      transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
      border-color 0.2s ease,
      box-shadow 0.3s ease;
  }
  
  .picks-grid:hover .pick-card,
  .home-featured-grid:hover .home-featured-card {
    opacity: 0.7;
    transform: scale(0.98);
  }
  
  .picks-grid .pick-card:hover,
  .home-featured-grid .home-featured-card:hover {
    opacity: 1;
    transform: scale(1.02) translateY(-6px);
    z-index: 2;
  }
}

/* === CARD CURSOR (standard pointer) === */
.pick-card,
.home-featured-card,
.home-filter-card,
.home-category-card,
.hub-card,
.podium-card {
  cursor: pointer;
}

/* === HERO AMBIENT GLOW PULSE === */
.home-hero-bg {
  animation: hero-ambient 8s ease-in-out infinite;
}

@keyframes hero-ambient {
  0%, 100% { 
    opacity: 1;
    filter: blur(0px);
  }
  50% { 
    opacity: 0.7;
    filter: blur(2px);
  }
}

/* === FLOATING PICKS ANIMATION (background decoration) === */
.floating-picks {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.04;
}

.floating-pick {
  position: absolute;
  bottom: -100px;
  font-size: 48px;
  animation: float-pick 20s linear infinite;
  filter: blur(1px);
  will-change: transform, opacity;
}

@keyframes float-pick {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% {
    transform: translateY(calc(-100vh - 100px)) rotate(360deg);
    opacity: 0;
  }
}

/* === GOLD SHIMMER TEXT EFFECT === */
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #fff4d4 25%,
    var(--gold) 50%,
    #fff4d4 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-flow 3s linear infinite;
}

@keyframes shimmer-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* === EXPERIENCE BADGES (personality markers) === */
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.12), rgba(244, 200, 91, 0.04));
  border: 1px solid rgba(244, 200, 91, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.exp-badge::before {
  content: "🎸";
  font-size: 14px;
}

.exp-badge.pro::before { content: "⚡"; }
.exp-badge.acoustic::before { content: "🪕"; }
.exp-badge.metal::before { content: "🤘"; }
.exp-badge.jazz::before { content: "🎷"; }
.exp-badge.shred::before { content: "🔥"; }

/* === INTERACTIVE SOUND WAVE LOADER === */
.sound-wave-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.sound-wave-loader .bar {
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  animation: sound-wave 1s ease-in-out infinite;
}

.sound-wave-loader .bar:nth-child(1) { animation-delay: 0s; }
.sound-wave-loader .bar:nth-child(2) { animation-delay: 0.1s; }
.sound-wave-loader .bar:nth-child(3) { animation-delay: 0.2s; }
.sound-wave-loader .bar:nth-child(4) { animation-delay: 0.3s; }
.sound-wave-loader .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes sound-wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* === TESTIMONIAL / QUOTE STYLING === */
.guitarist-quote {
  position: relative;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.06), transparent);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.guitarist-quote::before {
  content: "\"";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(244, 200, 91, 0.2);
  line-height: 1;
}

.guitarist-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

/* === SCROLL PROGRESS INDICATOR === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-strong));
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(244, 200, 91, 0.5);
}

/* === REVEAL ANIMATIONS ON SCROLL === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* === PULSING CTA GLOW === */
.cta-glow {
  position: relative;
}

.cta-glow::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { opacity: 0; transform: scale(0.95); }
  50% { opacity: 0.4; transform: scale(1.02); }
}

/* === GENRE MOOD COLORS === */
.mood-metal { --mood-color: #dc2626; --mood-glow: rgba(220, 38, 38, 0.3); }
.mood-jazz { --mood-color: #8b5cf6; --mood-glow: rgba(139, 92, 246, 0.3); }
.mood-acoustic { --mood-color: #d97706; --mood-glow: rgba(217, 119, 6, 0.3); }
.mood-blues { --mood-color: #3b82f6; --mood-glow: rgba(59, 130, 246, 0.3); }
.mood-rock { --mood-color: #ef4444; --mood-glow: rgba(239, 68, 68, 0.3); }
.mood-funk { --mood-color: #ec4899; --mood-glow: rgba(236, 72, 153, 0.3); }

.mood-card {
  border-color: var(--mood-color, var(--stroke));
  box-shadow: 0 0 30px var(--mood-glow, transparent);
}

/* === MICRO-INTERACTION: BUTTON CLICK RIPPLE === */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.ripple-btn:active::after {
  width: 200px;
  height: 200px;
  opacity: 0;
}

/* === TYPEWRITER TAGLINE === */
.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: 3px solid var(--gold);
  white-space: nowrap;
  animation: 
    typing 3s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--gold); }
}

/* === ENHANCED NAV WITH ACTIVE INDICATOR === */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-links a.active {
  color: var(--gold);
}

/* === TOOLTIP SYSTEM === */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 12px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  pointer-events: none;
}

[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* === SOCIAL PROOF COUNTER ANIMATION === */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-animate {
  animation: count-up 0.6s ease forwards;
}

/* === FOOTER EASTER EGG === */
.footer-easter-egg {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.footer-easter-egg:hover {
  transform: rotate(360deg) scale(1.2);
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-picks,
  .shimmer-text,
  .sound-wave-loader,
  .typewriter,
  .scroll-progress {
    display: none;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* === MOBILE EXPERIENCE OPTIMIZATIONS === */
@media (max-width: 768px) {
  .floating-picks { display: none; }
  .guitarist-quote { padding: 24px 20px; font-size: 16px; }
  .guitarist-quote::before { font-size: 48px; top: -5px; left: 10px; }
  .string-divider { margin: 32px 0; }
  .string-divider::before { --divider-logo-size: 32px; }
  
  /* Disable complex hover effects on touch */
  .picks-grid:hover .pick-card,
  .home-featured-grid:hover .home-featured-card {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   🎯 ENHANCED CATEGORY/FILTER PAGES
   Better UX, visual hierarchy, and engagement
   ═══════════════════════════════════════════════════════════ */

/* === CATEGORY PAGE HERO === */
.category-page .picks-intro {
  padding: 80px 0 48px;
  background: linear-gradient(180deg, rgba(244, 200, 91, 0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--stroke);
  text-align: center;
}

.category-page .picks-intro h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

.category-page .intro-text {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

/* === JUMP LINKS / TABLE OF CONTENTS === */
.category-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.category-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-toc a:hover {
  background: rgba(244, 200, 91, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.category-toc a .toc-icon {
  font-size: 16px;
}

/* === CATEGORY BAND CARDS === */
.shape-band,
.thickness-band,
.grip-band,
.material-band,
.genre-band,
.best-for-band {
  scroll-margin-top: 100px;
  padding: 40px 0;
  border-bottom: 1px solid var(--stroke);
}

.shape-band:last-child,
.thickness-band:last-child,
.grip-band:last-child,
.material-band:last-child,
.genre-band:last-child,
.best-for-band:last-child {
  border-bottom: none;
}

.shape-band h2,
.thickness-band h2,
.grip-band h2,
.material-band h2,
.genre-band h2,
.best-for-band h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.shape-band h2::before,
.thickness-band h2::before,
.grip-band h2::before,
.material-band h2::before,
.genre-band h2::before,
.best-for-band h2::before {
  content: "";
  width: 4px;
  height: 28px;
  background: var(--gold);
  border-radius: 2px;
}

.shape-band > p,
.thickness-band > p,
.grip-band > p,
.material-band > p,
.genre-band > p,
.best-for-band > p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* === CATEGORY PICKS GRID (use category-picks-grid class) === */
/* Note: .category-picks uses flex column layout, .category-picks-grid uses grid */

/* === ENHANCED RELATED CATEGORIES === */
.related-categories {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 200, 91, 0.02) 100%);
}

.related-categories h2 {
  margin-bottom: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.related-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.related-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

/* === FAQ ACCORDION FOR SEO === */
.category-faq {
  padding: 48px 0;
  border-top: 1px solid var(--stroke);
  text-align: center;
}

.category-faq h2 {
  margin-bottom: 24px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--stroke);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
}

/* === CATEGORY SEO CONTENT ENHANCEMENT === */
.category-seo-content {
  padding: 48px 0;
  background: rgba(244, 200, 91, 0.02);
  border-radius: var(--radius-lg);
  margin: 32px 0;
}

.category-seo-content h2 {
  margin-bottom: 20px;
  color: var(--gold);
}

.category-seo-content p {
  max-width: 780px;
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.category-seo-content p strong {
  color: var(--text);
}

/* === QUIZ CTA BANNER FOR CATEGORY PAGES === */
.category-quiz-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(244, 200, 91, 0.08), rgba(244, 200, 91, 0.02));
  border: 1px solid rgba(244, 200, 91, 0.2);
  border-radius: var(--radius-lg);
  margin: 48px auto;
  max-width: 800px;
  text-align: center;
}

.category-quiz-cta-text h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.category-quiz-cta-text p {
  color: var(--muted);
  margin: 0;
}

.category-quiz-cta .btn {
  white-space: nowrap;
}

/* === CATEGORY PAGE MOBILE === */
@media (max-width: 768px) {
  .category-page .picks-intro {
    padding: 60px 0 32px;
  }
  
  .category-toc {
    gap: 8px;
  }
  
  .category-toc a {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .shape-band,
  .thickness-band,
  .grip-band,
  .material-band,
  .genre-band,
  .best-for-band {
    padding: 32px 0;
  }
  
  .category-picks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .category-quiz-cta {
    flex-direction: column;
    text-align: center;
  }
}