/* =====================================================================
   WAYLUX theme stylesheet
   Author: The Free Website Guys
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Design tokens (color vars are injected inline via wp_add_inline_style;
   everything else lives here)
   --------------------------------------------------------------------- */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --color-rosa: hsl(38, 40%, 47%);

  --shadow-soft: 0 4px 20px -4px rgba(28, 26, 23, 0.12);
  --shadow-elevated: 0 14px 44px -14px rgba(28, 26, 23, 0.26);
  --shadow-glow: 0 0 60px -14px rgba(168, 133, 72, 0.45);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 0.5rem;
  --header-height: 92px;
  --header-height-mobile: 72px;

  --btn-radius: 9999px;
  --btn-height: 48px;
  --btn-padding: 0.9rem 2.25rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;
}

/* ---------------------------------------------------------------------
   1. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.product-card-img):not(.gallery-main-img):not(.gallery-thumb-img):not(.theme-cart-item-thumb-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-product-card-img, .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.gallery-main-img, .gallery-thumb-img, .theme-cart-item-thumb-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: 0.01em;
  margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: 600; }

::selection { background: color-mix(in srgb, var(--color-accent) 25%, transparent); }

/* ---------------------------------------------------------------------
   2. Layout helpers
   --------------------------------------------------------------------- */
.container-wide {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.page-content-wrap { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .container-wide.page-content-wrap,
body.woocommerce-cart .container-wide.page-content-wrap,
body.woocommerce-account .container-wide.page-content-wrap {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .container-wide.page-content-wrap,
  body.woocommerce-cart .container-wide.page-content-wrap,
  body.woocommerce-account .container-wide.page-content-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-main { min-height: 40vh; }
body.theme-no-hero .site-main { padding-top: var(--header-height-mobile); }
@media (min-width: 768px) { body.theme-no-hero .site-main { padding-top: var(--header-height); } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Shared per-section heading scale: text-4xl -> md:6xl -> lg:7xl */
.section-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.04em;
  font-size: 2.25rem;
}
@media (min-width: 768px)  { .section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 4.5rem; } }

.contact-cta .section-heading { font-size: 3rem; }
@media (min-width: 768px)  { .contact-cta .section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-cta .section-heading { font-size: 4.5rem; } }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 600; margin-bottom: 1rem;
}
.section-subtitle {
  margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  font-size: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.text-accent { color: var(--color-accent); }

/* Anchor scroll offset matching source scroll-mt-24 (6rem). */
#categories, #about, #manifesto, #wally, #services, #founder, #shop, #support, #contact {
  scroll-margin-top: 6rem;
}

.accent-text { color: var(--color-accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--btn-radius); padding: var(--btn-padding); min-height: var(--btn-height);
  font-family: var(--font-body); font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing);
  font-weight: var(--btn-font-weight); text-transform: var(--btn-text-transform);
  border: 1px solid transparent; transition: all 0.3s var(--transition-smooth); cursor: pointer;
}
.btn-hero-primary, .btn-primary {
  background: var(--color-accent); color: var(--color-accent-foreground);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-accent) 60%, transparent);
  text-transform: none;
}
.btn-hero-primary:hover, .btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-hero-outline, .btn-outline {
  background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  text-transform: none;
}
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); transform: translateY(-2px); }
.btn-outline:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); transform: translateY(-2px); }
.btn-outline-primary { border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.manifesto-ctas .btn-outline:hover,
.wally-ctas .btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn-dark { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }

/* ---------------------------------------------------------------------
   3. Animations
   --------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spinClockwise { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.shimmer-loading {
  background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-marigold));
  z-index: 100; pointer-events: none; transform: scaleX(0);
}

.reveal-item {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-fade { transform: none; }
.reveal-item.reveal-scale { transform: scale(0.94); }
.reveal-item.reveal-scale.is-visible { transform: scale(1); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

@keyframes loaderShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

/* Page loader (matches Lovable PageLoader.tsx) */
#theme-page-loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-background);
  opacity: 1; transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
  pointer-events: all;
}
#theme-page-loader.is-hidden { opacity: 0; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.loader-ring {
  width: 4rem; height: 4rem; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  animation: spinClockwise 6s linear infinite;
}
.loader-globe { width: 2rem; height: 2rem; color: var(--color-accent); }
.loader-bar { height: 2px; width: 11rem; overflow: hidden; border-radius: 9999px; background: var(--color-secondary); }
.loader-bar span {
  display: block; height: 100%; width: 50%;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
  animation: loaderShimmer 1.2s ease-in-out infinite;
}
.loader-label {
  font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--color-muted-foreground); font-weight: 600; font-family: var(--font-body);
}

/* Gold sheen sweep (hero primary CTA) */
.gold-sheen { position: relative; overflow: hidden; }
.gold-sheen::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-marigold) 32%, transparent) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--transition-smooth);
  pointer-events: none;
}
.gold-sheen:hover::after { transform: translateX(120%); }

/* ---------------------------------------------------------------------
   4. Header
   --------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
  height: var(--header-height-mobile);
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
@media (min-width: 768px) { .site-header { height: var(--header-height); } }

.site-header.is-solid {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.theme-nav-list { display: none; align-items: center; gap: 2rem; flex: 1; }
@media (min-width: 1024px) { .theme-nav-list { display: flex; } }
.theme-nav-list.nav-left { justify-content: flex-start; }
.theme-nav-list.nav-right { justify-content: flex-end; }

.theme-nav-list .menu-item a, .nav-link {
  font-size: 13px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  position: relative; transition: color 0.3s ease;
}
.theme-nav-list .menu-item a::after, .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--color-accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease;
}
.theme-nav-list .menu-item a:hover::after, .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.theme-nav-list .menu-item a:hover, .nav-link:hover { color: var(--color-accent); }
.site-header:not(.is-solid) .theme-nav-list .menu-item a,
.site-header:not(.is-solid) .nav-link {
  text-shadow: 0 1px 8px rgba(255,255,255,0.7);
}

.site-identity-inner { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-logo { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.3em; text-transform: uppercase; line-height: 1; transition: transform 0.5s ease; }
.site-logo:hover { transform: scale(1.06); }
.site-logo-wrap { display: inline-flex; align-items: center; height: var(--logo-height, 40px); flex-shrink: 0; }
.site-logo-img { height: 100% !important; width: auto !important; max-height: 100%; display: block; object-fit: contain; }
.site-logo-text { line-height: 1; display: block; }
.site-identity-inner .site-logo-text { font-size: 1.75rem; letter-spacing: 0.3em; }

.header-cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
  color: var(--color-foreground); background: transparent; transition: all 0.3s ease;
}
.header-cart-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 50%; background: var(--color-accent); color: var(--color-accent-foreground);
  font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: inline-flex; padding: 0.5rem; background: none; border: none; color: var(--color-foreground); }
@media (min-width: 1024px) { .mobile-menu-toggle, .mobile-header-row .header-cart-btn { display: none; } }
.mobile-header-row { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
@media (min-width: 1024px) { .mobile-header-row { display: none; } }
.desktop-header-row { display: none; }
@media (min-width: 1024px) { .desktop-header-row { display: flex; align-items: center; justify-content: space-between; height: 100%; } }
.desktop-logo { display: none; }
@media (min-width: 1024px) { .desktop-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; } }

.mobile-nav-panel {
  position: absolute; left: 0; right: 0; top: 100%; width: 100%; border-top: 1px solid var(--color-border);
  background: var(--color-background); box-shadow: var(--shadow-elevated);
  max-height: calc(100dvh - 72px); overflow-y: auto; display: none;
}
.mobile-nav-panel.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth) forwards; }
.mobile-nav-inner { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mobile-nav-list .theme-nav-list,
.mobile-nav-list .mobile-nav-items {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
}
.mobile-nav-panel .menu-item a,
.mobile-nav-panel .nav-link {
  display: block; width: 100%; text-align: left;
  padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  transition: color 0.3s ease;
}
.mobile-nav-panel .menu-item:last-child a,
.mobile-nav-panel .nav-link:last-child { border-bottom: none; }
.mobile-nav-panel .menu-item a:hover,
.mobile-nav-panel .nav-link:hover { color: var(--color-accent); }
.mobile-menu-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu-icon { display: inline-flex; }
.mobile-menu-icon--close { display: none; }
.mobile-menu-toggle.is-active .mobile-menu-icon--open { display: none; }
.mobile-menu-toggle.is-active .mobile-menu-icon--close { display: inline-flex; }

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero-section { position: relative; }
.hero-media-wrap { position: relative; width: 100%; height: 100svh; overflow: hidden; background: var(--color-foreground); }
@supports (height: 100dvh) { .hero-media-wrap { height: 100dvh; } }
.hero-media-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); transition: transform 18s ease-out; }
@media (min-width: 768px) { .hero-media-wrap img { object-position: center; } }
.hero-media-wrap.is-loaded img { transform: scale(1); }
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 92%, transparent), color-mix(in srgb, var(--color-background) 45%, transparent), transparent); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 25%, transparent), transparent, color-mix(in srgb, var(--color-background) 45%, transparent)); }

.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 7rem 0.5rem; }
@media (min-width: 768px) { .hero-content { align-items: flex-start; text-align: left; padding: 8rem 0; } }
.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 42rem; }
@media (min-width: 768px) { .hero-inner { align-items: flex-start; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.625rem; border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  background: color-mix(in srgb, var(--color-background) 50%, transparent); backdrop-filter: blur(4px);
  padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600;
  color: var(--color-foreground); margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-display); color: var(--color-foreground); line-height: 0.92; letter-spacing: 0.02em;
  font-size: clamp(3rem, 9vw, 7rem);
}
.hero-subtitle {
  margin-top: 1.75rem; max-width: 36rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  font-size: 1rem; line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; justify-content: center; } }
@media (min-width: 768px) { .hero-ctas { justify-content: flex-start; } }
.hero-badges { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.75rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 768px) { .hero-badges { justify-content: flex-start; } }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.icon-accent { color: var(--color-accent); }
.bounce-y { display: inline-block; animation: bounceY 1.6s ease-in-out infinite; }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ---------------------------------------------------------------------
   6. Marquee
   --------------------------------------------------------------------- */
.marquee-section { background: var(--color-primary); color: var(--color-primary-foreground); padding: 1rem 0; overflow: hidden; border-top: 1px solid var(--color-primary); border-bottom: 1px solid var(--color-primary); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; }
.marquee-item span { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.24em; }
@media (min-width: 768px) { .marquee-item span { font-size: 1.875rem; } }

/* ---------------------------------------------------------------------
   7. Categories
   --------------------------------------------------------------------- */
.categories-section { padding: 4rem 0; }
@media (min-width: 768px) { .categories-section { padding: 5rem 0; } }
.category-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .category-grid { flex-wrap: nowrap; gap: 1.5rem; } }
.category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; background: none; border: none; }
@media (min-width: 1024px) { .category-tile { flex: 1; min-width: 0; } }
.category-icon-wrap { width: 7rem; height: 7rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: all 0.5s ease; box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 30%, transparent); }
@media (min-width: 768px) { .category-icon-wrap { width: 9rem; height: 9rem; } }
.category-tile:hover .category-icon-wrap { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.category-icon-wrap svg { width: 3rem; height: 3rem; transition: transform 0.5s ease; }
.category-tile:hover .category-icon-wrap svg { transform: translateY(-4px); }
.category-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.4rem; }
.category-title { font-size: 1.5rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; }
@media (min-width: 768px) { .category-title { font-size: 1.875rem; } }
.tone-primary { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.tone-accent { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }
.tone-teal { background: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); }

/* ---------------------------------------------------------------------
   8. Product cards (shared everywhere — Section 31.13)
   --------------------------------------------------------------------- */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-featured-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 64rem; margin: 0 auto; }
.theme-featured-grid .theme-product-card-wrap { width: 100%; max-width: 24rem; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; transition: transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card-wrap:hover { transform: translateY(-3px); }
.theme-product-card {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-card); border-radius: 1rem; overflow: hidden;
  margin-bottom: 1.25rem; min-width: 0;
}
.theme-product-card-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.theme-product-card-media > .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card-media .theme-product-card-img { z-index: 1; }

.theme-product-card-img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); height: 100% !important; }
.theme-product-card-wrap:hover .theme-product-card-img { transform: scale(1.04); }
.theme-product-card.is-sold .theme-product-card-img { opacity: 0.6; }

.card-badge { position: absolute; top: 1rem; left: 1rem; z-index: 4; padding: 0.25rem 0.75rem; border-radius: 0.375rem; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; background: var(--color-marigold); color: var(--color-foreground); }
.card-badge-stock { position: absolute; top: 1rem; right: 1rem; z-index: 4; padding: 0.25rem 0.75rem; border-radius: 0.375rem; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card .theme-card-atc,
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .add_to_cart_button.button {
  position: absolute !important; left: 1rem; right: 1rem; bottom: 1rem; z-index: 5;
  padding: 0.75rem 1rem !important; border-radius: 9999px !important; background: var(--color-teal) !important;
  color: var(--color-background) !important; border: 1px solid var(--color-teal) !important;
  font-size: 11px !important; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all 0.3s ease; text-align: center; min-height: unset !important;
  pointer-events: auto; display: inline-flex !important; align-items: center; justify-content: center;
}
.theme-product-card-wrap:hover .theme-card-atc,
.theme-product-card-wrap:hover .add_to_cart_button.ajax_add_to_cart { opacity: 1; transform: translateY(0); }
.theme-product-card .theme-card-atc:hover,
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover { background: var(--color-background) !important; color: var(--color-teal) !important; }

.theme-product-card-info .product-title a { color: inherit; transition: color 0.3s ease; }
.theme-product-card-info .product-title a:hover { color: var(--color-primary); }

.theme-product-card-info { padding: 0 0.25rem; }
.theme-product-card-info .product-cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); margin: 0 0 0.35rem; }
.theme-product-card-info .product-title { font-size: 1rem; font-family: var(--font-display); font-weight: 500; line-height: 1.3; color: var(--color-foreground); margin: 0 0 0.35rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card-info .product-title { font-size: 1.125rem; } }
.theme-product-card-wrap:hover .theme-product-card-info .product-title { color: var(--color-primary); }
.theme-product-card-info .product-price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin: 0; }
.theme-product-card-info .product-price .muted { color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   9. About
   --------------------------------------------------------------------- */
.about-section { padding: 5rem 0; }
@media (min-width: 768px) { .about-section { padding: 7rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-media { position: relative; overflow: hidden; border-radius: 1rem; height: 100%; min-height: 22rem; }
.about-copy { display: flex; flex-direction: column; justify-content: flex-start; height: 100%; }
.about-copy .section-eyebrow { margin-bottom: 1rem; }
.about-copy .about-heading { margin-bottom: 1.5rem; }
.about-body { line-height: 1.7; margin: 0 0 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; }
.about-body-lg { font-size: 1.125rem; color: var(--color-foreground); }
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } .about-body-lg { font-size: 1.25rem; } }
.about-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.4rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 5%, transparent); transition: all 0.3s ease; }
.chip:hover { background: color-mix(in srgb, var(--color-accent) 15%, transparent); transform: translateY(-2px); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; max-width: 28rem; }
.about-stats > div,
.about-stat-cell { text-align: center; }
@media (min-width: 640px) { .about-stats > div, .about-stat-cell { text-align: left; } }
.about-stats .stat-value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--color-foreground); margin: 0; }
@media (min-width: 768px) { .about-stats .stat-value { font-size: 3rem; } }
.about-stats .stat-label { margin: 0.5rem 0 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   10. Sphere Drive (manifesto)
   --------------------------------------------------------------------- */
.manifesto-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .manifesto-section { padding: 7rem 0; } }
.manifesto-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .manifesto-grid { grid-template-columns: 0.85fr 1fr; gap: 5rem; } }
.manifesto-media { order: 1; position: relative; }
@media (min-width: 1024px) { .manifesto-media { order: 2; } }
.manifesto-media .reveal-image-wrap { border-radius: 2rem; box-shadow: var(--shadow-elevated); aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.manifesto-media .reveal-image-wrap img { transition: transform 1.2s ease; }
.manifesto-media:hover .reveal-image-wrap img { transform: scale(1.05); }
.manifesto-badge { position: absolute; bottom: -1.5rem; left: 1.5rem; border-radius: 1rem; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.manifesto-badge-icon { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); animation: spinClockwise 8s linear infinite; }
.manifesto-badge-title { display: block; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1; }
.manifesto-badge-subtitle { display: block; margin-top: 0.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.manifesto-copy { order: 2; }
@media (min-width: 1024px) { .manifesto-copy { order: 1; } }
.manifesto-quote { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); border-left: 4px solid var(--color-accent); padding-left: 1.25rem; margin: 0 0 2.25rem; line-height: 1.3; }
@media (min-width: 768px) { .manifesto-quote { font-size: 1.875rem; } }
.manifesto-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .manifesto-ctas { flex-direction: row; } }

/* ---------------------------------------------------------------------
   11. Wally
   --------------------------------------------------------------------- */
.wally-section { padding: 5rem 0; }
@media (min-width: 768px) { .wally-section { padding: 7rem 0; } }
.wally-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .wally-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.wally-media .reveal-image-wrap { border-radius: 2rem; box-shadow: var(--shadow-elevated); aspect-ratio: 7 / 5; overflow: hidden; position: relative; }
.wally-media .reveal-image-wrap img { transition: transform 1.2s ease; }
.wally-media:hover .reveal-image-wrap img { transform: scale(1.05); }
.wally-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .wally-ctas { flex-direction: row; } }

/* ---------------------------------------------------------------------
   12. Services
   --------------------------------------------------------------------- */
.services-section { padding: 5rem 0; position: relative; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-heading { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .services-heading { margin-bottom: 5rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.service-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--color-card);
  border: 1px solid var(--color-border); border-radius: 1rem; padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.service-card.service-tone-0:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.service-card.service-tone-1:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.service-card.service-tone-2:hover { border-color: color-mix(in srgb, var(--color-teal) 50%, transparent); }
.service-card.service-tone-3:hover { border-color: color-mix(in srgb, var(--color-nopal) 50%, transparent); }
.service-card.service-tone-4:hover { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.service-card.service-tone-5:hover { border-color: color-mix(in srgb, var(--color-rosa) 50%, transparent); }
.service-icon-wrap { margin-bottom: 1.5rem; display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 1rem; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(3deg); }
.service-card.service-tone-0:hover .service-tone-0-bg { background: var(--color-primary); color: var(--color-primary-foreground); }
.service-card.service-tone-1:hover .service-tone-1-bg { background: var(--color-accent); color: var(--color-accent-foreground); }
.service-card.service-tone-2:hover .service-tone-2-bg { background: var(--color-teal); color: var(--color-background); }
.service-card.service-tone-3:hover .service-tone-3-bg { background: var(--color-nopal); color: var(--color-background); }
.service-card.service-tone-4:hover .service-tone-4-bg { background: var(--color-marigold); color: var(--color-foreground); }
.service-card.service-tone-5:hover .service-tone-5-bg { background: var(--color-rosa); color: var(--color-background); }
.service-icon-wrap svg { height: 1.75rem; width: 1.75rem; }
.service-kicker { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.service-title { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 768px) { .service-title { font-size: 1.875rem; } }
.service-description { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; max-width: 17rem; margin-bottom: 2rem; flex-grow: 1; }
.service-cta { display: inline-flex; align-items: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-top: auto; background: none; border: none; transition: opacity 0.3s ease, color 0.3s ease; }
.service-cta:hover { opacity: 0.8; }
.service-cta svg { margin-left: 0.25rem; height: 1rem; width: 1rem; transition: transform 0.3s ease; }
.service-cta:hover svg { transform: translateX(4px); }
.service-tone-0 { color: var(--color-primary); } .service-tone-0-bg { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.service-tone-1 { color: var(--color-accent); } .service-tone-1-bg { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.service-tone-2 { color: var(--color-teal); } .service-tone-2-bg { background: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); }
.service-tone-3 { color: var(--color-nopal); } .service-tone-3-bg { background: color-mix(in srgb, var(--color-nopal) 10%, transparent); color: var(--color-nopal); }
.service-tone-4 { color: var(--color-marigold); } .service-tone-4-bg { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); color: var(--color-marigold); }
.service-tone-5 { color: var(--color-rosa); } .service-tone-5-bg { background: color-mix(in srgb, var(--color-rosa) 15%, transparent); color: var(--color-rosa); }

/* ---------------------------------------------------------------------
   13. Founder
   --------------------------------------------------------------------- */
.founder-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .founder-section { padding: 7rem 0; } }
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 0.8fr 1fr; gap: 4rem; } }
.founder-media .reveal-image-wrap { border-radius: 2rem; box-shadow: var(--shadow-elevated); aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.founder-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.founder-mail-btn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.5rem 1.5rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); background: transparent; transition: all 0.3s ease; }
.founder-mail-btn:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   14. Shop section
   --------------------------------------------------------------------- */
.shop-section { background: var(--color-secondary); padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-heading-wrap { text-align: center; margin-bottom: 3rem; }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-wrap svg.search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-muted-foreground); }
.shop-search-input {
  width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
  border-radius: 0; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.shop-search-input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.shop-search-input::placeholder { color: var(--color-muted-foreground); }

.shop-category-pills { display: flex; overflow-x: auto; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.25rem; justify-content: flex-start; }
@media (min-width: 768px) { .shop-category-pills { overflow-x: visible; flex-wrap: wrap; justify-content: center; } }
.shop-category-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  border-radius: 9999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
  transition: all 0.3s ease;
}
.cat-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cat-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.price-filter-toggle { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.price-filter-toggle-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); background: none; border: none; }
.price-filter-toggle-btn:hover { color: var(--color-foreground); }
.price-filter-toggle-btn svg { transition: transform 0.3s ease; }
.price-filter-toggle-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.price-filter-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease; }
.price-filter-panel.is-open { max-height: 12rem; opacity: 1; }
.price-filter-inner { padding: 0.5rem 0 0.5rem; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.75rem; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-accent); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-background); box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-background); box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-note { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.shop-show-more { text-align: center; margin-top: 3rem; }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.theme-product-card-wrap.is-hidden-filter { display: none !important; }
.theme-product-card-wrap.is-hidden-more { display: none !important; }

/* ---------------------------------------------------------------------
   15. FAQ
   --------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-heading-wrap { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.faq-tabs { display: none; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; justify-content: center; }
@media (min-width: 768px) { .faq-tabs { display: flex; } }
.faq-tab {
  flex-shrink: 0; border-radius: 9999px; border: 1px solid; padding: 0.65rem 1.25rem; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; background: transparent; color: var(--color-foreground);
  transition: all 0.3s ease;
}
.faq-tab:hover { transform: translateY(-2px); }
.faq-tab.is-active { color: var(--color-background); }
.faq-tab.is-active[data-faq-color="marigold"],
.faq-tab.is-active[data-faq-color="lilac"] { color: var(--color-foreground); }
.faq-panel { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-panel.is-active { display: block; }
@media (min-width: 768px) { .faq-panel-mobile { display: none; } }
.faq-mobile-list { display: block; }
@media (min-width: 768px) { .faq-mobile-list { display: none; } }
.faq-mobile-group { margin-bottom: 2.5rem; text-align: center; }
.faq-mobile-cat-title { display: inline-block; border-radius: 9999px; border: 1px solid; padding: 0.65rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }

.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; background: none; border: none; text-align: center; }
@media (min-width: 768px) { .faq-item-btn { padding: 1.5rem 0; } }
.faq-item-q { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; flex: 1; line-height: 1.3; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item-q { font-size: 1.5rem; } }
.faq-item-btn:hover .faq-item-q { color: var(--color-accent); }
.faq-item-icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.faq-item-icon svg { width: 1rem; height: 1rem; transition: transform 0.3s ease; }
.faq-item.is-open .faq-item-icon svg { transform: rotate(180deg); }
.faq-item-answer { overflow: hidden; max-height: 0; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease; opacity: 0; }
.faq-item.is-open .faq-item-answer { max-height: 30rem; opacity: 1; }
.faq-item-answer p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; max-width: 48rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .faq-item-answer p { font-size: 17px; } }

/* ---------------------------------------------------------------------
   16. Contact CTA
   --------------------------------------------------------------------- */
.contact-cta { position: relative; overflow: hidden; }
.contact-cta-inner { position: relative; min-height: 85vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; }
.contact-cta-media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.contact-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 65%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent), color-mix(in srgb, var(--color-foreground) 75%, transparent)); }
.contact-cta-card {
  position: relative; z-index: 10; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 92%, transparent) 55%, color-mix(in srgb, var(--color-accent) 28%, transparent) 100%);
}
.contact-cta-content { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .contact-cta-content { padding: 5rem 4rem; } }
.contact-cta-body { font-size: 1rem; line-height: 1.7; max-width: 36rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .contact-cta-body { font-size: 1.125rem; } }
.contact-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .contact-cta-actions { flex-direction: row; } }
.pill-btn { display: inline-flex; align-items: center; gap: 0.65rem; border-radius: 9999px; padding: 0.9rem 1.75rem; font-size: 14px; font-weight: 600; transition: all 0.3s ease; }
.pill-btn-dark { background: var(--color-primary); color: var(--color-primary-foreground); }
.pill-btn-dark:hover { opacity: 0.9; transform: translateY(-2px); }
.pill-btn-light { background: color-mix(in srgb, var(--color-background) 70%, transparent); color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); font-weight: 500; }
.pill-btn-light:hover { background: var(--color-background); }
.contact-cta-notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------------------------------------------
   17. Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .footer-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-top { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.3em; text-transform: uppercase; line-height: 1; transition: transform 0.5s ease; flex-shrink: 0; }
@media (min-width: 768px) { .footer-logo { font-size: 2.25rem; } }
.footer-logo:hover { transform: scale(1.05); }
.footer-brand-block { max-width: 36rem; }
@media (min-width: 640px) { .footer-brand-block { text-align: right; } }
.footer-tagline { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.16em; line-height: 1.2; }
@media (min-width: 768px) { .footer-tagline { font-size: 1.875rem; } }
.footer-desc { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
@media (min-width: 768px) { .footer-desc { font-size: 1rem; } }
.footer-contact-line { margin-top: 0.5rem; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.footer-contact-line a { display: inline-flex; align-items: center; gap: 0.5rem; color: inherit; transition: color 0.3s ease; }
.footer-contact-line a:hover { color: var(--color-accent); }
.footer-contact-line svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
@media (min-width: 640px) { .footer-brand-block .footer-contact-line { justify-content: flex-end; display: flex; width: 100%; } }

.footer-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .footer-columns { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-col-title { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 1.25rem; }
.footer-col-title svg { color: var(--color-accent); width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a, .footer-links button {
  font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: none; border: none; text-align: left;
  transition: all 0.3s ease;
}
.footer-links a:hover, .footer-links button:hover { color: var(--color-accent); transform: translateX(4px); }

.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }
.footer-bottom-tagline { font-size: 13px; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; }
.footer-credit { font-size: 12px; color: var(--color-muted-foreground); }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------
   18. Contact Modal
   --------------------------------------------------------------------- */
.contact-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: none; opacity: 0; transition: opacity 0.3s ease; }
.contact-modal-overlay.is-open { display: block; opacity: 1; }
.contact-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%); width: calc(100% - 2rem); max-width: 32rem;
  max-height: 90vh; overflow-y: auto; background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated);
  z-index: 201; padding: 1.75rem; display: none; opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease;
}
.contact-modal.is-open { display: block; opacity: 1; transform: translate(-50%, -50%); }
.contact-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--color-muted-foreground); padding: 0.4rem; }
.contact-modal-close:hover { color: var(--color-foreground); }
.contact-modal-title { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.5rem; }
.contact-modal-subtitle { color: var(--color-muted-foreground); font-size: 15px; margin-bottom: 1.25rem; }
.contact-modal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.contact-modal-links a { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-modal-links a:hover { color: var(--color-accent); }
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.4rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.375rem;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); transition: box-shadow 0.3s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.form-field textarea { resize: none; }
.contact-modal-success { text-align: center; padding: 2rem 0; }
.contact-modal-success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-modal-success-icon svg { color: var(--color-primary-foreground); width: 1.75rem; height: 1.75rem; }
.form-submit-row { display: flex; justify-content: flex-end; }
.form-status { margin-top: 0.75rem; font-size: 13px; }
.form-status.is-error { color: #c52020; }

/* =====================================================================
   19. WooCommerce
   ===================================================================== */

/* --- Add to cart button style 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-primary-foreground) !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;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.9 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !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;
}

/* Card compact button overrides global rules (Section 11.4.1) */
.theme-product-card .theme-card-atc,
.theme-product-card .add_to_cart_button.ajax_add_to_cart { width: auto; }

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !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; }

/* Notices — scoped 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, .woocommerce-error {
  border-radius: 0.5rem; border-top: none; background: var(--color-secondary); color: var(--color-foreground);
  font-family: var(--font-body); padding: 1rem 1.5rem; box-shadow: none;
}
.woocommerce-error { background: color-mix(in srgb, #c52020 10%, var(--color-background)); }

/* --- Single product page --- */
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; padding: 1rem 0 6rem; align-items: start; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .single-product .theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.single-product .back-to-shop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); padding: 1rem 0; }
.single-product .back-to-shop:hover { color: var(--color-foreground); }
.single-product .product-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .product-breadcrumb a { color: inherit; transition: color 0.2s ease; }
.single-product .product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product .product-breadcrumb .breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product .product-breadcrumb .breadcrumb-current { color: var(--color-foreground); }
.single-product .theme-product-gallery .gallery-main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; border-radius: 0; }
.single-product .theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; flex-wrap: wrap; max-width: 100%; }
.single-product .theme-product-thumbnails button { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; padding: 0; border-radius: 0.375rem; }
.single-product .theme-product-thumbnails button.is-active { border-color: var(--color-foreground); }
.single-product .theme-product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.single-product .product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 1024px) { .single-product .product-title { font-size: 2.75rem; } }
.single-product .product-price-row { font-size: 1.25rem; margin-bottom: 1.5rem; }
.single-product .product-description-lead { color: var(--color-muted-foreground); line-height: 1.7; margin: 0 0 2rem; font-size: 1rem; }
.single-product .product-price-row .price ins { text-decoration: none; }
.single-product .stock-status { display: inline-block; margin-bottom: 1rem; font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; padding: 0.3rem 0.9rem; border-radius: 9999px; background: var(--color-primary); color: var(--color-primary-foreground); }
.single-product .stock-status.in-stock { display: none; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.single-product .theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 0.375rem; }
.single-product .theme-qty-minus, .single-product .theme-qty-plus { padding: 0.6rem 0.9rem; background: none; border: none; }
.single-product .theme-qty-minus:hover, .single-product .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product .theme-qty-input { width: 3.5rem; border: none; background: transparent; text-align: center; font-family: var(--font-body); -moz-appearance: textfield; }
.single-product .theme-qty-input::-webkit-outer-spin-button, .single-product .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-quantity-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 0.75rem; }
.single-product .theme-add-to-cart-area .theme-quantity-wrapper { align-self: flex-start; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; }

.single-product .product-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.single-product .accordion-item { border-bottom: 1px solid var(--color-border); }
.single-product .accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; }
.single-product .accordion-trigger svg { transition: transform 0.3s ease; flex-shrink: 0; }
.single-product .accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.single-product .accordion-panel { display: none; padding-bottom: 1.5rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.single-product .accordion-item.is-open .accordion-panel { display: block; }
.single-product .product-features-lead { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; margin: 0 0 1rem; white-space: pre-line; }
.single-product .product-features-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.single-product .product-features-list li { display: flex; align-items: flex-start; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.single-product .product-features-list li::before { content: ''; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--color-foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.single-product .accordion-panel ul:not(.product-features-list) { margin-top: 1rem; }
.single-product .accordion-panel li:not(.product-features-list li) { display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.single-product .accordion-panel li:not(.product-features-list li)::before { content: ''; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--color-foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.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; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select { padding: 0.6rem; border: 1px solid var(--color-border); border-radius: 0.375rem; font-family: var(--font-body); }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; border: 1px solid var(--color-border); border-radius: 9999px; background: transparent; transition: all 0.2s ease; font-family: var(--font-body); cursor: pointer; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-heading .related-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin: 0 0 0.5rem; }
.related-products-heading h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; margin: 0; }
@media (min-width: 768px) { .related-products-heading h2 { font-size: 2.25rem; } }
.related-products-section .theme-product-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0 0.25rem;
}
.related-products-section .theme-product-card-info .product-cat {
  font-size: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-foreground);
  margin: 0;
}
.related-products-section .theme-product-card-info .product-title {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.375;
  color: var(--color-foreground);
  margin: 0;
}
@media (min-width: 768px) {
  .related-products-section .theme-product-card-info .product-title { font-size: 1.125rem; }
}
.related-products-section .theme-product-card-info .product-price {
  font-size: 1rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  margin: 0;
}
.related-products-section .theme-product-card-info .product-price .muted { color: var(--color-muted-foreground); }
.related-products-section .theme-product-card-wrap:hover .theme-product-card-info .product-title { color: var(--color-primary); }

.featured-grid-empty {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  padding: 1.5rem 1rem;
}

/* --- Archive / shop --- */
.woocommerce-products-section { padding: 4rem 0; }
.woocommerce-no-products { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* --- Side cart drawer --- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 26rem; background: var(--color-background); z-index: 151;
  box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { background: none; border: none; padding: 0.25rem; color: var(--color-foreground); }
.theme-cart-close:hover { opacity: 0.6; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-img { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.375rem; display: block; }
.theme-cart-item-img img, .theme-cart-item-thumb-img { width: 100% !important; height: 100% !important; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-meta { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.1rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item-controls button { padding: 0.25rem; background: none; border: none; }
.theme-cart-item-controls button:hover { background: var(--color-secondary); border-radius: 0.25rem; }
.theme-cart-item-qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); background: none; border: none; }
.theme-cart-item-remove:hover { color: var(--color-foreground); }
.theme-cart-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 0.75rem; }
.theme-cart-shipping-note { font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-checkout-btn { display: flex; width: 100%; align-items: center; justify-content: center; }
.theme-cart-empty-btn { width: 100%; margin-top: 0.75rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.65rem; border: 1px solid var(--color-border); border-radius: 9999px; background: transparent; font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; }
.theme-cart-empty-btn:hover { background: var(--color-secondary); }

/* --- Checkout (native Checkout Block) --- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height-mobile) + 1rem); padding-bottom: 4rem; }
@media (min-width: 768px) {
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart .site-main,
  body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1.5rem); }
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

.page-title { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-checkout { display: block; }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--color-foreground) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  background-color: var(--color-background) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout ::placeholder { color: var(--color-muted-foreground) !important; opacity: 1 !important; }
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  background-color: var(--color-background) !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: 1rem;
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; font-family: var(--font-body); }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }

/* --- Thank you page --- */
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 { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border: none; padding: 0; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* ---------------------------------------------------------------------
   20. Responsive utility: mobile-only visibility
   --------------------------------------------------------------------- */
@media (max-width: 767px) { .desktop-only { display: none !important; } }
@media (min-width: 768px) { .desktop-only { display: block; } }
@media (min-width: 768px) { .mobile-only { display: none !important; } }
