/*
 * ECDLink Network — theme stylesheet.
 * All styling lives here (Section 10); no CSS is emitted from PHP templates.
 */

/* =========================================================================
 * 1. TOKENS (fallback — live values are re-emitted via wp_add_inline_style,
 *    Section 6.1 / 22.9)
 * ========================================================================= */

:root {
  --navy: 220 71% 21%;
  --navy-deep: 220 60% 13%;
  --navy-soft: 220 45% 30%;
  --green: 97 60% 45%;
  --green-deep: 97 62% 34%;
  --teal: 174 64% 29%;
  --mist: 200 21% 96%;
  --white: 0 0% 100%;
  --charcoal: 213 30% 13%;
  --border: 205 22% 89%;
  --muted-foreground: 213 16% 40%;

  --font-display: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-label: 'Manrope', 'Inter', system-ui, sans-serif;

  --shadow-soft: 0 4px 20px hsla(220, 71%, 21%, 0.06);
  --shadow-elevated: 0 24px 60px -22px hsla(220, 71%, 21%, 0.26);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --logo-height: 48px;
  --header-height: 96px;
  --checkout-gap: 2rem;
  --card-radius: 1.75rem;
  --section-padding: 2rem;

  --btn-radius: 999px;
  --btn-height: 52px;
  --btn-padding: 15px 28px;
  --btn-font-size: 14px;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.1em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0;

  --color-primary: hsl(var(--green));
  --color-button-text: hsl(var(--white));
  --color-border: hsl(var(--border));
  --color-surface: hsl(var(--mist));
}

/* =========================================================================
 * 2. RESET / BASE
 * ========================================================================= */

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background-color: hsl(var(--white));
  color: hsl(var(--charcoal));
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
  font-size: max(0.875rem, 14px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: hsl(var(--charcoal));
  margin: 0;
  text-wrap: balance;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

p { margin: 0; text-wrap: pretty; }
li, blockquote, figcaption, dd, summary { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }

img { max-width: 100%; display: block; }
img.cover-img,
img.hero-bg-img,
video.hero-bg-video,
img.theme-product-card__img,
.theme-cart-item-image img,
#product-main-img,
.theme-thumb-btn img {
  height: 100%;
}
img:not(.cover-img):not(.hero-bg-img):not(.founder-photo-img):not(.theme-product-card__img):not(.wc-placeholder):not(#product-main-img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.hero-bg-img,
.founder-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

::selection { background: hsl(var(--green) / 0.28); color: hsl(var(--navy)); }

.theme-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================================
 * 3. LAYOUT UTILITIES
 * ========================================================================= */

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

.ecd-section-light { background-color: hsl(var(--white)); color: hsl(var(--charcoal)); }
.ecd-section-mist { background-color: hsl(var(--mist)); color: hsl(var(--charcoal)); }
.ecd-section-navy { background-color: hsl(var(--navy)); color: hsl(var(--white)); }
.ecd-section-navy-deep { background-color: hsl(var(--navy-deep)); color: hsl(var(--white)); }

section { padding-top: 6rem; padding-bottom: 6rem; position: relative; }
@media (min-width: 1024px) { section { padding-top: 8rem; padding-bottom: 8rem; } }

.theme-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.theme-watermark-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.font-hero {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-heading { font-weight: 800; letter-spacing: -0.03em; }

/* =========================================================================
 * 4. TYPOGRAPHY (Section 2.2)
 * ========================================================================= */

.ecd-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 14px;
  color: hsl(var(--green-deep));
}
.ecd-eyebrow-on-dark { color: hsl(var(--green)); }

.cs-label {
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
  line-height: 1.3;
}

.ecd-field-label {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: hsl(var(--navy));
}

/* =========================================================================
 * 5. BUTTONS
 * ========================================================================= */

.ecd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  border-radius: var(--btn-radius);
  font-family: var(--font-label);
  font-weight: var(--btn-font-weight);
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  position: relative;
  border: none;
  transition: transform 320ms var(--transition-smooth), background-color 320ms, color 320ms, border-color 320ms, opacity 320ms;
}
.ecd-btn:hover { transform: translateY(-3px) scale(1.02); }
.ecd-btn:active { transform: translateY(-1px) scale(0.99); }

.ecd-btn-primary { background: hsl(var(--green)); color: hsl(var(--white)); }
.ecd-btn-primary:hover { background: hsl(var(--green-deep)); color: hsl(var(--white)); }

.ecd-btn-navy { background: hsl(var(--navy)); color: hsl(var(--white)); }
.ecd-btn-navy:hover { background: hsl(var(--navy-deep)); color: hsl(var(--white)); }

.ecd-btn-outline { background: transparent; color: hsl(var(--navy)); border: 1.5px solid hsl(var(--navy) / 0.35); }
.ecd-btn-outline:hover { background: hsl(var(--navy)); color: hsl(var(--white)); border-color: hsl(var(--navy)); }

.ecd-btn-outline-light { background: transparent; color: hsl(var(--white)); border: 1.5px solid hsla(0, 0%, 100%, 0.38); }
.ecd-btn-outline-light:hover { background: hsla(0, 0%, 100%, 0.12); border-color: hsl(var(--green)); }

/* =========================================================================
 * 6. CARDS / FIELDS
 * ========================================================================= */

.ecd-card {
  background: hsl(var(--white));
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms;
}
.ecd-card:hover { transform: translateY(-6px) scale(1.01); border-color: hsl(var(--green) / 0.55); }

.ecd-card-dark {
  border: 1px solid transparent;
  border-radius: 1.5rem;
  backdrop-filter: blur(4px);
  background:
    linear-gradient(hsla(0, 0%, 100%, 0.06), hsla(0, 0%, 100%, 0.06)) padding-box,
    linear-gradient(135deg, hsl(var(--green) / 0.3), hsl(var(--teal) / 0.3)) border-box;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms;
}
.ecd-card-dark:hover { transform: translateY(-6px) scale(1.01); }

.ecd-field {
  width: 100%;
  padding: 13px 18px;
  border-radius: 0.9rem;
  background: hsl(var(--mist));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--charcoal));
  font-size: max(0.875rem, 14px);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}
.ecd-field:focus { outline: none; border-color: hsl(var(--green)); box-shadow: 0 0 0 3px hsl(var(--green) / 0.18); }
.ecd-field::placeholder { color: hsl(var(--muted-foreground)); }

.ecd-tilt { transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.ecd-tilt:hover { transform: perspective(900px) rotateX(2.5deg) rotateY(-3deg) scale(1.02); }

/* =========================================================================
 * 7. ANIMATIONS (Section 2.1)
 * ========================================================================= */

@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.5s var(--transition-smooth) forwards; }

[data-reveal], .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--cs-fade-delay, 0ms);
}
[data-reveal].is-revealed, .reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

[data-reveal-child] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }

/* Customizer-preview fallback — never hide content in the editor (Section 2.1.5) */
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child],
body.is-customizer .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

.parallax-bg,
[data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); }

@keyframes ken-burns {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  50% { transform: scale(1.13) translate3d(-1.5%, -1%, 0); }
  100% { transform: scale(1.03) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 26s ease-in-out infinite; will-change: transform; }

@keyframes theme-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-child], .reveal-item {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .ecd-card:hover, .ecd-card-dark:hover, .ecd-tilt:hover { transform: none !important; }
  .ken-burns, .theme-ticker-track { animation: none !important; }
}

/* =========================================================================
 * 8. TICKER
 * ========================================================================= */

.theme-ticker-viewport { position: relative; overflow: hidden; background-color: hsl(var(--navy-deep)); }
.theme-ticker-track { display: flex; width: max-content; animation: theme-ticker 44s linear infinite; will-change: transform; padding: 0.625rem 0; }
.theme-ticker-viewport:hover .theme-ticker-track { animation-play-state: paused; }
.theme-ticker-set { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.theme-ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.theme-ticker-text { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 14px; white-space: nowrap; color: hsla(0, 0%, 100%, 0.86); }
.theme-ticker-dot { width: 6px; height: 6px; border-radius: 50%; background-color: hsl(var(--green)); flex-shrink: 0; }

/* =========================================================================
 * 9. HEADER / NAV
 * ========================================================================= */

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
body.admin-bar .site-header-shell { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header-shell { top: 46px; }
}

.site-header {
  position: relative;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: hsla(0, 0%, 100%, 0.94);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: none;
  transition: box-shadow 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav { position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; height: 4.5rem; gap: 0.75rem; }
@media (min-width: 1024px) { .site-nav { height: 6rem; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; min-width: 0; cursor: pointer; }
.site-logo-frame {
  display: inline-flex;
  align-items: center;
  height: min(2.25rem, calc(var(--logo-height) * 0.75));
  max-width: 100%;
}
@media (min-width: 768px) {
  .site-logo-frame { height: var(--logo-height); }
}
.site-logo-frame--footer { height: 3rem; }
@media (min-width: 768px) {
  .site-logo-frame--footer { height: 3.5rem; }
}
.site-logo-img {
  height: 100% !important;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 500ms ease;
}
.site-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: hsl(var(--navy)); }
.site-brand:hover .site-logo-img { transform: scale(1.05); }
.site-brand-name { font-family: var(--font-display); font-weight: 700; color: hsl(var(--navy)); }

.site-nav-links { display: none; }
@media (min-width: 1024px) {
  .site-nav-links { display: flex; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); }
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
  position: relative; display: inline-block; padding-bottom: 3px;
  font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: hsl(var(--navy));
  transition: color 280ms ease;
  white-space: nowrap;
}
.theme-nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: hsl(var(--green)); transform: scaleX(0); transform-origin: right center;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-nav-link:hover::after, .theme-nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-nav-cta { display: none; }
@media (min-width: 1024px) { .site-nav-cta { display: inline-flex; padding: 0.75rem 1.5rem; } }

.site-cart-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; color: hsl(var(--navy));
  transition: all 300ms ease;
}
.site-cart-button:hover { background-color: hsl(var(--mist)); transform: translateY(-2px); }
.theme-cart-count {
  position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px;
  font-size: 14px; font-weight: 600; font-family: var(--font-label);
  display: flex; align-items: center; justify-content: center;
  background-color: hsl(var(--green)); color: hsl(var(--white));
}
.theme-cart-count:empty { display: none; }

.site-mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; color: hsl(var(--navy));
  transition: background-color 200ms ease;
}
.site-mobile-toggle:hover { background-color: hsl(var(--mist)); }
.site-mobile-toggle .icon-close { display: none; }
.site-mobile-toggle.is-active .icon-menu { display: none; }
.site-mobile-toggle.is-active .icon-close { display: block; }
@media (min-width: 1024px) { .site-mobile-toggle { display: none; } }

.site-mobile-menu {
  display: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: hsl(var(--white));
  border-top: 1px solid hsl(var(--border));
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .site-mobile-menu {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
.site-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth); }
.site-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.site-mobile-menu .theme-mobile-nav-list,
.site-mobile-menu ul.theme-mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-mobile-menu .theme-mobile-nav-list > li,
.site-mobile-menu ul.theme-mobile-nav-list > li {
  margin: 0;
  padding: 0;
  width: 100%;
}
.site-mobile-menu .theme-mobile-nav-link,
.site-mobile-menu .theme-mobile-nav-list a {
  display: block;
  width: 100%;
  text-align: left;
  align-self: flex-start;
  font-family: var(--font-label);
  font-weight: 600;
  padding: 0.75rem 0.25rem;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--navy));
  line-height: 1.3;
}
.theme-mobile-cta { margin-top: 0.75rem; width: 100%; align-self: stretch; }
@media (min-width: 1024px) { .site-mobile-menu { display: none !important; } }

.site-header.is-solid { box-shadow: var(--shadow-soft); }

/* =========================================================================
 * 10. HERO
 * ========================================================================= */

.hero-section { min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 0; }

.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: hsl(var(--navy-deep)); }
.hero-bg-img, .hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-gradient-1 {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, hsla(220,60%,10%,0.82) 0%, hsla(220,60%,11%,0.62) 45%, hsla(220,60%,10%,0.92) 100%);
}
.hero-gradient-2 {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at 12% 72%, hsla(97,60%,45%,0.20) 0%, transparent 58%), radial-gradient(ellipse at 88% 12%, hsla(174,64%,29%,0.24) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 4; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-content { padding-top: 8rem; padding-bottom: 8rem; } }
.hero-max { max-width: 56rem; }
.hero-title { margin-top: 1.5rem; font-size: clamp(2.6rem, 8vw, 6.4rem); color: hsl(var(--white)); }
.hero-title-accent { color: hsl(var(--green)); }
.hero-subtitle { margin-top: 1.75rem; max-width: 42rem; font-size: 16px; line-height: 1.7; color: hsla(0,0%,100%,0.82); }
@media (min-width: 768px) { .hero-subtitle { font-size: 19px; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hero-stats { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 36rem; }
.hero-stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; color: hsl(var(--white)); }
@media (min-width: 768px) { .hero-stat-value { font-size: 3rem; } }
.hero-stat-label { margin-top: 0.25rem; font-size: 14px; color: hsla(0,0%,100%,0.66); }

/* =========================================================================
 * 11. ABOUT + PILLARS
 * ========================================================================= */

.about-section .section-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 1.25rem; }
.about-inner { position: relative; z-index: 1; }
.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-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.about-cta { margin-top: 2.25rem; }
.about-image-wrap { position: relative; border-radius: var(--card-radius); overflow: hidden; height: 100%; min-height: 320px; box-shadow: var(--shadow-elevated); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}
.pillar-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; overflow: hidden; transition: transform 500ms ease, rotate 500ms ease; }
.pillar-card:hover { transform: translateY(-6px) rotate(1deg); }
.pillar-number { position: absolute; top: 1rem; right: 1rem; z-index: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; font-size: 4rem; color: transparent; user-select: none; }
.pillar-icon { position: relative; z-index: 1; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; opacity: 0.85; transition: opacity 500ms ease; }
.pillar-card:hover .pillar-icon { opacity: 1; }
.pillar-title { position: relative; z-index: 1; font-size: 1.25rem; margin-bottom: 0.5rem; }
.pillar-body { position: relative; z-index: 1; font-size: 14px; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================================
 * 12. SERVICES
 * ========================================================================= */

.services-section { overflow: hidden; }
.services-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.services-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.services-gradient-1 { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(10,20,41,0.88), rgba(10,20,41,0.7)); }
.services-gradient-2 { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 90% 8%, hsla(97,60%,45%,0.16) 0%, transparent 55%), radial-gradient(ellipse at 0% 90%, hsla(174,64%,29%,0.2) 0%, transparent 55%); }
.services-inner { position: relative; z-index: 3; }
.services-intro { max-width: 48rem; }
.services-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 1.25rem; color: hsl(var(--white)); }
.services-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: hsla(0,0%,100%,0.74); }
.services-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; }
.service-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; background-color: hsla(97,60%,45%,0.16); color: hsl(var(--green)); transition: transform 300ms ease; }
.service-card:hover .service-icon { transform: scale(1.08); }
.service-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: hsl(var(--white)); }
.service-body { font-size: 14px; line-height: 1.7; color: hsla(0,0%,100%,0.7); }
.service-points { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsla(0,0%,100%,0.12); display: flex; flex-direction: column; gap: 0.625rem; }
.service-points li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 14px; color: hsla(0,0%,100%,0.82); }
.service-points svg { margin-top: 2px; flex-shrink: 0; color: hsl(var(--green)); }

/* =========================================================================
 * 13. APPROACH
 * ========================================================================= */

.approach-intro { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .approach-intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.approach-intro-text { max-width: 32rem; }
.approach-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 1.25rem; }
.approach-paragraph { max-width: 26rem; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }

.approach-grid { position: relative; margin-top: 3.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.approach-connector { display: none; }
@media (min-width: 1024px) {
  .approach-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .approach-connector {
    display: block; position: absolute; left: 12.5%; right: 12.5%; top: 30px; height: 1px; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, hsl(var(--green)), hsl(var(--teal)));
  }
}
.approach-card { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.approach-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.approach-image-wrap img { transition: transform 700ms ease; }
.approach-card:hover .approach-image-wrap img { transform: scale(1.05); }
.approach-step-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 14px; color: hsl(var(--white));
  background-color: hsl(var(--navy)); transition: background-color 300ms ease;
}
.approach-card:hover .approach-step-badge { background-color: hsl(var(--green)); }
.approach-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.approach-title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.approach-body { font-size: 14px; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================================
 * 14. STORE / PRODUCT CARDS
 * ========================================================================= */

.store-intro { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .store-intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.store-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 1.25rem; }
.store-paragraph { max-width: 26rem; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }

.theme-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; margin-top: 3.5rem; }
.store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) { .store-grid { grid-template-columns: 1fr; } }

.theme-product-card-wrap { height: 100%; display: flex; }

.theme-product-card {
  position: relative;
  display: flex; flex-direction: column; height: 100%; width: 100%;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms ease;
}
.theme-product-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: hsl(var(--green) / 0.55);
}

.theme-product-card__image-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.theme-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }
.theme-product-card__title-link { display: block; color: inherit; }
.theme-card-category-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  background-color: hsl(var(--navy)); color: hsl(var(--white));
}
.theme-card-featured-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 14px; transform: rotate(6deg);
  background-color: hsl(var(--green)); color: hsl(var(--white));
}
.theme-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.theme-product-card__title {
  font-size: 1.125rem; line-height: 1.4; transition: color 300ms ease; min-width: 0;
}
.theme-product-card:hover .theme-product-card__title { color: hsl(var(--green-deep)); }
.theme-product-card__excerpt {
  margin-top: 0.75rem; font-size: 14px; line-height: 1.7; color: hsl(var(--muted-foreground));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer { margin-top: auto; padding-top: 1.5rem; }
.theme-product-card__price {
  display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem;
  font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--navy));
}
.theme-product-card__price .theme-price-note,
.theme-price-note { font-size: 14px; font-family: var(--font-body); font-weight: 400; color: hsl(var(--muted-foreground)); }
.theme-product-card__price del { opacity: 0.5; font-size: 0.85em; margin-right: 0.4em; }
.theme-product-card__features { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 0.75rem; margin-bottom: 1rem; font-size: 13px; color: hsl(var(--muted-foreground)); }
.theme-product-card__features span { display: inline-flex; align-items: center; gap: 0.375rem; }
.theme-product-card__actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-card-add-btn.add_to_cart_button,
.theme-card-add-btn.theme-card-select-btn {
  flex: 1;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  position: relative;
  z-index: 2;
}
.theme-card-add-btn .theme-card-add-icon { transition: transform 300ms ease; }
.theme-product-card__actions .theme-card-add-btn:hover .theme-card-add-icon { transform: scale(1.1); }
.theme-card-view-link {
  position: relative; z-index: 3; pointer-events: auto;
  width: 3rem; height: 3rem; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background-color: hsl(var(--mist)); color: hsl(var(--navy));
  transition: transform 300ms ease;
}
.theme-card-view-link:hover { transform: translateY(-3px); }
.theme-out-of-stock {
  display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  background-color: hsl(var(--border)); color: hsl(var(--muted-foreground));
}

/* =========================================================================
 * 15. FOUNDER
 * ========================================================================= */

.founder-inner { position: relative; }
.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; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); height: 420px; }
@media (min-width: 768px) { .founder-photo-wrap { height: 540px; } }
.founder-content { position: relative; }
.founder-quote-mark {
  position: absolute; top: -20px; left: -20px; z-index: 0; font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: 8rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); pointer-events: none; user-select: none;
}
.founder-eyebrow, .founder-heading, .founder-role, .founder-paragraph, .founder-actions { position: relative; z-index: 1; }
.founder-heading { font-size: clamp(2rem, 5vw, 3.5rem); margin-top: 1.25rem; color: hsl(var(--white)); }
.founder-role { margin-top: 0.75rem; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 14px; color: hsl(var(--green)); }
.founder-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: hsla(0,0%,100%,0.78); }
.founder-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

/* =========================================================================
 * 16. IMPACT
 * ========================================================================= */

.impact-section { overflow: hidden; }
.impact-bg { position: absolute; inset: 0; z-index: 0; }
.impact-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(16,40,92,0.88), rgba(16,40,92,0.88)); }
.impact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .impact-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.impact-heading { font-size: clamp(2rem, 5vw, 3.75rem); margin-top: 1.25rem; color: hsl(var(--white)); }
.impact-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.74); }
.impact-stats { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 36rem; }
.impact-stat { transition: transform 300ms ease; }
.impact-stat:hover { transform: translateY(-6px); }
.impact-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: hsl(var(--white));
}
.impact-stat-value .theme-count-up {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  display: inline;
}
@media (min-width: 768px) {
  .impact-stat-value { font-size: 4.5rem; }
}
.impact-stat-label {
  margin-top: 0.25rem;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.66);
}
.impact-image-wrap { position: relative; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); aspect-ratio: 1; }

/* =========================================================================
 * 17. FAQ
 * ========================================================================= */

.faq-inner { position: relative; z-index: 1; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 3rem; } }
.faq-heading { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-top: 1.25rem; }
.faq-paragraph { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  position: relative; border-radius: 1rem; overflow: hidden; background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border)); transition: border-color 300ms ease;
}
.faq-item.is-open { border-color: hsl(var(--green) / 0.5); }
.faq-item.is-open::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background-color: hsl(var(--green)); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.5rem; }
.faq-question-text { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: hsl(var(--navy)); }
@media (min-width: 768px) { .faq-question-text { font-size: 18px; } }
.faq-icon {
  width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background-color: hsl(var(--mist)); color: hsl(var(--navy)); transition: background-color 300ms ease, color 300ms ease;
}
.faq-item.is-open .faq-icon { background-color: hsl(var(--green)); color: hsl(var(--white)); }
.faq-icon .icon-minus { display: none; }
.faq-item.is-open .faq-icon .icon-plus { display: none; }
.faq-item.is-open .faq-icon .icon-minus { display: block; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
  opacity: 0;
}
.faq-item.is-open .faq-answer {
  opacity: 1;
  max-height: var(--faq-answer-max, 32rem);
}
.faq-answer p { padding: 0 1.5rem 1.5rem; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* =========================================================================
 * 18. FINAL CTA
 * ========================================================================= */

.cta-final-section { position: relative; overflow: hidden; }
.cta-final-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-final-gradient { position: absolute; inset: 0; background: linear-gradient(115deg, hsla(220,60%,11%,0.95) 30%, hsla(220,60%,11%,0.62) 100%); }
.cta-final-inner { position: relative; z-index: 1; }
.store-inner { position: relative; z-index: 1; }
.cta-final-max { max-width: 48rem; }
.cta-final-heading { font-size: clamp(2rem, 5.5vw, 4rem); color: hsl(var(--white)); }
.cta-final-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: hsla(0,0%,100%,0.8); }
@media (min-width: 768px) { .cta-final-paragraph { font-size: 18px; } }
.cta-final-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* =========================================================================
 * 19. CONTACT
 * ========================================================================= */

.contact-inner { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-heading { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-top: 1.25rem; }
.contact-paragraph { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.contact-list { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-list-link, .contact-list-static { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 15px; color: hsl(var(--navy)); transition: color 250ms ease; }
.contact-list-link:hover { color: hsl(var(--green-deep)); }
.contact-list-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-color: hsl(var(--mist)); }
.contact-form-card { border-radius: var(--card-radius); padding: 1.75rem; background-color: hsl(var(--mist)); border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-contact-page-form > div:not(.theme-form-row) { margin-bottom: 1.25rem; }
.theme-contact-page-submit { width: 100%; }
.theme-form-success { text-align: center; padding: 3rem 0; }
.theme-form-success-icon {
  width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background-color: hsl(var(--green)); color: hsl(var(--white));
}
.theme-form-success h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.theme-form-success p { font-size: 15px; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }

/* =========================================================================
 * 20. CONTACT MODAL
 * ========================================================================= */

.theme-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.theme-modal.is-open { display: flex; }
.theme-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); animation: fadeIn 0.3s ease; }
.theme-modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  border-radius: var(--card-radius); background-color: hsl(var(--white)); border: 1px solid hsl(var(--border));
  padding: 1.75rem; box-shadow: var(--shadow-elevated);
  animation: theme-modal-in 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes theme-modal-in { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (min-width: 640px) { .theme-modal-panel { padding: 2rem; } }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: hsl(var(--muted-foreground)); transition: background-color 200ms ease; }
.theme-modal-close:hover { background-color: hsl(var(--mist)); }
.theme-modal-title { font-size: 1.75rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal-description { font-size: 14px; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.theme-modal-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.25rem; font-size: 14px; color: hsl(var(--muted-foreground)); }
.theme-modal-quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 250ms ease; }
.theme-modal-quicklinks a:hover { color: hsl(var(--green-deep)); }
.theme-modal-form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-modal-submit { width: 100%; }
.theme-modal-submit[disabled] { opacity: 0.7; cursor: not-allowed; }
.theme-modal-submit span[data-state] { display: inline-flex; align-items: center; gap: 10px; }
.theme-modal-success { display: none; text-align: center; padding: 2rem 0; }
.theme-modal-success-icon { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background-color: hsl(var(--green)); color: hsl(var(--white)); }
.theme-modal-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 14px; color: hsl(var(--muted-foreground)); }

/* =========================================================================
 * 21. FOOTER
 * ========================================================================= */

.site-footer { position: relative; overflow: hidden; background-color: hsl(var(--navy-deep)); color: hsl(var(--white)); }
.site-footer-watermark { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.site-footer-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 85% 0%, hsla(97,60%,45%,0.16) 0%, transparent 55%), radial-gradient(ellipse at 5% 100%, hsla(174,64%,29%,0.18) 0%, transparent 55%);
}
.site-footer-inner { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .site-footer-grid { gap: 3.5rem; } }
.site-footer-col--brand,
.site-footer-col--explore,
.site-footer-col--contact { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .site-footer-col--brand { grid-column: span 5; }
  .site-footer-col--explore { grid-column: span 3; }
  .site-footer-col--contact { grid-column: span 4; }
}
.site-footer-brand { display: inline-flex; align-items: center; }
.site-footer-description { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; line-height: 1.7; color: hsla(0,0%,100%,0.72); }
.site-footer-socials { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.site-social-link {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid hsla(0,0%,100%,0.2);
  display: flex; align-items: center; justify-content: center; color: hsl(var(--white));
  transition: all 300ms ease;
}
.site-social-link:hover { transform: translateY(-3px); background-color: hsl(var(--green)); border-color: hsl(var(--green)); }
.site-footer-heading { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 14px; margin-bottom: 1.25rem; color: hsl(var(--green)); }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-link,
.theme-footer-nav-button {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-family: inherit;
  color: hsla(0,0%,100%,0.72);
  transition: color 280ms ease;
}
.theme-footer-nav-link:hover,
.theme-footer-nav-button:hover { color: hsl(var(--green)); }
.site-footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; margin-bottom: 1.5rem; }
.site-footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; color: hsla(0,0%,100%,0.72); transition: color 250ms ease; word-break: break-all; }
.site-footer-contact-link:hover { color: hsl(var(--green)); }
.site-footer-address { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: hsla(0,0%,100%,0.72); }
.site-footer-contact-btn { padding: 0.75rem 1.5rem; }
.site-footer-bottom {
  margin-top: 3.5rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 1px solid transparent; border-image: linear-gradient(90deg, hsl(var(--green) / 0.25), hsl(var(--teal) / 0.25)) 1;
}
@media (min-width: 640px) { .site-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer-bottom p { font-size: 14px; color: hsla(0,0%,100%,0.6); }

/* =========================================================================
 * 22. BACK TO TOP
 * ========================================================================= */

.theme-back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-color: hsl(var(--green)); color: hsl(var(--white)); box-shadow: var(--shadow-elevated);
  transition: all 300ms ease; opacity: 0; pointer-events: none;
}
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1) translateY(-4px); }
@media (min-width: 768px) { .theme-back-to-top { width: 3rem; height: 3rem; } }

/* =========================================================================
 * 23. LIGHTBOX
 * ========================================================================= */

.theme-lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 1rem; background-color: hsla(220,60%,8%,0.94); backdrop-filter: blur(4px);
}
.theme-lightbox.is-open { display: flex; animation: fadeIn 0.3s ease; }
@media (min-width: 768px) { .theme-lightbox { padding: 2.5rem; } }
.theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 1rem; }
.theme-lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: hsl(var(--white));
  transition: background-color 250ms ease;
}
.theme-lightbox-close:hover { background: rgba(255,255,255,0.25); }
@media (min-width: 768px) { .theme-lightbox-close { top: 1.5rem; right: 1.5rem; } }

/* =========================================================================
 * 24. SIDE CART DRAWER + OVERLAY (Section 12)
 * ========================================================================= */

#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 90; display: none;
  background-color: hsla(220,60%,8%,0.55); backdrop-filter: blur(3px);
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.3s ease; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: 100%; max-width: 28rem;
  background-color: hsl(var(--white)); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
body.cart-open { overflow: hidden; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.theme-cart-title { font-size: 1.25rem; color: hsl(var(--navy)); }
.theme-cart-count-label { font-size: 14px; color: hsl(var(--muted-foreground)); }
.theme-cart-close { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: hsl(var(--navy)); transition: background-color 250ms ease; }
.theme-cart-close:hover { background-color: hsl(var(--mist)); }

.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 2rem; }
.theme-cart-empty-icon { width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background-color: hsl(var(--mist)); color: hsl(var(--navy)); }
.theme-cart-empty h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-cart-empty p { font-size: 14px; margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }

.theme-cart-items { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-item { display: flex; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid hsl(var(--border)); }
.theme-cart-item-image { width: 5rem; height: 5rem; border-radius: 0.75rem; overflow: hidden; flex-shrink: 0; background-color: hsl(var(--mist)); }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; color: hsl(var(--navy)); }
.theme-cart-item-price { margin-top: 0.25rem; font-size: 14px; color: hsl(var(--muted-foreground)); }
.theme-cart-item-variation { margin-top: 0.25rem; font-size: 13px; color: hsl(var(--muted-foreground)); }
.theme-cart-item-controls { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.theme-cart-qty-group { display: inline-flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: 999px; }
.theme-cart-qty-group button { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 250ms ease; }
.theme-cart-qty-group button:hover { background-color: hsl(var(--mist)); }
.theme-cart-qty-value { width: 2rem; text-align: center; font-size: 14px; font-weight: 600; }
.theme-cart-remove-btn { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: hsl(var(--muted-foreground)); transition: background-color 250ms ease; }
.theme-cart-remove-btn:hover { background-color: hsl(var(--mist)); }

.theme-cart-footer { padding: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.theme-cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.5rem; color: hsl(var(--navy)); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-keep-browsing { width: 100%; margin-top: 0.75rem; }

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

/* =========================================================================
 * 25. WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
 * ========================================================================= */

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !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;
  gap: 8px;
  font-family: var(--font-label) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease, transform 320ms var(--transition-smooth) !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-button-text) !important;
  transform: translateY(-3px) scale(1.02);
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Card compact button — overrides global .add_to_cart_button rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  position: relative; z-index: 3; pointer-events: auto;
  min-height: 3rem !important;
  padding: 0 1.25rem !important;
}

.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* =========================================================================
 * 26. WOOCOMMERCE — NOTICES (Section 14.1)
 * ========================================================================= */

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message, .woocommerce-error, .woocommerce-info {
  font-family: var(--font-body); border-radius: 1rem; padding: 1rem 1.5rem; margin-bottom: 1.5rem;
  background-color: hsl(var(--mist)); color: hsl(var(--charcoal)); border-left: 3px solid hsl(var(--green));
  list-style: none;
}
.woocommerce-error { border-left-color: #d33; }

/* =========================================================================
 * 27. SINGLE PRODUCT PAGE (Section 11.13)
 * ========================================================================= */

.single-product-main { padding-top: 2.5rem; padding-bottom: 6rem; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; font-size: 14px; color: hsl(var(--muted-foreground)); transition: color 250ms ease; }
.theme-back-link:hover { color: hsl(var(--green-deep)); }

.single-product .theme-product-layout {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-main-btn { display: block; width: 100%; border-radius: var(--card-radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-elevated); position: relative; aspect-ratio: 4/3.6; }
@media (min-width: 768px) { .theme-product-main-btn { aspect-ratio: unset; height: 560px; } }
#product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.single-product .theme-product-thumbnails { margin-top: 1rem; display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; }
.theme-thumb-btn { width: 5rem; height: 5rem; border-radius: 0.75rem; overflow: hidden; border: 2px solid hsl(var(--border)); transition: border-color 300ms ease; position: relative; flex-shrink: 0; }
.theme-thumb-btn.is-active { border-color: hsl(var(--green)); }
.theme-thumb-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.product-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.25rem); margin-top: 1rem; letter-spacing: -0.03em; line-height: 1.08; }
.theme-product-price {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: hsl(var(--navy));
}
.theme-product-price .woocommerce-Price-amount,
.theme-product-price .woocommerce-Price-amount span,
.theme-product-price bdi,
.theme-product-price ins,
.theme-product-price ins .amount,
.theme-product-price .amount {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
.theme-product-price del,
.theme-product-price del .amount {
  font-size: 0.85em !important;
  font-weight: 700 !important;
  opacity: 0.55;
}
.theme-product-price .theme-price-note {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}
.theme-product-description { margin-top: 1.5rem; font-size: 16px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.theme-product-description p { margin-bottom: 1rem; }

.single-product .theme-add-to-cart-area {
  margin-top: 2rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid hsl(var(--border)); }
.theme-qty-minus, .theme-qty-plus { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 250ms ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: hsl(var(--mist)); }
.theme-qty-input {
  width: 2.5rem; text-align: center; font-weight: 600; border: none; background: transparent;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-ask-question-btn { width: 100%; margin-top: 0.75rem; }
.theme-no-payment-notice { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: hsl(var(--muted-foreground)); }
.theme-no-payment-icon { color: hsl(var(--green-deep)); flex-shrink: 0; }

.theme-product-details { margin-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-details-chevron { transition: transform 300ms ease; }
.theme-details-toggle[aria-expanded="true"] .theme-details-chevron { transform: rotate(180deg); }
.theme-details-content {
  padding-bottom: 1.5rem;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 400ms ease, opacity 300ms ease;
}
.theme-details-content.is-open { max-height: 2000px; opacity: 1; }
.theme-details-content ul { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-details-content li {
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding-left: 0;
  position: relative;
}
.theme-details-content li::before {
  content: '';
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  background-color: hsl(var(--green));
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

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

/* Related products */
.theme-related-products { margin-top: 3rem; padding-top: 4rem; border-top: 1px solid hsl(var(--border)); }
.theme-related-intro { margin-bottom: 2.5rem; }
.theme-related-heading { font-size: clamp(1.8rem, 4vw, 3rem); margin-top: 1rem; }
.theme-related-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .theme-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .theme-related-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
 * 28. SHOP ARCHIVE
 * ========================================================================= */

.shop-main { padding-top: 3rem; padding-bottom: 6rem; }
.shop-heading { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2.5rem; }
.theme-no-products { padding: 3rem 0; text-align: center; color: hsl(var(--muted-foreground)); }

/* =========================================================================
 * 29. WOOCOMMERCE CHECKOUT BLOCK (Section 13)
 * ========================================================================= */

.page-title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
.entry-content { padding-bottom: 2rem; }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { background-color: hsl(var(--mist)); }

body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

/* Single grid owner: the outer .wc-block-checkout wrapper stays block-level;
   only the inner sidebar-layout element (which carries all three classes
   together) becomes the 50/50 grid (Section 13.2). */
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 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--checkout-gap);
    align-items: start;
  }
  /* WC may output the order summary (sidebar) before the form in DOM — force Lovable order: form left, summary right. */
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-checkout__main {
    grid-column: 1;
    grid-row: 1;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-checkout__sidebar {
    grid-column: 2;
    grid-row: 1;
  }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout select.wc-block-components-select-control__select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: max(0.875rem, 14px) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 0.9rem !important;
  background-color: hsl(var(--mist)) !important;
  color: hsl(var(--charcoal)) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-combobox label {
  font-family: var(--font-label) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: hsl(var(--navy)) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
  border-color: hsl(var(--green)) !important;
  box-shadow: 0 0 0 3px hsl(var(--green) / 0.18) !important;
  outline: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: hsl(var(--muted-foreground)) !important; }

body.woocommerce-checkout .wc-block-components-select,
body.woocommerce-checkout .wc-block-components-combobox {
  width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__button,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: max(0.875rem, 14px) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 0.9rem !important;
  background-color: hsl(var(--mist)) !important;
  color: hsl(var(--charcoal)) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__button:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__button:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control:focus-within,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button:focus {
  border-color: hsl(var(--green)) !important;
  box-shadow: 0 0 0 3px hsl(var(--green) / 0.18) !important;
  outline: none !important;
}

body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control__icons {
  color: hsl(var(--charcoal)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--green)) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-label) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: hsl(var(--green-deep)) !important; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-surface);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 1rem; }

/* Classic (non-block) Lovable quote-request checkout */
body.theme-classic-checkout .site-main { padding-top: 2.5rem; padding-bottom: 6rem; background-color: hsl(var(--mist)); }
body.theme-classic-checkout .site-main > .container-wide > .page-title { display: none; }
body.theme-classic-checkout .entry-content { max-width: 100%; }
.theme-checkout-request-inner { position: relative; }
.theme-checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
  transition: color 250ms ease;
}
.theme-checkout-back:hover { color: hsl(var(--green-deep)); }
.theme-checkout-heading {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
}
.theme-checkout-intro {
  font-size: 16px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .theme-checkout-intro { font-size: 18px; }
}
.theme-checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .theme-checkout-layout { grid-template-columns: 7fr 5fr; gap: 2rem; }
}
.theme-checkout-fields { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.theme-checkout-card {
  border-radius: 1.75rem;
  padding: 1.5rem;
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) {
  .theme-checkout-card { padding: 2rem; }
}
.theme-checkout-card-title { color: hsl(var(--green-deep)); margin-bottom: 1.5rem; }
.theme-checkout-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .theme-checkout-field-grid { grid-template-columns: 1fr 1fr; }
}
.theme-checkout-field--full { grid-column: 1 / -1; }
.theme-checkout-field-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-checkout-notes { resize: none; min-height: 6rem; }
.theme-required { color: hsl(var(--green-deep)); margin-left: 0.125rem; }
.theme-checkout-summary {
  border-radius: 1.75rem;
  padding: 1.5rem;
  background-color: hsl(var(--navy));
  color: hsl(var(--white));
}
@media (min-width: 768px) {
  .theme-checkout-summary { padding: 2rem; }
}
@media (min-width: 1024px) {
  .theme-checkout-summary { position: sticky; top: 7rem; }
}
.theme-checkout-summary-title { color: hsl(var(--green)); margin-bottom: 1.25rem; }
.theme-checkout-cart-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  max-height: 18rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.theme-checkout-cart-item { display: flex; align-items: center; gap: 0.75rem; }
.theme-checkout-cart-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  background-color: hsla(0, 0%, 100%, 0.1);
}
.theme-checkout-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-checkout-cart-meta { flex: 1; min-width: 0; }
.theme-checkout-cart-name { font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-checkout-cart-qty { font-size: 14px; margin: 0; color: hsla(0, 0%, 100%, 0.66); }
.theme-checkout-cart-line { font-size: 14px; margin: 0; flex-shrink: 0; }
.theme-checkout-rows { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; }
.theme-checkout-row { display: flex; justify-content: space-between; gap: 1rem; }
.theme-checkout-row span:first-child { color: hsla(0, 0%, 100%, 0.66); }
.theme-checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.2);
}
.theme-checkout-total-amount {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: hsl(var(--green));
}
.theme-checkout-submit { width: 100%; margin-top: 1.5rem; }
.theme-checkout-no-payment {
  margin: 0.75rem 0 0;
  font-size: 14px;
  color: hsla(0, 0%, 100%, 0.66);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  text-align: center;
}
.theme-checkout-empty,
.theme-checkout-success {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0;
}
.theme-checkout-empty-icon,
.theme-checkout-success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-checkout-empty-icon { background-color: hsl(var(--white)); color: hsl(var(--navy)); }
.theme-checkout-success-icon { background-color: hsl(var(--green)); color: hsl(var(--white)); }
.theme-checkout-empty-heading,
.theme-checkout-success-heading { font-size: clamp(1.75rem, 4vw, 2rem); margin-bottom: 0.75rem; }
.theme-checkout-empty-body,
.theme-checkout-success-body { color: hsl(var(--muted-foreground)); margin-bottom: 1.75rem; }

/* =========================================================================
 * 30. CART & ACCOUNT PAGES (Section 13.7)
 * ========================================================================= */

body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
  background-color: hsl(var(--white));
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}

/* =========================================================================
 * 31. THANK YOU PAGE (Section 22.8)
 * ========================================================================= */

body.theme-thankyou-page { overflow-x: hidden; background-color: hsl(var(--mist)); }
body.theme-thankyou-page .woocommerce-order {
  background-color: hsl(var(--white)); border-radius: var(--card-radius); padding: var(--section-padding);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { 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: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
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 tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word;
}

/* =========================================================================
 * 31.4 VARIABLE PRODUCT PILLS
 * ========================================================================= */

.theme-variations-table { width: 100%; border: 0; margin: 1.5rem 0 0; }
.theme-variations-table th,
.theme-variations-table td { border: 0; padding: 0; vertical-align: top; }
.theme-variations-table th { text-align: left; padding-bottom: 0.75rem; }
.theme-variation-label { color: hsl(var(--navy)); margin: 0; }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.theme-variation-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid hsl(var(--border));
  background-color: hsl(var(--white));
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: hsl(var(--navy));
  transition: border-color 260ms ease, background-color 260ms ease, color 260ms ease, transform 260ms ease;
}
.theme-variation-pill:hover { border-color: hsl(var(--green) / 0.5); transform: translateY(-2px); }
.theme-variation-pill.is-active {
  background-color: hsl(var(--green));
  border-color: hsl(var(--green));
  color: hsl(var(--white));
}
.theme-variation-pill.is-unavailable { opacity: 0.45; cursor: not-allowed; }
.theme-variations-table .theme-variation-select,
.theme-variations-table .reset_variations {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.theme-variations-form .single_variation_wrap { margin-top: 0.5rem; }
.theme-variations-form .single_add_to_cart_button.disabled,
.theme-variations-form .single_add_to_cart_button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* =========================================================================
 * 31.5 404 PAGE (matches NotFound.tsx)
 * ========================================================================= */

.notfound-main {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
}

.notfound-inner { text-align: center; width: 100%; }

.notfound-eyebrow { justify-content: center; }

.notfound-heading {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 10vw, 7rem);
  color: hsl(var(--navy));
  line-height: 1.02;
}

.notfound-body {
  margin-top: 1rem;
  font-size: 16px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.notfound-main .ecd-btn { margin-top: 2rem; }

/* =========================================================================
 * 32. RESPONSIVE MISC
 * ========================================================================= */

@media (max-width: 767px) {
  .store-grid, .services-grid { grid-template-columns: 1fr; }
}
