/* =========================================================================
   With Nobody — theme.css
   Design tokens ported from the site's design system.
   ========================================================================= */

:root {
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
  --font-script: 'Cormorant Garamond', serif;
  --font-fancy: 'Italianno', cursive;

  --radius: 0.375rem;
  --shadow-soft: 0 8px 28px -10px hsl(330 40% 4% / 0.7);
  --shadow-elevated: 0 24px 70px -18px hsl(332 85% 40% / 0.55);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: 0.125rem;
  --btn-height: 3rem;
  --btn-padding: 1rem 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.24em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;
  --header-height: 6rem;
  --checkout-gap: 2.5rem;
  --color-button-text: var(--color-primary-foreground);
  --color-surface: var(--color-charcoal);
  --card-radius: 0.5rem;
  --section-padding: 2.5rem;
  /* Lateral gutters — match Lovable `.container-wide` (px-6 / lg:px-8) */
  --container-px: 1.5rem;
  --container-max: 80rem; /* Tailwind max-w-7xl */
}
@media (min-width: 768px) {
  :root { --header-height: 8rem; }
}
@media (min-width: 1024px) {
  :root { --container-px: 2rem; }
}

/* ---------------------------------------------------------------------
   Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a[href], button:not(:disabled), [role="button"],
input[type="submit"], input[type="button"], input[type="reset"],
select, summary, label[for],
.theme-filter-pill, .theme-btn-pill, .theme-btn-pill-ghost, .theme-btn-pill-sm,
.add_to_cart_button, .theme-product-card__option, .trailers-list-btn,
.faq-question, .theme-pill-select, .theme-cart-btn, .theme-menu-toggle {
  cursor: pointer;
}
button:disabled, .is-disabled, a[aria-disabled="true"] { cursor: not-allowed; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.site-logo-img):not(.site-footer-logo):not(.theme-nav-panel-logo):not(.theme-product-card__image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-product-card__image {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.theme-product-main-img,
.theme-product-thumb img,
.press-poster-img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

input, textarea, select { font-family: inherit; }

.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  /* Longhand so co-located py utilities don't wipe lateral gutters */
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ---------------------------------------------------------------------
   Typography utility helpers
   --------------------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-weight: 600;
  display: block;
}

.film-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: var(--color-gold);
}
.film-label::before { content: ""; width: 2.25rem; height: 1px; background: color-mix(in srgb, var(--color-gold) 70%, transparent); }

.word-fancy {
  font-family: var(--font-fancy);
  font-weight: 400;
  font-size: 1.5em;
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: var(--color-gold);
  text-transform: none;
}

.slate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-cream);
  background: color-mix(in srgb, var(--color-cream) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-cream) 18%, transparent);
  border-radius: 0.25rem;
  backdrop-filter: blur(4px);
}

.gold-rule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  width: 10rem;
}
.gold-rule::before, .gold-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-gold) 45%, transparent), transparent);
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 1rem 1rem;
  background: color-mix(in srgb, var(--color-cream) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-cream) 12%, transparent);
  min-width: 4.5rem;
}

.section-heading { line-height: 1.1; color: var(--color-cream); }

/* Light "film-card" panel */
.film-card {
  position: relative;
  border-radius: 0.5rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent);
  color: var(--color-ink);
  box-shadow: 0 18px 50px -30px hsl(330 40% 4% / 0.45);
}
.film-card h1, .film-card h2, .film-card h3, .film-card h4 { color: var(--color-ink); }
.film-card .film-label, .film-card .theme-product-card__cat { color: var(--color-crimson); }
.film-card .film-label::before { background: color-mix(in srgb, var(--color-crimson) 60%, transparent); }
.film-card .slate { color: var(--color-ink); background: color-mix(in srgb, var(--color-ink) 5%, transparent); border-color: color-mix(in srgb, var(--color-ink) 14%, transparent); }
.film-card .theme-btn-pill-ghost { border-color: color-mix(in srgb, var(--color-crimson) 50%, transparent); color: var(--color-crimson); }
.film-card .theme-btn-pill-ghost:hover { background: var(--color-crimson); color: #fff; }
.film-card .theme-input, .film-card .theme-textarea {
  background: #fff;
  color: var(--color-ink);
  border-color: color-mix(in srgb, var(--color-ink) 18%, transparent);
}
.film-card .theme-input::placeholder, .film-card .theme-textarea::placeholder { color: color-mix(in srgb, var(--color-ink) 45%, transparent); }
.film-card .theme-input:focus, .film-card .theme-textarea:focus { border-color: var(--color-crimson); }
.film-card .theme-product-card__desc, .film-card .theme-product-desc, .film-card .press-fallback-body,
.film-card .filmmaker-bio, .film-card .press-fallback-row-note, .film-card .theme-cart-line-price,
.film-card .trailers-player-desc { color: color-mix(in srgb, var(--color-ink) 72%, transparent); }
.film-card .trailers-player-title { color: var(--color-ink); }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.theme-btn-pill, .theme-btn-pill-ghost, .theme-btn-pill-sm, .theme-filter-pill {
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
}

.theme-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-button-text);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-weight: var(--btn-font-weight);
  box-shadow: var(--shadow-soft);
}
.theme-btn-pill:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.theme-btn-pill:active { transform: scale(0.97) translateY(0); }
.theme-btn-pill.is-disabled, .theme-btn-pill:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.theme-btn-pill-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  border-color: color-mix(in srgb, var(--color-gold) 50%, transparent);
  background: transparent;
  color: var(--color-gold);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-weight: var(--btn-font-weight);
}
.theme-btn-pill-ghost:hover { background: var(--color-gold); color: var(--color-primary-foreground); transform: translateY(-2px); }
.theme-btn-pill-ghost:active { transform: scale(0.97) translateY(0); }

.theme-btn-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-button-text);
  padding: 0.6rem 1rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.theme-btn-pill-sm:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }

.theme-filter-pill {
  padding: 0.625rem 1rem;
  border-radius: var(--btn-radius);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent);
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.theme-filter-pill:hover { border-color: color-mix(in srgb, var(--color-gold) 50%, transparent); color: var(--color-cream); }
.theme-filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
/* Shop category pills match Lovable gold active state */
.shop-filters .theme-filter-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.5rem 1rem;
  border-color: color-mix(in srgb, var(--color-cream) 20%, transparent);
}
.shop-filters .theme-filter-pill:hover { border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); color: var(--color-gold); }
.shop-filters .theme-filter-pill.is-active { background: var(--color-gold); color: var(--color-primary-foreground); border-color: var(--color-gold); }

.theme-anchor-link { text-decoration: none; }

.theme-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Animations
   --------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll reveal: fade + rise, staggered by nth-child within a section */
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
  .theme-marquee-track, .contact-marquee-track { animation: none !important; }
}

/* ---------------------------------------------------------------------
   Site identity
   --------------------------------------------------------------------- */
.site-logo-img { width: auto; display: block; object-fit: contain; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-cream); }

/* ---------------------------------------------------------------------
   WP admin bar — keep fixed chrome below the toolbar
   --------------------------------------------------------------------- */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .theme-nav-panel { top: 32px; bottom: 0; height: auto; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .theme-nav-panel { top: 46px; bottom: 0; height: auto; }
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-solid,
.site-header.theme-header-scrolled {
  background: color-mix(in srgb, var(--color-ink) 95%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: color-mix(in srgb, var(--color-cream) 10%, transparent);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 6rem;
  padding: 0.75rem 0;
}
@media (min-width: 768px) { .site-nav { height: 8rem; padding: 1rem 0; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; transition: opacity 0.2s; }
.site-brand:hover { opacity: 0.8; }
/* Lovable: h-16 md:h-24 — must beat global img height:auto */
.site-brand .site-logo-img { height: 4rem; width: auto; max-height: 4rem; }
@media (min-width: 768px) { .site-brand .site-logo-img { height: 6rem; max-height: 6rem; } }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav-actions { gap: 0.75rem; } }

.theme-trailers-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-button-text);
  padding: 0.75rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.theme-trailers-btn:active { transform: scale(0.97); }
@media (min-width: 640px) { .theme-trailers-btn { display: inline-flex; } }

.theme-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--btn-radius);
  border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
  color: var(--color-cream);
}
.theme-cart-btn:hover { background: var(--color-primary); color: var(--color-button-text); }
.theme-cart-btn .theme-cart-count {
  position: absolute;
  top: -0.375rem; right: -0.375rem;
  min-width: 1.25rem; height: 1.25rem;
  padding: 0 0.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--color-gold);
  color: var(--color-primary-foreground);
  font-size: 11px;
  font-weight: 700;
}
.theme-cart-count:empty { display: none; }

.theme-menu-toggle { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; color: var(--color-cream); }
.theme-menu-toggle:hover { color: var(--color-gold); }
.theme-menu-toggle-label { display: none; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; }
@media (min-width: 768px) { .theme-menu-toggle-label { display: inline; } }

.theme-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  height: 100dvh;
  background: color-mix(in srgb, var(--color-ink) 98%, transparent);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-24px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
}
.theme-nav-panel.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.theme-nav-panel-ghost {
  position: absolute; top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 26vw;
  line-height: 1;
  color: color-mix(in srgb, var(--color-cream) 4.5%, transparent);
  pointer-events: none;
  user-select: none;
}
.theme-nav-panel-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
@media (min-width: 640px) { .theme-nav-panel-header { padding: 1.5rem 2.5rem 1rem; } }
/* Lovable nav panel: h-11 */
.theme-nav-panel-logo { height: 2.75rem; max-height: 2.75rem; width: auto; object-fit: contain; }
.theme-nav-panel-close { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); color: var(--color-cream); }
.theme-nav-panel-close:hover { color: var(--color-gold); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }

.theme-nav-panel-list-wrap { position: relative; flex: 1; overflow-y: auto; padding: 1.5rem; }
@media (min-width: 640px) { .theme-nav-panel-list-wrap { padding: 1.5rem 2.5rem; } }
.theme-nav-list { list-style: none; margin: 0 auto; padding: 0; max-width: 64rem; display: grid; grid-template-columns: 1fr; column-gap: 2.5rem; }
@media (min-width: 640px) { .theme-nav-list { grid-template-columns: 1fr 1fr; } }
.theme-nav-list li { border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); list-style: none; }
.theme-nav-list a, .theme-nav-list button {
  display: flex; align-items: baseline; gap: 1rem;
  width: 100%; padding: 0.9rem 0; text-align: left;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  color: var(--color-cream);
}
@media (min-width: 640px) { .theme-nav-list a, .theme-nav-list button { font-size: 1.75rem; } }
.theme-nav-list a:hover, .theme-nav-list button:hover { color: var(--color-gold); }

.theme-nav-panel-footer { position: relative; padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
@media (min-width: 640px) { .theme-nav-panel-footer { padding: 1.5rem 2.5rem; } }
.theme-nav-panel-release { font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--color-gold); margin-bottom: 0.75rem; }
.theme-nav-panel-social { display: flex; flex-wrap: wrap; gap: 1.25rem 1.25rem; }
.theme-nav-panel-social a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-nav-panel-social a:hover { color: var(--color-gold); }

body.cart-open, body.menu-open { overflow: hidden; }

/* Home hero fills viewport under the fixed transparent header */
.film-hero { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 1.5rem); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.film-hero {
  position: relative;
  width: 100%;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
@media (min-width: 768px) { .film-hero { min-height: 80vh; } }
.film-hero-bg { position: absolute; inset: 0; }
.film-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.film-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-ink), color-mix(in srgb, var(--color-ink) 60%, transparent), color-mix(in srgb, var(--color-ink) 20%, transparent)); }
.film-hero-tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 10%, transparent); mix-blend-mode: color-burn; }

.film-hero-ghost { pointer-events: none; user-select: none; position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 4rem; overflow: hidden; }
.film-hero-ghost span { font-family: var(--font-display); line-height: 1; color: color-mix(in srgb, var(--color-primary) 7%, transparent); font-size: 30vw; }
@media (min-width: 768px) { .film-hero-ghost span { font-size: 24vw; } }

.film-hero-content { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .film-hero-content { padding-top: 8rem; padding-bottom: 4rem; } }

.film-hero-badge { display: inline-flex; align-items: center; gap: 0.625rem; border-radius: 0.375rem; border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); background: color-mix(in srgb, var(--color-primary) 10%, transparent); padding: 0.375rem 1rem; backdrop-filter: blur(10px); }
.film-hero-badge-dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }
.theme-hero-badge-text { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); }

.film-hero-title { margin-top: 1.25rem; line-height: 0.92; letter-spacing: 0.01em; font-size: clamp(2.25rem, 7.5vw, 5rem); color: var(--color-cream); }
.film-hero-title-accent { color: var(--color-primary); }

.film-hero-logline { margin-top: 1rem; max-width: 32rem; border-left: 2px solid color-mix(in srgb, var(--color-gold) 30%, transparent); padding-left: 1.25rem; font-family: var(--font-script); font-style: italic; font-size: 1.125rem; color: var(--color-gold); }
@media (min-width: 768px) { .film-hero-logline { font-size: 1.5rem; } }

.film-hero-bottom { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .film-hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.film-hero-release { display: flex; flex-direction: column; gap: 1.5rem; }
.film-hero-release-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; color: var(--color-primary); }
.film-hero-release-date { margin-top: 0.5rem; font-family: var(--font-display); line-height: 1.05; font-size: clamp(1.35rem, 3.4vw, 2rem); color: var(--color-cream); }
.film-hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .film-hero-ctas { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Countdown
   --------------------------------------------------------------------- */
.theme-countdown { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.theme-countdown[data-variant="marquee"] { flex-wrap: nowrap; gap: 0.5rem; }
.theme-countdown-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 0.375rem; flex-shrink: 0;
  width: 3.9rem; height: 4.5rem;
  border: 1px solid color-mix(in srgb, var(--color-gold) 25%, transparent);
  background: color-mix(in srgb, var(--color-ink) 70%, transparent);
}
@media (min-width: 640px) { .theme-countdown-block { width: 4.5rem; height: 5rem; } }
@media (min-width: 768px) { .theme-countdown-block { width: 5.25rem; height: 6rem; } }
.theme-countdown-block.is-last { border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 24px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.theme-countdown-value { font-family: var(--font-display); font-variant-numeric: tabular-nums; line-height: 1; font-size: 1.5rem; color: var(--color-gold); }
@media (min-width: 768px) { .theme-countdown-value { font-size: 1.875rem; } }
.theme-countdown-block.is-last .theme-countdown-value { color: var(--color-primary-foreground); }
.theme-countdown-label { margin-top: 0.375rem; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 50%, transparent); }
.theme-countdown-block.is-last .theme-countdown-label { color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }

.theme-countdown-compact .count-block { }
.theme-countdown:not([data-variant="marquee"]) .theme-countdown-block { border-radius: 0.375rem; padding: 1rem; background: color-mix(in srgb, var(--color-cream) 5%, transparent); border: 1px solid color-mix(in srgb, var(--color-cream) 12%, transparent); width: auto; height: auto; min-width: 4.5rem; }
.theme-countdown:not([data-variant="marquee"]) .theme-countdown-value { color: var(--color-cream); font-size: 1.5rem; }
@media (min-width: 768px) { .theme-countdown:not([data-variant="marquee"]) .theme-countdown-value { font-size: 2.25rem; } }
.theme-countdown-now-playing { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-gold); }

/* ---------------------------------------------------------------------
   Marquee
   --------------------------------------------------------------------- */
.theme-marquee { width: 100%; overflow: hidden; padding: 0.75rem 0; }
.theme-marquee-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-marquee-track { display: flex; white-space: nowrap; animation: marqueeX 38s linear infinite; }
.theme-marquee-phrase { font-family: var(--font-display); font-size: 0.875rem; padding: 0 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (min-width: 768px) { .theme-marquee-phrase { font-size: 1rem; } }

/* ---------------------------------------------------------------------
   Section shell
   --------------------------------------------------------------------- */
.theme-section { background: var(--color-background); }
.theme-section-bg { background: var(--color-background); }
.theme-section-charcoal { background: var(--color-charcoal); }
.theme-border-top { border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.theme-section-py { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-section-py { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-section-head { max-width: 42rem; }
.theme-section-desc { margin-top: 1rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
@media (min-width: 768px) { .theme-section-desc { font-size: 1.125rem; } }

.trailers-heading, .watch-heading, .press-heading, .faq-heading, .shop-heading, .contact-heading {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
}

/* ---------------------------------------------------------------------
   Trailers
   --------------------------------------------------------------------- */
.trailers-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .trailers-grid { grid-template-columns: 1.7fr 1fr; gap: 2rem; } }
.trailers-player { overflow: hidden; display: flex; flex-direction: column; }
.trailers-player-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--color-ink); }
.trailers-play-btn { position: absolute; inset: 0; width: 100%; height: 100%; }
.trailers-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.5s; }
.trailers-play-btn:hover .trailers-thumb { opacity: 1; }
.trailers-play-tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 40%, transparent); }
.trailers-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.trailers-play-icon .theme-icon { width: 4rem; height: 4rem; padding: 1.375rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); transition: transform 0.3s; }
@media (min-width: 768px) { .trailers-play-icon .theme-icon { width: 5rem; height: 5rem; } }
.trailers-play-btn:hover .trailers-play-icon .theme-icon { transform: scale(1.1); }
.trailers-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailers-player-meta { padding: 1.5rem; flex: 1; background: #fff; position: relative; z-index: 1; }
@media (min-width: 768px) { .trailers-player-meta { padding: 1.75rem; } }
.trailers-player-length { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-crimson); }
.trailers-player-title { margin-top: 0.5rem; font-size: 1.25rem; color: var(--color-ink); }
@media (min-width: 768px) { .trailers-player-title { font-size: 1.5rem; } }
.trailers-player-desc { margin-top: 0.5rem; line-height: 1.7; color: color-mix(in srgb, var(--color-ink) 72%, transparent); }

.trailers-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .trailers-list { height: 100%; } }
.trailers-list-item { flex: 1; }
.trailers-list-btn {
  width: 100%; height: 100%; text-align: left; border-radius: 0.375rem;
  border: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent);
  background: color-mix(in srgb, var(--color-cream) 3%, transparent);
  padding: 1rem 1.25rem;
  color: var(--color-cream);
  transition: all 0.3s;
}
.trailers-list-btn:hover { border-color: color-mix(in srgb, var(--color-gold) 50%, transparent); background: color-mix(in srgb, var(--color-cream) 6%, transparent); }
.trailers-list-btn.is-active { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.trailers-list-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.trailers-list-title { font-family: var(--font-display); font-size: 1rem; }
@media (min-width: 768px) { .trailers-list-title { font-size: 1.125rem; } }
.trailers-list-time { font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--color-gold); flex-shrink: 0; }
.trailers-list-desc { display: block; margin-top: 0.375rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); line-height: 1.6; }

/* ---------------------------------------------------------------------
   How to Watch
   --------------------------------------------------------------------- */
.watch-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .watch-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.watch-intro { position: sticky; top: 8rem; }
.watch-heading { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.watch-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.watch-step { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; }
@media (min-width: 768px) { .watch-step { padding: 1.75rem; } }
.watch-step-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); }
.watch-step-tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-crimson); }
.watch-step-title { margin-top: 0.375rem; font-size: 1.125rem; }
@media (min-width: 768px) { .watch-step-title { font-size: 1.25rem; } }
.watch-step-body { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.7; }
@media (min-width: 768px) { .watch-step-body { font-size: 1rem; } }

/* ---------------------------------------------------------------------
   Shop / product grid
   --------------------------------------------------------------------- */
.shop-filters { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-product-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.theme-product-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--color-ink) 4%, transparent); }
.theme-product-card__image-link { display: block; width: 100%; height: 100%; }
.theme-product-card__image { transition: transform 0.5s; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.03); }
.theme-product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: color-mix(in srgb, var(--color-primary) 90%, transparent); color: var(--color-primary-foreground); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }

.theme-product-card__info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.theme-product-card__cat { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-crimson); }
.theme-product-card__title { margin-top: 0.5rem; font-size: 1rem; line-height: 1.375; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card-title-link { color: var(--color-ink); transition: color 0.2s; }
.theme-product-card-title-link:hover { color: var(--color-crimson); }
.theme-product-card__desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; flex: 1; overflow-wrap: break-word; color: color-mix(in srgb, var(--color-ink) 65%, transparent); }
.theme-product-card__options { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-product-card__option {
  padding: 0.375rem 0.75rem;
  border-radius: 0.125rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
  color: color-mix(in srgb, var(--color-ink) 70%, transparent);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.theme-product-card__option:hover { border-color: color-mix(in srgb, var(--color-crimson) 60%, transparent); color: var(--color-crimson); }
.theme-product-card__option.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-product-card__stock.is-oos { margin-top: 0.5rem; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-crimson); }
.theme-product-card__bottom { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-crimson); min-width: 0; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }
.theme-product-card__add { display: inline-flex; align-items: center; gap: 0.5rem; }

.theme-shop-empty { margin-top: 2.5rem; text-align: center; color: color-mix(in srgb, var(--color-cream) 60%, transparent); }

/* ---------------------------------------------------------------------
   Mid-page image divider CTA
   --------------------------------------------------------------------- */
.theme-divider { position: relative; width: 100%; height: 60vh; min-height: 420px; overflow: hidden; }
@media (min-width: 768px) { .theme-divider { height: 70vh; } }
.theme-divider-gradient { position: absolute; inset: 0; background: linear-gradient(to right, var(--color-ink), color-mix(in srgb, var(--color-ink) 70%, transparent), color-mix(in srgb, var(--color-ink) 30%, transparent)); }
.theme-divider-content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.theme-divider-inner { max-width: 36rem; color: var(--color-cream); }
.divider-heading { margin-top: 0; font-size: clamp(1.75rem, 4vw, 3rem); }
.theme-divider-inner .theme-btn-pill { margin-top: 1.75rem; }
.theme-divider-inner .eyebrow { margin-bottom: 1rem; }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image-wrap { order: 2; }
.about-copy { order: 1; }
@media (min-width: 1024px) { .about-image-wrap { order: 1; } .about-copy { order: 2; } }
.about-image-wrap { position: relative; aspect-ratio: 4/3; border-radius: 0.375rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.about-heading { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.about-paragraphs { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
@media (min-width: 768px) { .about-paragraphs { font-size: 1.125rem; } }
.about-paragraphs strong { color: var(--color-cream); }

.about-pillars-band { background: var(--color-primary); border-top: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); }
.about-pillars-grid { padding-top: 4rem; padding-bottom: 4rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .about-pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 5rem; padding-bottom: 5rem; } }
.about-pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-gold); color: var(--color-primary-foreground); }
.about-pillar-title { margin-top: 1.25rem; font-size: 1.125rem; }
.about-pillar-body { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 90%, transparent); line-height: 1.7; max-width: 20rem; }

/* ---------------------------------------------------------------------
   Filmmaker
   --------------------------------------------------------------------- */
.filmmaker-card { overflow: hidden; margin: 0 auto; max-width: 48rem; padding: 3rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .filmmaker-card { padding: 4rem 3.5rem; } }
.filmmaker-glow { pointer-events: none; position: absolute; top: -2.5rem; left: 50%; transform: translateX(-50%); width: 60%; aspect-ratio: 1/1; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); filter: blur(48px); }
.filmmaker-content { position: relative; }
.filmmaker-heading { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.filmmaker-rule { margin: 1.25rem auto 0; }
.filmmaker-role { margin-top: 1.25rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-crimson); }
.filmmaker-bio { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .filmmaker-bio { font-size: 1.125rem; } }
.filmmaker-socials { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------------------------------------------------------------------
   Press Kit
   --------------------------------------------------------------------- */
.press-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .press-grid { grid-template-columns: 1.35fr 1fr; gap: 3.5rem; } }
.press-copy-col { display: flex; flex-direction: column; }
.press-heading { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.press-fallback { margin-top: 2.5rem; flex: 1; padding: 2rem 1.75rem; }
@media (min-width: 768px) { .press-fallback { padding: 2.5rem; } }
.press-fallback-title { margin-top: 1.25rem; font-size: 1.25rem; }
@media (min-width: 768px) { .press-fallback-title { font-size: 1.5rem; } }
.press-fallback-body { margin-top: 0.75rem; line-height: 1.7; }
.press-fallback-rows { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.press-fallback-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); padding-bottom: 0.75rem; }
.press-fallback-row:last-child { border-bottom: none; padding-bottom: 0; }
.press-fallback-row .theme-icon { color: var(--color-primary); }
.press-fallback-row-label { flex: 1; font-size: 0.9375rem; }
.press-fallback-row-note { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-crimson); }
.press-fallback .theme-mailto-link { margin-top: 1.75rem; }

.press-poster-figure { padding: 1rem; display: flex; flex-direction: column; }
@media (min-width: 768px) { .press-poster-figure { padding: 1.25rem; } }
.press-poster-link { display: block; flex: 1; min-height: 0; overflow: hidden; border-radius: 0.25rem; }
.press-poster-figure { position: relative; }
.press-poster-link { position: relative; aspect-ratio: 1280/1979; }
.press-poster-img { transition: transform 0.5s; }
.press-poster-link:hover .press-poster-img { transform: scale(1.015); }
.press-poster-caption { margin-top: 1rem; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.press-poster-caption span:first-child { font-family: var(--font-display); font-size: 0.875rem; }
.press-poster-cta { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-crimson); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq-intro { max-width: 42rem; margin: 0 auto; text-align: center; }
.faq-heading { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.faq-cats { margin-top: 2.5rem; }
.faq-cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.faq-qa-panel { margin-top: 2rem; max-width: 48rem; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-qa-panel[hidden] { display: none !important; }
.faq-item { overflow: hidden; }
.faq-question { display: flex; align-items: flex-start; gap: 1rem; width: 100%; text-align: left; padding: 1.25rem; color: var(--color-ink); }
@media (min-width: 768px) { .faq-question { padding: 1.5rem 1.75rem; } }
.faq-question-text { flex: 1; font-weight: 600; font-size: 1rem; line-height: 1.625; color: var(--color-ink); }
@media (min-width: 768px) { .faq-question-text { font-size: 1.125rem; } }
.faq-chevron { flex-shrink: 0; margin-top: 0.125rem; color: var(--color-crimson); transition: transform 0.3s; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease-out; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { padding: 0 1.25rem 1.25rem; line-height: 1.7; color: color-mix(in srgb, var(--color-ink) 72%, transparent); }
@media (min-width: 768px) { .faq-answer { padding: 0 1.75rem 1.75rem; } }

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact-top-pad { padding-top: 5rem; padding-bottom: 0; }
@media (min-width: 768px) { .contact-top-pad { padding-top: 7rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-copy-col { display: flex; flex-direction: column; }
.contact-heading { margin-top: 1.25rem; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; }
.contact-desc { max-width: 28rem; }
.contact-email-link { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.75rem; color: var(--color-cream); }
.contact-email-link .theme-icon { color: var(--color-gold); flex-shrink: 0; }
.contact-email-link:hover { color: var(--color-gold); }
.contact-socials { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.contact-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.2s, border-color 0.2s; }
.contact-socials a:hover { color: var(--color-gold); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }

.contact-list-form { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
@media (min-width: 1024px) { .contact-list-form { margin-top: auto; } }
.contact-list-desc { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); line-height: 1.6; }
.contact-list-row { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .contact-list-row { flex-direction: row; } }
.contact-list-row .theme-input { flex: 1; }

.theme-input, .theme-textarea {
  width: 100%;
  border-radius: var(--btn-radius);
  background: color-mix(in srgb, var(--color-cream) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-cream);
  outline: none;
  transition: border-color 0.3s;
}
.theme-input::placeholder, .theme-textarea::placeholder { color: color-mix(in srgb, var(--color-cream) 40%, transparent); }
.theme-input:focus, .theme-textarea:focus { border-color: var(--color-gold); }
.theme-textarea { resize: none; min-height: 8rem; }

.contact-form { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; width: 100%; height: 100%; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.contact-form-heading { font-size: 1.25rem; }
.contact-form-submit { align-self: flex-start; }
.contact-form textarea.theme-textarea { flex: 1; }

.contact-marquee-wrap { margin-top: 4rem; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; max-width: 100vw; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); padding: 1.25rem 0; overflow: hidden; }
@media (min-width: 768px) { .contact-marquee-wrap { margin-top: 5rem; } }
.contact-marquee-track { display: flex; width: max-content; align-items: center; gap: 2.5rem; animation: marqueeX 38s linear infinite; }
.contact-marquee-group { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.contact-marquee-word { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.18em; font-size: clamp(1.1rem, 2.4vw, 1.9rem); color: color-mix(in srgb, var(--color-cream) 85%, transparent); white-space: nowrap; }
.contact-marquee-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.site-footer-inner { padding-top: 4rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-top: 5rem; } }
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer-brand { max-width: 24rem; }
.site-footer-logo { height: 7rem; max-height: 7rem; width: auto; object-fit: contain; display: block; margin-bottom: -0.5rem; }
@media (min-width: 768px) { .site-footer-logo { height: 8rem; max-height: 8rem; } }
.site-footer-tagline { color: color-mix(in srgb, var(--color-cream) 70%, transparent); line-height: 1.7; }
.site-footer-release { margin-top: 1rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-gold); }
.site-footer-heading { font-size: 1rem; letter-spacing: 0.16em; margin-bottom: 1.25rem; }
.theme-footer-nav-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; row-gap: 0.625rem; }
.theme-footer-nav-list li { list-style: none; }
.theme-footer-nav-list a { color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-footer-nav-list a:hover { color: var(--color-gold); }
.site-footer-email { display: inline-flex; align-items: center; gap: 0.75rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.site-footer-email .theme-icon { color: var(--color-gold); flex-shrink: 0; }
.site-footer-email:hover { color: var(--color-gold); }
.site-footer-social { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.2s, border-color 0.2s; }
.site-footer-social a:hover { color: var(--color-gold); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }
.site-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }
@media (min-width: 768px) { .site-footer-bottom { flex-direction: row; justify-content: space-between; } }
.site-footer-bottom a { text-decoration: underline; }
.site-footer-bottom a:hover { color: var(--color-gold); }

/* ---------------------------------------------------------------------
   Newsletter popup
   --------------------------------------------------------------------- */
.theme-popup { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 1rem; }
.theme-popup.is-open { display: flex; }
.theme-popup-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 80%, transparent); backdrop-filter: blur(2px); }
.theme-popup-panel { position: relative; width: 100%; max-width: 28rem; padding: 1.75rem; }
@media (min-width: 768px) { .theme-popup-panel { padding: 2.25rem; } }
.theme-popup-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 20; display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent); color: var(--color-ink); }
.theme-popup-close:hover { color: var(--color-crimson); border-color: color-mix(in srgb, var(--color-crimson) 60%, transparent); }
.theme-popup-heading { margin-top: 1.25rem; font-size: 1.5rem; line-height: 1.15; }
@media (min-width: 768px) { .theme-popup-heading { font-size: 1.875rem; } }
.theme-popup-desc { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; }
.theme-popup-form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-popup-input-wrap { position: relative; }
.theme-popup-input-wrap .theme-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-crimson); }
.theme-popup-input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem; border-radius: var(--btn-radius); background: color-mix(in srgb, var(--color-ink) 4%, transparent); border: 1px solid color-mix(in srgb, var(--color-ink) 15%, transparent); color: var(--color-ink); font-size: 1rem; outline: none; }
.theme-popup-input:focus { border-color: var(--color-crimson); }
.theme-popup-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--btn-radius); background: var(--color-primary); color: var(--color-primary-foreground); padding: 0.875rem 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; }
.theme-popup-submit:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-popup-dismiss { margin-top: 1rem; width: 100%; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-ink) 50%, transparent); }
.theme-popup-dismiss:hover { color: var(--color-ink); }
.theme-popup-success { text-align: center; padding: 1.5rem 0; }
.theme-popup-success-icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.theme-popup-success h3 { font-size: 1.5rem; }
.theme-popup-success p { margin-top: 0.5rem; color: color-mix(in srgb, var(--color-ink) 70%, transparent); }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.theme-404 { min-height: 70vh; display: flex; align-items: center; }
.theme-404-inner { text-align: center; padding-top: 6rem; padding-bottom: 6rem; }
.theme-404-code { font-size: 3rem; }
.theme-404-body { margin-top: 1rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-404-link { display: inline-block; margin-top: 1.5rem; color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* =========================================================================
   WooCommerce
   ========================================================================= */

/* Add to cart button override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button — overrides global rules for the size-choice link */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .theme-btn-pill-sm.add_to_cart_button {
  min-height: unset !important;
  height: auto !important;
  padding: 0.6rem 1rem !important;
  border-radius: var(--btn-radius) !important;
  font-size: 11px !important;
}

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info {
  font-family: var(--font-body);
  border-radius: var(--btn-radius);
  border-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
  background: color-mix(in srgb, var(--color-gold) 10%, transparent);
  color: var(--color-cream);
}

/* Variation attribute pills (Section 11.5.2) */
.theme-attr-select-hidden { display: none !important; }
.theme-attr-group { margin-top: 1.75rem; }
.theme-attr-pills { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-pill-select {
  padding: 0.625rem 1rem;
  border-radius: var(--btn-radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent);
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  background: transparent;
}
.theme-pill-select:hover { border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); color: var(--color-gold); }
.theme-pill-select.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product table.variations { display: none; } /* hidden — theme uses pill UI + hidden select */

/* Single product layout (Section 11.13) */
.theme-product-info > .film-label a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-back-link:hover { color: var(--color-gold); }
.theme-product-layout { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery-frame { position: relative; padding: 0.75rem; }
@media (min-width: 768px) { .theme-product-gallery-frame { padding: 1rem; } }
.theme-product-gallery-frame { aspect-ratio: 1/1; }
#product-main-img { border-radius: 0.125rem; }
.theme-product-badge--single { position: absolute; top: 1.5rem; left: 1.5rem; }
.theme-product-thumbnails { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { width: 4.5rem; height: 5.625rem; border-radius: 0.125rem; overflow: hidden; border: 2px solid transparent; opacity: 0.7; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-product-title { margin-top: 1.25rem; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.08; font-family: var(--font-body); font-weight: 600; }
.theme-product-price { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-gold); }
.theme-product-desc { margin-top: 1.25rem; font-size: 1rem; line-height: 1.7; max-width: 36rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); overflow-wrap: break-word; }
@media (min-width: 768px) { .theme-product-desc { font-size: 1.125rem; } }
.theme-product-stock.is-oos { margin-top: 1rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--color-crimson); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { width: 2.75rem; height: var(--btn-height); display: inline-flex; align-items: center; justify-content: center; color: var(--color-cream); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: color-mix(in srgb, var(--color-cream) 8%, transparent); color: var(--color-gold); }
.theme-qty-input { width: 3rem; height: var(--btn-height); text-align: center; background: transparent; border: none; border-left: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); border-right: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); color: var(--color-cream); font-family: var(--font-body); font-size: 0.9375rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area {
  margin-top: 2.25rem;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-facts { list-style: none; margin: 2.25rem 0 0; padding: 2rem 0 0; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-product-facts li { display: flex; align-items: center; gap: 0.75rem; }
.theme-product-facts .theme-icon { color: var(--color-gold); flex-shrink: 0; }

.theme-product-description { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.theme-product-description-body { max-width: 48rem; line-height: 1.75; }

.related-products-section { margin-top: 5rem; }
@media (min-width: 768px) { .related-products-section { margin-top: 7rem; } }
.theme-related-heading { font-size: 1.5rem; }
@media (min-width: 768px) { .theme-related-heading { font-size: 1.875rem; } }
.related-grid { margin-top: 2rem; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ---------------------------------------------------------------------
   Side cart drawer
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 69; background: color-mix(in srgb, var(--color-ink) 80%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 70;
  width: 92vw; max-width: 440px;
  background: var(--color-charcoal);
  border-left: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  height: 100dvh;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.theme-cart-drawer-title { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 1.125rem; }
.theme-cart-drawer-title .theme-icon { color: var(--color-primary); }
.theme-cart-drawer-count { font-size: 0.75rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-family: var(--font-body); }
.theme-cart-drawer-close { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); color: var(--color-cream); }
.theme-cart-drawer-close:hover { color: var(--color-gold); border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }

.theme-cart-drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.theme-cart-empty-msg { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); line-height: 1.6; }
.theme-cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-line { display: flex; gap: 1rem; }
.theme-cart-line-img { width: 5rem; height: 5rem; border-radius: var(--btn-radius); object-fit: cover; border: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); flex-shrink: 0; }
.theme-cart-line-info { flex: 1; min-width: 0; }
.theme-cart-line-name { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.4; }
.theme-cart-line-variation { margin-top: 0.25rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }
.theme-cart-line-price { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-gold); }
.theme-cart-line-qty { margin-top: 0.625rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-qty-btn { width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--btn-radius); border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent); color: var(--color-cream); }
.theme-cart-qty-btn:hover { border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); color: var(--color-gold); }
.theme-cart-qty-value { width: 1.5rem; text-align: center; font-size: 0.875rem; }
.theme-cart-remove-btn { margin-left: 0.25rem; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--color-cream) 50%, transparent); }
.theme-cart-remove-btn:hover { color: var(--color-primary); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
.theme-cart-subtotal-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
.theme-cart-subtotal-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 11px; font-weight: 700; }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-gold); }
.theme-cart-checkout-btn { margin-top: 1rem; width: 100%; justify-content: center; }
.theme-cart-footnote { margin-top: 0.75rem; font-size: 11px; color: color-mix(in srgb, var(--color-cream) 50%, transparent); line-height: 1.6; }

/* =========================================================================
   Checkout / Cart / My Account block pages (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.woocommerce-page .site-main {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--checkout-gap);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  min-width: 0;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* Order summary fills its sidebar column */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* Quantity badge: readable contrast on product thumb */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  background-color: var(--color-primary) !important;
  border: 2px solid var(--color-cream) !important;
  color: var(--color-primary-foreground) !important;
  box-shadow: 0 1px 4px hsl(330 40% 4% / 0.35);
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span {
  color: var(--color-primary-foreground) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-ink);
  border: 1px solid color-mix(in srgb, var(--color-ink) 18%, transparent);
  border-radius: var(--btn-radius);
  background: #fff;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-crimson); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-ink) 45%, transparent); }

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-cart .wc-block-cart__totals-title {
  background-color: var(--color-surface);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
  color: var(--color-cream);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--btn-radius); }

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; font-size: clamp(1.9rem, 4vw, 3rem); }

/* ---------------------------------------------------------------------
   Thank-you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem;
  background: var(--color-charcoal); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { list-style: none; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; display: block; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7;
}
.theme-thankyou-wrap { max-width: 48rem; }
.theme-thankyou-cta { margin-top: 2rem; }

/* ---------------------------------------------------------------------
   Archive product page
   --------------------------------------------------------------------- */
.theme-archive-product .site-main { padding-top: calc(var(--header-height) + 2rem); }
.theme-archive-header { margin-bottom: 1rem; }

/* Universal pointer-events overlay guard (this theme's cards use Pattern B,
   so no overlay-link pointer-events pattern is required here). */
