/* =====================================================================
   Excel in Math — theme.css
   Design tokens ported verbatim from the original design source
   ===================================================================== */

:root {
  --font-display: 'Space Grotesk', Georgia, sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.75rem;
  --shadow-soft: 0 4px 20px -4px hsl(43 40% 20% / 0.12);
  --shadow-elevated: 0 14px 44px -14px hsl(43 40% 18% / 0.26);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 92px;
  --header-height-mobile: 72px;
  --checkout-gap: 2rem;
  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;
  --card-radius: 1rem;
  --section-padding: 2rem;
  /* Lovable tokens: golden yellow primary on warm white. Inline Customizer colors override these. */
  --color-background: #fcfbf8;
  --color-foreground: #181b20;
  --color-card: #ffffff;
  --color-primary: #f0ad05;
  --color-primary-foreground: #14181f;
  --color-secondary: #f9f4e7;
  --color-muted: #f6f4ee;
  --color-muted-foreground: #595e69;
  --color-accent: #272b35;
  --color-accent-foreground: #fef9ec;
  --color-border: #e8e3d9;
  --color-marigold: #dd980e;
  --color-nopal: #2b6e5a;
  --color-rosa: #c36b1d;
  --color-teal: #2a303c;
}

/* ---------------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a[href],
button:not(:disabled),
summary,
label,
select,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
[role="button"],
[data-modal-trigger],
[data-section-anchor],
[data-cart-open],
[data-faq-toggle],
[data-modal-close],
[data-mobile-menu-toggle],
.theme-nav-link,
.shop-cat-pill,
.theme-attr-pill,
.theme-product-thumb,
.add_to_cart_button,
.theme-card-link,
.theme-product-card__add {
  cursor: pointer;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: inherit; /* Section 2.2 preflight parity — real weight set per element */
  font-size: inherit;
  margin: 0;
}
p { margin: 0; }
::selection { background: color-mix(in srgb, var(--color-primary) 30%, transparent); }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-main-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-main-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.container-wide {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.text-accent { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Page loader (matches Lovable PageLoader)
   ------------------------------------------------------------------- */
.theme-page-loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-background);
  transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-page-loader.is-done {
  opacity: 0;
  pointer-events: none;
}
.theme-page-loader.is-removed { display: none; }
.theme-page-loader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  animation: theme-loader-in 0.6s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}
@keyframes theme-loader-in {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.theme-page-loader__orb {
  width: 4rem; height: 4rem; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  animation: theme-loader-orb 2.4s ease-in-out infinite;
}
.theme-page-loader__icon { color: var(--color-accent); }
@keyframes theme-loader-orb {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(8deg) scale(1.06); }
  75% { transform: rotate(-8deg) scale(1); }
}
.theme-page-loader__bar {
  height: 2px; width: 11rem; overflow: hidden; border-radius: 999px;
  background: var(--color-secondary);
}
.theme-page-loader__bar-fill {
  display: block; height: 100%; width: 50%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: theme-loader-bar 1.2s ease-in-out infinite;
}
@keyframes theme-loader-bar {
  from { transform: translateX(-100%); }
  to { transform: translateX(200%); }
}
.theme-page-loader__label {
  font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--color-muted-foreground); font-weight: 600; text-align: center;
  padding: 0 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .theme-page-loader__orb,
  .theme-page-loader__bar-fill,
  .theme-page-loader__inner { animation: 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[data-reveal="fade"] { transform: none; }
.reveal-item[data-reveal="slide-up"] { transform: translateY(24px); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0) !important; }

body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
.theme-product-card-wrap.reveal-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
  .animate-flicker, .ticker-track, .gold-sheen::after { animation: none !important; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.shimmer-loading {
  background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  25% { opacity: 0.85; transform: scale(1.06) rotate(-4deg); }
  55% { opacity: 1; transform: scale(0.97) rotate(3deg); }
  80% { opacity: 0.92; transform: scale(1.03) rotate(-2deg); }
}
.animate-flicker { animation: flicker 3.4s ease-in-out infinite; display: inline-block; }

.gold-sheen { position: relative; overflow: hidden; }
.gold-sheen::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, hsl(0 0% 100% / 0.42) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--transition-smooth);
  pointer-events: none;
}
.gold-sheen:hover::after { transform: translateX(120%); }

.grid-paper {
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-foreground) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-foreground) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
}

.theme-bounce { display: inline-block; animation: theme-bounce 1.6s ease-in-out infinite; }
@keyframes theme-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.theme-icon { flex-shrink: 0; }
.theme-icon--fill { fill: currentColor; }
.theme-icon--lg { width: 28px; height: 28px; }
.theme-icon--xl { width: 44px; height: 44px; }

.btn-outline-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--btn-radius);
  padding: 0.9rem 2rem;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--color-primary);
  color: var(--color-foreground);
  background: transparent;
  transition: all 0.3s var(--transition-smooth);
}
.btn-outline-pill:hover { background: var(--color-primary); color: var(--color-primary-foreground); transform: translateY(-2px); }
.btn-outline-pill[hidden] { display: none !important; }

/* ---------------------------------------------------------------------
   Header
   ------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
  height: var(--header-height-mobile);
  background: rgba(252, 251, 248, 0.8);
  background: color-mix(in srgb, var(--color-background) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (min-width: 768px) { .site-header { height: var(--header-height); } }
.site-header.is-solid, .site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}
.site-header__inner { height: 100%; }
.site-nav { display: flex; align-items: center; height: 100%; position: relative; }

/* Desktop split nav — hidden below lg */
.site-nav__desktop {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.site-nav__side { display: flex; align-items: center; gap: 2.5rem; flex: 1; }
.site-nav__side--left { justify-content: flex-start; }
.site-nav__side--right { justify-content: flex-end; }
@media (min-width: 1024px) {
  .site-nav__desktop { display: flex; }
  .site-nav__mobile { display: none !important; }
  .mobile-menu { display: none !important; }
}

.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link, .mobile-menu__ul a {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  position: relative;
  transition: color 0.3s;
}
.theme-nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: right; transition: transform 0.3s;
}
.theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; }
.site-nav__desktop .site-logo { margin: 0 1rem; }
.site-nav__mobile .site-logo { margin: 0; }
.site-logo-img { height: var(--logo-height, 88px) !important; width: auto !important; display: block; transition: transform 0.5s; object-fit: contain; }
.site-logo:hover .site-logo-img { transform: scale(1.06); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height, 88px); display: block; }

/* Mobile bar — logo left, cart + hamburger right (Lovable) */
.site-nav__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.site-nav__mobile .site-logo-img {
  height: 3.5rem !important; /* h-14 */
}
.site-nav__mobile .site-logo-text {
  font-size: 1.125rem;
  line-height: 3.5rem;
}
.site-nav__mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  color: var(--color-foreground);
  transition: all 0.3s;
}
.cart-btn:hover { border-color: var(--color-primary); color: var(--color-primary); transform: scale(1.05); }
.theme-cart-count {
  position: absolute; top: -6px; right: -6px;
  font-size: 12px; font-weight: 600; border-radius: 50%;
  min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem; margin-right: -0.5rem; /* Lovable -mr-2 */
  color: var(--color-foreground);
  transition: opacity 0.2s;
}
.mobile-menu-toggle:hover { opacity: 0.6; }
.mobile-menu-toggle .icon-close[hidden],
.mobile-menu-toggle .icon-menu[hidden] { display: none !important; }

.mobile-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%; width: 100%;
  border-top: 1px solid var(--color-border);
  background: var(--color-background);
  box-shadow: var(--shadow-elevated);
  max-height: calc(100dvh - var(--header-height-mobile));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth); }
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.is-open[hidden] { display: block !important; }
.mobile-menu__list { padding: 0.75rem 0; }
.mobile-menu__ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mobile-menu__ul li {
  display: block;
  width: 100%;
  float: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.mobile-menu__ul li:last-child { border-bottom: none; }
.mobile-menu__ul a {
  display: block;
  width: 100%;
  padding: 1rem 0;
  text-align: left;
  font-size: 0.875rem;
}
.mobile-menu__ul a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.hero-section { position: relative; }
.hero-media { position: relative; width: 100%; min-height: 100svh; overflow: hidden; background: var(--color-secondary); isolation: isolate; }
.hero-media__bg { z-index: 0; }
.hero-media__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(252, 251, 248, 0.38);
  background: radial-gradient(ellipse 75% 60% at 50% 50%,
    color-mix(in srgb, var(--color-background) 62%, transparent) 0%,
    color-mix(in srgb, var(--color-background) 44%, transparent) 50%,
    color-mix(in srgb, var(--color-background) 26%, transparent) 78%,
    color-mix(in srgb, var(--color-background) 14%, transparent) 100%);
}
.hero-content {
  position: relative; z-index: 2; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 6rem 1rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  background: color-mix(in srgb, var(--color-background) 70%, transparent);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1rem;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-weight: 400;
  line-height: 0.95;
  font-size: clamp(2.3rem, 6.5vw, 3rem);
  max-width: 56rem;
}
@media (min-width: 768px) { .hero-title { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.8rem; } }
.hero-subtitle { margin-top: 1.25rem; max-width: 36rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 0.95rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.btn-hero-primary, .btn-hero-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: none; font-weight: 600;
  padding: 0.9rem 2rem;
  transition: all 0.3s;
}
.btn-hero-primary { background: var(--color-primary); color: var(--color-primary-foreground); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); transform: translateY(-2px) scale(1.02); }
.btn-hero-primary .theme-icon { transition: transform 0.3s; }
.btn-hero-primary:hover .theme-icon { transform: translateX(4px); }
.btn-hero-outline {
  border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
  background: color-mix(in srgb, var(--color-background) 50%, transparent);
  backdrop-filter: blur(4px);
  color: var(--color-foreground);
}
.btn-hero-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px) scale(1.02); }
.hero-trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust .theme-icon { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Ticker
   ------------------------------------------------------------------- */
.ticker-section { position: relative; overflow: hidden; background: var(--color-primary); color: var(--color-primary-foreground); padding: 0.875rem 0; border-top: 1px solid color-mix(in srgb, var(--color-primary) 80%, black); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 80%, black); }
.ticker-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; width: max-content; }
.ticker-set { display: flex; align-items: center; flex-shrink: 0; }
.ticker-item { display: inline-flex; align-items: center; margin: 0 1.5rem; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; }
@media (min-width: 768px) { .ticker-item { margin: 0 2.5rem; font-size: 13px; } }
.ticker-item .theme-icon { opacity: 0.7; margin-right: 0.75rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   Shared section intros / headings
   ------------------------------------------------------------------- */
.section-kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin-bottom: 1.15rem; }
.section-subtitle { margin-top: 0.85rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.7; max-width: 42rem; margin-inline: auto; }
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }
.section-intro { text-align: center; margin-bottom: 3.5rem; }
.section-footnote { margin-top: 2.5rem; text-align: center; font-size: 13px; color: var(--color-muted-foreground); max-width: 36rem; margin-inline: auto; }

.about-section__heading, .founder-section__heading, .services-section__heading, .stories-section__heading,
.testimonials-section__heading, .featured-section__heading, .faq-section__heading, .shop-heading, .cta-band__title {
  font-weight: 400; line-height: 0.95; margin-bottom: 1.75rem;
}
.about-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 4.5rem; } }
.services-section__heading, .stories-section__heading, .testimonials-section__heading, .featured-section__heading, .shop-heading, .cta-band__title {
  font-size: 2.25rem;
}
@media (min-width: 768px) { .services-section__heading, .stories-section__heading, .testimonials-section__heading, .featured-section__heading, .shop-heading, .cta-band__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section__heading, .stories-section__heading, .testimonials-section__heading, .featured-section__heading, .shop-heading, .cta-band__title { font-size: 4.5rem; } }
.founder-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .founder-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-section__heading { font-size: 3.75rem; } }
.faq-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 3.75rem; } }

/* ---------------------------------------------------------------------
   About
   ------------------------------------------------------------------- */
.about-section, .founder-section, .services-section, .stories-section, .testimonials-section, .featured-section, .shop-section, .faq-section { padding: 5rem 0; }
@media (min-width: 768px) { .about-section, .founder-section, .services-section, .stories-section, .testimonials-section, .featured-section, .shop-section, .faq-section { padding: 7rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image-wrap { position: relative; overflow: hidden; border-radius: 1rem; min-height: 320px; }
@media (min-width: 1024px) { .about-image-wrap { height: 100%; } }
.about-p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin-top: 0; margin-bottom: 1.35rem; font-size: 1rem; }
.about-p--lg { font-size: 1.125rem; }
@media (min-width: 768px) { .about-p--lg { font-size: 1.25rem; } .about-p { font-size: 1.125rem; } }
.about-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.about-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.4rem 1rem; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  transition: all 0.3s;
}
.about-chip:hover { background: color-mix(in srgb, var(--color-primary) 20%, transparent); transform: translateY(-2px); }
.about-chip .theme-icon { color: var(--color-primary); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; max-width: 28rem; }
.about-stat__value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; }
@media (min-width: 768px) { .about-stat__value { font-size: 3rem; } }
.about-stat__label { margin-top: 0.5rem; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   Founder
   ------------------------------------------------------------------- */
.founder-section { background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.founder-photo-wrap { position: relative; }
.founder-photo-glow { position: absolute; inset: -0.75rem; border-radius: 2rem; background: color-mix(in srgb, var(--color-primary) 20%, transparent); filter: blur(24px); }
.founder-photo { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
.founder-role { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; color: var(--color-primary); margin-bottom: 1.5rem; }
.founder-credentials { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 0.5rem; }
@media (min-width: 640px) { .founder-credentials { grid-template-columns: repeat(3, 1fr); } }
.founder-credential { border-radius: 1rem; padding: 1.25rem; transition: all 0.3s; }
.founder-credential:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-soft); }
.founder-credential .theme-icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.founder-credential p { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.founder-linkedin { margin-top: 1.5rem; }
.founder-linkedin a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.3s; }
.founder-linkedin a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Services
   ------------------------------------------------------------------- */
.services-section {
  background-color: var(--color-background);
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-foreground) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-foreground) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
}
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .services-grid { gap: 2rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card,
.story-card,
.testimonial-card,
.founder-credential,
.faq-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px hsl(43 40% 20% / 0.05);
}
.service-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: 100%;
  border-radius: 1rem;
  box-shadow: none;
  padding: 2rem;
  transition: all 0.5s var(--transition-smooth);
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.service-card__icon {
  margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary);
  transition: all 0.5s var(--transition-smooth);
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(3deg); background: var(--color-primary); color: var(--color-primary-foreground); }
.service-card:nth-child(6n+2) .service-card__icon { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.service-card:nth-child(6n+2):hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.service-card:nth-child(6n+2):hover .service-card__icon { background: var(--color-accent); color: var(--color-accent-foreground); }
.service-card:nth-child(6n+2) .service-card__kicker,
.service-card:nth-child(6n+2) .service-card__cta { color: var(--color-accent); }
.service-card:nth-child(6n+3) .service-card__icon { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); color: var(--color-marigold); }
.service-card:nth-child(6n+3):hover { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.service-card:nth-child(6n+3):hover .service-card__icon { background: var(--color-marigold); color: var(--color-primary-foreground); }
.service-card:nth-child(6n+3) .service-card__kicker,
.service-card:nth-child(6n+3) .service-card__cta { color: var(--color-marigold); }
.service-card:nth-child(6n+4) .service-card__icon { background: color-mix(in srgb, var(--color-nopal) 15%, transparent); color: var(--color-nopal); }
.service-card:nth-child(6n+4):hover { border-color: color-mix(in srgb, var(--color-nopal) 50%, transparent); }
.service-card:nth-child(6n+4):hover .service-card__icon { background: var(--color-nopal); color: var(--color-background); }
.service-card:nth-child(6n+4) .service-card__kicker,
.service-card:nth-child(6n+4) .service-card__cta { color: var(--color-nopal); }
.service-card:nth-child(6n+5) .service-card__icon { background: color-mix(in srgb, var(--color-rosa) 15%, transparent); color: var(--color-rosa); }
.service-card:nth-child(6n+5):hover { border-color: color-mix(in srgb, var(--color-rosa) 50%, transparent); }
.service-card:nth-child(6n+5):hover .service-card__icon { background: var(--color-rosa); color: var(--color-background); }
.service-card:nth-child(6n+5) .service-card__kicker,
.service-card:nth-child(6n+5) .service-card__cta { color: var(--color-rosa); }
.service-card:nth-child(6n+6) .service-card__icon { background: color-mix(in srgb, var(--color-teal) 15%, transparent); color: var(--color-teal); }
.service-card:nth-child(6n+6):hover { border-color: color-mix(in srgb, var(--color-teal) 50%, transparent); }
.service-card:nth-child(6n+6):hover .service-card__icon { background: var(--color-teal); color: var(--color-background); }
.service-card:nth-child(6n+6) .service-card__kicker,
.service-card:nth-child(6n+6) .service-card__cta { color: var(--color-teal); }
.service-card__kicker { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 0.75rem; }
.service-card__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.25; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__desc { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; max-width: 17rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__cta { display: inline-flex; align-items: center; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-top: auto; transition: opacity 0.3s; }
.service-card__cta:hover { opacity: 0.8; }
.service-card__cta .theme-icon { margin-left: 0.25rem; transition: transform 0.3s; }
.service-card__cta:hover .theme-icon { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   Success stories
   ------------------------------------------------------------------- */
.stories-section { background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; max-width: 80rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 1024px) { .stories-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; } }
.story-card { display: flex; flex-direction: column; border-radius: 1rem; padding: 1.5rem; transition: all 0.5s var(--transition-smooth); overflow: hidden; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.story-card__tagrow { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.story-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); }
.story-card__tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); }
.story-card__metric-wrap { margin-bottom: 0.75rem; }
.story-card__metric { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; word-break: break-word; transition: color 0.3s; }
@media (min-width: 768px) { .story-card__metric { font-size: 2.75rem; } }
.story-card:hover .story-card__metric { color: var(--color-primary); }
.story-card__bar { margin-top: 0.5rem; height: 4px; width: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); transition: width 0.5s; }
.story-card:hover .story-card__bar { width: 100%; }
.story-card__title { font-size: 1.125rem; margin-bottom: 0.75rem; line-height: 1.3; }
@media (min-width: 768px) { .story-card__title { font-size: 1.25rem; } }
.story-card__highlight { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); line-height: 1.6; margin-bottom: 1rem; }
.story-card__details { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.story-card__details li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 12px; color: var(--color-muted-foreground); }
.story-card__details .dot { margin-top: 0.35rem; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 80rem; margin: 0 auto; align-items: stretch; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.testimonial-card { display: flex; flex-direction: column; border-radius: 1rem; padding: 1.75rem 2rem; transition: all 0.5s var(--transition-smooth); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.testimonial-card__stars { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 1.25rem; color: var(--color-primary); }
.testimonial-card blockquote { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; flex-grow: 1; }
.testimonial-card figcaption { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   Product cards & grids (shared by featured / shop / archive / related)
   ------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; width: 100%; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { gap: 2.5rem; } }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 640px) { .theme-product-grid--featured { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; width: 100%; min-width: 0; }
.shop-grid-item { display: flex; min-width: 0; width: 100%; }
.shop-grid-item > .theme-product-card-wrap { flex: 1 1 auto; width: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; min-width: 0; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image, .theme-product-card__add { pointer-events: none; }
.theme-product-card__add { pointer-events: auto; }

.theme-product-card__image {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden;
  background: var(--color-card); margin-bottom: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.theme-product-card__image img,
.theme-product-card__img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.theme-product-card:hover .theme-product-card__image { transform: translateY(-3px); }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__img { transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.5s; }
.theme-product-card.is-sold-out .theme-product-card__img { opacity: 0.6; }
.theme-product-card__badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  padding: 0.25rem 0.75rem; border-radius: 0.375rem; font-size: 12px; font-weight: 500;
  background: var(--color-foreground); color: var(--color-background);
}
.theme-product-card__add,
a.theme-product-card__add.add_to_cart_button {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0.75rem !important;
  border-radius: 999px !important;
  background: var(--color-teal) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-teal) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s, color 0.3s;
}
.theme-product-card:hover .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__add:hover,
a.theme-product-card__add.add_to_cart_button:hover {
  background: var(--color-background) !important;
  color: var(--color-teal) !important;
  opacity: 1 !important;
}
.theme-product-card__add--link { cursor: default; }

.theme-product-card__info { flex: 1; padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.35; transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.4em; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------------------------------------------------------------------
   Featured / Shop sections
   ------------------------------------------------------------------- */
.featured-cta, .shop-show-more-wrap { text-align: center; margin-top: 3.5rem; }
.shop-show-more-wrap:has(#shop-show-more[hidden]) { display: none; }
.shop-search { position: relative; max-width: 26rem; margin: 0 auto 2rem; display: flex; align-items: center; }
.shop-search .theme-icon { position: absolute; left: 0; 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-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
  outline: none; transition: border-color 0.3s;
}
.shop-search input::placeholder { color: var(--color-muted-foreground); }
.shop-search input:focus { border-color: var(--color-foreground); }

.shop-category-pills { display: flex; overflow-x: auto; gap: 0.5rem; margin-bottom: 1rem; padding-bottom: 0.25rem; justify-content: flex-start; scrollbar-width: none; }
.shop-category-pills::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .shop-category-pills { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.shop-cat-pill {
  flex-shrink: 0; padding: 0.5rem 1.25rem; border-radius: 999px; border: 1px solid var(--color-border);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  background: transparent; color: var(--color-foreground); transition: all 0.3s;
}
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-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-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s; }
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle .theme-icon { transition: transform 0.3s; }
.shop-price-toggle.is-open .theme-icon { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 22rem; padding: 0.5rem 0; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.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: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: -8px; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-note { text-align: center; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.shop-empty-state { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------- */
.faq-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.faq-container { max-width: 56rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: var(--color-background); border-radius: 1rem; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; transition: background 0.3s; }
.faq-item__question:hover { background: color-mix(in srgb, var(--color-card) 50%, transparent); }
.faq-item__question span { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.25rem; } }
.faq-item__question .theme-icon { color: var(--color-primary); flex-shrink: 0; transition: transform 0.3s; }
.faq-item__question[aria-expanded="true"] .theme-icon { transform: rotate(180deg); }
.faq-item__answer { overflow: hidden; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.faq-item__answer p { padding: 0 1.5rem 1.25rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }
.faq-show-all-wrap { text-align: center; margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------- */
.cta-section { position: relative; overflow: hidden; min-height: 85vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; }
.cta-bg { z-index: 0; }
.cta-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 55%, transparent), color-mix(in srgb, var(--color-foreground) 75%, transparent)); }
.cta-card { position: relative; z-index: 2; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); backdrop-filter: blur(6px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 97%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 95%, transparent) 55%, color-mix(in srgb, var(--color-primary) 28%, transparent) 100%); }
.cta-card__inner { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .cta-card__inner { padding: 5rem 4rem; } }
.cta-card__subtitle { font-size: 1rem; line-height: 1.7; max-width: 34rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .cta-card__subtitle { font-size: 1.125rem; } }
.cta-card__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .cta-card__actions { flex-direction: row; } }
.btn-cta-secondary { display: inline-flex; align-items: center; gap: 0.625rem; background: color-mix(in srgb, var(--color-background) 70%, transparent); color: var(--color-foreground); border-radius: 999px; padding: 0.9rem 1.75rem; font-size: 0.875rem; font-weight: 500; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); transition: background 0.3s; text-transform: none; }
.btn-cta-secondary:hover { background: var(--color-background); }
.cta-card__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.cta-card__badges span { display: inline-flex; align-items: center; gap: 0.375rem; }
.cta-card__badges .theme-icon { color: var(--color-primary); }
.cta-card__badges .dot { opacity: 0.3; }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
/* Keep horizontal inset from .container-wide — do not zero left/right with shorthand */
.container-wide.site-footer__inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide.site-footer__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.site-footer__top { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); text-align: center; }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; text-align: right; } }
.site-footer__logo-img { height: 9rem !important; }
@media (min-width: 768px) { .site-footer__logo-img { height: 12rem !important; } }
.site-footer__brand { max-width: 36rem; }
.site-footer__tagline { font-family: var(--font-display); font-size: 1.5rem; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1.875rem; } }
.site-footer__desc { margin-top: 0.5rem; font-size: 0.95rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.site-footer__email { margin-top: 1rem; font-size: 0.875rem; }
.site-footer__lang { margin-top: 0.5rem; font-size: 0.875rem; }
.site-footer__email a { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s; }
.site-footer__email a:hover { color: var(--color-primary); }
.site-footer__lang { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__lang .theme-icon { color: var(--color-primary); }
.site-footer__socials { margin-top: 1rem; display: flex; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__socials { justify-content: flex-end; } }
.social-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 0.3s; }
.social-icon-btn:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }

.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-col__title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-col__title .theme-icon { color: var(--color-primary); }
.footer-col__list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col__list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 0.3s; display: inline-block; }
.footer-col__list a:hover { color: var(--color-primary); transform: translateX(3px); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__bottom-line { font-size: 13px; color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; }
.site-footer__credit { font-size: 13px; color: var(--color-muted-foreground); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s; }
.site-footer__credit a:hover { color: var(--color-primary); }
.site-footer__credit .sep { margin: 0 0.5rem; opacity: 0.3; }

/* ---------------------------------------------------------------------
   Contact modal
   ------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 100; 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); animation: fadeIn 0.2s ease; }
.theme-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 1rem; padding: 1.75rem; box-shadow: var(--shadow-elevated);
  animation: theme-modal-in 0.25s var(--transition-smooth);
}
@keyframes theme-modal-in { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.theme-modal.is-closing .theme-modal__panel { animation: theme-modal-out 0.2s var(--transition-smooth) forwards; }
@keyframes theme-modal-out { to { opacity: 0; transform: scale(0.96) translateY(10px); } }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s; color: var(--color-foreground); }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.75rem; margin-bottom: 0.5rem; }
.theme-modal__subtitle { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin: 1.25rem 0; }
.theme-modal__meta-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.theme-modal__meta-link:hover { color: var(--color-primary); }
.theme-modal__meta-item { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__meta-item .theme-icon { color: var(--color-primary); }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-field input, .theme-field select, .theme-field textarea {
  width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.375rem; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
  transition: box-shadow 0.3s; outline: none;
}
.theme-field textarea { resize: none; }
.theme-field input:focus, .theme-field select:focus, .theme-field textarea:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-modal__form-footer { display: flex; justify-content: flex-end; }
.theme-modal__submit { text-transform: none; }
.theme-modal__error { color: #c52020; font-size: 0.875rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-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-modal__success-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success-text { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* =====================================================================
   WooCommerce
   ===================================================================== */

/* Section 11.4.1 — add-to-cart button style override */
.single_add_to_cart_button.button,
.add_to_cart_button.button:not(.theme-product-card__add),
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-product-card__add) {
  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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0.75rem !important;
  border-radius: 999px !important;
  background-color: var(--color-teal) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-teal) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
  background-color: var(--color-background) !important;
  color: var(--color-teal) !important;
  opacity: 1 !important;
}
.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* 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; }

/* Section 14.1 — scoped notice hiding */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: 0.5rem; border-top: none; background: var(--color-card);
  font-family: var(--font-body); padding: 1rem 1.5rem; color: var(--color-foreground);
}

/* Section 11.5.1 — variations table layout */
.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.5rem; font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.5rem; }
.single-product .variations tbody td.value select { display: none !important; } /* replaced visually by pills; kept for form submission */
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
  padding: 0.5rem 1rem; 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: all 0.2s;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
/* Color pills — Lovable: swatch + soft selected state (not inverted fill) */
.theme-attr-pill--color {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.theme-attr-pill__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.theme-attr-pill--color.is-selected {
  background: color-mix(in srgb, var(--color-foreground) 5%, transparent);
  color: var(--color-foreground);
  border-color: var(--color-foreground);
}
.single_variation_wrap { margin-top: 0.5rem; }

/* Quantity control (shared: simple + variable) */
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background 0.2s; color: var(--color-foreground); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-foreground); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Section 11.13 responsive layout — match Lovable ProductDetail spacing & sticky info */
body.theme-no-hero .site-main.single-product {
  padding-top: calc(var(--header-height-mobile) + 1.5rem);
}
@media (min-width: 768px) {
  body.theme-no-hero .site-main.single-product {
    padding-top: calc(var(--header-height) + 1.5rem);
  }
}
@media (min-width: 1024px) {
  body.theme-no-hero .site-main.single-product {
    padding-top: calc(var(--header-height) + 2rem);
  }
}
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .single-product .theme-product-info {
    position: sticky;
    top: 7rem; /* lg:top-28 — clears fixed header while scrolling */
    padding-left: 1rem;
    align-self: start;
  }
}
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; border-radius: 1rem; }
.single-product .theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.5rem; border: 2px solid transparent; background: var(--color-secondary); }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-info__cat { display: block; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.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) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price .woocommerce-Price-amount { color: var(--color-foreground); }
.theme-product-info__intro {
  color: var(--color-muted-foreground);
  line-height: 1.625;
  margin: 0 0 2rem;
  font-size: 1rem;
}
.theme-product-info__stock.is-oos { color: #c52020; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.single-product .theme-add-to-cart-area {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-top: 1px solid var(--color-border); }
.theme-accordion:first-child { border-top: none; }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger .theme-icon { transition: transform 0.3s; }
.theme-accordion.is-open .theme-accordion__trigger .theme-icon { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-accordion.is-open .theme-accordion__panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Lovable space-y-3 */
}
.theme-product-details-list ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.breadcrumb-row { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.breadcrumb-row a, .breadcrumb-row .posted_in a { color: var(--color-muted-foreground); transition: color 0.3s; }
.breadcrumb-row a:hover, .breadcrumb-row .posted_in a:hover { color: var(--color-foreground); }
.breadcrumb-row .sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-row .current { color: var(--color-foreground); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-heading__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-heading__title { font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-heading__title { font-size: 2.25rem; } }

/* Cart drawer */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 20%, 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: 28rem;
  background: var(--color-background); z-index: 95; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
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__header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty .theme-icon { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__img { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border-radius: 0.5rem; display: block; }
#theme-cart-drawer .theme-cart-item__img img,
.theme-cart-item__img img.cover-img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; }
.theme-cart-item__price, .theme-cart-item__variation { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.2rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-item__controls button { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-item__controls button:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__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; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipnote { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; text-transform: none; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* Checkout Block overrides — Section 13 */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 92px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
  max-width: none;
  margin: 0 0 2rem;
  padding: 0;
  font-size: 2.25rem;
}

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); border-radius: 0.375rem; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout { display: block; }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: 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; grid-column: 1 / -1; }

/* Cart / Account — horizontal inset comes from .page-content-wrap */
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce {
  max-width: none;
  margin: 0;
  padding: 0 0 1rem;
}

/* Thank-you page — Section 22.8 */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height, 92px) + 2rem); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.75rem; padding: 0 0 1rem 0; }
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; }
@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; }
}

/* ---------------------------------------------------------------------
   Page shell (about/contact/etc via page-{slug}.php, 404, generic pages)
   ------------------------------------------------------------------- */
.site-main { min-height: 40vh; }
body.theme-no-hero .site-main { padding-top: var(--header-height-mobile); }
@media (min-width: 768px) { body.theme-no-hero .site-main { padding-top: var(--header-height); } }
/* Keep horizontal inset from .container-wide — do not zero left/right with shorthand */
.container-wide.page-content-wrap {
  padding-top: 3rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide.page-content-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.theme-404__code { font-size: 3rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

.shop-archive__header { padding: 3rem 0 2rem; }
.shop-archive__pagination { margin-top: 3rem; text-align: center; }
