/* ═══════════════════════════════════════════════════════
   Heritage Modern — Editorial Collector's Journal
   Sports World Collectibles Design System
   ═══════════════════════════════════════════════════════ */

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

/* ─── Design Tokens ─────────────────────────────── */
:root {
  /* Palette */
  --warm-white: #faf8f4;
  --cream: #f0ebe0;
  --cream-dark: #e4ddd0;
  --navy: #1a2332;
  --navy-light: #2a3a52;
  --navy-muted: #3d506b;
  --rust: #c45d3e;
  --rust-light: #d4724f;
  --rust-dark: #a84e33;
  --sage: #7a8f6d;
  --sage-light: #96ab89;
  --sage-dark: #5f7253;
  --warm-gray: #9a9185;
  --warm-gray-light: #b8b0a6;
  --warm-gray-dark: #6b6560;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #7a7568;
  --border-light: #e4ddd0;
  --border-medium: #d1c9ba;
  --green: #5a8a5e;
  --red: #b84a3c;

  /* Typography */
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 80px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--warm-white);
  /* Very subtle warm grain texture */
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
}

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

::selection {
  background: var(--rust);
  color: #fff;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  transition: all 0.35s var(--ease-out-expo);
  white-space: nowrap;
}

.btn--primary {
  background: var(--rust);
  color: #fff;
}
.btn--primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 93, 62, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-medium);
}
.btn--ghost:hover {
  border-color: var(--rust);
  color: var(--rust);
}

.btn--full { width: 100%; }

.btn--small {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* ─── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 60px);
  height: 72px;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s;
}

.nav.scrolled {
  height: 64px;
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 12px rgba(26, 35, 50, 0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.3s var(--ease-out-expo);
}
.nav__links a:hover { color: var(--rust); }
.nav__links a:hover::after { width: 100%; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__search-form {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  max-width: 36px;
  transition: max-width 0.4s var(--ease-out-expo);
}
.nav__search-form.open {
  max-width: 260px;
}
.nav__search-input {
  width: 220px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 4px 0 0 4px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
}
.nav__search-input::placeholder { color: var(--warm-gray); }
.nav__search-input:focus { border-color: var(--rust); }

.nav__search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  flex-shrink: 0;
}
.nav__search-btn:hover { color: var(--rust); }

.nav__cart-link {
  position: relative;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav__cart-link:hover { color: var(--rust); }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  padding: 0 4px;
  display: none;
}

.nav__cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  transition: all 0.3s;
}
.nav__cta:hover {
  background: var(--navy);
  color: var(--cream);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border-light);
    padding: 20px clamp(24px, 4vw, 60px);
    gap: 16px;
    display: none;
    box-shadow: 0 12px 32px rgba(26, 35, 50, 0.08);
  }
  .nav__links--open { display: flex; }
  .nav__cta { display: none; }
  .nav__search-form { max-width: 36px; }
  .nav__search-form.open { max-width: 180px; }
}

/* ─── Cart Notification ──────────────────────────── */
.cart-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: var(--navy);
  color: var(--cream);
  padding: 16px 28px;
  border-radius: 6px;
  font-size: 0.85rem;
  box-shadow: 0 8px 32px rgba(26, 35, 50, 0.2);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}
.cart-notification.visible {
  transform: translateY(0);
  opacity: 1;
}
.cart-notification span {
  color: var(--rust-light);
  font-weight: 600;
  margin-right: 4px;
}

/* ─── Page Header ────────────────────────────────── */
.page-header {
  padding: 120px clamp(24px, 6vw, 80px) 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: clamp(24px, 6vw, 80px);
  width: 60px;
  height: 3px;
  background: var(--rust);
}
.page-header__inner {
  max-width: 1400px;
  margin: 0 auto;
}
.page-header__breadcrumb {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-header__breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.page-header__breadcrumb a:hover { color: var(--rust); }
.page-header__breadcrumb .sep { color: var(--warm-gray-light); }

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

/* ─── Section Helpers ────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ─── Thin Decorative Rule ───────────────────────── */
.rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), var(--border-medium), var(--border-light));
  margin: 0;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px clamp(24px, 6vw, 80px) 60px;
  background: var(--cream);
  position: relative;
}

.hero__rule {
  width: 60px;
  height: 1px;
  background: var(--rust);
  margin: 0 auto 40px;
}

.hero__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  max-width: 700px;
  margin: 0 auto 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--rust);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 44px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--warm-gray), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ─── Categories ─────────────────────────────────── */
.categories {
  padding: var(--section-padding);
  background: var(--warm-white);
  position: relative;
}

.cat-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.cat-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 93, 62, 0.08);
}

.cat-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cat-card__content { flex: 1; min-width: 0; }

.cat-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}

.cat-card__count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cat-card__arrow {
  font-size: 1.1rem;
  color: var(--warm-gray-light);
  transition: all 0.3s;
  flex-shrink: 0;
}
.cat-card:hover .cat-card__arrow {
  color: var(--rust);
  transform: translate(2px, -2px);
}

/* ─── Product Cards (Trading Card Style) ─────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 35, 50, 0.1);
  border-color: var(--border-medium);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  background: var(--warm-white);
  overflow: hidden;
}
.product-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(196, 93, 62, 0);
  transition: background 0.4s;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.product-card:hover .product-card__image::after {
  background: rgba(196, 93, 62, 0.04);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.2;
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--sage);
  color: #fff;
  z-index: 2;
}
.product-card__tag--preorder {
  background: var(--navy-muted);
}
.product-card__tag--rare {
  background: var(--rust);
}

.product-card__oos-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 244, 0.75);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  z-index: 2;
}

.product-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__sport {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 8px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 16px;
  flex: 1;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.product-card__cart {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 300;
  transition: all 0.3s;
}
.product-card__cart:hover {
  background: var(--rust);
  transform: scale(1.1);
}

.product-card--oos {
  opacity: 0.7;
}

/* ─── Featured Section ───────────────────────────── */
.featured {
  padding: var(--section-padding);
  background: var(--warm-white);
}

.featured__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 56px;
}

.view-all {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
  transition: all 0.3s;
}
.view-all:hover {
  color: var(--rust-dark);
  border-color: var(--rust-dark);
}

/* ─── Heritage / Stats Section ───────────────────── */
.heritage {
  padding: var(--section-padding);
  background: var(--cream);
  position: relative;
}
.heritage::before,
.heritage::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}
.heritage::before { top: 0; }
.heritage::after { bottom: 0; }

.heritage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.heritage__text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}
.heritage__text strong {
  color: var(--navy);
  font-weight: 600;
}

.heritage__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  padding: 32px 28px;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-align: center;
  position: relative;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--rust);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .heritage__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── Autographs / Trust ─────────────────────────── */
.autographs {
  padding: var(--section-padding);
  background: var(--navy);
  color: var(--cream);
  text-align: center;
}

.autographs__inner {
  max-width: 700px;
  margin: 0 auto;
}

.autographs__seal {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(240, 235, 224, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.autographs__seal-text {
  font-size: 1.6rem;
  color: var(--rust-light);
}

.autographs .section-label { color: var(--rust-light); }
.autographs .section-title {
  color: var(--cream);
  max-width: none;
  margin: 0 auto 20px;
}
.autographs .section-desc {
  color: rgba(240, 235, 224, 0.7);
  max-width: 600px;
  margin: 0 auto 48px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border: 1px solid rgba(240, 235, 224, 0.1);
  border-radius: 8px;
  transition: border-color 0.3s;
}
.trust-badge:hover {
  border-color: rgba(196, 93, 62, 0.4);
}

.trust-badge__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--rust-light);
  border: 1px solid rgba(196, 93, 62, 0.3);
  border-radius: 50%;
}

.trust-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.8);
}

/* ─── Locations ──────────────────────────────────── */
.locations {
  padding: var(--section-padding);
  background: var(--warm-white);
}

.locations__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: border-color 0.3s;
}
.location-card:hover {
  border-color: var(--sage);
}

.location-card__icon {
  font-size: 1.4rem;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}

.location-card__address {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.location-card__hours {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .locations__inner { grid-template-columns: 1fr; }
}

/* ─── Newsletter ─────────────────────────────────── */
.newsletter {
  padding: var(--section-padding);
  background: var(--cream);
  text-align: center;
  position: relative;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--warm-white);
  border: 1px solid var(--border-medium);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--text-primary);
  outline: none;
}
.newsletter__input::placeholder { color: var(--warm-gray); }
.newsletter__input:focus { border-color: var(--rust); }

.newsletter__btn {
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  border: 1px solid var(--rust);
  border-radius: 0 4px 4px 0;
  transition: background 0.3s;
}
.newsletter__btn:hover {
  background: var(--rust-dark);
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 72px clamp(24px, 6vw, 80px) 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 235, 224, 0.2), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(240, 235, 224, 0.08);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(240, 235, 224, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 235, 224, 0.15);
  border-radius: 50%;
  font-size: 0.75rem;
  color: rgba(240, 235, 224, 0.6);
  transition: all 0.3s;
}
.footer__social a:hover {
  border-color: var(--rust-light);
  color: var(--rust-light);
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}

.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(240, 235, 224, 0.55);
  transition: color 0.3s;
  font-weight: 300;
}
.footer__links a:hover { color: var(--rust-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 0;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(240, 235, 224, 0.35);
  font-weight: 300;
}

.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 0.75rem;
  color: rgba(240, 235, 224, 0.35);
  transition: color 0.3s;
}
.footer__legal a:hover { color: var(--rust-light); }

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── Toolbar (Category/Search pages) ────────────── */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.toolbar__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.filter-select {
  padding: 10px 36px 10px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a2332'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.3s;
}
.filter-select:focus { border-color: var(--rust); }

/* ─── Loading Spinner ────────────────────────────── */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 24px;
  grid-column: 1 / -1;
}

.loading__spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-light);
  border-top-color: var(--rust);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Empty State ────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  grid-column: 1 / -1;
}

.empty-state__icon {
  font-size: 3.5rem;
  opacity: 0.2;
  margin-bottom: 20px;
}

.empty-state__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ─── Scroll Reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Drop Cap ───────────────────────────────────── */
.drop-cap::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 3.6rem;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 6px;
  color: var(--rust);
  font-weight: 700;
}

/* ─── Animations ─────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Browse Section (Category/Search) ───────────── */
.browse-section {
  padding: clamp(40px, 6vw, 60px) clamp(24px, 6vw, 80px) clamp(60px, 10vw, 120px);
}

.search-term {
  color: var(--rust);
  font-style: italic;
}

/* ─── Subcategory Filters ────────────────────────── */
.subcat-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto 32px;
}

.subcat-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  background: var(--warm-white);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all 0.3s;
}
.subcat-btn:hover {
  border-color: var(--rust);
  color: var(--rust);
}
.subcat-btn--active {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
.subcat-btn--active:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  color: #fff;
}
