/* ==========================================================================
   Annelien's Pie Co — theme.css
   Author: The Free Website Guys
   ========================================================================== */

:root {
  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Karla', sans-serif;

  /* Palette fallbacks — overridden at runtime by Customizer inline CSS */
  --color-background: #f9f6f0;
  --color-card: #fcfaf7;
  --color-muted: #efebe5;
  --color-foreground: #2f2118;
  --color-primary: #533422;
  --color-primary-foreground: #fbf8f4;
  --color-secondary: #eee8dd;
  --color-muted-foreground: #6e5f53;
  --color-accent: #d37e1d;
  --color-accent-foreground: #281d15;
  --color-border: #dfd7cd;
  --color-marigold: #98581f;
  --color-butter: #f4eee1;
  --color-surface-deep: #291d14;
  --color-surface-deep-foreground: #f8f4ed;

  --radius: 0.375rem;
  --card-radius: 0.5rem;
  --shadow-soft: 0 2px 12px -6px rgba(24, 20, 16, 0.20);
  --shadow-elevated: 0 18px 40px -20px rgba(24, 20, 16, 0.40);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: 999px;
  --btn-height: 3.25rem;
  --btn-padding: 1.1rem 2.5rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;

  --header-height: 80px;
  --logo-height: 60px;
  --checkout-gap: 2rem;
}

/* -------------------------------------------------------------------------
   Base / reset
   ---------------------------------------------------------------------- */
* { 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;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* Global img rule must not break cover/full-bleed images (Section 15.1) */
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__img):not(.theme-product-gallery__main-img):not(.theme-product-gallery__stack-img):not(.owner-section__img):not(.menu-tile__img):not(.service-card__img):not(.baking-section__img):not(.contact-cta-section__bg):not(.theme-product-thumbnails__btn img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.hero-bg-img,
.theme-product-card__img,
.theme-product-gallery__main-img,
.theme-product-gallery__stack-img,
.owner-section__img,
.menu-tile__img,
.service-card__img,
.baking-section__img,
.contact-cta-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  text-transform: none;
  font-style: normal;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }

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

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

/* -------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------- */
.btn-hero-primary,
.btn-hero-outline,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-weight: var(--btn-font-weight);
  transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-hero-primary {
  background: var(--color-accent);
  color: var(--color-surface-deep-foreground);
}
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }
.btn-hero-outline {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 40%, transparent);
  color: var(--color-surface-deep-foreground);
}
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-radius);
  padding: 1.25rem 3rem;
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-weight: var(--btn-font-weight);
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.btn-primary-cta:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.btn-outline:hover { border-color: var(--color-foreground); }

/* Lovable shadcn Button parity (rounded-md, not pill) */
.btn-ui-primary,
.btn-ui-outline,
.btn-ui-outline-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-ui-primary {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.btn-ui-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }
.btn-ui-primary--lg {
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 0.875rem;
}
.btn-ui-outline,
.btn-ui-outline-sm {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
}
.btn-ui-outline {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}
.btn-ui-outline-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}
.btn-ui-outline:hover,
.btn-ui-outline-sm:hover {
  background: var(--color-accent);
  color: var(--color-accent-foreground);
}
.btn-ui-primary:disabled,
.btn-ui-outline:disabled,
.btn-ui-outline-sm:disabled { opacity: 0.5; pointer-events: none; }

/* -------------------------------------------------------------------------
   Scroll-reveal animation system (Section 2.1)
   ---------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-fade { transform: none; transition: opacity 0.9s var(--transition-smooth); }
.reveal-item.reveal-fade.is-visible { opacity: 1; }
.reveal-item.reveal-scale { transform: scale(0.96); }
.reveal-item.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Customizer-preview + no-JS fallback: never leave content invisible */
body.is-customizer .reveal-item,
.no-js .reveal-item,
.reveal-item.is-visible {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.theme-animate-fade-in { animation: theme-fade-in 0.5s var(--transition-smooth) forwards; }
.theme-animate-slide-up { animation: theme-slide-up 0.4s var(--transition-smooth) forwards; }

.scroll-mt-anchor { scroll-margin-top: 6rem; }

/* -------------------------------------------------------------------------
   Announcement bar
   ---------------------------------------------------------------------- */
.theme-announcement-bar {
  position: relative;
  background: var(--color-surface-deep);
  color: var(--color-surface-deep-foreground);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.theme-announcement-bar__close {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  opacity: 0.7;
  color: inherit;
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--color-background);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border-bottom-color: var(--color-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 0.75rem;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}
.site-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-height);
  height: var(--logo-height);
  flex-shrink: 0;
}
.site-logo-img {
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; min-width: 0; }
.site-header__brand-text.is-brand-hidden { display: none !important; }
@media (min-width: 640px) {
  .site-header__brand-text:not(.is-brand-hidden) { display: flex; }
}
.site-header__brand-name { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-primary); letter-spacing: 0.01em; }
@media (min-width: 1024px) { .site-header__brand-name { font-size: 1.25rem; } }
.site-header__brand-tagline { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); font-weight: 400; }

.site-header__center-nav { display: none; flex: 1; justify-content: center; }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.theme-nav-list li a,
.theme-nav-list li button {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .theme-nav-list li a,
  .theme-nav-list li button { letter-spacing: 0.15em; }
}
@media (min-width: 1280px) {
  .theme-nav-list li a,
  .theme-nav-list li button { font-size: 12px; letter-spacing: 0.2em; }
}
.theme-nav-list li a { position: relative; display: inline-block; font-family: var(--font-body); transition: color 0.3s ease; }
.theme-nav-list li a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list li a:hover::after { transform: scaleX(1); }
@media (min-width: 1024px) {
  .site-header__center-nav { display: flex; }
}

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.site-header__icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__search-btn { display: none; }
@media (min-width: 768px) { .site-header__search-btn { display: inline-flex; } }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 1.25rem; height: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; font-family: var(--font-body);
  background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 999px; padding: 0 0.25rem;
}
.theme-cart-count:empty { display: none; }
.site-header__menu-toggle { display: inline-flex; }
.site-header__menu-toggle .site-header__icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .site-header__icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .site-header__icon-close { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-header__mobile-menu.is-open { display: block; }
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%; }
.theme-nav-list--mobile li { width: 100%; }
.theme-nav-list--mobile li a { display: block; width: 100%; padding: 0.5rem 0; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.theme-nav-list--mobile li a:hover { color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   Section heading / eyebrow typography (Section 2.2.5 — per-section scales)
   ---------------------------------------------------------------------- */
.section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-marigold);
  margin-bottom: 0.75rem;
}
.section-heading { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.hero-section { position: relative; background: var(--color-background); }
.hero-section__media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .hero-section__media { height: 88vh; min-height: 680px; } }
.hero-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-surface-deep) 50%, transparent); }
.hero-section__content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-section__copy { max-width: 32rem; }
@media (min-width: 768px) { .hero-section__copy { max-width: 36rem; } }
@media (min-width: 1024px) { .hero-section__copy { max-width: 32rem; } }
.hero-section__eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-surface-deep-foreground) 90%, transparent);
  margin-bottom: 1rem;
}
.hero-section__heading {
  font-size: 3rem; line-height: 1.02;
  color: var(--color-surface-deep-foreground);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-section__heading { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-section__heading { font-size: 4.5rem; } }
.hero-section__subtext {
  color: color-mix(in srgb, var(--color-surface-deep-foreground) 85%, transparent);
  font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; padding-right: 1.5rem;
}
@media (min-width: 768px) { .hero-section__subtext { font-size: 1.125rem; } }
.hero-section__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* -------------------------------------------------------------------------
   About
   ---------------------------------------------------------------------- */
.about-section { background: var(--color-card); }
.about-section__outer { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section__outer { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-section__outer { padding-left: 5rem; padding-right: 5rem; } }
.about-section__inner { max-width: 42rem; margin: 0 auto; text-align: center; width: 100%; }
.about-section .section-eyebrow { margin-bottom: 1.25rem; }
.about-section .section-heading { font-size: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__cta { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; }

/* -------------------------------------------------------------------------
   Menu tiles
   ---------------------------------------------------------------------- */
.menu-tiles-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .menu-tiles-section { padding: 5rem 0; } }
.menu-tiles-section__header { text-align: center; margin-bottom: 2.5rem; }
.menu-tiles-section__header .section-eyebrow { margin-bottom: 0.75rem; }
.menu-tiles-section__heading { margin-bottom: 0; }
.menu-tiles-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .menu-tiles-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.menu-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--card-radius);
  text-align: left;
}
.menu-tile__img { transition: transform 0.7s var(--transition-smooth); }
.menu-tile:hover .menu-tile__img { transform: scale(1.05); }
.menu-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent));
  transition: background 0.5s ease;
}
.menu-tile:hover .menu-tile__overlay {
  background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.menu-tile__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-background);
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .menu-tile__content { padding: 1.75rem; } }
.menu-tile__tagline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  margin-bottom: 0.5rem; color: var(--color-marigold); filter: brightness(1.5);
}
.menu-tile__tagline-line {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.menu-tile__label { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.5rem; display: block; }
@media (min-width: 768px) { .menu-tile__label { font-size: 2.25rem; } }
.menu-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   Owner
   ---------------------------------------------------------------------- */
.owner-section { background: var(--color-background); display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .owner-section { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.owner-section__media { position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 1024px) { .owner-section__media { padding: 4rem; } }
.owner-section__img-frame { position: relative; width: 100%; max-width: 24rem; aspect-ratio: 4 / 5; border-radius: var(--card-radius); box-shadow: var(--shadow-elevated); background: var(--color-secondary); overflow: hidden; }
.owner-section__img { position: absolute; inset: 0; object-position: top; }
.owner-section__copy { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .owner-section__copy { padding: 6rem 5rem; } }
.owner-section__copy-inner { max-width: 34rem; }
.owner-section__heading { font-size: 2.25rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .owner-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section__heading { font-size: 3.5rem; } }
.owner-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.4; margin-bottom: 2rem; }
@media (min-width: 768px) { .owner-section__quote { font-size: 1.75rem; } }
.owner-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* -------------------------------------------------------------------------
   Services
   ---------------------------------------------------------------------- */
.services-section { background: var(--color-butter); padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section__header { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .services-section__header { margin-bottom: 5rem; } }
.services-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3.5rem; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.service-card {
  display: flex; flex-direction: column;
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--card-radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-card__image-wrapper { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); }
.service-card__img { transition: transform 0.5s ease; }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .service-card__body { padding: 2rem; } }
.service-card__subtitle { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.service-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; line-height: 1.15; } }
.service-card__description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; flex: 1; }
.services-section__note { text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 42rem; margin: 2.5rem auto 0; }

/* -------------------------------------------------------------------------
   Shop section
   ---------------------------------------------------------------------- */
.shop-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 2.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-section__subtext { color: var(--color-muted-foreground); max-width: 36rem; margin: 0 auto 2.5rem; }

.shop-search { position: relative; max-width: 26rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
  width: 100%; padding: 0.5rem 0 0.5rem 1.75rem;
  background: transparent; border: none; border-bottom: 1px solid var(--color-border);
  font-size: 1rem; color: var(--color-foreground); outline: none;
  transition: border-color 0.2s ease;
}
.shop-search__input:focus { border-color: var(--color-foreground); }

.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-category-pill {
  padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-foreground);
  transition: all 0.3s ease;
}
.shop-category-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-category-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__toggle svg { transition: transform 0.3s ease; }
.shop-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 22rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-price-filter__panel.is-open { max-height: 10rem; opacity: 1; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.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-primary); }
.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-primary); cursor: pointer;
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

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

.theme-card-beyond-initial { display: block; }
.shop-grid-item.theme-force-hide,
.shop-grid-item.is-filter-hidden { display: none !important; }
.theme-product-card-wrap.theme-force-hide { display: none !important; }

.theme-product-card-wrap { display: flex; height: 100%; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.theme-product-card-wrap:hover { transform: translateY(-4px); }
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 1; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link):not(.theme-product-card__add):not(.theme-product-card__badge) { pointer-events: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-secondary); margin-bottom: 1.25rem; border-radius: var(--card-radius); }
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .wp-post-image,
.theme-product-card__img { position: absolute; inset: 0; height: 100% !important; width: 100% !important; object-fit: cover !important; max-width: none !important; }
.theme-product-card__img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  padding: 0.35rem 0.85rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--color-foreground); color: var(--color-background); border-radius: 999px; pointer-events: none;
}
.theme-product-card__add,
.theme-product-card__view {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 4;
  width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-background); color: var(--color-foreground);
  box-shadow: var(--shadow-soft); pointer-events: auto; opacity: 1;
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
}
@media (min-width: 768px) {
  .theme-product-card__add,
  .theme-product-card__view { opacity: 0; }
  .theme-product-card:hover .theme-product-card__add,
  .theme-product-card:hover .theme-product-card__view { opacity: 1; }
}
.theme-product-card__add:hover,
.theme-product-card__view:hover { transform: scale(1.08); background: var(--color-background); }
.theme-product-card__add:active,
.theme-product-card__view:active { transform: scale(0.92); }
.theme-product-card__info { text-align: center; margin-top: 1rem; }
.theme-product-card__title {
  font-family: var(--font-body); font-weight: 500; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4;
  color: var(--color-foreground); transition: color 0.3s ease;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }

.shop-empty-state { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }
.shop-show-more-wrap { text-align: center; margin-top: 2.5rem; }
.shop-bulk-note { text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 2.5rem; }
.shop-bulk-note button { font-weight: 600; color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   How to bake
   ---------------------------------------------------------------------- */
.baking-section { background: var(--color-butter); padding: 5rem 0; }
@media (min-width: 768px) { .baking-section { padding: 7rem 0; } }
.baking-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .baking-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.baking-section__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--card-radius); box-shadow: var(--shadow-elevated); overflow: hidden; order: 2; }
@media (min-width: 1024px) { .baking-section__media { order: 1; } }
.baking-section__copy { order: 1; }
@media (min-width: 1024px) { .baking-section__copy { order: 2; } }
.baking-section__heading { font-size: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .baking-section__heading { font-size: 3rem; } }
.baking-section__steps { display: flex; flex-direction: column; gap: 1.5rem; }
.baking-step { display: flex; gap: 1.25rem; }
.baking-step__number { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); flex-shrink: 0; padding-top: 0.125rem; }
.baking-step__title { font-size: 1.25rem; margin-bottom: 0.25rem; }
.baking-step__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }
.baking-section__note { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 2rem; }

/* -------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------- */
.faq-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .faq-section__header { margin-bottom: 4rem; } }
.faq-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }
.faq-section__list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; text-align: left;
}
@media (min-width: 768px) { .faq-item__question { padding: 1.5rem 0; } }
.faq-item__question span { font-family: var(--font-display); font-size: 1.125rem; transition: color 0.2s ease; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.25rem; } }
.faq-item__question:hover span { color: var(--color-primary); }
.faq-item__question svg { color: var(--color-primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item__question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-item__answer { overflow: hidden; }
.faq-item__answer p { padding: 0 2.5rem 1.5rem 0; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }

/* -------------------------------------------------------------------------
   Contact CTA band + modal
   ---------------------------------------------------------------------- */
.contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-cta-section__bg { position: absolute; inset: 0; }
.contact-cta-section__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 80%, transparent), color-mix(in srgb, var(--color-background) 55%, transparent), color-mix(in srgb, var(--color-background) 90%, transparent)); }
.contact-cta-section__inner { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .contact-cta-section__inner { padding: 8rem 0; } }
.contact-cta-section__card {
  max-width: 42rem; margin: 0 auto; text-align: center;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(4px);
  border-radius: var(--card-radius); box-shadow: var(--shadow-elevated);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  padding: 3rem 2rem;
}
@media (min-width: 768px) { .contact-cta-section__card { padding: 4rem 3.5rem; } }
.contact-cta-section__heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-cta-section__heading { font-size: 3rem; } }
.contact-cta-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

.theme-contact-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-contact-modal.is-open { display: flex; }
.theme-contact-modal__overlay { position: absolute; inset: 0; background: rgba(20, 14, 10, 0.5); animation: theme-fade-in 0.25s ease; }
.theme-contact-modal__panel {
  position: relative; background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 1.5rem; box-shadow: var(--shadow-elevated);
  animation: theme-modal-in 0.3s var(--transition-smooth);
}
@keyframes theme-modal-in { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes theme-modal-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.96) translateY(8px); } }
.theme-contact-modal__panel.is-closing { animation: theme-modal-out 0.2s var(--transition-smooth) forwards; }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; opacity: 0.7; border-radius: 0.125rem; transition: opacity 0.2s ease; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; margin-bottom: 0.375rem; }
.theme-contact-modal__description { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; line-height: 1.5; }
.theme-contact-modal__quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-contact-modal__quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-contact-modal__quicklinks a:hover { color: var(--color-foreground); }
.theme-contact-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 0; }
@media (min-width: 640px) { .theme-contact-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-modal__field { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.theme-contact-modal__field label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-contact-modal__field input,
.theme-contact-modal__field textarea {
  width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
  border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem;
  font-family: var(--font-body); color: var(--color-foreground); transition: box-shadow 0.3s ease;
}
.theme-contact-modal__field input::placeholder,
.theme-contact-modal__field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-modal__field textarea { resize: none; }
.theme-contact-modal__field input:focus,
.theme-contact-modal__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-contact-modal__error { color: #b3261e; font-size: 0.875rem; margin: 0; }
.theme-contact-modal__actions { display: flex; justify-content: flex-end; }
.theme-contact-modal__submit svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-contact-modal__success-state { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-modal__success-icon svg { width: 1.75rem; height: 1.75rem; }
.theme-contact-modal__success-state h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.5rem; }
.theme-contact-modal__success-state p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .site-footer__main {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
    padding-block: 4.5rem;
    padding-inline: 2rem;
  }
}
.site-footer__brand-col { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; grid-column: span 12; }
@media (min-width: 1024px) { .site-footer__brand-col { grid-column: span 4; } }
.site-footer__logo-link { display: inline-flex; align-items: center; }
.site-footer .site-logo-wrap {
  width: var(--logo-height);
  height: var(--logo-height);
}
.site-footer .site-logo-img { height: 100% !important; width: 100% !important; max-width: none !important; object-fit: contain !important; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent); margin-top: 0.5rem; }
.site-footer__nav-col, .site-footer__contact-col { grid-column: span 12; }
@media (min-width: 1024px) { .site-footer__nav-col, .site-footer__contact-col { grid-column: span 4; } }
.site-footer__col-heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-surface-deep-foreground) 50%, transparent); margin-bottom: 1.25rem; }
.theme-footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); transition: color 0.2s ease; width: fit-content; }
.theme-footer-nav a:hover { color: var(--color-surface-deep-foreground); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); transition: color 0.2s ease; }
.site-footer__contact-link:hover { color: var(--color-surface-deep-foreground); }
.site-footer__address svg { margin-top: 0.15rem; flex-shrink: 0; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  padding-inline: 1.5rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .site-footer__bottom-inner { padding-inline: 2rem; }
}
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 12px; color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent); letter-spacing: 0.02em; }
.site-footer__credit a { font-weight: 700; color: color-mix(in srgb, var(--color-surface-deep-foreground) 90%, transparent); text-underline-offset: 4px; }
.site-footer__credit a:hover { text-decoration: underline; color: var(--color-surface-deep-foreground); }

/* -------------------------------------------------------------------------
   404
   ---------------------------------------------------------------------- */
.theme-404-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
}
.theme-404 { text-align: center; padding: 6rem 1.5rem; max-width: 32rem; margin: 0 auto; }
.theme-404__code { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__heading { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.theme-no-hero-spacer { padding-top: 2rem; }
.single-product-main { padding-top: 6rem; padding-bottom: 6rem; background: var(--color-background); }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.theme-archive-header { padding-top: 3rem; }
.theme-archive-header .page-title { font-size: 2rem; margin-bottom: 2rem; }
.archive-product-grid { margin-bottom: 3rem; }
.theme-archive-pagination { text-align: center; margin-top: 2rem; }
.theme-archive-pagination .page-numbers { display: inline-flex; gap: 0.5rem; list-style: none; padding: 0; }
.theme-archive-pagination a, .theme-archive-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.theme-archive-pagination .current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* Add to cart button override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
/* Card compact circular button — overrides global rules, scoped after them */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: var(--btn-icon-padding) !important;
  border-radius: 50% !important;
  width: 2.5rem !important;
  height: 2.5rem !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; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Single product responsive layout (Section 11.13) */
.single-product .theme-product-layout {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding: 1rem 0 6rem; min-width: 0; align-items: start;
}
@media (min-width: 1024px) {
  .single-product .theme-product-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
  .theme-product-gallery { grid-column: span 7; }
  .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.single-product__breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product__breadcrumb a:hover { color: var(--color-foreground); }
.single-product__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product__breadcrumb-current a { color: inherit; }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery--mobile { display: block; }
.theme-product-gallery--desktop { display: none; }
@media (min-width: 1024px) {
  .theme-product-gallery--mobile { display: none; }
  .theme-product-gallery--desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-gallery__main { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__main--mobile { border-radius: 0; }
.theme-product-gallery__stack-item { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__stack-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumbnails__btn { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; border-radius: 0; background: var(--color-secondary); opacity: 0.6; transition: opacity 0.2s ease; border: none; padding: 0; }
.theme-product-thumbnails__btn img { width: 100%; height: 100%; object-fit: cover; position: static; inset: auto; }
.theme-product-thumbnails__btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-foreground);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.theme-product-thumbnails__btn:hover, .theme-product-thumbnails__btn.is-active { opacity: 1; }
.theme-product-thumbnails__btn.is-active::after { opacity: 1; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; }
.theme-product-info__category a { color: inherit; }
.theme-product-info__title.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 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 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__intro { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }
.theme-product-info__field-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-product-info__stock { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-info__stock.is-out-of-stock { color: #b3261e; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; width: auto; max-width: max-content; flex-shrink: 0; border: 1px solid var(--color-border); border-radius: var(--radius); }
.theme-qty-minus, .theme-qty-plus { padding: 0.65rem 0.9rem; transition: background-color 0.2s ease; display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground); }
.theme-qty-minus svg, .theme-qty-plus svg { display: block; flex-shrink: 0; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; padding: 0.65rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
  display: flex; align-items: flex-start; flex-direction: column; gap: 0.75rem; margin: 0;
}
.single-product .theme-quantity-wrapper { align-self: flex-start; }
.single-product .single_add_to_cart_button.btn-product-add,
.single-product .btn-product-add {
  align-self: stretch;
  width: 100%;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: unset !important;
  padding: 1rem 2rem !important;
  font-size: 12px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}
.single-product .single_add_to_cart_button.btn-product-add:hover,
.single-product .btn-product-add:hover {
  opacity: 0.9 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-accordion { border-bottom: 1px solid var(--color-border); }
.theme-product-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.theme-product-accordion__toggle svg { flex-shrink: 0; transition: transform 0.3s ease; }
.theme-product-accordion__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-product-accordion__panel { padding-bottom: 1.5rem; }
.theme-product-accordion__description,
.theme-product-accordion__panel p { color: var(--color-muted-foreground); line-height: 1.7; font-size: 15px; margin-bottom: 1rem; }
.theme-product-accordion__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-accordion__list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7;
}
.theme-product-accordion__list li::before {
  content: '';
  width: 0.25rem; height: 0.25rem; border-radius: 50%;
  background: var(--color-foreground); margin-top: 0.55rem; flex-shrink: 0;
}

.theme-product-info__description,
.theme-product-info__details { margin-top: 1.5rem; }
.theme-product-info__details-title { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.75rem; }
.theme-product-info__details-body p, .theme-product-info__description p { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 0.75rem; }
.single-product__back-link { margin-top: 2rem; }
.single-product__back-link a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.single-product .variations tbody td.value select { width: 100%; max-width: 20rem; padding: 0.6rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); }
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

.theme-variation-group { margin-bottom: 1.5rem; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-foreground);
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.theme-attribute-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attribute-pill.is-active {
  background: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}
.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;
}
.theme-variation-select { position: absolute; opacity: 0; pointer-events: none; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 0; }
.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__heading { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-grid { margin-top: 0; }

/* -------------------------------------------------------------------------
   Side cart drawer
   ---------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 60;
  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; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 0; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-cart-drawer__empty svg { margin-bottom: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { margin: 0 0 1.5rem; font-family: var(--font-body); }
.theme-cart-drawer__empty .btn-ui-outline { width: 100%; max-width: none; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { display: block; width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0; background: var(--color-secondary); }
.theme-cart-drawer__item-image img,
.theme-cart-drawer__item-image .wp-post-image,
.theme-cart-drawer__item-image .attachment-woocommerce_thumbnail {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
}
.theme-cart-drawer__item-body { flex: 1; min-width: 0; font-family: var(--font-body); }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; font-family: var(--font-body); }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.theme-cart-drawer__remove { margin-left: auto; padding: 0.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; font-family: var(--font-body); background: none; border: none; cursor: pointer; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; font-family: var(--font-body); }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; font-family: var(--font-body); }
.theme-cart-drawer__checkout {
  width: 100%;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.875rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}
.theme-cart-drawer__checkout:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); }
.theme-cart-drawer__empty-cart-btn {
  width: 100%;
}

/* ==========================================================================
   Checkout / Cart / My Account / Thank-you pages
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.theme-page-container .page-title { font-size: 2rem; margin-bottom: 2rem; padding-top: 1rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-notice-banner {
  font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-select-control select,
body.woocommerce-checkout .wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-checkout select,
body.woocommerce-checkout form.checkout select {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  background: var(--color-background) !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}
body.woocommerce-checkout .wc-block-components-select-control {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  background: var(--color-background) !important;
  color: var(--color-foreground) !important;
  min-height: 3rem !important;
}
body.woocommerce-checkout .wc-block-components-select-control button,
body.woocommerce-checkout .wc-block-components-select-control .components-custom-select-control__button {
  border: none !important;
  border-radius: var(--radius) !important;
  background: transparent !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  width: 100% !important;
  min-height: 3rem !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
body.woocommerce-checkout .wc-block-components-select-control button:focus,
body.woocommerce-checkout .wc-block-components-select-control .components-custom-select-control__button:focus {
  outline: none !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-text-input textarea::placeholder {
  color: var(--color-muted-foreground) !important;
  opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout select.wc-block-components-select-control__select:focus,
body.woocommerce-checkout .wc-block-components-select-control select:focus,
body.woocommerce-checkout .wc-block-components-select-control__select:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-checkout 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-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  height: auto !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select.wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-select-control select,
body.woocommerce-checkout .wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-checkout select {
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}
/* Flatten nested WC checkout grids — single 2-column layout at desktop */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout {
  display: block !important;
  width: 100%;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
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 {
  width: 100% !important;
  max-width: none !important;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.is-large {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: var(--checkout-gap) !important;
    align-items: start !important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout {
    display: block !important;
    grid-template-columns: none !important;
  }
}

body.woocommerce-cart .wc-block-cart {
  font-family: var(--font-body);
}
@media (min-width: 768px) {
  body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}
body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-components-totals-item { font-family: var(--font-body); }

/* Thank-you page (Section 22.8) */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; border: 1px solid var(--color-border); border-radius: var(--card-radius); margin: 0; }
body.theme-thankyou-page .woocommerce-order-overview li { padding: 1rem 1.5rem; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-family: var(--font-display); font-size: 1rem; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; overflow-wrap: break-word; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem; }
