/* =========================================================
   Gifts & Decor – Swords & More
   Purple medieval storefront  ·  Shopify-ready demo
   ========================================================= */

:root {
  /* Brand purple from existing site */
  --purple: #6b00e6;
  --purple-bright: #7c1aff;
  --purple-deep: #4a00a8;
  --purple-dark: #2a0066;
  --purple-ink: #14002e;
  --purple-soft: rgba(107, 0, 230, 0.14);

  --gold: #e8c547;
  --gold-bright: #f5d76e;
  --gold-dim: #b8942a;
  --gold-ink: #1a1400;

  --bg: #0f0a18;
  --bg-elevated: #160f24;
  --bg-card: #1c122e;
  --bg-soft: #241836;
  --ink: #f4eefc;
  --ink-muted: #b8a8d0;
  --ink-faint: #7a6a92;

  --line: rgba(244, 238, 252, 0.1);
  --line-strong: rgba(232, 197, 71, 0.4);
  --ember: #c44b2a;
  --ember-soft: rgba(196, 75, 42, 0.18);

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(107, 0, 230, 0.35);

  /* 3 MedievalSharp + 2 Cinzel Decorative (display) · 6 Caudex (body) */
  --font: "Caudex", Georgia, "Times New Roman", serif;
  --display: "MedievalSharp", "Palatino Linotype", Palatino, cursive;
  --display-ornate: "Cinzel Decorative", "Cinzel", "Palatino Linotype", serif;
  --max: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(107, 0, 230, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(74, 0, 168, 0.12), transparent);
}

body.drawer-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.section-head p,
.section-head__lead {
  color: var(--ink-muted);
  margin: 0;
  max-width: 40ch;
  font-size: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-deep) 50%, #1a1030);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(232, 197, 71, 0.25);
}

.demo-banner strong {
  color: var(--gold-bright);
  font-family: var(--display);
  letter-spacing: 0.06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s,
    color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-dim));
  color: var(--gold-ink);
  box-shadow: 0 4px 20px rgba(232, 197, 71, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn--gold:hover {
  box-shadow: 0 6px 28px rgba(232, 197, 71, 0.45);
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn--outline {
  background: transparent;
  border-color: rgba(244, 238, 252, 0.25);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(107, 0, 230, 0.15);
}

.btn--sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
}

.btn--lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
}

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

/* ---------- Header (brand purple bar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--purple-bright), var(--purple));
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo__mark {
  width: 48px;
  height: 54px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--display-ornate);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.logo__tag {
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0e6ff;
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav a {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: color 0.15s, text-shadow 0.15s;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: #fff8d6;
  text-shadow: 0 0 12px rgba(245, 215, 110, 0.55);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 215, 110, 0.45);
  background: rgba(20, 0, 46, 0.35);
  color: var(--gold-bright);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.icon-btn:hover {
  border-color: var(--gold-bright);
  background: rgba(20, 0, 46, 0.55);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 28px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--purple-deep);
    border-bottom: 3px solid var(--gold);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 1rem;
    border-radius: 6px;
  }

  .nav a:hover {
    background: rgba(0, 0, 0, 0.2);
  }

  .nav a.is-active::after {
    display: none;
  }

  .logo__name {
    font-size: 0.95rem;
  }
}

/* ---------- Hero banner (dragon vs knight) ---------- */
.hero-banner {
  position: relative;
  background: var(--purple-ink);
}

.hero-banner__frame {
  position: relative;
  max-height: min(72vh, 640px);
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.hero-banner__img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-banner__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 10, 24, 0.85) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(42, 0, 102, 0.25) 0%, transparent 30%),
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(15, 10, 24, 0.45) 100%);
  pointer-events: none;
}

.hero-brand {
  text-align: center;
  padding: 2rem 1.25rem 2.75rem;
  background:
    linear-gradient(180deg, #1a0a30 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-brand__title {
  font-family: var(--display-ornate);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  color: var(--gold-bright);
  margin: 0 0 0.2rem;
  text-shadow:
    0 2px 0 var(--purple-dark),
    0 0 30px rgba(232, 197, 71, 0.35);
  letter-spacing: 0.06em;
}

.hero-brand__sub {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e0d0ff;
  margin: 0 0 0.75rem;
}

.hero-brand__ornament {
  color: var(--gold);
  letter-spacing: 0.5em;
  font-size: 0.95rem;
  margin-bottom: 1.35rem;
  opacity: 0.9;
}

/* ---------- Product spotlight (6 category cards) ---------- */
.spotlight {
  background: var(--bg);
  padding-top: 3.5rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.spotlight-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(107, 0, 230, 0.45);
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow), 0 0 0 1px rgba(232, 197, 71, 0.2);
}

.spotlight-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-soft);
}

.spotlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.spotlight-card:hover .spotlight-card__media img {
  transform: scale(1.06);
}

.spotlight-card__label {
  display: block;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, var(--purple-bright), var(--purple));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  border-top: 2px solid var(--gold);
}

/* ---------- Visit strip ---------- */
.visit-strip {
  background:
    linear-gradient(180deg, rgba(107, 0, 230, 0.08), transparent),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.visit-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--purple);
}

.visit-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  filter: grayscale(0.2);
}

.visit-card__main {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.visit-card__link {
  display: block;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.visit-card__link:hover {
  color: var(--gold);
}

.visit-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.visit-hours span {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Legacy category tiles (shop/home JS) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}

.cat-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: var(--bg-soft);
}

.cat-tile__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.cat-tile__label {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.cat-tile:hover .cat-tile__label {
  color: var(--ink);
}

/* ---------- Product grid / cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
}

.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.25rem;
}

.product-card__cat {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
  font-family: var(--display);
}

.product-card__title {
  font-size: 1.05rem;
  margin: 0;
  flex: 1;
}

.product-card__title a:hover {
  color: var(--gold-bright);
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

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

/* ---------- Split / visit (legacy pages) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.split__panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.split__panel h2 {
  font-size: 1.75rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours-list span:last-child {
  color: var(--ink-muted);
}

.address-block {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.address-block strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: var(--bg-soft);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05) hue-rotate(20deg);
}

/* ---------- Pitch strip ---------- */
.pitch {
  background:
    linear-gradient(135deg, rgba(107, 0, 230, 0.15), transparent 50%),
    var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.pitch-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

.pitch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.pitch-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.pitch-list li strong {
  color: var(--ink);
}

.pitch-list .tick {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Shop page ---------- */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(107, 0, 230, 0.2), var(--bg));
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.35rem;
  color: var(--gold-bright);
}

.page-hero p {
  color: var(--ink-muted);
  margin: 0;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 1rem;
}

.search-field {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  position: relative;
}

.search-field input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  outline: none;
}

.search-field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.search-field::before {
  content: "⌕";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  pointer-events: none;
}

.result-count {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-muted);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--purple);
  color: var(--ink);
}

.chip.is-active {
  background: var(--purple);
  border-color: var(--gold);
  color: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-muted);
  padding: 3rem 1rem;
}

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
  align-items: start;
}

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

.pdp-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  aspect-ratio: 1;
}

.pdp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.pdp-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0.5rem 0 1rem;
  font-family: var(--display);
}

.pdp-desc {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.pdp-note {
  font-size: 0.9rem;
  color: var(--ink-faint);
  padding: 0.75rem 1rem;
  background: var(--ember-soft);
  border-left: 3px solid var(--ember);
  border-radius: 0 8px 8px 0;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.pdp-bullets {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.pdp-bullets li {
  margin-bottom: 0.35rem;
}

.pdp-demo-tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
  font-family: var(--display);
}

/* ---------- Qty control ---------- */
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.qty button:hover {
  background: var(--bg-soft);
  color: var(--gold);
}

.qty span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.qty--lg button {
  width: 42px;
  height: 42px;
}

.qty--lg span {
  min-width: 2rem;
  font-size: 1rem;
}

/* ---------- Cart drawer ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 0, 25, 0.7);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 2px solid var(--purple);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow);
}

.cart-drawer.is-open {
  transform: none;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--purple), var(--purple-deep));
}

.cart-drawer__head h2 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--gold-bright);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  text-align: center;
  color: var(--ink-muted);
  padding: 3rem 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-line__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-soft);
}

.cart-line__name {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}

.cart-line__price {
  font-size: 0.9rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.cart-line__remove {
  border: 0;
  background: transparent;
  color: var(--ink-faint);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem;
}

.cart-line__remove:hover {
  color: var(--ink);
}

.cart-drawer__footer {
  padding: 1.15rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-family: var(--display);
}

.cart-note {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

/* ---------- Footer (slim credit bar) ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--purple-bright), var(--purple) 40%, var(--purple-deep));
  border-top: 3px solid var(--gold);
  padding: 1rem 0;
  margin-top: 0;
  color: var(--gold-bright);
}

.footer-slim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff8d6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 560px) {
  .footer-slim {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }
}

.footer-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .footer-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

.footer-bar__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  justify-content: center;
}

.footer-bar__icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.footer-bar__item a,
.footer-bar__item p {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #fff8d6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.footer-bar__item a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

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

.footer-brand .logo__name {
  font-family: var(--display-ornate);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.footer-brand p {
  color: rgba(244, 238, 252, 0.8);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  max-width: 28ch;
}

.footer-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-family: var(--display);
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(244, 238, 252, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 197, 71, 0.3);
  font-size: 0.9rem;
  color: rgba(255, 248, 214, 0.85);
  font-family: var(--font);
  letter-spacing: 0.02em;
}

.footer-col a,
.footer-col p {
  font-family: var(--font);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--purple-deep);
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 100;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none;
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---------- About blurb ---------- */
.about-blurb {
  max-width: 60ch;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Old hero (if used on other pages) ---------- */
.hero {
  position: relative;
  min-height: min(70vh, 560px);
  display: grid;
  align-items: end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(15, 10, 24, 0.92) 0%,
      rgba(15, 10, 24, 0.7) 42%,
      rgba(15, 10, 24, 0.4) 100%
    ),
    url("../assets/images/hero-dragon-knight.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--gold-bright);
}

.hero h1 span {
  color: #e0d0ff;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero__meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.2rem;
  font-family: var(--display);
}

.hero__meta dd {
  margin: 0;
  font-weight: 600;
}

.trust {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
  padding: 1.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  font-family: var(--display);
  color: var(--gold-bright);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

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