/* =========================================================================
   Lather & Loop theme stylesheet
   ========================================================================= */

:root {
  --color-background: #faf6f0;
  --color-foreground: #6f5444;
  --color-card: #ffffff;
  --color-primary: #b99364;
  --color-primary-foreground: #ffffff;
  --color-secondary: #f1ece4;
  --color-muted-foreground: #846f62;
  --color-border: #dbd1c7;

  --font-display: 'Playfair Display', Georgia, ui-serif, serif;
  --font-body: 'Inter', 'Outfit', system-ui, sans-serif;

  --radius: 0.85rem;
  --radius-xl: 0.75rem;
  --shadow-soft: 0 8px 24px -12px rgba(41, 26, 15, 0.14);
  --shadow-elevated: 0 20px 48px -20px rgba(41, 26, 15, 0.22);
  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  --logo-height: 67px;
  --header-height: 88px;

  --btn-radius: 999px;
  --btn-height: 44px;
  --btn-padding: 0 1.75rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.24em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.5rem;
}

/* -------------------------------------------------------------------------
   Reset / base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Subtle linen paper texture — parity with src/index.css */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: inherit;
  letter-spacing: -0.012em;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-section__img):not(.theme-product-card__img):not(.collection-tile__bg):not(.theme-product-main-img):not(.theme-product-thumb__img):not(.theme-cart-drawer__pair-img-el) {
  max-width: 100%;
  height: auto;
  display: block;
}
.cover-img, .hero-section__img, .theme-product-card__img, .collection-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.theme-product-thumb__img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-product-main-img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: center;
  display: block;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  background: var(--color-foreground); color: #fff; padding: 0.5rem 1rem; border-radius: 6px;
  width: auto; height: auto; clip: auto;
}

/* -------------------------------------------------------------------------
   Layout containers
   ---------------------------------------------------------------------- */
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }
.scroll-mt { scroll-margin-top: 8rem; }

.page-shell { padding-top: 8rem; padding-bottom: 5rem; min-height: 40vh; }
.page-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
   Utility: eyebrow / divider / card / badge / buttons
   ---------------------------------------------------------------------- */
.label-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted-foreground);
}
.label-eyebrow--primary { color: var(--color-primary); }
.label-eyebrow--light { color: rgba(255,255,255,0.7); }

.divider-botanical {
  height: 20px; display: flex; align-items: center; gap: 10px;
  max-width: 20rem; margin-top: 1.5rem;
}
.divider-botanical.divider-center { margin-left: auto; margin-right: auto; }
.divider-botanical::before, .divider-botanical::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 70%, transparent), transparent);
}
.divider-light::before, .divider-light::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.card-kraft {
  border-radius: var(--radius-xl);
  background: var(--color-card);
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .card-kraft { padding: 2rem; } }

.sticker-badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: 0.3rem 0.75rem;
  font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; font-family: var(--font-body);
  background: color-mix(in srgb, var(--color-background) 85%, transparent);
  backdrop-filter: blur(4px);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.lift-on-hover { transition: all 0.3s var(--transition-smooth); }
@media (prefers-reduced-motion: no-preference) {
  .lift-on-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 2px solid var(--color-foreground);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-foreground);
}
.btn-primary:hover { box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.btn-hero-primary {
  height: 3rem;
  padding: 0 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.btn-outline { background: transparent; color: var(--color-foreground); }
.btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-secondary { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
body.single-product .variations label { text-transform: uppercase; }

/* -------------------------------------------------------------------------
   Scroll reveal (Section 2.1)
   ---------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22,0.61,0.36,1), transform 0.8s cubic-bezier(0.22,0.61,0.36,1);
  will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; }
}
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@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.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.8s var(--transition-smooth) forwards; }

@keyframes ken-burns {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.08) translate(-1.5%,-1%); }
  100% { transform: scale(1) translate(0,0); }
}
.animate-ken-burns { animation: ken-burns 22s ease-in-out infinite; will-change: transform; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
  background: var(--color-primary); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

.site-header {
  position: fixed; top: 0.75rem; left: 0; right: 0; z-index: 50;
  padding: 0 0.75rem;
  pointer-events: none;
}
@media (min-width: 768px) { .site-header { top: 1.25rem; padding: 0 1.5rem; } }
.site-header__bar {
  pointer-events: auto;
  margin: 0 auto; max-width: 72rem;
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(8px);
  border: 2px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  border-radius: 999px;
  box-shadow: 0 10px 40px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
}
.site-header__inner {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  height: 4.2rem; padding: 0 1rem;
}
@media (min-width: 768px) { .site-header__inner { padding: 0 1.5rem; } }
.site-header__left { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.site-header__menu-toggle { padding: 0.5rem; margin-left: -0.5rem; }
.site-header__menu-toggle:hover { opacity: 0.6; }
.site-header__nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } .site-header__menu-toggle { display: none; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link {
  position: relative;
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 600; color: var(--color-foreground);
  transition: color 0.3s;
}
.theme-nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 3px;
  border-radius: 999px; background: var(--color-primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__brand { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.site-header__right { display: flex; align-items: center; gap: 0.1rem; }
.site-header__icon-btn[data-search-open] { display: none; }
@media (min-width: 640px) {
  .site-header__icon-btn[data-search-open] { display: inline-flex; }
}
.site-header__icon-btn {
  position: relative; width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.site-header__icon-btn:hover { color: var(--color-primary); }
.theme-cart-count {
  position: absolute; top: -0.05rem; right: -0.05rem;
  width: 1.15rem; height: 1.15rem; display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* Solid header state (inner pages / scrolled) */
.site-header.is-solid .site-header__bar { background: var(--color-background); }

/* -------------------------------------------------------------------------
   Mobile Menu — parity with Header.tsx Sheet
   ---------------------------------------------------------------------- */
.mobile-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: 88vw; max-width: 24rem;
  z-index: 90; transform: translateX(-100%); transition: transform 0.35s var(--transition-smooth);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__panel {
  height: 100%;
  background: var(--color-background);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 4.8rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.mobile-menu__brand {
  position: static;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
}
.mobile-menu__logo {
  height: 3.4rem !important;
  width: auto !important;
  padding: 0;
}
.mobile-menu__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}
.mobile-menu__close {
  padding: 0.25rem;
  transition: opacity 0.3s;
}
.mobile-menu__close:hover { opacity: 0.6; }

.mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.5rem; /* py-3 px-2 */
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu__list li {
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
}
.mobile-menu__link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 0.75rem; /* py-4 px-3 */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.mobile-menu__link:hover { color: var(--color-primary); }

.mobile-menu__footer {
  border-top: 1px solid var(--color-border);
  padding: 1rem 0.75rem; /* py-4 px-3 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem; /* gap-2 */
  flex-shrink: 0;
}
.mobile-menu__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* gap-2 */
  min-height: 0;
  padding: 0.75rem 0.5rem; /* py-3 */
  border: 2px solid var(--color-foreground);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem; /* text-sm */
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.mobile-menu__action:hover {
  background: var(--color-foreground);
  color: var(--color-background);
}
.mobile-menu__action--primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.mobile-menu__action--primary:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  opacity: 0.92;
}

.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 85;
  background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.mobile-menu-open .mobile-menu-overlay { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------------------
   Site identity
   ---------------------------------------------------------------------- */
.site-logo-img {
  height: calc(var(--logo-height) * 0.905) !important;
  width: auto !important;
  display: block;
  padding: 5px 0;
}
@media (min-width: 768px) {
  .site-logo-img { height: var(--logo-height) !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: var(--logo-height); display: block; }
.site-logo-text--footer { color: var(--color-background); font-size: 1.75rem; }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
body.theme-no-hero .site-main,
body:not(.theme-no-hero) .hero-section { }
.hero-section { position: relative; width: 100%; }
.hero-section__media { position: relative; width: 100%; min-height: 100vh; overflow: hidden; background: var(--color-secondary); }
.hero-section__img { animation: ken-burns 22s ease-in-out infinite; will-change: transform; }
.hero-section__tint { position: absolute; inset: 0; background: color-mix(in srgb, #f2e5c1 12%, transparent); backdrop-filter: blur(1px); }
.hero-section__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 85%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 20%, transparent)); }
.hero-section__content-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 5rem; }
@media (min-width: 768px) { .hero-section__content-wrap { padding-top: 6rem; } }
.hero-section__content { width: 100%; text-align: center; padding: 0 1.5rem 4rem; max-width: 64rem; }
@media (min-width: 768px) { .hero-section__content { padding-bottom: 6rem; } }
@media (min-width: 1024px) { .hero-section__content { padding-bottom: 7rem; } }
.hero-section__title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(41,26,15,0.55), 0 0 2px rgba(41,26,15,0.35);
  font-size: 2.25rem; line-height: 1.08; margin-bottom: 2rem; font-weight: 700; text-align: center;
}
@media (min-width: 768px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }

/* -------------------------------------------------------------------------
   Section headings (per-section scale, Section 2.2 rule 5)
   ---------------------------------------------------------------------- */
.section-heading { color: var(--color-foreground); font-weight: 700; line-height: 1.15; margin-top: 0.75rem; }
.collection-section__heading, .maker-section__heading, .two-loves-section__heading,
.faq-section__heading, .contact-section__heading {
  font-size: 2.25rem;
}
@media (min-width: 768px) { .collection-section__heading, .maker-section__heading, .two-loves-section__heading, .faq-section__heading, .contact-section__heading { font-size: 3rem; } }
.product-row-section__heading { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 640px) { .product-row-section__heading { font-size: 1.875rem; } }
.shop-heading { font-size: 1.875rem; font-weight: 500; }
@media (min-width: 640px) { .shop-heading { font-size: 2.25rem; } }
.faq-section__heading, .contact-section__heading { color: var(--color-background); }
.contact-section__heading { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   Our Collection
   ---------------------------------------------------------------------- */
.collection-section { background: var(--color-background); padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); }
@media (min-width: 1024px) { .collection-section { padding: 7rem 0; } }
.collection-section__head { text-align: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .collection-section__head { margin-bottom: 4rem; } }
.collection-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .collection-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .collection-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.collection-tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--color-card); padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
  box-shadow: var(--shadow-soft);
  text-align: left; min-height: 320px;
  transition: all 0.3s var(--transition-smooth);
}
@media (min-width: 768px) { .collection-tile { padding: 2rem; } }
.collection-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.collection-tile__bg { opacity: 0; transition: opacity 0.5s; }
.collection-tile:hover .collection-tile__bg { opacity: 1; }
.collection-tile__overlay { position: absolute; inset: 0; background: transparent; transition: background 0.5s; z-index: 1; }
.collection-tile:hover .collection-tile__overlay { background: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.collection-tile__content { position: relative; z-index: 2; }
.collection-tile__icon {
  width: 3rem; height: 3rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-primary); margin-bottom: 1.25rem; color: var(--color-primary);
  transition: all 0.5s;
}
.collection-tile:hover .collection-tile__icon { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-foreground); }
.collection-tile__title { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; line-height: 1.3; color: var(--color-foreground); transition: color 0.5s; }
.collection-tile:hover .collection-tile__title { color: var(--color-background); }
.collection-tile__copy { display: block; font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: color 0.5s; }
.collection-tile:hover .collection-tile__copy { color: color-mix(in srgb, var(--color-background) 90%, transparent); }

/* -------------------------------------------------------------------------
   Product Row / Carousel
   ---------------------------------------------------------------------- */
.product-row-section { background: var(--color-background); padding: 3.5rem 0; }
@media (min-width: 1024px) { .product-row-section { padding: 5rem 0; } }
.product-row-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.product-row-section__nav { display: flex; align-items: center; gap: 0.25rem; }
.carousel-arrow {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 2px solid var(--color-foreground);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground);
  transition: background 0.2s;
}
.carousel-arrow:hover { background: var(--color-primary); color: var(--color-foreground); }
.product-row-section__scroller {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
  scrollbar-width: none;
}
@media (min-width: 1024px) {
  .product-row-section__scroller { gap: 1.5rem; }
}
.product-row-section__scroller::-webkit-scrollbar { display: none; }
.product-row-section__scroller .theme-product-card-wrap {
  flex-shrink: 0; width: 68vw; scroll-snap-align: start;
}
@media (min-width: 640px) { .product-row-section__scroller .theme-product-card-wrap { width: 40vw; } }
@media (min-width: 768px) { .product-row-section__scroller .theme-product-card-wrap { width: 30vw; } }
@media (min-width: 1024px) { .product-row-section__scroller .theme-product-card-wrap { width: calc((100% - 4.5rem) / 4); gap: 1.5rem; } }

/* -------------------------------------------------------------------------
   Product Card (shared)
   ---------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem 1.25rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: block; min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
  box-shadow: var(--shadow-soft);
}
.theme-product-card__img { transition: transform 0.5s; }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__img.is-sold-out { opacity: 0.6; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; }
.theme-product-card__info { flex: 1; padding-top: 1rem; text-align: center; }
.theme-product-card__title {
  font-family: var(--font-display); font-size: 1rem; color: var(--color-foreground);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card__cat {
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground);
  margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card__price { font-size: 0.875rem; font-weight: 600; color: var(--color-primary); margin-top: 0.25rem; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
body.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   Meet the Maker / Two Loves
   ---------------------------------------------------------------------- */
.maker-section, .two-loves-section { background: var(--color-foreground); padding: 5rem 0; }
@media (min-width: 1024px) { .maker-section, .two-loves-section { padding: 7rem 0; } }
.two-loves-section { border-top: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); }
.maker-section__grid, .two-loves-section__grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; min-width: 0;
}
@media (min-width: 1024px) {
  .maker-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .two-loves-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}
.maker-section__media, .two-loves-section__media {
  position: relative; min-height: 22.5rem; height: 100%; overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); box-shadow: var(--shadow-soft);
}
.two-loves-section__media { order: 1; }
.two-loves-section__content { order: 2; }
@media (min-width: 1024px) { .two-loves-section__media { order: 2; } .two-loves-section__content { order: 1; } }
.maker-section__content, .two-loves-section__content { height: 100%; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
/* Card-kraft panels use foreground text on white cards (parity with Index.tsx) */
.maker-section .card-kraft .section-heading,
.two-loves-section .card-kraft .section-heading {
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}
.two-loves-section .card-kraft .section-heading { font-weight: 500; }
.maker-section .card-kraft .maker-section__p,
.two-loves-section .card-kraft .two-loves-section__p {
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  line-height: 1.6;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}
.maker-section .card-kraft .maker-section__p:last-of-type,
.two-loves-section .card-kraft .two-loves-section__p:last-of-type { margin-bottom: 2rem; }
.maker-section .card-kraft .btn,
.two-loves-section .card-kraft .btn { align-self: flex-start; margin-top: 0; }

/* -------------------------------------------------------------------------
   Shop Section
   ---------------------------------------------------------------------- */
.shop-section { background: var(--color-background); padding: 3.5rem 0; }
@media (min-width: 1024px) { .shop-section { padding: 5rem 0; } }
.shop-section__head { margin-bottom: 2rem; }
.shop-section__head .divider-botanical { margin-top: 1.5rem; }
.shop-section__head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.shop-section__count { font-size: 0.75rem; color: var(--color-muted-foreground); }
.shop-section__controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2.5rem 0; align-items: end; }
@media (min-width: 1024px) { .shop-section__controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.shop-search { position: relative; max-width: 28rem; width: 100%; }
.shop-search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.5rem; border-radius: 999px;
  border: 1px solid var(--color-border); background: var(--color-card); font-size: 0.875rem; color: var(--color-foreground);
}
.shop-search input:focus { outline: none; border-color: var(--color-primary); }
.shop-price-filter { width: 100%; }
@media (min-width: 1024px) { .shop-price-filter { width: 18rem; } }
.shop-price-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.shop-price-filter__label { font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.shop-price-filter__values { font-size: 0.75rem; color: var(--color-foreground); }

.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-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-primary); border: 2px solid var(--color-card); box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer;
}
.range-input::-moz-range-thumb {
  pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary); border: 2px solid var(--color-card); box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-section__cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-cat-chip {
  height: 2.25rem; padding: 0 1rem; display: inline-flex; align-items: center;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); border-radius: 999px;
  color: var(--color-foreground); background: transparent; transition: all 0.2s;
}
.shop-cat-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-chip.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-section__empty { text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); padding: 4rem 0; }
.shop-section__see-more { text-align: center; margin-top: 2.5rem; }
.theme-product-card-wrap.is-filtered-out { display: none; }
.theme-product-card-wrap.is-hidden-more { display: none; }

/* -------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------- */
.faq-section { position: relative; padding: 5rem 0; border-top: 1px solid var(--color-border); overflow: hidden; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.faq-section__bg { position: absolute; inset-inline: 0; top: -25%; width: 100%; height: 150%; transform: scale(1.08); will-change: transform; }
.faq-section__tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.faq-section__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 30%, transparent), transparent, color-mix(in srgb, var(--color-foreground) 30%, transparent)); }
.faq-section__radial { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(109,83,67,0.25) 100%); }
.faq-section__grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
@media (min-width: 1024px) {
  .faq-section__intro { position: sticky; top: 8rem; align-self: start; }
}
.faq-section__intro-text { color: color-mix(in srgb, var(--color-background) 80%, transparent); line-height: 1.6; margin-top: 1.5rem; max-width: 28rem; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 1.25rem 0; gap: 1.5rem; }
.faq-item__question span:first-child { font-size: 0.9rem; color: var(--color-background); transition: color 0.2s; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1rem; } }
.faq-item__question:hover span:first-child { color: var(--color-primary); }
.faq-item__icon { flex-shrink: 0; color: var(--color-background); }
.faq-item__icon--minus { display: none; }
.faq-item.is-open .faq-item__icon--plus { display: none; }
.faq-item.is-open .faq-item__icon--minus { display: block; }
.faq-item__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-item__answer p {
  font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 80%, transparent);
  line-height: 1.6; padding: 0 2.5rem 1.5rem 0;
}
.faq-item.is-open .faq-item__answer { max-height: 40rem; }

/* -------------------------------------------------------------------------
   Contact
   ---------------------------------------------------------------------- */
.contact-section { background: var(--color-background); padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__heading { margin-bottom: 1.5rem; }
.contact-section__intro { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 2rem; max-width: 28rem; }
.contact-section__links { display: flex; flex-direction: column; gap: 1rem; }
.contact-section__link { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); transition: opacity 0.2s; }
.contact-section__link:hover { opacity: 0.7; }
.contact-section__icon-badge {
  width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--color-primary);
  border: 2px solid var(--color-foreground); display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground);
}
.contact-section__form-panel { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 1024px) { .contact-section__form-panel { padding: 3rem; } }
.contact-section__form-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2; margin: 0.75rem 0 1.5rem; }
@media (min-width: 768px) { .contact-section__form-heading { font-size: 1.875rem; } }
.contact-section__form-intro { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
   Footer — spacing/layout parity with src/components/layout/Footer.tsx
   container-wide: pt-16 lg:pt-20 pb-4
   grid: gap-10 lg:gap-12, md:grid-cols-4, items-start
   bottom: mt-8 pt-4 gap-4
   ---------------------------------------------------------------------- */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.site-footer__inner {
  padding-top: 4rem;
  padding-bottom: 1rem;
}
@media (min-width: 1024px) {
  .site-footer__inner { padding-top: 5rem; }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { gap: 3rem; }
}

.site-footer__brand-col,
.site-footer__col { min-width: 0; }

.site-footer__brand-col > a {
  display: inline-block;
  line-height: 0;
}

.site-logo-img--footer {
  filter: brightness(0) invert(1);
  height: 6rem !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}

.site-footer__tagline {
  margin: 1.5rem 0 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
  max-width: 20rem;
  line-height: 1.625;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__links > li {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.site-footer__links a,
.site-footer__link {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
  text-align: left;
  transition: color 0.3s;
}
.site-footer__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.site-footer__links a:hover,
.site-footer__link:hover { color: var(--color-primary); }

.site-footer__links--contact {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
}
.site-footer__links--contact li:not(.site-footer__location) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--color-background) 70%, transparent);
}
.site-footer__links--contact a {
  color: inherit;
  transition: color 0.3s;
}
.site-footer__links--contact a:hover { color: var(--color-primary); }
.site-footer__links--contact svg { flex-shrink: 0; width: 1rem; height: 1rem; }

.site-footer__location {
  display: block;
  padding-top: 0.25rem;
  color: color-mix(in srgb, var(--color-background) 60%, transparent);
}

.site-footer__bottom {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

.site-footer__copyright {
  font-family: var(--font-body);
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: color-mix(in srgb, var(--color-background) 60%, transparent);
  margin: 0;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .site-footer__copyright { text-align: left; }
}

.site-footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-background) 80%, transparent);
  text-align: center;
  max-width: 28rem;
  margin: 0;
  min-width: 0;
}
@media (min-width: 640px) {
  .site-footer__quote {
    font-size: 1rem;
    text-align: right;
    flex-shrink: 1;
  }
}

/* -------------------------------------------------------------------------
   Cart Drawer
   ---------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 150; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem; z-index: 151;
  background: var(--color-background); 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: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; font-weight: 500; }
.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: 2rem; text-align: center; gap: 1.25rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-drawer__item { display: flex; gap: 1.25rem; }
.theme-cart-drawer__item-img { width: 6rem; height: 8rem; flex-shrink: 0; overflow: hidden; border-radius: 1rem; background: var(--color-secondary); }
.theme-cart-drawer__item-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-drawer__item-name { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; margin-top: 0.35rem; }
.theme-cart-drawer__item-price { font-size: 0.875rem; margin-top: 0.35rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-drawer__qty { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.theme-cart-drawer__qty button { padding: 0.35rem 0.6rem; transition: background 0.2s; }
.theme-cart-drawer__qty button:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty span { padding: 0 0.5rem; font-size: 0.875rem; min-width: 1.75rem; text-align: center; }
.theme-cart-drawer__remove { font-size: 0.75rem; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }

/* Pair-it-with upsell row (parity with CartDrawer.tsx) */
.theme-cart-drawer__pair {
  flex-shrink: 0;
  padding: 0 2rem 1.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.theme-cart-drawer__pair-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
}
.theme-cart-drawer__pair-scroller {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.theme-cart-drawer__pair-scroller::-webkit-scrollbar { display: none; }

#theme-cart-drawer a.theme-cart-drawer__pair-item {
  flex: 0 0 8rem;
  width: 8rem;
  min-width: 8rem;
  max-width: 8rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
#theme-cart-drawer a.theme-cart-drawer__pair-item:hover {
  opacity: 1 !important;
  background: transparent !important;
  transform: none !important;
}
#theme-cart-drawer a.theme-cart-drawer__pair-item::before,
#theme-cart-drawer a.theme-cart-drawer__pair-item::after {
  display: none !important;
  content: none !important;
}

.theme-cart-drawer__pair-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  flex-shrink: 0;
}
.theme-cart-drawer__pair-img-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s;
}
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-img-el { transform: scale(1.05); }

.theme-cart-drawer__pair-name {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.theme-cart-drawer__pair-price {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-top: 0.15rem;
  line-height: 1.35;
}
.theme-cart-drawer__pair-price .amount { font-weight: inherit; }

.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
.theme-cart-drawer__subtotal-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* -------------------------------------------------------------------------
   Search Dialog
   ---------------------------------------------------------------------- */
.theme-search-dialog { position: fixed; inset: 0; z-index: 160; display: none; }
.theme-search-dialog.is-open { display: block; }
.theme-search-dialog__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); backdrop-filter: blur(4px); }
.theme-search-dialog__panel { position: relative; background: var(--color-background); width: 100%; max-height: 92vh; overflow-y: auto; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); }
.theme-search-dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; padding: 0.5rem; opacity: 0.7; }
.theme-search-dialog__close:hover { opacity: 1; }
.theme-search-dialog__inner { padding: 2.5rem 1.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__inner { grid-template-columns: 260px 1fr; gap: 4rem; padding: 3.5rem 2.5rem; } }
.theme-search-dialog__categories h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-dialog__categories ul { display: flex; flex-direction: column; gap: 0.9rem; }
.theme-search-dialog__cat-btn { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-search-dialog__cat-btn:hover { color: var(--color-primary); }
.theme-search-dialog__input-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
.theme-search-dialog__input-row svg { opacity: 0.6; }
#theme-search-input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; }
.theme-search-dialog__results-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-dialog__results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-search-dialog__results-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem; } }
.theme-search-dialog__result { text-align: left; display: block; }
.theme-search-dialog__result-img { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
.theme-search-dialog__result-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.7s; }
.theme-search-dialog__result:hover .theme-search-dialog__result-img img { transform: scale(1.05); }
.theme-search-dialog__result-name { margin-top: 0.75rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-search-dialog__result-price { margin-top: 0.25rem; font-size: 0.72rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-search-dialog__no-results { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* -------------------------------------------------------------------------
   Contact Modal
   ---------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 170; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal.is-open { display: flex; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.theme-modal__panel {
  position: relative; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius);
  max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2rem; box-shadow: var(--shadow-elevated);
  animation: modal-in 0.25s var(--transition-smooth);
}
@keyframes modal-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; line-height: 1.25; margin-top: 0.5rem; }
.theme-modal__intro { font-size: 0.9375rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-top: 0.5rem; }
.theme-modal__phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.theme-modal__phone a:hover { color: var(--color-foreground); }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-modal__form input, .theme-modal__form textarea {
  width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
  font-size: 0.875rem; color: var(--color-foreground); transition: border-color 0.2s;
}
.theme-modal__form input::placeholder, .theme-modal__form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-modal__form input:focus, .theme-modal__form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-modal__form textarea { resize: none; }
.theme-modal__form-submit { display: flex; justify-content: flex-end; }
.theme-modal__form-error { color: #b91c1c; font-size: 0.8125rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   404
   ---------------------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 8rem 0; }
.theme-404__code { font-size: 3rem; font-weight: 700; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); }

/* =========================================================================
   WOOCOMMERCE - SINGLE PRODUCT (parity with ProductDetail.tsx)
   Scoped to body.single-product — WC adds that class to <body>, never reuse
   it on inner wrappers (causes double padding / layout breakage).
   ========================================================================= */
body.single-product {
  background: var(--color-background);
}
body.single-product #primary {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
body.single-product .theme-single-product-page {
  padding-top: 7rem;
  width: 100%;
  min-width: 0;
}
@media (min-width: 1024px) {
  body.single-product .theme-single-product-page { padding-top: 8rem; }
}

/* Neutralize any default WooCommerce product shell if injected */
body.single-product div.product,
body.single-product .woocommerce div.product {
  margin: 0;
  padding: 0;
  float: none;
  width: 100%;
  clear: none;
}
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .upsells.products {
  display: none !important;
}
body.single-product .quantity,
body.single-product .theme-quantity-wrapper {
  display: none !important;
}

body.single-product .theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) {
  body.single-product .theme-product-layout {
    grid-template-columns: 1fr 27.5rem;
  }
}
@media (min-width: 1280px) {
  body.single-product .theme-product-layout {
    grid-template-columns: 1fr 31.25rem;
  }
}

/* Gallery */
body.single-product .theme-product-gallery {
  position: relative;
  background: var(--color-background);
  min-width: 0;
}
@media (min-width: 1024px) {
  body.single-product .theme-product-gallery {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
}

body.single-product .theme-product-gallery__row {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  body.single-product .theme-product-gallery__row {
    flex-direction: row;
    align-items: stretch;
  }
}

body.single-product .theme-product-thumbnails--desktop {
  display: none;
}
@media (min-width: 768px) {
  body.single-product .theme-product-thumbnails--desktop {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1rem 1rem 1.5rem;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--color-background) 40%, transparent);
  }
}
@media (min-width: 1024px) {
  body.single-product .theme-product-thumbnails--desktop {
    padding: 1.5rem 1rem 1.5rem 1.5rem;
  }
}

body.single-product .theme-product-thumbnails--mobile {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
body.single-product .theme-product-thumbnails--mobile::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  body.single-product .theme-product-thumbnails--mobile { display: none; }
}

body.single-product .theme-product-thumb {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  opacity: 0.6;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}
body.single-product .theme-product-thumbnails--desktop .theme-product-thumb {
  width: 3.5rem;
  height: 3.5rem;
}
@media (min-width: 1024px) {
  body.single-product .theme-product-thumbnails--desktop .theme-product-thumb {
    width: 4rem;
    height: 4rem;
  }
}
body.single-product .theme-product-thumbnails--mobile .theme-product-thumb {
  width: 4rem;
  height: 4rem;
}
body.single-product .theme-product-thumb.is-active,
body.single-product .theme-product-thumb:hover {
  border-color: var(--color-foreground);
  opacity: 1;
}

body.single-product .theme-product-main-image {
  flex: 1;
  min-width: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  body.single-product .theme-product-main-image { min-height: 78vh; }
}
@media (min-width: 1024px) {
  body.single-product .theme-product-main-image { min-height: 88vh; }
}

body.single-product .theme-product-main-img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  object-position: center;
}

/* Info column */
body.single-product .theme-product-info {
  min-width: 0;
  max-width: 100%;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  body.single-product .theme-product-info { padding: 2.5rem 2.5rem; }
}
@media (min-width: 1024px) {
  body.single-product .theme-product-info { padding: 4rem 3rem; }
}

body.single-product .theme-product-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}
body.single-product .theme-product-breadcrumb a {
  color: inherit;
  transition: color 0.3s;
}
body.single-product .theme-product-breadcrumb a:hover { color: var(--color-foreground); }
body.single-product .theme-product-breadcrumb__sep { margin: 0 0.5rem; }

body.single-product .product-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--color-foreground);
  margin: 0;
}
@media (min-width: 768px) {
  body.single-product .product-title { font-size: 1rem; }
}

body.single-product .theme-product-sku {
  margin: 0.75rem 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

body.single-product .theme-product-divider {
  height: 1px;
  background: var(--color-border);
  margin: 1.75rem 0;
}

body.single-product .theme-product-price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-foreground);
  margin: 0;
}
body.single-product .theme-product-price .amount { font-weight: inherit; }

body.single-product .theme-product-stock.is-out-of-stock {
  color: #b91c1c;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

body.single-product .theme-product-note {
  margin-top: 1.75rem;
  background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  line-height: 1.625;
  border-radius: 0.375rem;
  overflow-wrap: break-word;
}

/* Variations */
body.single-product .theme-variable-product-form { margin-top: 1.75rem; }
body.single-product .variations { width: 100%; border: none; margin: 0; }
body.single-product .variations tbody,
body.single-product .variations tbody tr,
body.single-product .variations tbody td { display: block; width: 100%; }
body.single-product .variations tbody td.label {
  padding: 0 0 0.75rem;
  font-weight: 600;
}
body.single-product .variations tbody td.value { padding: 0 0 1rem; }
body.single-product .variations label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-muted-foreground);
}
body.single-product .variations select,
.single_variation_wrap select {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-card);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
}
body.single-product .theme-variation-summary { margin-top: 0.75rem; }
body.single-product .theme-variation-summary__price {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-foreground);
}
body.single-product .theme-variation-summary__stock {
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
  margin-top: 0.35rem;
}

body.single-product .theme-variable-product-form .single_add_to_cart_button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  pointer-events: none;
}

/* Add to cart */
body.single-product .theme-add-to-cart-area {
  margin-top: 2rem;
}
body.single-product .theme-add-to-cart-area .single_add_to_cart_button {
  width: 100%;
}

body.single-product .theme-product-details-block { margin-top: 3rem; }

body.single-product .theme-product-price,
body.single-product .theme-product-price .amount,
body.single-product .theme-product-price ins {
  color: var(--color-foreground);
  text-decoration: none;
}
body.single-product .theme-product-price del {
  color: var(--color-muted-foreground);
  opacity: 0.7;
}

body.single-product .theme-product-section-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
  margin: 0 0 1.25rem;
  font-weight: 400;
}

body.single-product .theme-product-description__body {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
  overflow-wrap: break-word;
}
body.single-product .theme-product-description__body p { margin: 0 0 1rem; }
body.single-product .theme-product-description__body p:last-child { margin-bottom: 0; }

body.single-product .theme-product-details__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  overflow-wrap: break-word;
  margin-top: 1.5rem;
}
body.single-product .theme-product-details__body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
}
body.single-product .theme-product-details__body li {
  margin-bottom: 0.625rem;
}
body.single-product .theme-product-details__body li::marker { color: var(--color-primary); }
body.single-product .theme-product-details__body p { margin: 0 0 0.625rem; }

body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-variation-description,
body.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Related products */
.related-products-section {
  padding: 6rem 0;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}
.related-products-section__heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 3rem;
  color: var(--color-foreground);
}
@media (min-width: 768px) {
  .related-products-section__heading { font-size: 2.25rem; }
}
.related-products-section__heading-accent {
  font-style: italic;
  color: var(--color-primary);
}

.related-products-grid.theme-product-grid {
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}
@media (min-width: 640px) {
  .related-products-grid.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .related-products-grid.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Add to cart button override */
body.single-product .single_add_to_cart_button.button,
body.single-product a.single_add_to_cart_button,
body.single-product .add_to_cart_button.button,
body.single-product a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: var(--btn-radius) !important;
  min-height: 3.5rem !important;
  height: 3.5rem !important;
  padding: 0 1.5rem !important;
  width: 100%;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s !important;
}
body.single-product .single_add_to_cart_button.button:hover,
body.single-product a.single_add_to_cart_button:hover,
body.single-product .add_to_cart_button.button:hover,
body.single-product a.add_to_cart_button:hover {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border-color: var(--color-foreground) !important;
  opacity: 1 !important;
}
body.single-product .single_add_to_cart_button.button:disabled,
body.single-product .single_add_to_cart_button.button.disabled,
body.single-product a.single_add_to_cart_button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
body.single-product .single_add_to_cart_button.loading::after,
body.single-product .ajax_add_to_cart.loading::after { display: none !important; }
body.single-product .ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
}

body.single-product .reset_variations { display: none !important; }
body.single-product .variations .value { position: relative; }

body.single-product .woocommerce-message,
body.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
  background: #fdecea; color: #b91c1c; border-radius: 0.5rem; padding: 1rem 1.25rem; font-size: 0.875rem;
  list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-breadcrumb { display: none; }

/* =========================================================================
   WOOCOMMERCE - SHOP ARCHIVE
   ========================================================================= */
.theme-archive-shop { padding: 8rem 0 5rem; }
.theme-archive-shop__head { text-align: center; margin-bottom: 3rem; }
.theme-archive-shop__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* =========================================================================
   WOOCOMMERCE - CHECKOUT BLOCK
   ========================================================================= */
body.woocommerce-checkout #primary {
  padding-top: var(--header-height, 88px);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .page-shell {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .page-shell { padding-bottom: 4rem; }
}
body.woocommerce-checkout .entry-content { min-width: 0; }
body.woocommerce-checkout .entry-content .alignfull,
body.woocommerce-checkout .entry-content .alignwide,
body.woocommerce-checkout .wc-block-checkout {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
    gap: 4rem;
  }
}
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-select select {
  width: 100% !important; max-width: none !important;
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--color-foreground);
  border: 1px solid var(--color-border); border-radius: 0.5rem; background: var(--color-card);
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--radius);
  padding: 2rem;
}
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: none !important; font-family: var(--font-body) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0.5rem; font-family: var(--font-body);
}
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 { font-family: var(--font-display); }
body.woocommerce-checkout .page-title { margin-top: 0; margin-bottom: 2.5rem; }

/* Cart / My Account width parity */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.woocommerce-checkout .page-title { padding-top: 0; }

/* =========================================================================
   WOOCOMMERCE - THANK YOU PAGE
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 6rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 0.75rem 1.25rem; font-size: 0.8125rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details 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; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 30rem; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1rem; font-style: normal;
}
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
  body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}
