/* ═══════════════════════════════════════════════════════════════
   BELLFLOWER KREATIONS — MAIN THEME CSS
   Midnight Bloom design system
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts are loaded in functions.php via wp_enqueue_style ── */

/* ── CSS Variables (overridden by Customizer inline style) ── */
:root {
  --color-background:  #0c0a14;
  --color-foreground:  #e8e6f0;
  --color-primary:     #9d78f5;
  --color-primary-fg:  #0f0c1a;
  --color-card:        #15111f;
  --color-secondary:   #1a1528;
  --color-muted:       #2d2540;
  --color-muted-fg:    #9e9ab0;
  --color-accent:      #3d2275;
  --color-border:      #2d2540;
  --color-destructive: #c94040;
  --logo-height:       44px;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --shadow-soft:     0 4px 24px -4px hsl(260 60% 4% / .6);
  --shadow-elevated: 0 14px 60px -10px hsl(258 90% 30% / .35);
  --shadow-glow:     0 0 60px hsl(258 90% 76% / .35);

  --transition-smooth: cubic-bezier(.4,0,.2,1);

  --radius: 0px;
  --btn-height: 48px;
  --btn-radius: 0px;
  --btn-padding: 12px 32px;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: .2em;
  --btn-text-transform: uppercase;
  --card-radius: 0px;
  --header-height: 80px;
  --admin-bar-height: 0px;
  --checkout-gap: 2rem;
  --section-padding: 2rem;
  --color-surface: var(--color-card);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing:.01em; line-height:1; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
input, textarea, select { font: inherit; }
ul { list-style: none; }

/* ── Utilities ── */
.font-display  { font-family: var(--font-display); }
.text-primary  { color: var(--color-primary); }
.text-glow     { text-shadow: 0 0 24px hsl(258 90% 76% / .4); }
.glow-violet   { box-shadow: var(--shadow-glow); }
.hidden-mobile { display: none; }
.scroll-mt     { scroll-margin-top: calc(var(--header-height) + var(--admin-bar-height) + 16px); }
.gradient-bloom {
  background:
    radial-gradient(ellipse at 20% 20%, hsl(258 90% 50% / .35), transparent 55%),
    radial-gradient(ellipse at 80% 70%, hsl(280 70% 40% / .35), transparent 55%),
    linear-gradient(135deg, var(--color-background), hsl(262 40% 10%));
}
.gradient-violet {
  background: linear-gradient(135deg, var(--color-primary), hsl(280 60% 50%));
}

@media (min-width: 768px) { .hidden-mobile { display: initial; } }

/* ── Container ── */
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

/* ── Animations ── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulsGlow { 0%,100% { opacity:.5; } 50% { opacity:1; } }

.js-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--transition-smooth), transform .8s var(--transition-smooth);
}
.js-fade-up.is-visible { opacity: 1; transform: translateY(0); }

.js-slide-left  { opacity: 0; transform: translateX(-60px); transition: opacity .9s var(--transition-smooth), transform .9s var(--transition-smooth); }
.js-slide-right { opacity: 0; transform: translateX(60px);  transition: opacity .9s var(--transition-smooth), transform .9s var(--transition-smooth); }
.js-scale-in    { opacity: 0; transform: scale(.92);        transition: opacity .7s var(--transition-smooth), transform .7s var(--transition-smooth); }
.js-slide-left.is-visible,
.js-slide-right.is-visible,
.js-scale-in.is-visible { opacity: 1; transform: none; }

.animate-fade-in { animation: fadeIn .6s var(--transition-smooth) forwards; }

/* ── Link underline ── */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ── Card hover ── */
.card-hover { transition: all .5s var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary  { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }
.btn-primary:hover  { opacity: .85; }
.btn-outline  { background: transparent; color: var(--color-foreground); border-color: hsl(258 90% 76% / .4); }
.btn-outline:hover  { background: hsl(258 90% 76% / .1); color: var(--color-primary); border-color: hsl(258 90% 76% / .6); }
.btn-secondary { background: hsl(262 36% 13%); color: hsl(260 18% 88%); border-color: hsl(262 36% 13%); }
.btn-secondary:hover { opacity: .9; }
.btn-full  { width: 100%; }
.btn:disabled, .btn[disabled], .btn.disabled {
  opacity: .4; cursor: not-allowed; pointer-events: none;
}

/* ── WordPress admin bar offset ── */
body.admin-bar {
  --admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-height: 46px;
  }
}
body.admin-bar .site-header {
  top: var(--admin-bar-height);
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all .3s var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: hsl(260 30% 6% / .9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 1024px) { .site-nav { height: 80px; } }

.site-logo-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-logo-img  { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; border-radius: 50%; border: 1px solid hsl(258 90% 76% / .4); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; display: block; }
.site-name-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (min-width: 1024px) { .site-name-text { font-size: 1.875rem; } }

.site-nav-desktop { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 768px) { .site-nav-desktop { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.theme-nav-link {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: hsl(260 20% 94% / .8);
  transition: color .3s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.theme-nav-link:hover { color: var(--color-primary); }

.site-nav-actions { display: flex; align-items: center; gap: .5rem; }

/* Cart button */
.cart-btn {
  position: relative;
  padding: .5rem;
  color: var(--color-foreground);
  transition: color .2s;
}
.cart-btn:hover { color: var(--color-primary); }
.cart-icon { display: block; }
.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  line-height: 1;
  padding: 0 3px;
}
.theme-cart-count:empty { display: none; }

/* Hamburger */
.hamburger-btn { padding: .5rem; display: flex; color: var(--color-foreground); }
@media (min-width: 768px) { .hamburger-btn { display: none; } }
.hamburger-btn:hover { color: var(--color-primary); }

/* Mobile nav — vertical dropdown below header (< md) */
.site-nav-mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
  background: hsl(260 30% 6% / .95);
  backdrop-filter: blur(12px);
}
.site-nav-mobile.is-open {
  display: block;
}
.site-nav-mobile .mobile-nav-list,
.site-nav-mobile .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
.site-nav-mobile .menu-item {
  display: block;
  width: 100%;
}
.site-nav-mobile a,
.site-nav-mobile .theme-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: .5rem 0;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: hsl(260 20% 94% / .8);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .3s;
}
.site-nav-mobile a:hover,
.site-nav-mobile .theme-nav-link:hover {
  color: var(--color-primary);
}
@media (min-width: 768px) {
  .site-nav-mobile { display: none !important; }
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: hsl(260 30% 6% / .6);
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  animation: pulsGlow 3s ease-in-out infinite;
}
.hero-glow--left  { top: 25%; left: -8rem; width: 31rem; height: 31rem; background: hsl(258 90% 76% / .2); }
.hero-glow--right { bottom: 25%; right: -8rem; width: 37rem; height: 37rem; background: hsl(268 56% 26% / .4); }

.hero-content { position: relative; z-index: 10; text-align: center; padding-block: 5rem; }

.hero-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  animation: expandLine .9s var(--transition-smooth) .8s forwards;
}
@keyframes expandLine { to { width: 48px; } }
.hero-brand-label {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: .9;
  margin-bottom: .1em;
}
.hero-h1--white  { color: var(--color-foreground); }
.hero-h1--violet { color: var(--color-primary); }
.hero-headline-wrap { margin-bottom: 2rem; }

.hero-subtitle {
  color: hsl(260 20% 94% / .7);
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-size: 1rem;
  filter: none;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
  align-items: center;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-cta-btn { min-width: 200px; }

/* ── SECTION LABELS / HEADINGS ── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: .95;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ── ABOUT SECTION ── */
.about-section { border-top: 1px solid var(--color-border); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 5rem;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
  }
}
.about-logo-wrap { position: relative; aspect-ratio: 1; max-width: 24rem; margin: 0 auto; }
.about-logo-img  { width: 100%; height: 100%; object-fit: contain; }

.about-content-col { display: flex; flex-direction: column; justify-content: center; }
.about-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(260 20% 94% / .9);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.about-body-text { color: var(--color-muted-fg); }
.about-body-text p { margin-bottom: .75rem; line-height: 1.7; }
.about-tags { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: 1rem; }
.about-tag {
  padding: .5rem 1rem;
  border: 1px solid hsl(258 90% 76% / .4);
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ── MAKER SECTION ── */
.maker-section { background: hsl(262 36% 11% / .4); border-top: 1px solid var(--color-border); }
.maker-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding-block: 5rem;
}
.maker-portrait {
  width: 10rem; height: 10rem;
  border-radius: 50%;
  border: 1px solid hsl(258 90% 76% / .4);
  overflow: hidden;
  margin: 0 auto 2.5rem;
  box-shadow: var(--shadow-glow);
  background: hsl(260 30% 6% / .5);
}
.maker-portrait-img { width: 100%; height: 100%; object-fit: cover; }
.maker-bio { color: var(--color-muted-fg); }
.maker-bio-1 { font-size: 1.125rem; color: hsl(260 20% 94% / .9); margin-bottom: 1rem; }

/* ── SERVICES SECTION ── */
.services-section { border-top: 1px solid var(--color-border); }
.services-section .container-wide { padding-block: 5rem; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 2rem;
  transition: border-color .5s;
}
.service-card:hover { border-color: hsl(258 90% 76% / .6); }
.service-icon {
  width: 3rem; height: 3rem;
  border: 1px solid hsl(258 90% 76% / .3);
  background: hsl(258 90% 76% / .1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: background .5s;
}
.service-card:hover .service-icon { background: hsl(258 90% 76% / .2); }
.service-title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .75rem; }
.service-body  { color: var(--color-muted-fg); font-size: .9375rem; line-height: 1.7; }

/* ── SHOP SECTION ── */
.shop-section { border-top: 1px solid var(--color-border); padding-block: 5rem; }
.shop-filter-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.cat-filter-btn {
  padding: .625rem 1.25rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  color: var(--color-muted-fg);
  background: transparent;
  transition: all .3s;
  cursor: pointer;
}
.cat-filter-btn:hover  { border-color: hsl(258 90% 76% / .6); color: var(--color-foreground); }
.cat-filter-btn.is-active { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }

/* Price filter */
.price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.price-filter-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  transition: color .3s;
  cursor: pointer;
  background: none;
  border: none;
}
.price-filter-toggle:hover { color: var(--color-primary); }
.price-filter-current { font-size: .75rem; opacity: .7; }
.price-chevron { transition: transform .3s; }
.price-filter-toggle[aria-expanded="true"] .price-chevron { transform: rotate(180deg); }
.price-filter-panel {
  width: 100%;
  max-width: 24rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s cubic-bezier(.25,.4,.25,1), opacity .3s cubic-bezier(.25,.4,.25,1);
}
.price-filter-panel.is-open {
  max-height: 6rem;
  opacity: 1;
}
.price-filter-panel-inner { padding-block: .5rem; }

/* Dual-thumb range (matches Lovable Radix slider) */
.price-range-wrapper {
  position: relative;
  height: 1.25rem;
  margin-bottom: .75rem;
}
.price-range-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: .5rem;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: var(--color-secondary);
  pointer-events: none;
}
.range-track-fill {
  position: absolute;
  height: .5rem;
  background: var(--color-primary);
  border-radius: 9999px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.range-input {
  position: absolute;
  left: 0;
  width: 100%;
  appearance: none;
  background: transparent;
  height: 1.25rem;
  margin: 0;
  outline: none;
  pointer-events: none;
  z-index: 2;
}
.range-input--max { z-index: 3; }
.range-input::-webkit-slider-runnable-track {
  height: .5rem;
  background: transparent;
}
.range-input::-moz-range-track {
  height: .5rem;
  background: transparent;
  border: 0;
}
.range-input::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-background);
  cursor: grab;
  border: 2px solid var(--color-primary);
  pointer-events: all;
  margin-top: -.375rem;
  transition: background-color .2s ease;
}
.range-input::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--color-background);
  cursor: grab;
  border: 2px solid var(--color-primary);
  pointer-events: all;
  transition: background-color .2s ease;
}
.range-input:active::-webkit-slider-thumb,
.range-input:active::-moz-range-thumb { cursor: grabbing; }
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
}

/* Product grid */
.theme-product-grid {
  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: 2rem; } }

.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Product card */
.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: border-color .5s;
  margin-bottom: 1rem;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: hsl(258 90% 76% / .6); }
.theme-product-card__image-link {
  display: block;
  width: 100%; height: 100%;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s ease-out;
}
.theme-product-card:hover .product-card-img { transform: scale(1.06); }
.sold-out-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  padding: .375rem .75rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--color-foreground);
  color: var(--color-background);
  z-index: 2;
}
.product-card-hover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(258 90% 76% / .3), transparent);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  z-index: 1;
}
.theme-product-card:hover .product-card-hover-overlay { opacity: 1; }

.theme-product-card__info { flex: 1; }
.theme-product-card__title-link { display: block; }
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .3s;
  line-height: 1.1;
  margin-bottom: .25rem;
}
.theme-product-card:hover .product-card-name { color: var(--color-primary); }
.product-card-price {
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--color-muted-fg);
  font-weight: 600;
  letter-spacing: .05em;
}

.shop-empty-text {
  text-align: center;
  padding: 5rem 0;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  grid-column: 1 / -1;
}
.shop-load-more-wrap { text-align: center; padding-top: 2.5rem; grid-column: 1 / -1; }

/* ── FAQ CTA SECTION ── */
.faq-cta-section { padding-block: 3rem; }
@media (min-width: 768px) { .faq-cta-section { padding-block: 4rem; } }
.faq-cta-inner { max-width: 48rem; margin: 0 auto; }
.faq-cta-box {
  background: linear-gradient(135deg, var(--color-primary), hsl(280 60% 50%));
  padding: 2.5rem;
  text-align: center;
  transition: transform .4s var(--transition-smooth);
}
@media (min-width: 768px) { .faq-cta-box { padding: 4rem; } }
.faq-cta-box:hover { transform: scale(1.02); }
.faq-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-primary-fg);
  margin-bottom: 1rem;
}
.faq-cta-body  { color: hsl(260 40% 8% / .9); margin-bottom: 2rem; max-width: 28rem; margin-inline: auto; margin-bottom: 2rem; }
.faq-cta-box .btn-secondary { color: hsl(260 18% 88%); }

/* ── CONTACT SECTION ── */
.contact-section {
  position: relative;
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}
.contact-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .4;
  pointer-events: none;
}
.contact-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsl(262 36% 11% / .8) 0%, hsl(262 36% 11% / .7) 50%, hsl(262 36% 11% / .9) 100%);
  pointer-events: none;
}
.contact-glow { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; }
.contact-glow--top    { top: -8rem; left: -8rem; width: 30rem; height: 30rem; background: hsl(258 90% 76% / .15); }
.contact-glow--bottom { bottom: -10rem; right: -8rem; width: 32rem; height: 32rem; background: hsl(268 56% 26% / .3); }

.contact-inner { position: relative; padding-block: 5rem; }
@media (min-width: 768px) { .contact-inner { padding-block: 7rem; } }

.contact-header { text-align: center; max-width: 64rem; margin: 0 auto 4rem; }
.contact-label-row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.h-line { display: block; width: 2.5rem; height: 1px; background: hsl(258 90% 76% / .6); }
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: .95;
  color: var(--color-foreground);
  margin-bottom: 2rem;
}
.contact-body { font-size: 1rem; color: var(--color-muted-fg); max-width: 40rem; margin: 0 auto 2.5rem; line-height: 1.7; }
@media (min-width: 768px) { .contact-body { font-size: 1.125rem; } }
.contact-btn-wrap { }
.contact-open-btn { display: inline-flex; }

/* Contact cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .contact-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: hsl(260 30% 6% / .4);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(258 90% 76% / .2);
  padding: 1.25rem;
  transition: border-color .3s, transform .3s;
  text-decoration: none;
  color: var(--color-foreground);
}
.contact-card:hover { border-color: hsl(258 90% 76% / .6); transform: translateY(-4px); }
.contact-card-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: hsl(258 90% 76% / .15);
  border: 1px solid hsl(258 90% 76% / .3);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  transition: background .3s;
}
.contact-card:hover .contact-card-icon { background: hsl(258 90% 76% / .25); }
.contact-card-body { min-width: 0; }
.contact-card-label {
  display: block;
  font-size: .625rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: .25rem;
}
.contact-card-value {
  display: block;
  font-size: .875rem;
  color: var(--color-foreground);
  transition: color .3s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-card:hover .contact-card-value { color: var(--color-primary); }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--color-border); background: hsl(262 36% 11% / .4); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { padding-block: 5rem; } }

.footer-logo-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-tagline { margin-top: 1.25rem; font-size: .875rem; color: var(--color-muted-fg); max-width: 22rem; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.25rem; }
.footer-social-link { color: var(--color-muted-fg); transition: color .2s; display: flex; align-items: center; }
.footer-social-link:hover { color: var(--color-primary); }
.footer-tiktok-link { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; padding-top: 2px; }

.footer-nav-heading { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.25rem; font-family: var(--font-body); }
.footer-nav-list  { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-nav-btn   { font-size: .875rem; color: var(--color-muted-fg); transition: color .2s; background: none; border: none; cursor: pointer; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .05em; padding: 0; }
.footer-nav-btn:hover { color: var(--color-primary); }

.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--color-muted-fg); }
.footer-contact-link { color: inherit; transition: color .2s; word-break: break-all; }
.footer-contact-link:hover { color: var(--color-primary); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy,
.footer-slogan,
.footer-credit {
  font-size: .75rem;
  color: var(--color-muted-fg);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-bottom-right { display: flex; flex-direction: column; gap: .5rem; align-items: center; }
@media (min-width: 640px) { .footer-bottom-right { flex-direction: row; gap: 1rem; align-items: center; } }
.footer-credit-link { color: inherit; transition: color .2s; }
.footer-credit-link:hover { color: var(--color-primary); }

/* ── SIDE CART DRAWER ── */
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open #theme-cart-drawer  { transform: translateX(0); }

#theme-cart-overlay {
  position: fixed; inset: 0;
  background: hsl(260 30% 6% / .7);
  backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--transition-smooth);
}
#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background: var(--color-card);
  border-left: 1px solid var(--color-border);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--transition-smooth);
  box-shadow: var(--shadow-elevated);
}
#theme-cart-drawer.is-updating { opacity: .6; pointer-events: none; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; }
.cart-drawer-close { padding: .25rem; transition: color .2s; }
.cart-drawer-close:hover { color: var(--color-primary); }

/* Empty cart */
.cart-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-empty-icon  { color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-empty-msg   { font-family: var(--font-body); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* Cart items */
.cart-items-list { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-img-link {
  display: block;
  width: 5rem; height: 6rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img-link img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.cart-item-name:hover { color: var(--color-primary); }
.cart-item-price { font-size: .875rem; color: var(--color-muted-fg); margin-top: .125rem; }
.cart-item-attrs { margin-top: .25rem; }
.cart-item-attr  { font-size: .75rem; color: var(--color-muted-fg); display: block; }
.cart-item-controls { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.cart-qty-btn { padding: .25rem; transition: color .2s; }
.cart-qty-btn:hover { color: var(--color-primary); }
.cart-qty-display { font-size: .875rem; width: 1.5rem; text-align: center; }
.cart-remove-btn { margin-left: auto; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-muted-fg); transition: color .2s; }
.cart-remove-btn:hover { color: var(--color-destructive); }

/* Cart footer */
.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row { display: flex; justify-content: space-between; align-items: center; }
.cart-subtotal-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-muted-fg); }
.cart-subtotal-val   { font-weight: 600; }
.cart-shipping-note  { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-muted-fg); }
.cart-checkout-btn   { }

/* ── INNER PAGES ── */
.inner-page { padding-top: var(--header-height); }
.single-product.inner-page { padding-top: 6rem; }
@media (min-width: 1024px) { .single-product.inner-page { padding-top: 7rem; } }
.inner-content { padding-block: 2.5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  transition: color .3s;
}
.back-link:hover { color: var(--color-primary); }

/* Page title */
.page-title-wrap { padding-top: 2.5rem; padding-bottom: 1rem; }
.page-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; letter-spacing: .04em; }

/* ── SINGLE PRODUCT ── */
.product-back-wrap { padding-block: 1.5rem; }
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
  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%; }

.product-main-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-main-img-wrap .product-main-img,
.product-main-img-wrap img.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: opacity .3s var(--transition-smooth);
}

.theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--color-border);
  transition: border-color .2s, opacity .2s;
  opacity: .6;
  cursor: pointer;
}
.product-thumb:hover  { opacity: 1; }
.product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info { padding-top: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.product-category {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .5rem;
  margin-bottom: 1rem;
  line-height: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}
.product-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.product-price-currency { font-weight: 600; }
.product-description {
  color: var(--color-muted-fg);
  line-height: 1.625;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
  font-family: var(--font-body);
}
.product-description p { margin: 0; }
.product-description p + p { margin-top: 1rem; }
.product-stock-badge {
  display: inline-block;
  padding: .375rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.product-stock-badge--out { background: var(--color-foreground); color: var(--color-background); }

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
}
.single-product .theme-add-to-cart-area { gap: 1rem; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; }

.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.theme-qty-minus,
.theme-qty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  transition: background .2s;
  color: var(--color-foreground);
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  padding: .75rem 1rem;
  min-width: 3rem;
  width: 3rem;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  font-family: var(--font-body);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { appearance: none; }

/* Attribute selector (variable products) */
.theme-variation-attributes { margin-bottom: 1.5rem; }
.theme-attr-group + .theme-attr-group { margin-top: 0; }
.theme-attr-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: .75rem;
}
.theme-attr-select-hidden { display: none !important; }
.theme-attr-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.attr-btn {
  padding: .625rem 1.25rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: all .2s;
}
.attr-btn:hover { border-color: hsl(258 90% 76% / .6); }
.attr-btn.is-selected {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
}

.single_variation_wrap { margin-top: 0; }
.single_variation_wrap .woocommerce-variation { display: none; }
.theme-variations-form .theme-add-to-cart-area { margin-bottom: 0; }

/* Product details */
.product-details-section { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 0; }
.product-details-heading {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.product-details-list,
.product-details-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
}
.product-details-list li,
.product-details-body li {
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--color-muted-fg);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  line-height: 1.5;
}
.product-details-list li::before,
.product-details-body li::before {
  content: '';
  display: inline-block;
  width: .375rem;
  height: .375rem;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: .5rem;
}
.product-details-body p { display: none; }

/* Related products */
.related-products { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.related-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2.5rem; }
.related-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* WooCommerce Add to Cart button overrides (§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,
button.single_add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !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: .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 .2s ease !important;
  text-decoration: none !important;
  flex: 1 1 auto;
  min-width: 0;
}
.single_add_to_cart_button.is-added::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f0c1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: .85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
}
/* Disabled state (§11.4.1) */
.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: .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: .4 !important;
  background-color: var(--color-primary) !important;
}
/* Button loading state (§31.8) */
.ajax_add_to_cart.theme-btn-loading {
  opacity: .6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}
/* Hide WC "View cart" link (§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; }

/* WC Notices (§14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* WooCommerce archive pagination */
.woocommerce-pagination ul { display: flex; gap: .5rem; justify-content: center; padding-top: 2.5rem; }
.woocommerce-pagination a,
.woocommerce-pagination span { padding: .5rem .875rem; border: 1px solid var(--color-border); font-size: .875rem; color: var(--color-muted-fg); transition: all .2s; }
.woocommerce-pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.woocommerce-pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-fg); }

/* ── FAQ PAGE ── */
.faq-page-wrap { max-width: 48rem; margin: 0 auto; }
.faq-page-header { text-align: center; margin-bottom: 3rem; }
.faq-page-heading { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.faq-page-subheading { color: var(--color-muted-fg); }
.faq-sections-wrap { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-cat-title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); padding-bottom: .5rem; border-bottom: 1px solid var(--color-border); margin-bottom: 1rem; }
.faq-items { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--color-border); overflow: hidden; transition: border-color .3s; }
.faq-item:hover { border-color: hsl(258 90% 76% / .4); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.faq-question:hover { background: hsl(262 36% 13% / .5); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--color-primary); }
.faq-q-text { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; padding-right: 1rem; }
.faq-chevron { flex-shrink: 0; transition: transform .3s, color .2s; color: var(--color-muted-fg); }
.faq-answer { padding: 0 1.25rem 1.25rem; animation: fadeIn .3s ease; }
.faq-answer p { color: var(--color-muted-fg); font-size: .875rem; line-height: 1.7; white-space: pre-line; }
.faq-cta-footer { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); text-align: center; }
.faq-cta-footer-heading { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.faq-cta-footer-body { color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* ── 404 PAGE ── */
.not-found-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding-top: var(--header-height); }
.not-found-glow { position: absolute; top: 25%; left: 25%; width: 25rem; height: 25rem; border-radius: 50%; background: hsl(258 90% 76% / .15); filter: blur(120px); pointer-events: none; }
.not-found-content { position: relative; text-align: center; padding-inline: 1.5rem; z-index: 10; }
.not-found-number { font-family: var(--font-display); font-size: clamp(8rem, 20vw, 16rem); line-height: 1; color: var(--color-primary); letter-spacing: .05em; }
.not-found-label { font-size: .875rem; letter-spacing: .3em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: .5rem; }
.not-found-msg   { color: hsl(260 20% 94% / .8); margin-bottom: 2rem; }

/* ── CONTACT MODAL ── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: hsl(260 30% 6% / .8);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn .3s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal-box {
  position: relative;
  background: var(--color-card);
  border: 1px solid hsl(258 90% 76% / .3);
  max-width: 40rem;
  width: 100%;
  max-height: 90svh;
  overflow-y: auto;
  padding: 2rem;
  animation: slideUp .3s ease;
}
@media (min-width: 768px) { .modal-box { padding: 2.5rem; } }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .25rem;
  color: var(--color-muted-fg);
  transition: color .2s;
}
.modal-close:hover { color: var(--color-primary); }
.modal-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.25rem); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.modal-desc { color: var(--color-muted-fg); font-size: .875rem; margin-bottom: 1.5rem; }
.modal-header { margin-bottom: 1rem; }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--color-muted-fg); font-weight: 500; }
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  font-size: .875rem;
  transition: border-color .3s, box-shadow .3s;
  outline: none;
  border-radius: 0;
}
.form-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.form-input::placeholder { color: hsl(260 14% 68% / .6); }
.form-textarea { resize: none; }

/* Success state */
#contact-success { text-align: center; padding: 1.5rem 0; }
.success-icon {
  width: 4rem; height: 4rem;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary-fg);
  box-shadow: var(--shadow-glow);
  animation: scaleIn .5s var(--transition-smooth);
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
.success-heading { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.success-body { color: var(--color-muted-fg); }

/* ── CHECKOUT (WC Blocks — §13) ── */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { /* CASE A: site has container — do not force 100% */ }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--checkout-gap);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-card);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
/* Checkout inputs */
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 {
  font-family: var(--font-body) !important;
  font-size: .875rem !important;
  color: var(--color-foreground) !important;
  background-color: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
  outline: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  min-height: var(--btn-height) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: .85 !important; }
/* Checkout heading */
body.woocommerce-checkout h2,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  font-family: var(--font-display) !important;
  font-size: 1.5rem !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: var(--color-foreground) !important;
}
/* Order summary quantity badge */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span[aria-hidden="true"] {
  color: #fff !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── THANK YOU PAGE (§22.8) ── */
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; padding: 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 0 1rem 0;
  color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--color-card);
  padding: 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: .875rem;
  color: var(--color-muted-fg);
}
body.theme-thankyou-page .woocommerce-order-overview strong { color: var(--color-foreground); }
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: .75rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .875rem;
  text-align: left;
}
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: 30rem;
  overflow-wrap: break-word;
  font-style: normal;
  font-size: .875rem;
  color: var(--color-muted-fg);
  line-height: 1.7;
}
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-notice,
body.theme-thankyou-page .woocommerce-message {
  background: hsl(258 90% 76% / .1);
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: .9375rem;
}
body.theme-thankyou-page .page-title-wrap { display: none; }
.thankyou-wrap { padding-block: 2rem; }

/* ── WooCommerce general notices ── */
.woocommerce-message,
.woocommerce-info { background: hsl(258 90% 76% / .1); border-left: 4px solid var(--color-primary); padding: .875rem 1.25rem; margin-bottom: 1.5rem; font-size: .875rem; }
.woocommerce-error { background: hsl(0 70% 55% / .1); border-left: 4px solid var(--color-destructive); padding: .875rem 1.25rem; margin-bottom: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .about-grid { padding-block: 3rem; }
  .maker-inner, .services-section .container-wide, .shop-section { padding-block: 3rem; }
  .contact-inner { padding-block: 3rem; }
  .footer-grid { padding-block: 2.5rem; }
  .theme-product-layout { gap: 1.5rem; }
  .product-title { font-size: 2rem; }
  .hero-h1 { font-size: clamp(2.5rem, 12vw, 5rem); }
}
