/* ==========================================================================
   Big Fish Cuisine — theme.css
   Design tokens are emitted as CSS custom properties via wp_add_inline_style
   (see functions.php). Do not hardcode colors that have a Customizer control.
   ========================================================================== */

:root {
  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --header-height: 4.5rem;

  /* Non-editable derived tones (computed from brand tokens) */
  --color-secondary: color-mix(in oklab, var(--color-surface) 92%, var(--color-foreground) 8%);
  --color-muted-foreground: color-mix(in oklab, var(--color-foreground) 60%, transparent);
  --color-destructive: #b91c1c;
  --btn-radius: 999px;
  --btn-height: 2.75rem;
  --btn-padding: 0 1.5rem;
  --btn-font-size: 11px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.18em;
  --btn-text-transform: uppercase;
}

/* ==========================================================================
   Base / reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-gallery-img):not(.theme-story-photo):not(.theme-chef-img):not(.theme-pickup-img):not(.theme-product-main-img):not(.theme-product-thumb-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-gallery-img, .theme-story-photo,
.theme-chef-img, .theme-pickup-img, .theme-product-main-img, .theme-product-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}
.product-card-img,
.theme-product-main-img,
.theme-product-thumb-img,
.theme-cart-item__img img {
  height: 100% !important;
  max-height: 100% !important;
}
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-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: inherit;
  letter-spacing: -0.03em;
  padding-bottom: 0.08em;
  margin: 0;
}
.font-mono, code, kbd, samp, pre { font-family: var(--font-mono); }

::selection { background-color: var(--color-accent); color: var(--color-accent-foreground); }

.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;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container-xl {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-xl { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container-xl { padding-inline: 3rem; } }

.section {
  border-top: 1px solid var(--color-border);
  background-color: var(--color-background);
  scroll-margin-top: 6rem;
}
.section-inner { padding-block: 6rem; }
@media (min-width: 1024px) { .section-inner { padding-block: 8rem; } }
.section--surface { background-color: var(--color-surface); }
.section--ink { background-color: var(--color-ink); color: var(--color-ink-foreground); }

.section-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .section-head { grid-template-columns: repeat(12, 1fr); align-items: flex-end; }
  .section-head__main { grid-column: span 7; }
  .section-head__aside { grid-column: 9 / span 4; }
}
.section-head--tight { margin-bottom: 3rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-foreground) 60%, transparent);
  margin-bottom: 1.25rem;
}
.eyebrow--light { color: color-mix(in oklab, #ffffff 70%, transparent); }

.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head .section-heading {
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .section-head .section-heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .section-head .section-heading { font-size: 3.75rem; }
}
.section-heading em { font-style: italic; color: var(--color-accent); }

.section-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in oklab, var(--color-foreground) 70%, transparent);
}

.pill {
  display: inline-block;
  border: 1px solid color-mix(in oklab, var(--color-foreground) 20%, transparent);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  border: none;
  font-family: var(--font-mono);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-hero-primary, .btn-hero-outline, .single-product .single_add_to_cart_button { text-transform: var(--btn-text-transform); }
.btn-accent { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.btn-accent:hover { opacity: 0.9; }
.btn-outline-light {
  background: transparent;
  border: 1px solid color-mix(in oklab, #fff 40%, transparent);
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: var(--color-ink); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
}
.btn-outline:hover { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, color-mix(in oklab, white 35%, transparent) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  z-index: 1;
}
.btn-shine:hover::after { transform: translateX(120%); }

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes ken-burns {
  0% { transform: scale(1.05) translate3d(0,0,0); }
  50% { transform: scale(1.12) translate3d(-1.5%,-1%,0); }
  100% { transform: scale(1.05) translate3d(0,0,0); }
}
.animate-ken-burns { animation: ken-burns 28s ease-in-out infinite; }

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.9s cubic-bezier(0.22,1,0.36,1) both; }

@keyframes fade-down {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-down { animation: fade-down 0.7s cubic-bezier(0.22,1,0.36,1) both; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float-y 6s ease-in-out infinite; }
.animate-float-slow { animation: float-y 9s ease-in-out infinite; }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }

@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.animate-fade-in { animation: fade-in 0.4s ease both; }

@keyframes slide-in-right {
  from { transform: translateX(100%); } to { transform: translateX(0); }
}
.animate-slide-up { animation: slide-in-right 0.35s cubic-bezier(0.22,1,0.36,1) both; }

.hover-lift {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
}
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -20px color-mix(in oklab, var(--color-ink) 35%, transparent); }

.hover-tilt { transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.hover-tilt:hover { transform: rotate(-1.5deg) scale(1.02); }

.story-link { position: relative; display: inline-block; }
.story-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.story-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

/* ---- Scroll-reveal system (mirrors src Reveal.tsx / useInView.ts) ---- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal="up"] { transform: translateY(24px); }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal][data-in="true"] { opacity: 1; transform: translate(0,0) scale(1); }

/* Customizer preview fallback: never hide content behind an observer that
   may not fire inside the preview iframe (Section 2.1.5). */
body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .animate-ken-burns, .animate-fade-up, .animate-fade-down,
  .animate-float, .animate-float-slow, .animate-ping, .animate-fade-in, .animate-slide-up {
    opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
  animation: fade-down 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.site-header:not(.is-solid) {
  border-bottom-color: transparent !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.site-header.is-solid {
  border-color: color-mix(in oklab, var(--color-border) 60%, transparent);
  background-color: color-mix(in oklab, #ffffff 95%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 16px -4px rgba(0,0,0,0.08);
}
.theme-no-hero .site-header {
  border-color: color-mix(in oklab, var(--color-border) 60%, transparent);
  background-color: color-mix(in oklab, #ffffff 95%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 16px -4px rgba(0,0,0,0.08);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-block: -0.75rem;
  height: var(--logo-height, 3rem);
  max-height: var(--logo-height, 3rem);
}
.site-logo-img {
  height: 2.75rem;
  width: auto;
  max-height: 2.75rem;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.5s ease;
}
@media (min-width: 640px) {
  .site-logo-img { height: 3rem; max-height: 3rem; }
}
.site-header:not(.is-solid) .site-logo-img {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}
.site-header.is-solid .site-logo-img,
.theme-no-hero .site-logo-img {
  filter: none;
}
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; color: var(--color-foreground); }
.theme-no-hero .site-logo-text, .site-header.is-solid .site-logo-text { color: var(--color-foreground); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }

.site-header__nav { margin-left: auto; display: none; align-items: center; gap: 1.25rem; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list-inline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .theme-nav-list-inline { gap: 1.25rem; }
}
.theme-nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in oklab, var(--color-foreground) 70%, transparent);
  transition: color 0.2s ease;
}
.site-header:not(.is-solid) .theme-nav-link { color: color-mix(in oklab, #fff 85%, transparent); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: #fff; }
.theme-nav-link:hover { color: var(--color-foreground); }

.site-header__actions { margin-left: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  transition: background-color 0.2s ease;
}
.theme-cart-btn:hover { background: var(--color-secondary); }
.site-header:not(.is-solid) .theme-cart-btn { border-color: color-mix(in oklab, #fff 40%, transparent); color: #fff; }
.site-header:not(.is-solid) .theme-cart-btn:hover { background: color-mix(in oklab, #fff 10%, transparent); }
.theme-cart-btn svg { width: 1rem; height: 1rem; }
.theme-cart-count {
  position: absolute; top: -0.25rem; right: -0.25rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--color-accent); color: var(--color-accent-foreground);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
}
.theme-cart-count:empty { display: none; }

.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: block; } }
.site-header__cta .btn { padding-inline: 1.25rem; }

.theme-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.25rem; width: 2.25rem;
  border: none; background: transparent; color: var(--color-foreground);
}
.site-header:not(.is-solid) .theme-menu-toggle { color: #fff; }
@media (min-width: 1024px) { .theme-menu-toggle { display: none; } }
.theme-menu-toggle svg { width: 1.25rem; height: 1.25rem; }

/* Mobile nav sheet */
.theme-mobile-nav {
  position: fixed; inset: 0; z-index: 60;
  visibility: hidden;
}
.theme-mobile-nav.is-open { visibility: visible; }
.theme-mobile-nav__overlay {
  position: absolute; inset: 0;
  background: color-mix(in oklab, #000 80%, transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.theme-mobile-nav.is-open .theme-mobile-nav__overlay { opacity: 1; }
.theme-mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 100%;
  background: color-mix(in oklab, var(--color-background) 95%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
  padding: 1.5rem;
  min-height: 100%;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .theme-mobile-nav__panel {
    max-width: 24rem;
    border-left: 1px solid var(--color-border);
  }
}
.theme-mobile-nav.is-open .theme-mobile-nav__panel { transform: translateX(0); }
.theme-mobile-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: none;
  border: none;
  color: var(--color-foreground);
  padding: 0.5rem;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.theme-mobile-nav__close:hover { opacity: 1; }
.theme-mobile-nav__close svg { width: 1.25rem; height: 1.25rem; }
.theme-mobile-nav__panel > .eyebrow {
  margin-top: 3rem;
  margin-bottom: 2rem;
  flex-shrink: 0;
}
.theme-mobile-nav__list {
  margin-top: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.theme-mobile-nav__link {
  display: flex; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid color-mix(in oklab, var(--color-border) 60%, transparent);
  padding-block: 1.25rem;
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 300; letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.2s ease;
}
.theme-mobile-nav__link:hover { color: var(--color-primary); }
.theme-mobile-nav__link-index { font-family: var(--font-mono); font-size: 0.75rem; color: color-mix(in oklab, var(--color-foreground) 40%, transparent); }
.theme-mobile-nav__cta {
  margin-top: 2rem;
  flex-shrink: 0;
}
.theme-mobile-nav__cta .btn {
  width: 100%;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--color-ink);
  padding-top: 0;
  color: #fff;
}
.theme-no-hero .hero { display: none; }
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.95);
}
.hero__scrim { position: absolute; inset: 0; background-color: color-mix(in oklab, var(--color-ink) 45%, transparent); }
.hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--color-ink) 70%, transparent) 0%,
    transparent 35%,
    color-mix(in oklab, var(--color-ink) 78%, transparent) 75%,
    color-mix(in oklab, var(--color-ink) 92%, transparent) 100%);
}
.hero__content { position: relative; width: 100%; padding-bottom: 3rem; }
@media (min-width: 1024px) { .hero__content { padding-bottom: 5rem; } }
.hero__eyebrow { color: #fff; margin-bottom: 1.25rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 7vw, 6rem);
}
.hero__title span { display: inline-block; }
.hero__title .line-2 { font-style: italic; color: var(--color-accent); margin-right: 0.75rem; }
@media (min-width: 640px) { .hero__title .line-2 { margin-right: 1.25rem; } }
.hero__title .line-3 { color: color-mix(in oklab, #fff 80%, transparent); }
.hero__row {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .hero__row { margin-top: 3.5rem; grid-template-columns: repeat(12, 1fr); align-items: flex-end; }
  .hero__desc-col { grid-column: span 6; }
  .hero__cta-col { grid-column: 8 / span 5; }
}
.hero__desc { max-width: 36rem; font-size: 1rem; line-height: 1.7; color: color-mix(in oklab, #fff 85%, transparent); }
@media (min-width: 640px) { .hero__desc { font-size: 1.125rem; } }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .hero__ctas { justify-content: flex-end; } }
.hero__ctas .btn { height: 3rem; }
.hero__ctas .btn svg { width: 0.875rem; height: 0.875rem; transition: transform 0.2s ease; }
.hero__ctas .btn:hover svg { transform: translateX(0.25rem); }

/* ==========================================================================
   About
   ========================================================================== */

.about-section { overflow-x: clip; }
.about-grid { display: grid; gap: 3rem; min-width: 0; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; align-items: flex-start; }
  .about-grid__main { grid-column: span 7; }
  .about-grid__aside { grid-column: span 5; }
}
.about-section .section-heading { font-size: 2.25rem; }
@media (min-width: 640px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }
.about__paragraph { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 75%, transparent); }

.about-pillars {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid color-mix(in oklab, var(--color-foreground) 10%, transparent);
  padding-top: 3rem;
}
@media (min-width: 640px) { .about-pillars { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
.about-pillar__title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; }
.about-pillar__text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 70%, transparent); }

.about-grid__aside { position: relative; min-width: 0; }
@media (min-width: 1024px) { .about-grid__aside { position: sticky; top: 7rem; } }
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
.about-visual__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--color-ink) 55%, transparent), color-mix(in oklab, var(--color-ink) 10%, transparent), transparent);
}
.about-visual__quote {
  position: absolute; left: 2rem; right: 2rem; bottom: 2rem; color: #fff;
}
.about-visual__quote p:first-child { font-family: var(--font-display); font-size: 1rem; font-style: italic; line-height: 1.4; }
.about-visual__quote p:last-child { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.8; }
.about-visual__seal {
  position: absolute; right: 1.25rem; top: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  height: 6rem; width: 6rem;
  transform: rotate(12deg);
  border-radius: 999px;
  background: var(--color-accent);
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}
.about-visual__seal span { font-size: 10px; font-weight: 700; text-transform: uppercase; line-height: 1.2; letter-spacing: -0.01em; color: var(--color-accent-foreground); }
.about-floating {
  position: absolute; bottom: -3rem; left: -3rem;
  display: none;
  height: 12rem; width: 12rem;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 10px solid var(--color-background);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  pointer-events: none;
}
@media (min-width: 1280px) { .about-floating { display: block; } }

/* ==========================================================================
   Why Us / Services carousel
   ========================================================================== */

.why-carousel { position: relative; }
.why-carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.why-carousel__track::-webkit-scrollbar { display: none; }
.why-carousel__slide {
  scroll-snap-align: start;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .why-carousel__slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    width: calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}
.why-carousel__slide > [data-reveal],
.why-carousel__slide > div {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
}
.service-card {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  transition: border-color 0.3s ease;
}
.service-card:hover { border-color: var(--color-accent); }
.service-card__body { flex: 1; display: flex; flex-direction: column; padding: 2rem; }
@media (min-width: 640px) { .service-card__body { padding: 2.5rem; } }
.service-card__top { display: flex; align-items: center; gap: 0.75rem; }
.service-card__icon {
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 999px;
  background: var(--color-primary); color: var(--color-primary-foreground);
  transition: transform 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}
.service-card__icon svg { width: 1rem; height: 1rem; }
.service-card:hover .service-card__icon { transform: rotate(6deg); background: var(--color-accent); color: var(--color-accent-foreground); }
.service-card__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: color-mix(in oklab, var(--color-foreground) 50%, transparent); }
.service-card__name { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; letter-spacing: -0.03em; }
.service-card__short { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-primary); }
.service-card__desc { margin-top: auto; padding-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 70%, transparent); }

.carousel-arrow {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  align-items: center; justify-content: center;
  height: 2rem; width: 2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-foreground);
  z-index: 2;
}
@media (min-width: 640px) { .carousel-arrow { display: flex; } }
.carousel-arrow--prev { left: -1rem; }
.carousel-arrow--next { right: -1rem; }
@media (min-width: 1024px) { .carousel-arrow--prev { left: -1.5rem; } .carousel-arrow--next { right: -1.5rem; } }
.carousel-arrow svg { width: 1rem; height: 1rem; }

/* ==========================================================================
   Menu / Shop grid
   ========================================================================== */

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.5s ease, box-shadow 0.5s ease;
}
.theme-product-card:hover { transform: translateY(-0.25rem); border-color: var(--color-accent); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-badge { pointer-events: auto; }

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface);
}
.theme-product-card__image-wrapper img { transition: transform 0.7s ease-out; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card.is-unavailable .theme-product-card__image-wrapper img { opacity: 0.6; }

.theme-card-badge {
  position: absolute; left: 1rem; top: 1rem; z-index: 3;
  background: var(--color-accent); color: var(--color-accent-foreground);
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
}

.theme-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.theme-product-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.theme-product-card__title {
  font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; color: var(--color-foreground);
  transition: color 0.3s ease;
  min-width: 0;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.25rem; white-space: nowrap; font-size: 0.875rem; font-weight: 500; }
.theme-product-card__excerpt {
  margin-bottom: 1rem;
  font-size: 0.875rem; line-height: 1.7;
  color: color-mix(in oklab, var(--color-foreground) 65%, transparent);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer {
  margin-top: auto; display: flex; align-items: center; justify-content: flex-end;
  border-top: 1px solid var(--color-border); padding-top: 1rem;
}
.theme-product-card__view {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--color-primary); transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__view { color: var(--color-accent); }
.theme-product-card__view-arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__view-arrow { transform: translateX(0.25rem); }
.theme-product-card__soon { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in oklab, var(--color-foreground) 50%, transparent); }

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .how-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.how-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  padding: 2rem;
  transition: border-color 0.3s ease;
}
.how-card:hover { border-color: var(--color-accent); }
.how-card__step { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; color: var(--color-accent); }
.how-card__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; }
.how-card__text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 70%, transparent); }

.how-banner {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  border-radius: var(--radius-2xl);
  border: 1px solid color-mix(in oklab, var(--color-accent) 30%, transparent);
  background: color-mix(in oklab, var(--color-accent) 10%, transparent);
  padding: 1.25rem 1.5rem;
}
.how-banner svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--color-accent); }
.how-banner p { flex: 1 1 auto; min-width: 0; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 80%, transparent); }
.how-banner .btn { margin-left: auto; height: 2.75rem; }

/* ==========================================================================
   Story
   ========================================================================== */

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, color-mix(in oklab, var(--color-accent) 22%, transparent), transparent 60%);
  pointer-events: none;
}
.story-section .section-inner { position: relative; z-index: 1; }
.story-grid { display: grid; gap: 3rem; min-width: 0; }
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .story-grid__photos { grid-column: span 5; }
  .story-grid__content { grid-column: 7 / span 6; }
}
.story-grid__photos,
.story-grid__content { min-width: 0; }
.story-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; min-width: 0; }
.story-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid color-mix(in oklab, #fff 15%, transparent);
}
.story-photo .theme-story-photo {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.story-photo--offset-down { margin-top: 1.5rem; }
.story-photo--offset-up { margin-top: -1.5rem; }
@media (max-width: 639px) {
  .story-photo--offset-down { margin-top: 1rem; }
  .story-photo--offset-up { margin-top: -0.75rem; }
}
.story-photo .theme-story-photo.animate-float,
.story-photo .theme-story-photo.animate-float-slow {
  will-change: transform;
}


.story-section { position: relative; overflow: hidden; overflow-x: clip; }
.story-section .section-heading { font-size: 2.25rem; color: var(--color-ink-foreground); }
@media (min-width: 640px) { .story-section .section-heading { font-size: 3rem; } }
.story__paragraphs { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.7; color: color-mix(in oklab, #fff 80%, transparent); }
.story__checklist { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .story__checklist { grid-template-columns: repeat(2, 1fr); } }
.story__checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in oklab, #fff 85%, transparent); }
.story__checklist svg { margin-top: 0.125rem; width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-accent); }

/* ==========================================================================
   Gallery
   ========================================================================== */

.theme-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .theme-gallery-grid { gap: 1rem; } }
@media (min-width: 768px) { .theme-gallery-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.theme-gallery-item img { transition: transform 1.2s ease-out; }
.theme-gallery-item:hover img { transform: scale(1.08); }
.theme-gallery-item__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--color-ink) 60%, transparent), transparent);
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.theme-gallery-item:hover .theme-gallery-item__scrim { opacity: 1; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  padding: 2rem;
  transition: border-color 0.3s ease;
}
@media (min-width: 640px) { .review-card { padding: 2.5rem; } }
.review-card:hover { border-color: var(--color-accent); }
.review-card svg { width: 1.5rem; height: 1.5rem; color: var(--color-accent); }
.review-card blockquote { margin: 1.25rem 0 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 300; line-height: 1.5; letter-spacing: -0.03em; }
.review-card figcaption { margin-top: auto; padding-top: 1.5rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.faq-section__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--color-foreground) 88%, transparent),
    color-mix(in oklab, var(--color-foreground) 82%, transparent),
    color-mix(in oklab, var(--color-foreground) 90%, transparent));
}
.faq-section .section-inner { position: relative; }
.faq-section .eyebrow { color: color-mix(in oklab, var(--color-background) 70%, transparent); }
.faq-section .section-heading { color: var(--color-background); }
.faq-section .section-desc { color: color-mix(in oklab, var(--color-background) 80%, transparent); }

.theme-accordion {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-background) 95%, transparent);
  backdrop-filter: blur(6px);
}
.theme-accordion-item { border-bottom: 1px solid var(--color-border); padding-inline: 1.5rem; }
@media (min-width: 640px) { .theme-accordion-item { padding-inline: 2rem; } }
.theme-accordion-item:last-child { border-bottom: none; }
.theme-accordion-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem;
  background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; letter-spacing: -0.03em;
  color: var(--color-foreground);
}
.theme-accordion-trigger:hover { color: var(--color-primary); }
.theme-accordion-trigger svg { flex-shrink: 0; width: 1rem; height: 1rem; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); transition: transform 0.2s ease; }
.theme-accordion-item.is-open .theme-accordion-trigger svg { transform: rotate(180deg); }
.theme-accordion-panel { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.theme-accordion-item.is-open .theme-accordion-panel { max-height: 40em; }
.theme-accordion-panel__inner { padding-bottom: 1.5rem; font-size: 1rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 75%, transparent); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section { overflow-x: clip; }
.contact-grid { display: grid; gap: 4rem; min-width: 0; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, 1fr); align-items: flex-start; }
  .contact-grid__info { grid-column: span 5; }
  .contact-grid__form { grid-column: 7 / span 6; position: sticky; top: 6rem; }
}
.contact-grid__info { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.contact-grid__form { min-width: 0; }
.contact-section .section-heading { font-size: 2.25rem; }
@media (min-width: 640px) { .contact-section .section-heading { font-size: 3rem; } }
.contact__desc { margin-top: 2rem; max-width: 28rem; font-size: 1rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 70%, transparent); }

.contact-lines { margin-top: 2.5rem; border-bottom: 1px solid var(--color-border); }
.contact-line {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-block: 1.25rem;
  transition: color 0.2s ease;
}
a.contact-line:hover { color: var(--color-primary); }
.contact-line__left { display: flex; align-items: center; gap: 1rem; }
.contact-line__left svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-primary); }
.contact-line__label { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in oklab, var(--color-foreground) 55%, transparent); }
.contact-line__value { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.03em; }
.contact-line svg.arrow { width: 1.25rem; height: 1.25rem; color: color-mix(in oklab, var(--color-foreground) 40%, transparent); transition: transform 0.3s ease, color 0.3s ease; }
a.contact-line:hover svg.arrow { transform: rotate(45deg); color: var(--color-accent); }

.contact-badge {
  margin-top: 2rem; display: inline-flex; width: fit-content; align-items: center; gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 40%, transparent);
  background: color-mix(in oklab, var(--color-accent) 10%, transparent);
  padding: 0.375rem 0.75rem;
}
.contact-badge__dot { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.contact-badge__ping { position: absolute; inset: 0; border-radius: 999px; background: var(--color-accent); opacity: 0.75; }
.contact-badge__core { position: relative; display: inline-flex; height: 0.5rem; width: 0.5rem; border-radius: 999px; background: var(--color-accent); }
.contact-badge span:last-child { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in oklab, var(--color-foreground) 85%, transparent); }

.contact-follow { margin-top: 2.5rem; }
.contact-follow .eyebrow { margin-bottom: 1rem; }
.contact-social { display: flex; gap: 0.5rem; }
.contact-social a {
  display: flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem;
  border-radius: 999px; border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}
.contact-social a:hover { transform: translateY(-0.125rem) rotate(6deg); border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-foreground); }
.contact-social svg { width: 1rem; height: 1rem; transition: transform 0.3s ease; }
.contact-social a:hover svg { transform: scale(1.1); }

.contact-note {
  margin-top: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-surface) 40%, transparent);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
}
.contact-note__inner { display: flex; align-items: flex-start; gap: 1rem; }
.contact-note__icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: 999px; background: color-mix(in oklab, var(--color-accent) 10%, transparent); }
.contact-note__icon svg { width: 1rem; height: 1rem; color: var(--color-accent); }
.contact-note__title { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.03em; }
.contact-note__text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); }

.contact-form-image { margin-bottom: 1.5rem; display: none; overflow: hidden; border-radius: var(--radius-3xl); border: 1px solid var(--color-border); }
@media (min-width: 1024px) { .contact-form-image { display: block; } }
.contact-form-image img {
  position: static !important;
  height: 10rem !important;
  max-height: 10rem !important;
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.contact-form {
  display: flex; flex-direction: column; gap: 1.75rem;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-surface) 40%, transparent);
  backdrop-filter: blur(6px);
  padding: 2rem;
}
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.contact-form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: repeat(2, 1fr); } }
.contact-form__field { display: grid; gap: 0.5rem; }
.contact-form__field label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); }
.contact-form__field label .optional { text-transform: none; letter-spacing: normal; color: color-mix(in oklab, var(--color-foreground) 40%, transparent); }
.contact-form__field input,
.contact-form__field textarea {
  border: none; border-bottom: 1px solid color-mix(in oklab, var(--color-foreground) 20%, transparent);
  border-radius: 0; background: transparent;
  padding: 0.75rem 0;
  font-family: var(--font-sans); font-size: 1rem; color: var(--color-foreground);
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: color-mix(in oklab, var(--color-foreground) 30%, transparent); }
.contact-form__field input:focus,
.contact-form__field textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form__field textarea { resize: none; }
.contact-form .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
  height: auto;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}
.contact-form .btn svg { width: 1rem; height: 1rem; }
.contact-form__message { font-size: 0.875rem; }
.contact-form__message[data-state="success"] { color: var(--color-primary); }
.contact-form__message[data-state="error"] { color: var(--color-destructive); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { position: relative; overflow: hidden; background: var(--color-ink); color: var(--color-ink-foreground); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 2.5rem; }
.site-footer__grid { margin-top: 4rem; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); } }
.site-footer__brand { grid-column: span 5; }
.site-footer__brand-row { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand-row img { height: 3.5rem; width: auto; max-height: 3.5rem; object-fit: contain; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; }
.site-footer__brand-sub { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in oklab, var(--color-ink-foreground) 55%, transparent); }
.site-footer__tagline { margin-top: 2rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in oklab, var(--color-ink-foreground) 70%, transparent); }
.site-footer__social { margin-top: 2rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer__social a {
  display: flex; align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-ink-foreground) 20%, transparent);
  transition: all 0.2s ease;
}
.site-footer__social a:hover { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-foreground); }
.site-footer__social svg { width: 1rem; height: 1rem; }

.site-footer__sitemap { grid-column: span 4; }
.site-footer__sitemap .eyebrow,
.site-footer__area .eyebrow {
  margin-bottom: 1.5rem;
  color: color-mix(in oklab, var(--color-ink-foreground) 55%, transparent);
}
.site-footer__sitemap ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; font-size: 0.875rem; }
.site-footer__sitemap a { color: color-mix(in oklab, var(--color-ink-foreground) 80%, transparent); }
.site-footer__sitemap a:hover { color: var(--color-accent); }

.site-footer__area { grid-column: span 3; }
.site-footer__area p { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--color-ink-foreground) 80%, transparent); }
.site-footer__area svg { margin-top: 0.125rem; width: 1rem; height: 1rem; flex-shrink: 0; }

.site-footer__bottom {
  margin-top: 4rem; display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 1px solid color-mix(in oklab, var(--color-ink-foreground) 15%, transparent);
  padding-top: 2rem;
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: color-mix(in oklab, var(--color-ink-foreground) 55%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--color-accent); }

/* ==========================================================================
   Product single page
   ========================================================================== */

/* Inner pages (not homepage hero): offset fixed header */
body.home .site-main,
.home.page-template-default .site-main {
  padding-top: 0;
}
.single-product .site-main,
.theme-no-hero .site-main {
  padding-top: 6rem;
  animation: fade-in 0.4s ease both;
}
@media (min-width: 1024px) {
  .theme-no-hero .site-main { padding-top: 7rem; }
}

.theme-back-link {
  display: inline-flex; align-items: center;
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--color-foreground) 60%, transparent);
  transition: color 0.2s ease;
}
.theme-back-link:hover { color: var(--color-foreground); }
.theme-back-link svg { margin-right: 0.5rem; width: 1rem; height: 1rem; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-variation-group { position: relative; }
.theme-variation-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-foreground) 60%, transparent);
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--color-background);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-primary); }
.theme-variation-pill.is-selected {
  border-color: var(--color-primary);
  background: color-mix(in oklab, var(--color-primary) 12%, transparent);
}
.theme-variation-select-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.variations_form table.variations { display: none; }
.variations_form .reset_variations { display: none !important; }
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.theme-product-main-wrap { margin-bottom: 1rem; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-2xl); background: var(--color-secondary); position: relative; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1/1; overflow: hidden; border-radius: 0.375rem; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; background: none; padding: 0; position: relative; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-category { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); }
.theme-product-title {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
}
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
.theme-product-price { margin: 1rem 0 1.5rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 300; }
.theme-product-stock { display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; }
.theme-product-stock.in-stock { color: var(--color-primary); }
.theme-product-stock.out-of-stock { color: var(--color-destructive); }
.theme-product-description { margin-bottom: 2rem; white-space: pre-line; line-height: 1.7; color: color-mix(in oklab, var(--color-foreground) 75%, transparent); overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; background: none; border: none; transition: background-color 0.2s ease; color: var(--color-foreground); }
.theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 1rem; height: 1rem; }
.theme-qty-input {
  min-width: 3rem; width: 3rem; padding: 0.75rem 0.5rem; text-align: center;
  border: none; background: none; font-size: 1rem; color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.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-accent) !important;
  color: var(--color-accent-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-mono) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  flex: 1 1 auto;
  min-width: 160px;
}
.single_add_to_cart_button.button:hover, .add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-accent) !important;
  color: var(--color-accent-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-accent) !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; }

/* Card compact add-to-cart variant is not used in this design: cards link
   to product page only (Section 19.1 — design has no card add-to-cart). */

.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; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details h2 { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.125rem; }
.theme-product-details-list li { display: flex; align-items: flex-start; margin-bottom: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--color-foreground) 75%, transparent); }
.theme-product-details-list li::before {
  content: ""; margin-right: 0.75rem; margin-top: 0.5rem; flex-shrink: 0;
  height: 0.375rem; width: 0.375rem; border-radius: 999px; background: var(--color-accent);
}

.related-products-section { border-top: 1px solid var(--color-border); padding-block: 5rem; }
.related-products-section h2 { margin-bottom: 2.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; letter-spacing: -0.03em; }
@media (min-width: 768px) { .related-products-section h2 { font-size: 1.875rem; } }
.related-products-section .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .related-products-section .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }

/* ==========================================================================
   Side Cart Drawer
   ========================================================================== */

#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: color-mix(in oklab, var(--color-foreground) 30%, transparent);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  display: flex; flex-direction: column;
  width: 100%; max-width: 28rem;
  background: var(--color-background);
  box-shadow: -20px 0 40px -20px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
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; border-bottom: 1px solid var(--color-border); padding: 1.5rem; }
.theme-cart-header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.03em; }
.theme-cart-close { padding: 0.25rem; background: none; border: none; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-close:hover { opacity: 1; }
.theme-cart-close svg { width: 1.25rem; height: 1.25rem; }

.theme-cart-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { margin-bottom: 1rem; width: 3rem; height: 3rem; color: color-mix(in oklab, var(--color-foreground) 50%, transparent); }
.theme-cart-empty p { margin-bottom: 1.5rem; color: color-mix(in oklab, var(--color-foreground) 55%, transparent); }

.theme-cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__img { flex-shrink: 0; height: 6rem; width: 5rem; overflow: hidden; border-radius: 0.375rem; background: var(--color-secondary); }
.theme-cart-item__img img { height: 100%; width: 100%; object-fit: cover; }
.theme-cart-item__body { min-width: 0; flex: 1; }
.theme-cart-item__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 500; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { margin-top: 0.125rem; font-size: 0.875rem; color: color-mix(in oklab, var(--color-foreground) 55%, transparent); }
.theme-cart-item__controls { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__controls button { display: flex; align-items: center; justify-content: center; border-radius: 0.25rem; padding: 0.25rem; background: none; border: none; transition: background-color 0.2s ease; }
.theme-cart-item__controls button:hover { background: var(--color-secondary); }
.theme-cart-item__controls svg { width: 0.75rem; height: 0.75rem; }
.theme-cart-item__qty { width: 1.5rem; text-align: center; font-size: 0.875rem; }
.theme-cart-item__remove { margin-left: auto; background: none; border: none; font-size: 0.75rem; color: color-mix(in oklab, var(--color-foreground) 55%, transparent); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-footer { border-top: 1px solid var(--color-border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:first-child { color: color-mix(in oklab, var(--color-foreground) 55%, transparent); }
.theme-cart-subtotal-row span:last-child { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: color-mix(in oklab, var(--color-foreground) 55%, transparent); }

/* ==========================================================================
   404
   ========================================================================== */

.theme-404 { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding-inline: 1rem; text-align: center; }
.theme-404 h1 { font-size: 4.5rem; font-weight: 700; }
.theme-404 h2 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.theme-404 p { margin-top: 0.5rem; font-size: 0.875rem; color: color-mix(in oklab, var(--color-foreground) 60%, transparent); }
.theme-404 .btn { margin-top: 1.5rem; display: inline-flex; }

/* ==========================================================================
   WooCommerce shop / archive minimal styling (design has no dedicated
   /shop archive page — the homepage menu section is the shop UI — but the
   template is provided for WooCommerce core compatibility, e.g. category
   permalinks).
   ========================================================================== */

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--radius); border: 1px solid var(--color-border);
  background: var(--color-surface); padding: 1rem 1.5rem; font-size: 0.875rem;
}
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ==========================================================================
   Checkout (native WooCommerce Checkout Block) — Section 13
   ========================================================================== */

body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account {
  background-color: var(--color-background);
  color: var(--color-foreground);
}

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .entry-content,
  body.woocommerce-account .entry-content { padding-inline: 2rem; }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .entry-content,
  body.woocommerce-account .entry-content { padding-inline: 3rem; }
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding-inline: 1.25rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
}
@media (min-width: 640px) { body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { padding-inline: 2rem; font-size: 2.25rem; } }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { padding-inline: 3rem; } }

/* Single 2-column grid — flatten WC sidebar-layout (no nested flex/grid) */
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout.wc-block-checkout,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .wc-block-checkout {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices,
body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices__snackbar,
body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notice-banner {
  grid-column: 1 / -1 !important;
}

@media (min-width: 1024px) {
  body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 4rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
    display: contents !important;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__main {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
  display: grid !important;
  flex-direction: unset !important;
  flex-wrap: unset !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  align-items: start !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-inline: 0 !important;
}
@media (max-width: 1023px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    grid-template-columns: 1fr !important;
  }
}
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout.is-medium .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout.is-medium .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout.is-medium .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-checkout__sidebar {
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-checkout__actions {
  display: block !important;
  grid-template-columns: unset !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar > * {
  display: block !important;
  grid-template-columns: unset !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
  display: none !important;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content {
    display: block !important;
    width: 100% !important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
    display: none !important;
  }
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1 !important; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
  position: static !important;
  top: auto !important;
  background-color: var(--color-surface) !important;
  border-radius: var(--radius-2xl);
  padding: 2rem !important;
}

/* Lovable-style checkout fields (keep WC inner padding defaults) */
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-select select,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !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;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row select: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::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: color-mix(in oklab, var(--color-foreground) 45%, transparent) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-blocks-components-select__label {
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-blocks-components-select__container {
  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-blocks-components-select__select {
  font-family: var(--font-sans) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: var(--color-foreground) !important;
  border: none !important;
  border-radius: 0.375rem !important;
  background-color: transparent !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
body.woocommerce-checkout .wc-blocks-components-select__container:focus-within {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-blocks-components-select__expand {
  color: color-mix(in oklab, var(--color-foreground) 55%, transparent) !important;
  fill: currentColor !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-accent) !important;
  color: var(--color-accent-foreground) !important;
  border-radius: 999px !important;
  border: none !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

/* Cart & My Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce {
  max-width: 1400px; margin: 2rem auto 0; padding-inline: 1.25rem;
}
@media (min-width: 640px) { body.woocommerce-cart .woocommerce, body.woocommerce-account .woocommerce { padding-inline: 2rem; } }
@media (min-width: 1024px) { body.woocommerce-cart .woocommerce, body.woocommerce-account .woocommerce { padding-inline: 3rem; } }

/* ==========================================================================
   Thank you page (Section 22.8)
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { max-width: 1400px; margin: 0 auto; padding: calc(var(--header-height) + 2rem) 1.25rem 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-weight: 500; padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1rem 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }
@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; }
}

/* ==========================================================================
   Customizer media control CSS is in customizer-controls.css
   ========================================================================== */
