/* =========================================================================
   Travel Bites — theme.css
   Ported 1:1 from the original site's design tokens and utility usage.
   Colors are emitted as CSS custom properties by
   PHP (Section 22.9); this file also declares safe :root fallbacks so the
   stylesheet degrades gracefully if inline styles ever fail to load.
   ========================================================================= */

:root {
  --color-background: #fbf6ef;
  --color-foreground: #2c2521;
  --color-card: #ffffff;
  --color-accent: #c5472b;
  --color-accent-foreground: #fdf9f3;
  --color-muted: #f0e9e0;
  --color-muted-foreground: #6b5e57;
  --color-border: #e2dbd4;
  --color-destructive: #b73a2c;
  --color-destructive-foreground: #ffffff;
  --color-butter: #e08d2e;
  --logo-height: 44px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius: 0.25rem;
  --shadow-soft: 0 4px 18px -8px rgb(38 32 29 / 0.12);
  --shadow-elevated: 0 12px 40px -14px rgb(38 32 29 / 0.22);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: 0px;
  --btn-height: 52px;
  --btn-padding: 1rem 2rem;
  --btn-font-size: 11px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.24em;
  --btn-text-transform: uppercase;

  --header-height: 82px;
}

/* -------------------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
img.cover-img,
img.theme-product-card__image,
img.theme-hero__slide,
img.theme-hero__grid-image,
img.theme-about-slide,
img.product-main-img,
img.product-thumb-img,
img.theme-contact-section__bg,
img.theme-testimonial__avatar,
.theme-cart-item__image img {
  max-width: none;
}
img.theme-product-card__image,
img.product-main-img,
.theme-cart-item__image img {
  height: 100% !important;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

.text-accent { color: var(--color-accent); }
.text-brand-deep { color: var(--color-accent); }
.italic { font-style: italic; }

/* -------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.container-wide {
  width: 100% !important;
  max-width: 80rem !important; /* Tailwind max-w-7xl */
  margin-inline: auto !important;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }
.woocommerce .container-wide,
.woocommerce-page .container-wide,
body.woocommerce-checkout .container-wide {
  max-width: 80rem !important;
}

.scroll-mt-24 { scroll-margin-top: 6rem; }
.theme-section__pad { padding-block: 4rem; }
@media (min-width: 768px) { .theme-section__pad { padding-block: 6rem; } }
.theme-section__pad--custom { padding-block: 5rem; }
@media (min-width: 768px) { .theme-section__pad--custom { padding-block: 7rem; } }
.theme-section__pad--about,
.theme-section__pad--testimonial { padding-block: 5rem; }
@media (min-width: 768px) {
  .theme-section__pad--about,
  .theme-section__pad--testimonial { padding-block: 7rem; }
}
@media (min-width: 1024px) {
  .theme-section__pad--about,
  .theme-section__pad--testimonial { padding-block: 7.5rem; }
}
.theme-section__pad--capabilities { padding-block: 5rem; }
@media (min-width: 768px) { .theme-section__pad--capabilities { padding-block: 6rem; } }

.laser-divider {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 70%, transparent), transparent);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn-primary-workshop {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--color-accent); color: var(--color-accent-foreground);
  padding: 1rem 2rem; font-family: var(--font-display); font-weight: 500;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
  border: none;
}
.btn-primary-workshop:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-primary-workshop:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary-workshop.w-full, .theme-checkout__submit { width: 100%; }

.btn-ghost-workshop {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent);
  color: var(--color-foreground); padding: 1rem 2rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease; background: transparent;
}
.btn-ghost-workshop:hover { background: var(--color-foreground); color: var(--color-background); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600; color: var(--color-accent);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px;
  background: currentColor; transform-origin: left; transform: scaleX(0);
  transition: transform 0.5s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.wood-card { background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }

/* -------------------------------------------------------------------------
   Animations (Section 2.1) — ported verbatim from source keyframes
   ------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.7s var(--transition-smooth) forwards; }

/* Scroll-reveal system (mirrors framer-motion fadeUp / stagger variants) */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.scroll-reveal-section .reveal-item:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-section .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal-section .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal-section .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal-section .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal-section .reveal-item:nth-child(6) { transition-delay: 0.4s; }
.scroll-reveal-section .reveal-item:nth-child(7) { transition-delay: 0.48s; }
.scroll-reveal-section .reveal-item:nth-child(8) { transition-delay: 0.56s; }
.theme-product-grid .theme-product-card-wrap.reveal-item { transition-delay: 0s; }

/* Customizer-preview fallback: never leave content invisible in the editor */
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

.animate-on-load { opacity: 0; }
.animate-on-load[data-anim="fade-up"] { animation: heroFadeUp 0.8s var(--transition-smooth) forwards; }
.animate-on-load[data-anim="fade"] { animation: fadeIn 0.7s var(--transition-smooth) forwards; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .animate-on-load, .animate-fade-in, .animate-slide-up {
    animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* -------------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-background) 85%, transparent);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled, .site-header.mobile-open {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.theme-navbar { display: flex; align-items: center; justify-content: space-between; height: 74px; }
@media (min-width: 768px) { .theme-navbar { height: 82px; } }

.theme-brand { display: flex; align-items: center; flex-shrink: 0; gap: 0.625rem; }
.site-logo-img { height: 36px; width: 36px; object-fit: contain; }
@media (min-width: 768px) { .site-logo-img { height: var(--logo-height); width: var(--logo-height); } }
.site-logo-text { font-family: var(--font-display); font-size: 22px; }
.theme-brand__text {
  display: none; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; color: var(--color-foreground);
  align-items: baseline; gap: 0.625rem; line-height: 1;
}
.theme-brand__text--text-only { display: inline-flex !important; }
@media (min-width: 640px) { .theme-brand__text { display: inline-flex; } }
@media (min-width: 768px) { .theme-brand__text { font-size: 22px; } }
.theme-brand__accent { font-style: italic; color: var(--color-accent); }

.theme-navbar__links--desktop { display: none; }
@media (min-width: 1024px) { .theme-navbar__links--desktop { display: flex; align-items: center; gap: 2.25rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-list li { list-style: none; }
.theme-nav-link, .theme-nav-list a {
  position: relative; font-size: 11px; font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  transition: color 0.3s ease; cursor: pointer;
}
.theme-nav-link::after, .theme-nav-list a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--transition-smooth);
}
.theme-nav-link:hover, .theme-nav-list a:hover, .theme-nav-link.is-active, .theme-nav-list a.is-active {
  color: var(--color-accent);
}
.theme-nav-link:hover::after, .theme-nav-list a:hover::after, .theme-nav-link.is-active::after, .theme-nav-list a.is-active::after {
  transform: scaleX(1);
}

.theme-navbar__icons { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .theme-navbar__icons { gap: 0.5rem; } }
@media (min-width: 1024px) {
  .theme-navbar__icons { margin-left: 0.5rem; padding-left: 1rem; border-left: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); }
}
.theme-cart-btn {
  position: relative; padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.3s ease;
}
.theme-cart-btn:hover { color: var(--color-accent); }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding-inline: 4px;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-family: var(--font-display);
  font-weight: 600; background: var(--color-accent); color: var(--color-accent-foreground); border-radius: 999px;
  box-shadow: 0 0 0 2px var(--color-background);
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: block; padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .theme-icon.icon-menu-close { display: none !important; }
.theme-mobile-toggle.is-open .theme-icon.icon-menu-open { display: none !important; }
.theme-mobile-toggle.is-open .theme-icon.icon-menu-close { display: block !important; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding-block: 1rem; }
.theme-mobile-menu.is-open {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-menu .theme-nav-list,
.theme-nav-list--mobile,
.theme-mobile-menu .theme-nav-list--fallback {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  gap: 0.25rem;
}
.theme-nav-list--mobile li,
.theme-mobile-menu li {
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  width: 100%;
}
.theme-nav-list--mobile a,
.theme-mobile-menu a {
  display: block; text-align: left; font-size: 13px; padding-block: 0.75rem; letter-spacing: 0.2em;
}
.theme-nav-list--mobile a::after,
.theme-mobile-menu a::after { display: none; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.theme-hero-section { position: relative; background: var(--color-background); display: flex; flex-direction: column; min-height: 100vh; }
body.theme-no-hero .theme-hero-section { display: none; }
.theme-hero__inner { flex: 1 1 auto; width: 100%; display: flex; align-items: center; padding-block: 2.5rem; }
@media (min-width: 768px) { .theme-hero__inner { padding-block: 3rem; } }
@media (min-width: 1024px) { .theme-hero__inner { padding-block: 0; } }

.theme-hero__grid { display: grid; width: 100%; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-hero__grid { grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr); gap: 4rem; } }
@media (min-width: 1280px) { .theme-hero__grid { gap: 5rem; } }

.theme-hero__copy { text-align: center; }
@media (min-width: 1024px) { .theme-hero__copy { text-align: left; } }

.theme-hero__title {
  font-size: 44px; line-height: 1.02; letter-spacing: -0.01em; color: var(--color-foreground);
  text-wrap: balance;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }

.theme-hero__subtitle {
  margin-top: 1.5rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7; max-width: 36rem; margin-inline: auto;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
@media (min-width: 1024px) { .theme-hero__subtitle { margin-inline: 0; } }

.theme-hero__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; gap: 1rem; } }
@media (min-width: 1024px) { .theme-hero__ctas { justify-content: flex-start; } }

.theme-hero__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 28rem; margin-inline: auto; }
@media (min-width: 1024px) { .theme-hero__stats { margin-inline: 0; } }
.theme-hero__stat-k { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.02em; font-weight: 600; color: var(--color-foreground); }
.theme-hero__stat-v { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.theme-hero__mobile-slider {
  display: block; width: 100%; position: relative; overflow: hidden; border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); background: var(--color-card); aspect-ratio: 1/1;
}
@media (min-width: 640px) { .theme-hero__mobile-slider { display: none; } }
.theme-hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s ease-out;
}
.theme-hero__slide.is-active { opacity: 1; }

.theme-hero__grid-images { display: none; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .theme-hero__grid-images { display: grid; } }
@media (min-width: 768px) { .theme-hero__grid-images { gap: 1rem; } }
@media (min-width: 1024px) { .theme-hero__grid-images { justify-self: end; } }
.theme-hero__grid-image-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); background: var(--color-card);
}
.theme-hero__grid-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease-out; }
.theme-hero__grid-image-wrap:hover .theme-hero__grid-image { transform: scale(1.04); }

/* -------------------------------------------------------------------------
   Section headings (Section 2.2.5 — per-section scales, not one global rule)
   ------------------------------------------------------------------------- */
.section-heading { line-height: 1.15; letter-spacing: -0.01em; color: var(--color-foreground); }
.shop-heading, .capabilities-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading, .capabilities-section__heading { font-size: 3rem; } }
.offerings-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .offerings-section__heading { font-size: 3rem; } }
.about-section__heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }

.theme-section__subtitle, .theme-section__body {
  margin-top: 0.75rem; color: var(--color-muted-foreground); max-width: 36rem; line-height: 1.6;
}
.theme-section__body { font-size: 1.125rem; margin-top: 1.25rem; }

/* -------------------------------------------------------------------------
   Shop section
   ------------------------------------------------------------------------- */
.theme-shop-section { background: var(--color-card); }
.theme-shop__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-shop__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.theme-shop__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-shop__filters { gap: 0.75rem; } }
.theme-cat-filter, .theme-price-toggle {
  padding: 0.5rem 1rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--color-border); background: transparent; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-cat-filter:hover, .theme-price-toggle:hover { border-color: var(--color-foreground); }
.theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-price-toggle { display: inline-flex; align-items: center; gap: 0.375rem; width: 100%; justify-content: center; }
@media (min-width: 640px) { .theme-price-toggle { width: auto; margin-left: auto; } }
.theme-price-toggle svg { transition: transform 0.2s ease; }
.theme-price-toggle.is-open svg { transform: rotate(180deg); }

.theme-price-filter { margin-bottom: 2rem; max-width: 28rem; padding: 1.25rem; border: 1px solid var(--color-border); background: var(--color-card); }
.theme-price-filter[hidden] { display: none; }
.theme-price-filter__labels { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }

/* Dual-handle price range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-accent); }
.range-input {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-accent); cursor: pointer; margin-top: 0;
}
.range-input::-moz-range-thumb {
  pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-accent); cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* Product grid */
.theme-product-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-grid-item { display: flex; }
.theme-grid-item[hidden] { display: none; }
.theme-grid-item.is-hidden { display: none; }

.theme-product-card-wrap { display: block; width: 100%; }
.theme-product-card {
  position: relative; aspect-ratio: 4/5; background: var(--color-card); border: 1px solid var(--color-border);
  overflow: hidden; transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
}
.theme-product-card-wrap:hover .theme-product-card { transform: translateY(-4px); }
.theme-product-card__image-outer { position: absolute; inset: 0; padding: 0.75rem; }
@media (min-width: 768px) { .theme-product-card__image-outer { padding: 1rem; } }
.theme-product-card__image-wrapper {
  position: relative; width: 100%; height: 100%; background: var(--color-background); overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-border) 60%, transparent);
}
.theme-product-card__image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1);
}
.theme-product-card-wrap:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
  position: absolute; top: 1rem; left: 1rem; padding: 2px 8px; font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; background: color-mix(in srgb, var(--color-background) 85%, transparent);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-border) 70%, transparent);
}
.theme-product-card__unavailable {
  position: absolute; top: 1rem; right: 1rem; padding: 4px 10px; font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; background: var(--color-destructive); color: var(--color-destructive-foreground);
}
.theme-product-card__add {
  position: absolute; bottom: 1rem; right: 1rem; width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; background: var(--color-foreground); color: var(--color-background); box-shadow: var(--shadow-elevated);
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.15s ease; z-index: 3;
}
.theme-product-card__add:hover { background: var(--color-accent); transform: scale(1.08); }
.theme-product-card__add:active { transform: scale(0.94); }
@media (min-width: 768px) {
  .theme-product-card__add { opacity: 0; }
  .theme-product-card-wrap:hover .theme-product-card__add { opacity: 1; }
}

.theme-product-card__info { margin-top: 1rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.theme-product-card__info-text { min-width: 0; }
.theme-product-card__name {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.375; color: var(--color-foreground);
  transition: color 0.3s ease;
}
.theme-product-card-wrap:hover .theme-product-card__name { color: var(--color-accent); }
.theme-product-card__cat { margin-top: 0.25rem; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 80%, transparent); }
.theme-product-card__price { font-family: var(--font-display); font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.theme-shop__empty { text-align: center; padding-block: 4rem; border: 1px dashed var(--color-border); color: var(--color-muted-foreground); }
.theme-shop__viewall { text-align: center; margin-top: 2.5rem; }
.theme-viewall-btn { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }

/* -------------------------------------------------------------------------
   Custom orders section
   ------------------------------------------------------------------------- */
.theme-custom-section { background: var(--color-background); border-block: 1px solid var(--color-border); }
.theme-custom__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.theme-custom__copy { order: 2; }
.theme-custom__image { order: 1; }
@media (min-width: 1024px) {
  .theme-custom__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .theme-custom__copy { order: 1; }
  .theme-custom__image { order: 2; }
}
.theme-custom__steps { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; max-width: 36rem; }
.theme-custom__step { display: flex; gap: 1rem; }
.theme-custom__step-num {
  margin-top: 0.125rem; width: 2rem; height: 2rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); background: var(--color-card); font-family: var(--font-display); font-size: 13px;
  font-weight: 600; color: var(--color-accent);
}
.theme-custom__step-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; }
.theme-custom__step-copy { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-top: 0.25rem; }
.theme-custom__ctas { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-custom__ctas { flex-direction: row; gap: 1rem; } }
.theme-custom__image { position: relative; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-card); aspect-ratio: 4/3; }

/* -------------------------------------------------------------------------
   About section
   ------------------------------------------------------------------------- */
.theme-about-section { background: var(--color-muted); color: var(--color-foreground); }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-about-slider {
  position: relative; width: 100%; overflow: hidden; border-radius: 2px; border: 1px solid var(--color-border);
  background: var(--color-muted); aspect-ratio: 4/3; max-height: 460px;
}
.theme-about-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.theme-about-slide.is-active { opacity: 1; }
.theme-about__body { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; max-width: 36rem; }
.theme-about__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; max-width: 28rem; }
@media (min-width: 640px) { .theme-about__stats { grid-template-columns: repeat(3, 1fr); } }
.theme-about__stat { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-top: 0.75rem; }
.theme-about__stat p { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; color: var(--color-accent); font-weight: 600; }

/* -------------------------------------------------------------------------
   Testimonial
   ------------------------------------------------------------------------- */
.theme-testimonial-section { background: var(--color-foreground); color: var(--color-background); }
.theme-testimonial__inner { max-width: 50rem; margin-inline: auto; text-align: center; }
.theme-testimonial__stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 2rem; }
.theme-icon-star { width: 20px; height: 20px; fill: var(--color-butter); color: var(--color-butter); }
@media (min-width: 768px) { .theme-icon-star { width: 24px; height: 24px; } }
.theme-testimonial__quote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--color-background); }
@media (min-width: 768px) { .theme-testimonial__quote { font-size: 1.875rem; } }
@media (min-width: 1024px) { .theme-testimonial__quote { font-size: 2rem; } }
.theme-testimonial__person { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; }
.theme-testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid color-mix(in srgb, var(--color-background) 20%, transparent); }
.theme-testimonial__name { margin-top: 1rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--color-background); }
.theme-testimonial__role { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-butter); }

/* -------------------------------------------------------------------------
   Capabilities ("What We Cook")
   ------------------------------------------------------------------------- */
.theme-capabilities-section { background: var(--color-card); border-block: 1px solid var(--color-border); }
.theme-capabilities__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-capabilities__grid {
  display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border);
}
@media (min-width: 640px) { .theme-capabilities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-capabilities__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-capability-card { position: relative; background: var(--color-card); padding: 2rem; transition: background-color 0.3s ease; }
.theme-capability-card:hover { background: var(--color-background); }
.theme-capability-card__top-line { position: absolute; top: 0; left: 0; height: 1px; width: 0; background: var(--color-accent); transition: width 0.5s ease-out; }
.theme-capability-card:hover .theme-capability-card__top-line { width: 100%; }
.theme-capability-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.theme-capability-card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--color-foreground);
  color: var(--color-background); transition: background-color 0.3s ease; flex-shrink: 0;
}
.theme-capability-card:hover .theme-capability-card__icon { background: var(--color-accent); }
.theme-capability-card__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--color-border), color-mix(in srgb, var(--color-border) 60%, transparent), transparent); }
.theme-capability-card__num { font-size: 10px; font-family: var(--font-display); letter-spacing: 0.24em; color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.theme-capability-card__title { font-family: var(--font-display); letter-spacing: 0.01em; font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-capability-card__copy { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-capabilities__cta { margin-top: 3.5rem; display: flex; justify-content: center; }
.theme-capabilities__cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; background: var(--color-foreground); color: var(--color-background);
  padding: 1rem 2rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.3s ease;
}
.theme-capabilities__cta-btn:hover { background: var(--color-accent); }

/* -------------------------------------------------------------------------
   Contact section
   ------------------------------------------------------------------------- */
.theme-contact-section { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--color-border); }
.theme-contact-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-contact-section__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.theme-contact-section__inner {
  position: relative; padding-block: 6rem; min-height: 620px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
@media (min-width: 768px) { .theme-contact-section__inner { padding-block: 8rem; min-height: 680px; } }
.theme-contact-section__eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 90%, transparent); margin-bottom: 1.5rem; }
.theme-contact-section__title {
  font-family: var(--font-display); font-size: 2.25rem; line-height: 1.08; letter-spacing: -0.01em; color: var(--color-background); max-width: 56rem;
}
@media (min-width: 640px) { .theme-contact-section__title { font-size: 3rem; } }
@media (min-width: 768px) { .theme-contact-section__title { font-size: 3.75rem; } }
.theme-contact-section__subtitle { margin-top: 1.5rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-background) 85%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .theme-contact-section__subtitle { font-size: 1.125rem; } }
.theme-contact-section__links {
  margin-top: 3rem; display: grid; grid-template-columns: 1fr; align-items: stretch; justify-content: center;
  gap: 1rem; width: 100%; max-width: 36rem; margin-inline: auto;
}
@media (min-width: 640px) {
  .theme-contact-section__links {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; max-width: 52rem;
  }
}
.theme-contact-pill {
  display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent); background: color-mix(in srgb, var(--color-background) 10%, transparent);
  backdrop-filter: blur(8px); padding: 0.75rem 1.5rem; color: var(--color-background); transition: all 0.3s ease;
}
@media (min-width: 640px) { .theme-contact-pill { width: auto; } }
.theme-contact-pill:hover { background: color-mix(in srgb, var(--color-background) 20%, transparent); border-color: color-mix(in srgb, var(--color-background) 40%, transparent); color: var(--color-accent); }
.theme-contact-pill span { font-size: 0.875rem; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.theme-contact-pill--address,
.theme-contact-link--address { align-items: flex-start; text-align: left; }
.theme-contact-pill--address span,
.theme-contact-link--address span { line-height: 1.5; }
.theme-contact-pill.is-static { cursor: default; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--color-background); border-top: 1px solid var(--color-border); }
.theme-footer__inner { padding-block: 4rem; }
@media (min-width: 768px) { .theme-footer__inner { padding-block: 5rem; } }
.theme-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.theme-footer__brand { grid-column: span 1 / span 1; }
@media (min-width: 1024px) { .theme-footer__brand { grid-column: span 4 / span 4; padding-right: 1rem; } }
.theme-footer__brand-row { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1.25rem; }
.theme-footer__brand-row .site-logo-img { height: 44px; width: 44px; }
.theme-footer__brand-row .theme-brand__text { display: inline-flex; font-size: 22px; }
.theme-footer__tagline { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; max-width: 20rem; }
.theme-footer__col { grid-column: span 1 / span 1; }
@media (min-width: 1024px) {
  .theme-footer__col:nth-of-type(2) { grid-column: span 3 / span 3; }
  .theme-footer__col:nth-of-type(3) { grid-column: span 2 / span 2; }
  .theme-footer__col:nth-of-type(4) { grid-column: span 3 / span 3; }
}
.theme-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.25rem; }
.theme-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer__link { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s ease; text-align: left; }
.theme-footer__link:hover { color: var(--color-accent); }
.theme-footer__link--icon { display: flex; align-items: center; gap: 0.625rem; }
.theme-footer__link--address { align-items: flex-start; }
.theme-footer__link--address span { line-height: 1.5; }
.theme-footer__link.is-static { cursor: default; }
.theme-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-footer__copyright { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-footer__credit { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-footer__credit-prefix { opacity: 0.7; }
.theme-footer__credit a { font-weight: 600; color: var(--color-foreground); transition: color 0.3s ease; }
.theme-footer__credit a:hover { color: var(--color-accent); }

/* -------------------------------------------------------------------------
   Icons
   ------------------------------------------------------------------------- */
.theme-icon { display: inline-block; flex-shrink: 0; }
.theme-icon-xs { width: 12px; height: 12px; }
.theme-icon-sm { width: 14px; height: 14px; }
.theme-icon-4 { width: 16px; height: 16px; }
.theme-icon-md { width: 20px; height: 20px; }
.theme-icon-lg { width: 28px; height: 28px; }

/* =========================================================================
   Cart drawer
   ========================================================================= */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  backdrop-filter: blur(2px); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
  z-index: 70; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
  border-left: 1px solid var(--color-border); transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
  visibility: hidden;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); visibility: visible; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header::after {
  content: ''; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-accent) 50%, transparent), transparent);
}
.theme-cart-drawer__eyebrow { margin-bottom: 0.375rem; }
.theme-cart-drawer__title { font-family: var(--font-display); letter-spacing: 0.02em; font-size: 1.25rem; }
.theme-cart-drawer__close { padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-cart-drawer__close:hover { color: var(--color-accent); }

.theme-cart-drawer__body { flex: 1 1 auto; overflow: auto; padding: 1.5rem; }
.theme-cart-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.theme-cart-empty__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--color-card); border: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.theme-cart-empty__title { font-family: var(--font-display); letter-spacing: 0.02em; font-size: 1rem; margin-bottom: 0.5rem; }
.theme-cart-empty__body { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; max-width: 20rem; }

.theme-cart-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); margin-bottom: 1.25rem; }
.theme-cart-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.theme-cart-item__image { position: relative; width: 80px; height: 96px; background: var(--color-card); border: 1px solid var(--color-border); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.theme-cart-item__image:hover img { transform: scale(1.05); }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__cat { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 80%, transparent); margin-bottom: 0.25rem; }
.theme-cart-item__name { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { color: var(--color-accent); }
.theme-cart-item__price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 0.25rem; font-variant-numeric: tabular-nums; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.375rem 0.5rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty button:hover { background: var(--color-card); }
.theme-cart-item__qty-value { padding: 0.375rem 0.75rem; font-size: 12px; font-family: var(--font-display); min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.theme-cart-item__remove { margin-left: auto; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-display); color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-accent); }

.theme-cart-drawer__footer { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card) 60%, transparent); }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.25rem; }
.theme-cart-drawer__subtotal-label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-display); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-cart-drawer__note { font-size: 11px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-drawer__checkout-btn { display: flex; }
.theme-cart-drawer__empty-btn {
  margin-top: 0.75rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display);
  color: var(--color-muted-foreground); padding-block: 0.5rem; transition: color 0.3s ease;
}
.theme-cart-drawer__empty-btn:hover { color: var(--color-accent); }

/* =========================================================================
   Contact modal
   ========================================================================= */
#theme-contact-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }

#theme-contact-modal {
  position: fixed; left: 50%; top: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border); padding: 1.5rem; box-shadow: var(--shadow-elevated);
  transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-contact-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__header { text-align: left; margin-bottom: 0.5rem; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-top: 0.5rem; }
.theme-contact-modal__subtitle { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }
.theme-contact-modal__quicklinks { display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); padding-top: 0.25rem; margin-bottom: 1rem; }
.theme-contact-modal__quicklinks a { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__quicklinks a:hover { color: var(--color-foreground); }
.theme-contact-modal__success { text-align: center; padding-block: 2rem; }
.theme-contact-modal__success-icon { width: 56px; height: 56px; background: var(--color-accent); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: 1rem; color: var(--color-accent-foreground); }
.theme-contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* =========================================================================
   Shared form styling (contact modal + checkout)
   ========================================================================= */
.theme-form-row { margin-bottom: 1rem; }
.theme-form-row label {
  display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-display);
  font-weight: 600; margin-bottom: 0.375rem;
}
.theme-form-row input, .theme-form-row textarea {
  width: 100%; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid var(--color-border);
  font-size: 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-form-row input::placeholder, .theme-form-row textarea::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.theme-form-row input:focus, .theme-form-row textarea:focus {
  outline: none; border-color: var(--color-foreground); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent);
}
.theme-form-row textarea { resize: none; }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-form-row--triple { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--triple { grid-template-columns: repeat(3, 1fr); } }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__error, .theme-checkout__error {
  color: var(--color-destructive); font-size: 0.875rem; margin: 0.5rem 0;
}
.theme-contact-form__error[hidden], .theme-checkout__error[hidden] { display: none; }

/* =========================================================================
   Product detail page
   ========================================================================= */
.single-dish-main { background: var(--color-background); }
.theme-breadcrumb { padding-block: 1.5rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-display); }
@media (min-width: 768px) { .theme-breadcrumb { padding-block: 2rem; } }
.theme-breadcrumb a:hover { color: var(--color-accent); }
.theme-breadcrumb__sep { margin-inline: 0.5rem; opacity: 0.4; }
.theme-breadcrumb__current { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); text-transform: none; letter-spacing: 0.04em; font-weight: 500; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 0.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; padding-bottom: 7rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-gallery__inner { display: flex; flex-direction: column; }
.theme-product-main-image { order: 1; }
.theme-product-thumbnails { order: 2; display: flex; gap: 0.75rem; overflow-x: auto; margin-top: 1rem; max-width: 100%; padding-bottom: 0.25rem; }
@media (min-width: 1024px) {
  .theme-product-gallery__inner.has-thumbs {
    display: grid; grid-template-columns: minmax(72px, 2fr) minmax(0, 10fr); gap: 1rem; align-items: start;
  }
  .theme-product-gallery__inner.has-thumbs .theme-product-thumbnails { order: 1; flex-direction: column; overflow-x: visible; margin-top: 0; padding-bottom: 0; }
  .theme-product-gallery__inner.has-thumbs .theme-product-main-image { order: 2; }
}
.theme-product-thumb {
  position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--color-card);
  border: 1px solid var(--color-border); transition: border-color 0.2s ease;
}
@media (min-width: 1024px) {
  .theme-product-thumb { width: 100%; aspect-ratio: 1/1; height: auto; }
}
.theme-product-thumb.is-active { border-color: var(--color-accent); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.product-thumb-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active .product-thumb-img { opacity: 1; }
.theme-product-thumb:hover .product-thumb-img { opacity: 1; }

.theme-product-main-image {
  position: relative; aspect-ratio: 1/1; background: var(--color-card); border: 1px solid var(--color-border);
  overflow: hidden; min-width: 0; width: 100%; max-width: 100%; box-shadow: var(--shadow-soft);
}
@media (min-width: 1024px) {
  .theme-product-main-image { box-shadow: var(--shadow-elevated); }
}
.theme-product-main-image__pad { position: absolute; inset: 0; padding: 0.75rem; }
@media (min-width: 1024px) { .theme-product-main-image__pad { padding: 1rem; } }
.theme-product-main-image__frame {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-border) 60%, transparent);
}
.product-main-img {
  position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
}
.theme-product-main-image__badge {
  position: absolute; top: 1.25rem; left: 1.25rem; padding: 2px 8px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  background: color-mix(in srgb, var(--color-background) 85%, transparent); color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  font-family: var(--font-display); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-border) 70%, transparent);
}
@media (min-width: 1024px) {
  .theme-product-main-image__badge { top: 1.5rem; left: 1.5rem; padding: 4px 10px; font-size: 10px; letter-spacing: 0.24em; }
}

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; position: sticky; top: 7rem; align-self: start; } }
.theme-product-info__title.product-title {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.875rem; line-height: 1.05;
  margin-bottom: 1.25rem; text-wrap: balance; font-weight: 500;
}
@media (min-width: 768px) { .theme-product-info__title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.75rem; } }
.theme-product-info__price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; }
.theme-product-info__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .theme-product-info__price { font-size: 1.875rem; } }
.theme-product-info__unavailable { padding: 2px 8px; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; background: var(--color-destructive); color: var(--color-destructive-foreground); }
.theme-product-info__desc { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-block: 1.5rem 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-variations { margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-variation-group__label {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 0.5rem;
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
  padding: 0.5rem 1rem; border: 1px solid var(--color-border); background: transparent;
  font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-foreground); }
.theme-variation-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-variation-pill.is-unavailable { opacity: 0.4; }

.theme-quantity-block { margin-bottom: 1.25rem; }
.theme-quantity-block__label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); background: var(--color-background); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-card); }
.theme-qty-input {
  width: 3.25rem; text-align: center; font-family: var(--font-display); font-size: 0.875rem; font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); border-top: none; border-bottom: none;
  background: transparent; padding: 0.75rem 0;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-trust-strip { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.theme-trust-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--color-border); background: var(--color-card); min-width: 0; }
.theme-trust-item__title { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-trust-item__sub { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.theme-accordion-toggle span { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; font-family: var(--font-display); transition: color 0.2s ease; }
.theme-accordion-toggle--order span { font-family: var(--font-body); font-weight: 700; }
.theme-accordion-toggle:hover span { color: var(--color-accent); }
.theme-accordion-toggle svg { transition: transform 0.2s ease; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-accordion-toggle.is-open svg { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; font-family: var(--font-body); border-bottom: 1px solid var(--color-border); }
.theme-accordion-panel[hidden] { display: none; }
.theme-accordion-panel__desc, .theme-accordion-panel p {
  font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1rem;
  overflow-wrap: break-word; word-break: break-word;
}
.theme-accordion-panel p:last-child { margin-bottom: 0; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-details-list li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; line-height: 1.6; }
.theme-details-list__dot { width: 6px; height: 6px; background: var(--color-accent); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products { padding-block: 4rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .theme-related-products { padding-block: 6rem; } }
.theme-related__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-related__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-related__title { font-family: var(--font-display); letter-spacing: -0.01em; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-related__title { font-size: 2.25rem; } }
.theme-related__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .theme-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-related__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.theme-related__cta { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; font-family: var(--font-display); }
.theme-related__cta:hover { color: var(--color-accent); }

.theme-notfound { text-align: center; padding-block: 6rem; }
.theme-notfound h1 { font-size: 2rem; margin-block: 1.5rem; }
@media (min-width: 768px) { .theme-notfound h1 { font-size: 2.5rem; } }

/* =========================================================================
   Checkout page
   ========================================================================= */
.theme-checkout-main { background: var(--color-background); min-height: 60vh; }
.theme-checkout__continue-link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 500; color: var(--color-muted-foreground); margin-bottom: 2rem; transition: color 0.2s ease;
}
.theme-checkout__continue-link:hover { color: var(--color-accent); }
.theme-checkout__form-state { padding-block: 2.5rem; }
@media (min-width: 768px) { .theme-checkout__form-state { padding-block: 3.5rem; } }
.theme-checkout__intro { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-checkout__intro { margin-bottom: 3.5rem; } }
.checkout-title { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; }
@media (min-width: 768px) { .checkout-title { font-size: 3rem; } }
.theme-checkout__subtitle { margin-top: 1rem; color: var(--color-muted-foreground); max-width: 36rem; }
.theme-checkout__intro .laser-divider { margin-top: 1.5rem; }

.theme-checkout__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-checkout__grid { grid-template-columns: 7fr 5fr; gap: 3.5rem; } }
.theme-checkout__form-col { order: 2; }
.theme-checkout__summary-col { order: 1; }
@media (min-width: 1024px) { .theme-checkout__form-col { order: 1; } .theme-checkout__summary-col { order: 2; } }

.theme-checkout__section { margin-bottom: 2.5rem; }
.theme-checkout__section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.theme-checkout__section-num { font-size: 10px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent); }
.theme-checkout__section-head h2 { font-family: var(--font-display); letter-spacing: 0.02em; font-size: 1.25rem; }
.theme-checkout__section-rule { flex: 1; height: 1px; background: var(--color-border); }
.theme-checkout__submit-wrap { padding-top: 0.5rem; }
.theme-checkout__note { font-size: 12px; color: var(--color-muted-foreground); text-align: center; margin-top: 1rem; }

.theme-checkout__summary-col > div { position: sticky; top: 7rem; }
.theme-checkout__summary { position: relative; padding: 1.5rem; }
@media (min-width: 768px) { .theme-checkout__summary { padding: 1.75rem; } }
.theme-checkout__summary-tab { position: absolute; top: -0.75rem; left: 1.5rem; background: var(--color-card); padding-inline: 0.75rem; font-size: 9px; font-family: var(--font-display); letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-accent); }
.theme-checkout__summary-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.125rem; }
.theme-checkout__summary .laser-divider { margin-block: 0.75rem 1.25rem; }
.theme-checkout__summary-items { display: flex; flex-direction: column; gap: 1.25rem; max-height: 420px; overflow-y: auto; padding-right: 0.25rem; }

.theme-checkout-item { display: flex; gap: 1rem; }
.theme-checkout-item__image { position: relative; width: 64px; height: 80px; background: var(--color-background); border: 1px solid var(--color-border); overflow: hidden; flex-shrink: 0; }
.theme-checkout-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-checkout-item__qty-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding-inline: 4px; display: flex; align-items: center;
  justify-content: center; font-size: 10px; font-family: var(--font-display); font-weight: 600; background: var(--color-foreground);
  color: var(--color-background); box-shadow: 0 0 0 2px var(--color-card);
}
.theme-checkout-item__info { flex: 1; min-width: 0; }
.theme-checkout-item__cat { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 80%, transparent); margin-bottom: 0.125rem; }
.theme-checkout-item__name { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-checkout-item__name:hover { color: var(--color-accent); }
.theme-checkout-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-checkout-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); background: var(--color-background); }
.theme-checkout-item__qty button { padding: 0.375rem 0.375rem; }
.theme-checkout-item__qty button:hover { background: var(--color-card); }
.theme-checkout-item__qty-value { padding: 0.375rem 0.5rem; font-size: 11px; font-family: var(--font-display); min-width: 24px; text-align: center; }
.theme-checkout-item__remove { margin-left: auto; padding: 0.25rem; color: var(--color-muted-foreground); }
.theme-checkout-item__remove:hover { color: var(--color-accent); }
.theme-checkout-item__price { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

.theme-checkout__summary-row { display: flex; justify-content: space-between; font-size: 0.875rem; margin-top: 0.5rem; }
.theme-checkout__summary-row span:first-child { color: var(--color-muted-foreground); }
.theme-checkout__summary-total {
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: baseline;
}
.theme-checkout__summary-total span:first-child { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-checkout__summary-total span:last-child { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-checkout__empty-btn {
  margin-top: 1.25rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); color: var(--color-muted-foreground);
  padding-block: 0.5rem; transition: color 0.3s ease;
}
.theme-checkout__empty-btn:hover { color: var(--color-accent); }

.theme-checkout__success, .theme-checkout__empty { padding-block: 6rem 8rem; text-align: center; }
.theme-checkout__success-inner, .theme-checkout__empty-inner { max-width: 32rem; margin-inline: auto; }
.theme-checkout__success-icon {
  width: 64px; height: 64px; background: var(--color-foreground); display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 2rem; border: 1px solid var(--color-accent); color: var(--color-accent);
}
.theme-checkout__success-title { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-checkout__success-title { font-size: 3rem; } }
.theme-checkout__success .laser-divider { max-width: 20rem; margin-inline: auto; margin-bottom: 1.5rem; }
.theme-checkout__success-body { color: var(--color-muted-foreground); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2.5rem; }
.theme-checkout__empty-icon {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: 1.5rem;
  background: var(--color-card); border: 1px solid var(--color-border); color: var(--color-muted-foreground);
}
.theme-checkout__empty h1 { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-checkout__empty h1 { font-size: 3rem; } }
.theme-checkout__empty-body { color: var(--color-muted-foreground); font-size: 1.125rem; margin-bottom: 2.5rem; }

/* =========================================================================
   404 page
   ========================================================================= */
.theme-404 { display: flex; min-height: 70vh; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404__inner { text-align: center; padding: 2rem; }
.theme-404__code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-display); }
@media (min-width: 768px) { .theme-404__code { font-size: 2.5rem; } }
.theme-404__title { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__body { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-accent); text-decoration: underline; }
.theme-404__link:hover { opacity: 0.9; }

/* =========================================================================
   Generic page template
   ========================================================================= */
.theme-generic-page { background: var(--color-background); min-height: 50vh; }
.theme-generic-page__inner { padding-block: 4rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }

/* =========================================================================
   Single product WooCommerce-style responsive safety rules (Section 11.13,
   applied here to the theme's own dish layout for the same defect classes)
   ========================================================================= */
.theme-product-layout, .theme-product-gallery, .theme-product-info { min-width: 0; }

/* Add-to-cart button style overrides (Section 11.4.1-equivalent, applied to
   the theme's own single_add_to_cart_button) */
.theme-add-to-order.btn-primary-workshop:disabled {
  cursor: not-allowed; opacity: 0.4; pointer-events: none;
}

.woocommerce, .woocommerce-page {
  font-family: var(--font-body);
}
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4,
.woocommerce .product_title, .woocommerce-page h1, .woocommerce-page h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  font-weight: 500;
}

/* =========================================================================
   WooCommerce checkout (native [woocommerce_checkout] / wc_checkout)
   ========================================================================= */
.theme-wc-checkout { margin-top: 1rem; }
.theme-wc-checkout .woocommerce { width: 100%; }
.woocommerce-page .woocommerce-notices-wrapper,
.theme-wc-checkout .woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  border: 1px solid var(--color-border); background: var(--color-card); padding: 1rem 1.25rem;
  color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) {
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.woocommerce-checkout .form-row { margin-bottom: 1rem; }

/* Checkout fields — Lovable parity (px-4 py-3 left to WooCommerce default padding). */
body.woocommerce-checkout .theme-wc-checkout label,
body.woocommerce-checkout form.checkout label,
body.woocommerce-checkout form.checkout .form-row label,
.woocommerce-checkout label,
.woocommerce-checkout .form-row label,
.woocommerce form.checkout .form-row label,
.woocommerce-page.woocommerce-checkout .form-row label {
  display: block !important;
  font-size: 10px !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

body.woocommerce-checkout .theme-wc-checkout input.input-text,
body.woocommerce-checkout .theme-wc-checkout textarea,
body.woocommerce-checkout .theme-wc-checkout select,
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout input[type="text"],
body.woocommerce-checkout form.checkout input[type="email"],
body.woocommerce-checkout form.checkout input[type="tel"],
body.woocommerce-checkout form.checkout input[type="number"],
body.woocommerce-checkout form.checkout input[type="password"],
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout .woocommerce-input-wrapper input,
body.woocommerce-checkout form.checkout .woocommerce-input-wrapper select,
body.woocommerce-checkout form.checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form.checkout .form-row input.input-text,
.woocommerce form.checkout .form-row textarea,
.woocommerce form.checkout .form-row select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background-color: var(--color-background) !important;
  background: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: var(--color-foreground) !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout textarea,
.woocommerce form.checkout .form-row textarea {
  resize: none !important;
  min-height: 6rem !important;
}

body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout input[type="text"]:focus,
body.woocommerce-checkout form.checkout input[type="email"]:focus,
body.woocommerce-checkout form.checkout input[type="tel"]:focus,
body.woocommerce-checkout form.checkout textarea:focus,
body.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce form.checkout .form-row input:focus,
.woocommerce form.checkout .form-row textarea:focus,
.woocommerce form.checkout .form-row select:focus {
  outline: none !important;
  border-color: var(--color-foreground) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent) !important;
}

body.woocommerce-checkout form.checkout input::placeholder,
body.woocommerce-checkout form.checkout textarea::placeholder,
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent) !important;
  opacity: 1 !important;
  font-family: var(--font-body) !important;
}

/* Select2 (country/state) — match Lovable input chrome; keep WC inner padding. */
body.woocommerce-checkout .select2-container,
.woocommerce-checkout .select2-container,
.woocommerce-page.woocommerce-checkout .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout .select2-container .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container .select2-selection--single,
.woocommerce-checkout .select2-container--default .select2-selection--single {
  width: 100% !important;
  background-color: var(--color-background) !important;
  background: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: unset !important;
  height: auto !important;
}

body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--color-foreground) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent) !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: 0.5rem !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--color-foreground) transparent transparent transparent !important;
}

body.woocommerce-checkout .select2-dropdown,
body.woocommerce-checkout .select2-container--default .select2-dropdown,
.woocommerce-checkout .select2-dropdown,
.select2-container--default .select2-dropdown {
  background: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  color: var(--color-foreground) !important;
  box-shadow: var(--shadow-soft) !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option,
.woocommerce-checkout .select2-container--default .select2-results__option {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  padding: 0.5rem 0.75rem !important;
}

body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected],
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--color-foreground) !important;
  color: var(--color-background) !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field,
.woocommerce-checkout .select2-search--dropdown .select2-search__field {
  background: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  color: var(--color-foreground) !important;
}

body.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus,
.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus {
  outline: none !important;
  border-color: var(--color-foreground) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent) !important;
}
#order_review_heading { font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.125rem; margin-bottom: 1rem; }
#order_review {
  background: var(--color-card); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft); padding: 1.5rem;
}
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); text-align: left;
  font-family: var(--font-display);
}
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 1.25rem; font-weight: 600; border-bottom: none;
}
#place_order {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%;
  background: var(--color-accent); color: var(--color-accent-foreground);
  padding: 1rem 2rem; font-family: var(--font-display); font-weight: 500;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  border: none; border-radius: 0; margin-top: 1rem; cursor: pointer;
}
#place_order:hover { background: var(--color-foreground); color: var(--color-background); }
.woocommerce-thankyou-order-received,
.woocommerce-order { max-width: 40rem; }
.woocommerce-order .woocommerce-thankyou-order-received {
  font-family: var(--font-display); font-size: 2.25rem; letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td {
  padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); text-align: left;
}
