/*
 * YHWH Natural Soap — theme stylesheet.
 * Color tokens (--color-*) are injected inline by PHP from the Customizer
 * (see inc/enqueue.php). Non-color design tokens live here.
 */

:root {
  --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-body: 'Jost', 'Inter', 'Helvetica Neue', sans-serif;

  --shadow-soft: 0 6px 24px -8px rgba(0,0,0,0.18);
  --shadow-elevated: 0 14px 40px -12px rgba(0,0,0,0.32);
  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  --radius: 0.25rem;
  --header-height: 80px;

  --btn-radius: 999px;
  --btn-height: 3.5rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;
  --color-button-text: var(--color-foreground);
  --checkout-gap: 1.5rem;
}

/* -------------------------------------------------------------------- */
/* RESET / BASE                                                          */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* clip (not hidden) — overflow-x:hidden makes overflow-y compute to auto and breaks position:sticky */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Match design 14px minimum floor for compact UI text (footer keeps its own scale) */
.shop-item-count,
.theme-product-card__meta,
.theme-product-card__badge,
.search-dialog__results .search-result-meta {
  font-size: max(0.875rem, 14px);
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-video):not(.theme-product-card__image):not(.site-logo-img):not(.banner-divider__img):not(.theme-product-main-image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .theme-product-card__image, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }
.container-editorial { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-editorial { padding: 0 2.5rem; } }

.scroll-mt { scroll-margin-top: 8rem; }

.label-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.section-heading {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-foreground);
  line-height: 1.1;
}

/* -------------------------------------------------------------------- */
/* ANIMATIONS                                                            */
/* -------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marqueeSlow { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.animate-fade-in { animation: fadeIn 0.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.8s var(--transition-smooth) forwards; }

.reveal-item { opacity: 0; transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth); }
.reveal-item[data-reveal="fade"] { transform: translateY(24px); }
.reveal-item[data-reveal="scale"] { transform: translateY(20px) scale(0.98); }
.reveal-item.is-visible { opacity: 1; transform: none; }

body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------- */
/* BUTTONS                                                               */
/* -------------------------------------------------------------------- */
.btn-hero-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 3rem;
  padding: 0 1.5rem 0 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  transition: color 0.5s;
}
.btn-hero-outline__fill { position: absolute; inset: 0; background: #fff; transform: translateX(-101%); transition: transform 0.5s var(--transition-smooth); }
.btn-hero-outline:hover .btn-hero-outline__fill { transform: translateX(0); }
.btn-hero-outline__label, .btn-hero-outline__icon { position: relative; z-index: 1; transition: color 0.5s, transform 0.5s; }
.btn-hero-outline__icon { transform: translateX(-4px); }
.btn-hero-outline:hover .btn-hero-outline__label,
.btn-hero-outline:hover .btn-hero-outline__icon { color: var(--color-foreground); }
.btn-hero-outline:hover .btn-hero-outline__icon { transform: translateX(4px); }

.btn-fill-up {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--color-foreground);
  color: var(--color-background);
  border-radius: 0;
  transition: color 0.3s;
}
.btn-fill-up__fill { position: absolute; inset: 0; background: var(--color-primary); transform: translateY(100%); transition: transform 0.5s var(--transition-smooth); }
.btn-fill-up:hover .btn-fill-up__fill { transform: translateY(0); }
.btn-fill-up__label { position: relative; z-index: 1; }
.btn-fill-up:hover { color: var(--color-button-text); }
a.btn-fill-up,
a.btn-pill,
a.theme-product-card { text-decoration: none; color: inherit; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
  transition: background-color 0.3s, color 0.3s;
}
.btn-pill--dark { background: var(--color-foreground); color: var(--color-background); }
.btn-pill--dark:hover { background: var(--color-primary); color: var(--color-button-text); }
.btn-pill svg { transition: transform 0.3s; }
.btn-pill:hover svg { transform: translateX(4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  transition: background-color 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 100%;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--color-foreground);
  color: var(--color-background);
  transition: opacity 0.3s;
}
.btn-fill:hover { opacity: 0.85; }

/* -------------------------------------------------------------------- */
/* HEADER                                                                */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
/* Keep sticky header below the WordPress admin bar (preview + logged-in front end) */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .site-header__bar { height: 4.5rem; padding: 0 3rem; } }
@media (min-width: 1024px) { .site-header__bar { padding: 0 2.5rem; } }

.site-header__left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
@media (min-width: 1024px) { .site-header__left { margin-left: 9rem; } }
@media (min-width: 1280px) { .site-header__left { margin-left: 11rem; } }

.mobile-menu-toggle { display: inline-flex; padding: 0.5rem; margin-left: -0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.site-logo-link { display: flex; align-items: center; flex-shrink: 0; }
img.site-logo-img {
  height: var(--logo-height, 32px);
  max-height: var(--logo-height, 32px);
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}
.site-logo-text { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; font-size: 1.25rem; }

.site-nav-desktop { display: none; flex: 1; justify-content: center; min-width: 0; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 1.5rem; } }
@media (min-width: 1280px) { .site-nav-desktop { gap: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-link {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-foreground);
  white-space: nowrap;
  padding: 0.5rem 0;
  transition: color 0.3s;
  display: inline-block;
}
.theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__right { display: flex; align-items: center; gap: 0.125rem; flex-shrink: 0; }
@media (min-width: 1024px) { .site-header__right { margin-right: 9rem; } }
@media (min-width: 1280px) { .site-header__right { margin-right: 11rem; } }
.header-search-btn { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 640px) { .header-search-btn { display: inline-flex; } }
.header-search-btn:hover { color: var(--color-primary); }
.header-search-btn:hover svg { transform: rotate(8deg) scale(1.1); }
.header-search-btn svg { transition: transform 0.5s var(--transition-smooth); }

.header-cart-btn { position: relative; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground); transition: color 0.3s; }
.header-cart-btn:hover { color: var(--color-primary); }
.header-cart-btn .theme-cart-count {
  position: absolute; top: 0.25rem; right: 0.25rem;
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 500;
  background: var(--color-primary); color: var(--color-button-text);
  border-radius: 999px;
}
.header-cart-btn .theme-cart-count:empty { display: none; }

/* Mobile nav sheet */
.mobile-nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}
.admin-bar .mobile-nav-sheet { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .mobile-nav-sheet { top: 46px; }
}
.mobile-nav-sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}
body.mobile-menu-open .mobile-nav-sheet {
  visibility: visible;
  pointer-events: auto;
}
body.mobile-menu-open .mobile-nav-sheet::before { opacity: 1; }
body.mobile-menu-open { overflow: hidden; }
.mobile-nav-sheet__panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 88vw;
  max-width: 24rem;
  background: var(--color-background);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transform: translate3d(-104%, 0, 0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 12px 0 40px -20px rgba(0, 0, 0, 0.35);
  will-change: transform;
}
body.mobile-menu-open .mobile-nav-sheet__panel { transform: translate3d(0, 0, 0); }
.mobile-nav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 4rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.08s, transform 0.35s ease 0.08s;
}
body.mobile-menu-open .mobile-nav-sheet__head {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-sheet__close {
  display: inline-flex;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: transform 0.35s var(--transition-smooth), color 0.3s;
}
.mobile-nav-sheet__close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}
.mobile-nav-sheet__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.mobile-nav-sheet__nav .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-nav-sheet__nav .theme-nav-link {
  padding: 1rem 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.28em;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  opacity: 0;
  transform: translateX(-18px);
  transition:
    color 0.3s,
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s;
}
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(1) .theme-nav-link { transition-delay: 0.12s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(2) .theme-nav-link { transition-delay: 0.18s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(3) .theme-nav-link { transition-delay: 0.24s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(4) .theme-nav-link { transition-delay: 0.3s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(5) .theme-nav-link { transition-delay: 0.36s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-list > li:nth-child(n+6) .theme-nav-link { transition-delay: 0.4s; }
body.mobile-menu-open .mobile-nav-sheet__nav .theme-nav-link {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav-sheet__nav .theme-nav-link:hover {
  background: color-mix(in srgb, var(--color-secondary) 55%, transparent);
}
.mobile-nav-sheet__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.28s, transform 0.4s ease 0.28s;
}
.mobile-nav-sheet__footer:has(.mobile-nav-sheet__btn:only-child) {
  grid-template-columns: 1fr;
}
body.mobile-menu-open .mobile-nav-sheet__footer {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-sheet__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: transform 0.3s var(--transition-smooth), background 0.3s, color 0.3s;
}
.mobile-nav-sheet__btn:hover { transform: translateY(-2px); }
.mobile-nav-sheet__btn--primary { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-sheet::before,
  .mobile-nav-sheet__panel,
  .mobile-nav-sheet__head,
  .mobile-nav-sheet__nav .theme-nav-link,
  .mobile-nav-sheet__footer,
  .mobile-nav-sheet__close {
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
}

/* Search dialog */
.search-dialog { position: fixed; inset: 0; z-index: 80; visibility: hidden; opacity: 0; transition: opacity 0.3s; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
body.search-open .search-dialog { visibility: visible; opacity: 1; }
.search-dialog__inner { max-width: 40rem; margin: 6rem auto 0; padding: 0 1.5rem; }
.search-dialog__close { display: flex; margin: 0 0 1rem auto; color: #fff; }
.search-dialog__box { display: flex; align-items: center; gap: 0.75rem; background: var(--color-background); border-radius: 999px; padding: 0.5rem 1.25rem; }
.search-dialog__input { flex: 1; border: none; background: transparent; outline: none; font-size: 1rem; padding: 0.5rem 0; }
.search-dialog__results { margin-top: 1rem; background: var(--color-background); border-radius: 1rem; overflow: hidden; }
.search-dialog__results:empty { display: none; }
.search-result-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; }
.search-result-item:hover { background: var(--color-secondary); }
.search-result-item img { width: 2.5rem; height: 2.5rem; object-fit: cover; border-radius: 0.5rem; }

/* -------------------------------------------------------------------- */
/* HERO                                                                  */
/* -------------------------------------------------------------------- */
.home-main { background: var(--color-background); }
.hero-section { position: relative; width: 100%; }
.hero-media {
  position: relative;
  width: 100%;
  height: calc(100svh - 4.5rem);
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  background: var(--color-secondary);
}
@media (max-width: 767px) { .hero-media { height: calc(100svh - 4rem); } }
.hero-video { object-position: center; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.6), rgba(0,0,0,0.65)); }
.hero-content-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-content { width: 100%; padding: 0 1.5rem; max-width: 42rem; text-align: center; }
.hero-eyebrow { display: block; font-size: 0.875rem; letter-spacing: 0.36em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
@media (min-width: 768px) { .hero-eyebrow { font-size: 1rem; } }
.hero-title {
  font-style: italic;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto; margin-right: auto;
  font-size: 2.25rem;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.35));
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { font-size: 0.875rem; color: rgba(255,255,255,0.85); max-width: 28rem; margin: 0 auto 2rem; line-height: 1.6; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1rem; } }

/* -------------------------------------------------------------------- */
/* SHOP SECTION                                                         */
/* -------------------------------------------------------------------- */
.shop-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--color-background) 0%, color-mix(in srgb, var(--color-secondary) 55%, transparent) 45%, var(--color-background) 100%);
}
@media (min-width: 1024px) { .shop-section { padding: 5rem 0; } }
.shop-heading { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-heading { margin-bottom: 3.5rem; } }
.shop-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section__heading { font-size: 3.75rem; } }

.shop-controls { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.shop-search-wrap { position: relative; width: 100%; max-width: 28rem; }
.shop-search-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-search-input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.5rem;
  border-radius: 999px; border: 1px solid var(--color-border);
  background: var(--color-background); font-size: 0.875rem;
}
.shop-search-input:focus { outline: none; border-color: var(--color-foreground); }
.shop-item-count { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.shop-cat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.shop-cat-chip {
  position: relative; overflow: hidden;
  padding: 0 1.25rem; height: 2.25rem;
  display: inline-flex; align-items: center;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--color-background); color: var(--color-foreground);
  transition: all 0.4s var(--transition-smooth);
}
.shop-cat-chip:hover { border-color: var(--color-foreground); transform: translateY(-2px); }
.shop-cat-chip:active { transform: scale(0.95); }
.shop-cat-chip.is-active {
  background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground);
  transform: scale(1.04);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--color-foreground) 45%, transparent);
}

.shop-empty-state { text-align: center; padding: 4rem 0; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.theme-product-grid {
  display: grid;
  gap: 1.5rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-items: center;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; row-gap: 3rem; } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; width: 100%; max-width: 24rem; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; width: 100%; text-align: left; }
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  overflow: hidden;
  border-radius: 1rem;
  transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -20px color-mix(in srgb, var(--color-foreground) 35%, transparent);
}
.theme-product-card__image--front { padding: 0.75rem; object-fit: contain; background-color: transparent; transition: opacity 0.4s ease-out; }
.theme-product-card__image--hover { opacity: 0; transition: opacity 0.4s ease-out; object-fit: cover; }
@media (hover: hover) {
  .theme-product-card.has-hover-image:hover .theme-product-card__image--front,
  .theme-product-card:has(.theme-product-card__image--hover):hover .theme-product-card__image--front { opacity: 0; }
  .theme-product-card.has-hover-image:hover .theme-product-card__image--hover,
  .theme-product-card:has(.theme-product-card__image--hover):hover .theme-product-card__image--hover { opacity: 1; }
}
.theme-product-card__image--front.is-soldout { opacity: 0.6; }
.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
}
.theme-product-card--custom .theme-product-card__badge { background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__badge--stock { background: var(--color-foreground); color: var(--color-background); }

.theme-product-card__info { flex: 1; padding-top: 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); transition: color 0.3s; font-weight: 500; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__meta { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-product-card__meta--nowrap { white-space: nowrap; }
.theme-product-card__price { font-size: 0.875rem; color: var(--color-foreground); margin-top: 0.25rem; }
.theme-product-card__price .woocommerce-Price-amount { font-size: inherit; color: inherit; }
.theme-product-card__cta {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.75rem;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: var(--color-foreground);
  border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 60%, transparent);
  padding-bottom: 0.125rem;
}
.theme-product-card--custom:hover .theme-product-card__cta { border-color: var(--color-foreground); }

/* -------------------------------------------------------------------- */
/* BRAND SECTION                                                         */
/* -------------------------------------------------------------------- */
.brand-section {
  padding: 5rem 0;
  background: linear-gradient(155deg, color-mix(in srgb, var(--color-secondary) 65%, transparent) 0%, var(--color-background) 50%, color-mix(in srgb, var(--color-primary) 14%, transparent) 100%);
}
@media (min-width: 1024px) { .brand-section { padding: 7rem 0; } }
.brand-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.brand-image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.brand-image { transition: transform 1.2s ease-out; }
.brand-image:hover { transform: scale(1.03); }
.brand-section__heading { font-size: 2.25rem; margin: 1rem 0 1.5rem; }
@media (min-width: 768px) { .brand-section__heading { font-size: 3rem; } }
.brand-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0 0 1rem; }
.brand-paragraph:last-of-type { margin-bottom: 2rem; }

/* -------------------------------------------------------------------- */
/* MARQUEE                                                               */
/* -------------------------------------------------------------------- */
.marquee-section { padding: 0.75rem 0; overflow: hidden; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-background); }
@media (min-width: 768px) { .marquee-section { padding: 1rem 0; } }
.marquee-track { display: flex; align-items: center; white-space: nowrap; animation: marqueeSlow 60s linear infinite; will-change: transform; width: max-content; }
@media (hover: hover) { .marquee-track:hover { animation-play-state: paused; } }
.marquee-content { display: flex; align-items: center; gap: 0.75rem; padding: 0 1rem; }
@media (min-width: 768px) { .marquee-content { gap: 1.25rem; padding: 0 1.5rem; } }
.marquee-word { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); user-select: none; display: inline-flex; align-items: center; }
@media (min-width: 768px) { .marquee-word { font-size: 1.125rem; } }
.marquee-dot { display: inline-block; margin: 0 0.75rem; width: 0.25rem; height: 0.25rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); }
@media (min-width: 768px) { .marquee-dot { margin: 0 1.25rem; } }

/* -------------------------------------------------------------------- */
/* TESTIMONIALS                                                          */
/* -------------------------------------------------------------------- */
.testimonials-section { padding: 5rem 0; background: linear-gradient(195deg, var(--color-background) 0%, color-mix(in srgb, var(--color-accent) 10%, transparent) 55%, color-mix(in srgb, var(--color-secondary) 45%, transparent) 100%); overflow: hidden; }
@media (min-width: 1024px) { .testimonials-section { padding: 7rem 0; } }
.testimonials-heading { text-align: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .testimonials-heading { margin-bottom: 4rem; } }
.testimonials-section__heading { font-size: 2.25rem; margin-top: 0.75rem; font-style: italic; line-height: 1.15; }
@media (min-width: 768px) { .testimonials-section__heading { font-size: 3rem; } }

.testimonials-mask { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent); mask-image: linear-gradient(to right, transparent, black 48px, black calc(100% - 48px), transparent); }
@media (min-width: 768px) { .testimonials-mask { -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent); mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent); } }
.testimonial-track { display: flex; flex-wrap: nowrap; gap: 1.5rem; padding: 1rem 0; animation: marqueeScroll 35s linear infinite; will-change: transform; width: max-content; }
@media (min-width: 1024px) { .testimonial-track { gap: 2rem; } }
@media (hover: hover) { .testimonial-track:hover { animation-play-state: paused; } }
.testimonial-track:has(.testimonial-card:hover) .testimonial-card:not(:hover) { filter: blur(2px); opacity: 0.55; transform: scale(0.97); transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease; }

.testimonial-card {
  position: relative;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex; flex-direction: column;
  flex-shrink: 0;
  border-radius: 0.125rem;
  min-width: 300px;
  max-width: 380px;
  box-shadow: 0 2px 8px -4px color-mix(in srgb, var(--color-foreground) 8%, transparent);
  transition: all 0.5s ease-out;
}
@media (min-width: 768px) { .testimonial-card { min-width: 360px; padding: 2.5rem; } }
@media (min-width: 1024px) { .testimonial-card { min-width: 380px; } }
.testimonial-card:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 28px 55px -25px color-mix(in srgb, var(--color-foreground) 35%, transparent); }
.testimonial-quote-mark { position: absolute; top: 0.75rem; left: 1.25rem; font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: color-mix(in srgb, var(--color-primary) 25%, transparent); user-select: none; transition: all 0.5s ease-out; }
.testimonial-card:hover .testimonial-quote-mark { color: color-mix(in srgb, var(--color-primary) 70%, transparent); transform: scale(1.1); }
.testimonial-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; margin: 0.5rem 0 1.5rem; position: relative; }
@media (min-width: 768px) { .testimonial-quote { font-size: 1.5rem; } }
.testimonial-name { font-size: 0.875rem; margin: 0; }
.testimonial-place { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0.25rem 0 0; }
.testimonial-card figcaption { margin-top: auto; }

/* -------------------------------------------------------------------- */
/* BANNER DIVIDER                                                        */
/* -------------------------------------------------------------------- */
.banner-divider { position: relative; width: 100%; height: 14rem; overflow: hidden; background: var(--color-foreground); line-height: 0; }
@media (min-width: 768px) { .banner-divider { height: 20rem; } }
@media (min-width: 1024px) { .banner-divider { height: 28rem; } }
.banner-divider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.banner-divider__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.4); pointer-events: none; }
.banner-divider__text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-style: italic; color: #fff;
  font-size: 1.875rem; letter-spacing: 0.02em;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
  white-space: nowrap; padding: 0 1rem;
}
@media (min-width: 768px) { .banner-divider__text { font-size: 2.8125rem; } }
@media (min-width: 1024px) { .banner-divider__text { font-size: 3.25rem; } }

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; border-top: 1px solid var(--color-border); background: linear-gradient(180deg, var(--color-background) 0%, color-mix(in srgb, var(--color-highlight) 9%, transparent) 60%, color-mix(in srgb, var(--color-secondary) 40%, transparent) 100%); }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.faq-intro { display: flex; flex-direction: column; height: 100%; }
.faq-section__heading { font-size: 2.25rem; margin: 0.75rem 0 1.5rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-subtitle { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; max-width: 28rem; margin: 0; }
.faq-card {
  margin-top: auto; padding-top: 2.5rem;
}
.faq-card {
  border-radius: 1rem; border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  padding: 2rem; max-width: 28rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.faq-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px -25px color-mix(in srgb, var(--color-foreground) 35%, transparent); }
.faq-card__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin: 0.5rem 0 0.75rem; }
@media (min-width: 768px) { .faq-card__title { font-size: 1.75rem; } }
.faq-card__text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin: 0 0 1.5rem; }

.faq-list { display: flex; flex-direction: column; height: 100%; justify-content: space-between; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  text-align: left; padding: 1.25rem 0.5rem; border-radius: 0.25rem;
  transition: background-color 0.3s;
}
.faq-item__question:hover { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.faq-item__q-text { font-size: 0.875rem; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1rem; } }
.faq-item__question:hover .faq-item__q-text { color: var(--color-primary); }
.faq-item__icon { position: relative; width: 1rem; height: 1rem; flex-shrink: 0; transition: transform 0.3s ease-out; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__icon svg { position: absolute; inset: 0; transition: opacity 0.2s; }
.faq-item__icon .icon-minus { opacity: 0; }
.faq-item.is-open .faq-item__icon .icon-plus { opacity: 0; }
.faq-item.is-open .faq-item__icon .icon-minus { opacity: 1; }
.faq-item__answer-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.4s ease-out, opacity 0.4s ease-out; }
.faq-item.is-open .faq-item__answer-wrap { grid-template-rows: 1fr; opacity: 1; }
.faq-item__answer-inner { overflow: hidden; }
.faq-item__a-text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; padding: 0 2.5rem 1.5rem 0.5rem; margin: 0; }

/* -------------------------------------------------------------------- */
/* CONTACT SECTION                                                       */
/* -------------------------------------------------------------------- */
.contact-section { padding: 3rem 0 5rem; border-top: 1px solid var(--color-border); background: linear-gradient(0deg, color-mix(in srgb, var(--color-secondary) 45%, transparent) 0%, var(--color-background) 100%); }
@media (min-width: 1024px) { .contact-section { padding: 4rem 0 6rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__heading { font-size: 2.25rem; margin: 0.75rem 0 1.5rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.75rem; } }
.contact-text { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; max-width: 28rem; margin: 0 0 2rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--color-foreground); transition: color 0.3s; word-break: break-all; }
.contact-link:hover { color: var(--color-primary); }
.contact-card {
  border-radius: 1rem; background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  border: 1px solid var(--color-border); padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
@media (min-width: 1024px) { .contact-card { padding: 3rem; } }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 25px 55px -25px color-mix(in srgb, var(--color-foreground) 35%, transparent); }
.contact-card__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin: 0.75rem 0; }
@media (min-width: 768px) { .contact-card__title { font-size: 1.875rem; } }
.contact-card__text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin: 0 0 2rem; }

/* -------------------------------------------------------------------- */
/* FOOTER                                                                */
/* -------------------------------------------------------------------- */
.site-footer { background: #000; color: #fff; }
.site-footer__inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .site-footer__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .site-footer__grid { gap: 3rem; } }
.footer-brand-link { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.footer-brand-line1 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.32em; font-size: 1.875rem; color: #fff; }
@media (min-width: 768px) { .footer-brand-line1 { font-size: 2.25rem; } }
.footer-brand-line2 { margin-top: 0.5rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.625rem; color: rgba(255,255,255,0.7); }
.footer-description { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); max-width: 20rem; line-height: 1.6; }
.footer-col-heading { font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 1.25rem; }
.footer-link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link-list a, .footer-link-list button { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.5s, letter-spacing 0.5s; background: none; border: none; padding: 0; text-align: left; }
.footer-link-list a:hover, .footer-link-list button:hover { color: var(--color-primary); letter-spacing: 0.06em; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; }
.footer-location { color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.05em; }
.footer-quote { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }
.footer-quote-ref { margin-top: 0.5rem; font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright { font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin: 0; }

/* -------------------------------------------------------------------- */
/* CART DRAWER + OVERLAY                                                 */
/* -------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 55; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 32rem;
  background: var(--color-background); z-index: 56;
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s 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-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 1.25rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 6rem; height: 8rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-style: italic; margin: 0.375rem 0 0; }
.theme-cart-item__price { font-size: 0.875rem; margin: 0.375rem 0 0; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.375rem 0.625rem; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.75rem; font-size: 0.875rem; min-width: 28px; text-align: center; display: inline-block; }
.theme-cart-item__remove { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }
.theme-cart-drawer__checkout { text-decoration: none; }

/* Hide "View cart" WooCommerce injects after AJAX add-to-cart (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; }

/* -------------------------------------------------------------------- */
/* CONTACT MODAL                                                        */
/* -------------------------------------------------------------------- */
.contact-modal { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
body.contact-modal-open .contact-modal { visibility: visible; }
.contact-modal__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 45%, transparent); opacity: 0; transition: opacity 0.3s; }
body.contact-modal-open .contact-modal__overlay { opacity: 1; }
.contact-modal__panel {
  position: absolute; top: 50%; left: 50%;
  width: 92vw; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.75rem; padding: 2rem;
  transform: translate(-50%, -48%) scale(0.96); opacity: 0;
  transition: transform 0.3s var(--transition-smooth), opacity 0.3s;
}
body.contact-modal-open .contact-modal__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.contact-modal__close { position: absolute; top: 1rem; right: 1rem; }
.contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-top: 0.5rem; }
.contact-modal__desc { font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin-top: 0.5rem; }
.contact-modal__reach { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.contact-modal__reach a { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__reach a:hover { color: var(--color-foreground); }
.contact-modal__form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-modal__row { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; margin-bottom: 0.375rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.625rem 0.75rem;
  background: var(--color-background); border: 1px solid var(--color-border);
  font-size: 0.875rem; resize: none;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-modal__form-actions { display: flex; justify-content: flex-end; }
.contact-modal__success { text-align: center; padding: 2rem 0; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-button-text); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-modal__success p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }

/* -------------------------------------------------------------------- */
/* SINGLE PRODUCT — mirrors ProductDetail.tsx                            */
/* -------------------------------------------------------------------- */
body.theme-no-hero .site-main.single-product-main,
body.single-product .site-main.single-product-main,
.single-product-main {
  padding-top: 4.75rem !important;
  padding-bottom: 0 !important;
  background: var(--color-background);
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}
@media (min-width: 1024px) {
  body.theme-no-hero .site-main.single-product-main,
  body.single-product .site-main.single-product-main,
  .single-product-main {
    padding-top: 5.25rem !important;
  }
}

/* Two-column shell — must beat WooCommerce .product rules */
body.single-product .single-product-main > .theme-product-layout,
body.woocommerce.single-product .theme-product-layout,
.single-product-main > .theme-product-layout,
.theme-product-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}
@media (min-width: 1024px) {
  body.single-product .single-product-main > .theme-product-layout,
  body.woocommerce.single-product .theme-product-layout,
  .single-product-main > .theme-product-layout,
  .theme-product-layout {
    grid-template-columns: minmax(0, 1fr) 440px !important;
  }
}
@media (min-width: 1280px) {
  body.single-product .single-product-main > .theme-product-layout,
  body.woocommerce.single-product .theme-product-layout,
  .single-product-main > .theme-product-layout,
  .theme-product-layout {
    grid-template-columns: minmax(0, 1fr) 500px !important;
  }
}

body.single-product .theme-product-gallery,
body.single-product .theme-product-info,
.theme-product-gallery,
.theme-product-info {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
/* Kill classic WC 48% image/summary floats if any stylesheet leaks through */
body.single-product div.product .theme-product-gallery,
body.single-product div.product .theme-product-info,
body.woocommerce div.product .theme-product-gallery,
body.woocommerce div.product .theme-product-info,
body.woocommerce #content div.product .theme-product-gallery,
body.woocommerce #content div.product .theme-product-info {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

.theme-product-gallery {
  background: var(--color-background);
  margin-top: 0 !important;
  padding-top: 0 !important;
  align-self: start !important;
}
@media (min-width: 1024px) {
  .theme-product-gallery {
    /* Stick just under the header — must match .single-product-main padding-top.
       Using the old 8rem top offset the column when sticky fell back to relative. */
    position: sticky !important;
    top: 5.25rem;
    align-self: start !important;
  }
}

.theme-product-gallery__layout {
  display: flex;
  align-items: flex-start;
}
.theme-product-thumbnails {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--color-background) 40%, transparent);
  flex-shrink: 0;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) {
    display: flex;
    padding: 1rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) {
    padding: 0 1.5rem 1.5rem 1.5rem; /* no extra top — align with info text */
  }
}
.theme-product-thumbnails--mobile {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  background: transparent;
}
@media (min-width: 768px) {
  .theme-product-thumbnails--mobile { display: none; }
}

.theme-product-thumb {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  opacity: 0.6;
  transition: opacity 0.3s, border-color 0.3s;
  padding: 0;
  background: transparent;
}
@media (min-width: 1024px) {
  .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) .theme-product-thumb {
    width: 4rem;
    height: 4rem;
  }
}
.theme-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: static !important;
}
.theme-product-thumb.is-active,
.theme-product-thumb:hover {
  opacity: 1;
  border-color: var(--color-foreground);
}

.theme-product-main-image-wrap {
  flex: 1;
  min-width: 0;
  min-height: 60vh;
  display: flex;
  align-items: flex-start; /* top-align with info column, not vertically centered */
  justify-content: center;
  position: relative;
  padding-top: 0;
}
@media (min-width: 768px) { .theme-product-main-image-wrap { min-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-main-image-wrap { min-height: 88vh; } }

img.theme-product-main-image,
.theme-product-main-image {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: 88vh;
  object-fit: contain !important;
  display: block;
  background: transparent;
  max-width: 100%;
}

.theme-product-info {
  padding: 2.5rem 1.5rem;
  align-self: start !important;
  margin-top: 0 !important;
}
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
/* Match gallery top: no extra 4rem offset so breadcrumb lines up with thumbs/image */
@media (min-width: 1024px) { .theme-product-info { padding: 0 3rem 4rem; } }

.theme-product-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.theme-product-breadcrumb a {
  color: inherit;
  transition: color 0.3s;
}
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }

.product-title {
  font-family: var(--font-body) !important;
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--color-foreground);
  font-style: normal !important;
}
@media (min-width: 768px) { .product-title { font-size: 1rem; } }

.theme-product-sku {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.theme-product-divider {
  height: 1px;
  background: var(--color-border);
  margin: 1.75rem 0;
}
.theme-product-price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-foreground);
  margin: 0;
}
.theme-product-price .woocommerce-Price-amount,
.theme-product-price bdi {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.theme-product-note {
  margin-top: 1.75rem;
  background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  line-height: 1.6;
  border-radius: 0.375rem;
}

.theme-product-sizes { margin-top: 1.75rem; }
.theme-product-sizes__label {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.theme-product-size-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-product-size-chip {
  min-width: 3.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: transparent;
  color: var(--color-foreground);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-product-size-chip:hover { border-color: var(--color-foreground); }
.theme-product-size-chip.is-active {
  background: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

.theme-add-to-cart-area { margin-top: 2rem; }
.theme-atc-btn,
.single-product .single_add_to_cart_button.button {
  width: 100% !important;
  flex: none !important;
  min-width: 0 !important;
  min-height: 3.5rem !important;
  height: 3.5rem !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.28em !important;
}
.theme-atc-btn.is-added .theme-atc-btn__label { display: inline-flex; align-items: center; gap: 0.5rem; }

.theme-product-details { margin-top: 3rem; }
.theme-product-details__heading {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-foreground);
  margin: 0 0 1.25rem;
}
.theme-product-details__desc {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
  margin: 0;
  white-space: pre-line;
}
.theme-product-details__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1.5rem 0 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-product-details__list li {
  margin-bottom: 0.625rem;
  line-height: 1.6;
}
.theme-product-details__list li::marker { color: var(--color-primary); }

.related-products-section {
  margin-top: 3rem;
  padding: 6rem 0;
  border-top: 1px solid var(--color-border);
}
.related-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.related-products-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}
@media (min-width: 768px) { .related-products-heading { font-size: 2.25rem; } }
.related-products-heading__accent {
  font-style: italic;
  color: var(--color-primary);
}
.theme-product-grid--related {
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem 2rem;
}
@media (min-width: 640px) {
  .theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.theme-product-grid--related .theme-product-card-wrap {
  max-width: none;
  opacity: 1 !important;
  transform: none !important;
}

/* Hide leftover WC chrome on single product */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-breadcrumb,
.single-product .onsale,
.single-product .summary .price,
.single-product form.cart .quantity:not(.theme-quantity-wrapper) {
  display: none !important;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 0 !important;
  min-height: 3.5rem !important;
  padding: 0 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
  text-decoration: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 1 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border-color: var(--color-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-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; }
.theme-attr-select-hidden { display: none !important; }

/* -------------------------------------------------------------------- */
/* SHOP ARCHIVE                                                          */
/* -------------------------------------------------------------------- */
.shop-archive-main { padding-top: 6rem; padding-bottom: 4rem; }
.shop-archive-header { margin-bottom: 2.5rem; }
.page-title { font-family: var(--font-display); font-style: italic; font-size: 2.25rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

/* -------------------------------------------------------------------- */
/* WOOCOMMERCE NOTICES (Section 14.1)                                    */
/* -------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
  display: none;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-body); font-size: 0.875rem; border-radius: 0.375rem;
  padding: 1rem 1.5rem; border-left: 3px solid var(--color-primary);
  background: var(--color-secondary); color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-left-color: #b23b3b; }

/* -------------------------------------------------------------------- */
/* CHECKOUT BLOCK                                                        */
/* -------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .site-main.default-main,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout article {
  max-width: none !important;
  width: 100% !important;
}
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height, 80px);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .site-main > .container-wide {
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.woocommerce-checkout .entry-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Outer checkout shell */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Notices — same width/alignment as checkout content (plural "notices") */
body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/*
 * Real 2-col layout lives on sidebar-layout (not only .wc-block-checkout).
 * Children: notices (full width) → main form → order summary sidebar.
 */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
@media (min-width: 800px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  .entry-content .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px) !important;
    gap: 1.5rem !important;
    align-items: start;
  }
}

/* Full-width notices / banners as first grid row */
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-checkout__actions,
.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
  grid-column: 1 / -1;
  order: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
  order: 2;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
  order: 3;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (min-width: 800px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar,
  .entry-content .wc-block-checkout__sidebar,
  .entry-content .wc-block-components-sidebar {
    min-width: 360px;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  box-sizing: border-box;
}

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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: var(--color-background);
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
  outline: none;
  border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover {
  background: var(--color-foreground) !important;
  color: var(--color-background) !important;
}

/* -------------------------------------------------------------------- */
/* THANK YOU PAGE (Section 22.8)                                         */
/* -------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); font-style: italic; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
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; overflow-wrap: break-word; }

/* -------------------------------------------------------------------- */
/* MISC / RESPONSIVE UTILITIES                                           */
/* -------------------------------------------------------------------- */
.default-main { padding-top: 5rem; min-height: 40vh; }
.not-found-main { padding-top: 5rem; }
