/* ===================================================
   DORDAN BOOKSHOP — Theme CSS
   Brand: Dordan red #c0151a, deep charcoal background,
          warm off-white paper, crisp white cards.
   =================================================== */

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

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

:root {
  /* ── Brand colours ── */
  --red: #c0151a; /* Dordan primary red */
  --red-dark: #961013; /* hover / pressed */
  --red-light: #fdf0f0; /* tints, hover bg */
  --red-mid: #e8b4b5; /* soft borders */

  /* ── Neutrals ── */
  --ink: #1c1c1c;
  --charcoal: #2b2b2b; /* footer / dark panels */
  --paper: #faf9f7; /* page background */
  --cream: #f5f1ec; /* section backgrounds */
  --white: #ffffff;
  --muted: #7a736a;
  --border: #e3ddd7;

  /* ── WhatsApp ── */
  --wa: #25d366;
  --wa-dark: #1da851;

  /* ── Typography ── */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* ── Misc ── */
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 12px rgba(192, 21, 26, 0.08);
  --shadow-lg: 0 8px 32px rgba(192, 21, 26, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ─────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────── */

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  position: relative;
}

/* Logo: far left, no margin pushing it inward */
.site-logo {
  flex-shrink: 0;
  margin-right: 0;
  display: flex;
  align-items: center;
}

/* Nav links: absolutely centred relative to the full header width */
.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

/* Logo image */
.site-logo {
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
}
.site-logo img {
  height: 84px;
  width: auto;
  display: block;
  /* The PNG has a black background — we remove it via mix-blend-mode
     so it sits cleanly on the white header */
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

/* Fallback text logo (if no image) */
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: -0.02em;
}

/* Nav */
.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.18s;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-nav a:hover {
  color: var(--red);
}
.site-nav a:hover::after {
  transform: scaleX(1);
}

/* WhatsApp nav link styled as a red pill */
.site-nav .nav-wa {
  background: var(--red);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 40px;
  letter-spacing: 0.03em;
  transition:
    background 0.2s,
    transform 0.15s !important;
}
.site-nav .nav-wa::after {
  display: none;
}
.site-nav .nav-wa:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1c0708 0%, #3a0c0e 40%, #c0151a 100%);
  padding: 96px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle circular pattern in background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 40%
    );
}
.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.18;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 22px;
  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.7);
}
.hero h1 em {
  font-style: normal;
  color: #f9c5c7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
/* Two-tone h1: first line white, second line accent */
.hero h1 .hero-line-1 {
  display: block;
  color: #ffffff;
}
.hero h1 .hero-line-2 {
  display: block;
  color: #f9c5c7;
}
.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero-eyebrow {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 40px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa svg {
  flex-shrink: 0;
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--wa);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 40px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}
.btn-wa-large:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 40px;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.btn-order:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-browse-all {
  display: inline-block;
  padding: 11px 28px;
  border: 2px solid var(--red);
  border-radius: 40px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
}
.btn-browse-all:hover {
  background: var(--red);
  color: #fff;
}

/* ─────────────────────────────────────────────
   SECTION TITLES
   ───────────────────────────────────────────── */
.section {
  padding: 72px 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-top: 10px;
  border-radius: 2px;
}
.section-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
  margin-bottom: 40px;
}

/* ─────────────────────────────────────────────
   CATEGORIES STRIP
   ───────────────────────────────────────────── */
.categories-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-pill {
  padding: 7px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.cat-pill:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}
.cat-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─────────────────────────────────────────────
   BOOK GRID & CARDS
   ───────────────────────────────────────────── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 45vw), 1fr));
  gap: 28px;
}
.book-card-wrap {
  /* Must NOT be display:contents — JS filter uses style.display='none' to hide cards */
  display: block;
  height: 100%;
}

.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.book-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--red-mid);
}

.book-cover {
  aspect-ratio: 3/4;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.book-card:hover .book-cover img {
  transform: scale(1.03);
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  padding: 20px;
  text-align: center;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--cream) 0%, #ede8e0 100%);
}

.book-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-cats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.book-category {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
}
.book-subcategory {
  opacity: 0.65;
  font-size: 0.65rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--ink);
}
.book-author {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto; /* pushes footer to bottom of card always */
  padding-top: 12px;
  gap: 8px;
}
.book-price {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
}
.book-price .currency {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}
.price-from {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   INLINE CARD VARIANT PILLS
   ───────────────────────────────────────────── */
.card-variants {
  margin: 8px 0 10px;
}
.card-variant-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 5px;
}
.card-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.card-variant-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 0.12s,
    background 0.12s,
    color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.card-variant-pill:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}
.card-variant-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ─────────────────────────────────────────────
   STOCK BADGES
   ───────────────────────────────────────────── */
.stock-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 6px 0 10px;
  letter-spacing: 0.03em;
}
.badge-in-stock {
  background: #d4f0de;
  color: #1a6b3a;
}
.badge-low-stock {
  background: #fff3cd;
  color: #856404;
}
.badge-out-stock {
  background: #fde8e8;
  color: #9b1c1c;
}

/* ─────────────────────────────────────────────
   VARIANT PICKER (single product page)
   ───────────────────────────────────────────── */
.variant-btn {
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.variant-btn:hover {
  border-color: var(--red) !important;
  color: var(--red) !important;
  background: var(--red-light) !important;
}
.variant-btn.active {
  border-color: var(--red) !important;
  background: var(--red) !important;
  color: #fff !important;
}

/* ─────────────────────────────────────────────
   HOW TO ORDER
   ───────────────────────────────────────────── */
.how-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.step {
  text-align: center;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(192, 21, 26, 0.25);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.55);
  padding: 44px 0;
  font-size: 0.85rem;
  border-top: 3px solid var(--red);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo img {
  height: 40px;
  width: auto;
  /* invert the logo for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}
.footer-logo-text span {
  color: #f6b5b7;
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wa);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-wa:hover {
  color: #fff;
}
/* ─────────────────────────────────────────────
   SINGLE BOOK PAGE
   ───────────────────────────────────────────── */
.book-single {
  padding: 64px 0;
}
.book-single-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.book-single-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.book-single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-single-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}
.book-single h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 8px;
  margin-top: 12px;
}
.book-single-author {
  color: var(--muted);
  margin-bottom: 20px;
}
.book-single-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 28px;
}
.book-single-price .currency {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}
.book-description {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav .nav-text {
    display: none;
  } /* hide text-only nav items */
}
@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
  .book-single-inner {
    grid-template-columns: 1fr;
  }
  .book-single-cover {
    max-width: 240px;
  }
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
  .hero {
    padding: 64px 0;
  }
}

/* ═══════════════════════════════════════════════
   ADDITIONS — v3 changes
   ═══════════════════════════════════════════════ */

/* ── 1. Green Order button (WhatsApp brand colour) ── */
.btn-order {
  background: var(--wa) !important;
}
.btn-order:hover {
  background: var(--wa-dark) !important;
}

/* ── 2. Card Notes (replaces stock badge) ─────────── */
.card-notes {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin: 4px 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 3. Price colour black, red on hover ──────────── */
.book-price {
  color: var(--ink) !important;
  transition: color 0.15s;
}
.book-card:hover .book-price {
  color: var(--red) !important;
}

/* ── 4. Logo — left flush, nav right ─────────────── */
.site-logo {
  flex-shrink: 0;
  /* margin-right: auto removed — was pushing logo away from far left */
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── 5. Search bar (slides down from header) ──────── */
.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  color: var(--muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-search-btn:hover {
  color: var(--red);
  background: var(--red-light);
}

.header-search-bar {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid transparent;
  transition:
    max-height 0.28s ease,
    border-color 0.28s;
}
.header-search-bar.open {
  max-height: 72px;
  border-top-color: var(--border);
}
.header-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.search-form-icon {
  flex-shrink: 0;
}
.header-search-form input[type="search"] {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  background: var(--paper);
  transition: border-color 0.15s;
}
.header-search-form input[type="search"]:focus {
  border-color: var(--red);
}
.search-submit-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.search-submit-btn:hover {
  background: var(--red-dark);
}
#search-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
#search-close-btn:hover {
  color: var(--red);
}

/* ── 6. Hero Carousel ────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-carousel {
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Two-layer overlay: strong dark base + directional vignette */
  background:
    linear-gradient(
      to bottom,
      rgba(15, 3, 4, 0.55) 0%,
      rgba(15, 3, 4, 0.3) 30%,
      rgba(15, 3, 4, 0.45) 70%,
      rgba(15, 3, 4, 0.7) 100%
    ),
    linear-gradient(
      135deg,
      rgba(28, 7, 8, 0.75) 0%,
      rgba(58, 12, 14, 0.6) 50%,
      rgba(192, 21, 26, 0.5) 100%
    );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 24px 88px;
}
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ── 7. Metrics Bar ───────────────────────────────── */
.metrics-bar {
  background: var(--red);
  padding: 28px 0;
}
.metrics-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.metric {
  text-align: center;
  padding: 8px 36px;
  color: #fff;
}
.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
}
.metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
}

/* ── 8. Pagination ────────────────────────────────── */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding: 0 16px;
}
.pagination-wrap .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}
.pagination-wrap .page-numbers li a,
.pagination-wrap .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.pagination-wrap .page-numbers li a:hover {
  border-color: var(--red);
  color: var(--red);
}
.pagination-wrap .page-numbers li .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.pagination-wrap .page-numbers li .dots {
  border: none;
  color: var(--muted);
}

/* ── 9. Footer Grid ───────────────────────────────── */
/* ── FOOTER: strict 2-column layout at all sizes ── */
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr 1.4fr !important;
  gap: 32px !important;
  align-items: start !important;
  justify-content: center !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 48px 24px !important;
  box-sizing: border-box !important;
}

/* Left column: brand block only */
.footer-left-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  min-width: 0 !important;
}
.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.footer-quicklinks {
  display: flex !important;
  flex-direction: column !important;
}

/* Right column: contact */
.footer-right-col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.footer-col-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: #fff;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-word;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s;
}
.footer-contact-list a:hover {
  color: #fff;
}
.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--red);
  opacity: 0.9;
}
.footer-contact-icon svg {
  stroke: rgba(255, 255, 255, 0.55);
}
.footer-address {
  align-items: flex-start !important;
}

.footer-brand .footer-logo-img {
  height: 64px;
  width: auto;
  margin-bottom: 2px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 100%;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

/* ── TABLET: keep 3 columns, comfortable spacing ── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 0.8fr 1.2fr !important;
    gap: 24px 20px !important;
    padding: 40px 24px !important;
  }
}

/* ── MOBILE: single column stack ── */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px 0 !important;
    padding: 32px 20px !important;
    max-width: 100% !important;
  }

  /* Hide tagline on mobile */
  .footer-tagline {
    display: none !important;
  }

  /* Logo — centered */
  .footer-left-col {
    align-items: center !important;
    text-align: center !important;
    gap: 0 !important;
  }
  .footer-brand {
    align-items: center !important;
  }
  .footer-brand .footer-logo-img {
    height: 48px !important;
    width: auto !important;
    margin: 0 auto !important;
  }

  /* Quick links — centered */
  .footer-quicklinks-col {
    align-items: center !important;
    text-align: center !important;
  }
  .footer-col-heading {
    font-size: 0.7rem !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  .footer-links {
    gap: 9px !important;
    align-items: center !important;
  }
  .footer-links a {
    font-size: 0.82rem !important;
  }

  /* Contact — full width, centered on mobile */
  .footer-right-col {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-right-col .footer-col-heading {
    text-align: center !important;
  }
  .footer-contact-list {
    gap: 12px !important;
    width: 100%;
    align-items: center !important;
  }
  .footer-contact-list li {
    font-size: 0.8rem !important;
    gap: 8px !important;
    line-height: 1.4 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    text-align: center !important;
  }
  .footer-contact-list a,
  .footer-contact-list span {
    font-size: 0.8rem !important;
    word-break: break-word !important;
    text-align: center !important;
  }
  .footer-contact-icon svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  /* Footer bottom */
  .footer-bottom .container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    text-align: center !important;
    font-size: 0.72rem !important;
  }
}

/* ── SMALL MOBILE (< 400px): slightly tighter ── */
@media (max-width: 400px) {
  .footer-grid {
    gap: 20px 12px !important;
    padding: 28px 14px !important;
  }
  .footer-brand .footer-logo-img {
    height: 38px !important;
  }
  .footer-tagline,
  .footer-col-heading,
  .footer-links a,
  .footer-contact-list li,
  .footer-contact-list a,
  .footer-contact-list span {
    font-size: 0.7rem !important;
  }
}

/* ── 10. About Page ───────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #1c0708 0%, #3a0c0e 40%, #c0151a 100%);
  padding: 72px 0 64px;
  text-align: center;
  color: #fff;
}
.about-hero .hero-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin: 12px 0 16px;
}
.about-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.about-story p {
  color: var(--muted);
  line-height: 1.8;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.about-value strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.about-value p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.about-contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.about-contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--red);
}
.about-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.about-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.about-contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.about-contact-item a,
.about-contact-item p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.about-contact-item a:hover {
  color: var(--red);
}

/* ── 11. Responsive updates ───────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    gap: 0;
  }
  .metric {
    padding: 8px 20px;
  }
}
@media (max-width: 640px) {
  .metric-divider {
    display: none;
  }
  .metrics-grid {
    gap: 16px;
    justify-content: start;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .hero-carousel {
    min-height: 420px;
  }
}

/* ═══════════════════════════════════════════
   V3 ADDITIONS
   ═══════════════════════════════════════════ */

/* ── 1. STICKY / FIXED HEADER ─────────────────── */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition:
    box-shadow 0.25s,
    background 0.25s;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}
/* Push body content below fixed header */
body {
  padding-top: 76px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 72px;
  position: relative;
}

/* ── 2. SEARCH DRAWER — centred full-width below header ── */
.search-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: none;
  box-shadow: none;
  z-index: 199;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}
.search-drawer.open {
  max-height: 90px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.search-drawer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  max-width: 680px;
  margin: 0 auto;
}
.search-drawer-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 4px 6px 4px 18px;
  transition: border-color 0.15s;
}
.search-drawer-form:focus-within {
  border-color: var(--red);
}
.search-drawer-form input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  padding: 8px 0;
}
.search-drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  line-height: 1;
  flex-shrink: 0;
  transition:
    color 0.15s,
    background 0.15s;
}
.search-drawer-close:hover {
  color: var(--red);
  background: var(--red-light);
}

/* ── 3. HAMBURGER BUTTON ──────────────────────── */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  color: var(--ink);
  transition:
    background 0.15s,
    color 0.15s;
  flex-shrink: 0;
  margin-left: auto; /* push to far right in flexbox */
  position: relative;
  z-index: 200;
}
.hamburger:hover {
  background: var(--red-light);
  color: var(--red);
}
.hamburger svg {
  display: block;
  transition: opacity 0.15s;
}
/* Hide hamburger when mobile nav is open — the nav's own close button handles closing */
.hamburger.open {
  display: none !important;
}

/* ── 4. MOBILE NAV DRAWER ─────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 299;
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav-overlay.visible {
  display: block;
  opacity: 1;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--red);
}
.mobile-nav-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  border-radius: 6px;
  font-weight: 300;
  transition: background 0.15s;
}
.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-search-wrap {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 6px 12px;
  background: var(--white);
}
.mobile-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  background: transparent;
}
.mobile-search-form button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  padding: 16px 0 8px;
  margin: 0;
}
.mobile-nav-links li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition:
    color 0.15s,
    background 0.15s;
}
.mobile-nav-links li a:hover {
  color: var(--red);
  background: var(--red-light);
}

.mobile-nav-cats {
  padding: 16px 20px;
  flex: 1;
}
.mobile-nav-cats-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.mobile-nav-cats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-cats ul li a {
  display: block;
  padding: 9px 0;
  font-size: 0.88rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-nav-cats ul li a:hover {
  color: var(--red);
}

.mobile-nav-wa {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
}

/* ── 5. PRODUCTS PAGE — archive layout ──────────── */
.products-page-wrap {
  padding-bottom: 60px;
}
.products-page-header {
  padding: 36px 0 20px;
  margin-bottom: 8px;
}

/* ── Archive category filter strip ── */
.archive-filter-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px; /* sit just below the fixed header */
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Subcategory strip sits below the category strip */
.archive-subcat-strip {
  top: calc(72px + 49px); /* header + cat strip height */
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  z-index: 98;
  box-shadow: none;
}

.archive-cat-list {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.archive-cat-list::-webkit-scrollbar { display: none; }

/* Category pills (row 1) */
.archive-cat-list .cat-pill {
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--ink);
  background: var(--white);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}
.archive-cat-list .cat-pill:hover {
  border-color: var(--red);
  color: var(--red);
}
.archive-cat-list .cat-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Subcategory pills (row 2) — slightly smaller, outlined style */
.archive-subcat-list .subcat-pill {
  font-size: 0.75rem;
  padding: 5px 13px;
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}
.archive-subcat-list .subcat-pill:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--white);
}
.archive-subcat-list .subcat-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Breadcrumb */
.products-breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.products-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.products-breadcrumb a:hover { color: var(--red); }
.products-breadcrumb span { color: var(--ink); font-weight: 600; }
.products-breadcrumb .bc-sep { color: var(--border); font-size: 1rem; }

@media (max-width: 768px) {
  .archive-filter-strip {
    top: 64px;
  }
  .archive-subcat-strip {
    top: calc(64px + 45px);
  }
  .archive-cat-list {
    padding: 8px 0;
    gap: 6px;
  }
  .archive-cat-list .cat-pill {
    font-size: 0.73rem;
    padding: 5px 12px;
  }
  .archive-subcat-list .subcat-pill {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ── Archive grid: equal-height cards across all rows ── */
.products-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
/* Add breathing room below the sticky strip(s) */
.products-page-wrap .container:last-of-type {
  padding-top: 28px;
}
/* Wrap fills full cell height so card can stretch */
.products-archive-grid .book-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Card itself fills the wrap */
.products-archive-grid .book-card {
  flex: 1;
}

.products-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
}
.pagination-wrap {
  margin-top: 40px;
}

/* ── Responsive grid for archive ── */
@media (max-width: 1100px) {
  .products-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .archive-filter-strip {
    top: 0;
    margin-bottom: 18px;
  }
  .archive-cat-list {
    padding: 10px 0;
    gap: 6px;
  }
  .archive-cat-list .cat-pill {
    font-size: 0.74rem;
    padding: 5px 11px;
  }
  .products-archive-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px;
  }
  .products-page-header {
    padding: 24px 20px 12px !important;
  }
  .products-page-header .section-title {
    font-size: 1.6rem;
  }
  .products-breadcrumb {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .products-archive-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }
  .products-page-header {
    padding: 20px 16px 10px !important;
  }
  .products-page-header .section-title {
    font-size: 1.4rem !important;
  }

  /* Prevent card content from squeezing on narrow columns */
  .book-info {
    padding: 10px 10px 12px !important;
  }
  .book-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }
  .book-author {
    font-size: 0.72rem !important;
    margin-bottom: 8px !important;
  }
  .book-category {
    font-size: 0.6rem !important;
  }
  .book-price {
    font-size: 0.9rem !important;
  }
  .book-price .currency {
    font-size: 0.7rem !important;
  }
  .btn-icon-only {
    width: 32px !important;
    height: 32px !important;
  }
  .card-action-btns {
    gap: 5px !important;
  }
  .book-footer {
    gap: 5px !important;
    padding-top: 8px !important;
  }
}

.products-main {
}

/* ── 6. SUBMIT PRODUCT SECTION ────────────────── */
.submit-product-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.submit-product-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.submit-product-info p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.submit-product-contact {
  margin-top: 16px;
}

.product-request-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row-2 > .form-group {
  flex: 1;
  min-width: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 5px;
}
.req-star {
  color: var(--red);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 21, 26, 0.08);
}
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
  margin-top: 8px;
}
.form-submit-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.form-success {
  background: #d4f0de;
  border: 1px solid #a3d9b8;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.form-success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.form-success h3 {
  color: #1a6b3a;
  margin-bottom: 8px;
}
.form-success p {
  color: #2d7a4a;
  font-size: 0.9rem;
}

/* ── 7. HERO — always shows gradient overlay ───── */
.hero-overlay-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c0708 0%, #3a0c0e 40%, #c0151a 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* ── 8. RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .submit-product-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  /* On mobile: logo stays far left, hamburger pushed far right via margin-left:auto */
  .site-header .container,
  .header-inner {
    justify-content: flex-start;
  }
  .hamburger {
    display: flex;
  }
}
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
  }
}

/* ── Homepage featured filtering + grouped variations ───────────── */
.cat-list-featured,
.cat-list-archive {
  align-items: center;
}
.products-filter-bar {
  width: 100%;
  margin-bottom: 24px;
}
.products-filter-bar .cat-list {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.homepage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.homepage-grid .book-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.homepage-grid .book-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.homepage-grid .book-footer {
  margin-top: auto;
}
.homepage-many-variations-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.homepage-many-variations-head h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.homepage-many-variations-head p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.homepage-grid-many {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (max-width: 1100px) {
  .homepage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .homepage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .homepage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .products-filter-bar .cat-list {
    padding: 10px;
    border-radius: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* ═══════════════════════════════════════════
   V5 ADDITIONS
   ═══════════════════════════════════════════ */

/* ── Call button on product cards ──────────── */
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
  flex-shrink: 0;
}
.btn-call:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-call svg {
  flex-shrink: 0;
}

/* Icon-only button shared sizing */
.btn-icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-order.btn-icon-only {
  gap: 0;
  padding: 0;
}

/* Action button group */
.card-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Ensure book-footer accommodates price + icon buttons */
.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

/* No stacking needed on mobile since buttons are compact circles */
@media (max-width: 640px) {
  .btn-icon-only {
    width: 36px;
    height: 36px;
  }
}

/* ── Browse Catalogue button ────────────────── */
.browse-catalogue-btn-wrap {
  text-align: center;
  margin-top: 24px;
}
.browse-catalogue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 40px;
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.browse-catalogue-btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Scroll-based card reveal animation ─────── */
.card-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.card-reveal.card-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children in a grid */
.book-grid .card-reveal:nth-child(2) {
  transition-delay: 0.05s;
}
.book-grid .card-reveal:nth-child(3) {
  transition-delay: 0.1s;
}
.book-grid .card-reveal:nth-child(4) {
  transition-delay: 0.15s;
}
.book-grid .card-reveal:nth-child(5) {
  transition-delay: 0.2s;
}
.book-grid .card-reveal:nth-child(6) {
  transition-delay: 0.25s;
}
.book-grid .card-reveal:nth-child(7) {
  transition-delay: 0.3s;
}
.book-grid .card-reveal:nth-child(8) {
  transition-delay: 0.35s;
}

/* ── Footer credits ─────────────────────────── */
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-credits {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* ── Homepage grid: strict 4-col desktop, 2-col mobile ─────────── */
/* Desktop already 4-col from .homepage-grid, enforce max 8 via JS */
@media (min-width: 901px) {
  .homepage-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 900px) and (min-width: 641px) {
  .homepage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .homepage-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════
   VARIANT SELECTION MODAL
   ═══════════════════════════════════════════ */

/* ── Trigger button on card ─────────────────── */
.btn-select-variant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: var(--cream);
  color: var(--red);
  border: 1.5px solid var(--red-mid);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  margin-top: 8px;
  text-align: left;
}
.btn-select-variant:hover {
  background: var(--red-light);
  border-color: var(--red);
}
.btn-select-variant svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* ── Pick-option hint text ──────────────────── */
.variant-pick-hint {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  white-space: nowrap;
}

/* ── Modal overlay ──────────────────────────── */
.variant-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
@media (min-width: 600px) {
  .variant-modal-overlay {
    align-items: center;
  }
}
.variant-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Modal panel ────────────────────────────── */
.variant-modal {
  background: var(--white);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  transform: translateY(32px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
}
@media (min-width: 600px) {
  .variant-modal {
    border-radius: 14px;
    transform: translateY(16px) scale(0.97);
    max-height: 78vh;
  }
}
.variant-modal-overlay.open .variant-modal {
  transform: translateY(0) scale(1);
}

/* ── Modal header ───────────────────────────── */
.variant-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}
.variant-modal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 3px;
}
.variant-modal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.variant-modal-close {
  background: var(--cream);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition:
    background 0.15s,
    color 0.15s;
}
.variant-modal-close:hover {
  background: var(--red-light);
  color: var(--red);
}

/* ── Modal body — scrollable rows ──────────── */
.variant-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
}

/* ── Each variant row ───────────────────────── */
.variant-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.variant-modal-row:last-child {
  border-bottom: none;
}
.variant-modal-row:hover {
  background: var(--cream);
}
.variant-modal-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.variant-modal-row-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.variant-modal-row-price {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 500;
}
.variant-modal-row-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Buttons inside modal rows ──────────────── */
.vmodal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.12s;
  flex-shrink: 0;
}
.vmodal-btn:hover {
  transform: scale(1.08);
}
.vmodal-btn-wa {
  background: var(--wa);
  color: #fff;
}
.vmodal-btn-wa:hover {
  background: var(--wa-dark);
}
.vmodal-btn-call {
  background: var(--red);
  color: #fff;
}
.vmodal-btn-call:hover {
  background: var(--red-dark);
}

/* ── Safe area padding for iOS ──────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .variant-modal {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ═══════════════════════════════════════════════
   V5 FIXES — Mobile Animations
   ═══════════════════════════════════════════════ */

/* ── Mobile fade-up scroll animation (enhanced) ── */
@media (max-width: 768px) {
  .card-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }
  .card-reveal.card-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Staggered delay for 2-col mobile grid */
  .book-grid .card-reveal:nth-child(odd) {
    transition-delay: 0s;
  }
  .book-grid .card-reveal:nth-child(even) {
    transition-delay: 0.07s;
  }
}

/* ═══════════════════════════════════════════════
   V6 FIXES — Equal card heights + mobile polish
   ═══════════════════════════════════════════════ */

/* ── Desktop: ensure card wraps stretch to row height ── */
#archive-grid.book-grid,
.products-archive-grid {
  align-items: stretch;
}
#archive-grid .book-card-wrap,
.products-archive-grid .book-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#archive-grid .book-card,
.products-archive-grid .book-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Mobile: 2-col equal-height cards ── */
@media (max-width: 768px) {
  #archive-grid.book-grid,
  .products-archive-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* Shorter cover so text area gets more room */
  #archive-grid .book-cover,
  .products-archive-grid .book-cover {
    aspect-ratio: unset !important;
    height: 140px !important;
  }

  /* Compact text */
  #archive-grid .book-card,
  .products-archive-grid .book-card {
    font-size: 0.82rem !important;
  }

  /* 2-line clamped title — prevents long titles misaligning row pairs */
  #archive-grid .book-title,
  .products-archive-grid .book-title {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Clamp author to 1 line */
  #archive-grid .book-author,
  .products-archive-grid .book-author {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }

  /* Tighter info padding */
  #archive-grid .book-info,
  .products-archive-grid .book-info {
    padding: 10px 10px 12px !important;
  }

  /* Smaller category label */
  #archive-grid .book-category,
  .products-archive-grid .book-category {
    font-size: 0.6rem !important;
  }

  /* Tighter price */
  #archive-grid .book-price,
  .products-archive-grid .book-price {
    font-size: 0.88rem !important;
  }

  /* Smaller action buttons */
  #archive-grid .btn-order,
  #archive-grid .btn-call,
  .products-archive-grid .btn-order,
  .products-archive-grid .btn-call {
    width: 32px !important;
    height: 32px !important;
  }
  #archive-grid .btn-order svg,
  #archive-grid .btn-call svg,
  .products-archive-grid .btn-order svg,
  .products-archive-grid .btn-call svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION (homepage)
   ═══════════════════════════════════════════════ */

.about-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}
.about-text .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-body {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 28px;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.highlight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.about-highlight div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-highlight strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.about-highlight span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.btn-about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.18s, gap 0.18s;
}
.btn-about-more:hover {
  border-color: var(--red);
  gap: 12px;
}

/* Stats grid (right side) */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.about-stat {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-stat:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.about-stat-wide {
  grid-column: 1 / -1;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-num span {
  font-size: 1.8rem;
}
.about-stat-wide .about-stat-num {
  color: #fff;
  font-size: 2rem;
}
.about-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.4;
}
.about-stat-wide .about-stat-label {
  color: rgba(255,255,255,0.85);
}

/* About responsive */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-text .section-title {
    font-size: 1.65rem;
  }
  .about-stats-grid {
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .about-stat-num {
    font-size: 2rem;
  }
  .about-stat {
    padding: 20px 16px;
  }
}

/* ═══════════════════════════════════════════════
   SUBMIT PRODUCT PAGE
   ═══════════════════════════════════════════════ */

.submit-product-page {
  padding: 48px 0 80px;
  background: var(--cream);
  min-height: 60vh;
}

.submit-product-header {
  margin-bottom: 32px;
}
.submit-product-subtitle {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}
.req-star {
  color: var(--red);
  font-weight: 700;
}

/* ── Banner ── */
.sp-banner {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.5;
}
.sp-banner-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.sp-banner-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ── Form ── */
.sp-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.sp-section-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sp-full {
  grid-column: 1 / -1;
}

/* ── Fields ── */
.sp-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.sp-field input[type="text"],
.sp-field input[type="number"],
.sp-field select,
.sp-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 21, 26, 0.08);
}
.sp-field textarea {
  resize: vertical;
  min-height: 80px;
}
.sp-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 5px;
}

/* ── Variants ── */
.sp-variants-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-variants-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.sp-variant-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-variant-num {
  width: 22px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
  text-align: center;
}
.sp-variant-label-input {
  flex: 2;
  padding: 8px 12px !important;
}
.sp-variant-price-input {
  flex: 1;
  padding: 8px 12px !important;
}

/* ── Image upload ── */
.sp-image-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  background: var(--cream);
}
.sp-image-upload-area:hover,
.sp-image-upload-area.sp-drag-over {
  border-color: var(--red);
  background: rgba(192, 21, 26, 0.03);
}
.sp-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: none !important;
  z-index: 2;
}
.sp-drop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  color: var(--muted);
}
.sp-drop-label span { font-size: 0.9rem; }
.sp-drop-sub { font-size: 0.78rem !important; }
.sp-image-preview {
  position: relative;
  display: inline-block;
}
.sp-image-preview img {
  max-height: 180px;
  max-width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.sp-remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  line-height: 1;
}

/* ── Submit row ── */
.sp-submit-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}
.sp-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  justify-content: center;
}
.sp-btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sp-btn-spinner svg {
  animation: sp-spin 0.9s linear infinite;
}
@keyframes sp-spin {
  to { transform: rotate(360deg); }
}
.sp-reset-btn {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.15s, color 0.15s;
}
.sp-reset-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .sp-section {
    padding: 20px 16px;
  }
  .sp-grid {
    grid-template-columns: 1fr;
  }
  .sp-full {
    grid-column: 1;
  }
  .sp-variant-row {
    gap: 6px;
  }
  .sp-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .sp-submit-btn,
  .sp-reset-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
