/* =============================================
   BOUGH BUILT — Dark Industrial / DIY Dive Aesthetic Cousin
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #111118;
  --bg-surface: #1a1a24;
  --bg-surface-hover: #222230;
  --accent-wood: #F5A623;
  --accent-wood-hover: #c8870a;
  --accent-wood-light: #f7b84a;
  --accent-gold: #F5A623;
  --accent-gold-dim: #c8870a;
  --accent-purple: #6A3093;
  --accent-purple-dark: #4B2E83;
  --accent-purple-light: #9370DB;
  --text-primary: #e8e0d0;
  --text-secondary: #a09888;
  --text-muted: #706858;
  --border-color: #2a2a38;
  --success: #4caf50;
  --error: #e53935;
  --info: #42a5f5;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 12px rgba(245, 166, 35, 0.15);
  --shadow-purple: 0 0 12px rgba(106, 48, 147, 0.15);

  --max-width: 1200px;
  --nav-height: 64px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-wood-light);
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.gold-accent {
  color: var(--accent-gold);
}

.wood-accent {
  color: var(--accent-wood);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 24, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-xl);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 24px;
  width: 24px;
  display: block;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--accent-gold);
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.cart-toggle {
  position: relative;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  transition: all 0.2s;
}

.cart-toggle:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-wood);
  color: #111118;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  background: radial-gradient(ellipse at center, #1a1a25 0%, var(--bg-primary) 70%);
  overflow: hidden;
}

/* Image-backed hero variant */
.hero-with-image {
  position: relative;
  background: #111118;
}

.hero-with-image .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.35;
  filter: saturate(0.85) brightness(0.9);
}

.hero-with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,24,0.70) 0%, rgba(17,17,24,0.40) 50%, rgba(17,17,24,0.85) 100%),
              linear-gradient(135deg, rgba(245, 166, 35, 0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-with-image::after { display: none; }

.hero-with-image .hero-content { z-index: 2; }

/* Page hero - shorter, for sub-pages */
.hero-page {
  min-height: 45vh;
}

.hero-page .hero-tagline {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Default hero overlay effects */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.10) 0%, transparent 50%),
    linear-gradient(225deg, rgba(106, 48, 147, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Burnt-wood grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-tagline .highlight {
  color: var(--accent-gold);
  display: block;
  font-style: normal;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--accent-wood);
  color: #111118;
}

.btn-primary:hover {
  background: var(--accent-wood-light);
  color: #111118;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: rgba(212, 168, 67, 0.12);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  border-color: var(--accent-wood);
  color: var(--accent-wood-light);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.85rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(212, 168, 67, 0.12), var(--shadow-lg);
  border-color: rgba(212, 168, 67, 0.4);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--border-color);
}

.card-body {
  padding: var(--space-md);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.card-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.card-footer {
  padding: 0 var(--space-md) var(--space-md);
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
  padding: 0 var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-wide {
  padding: var(--space-4xl) var(--space-xl);
}

.section-dark {
  background: var(--bg-surface);
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: var(--space-2xl) 0;
}

/* ---------- Featured Products ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Vibe Bar ---------- */
.vibe-bar {
  padding: var(--space-lg) var(--space-xl);
  overflow-x: auto;
}

.vibe-tags {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.vibe-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s;
  cursor: default;
}

.vibe-tag:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ---------- Category Grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.cat-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.cat-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.cat-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.cat-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.cat-card-free {
  border-color: rgba(74, 222, 128, 0.2);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.04) 0%, transparent 100%);
}

.cat-card-free:hover {
  border-color: #4ade80;
}

.cat-card-cta {
  border-color: rgba(245, 166, 35, 0.2);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.04) 0%, transparent 100%);
}

.cat-card-cta:hover {
  border-color: var(--accent-gold);
}

/* ---------- Creator Strip ---------- */
.creator-strip {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.creator-chip {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s;
  min-width: 180px;
  cursor: default;
}

.creator-chip:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 166, 35, 0.04);
}

.creator-chip .chip-avatar {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.creator-chip div {
  display: flex;
  flex-direction: column;
}

.creator-chip strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.creator-chip span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Vibe Grid ---------- */
.vibe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.vibe-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s;
}

.vibe-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.vibe-card.card-gold {
  border-color: rgba(245, 166, 35, 0.2);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06) 0%, transparent 100%);
}

.vibe-card.card-gold:hover {
  border-color: var(--accent-gold);
}

.vibe-emoji {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
}

.vibe-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.vibe-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Footer Tags ---------- */
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.footer-tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---------- Hero Actions ---------- */
.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: linear-gradient(135deg, #1a1a24 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: var(--space-md);
}

.cta-text {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

.footer-phone-strip {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.footer-phone-strip a {
  display: block;
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.1;
  transition: opacity 0.2s ease;
}

.footer-phone-strip a:hover {
  opacity: 0.85;
}

.footer-phone-strip .footer-phone-label {
  display: block;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
  font-family: var(--font-sans);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Filter Tabs ---------- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-xl);
}

.filter-tab {
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.filter-tab.active {
  background: var(--accent-wood);
  border-color: var(--accent-wood);
  color: #111118;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
}

.form-success {
  padding: 1rem;
  background: #f0fff4;
  border: 1px solid #68d391;
  border-radius: 6px;
  color: #276749;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-error {
  padding: 1rem;
  background: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: 6px;
  color: #c53030;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-lg) 0;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Skill Level Indicators ---------- */
.skill-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.skill-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.skill-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
}

.skill-dot.beginner { background: #4caf50; }
.skill-dot.intermediate { background: #ffc107; }
.skill-dot.advanced { background: #e53935; }

.skill-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.skill-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- What's In The Box ---------- */
.box-contents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.box-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.box-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.box-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Portfolio Grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Pickup Callout ---------- */
.pickup-callout {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-surface);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: var(--space-2xl) auto;
}

.pickup-callout h3 {
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

/* ---------- Best For (3-column) ---------- */
.best-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.best-for-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.best-for-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

/* ---------- Video Link Icon ---------- */
.video-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.video-link:hover {
  color: var(--accent-wood-light);
}

/* ---------- Skill Tags ---------- */
.skill-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.skill-tag.beginner { background: rgba(76, 175, 80, 0.2); color: #81c784; }
.skill-tag.intermediate { background: rgba(255, 193, 7, 0.2); color: #ffd54f; }
.skill-tag.advanced { background: rgba(229, 57, 53, 0.2); color: #ef9a9a; }

/* ---------- Info Banner ---------- */
.info-banner {
  background: linear-gradient(135deg, var(--accent-wood) 0%, #b8953a 100%);
  padding: var(--space-xl);
  text-align: center;
  margin: var(--space-3xl) 0;
}

.info-banner h3 {
  color: #111118;
  margin-bottom: var(--space-xs);
}

.info-banner p {
  color: rgba(17, 17, 24, 0.8);
  margin: 0;
}

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-md));
  right: var(--space-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 280px;
  max-width: 400px;
  animation: toastIn 0.3s ease;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.info { border-left: 3px solid var(--info); }

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 0 0 var(--space-sm);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(17, 17, 24, 0.98);
    backdrop-filter: blur(16px) saturate(180%);
    flex-direction: column;
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    gap: var(--space-sm);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: var(--space-sm) 0;
  }

  .featured-grid,
  .product-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .toast-container {
    right: var(--space-md);
    left: var(--space-md);
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  .hero {
    min-height: 60vh;
    padding: var(--space-2xl) var(--space-md);
  }

  .skill-levels,
  .box-contents,
  .best-for-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Product Detail Page (Etsy-style) ---------- */
.product-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}

/* Layout: image gallery left, info panel right */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Image Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.product-main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  margin-bottom: var(--space-md);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.product-thumbnail {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
}

/* Product Info Panel */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-breadcrumb a {
  color: var(--text-muted);
}

.product-info-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.product-info-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.product-info-price .original {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: var(--space-sm);
  font-weight: 400;
}

.product-info-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Description */
.product-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.product-description p {
  margin-bottom: var(--space-md);
}

/* Specs Table */
.product-specs {
  width: 100%;
  border-collapse: collapse;
}

.product-specs tr {
  border-bottom: 1px solid var(--border-color);
}

.product-specs td {
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
}

.product-specs td:first-child {
  color: var(--text-muted);
  width: 40%;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.product-specs td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* Features Grid */
.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.product-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all 0.2s ease;
}

.product-feature-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: var(--shadow-glow);
}

.product-feature-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.product-feature-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.product-feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Add to Cart Section */
.product-actions {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.product-quantity label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.product-quantity select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--accent-gold);
  color: #111118;
}

.btn-cart:hover {
  background: var(--accent-wood-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-cart:active {
  transform: translateY(0);
}

.product-policies {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-color);
}

.product-policies span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Additional Image Sections */
.product-section {
  margin-top: var(--space-3xl);
}

.product-section h2 {
  margin-bottom: var(--space-xl);
}

.product-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-section-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.product-section-grid img:hover {
  transform: scale(1.02);
}

.product-section-grid .img-wide {
  grid-column: span 2;
}

/* Two-column layout for craftsmanship */
.product-section-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.product-section-two img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

/* Back to products link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent-gold);
}

/* Comparison section */
.product-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.comparison-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.2s ease;
}

.comparison-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
}

.comparison-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.comparison-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--space-xs);
}

.comparison-card ul {
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.comparison-card ul li {
  padding: 4px 0;
  list-style: disc;
  margin-left: var(--space-lg);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox .close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Customization badge overlay */
.customize-tag {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(106, 48, 147, 0.9);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Responsive product detail */
@media (max-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .product-gallery {
    position: static;
  }

  .product-comparison {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail {
    padding: var(--space-lg) var(--space-md);
  }

  .product-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-features {
    grid-template-columns: 1fr 1fr;
  }

  .product-section-grid {
    grid-template-columns: 1fr;
  }

  .product-section-two {
    grid-template-columns: 1fr;
  }

  .product-comparison {
    grid-template-columns: 1fr;
  }

  .product-policies {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--space-sm);
  }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
