/* ============================================================
   LaPulia Book of Shadows — Premium Design System v2
   Pure CSS · No frameworks · Google Fonts via @import
   ============================================================ */

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

/* ── CSS Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, video { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[role="list"], ol[role="list"] { list-style: none; }

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  /* Colors */
  --c-bg:           #FFFFFF;
  --c-surface:      #F8F5F1;
  --c-surface-2:    #EFE9E0;
  --c-border:       #E2D9CC;
  --c-border-light: #EDE6DB;
  --c-heading:      #1A1208;
  --c-text:         #3D3428;
  --c-muted:        #7A6E62;
  --c-subtle:       #A89E93;
  --c-accent:       #8B1F1F;
  --c-accent-hv:    #6E1515;
  --c-accent-light: #FCF0F0;
  --c-gold:         #B8872A;
  --c-gold-light:   #F7EDD5;
  --c-dark:         #120E08;
  --c-dark-2:       #1E1810;
  --c-white:        #FFFFFF;
  --c-overlay:      rgba(18, 14, 8, 0.55);

  /* Typography */
  --f-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-size-xs:   0.6875rem; /* 11px */
  --f-size-sm:   0.8125rem; /* 13px */
  --f-size-base: 1rem;      /* 16px */
  --f-size-md:   1.0625rem; /* 17px */
  --f-size-lg:   1.25rem;   /* 20px */
  --f-size-xl:   1.5rem;    /* 24px */
  --f-size-2xl:  1.875rem;  /* 30px */
  --f-size-3xl:  2.25rem;   /* 36px */
  --f-size-4xl:  3rem;      /* 48px */
  --f-size-5xl:  3.75rem;   /* 60px */

  /* Spacing (8px base grid) */
  --sp-1:  0.25rem;  /* 4px  */
  --sp-2:  0.5rem;   /* 8px  */
  --sp-3:  0.75rem;  /* 12px */
  --sp-4:  1rem;     /* 16px */
  --sp-5:  1.25rem;  /* 20px */
  --sp-6:  1.5rem;   /* 24px */
  --sp-8:  2rem;     /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */
  --sp-24: 6rem;     /* 96px */

  /* Layout */
  --max-w:      1280px;
  --max-w-text: 860px;
  --max-w-xs:   640px;
  --nav-h:      72px;
  --pad-x:      clamp(1rem, 4vw, 2.5rem);

  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,.05);
  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 4px 20px rgba(0,0,0,.10);
  --sh-lg: 0 8px 40px rgba(0,0,0,.13);
  --sh-xl: 0 16px 64px rgba(0,0,0,.16);

  /* Transitions */
  --tr-fast:   0.15s ease;
  --tr-base:   0.25s ease;
  --tr-slow:   0.4s ease;
}

/* ── Base Styles ───────────────────────────────────────────── */
body {
  font-family: var(--f-body);
  font-size: var(--f-size-base);
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  color: var(--c-heading);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(var(--f-size-2xl), 5vw, var(--f-size-4xl)); }
h2 { font-size: clamp(var(--f-size-xl), 3.5vw, var(--f-size-3xl)); }
h3 { font-size: clamp(var(--f-size-lg), 2.5vw, var(--f-size-xl)); }
h4 { font-size: var(--f-size-md); }
h5 { font-size: var(--f-size-base); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover { color: var(--c-accent-hv); }

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--sm { max-width: var(--max-w-text); }
.container--xs { max-width: var(--max-w-xs); }

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-xs);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  gap: var(--sp-6);
}

.navbar__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.navbar__logo-name {
  font-family: var(--f-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.navbar__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.navbar__links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  gap: var(--sp-8);
}
.navbar__links a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.navbar__links a:hover,
.navbar__links a[aria-current="page"] {
  color: var(--c-accent);
  border-bottom-color: var(--c-accent);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  color: var(--c-heading);
  line-height: 1;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform var(--tr-base), opacity var(--tr-base);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: var(--sp-3);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  font-size: var(--f-size-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-muted);
}
.breadcrumb__list li + li::before {
  content: '›';
  margin-right: var(--sp-2);
  color: var(--c-border);
  font-size: 0.9em;
}
.breadcrumb__list a { color: var(--c-muted); transition: color var(--tr-fast); }
.breadcrumb__list a:hover { color: var(--c-accent); }
.breadcrumb__list [aria-current="page"] { color: var(--c-text); font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.6875rem 1.625rem;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--tr-base), color var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base), transform var(--tr-fast);
  -webkit-user-select: none;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.btn--primary:hover { background: var(--c-accent-hv); border-color: var(--c-accent-hv); color: var(--c-white); box-shadow: 0 4px 14px rgba(139,31,31,0.35); text-decoration: none; }

.btn--gold { background: var(--c-gold); color: var(--c-white); border-color: var(--c-gold); }
.btn--gold:hover { background: #9A7122; border-color: #9A7122; color: var(--c-white); text-decoration: none; }

.btn--outline { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn--outline:hover { background: var(--c-accent); color: var(--c-white); text-decoration: none; }

.btn--outline-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.6); }
.btn--outline-light:hover { background: var(--c-white); color: var(--c-heading); text-decoration: none; }

.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); text-decoration: none; }

.btn--sm { padding: 0.5rem 1.125rem; font-size: 0.75rem; }
.btn--lg { padding: 0.875rem 2rem; font-size: 0.875rem; }
.btn--xl { padding: 1rem 2.5rem; font-size: 0.9375rem; }
.btn--full { width: 100%; }

/* ── Eyebrow / Section Labels ──────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-gold);
}

.section-title {
  font-family: var(--f-heading);
  color: var(--c-heading);
  margin-bottom: var(--sp-4);
}
.section-subtitle {
  color: var(--c-muted);
  font-size: var(--f-size-md);
  max-width: 580px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--c-dark);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
  padding: clamp(var(--sp-16), 10vw, var(--sp-24)) var(--pad-x);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(184,135,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(139,31,31,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
}
.hero__eyebrow { color: var(--c-gold); }
.hero__eyebrow::before { background: var(--c-gold); }
.hero__title {
  font-size: clamp(var(--f-size-3xl), 6vw, var(--f-size-5xl));
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--c-gold);
}
.hero__subtitle {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: var(--f-size-lg);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-6);
}
.hero__desc {
  font-size: var(--f-size-md);
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
  max-width: 620px;
  margin-inline: auto;
}
.hero__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-gold), transparent);
  margin: var(--sp-6) auto;
}

/* Narrow / page hero */
.page-hero {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-12) var(--pad-x);
  text-align: center;
}
.page-hero__eyebrow { justify-content: center; }
.page-hero__title { margin-bottom: var(--sp-3); }
.page-hero__desc {
  color: var(--c-muted);
  max-width: 580px;
  margin-inline: auto;
  font-size: var(--f-size-md);
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-24));
}
.section--alt { background: var(--c-surface); }
.section--dark { background: var(--c-dark); color: var(--c-white); }
.section--dark .section-title { color: var(--c-white); }
.section--dark .section-subtitle { color: rgba(255,255,255,0.6); }

.section-header { margin-bottom: var(--sp-12); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin-inline: auto; }
.section-header--center .eyebrow { justify-content: center; }
.section-header--center .eyebrow::before { display: none; }

/* ── Product Grid ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ── Product Card ────────────────────────────────────────────── */
.product-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--tr-base), transform var(--tr-base), border-color var(--tr-base);
}
.product-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--c-border);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 1 / 1;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.06); }

.product-card__badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  z-index: 1;
}
.product-card__badge--sale { background: var(--c-accent); color: var(--c-white); }
.product-card__badge--new  { background: var(--c-gold);   color: var(--c-white); }

.product-card__body {
  padding: var(--sp-4) var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.product-card__name {
  font-family: var(--f-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.3;
  margin: 0;
}
.product-card__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-top: auto;
  padding-top: var(--sp-2);
}
.product-card__price-original {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--c-subtle);
  text-decoration: line-through;
  margin-right: var(--sp-2);
}

.product-card__foot {
  padding: var(--sp-2) var(--sp-5) var(--sp-5);
}

/* ── Category Card ───────────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid--6 { grid-template-columns: repeat(6, 1fr); }

.cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  background: var(--c-bg);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}
.cat-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  text-decoration: none;
}
.cat-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
}
.cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.cat-card:hover .cat-card__img-wrap img { transform: scale(1.06); }

.cat-card__body {
  padding: var(--sp-4) var(--sp-5);
  flex: 1;
}
.cat-card__name {
  font-family: var(--f-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-heading);
  margin-bottom: var(--sp-1);
}
.cat-card__count {
  font-size: var(--f-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.cat-card__desc {
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-top: var(--sp-2);
  line-height: 1.55;
}

/* ── Sidebar Layout ──────────────────────────────────────────── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
}

.sidebar-nav {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sidebar-nav__header {
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-dark);
  color: var(--c-white);
}
.sidebar-nav__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.sidebar-nav__list {
  list-style: none;
  padding: var(--sp-2) 0;
}
.sidebar-nav__list li { }
.sidebar-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-5);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast);
}
.sidebar-nav__list a:hover,
.sidebar-nav__list a[aria-current="page"] {
  background: var(--c-bg);
  border-left-color: var(--c-accent);
  color: var(--c-accent);
}
.sidebar-nav__list a span {
  font-size: 0.7rem;
  color: var(--c-subtle);
  background: var(--c-surface-2);
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

/* Category page header */
.cat-page-header {
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--c-border);
}
.cat-page-header h1 { margin-bottom: var(--sp-3); }
.cat-desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--c-muted);
  max-width: 680px;
}

/* ── Product Page ─────────────────────────────────────────────── */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  align-items: start;
}

.product-gallery { position: sticky; top: calc(var(--nav-h) + var(--sp-6)); }
.product-gallery__main {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  margin-bottom: var(--sp-3);
}
.product-gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery__placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--c-surface-2);
  color: var(--c-muted);
  gap: var(--sp-4);
}
.product-gallery__placeholder span { font-size: 3rem; }
.product-gallery__placeholder p { font-family: var(--f-heading); font-size: 1rem; text-align: center; padding: 0 var(--sp-4); }

.product-gallery__thumbs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.product-gallery__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 2px solid var(--c-border);
  cursor: pointer;
  transition: border-color var(--tr-fast);
}
.product-gallery__thumb:hover,
.product-gallery__thumb.is-active { border-color: var(--c-accent); }

.product-info__cat {
  font-size: var(--f-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
  display: block;
}
.product-info__name {
  font-size: clamp(var(--f-size-xl), 3vw, var(--f-size-3xl));
  color: var(--c-heading);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.product-info__price {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: var(--sp-5);
}
.product-info__divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin-block: var(--sp-5);
}
.product-info__desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: var(--sp-8);
}
.product-info__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.product-info__meta {
  font-size: 0.8125rem;
  color: var(--c-muted);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.product-info__meta strong { color: var(--c-text); }

/* ── Feature Blocks ──────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.feature-item { text-align: center; }
.feature-item__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
}
.feature-item__title {
  font-family: var(--f-heading);
  font-size: 1.125rem;
  color: var(--c-heading);
  margin-bottom: var(--sp-2);
}
.feature-item__desc { font-size: 0.875rem; color: var(--c-muted); }

/* ── Quote / Pullquote ───────────────────────────────────────── */
.pullquote {
  border-left: 3px solid var(--c-gold);
  padding: var(--sp-4) var(--sp-6);
  background: var(--c-gold-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--f-heading);
  font-style: italic;
  font-size: var(--f-size-lg);
  color: var(--c-heading);
  margin-block: var(--sp-8);
}

/* ── Founder / Story Section ─────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.story-img {
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.story-img img { width: 100%; object-fit: cover; }
.story-content .eyebrow { }
.story-content h2 { margin-bottom: var(--sp-6); }
.story-content p { color: var(--c-muted); }

/* ── Newsletter ──────────────────────────────────────────────── */
.newsletter {
  background: var(--c-dark-2);
  padding: var(--sp-16) var(--pad-x);
  text-align: center;
  color: var(--c-white);
}
.newsletter h2 { color: var(--c-white); margin-bottom: var(--sp-3); }
.newsletter p { color: rgba(255,255,255,0.6); margin-bottom: var(--sp-8); }
.newsletter__form {
  display: flex;
  gap: var(--sp-3);
  max-width: 460px;
  margin-inline: auto;
}
.newsletter__input {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  color: var(--c-white);
  font-size: 0.9rem;
  transition: border-color var(--tr-fast);
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter__input:focus { outline: none; border-color: var(--c-gold); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-16);
  align-items: start;
}
.contact-info { }
.contact-info h2 { margin-bottom: var(--sp-8); }
.contact-item {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent-light);
  border: 1px solid rgba(139,31,31,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 2px;
}
.contact-item__value { color: var(--c-text); font-size: 0.9375rem; }
.contact-item__value a { color: var(--c-accent); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-heading);
  letter-spacing: 0.02em;
}
.form-input,
.form-textarea {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(139,31,31,0.09);
}
.form-textarea { min-height: 150px; resize: vertical; }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--c-accent);
  padding: var(--sp-16) var(--pad-x);
  text-align: center;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 600px; margin-inline: auto; }
.cta-banner h2 { color: var(--c-white); margin-bottom: var(--sp-4); }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: var(--sp-8); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.65);
  padding-top: var(--sp-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand__name {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-2);
}
.footer-brand__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
}
.footer-brand__desc { font-size: 0.875rem; line-height: 1.7; }
.footer-col__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-5);
}
.footer-col__list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col__list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--tr-fast);
}
.footer-col__list a:hover { color: var(--c-white); text-decoration: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold { color: var(--c-gold) !important; }
.text-muted { color: var(--c-muted); }
.text-accent { color: var(--c-accent); }
.mt-auto { margin-top: auto; }
.gap-4 { gap: var(--sp-4); }

/* Price tag for sale items */
.price--sale { color: var(--c-accent); }
.price--original { color: var(--c-subtle); text-decoration: line-through; font-size: 0.9em; margin-right: var(--sp-2); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid   { grid-template-columns: repeat(3, 1fr); }
  .product-grid--5 { grid-template-columns: repeat(4, 1fr); }
  .cat-grid       { grid-template-columns: repeat(3, 1fr); }
  .cat-grid--6    { grid-template-columns: repeat(4, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .story-grid     { grid-template-columns: 300px 1fr; gap: var(--sp-10); }
}

@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 360px; }
  .features { grid-template-columns: 1fr; gap: var(--sp-6); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    gap: 0;
    padding: var(--sp-3) 0;
    box-shadow: var(--sh-md);
    z-index: 199;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links li { width: 100%; }
  .navbar__links a {
    display: block;
    padding: var(--sp-4) var(--pad-x);
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.875rem;
  }
  .navbar__links a:hover,
  .navbar__links a[aria-current="page"] {
    border-left-color: var(--c-accent);
    background: var(--c-surface);
  }
  .nav-toggle { display: block; }
  .navbar__cta { display: none; }

  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .cat-grid--3, .cat-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter__form { flex-direction: column; }
}

@media (max-width: 480px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; gap: var(--sp-4); }
  .cat-grid, .cat-grid--3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .product-info__actions { flex-direction: column; }
  .cat-grid--6 { grid-template-columns: repeat(2, 1fr); }
}
