/* ═══════════════════════════════════════════════════════════════
   MAREN BLUE — THEME CSS
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Color system: All via CSS variables from Customizer
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES (defaults — overridden by wp_add_inline_style) ─ */
:root {
  --color-primary:          #4B7F8C;
  --color-secondary:        #F3EDE5;
  --color-background:       #F8F5F0;
  --color-foreground:       #162133;
  --color-accent:           #C4A670;
  --color-card:             #F2EDE3;
  --color-border:           #D3CABC;
  --color-muted-foreground: #5F7080;
  --color-button-text:      #FFFFFF;
  --logo-height:            24px;

  /* Derived */
  --color-primary-hover:    color-mix(in srgb, var(--color-primary) 85%, black);
  --color-primary-light:    color-mix(in srgb, var(--color-primary) 15%, white);
  --color-foreground-60:    rgba(22, 33, 51, 0.6);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Button system */
  --btn-radius:        0.375rem;
  --btn-height:        48px;
  --btn-padding:       0.75rem 2rem;
  --btn-font-size:     0.9375rem;
  --btn-font-weight:   500;
  --btn-letter-spacing: 0.025em;
  --btn-text-transform: none;
  --btn-icon-padding:  0.75rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-soft:     0 4px 20px -4px rgba(22,33,51,0.08);
  --shadow-elevated: 0 8px 40px -8px rgba(22,33,51,0.15);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  /* Layout */
  --header-height: 80px;
  --section-padding: 5rem;
  --card-radius: var(--radius-lg);

  /* Checkout */
  --checkout-gap: 2rem;
}

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-inline: 2rem; }
}

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.text-center  { text-align: center; }
.text-primary { color: var(--color-primary); }
.theme-text-primary { color: #4B7E8B; }
.text-muted-foreground { color: var(--color-muted-foreground); }
.text-foreground { color: var(--color-foreground); }

.pt-header { padding-top: var(--header-height); }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-inline: auto; }
.mt-10 { margin-top: 2.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-6  { margin-top: 1.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.py-6  { padding-block: 1.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.border-t { border-top: 1px solid var(--color-border); }
.border-border { border-color: var(--color-border); }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease-smooth),
              border-color 0.3s var(--ease-smooth);
  height: var(--header-height);
}
.site-header.is-solid {
  background-color: rgba(248,245,240,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
/* Transparent (home only — not is-solid) */
.site-header:not(.is-solid) { background: transparent; border-bottom: 1px solid transparent; }
.site-header .container-wide { position: relative; }

.theme-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

.site-logo-link { display: block; flex-shrink: 0; }
.site-logo-img  { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: var(--logo-height); display: block; }

/* Transparent header — invert logo */
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid) .site-logo-text { color: white; }

.theme-nav-desktop { display: none; }
@media (min-width: 768px) { .theme-nav-desktop { display: flex; align-items: center; gap: 2rem; } }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; }
.theme-nav-list li a,
.theme-nav-list > li > a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  position: relative;
  transition: color 0.3s;
  color: var(--color-foreground);
}
.site-header:not(.is-solid) .theme-nav-list li a { color: rgba(255,255,255,0.9); }
.site-header:not(.is-solid) .theme-nav-list li a:hover { color: white; }

/* Link underline animation */
.theme-nav-list li a::after,
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list li a:hover::after,
.link-underline:hover::after { transform: scaleX(1); }

.theme-nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-cart-btn {
  position: relative;
  padding: 0.5rem;
  transition: opacity 0.2s;
  color: var(--color-foreground);
  display: flex; align-items: center;
}
.site-header:not(.is-solid) .theme-cart-btn { color: white; }
.theme-cart-btn:hover { opacity: 0.6; }
.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  background: var(--color-primary);
  color: var(--color-button-text);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.theme-menu-btn {
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 0.2s;
  display: flex; align-items: center;
}
.site-header:not(.is-solid) .theme-menu-btn { color: white; }
.theme-menu-btn:hover { opacity: 0.6; }
@media (min-width: 768px) { .theme-menu-btn { display: none; } }

.theme-mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 99;
  background-color: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
}
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--ease-smooth); }
.theme-mobile-nav-list,
.theme-mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.theme-mobile-nav-list > li,
.theme-mobile-menu .menu-item {
  display: block;
  width: 100%;
}
.theme-mobile-nav-list li a {
  display: block;
  width: 100%;
  padding: 0.625rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.theme-mobile-nav-list li a:hover { color: var(--color-primary); }

/* ─── HERO ──────────────────────────────────────────────────────── */
.theme-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.theme-hero-media { position: absolute; inset: 0; }
.theme-hero-video,
.theme-hero-fallback-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}
.theme-hero-overlay {
  position: absolute; inset: 0;
  background: var(--color-foreground);
  opacity: 0.55;
}
.theme-hero-gradient {
  position: absolute;
  inset-inline: 0; bottom: 0;
  height: 66%;
  background: linear-gradient(to top, rgba(22,33,51,0.6) 0%, rgba(22,33,51,0.25) 50%, transparent 100%);
}
.theme-hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding-block: 5rem;
}
.theme-hero-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.theme-hero-badge-line { display: block; height: 1px; width: 32px; background: rgba(255,255,255,0.4); }
.theme-hero-badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.theme-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
  margin-bottom: 1rem;
}
.theme-hero-subheading {
  color: rgba(255,255,255,0.95);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  font-family: var(--font-body);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.theme-hero-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .theme-hero-btns { flex-direction: row; }
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s, transform 0.1s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.theme-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.theme-btn:active { transform: translateY(0); opacity: 1; }

.theme-btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text);
}
.theme-btn-primary:hover { background-color: var(--color-primary); }

.theme-btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-foreground);
}

.theme-btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-foreground);
}
.theme-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: transparent; opacity: 1; }

.theme-btn-ghost {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.20);
  color: white;
}
.theme-btn-ghost:hover { background: rgba(255,255,255,0.20); opacity: 1; }

.theme-btn-sm {
  min-height: 36px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ─── OVERLINE ──────────────────────────────────────────────────── */
.theme-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}
.theme-overline-light { color: rgba(255,255,255,0.7); }
.theme-overline-light-sm {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

/* ─── SECTIONS ──────────────────────────────────────────────────── */
.theme-section {
  padding-block: var(--section-padding);
}
.theme-section-secondary { background-color: var(--color-secondary); }
.theme-section-tinted    { background-color: color-mix(in srgb, var(--color-primary) 10%, white); }
.theme-section-secondary { padding-block: var(--section-padding); }
.theme-section-tinted    { padding-block: var(--section-padding); }

.theme-section-header { margin-bottom: 3rem; }
.theme-section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.theme-section-subheading {
  color: var(--color-muted-foreground);
  max-width: 36rem;
  margin-inline: auto;
  margin-top: 1rem;
  font-family: var(--font-body);
}

/* ─── TWO-COLUMN LAYOUT ─────────────────────────────────────────── */
.theme-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.theme-two-col-stretch { align-items: stretch; }
@media (min-width: 768px) {
  .theme-two-col { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.theme-two-col-image,
.theme-two-col-content { min-width: 0; max-width: 100%; }

/* ─── IMAGE UTILITIES ───────────────────────────────────────────── */
.theme-img-wrap { overflow: hidden; }
.theme-img-wrap-rounded { border-radius: var(--radius-lg); }
.theme-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-img-zoom { transition: transform 0.7s var(--ease-smooth); }
.theme-img-wrap:hover .theme-img-zoom { transform: scale(1.03); }

/* ─── PROSE ─────────────────────────────────────────────────────── */
.theme-prose { color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }
.theme-prose p { margin-bottom: 1rem; }
.theme-prose p:last-child { margin-bottom: 0; }
.theme-prose strong { color: var(--color-foreground); font-weight: 600; }
.theme-prose-lg { font-size: 1.0625rem; }
.theme-prose-muted { color: var(--color-muted-foreground); }
.theme-prose ul { list-style: disc; padding-left: 1.5rem; }
.theme-prose ul li { margin-bottom: 0.25rem; }

/* ─── CARD HOVER ────────────────────────────────────────────────── */
.card-hover { transition: all 0.5s var(--ease-smooth); }
.card-hover:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

/* ─── PAGE HERO ─────────────────────────────────────────────────── */
.theme-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.theme-page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.theme-page-hero-overlay {
  position: absolute; inset: 0;
  background: var(--color-foreground);
  opacity: 0.55;
}
.theme-page-hero-content {
  position: relative; z-index: 10;
  padding-block: 5rem 6rem;
}
.theme-page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}
.theme-page-hero-quote {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-style: italic;
  max-width: 42rem;
  margin-inline: auto;
}
.theme-page-hero-sub {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-inline: auto;
}

/* ─── CTA SECTION ───────────────────────────────────────────────── */
.theme-cta-section {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
}
.theme-cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.theme-cta-overlay {
  position: absolute; inset: 0;
  background: var(--color-foreground);
  opacity: 0.60;
}
.theme-cta-content {
  position: relative; z-index: 10;
  text-align: center;
  padding-block: 5rem 6rem;
}
.theme-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}
.theme-cta-text {
  color: rgba(255,255,255,0.8);
  max-width: 28rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
}
.theme-cta-btns {
  display: flex;
  flex-direction: column; gap: 0.75rem;
  align-items: center; justify-content: center;
}
@media (min-width: 640px) { .theme-cta-btns { flex-direction: row; } }

/* ─── SERVICES GRID (home) ──────────────────────────────────────── */
.theme-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.theme-service-card {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}
.theme-service-card-img { height: 192px; overflow: hidden; }
.theme-service-card-img .theme-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-smooth); }
.theme-service-card:hover .theme-service-card-img .theme-img { transform: scale(1.05); }
.theme-service-card-body { padding: 2rem; }
.theme-service-card-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  margin-top: -3rem;
  position: relative; z-index: 10;
  border: 4px solid var(--color-card);
  background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
  color: var(--color-primary);
}
.theme-service-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.theme-service-card-desc {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ─── PRODUCT GRID ──────────────────────────────────────────────── */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { gap: 1.5rem; } }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-grid-3 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .theme-product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.theme-product-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
  .theme-product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.theme-product-grid-shop {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 480px) { .theme-product-grid-shop { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .theme-product-grid-shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

/* ─── PRODUCT CARD ──────────────────────────────────────────────── */
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.theme-product-card__image-wrapper,
.theme-product-card__hover-overlay,
.theme-product-card__sold-out,
.theme-product-card__name,
.theme-product-card__price {
  pointer-events: none;
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background-color: var(--color-secondary);
}
.theme-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }

.theme-product-card__sold-out {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  background: var(--color-foreground);
  color: var(--color-background);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
}
@media (min-width: 768px) {
  .theme-product-card__sold-out { top: 0.75rem; left: 0.75rem; }
}
.theme-product-card__hover-overlay {
  position: absolute; inset: 0;
  background: var(--color-foreground);
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: var(--radius-lg);
}
.theme-product-card:hover .theme-product-card__hover-overlay { opacity: 0.05; }

.theme-product-card__info { flex: 1; }
.theme-product-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}
.theme-product-card__price .price ins,
.theme-product-card__price ins { text-decoration: none; }

/* ─── BOUTIQUE PREVIEW PRODUCTS ─────────────────────────────────── */
.theme-section-secondary .theme-product-card__image-wrapper { background-color: var(--color-background); }

/* ─── TESTIMONIALS ──────────────────────────────────────────────── */
.theme-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .theme-testimonials-grid { grid-template-columns: 1fr 1fr; } }
.theme-testimonial-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.theme-testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; color: var(--color-accent); }
.theme-testimonial-quote {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}
.theme-testimonial-author {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
}

/* ─── SERVICES LIST (services page) ────────────────────────────── */
.theme-services-list { display: flex; flex-direction: column; gap: 4rem; }
.theme-service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .theme-service-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .theme-service-row.theme-service-row-reversed .theme-service-row-img { order: 2; }
  .theme-service-row.theme-service-row-reversed .theme-service-row-content { order: 1; }
}
.theme-service-row-img .theme-img-wrap { border-radius: var(--radius-lg); aspect-ratio: 4/3; }
.theme-service-row-img .theme-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.theme-feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-feature-list-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.theme-feature-bullet {
  width: 6px; height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.4rem;
  flex-shrink: 0;
}

/* ─── PORTFOLIO ─────────────────────────────────────────────────── */
.theme-portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-portfolio-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.theme-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.theme-portfolio-img {
  width: 100%; height: 288px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
  display: block;
}
@media (min-width: 768px) { .theme-portfolio-img { height: 384px; } }
.theme-portfolio-item:hover .theme-portfolio-img { transform: scale(1.05); }
.theme-portfolio-label-wrap {
  position: absolute; inset: 0;
  background: transparent;
  display: flex; align-items: flex-end;
  padding: 1.5rem;
  transition: background-color 0.5s;
  pointer-events: none;
}
.theme-portfolio-item:hover .theme-portfolio-label-wrap { background: rgba(22,33,51,0.3); }
.theme-portfolio-label {
  color: white;
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.5s var(--ease-smooth), visibility 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}
.theme-portfolio-item:hover .theme-portfolio-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ─── RESOURCES ─────────────────────────────────────────────────── */
.theme-resources-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-resources-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-resource-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
}
.theme-resource-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.theme-resource-icon-lg {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.theme-resource-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.theme-resource-desc  { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; font-family: var(--font-body); flex: 1; margin-bottom: 1.5rem; }
.theme-resource-btns  { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ─── SUBSCRIBE FORM ────────────────────────────────────────────── */
.theme-subscribe-form { margin-bottom: 0; }
.theme-subscribe-form-inner { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin-inline: auto; }
@media (min-width: 640px) { .theme-subscribe-form-inner { flex-direction: row; } }
.theme-subscribe-success {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.theme-subscribe-note { font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-top: 1rem; }

/* ─── ABOUT PAGE ────────────────────────────────────────────────── */
.theme-mission-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-muted-foreground);
}
.theme-values-section {
  position: relative; overflow: hidden;
  padding-block: 5rem 6rem;
}
.theme-values-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.theme-values-overlay { position: absolute; inset: 0; background: var(--color-foreground); opacity: 0.65; }
.theme-values-content { position: relative; z-index: 10; }
.theme-values-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
}
.theme-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin-inline: auto;
}
@media (min-width: 640px) { .theme-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-values-grid { grid-template-columns: repeat(4, 1fr); } }
.theme-value-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.theme-value-icon { color: white; margin-inline: auto; margin-bottom: 1rem; }
.theme-value-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: white; margin-bottom: 0.75rem; }
.theme-value-desc { font-size: 0.875rem; color: rgba(255,255,255,0.75); font-family: var(--font-body); line-height: 1.6; }

.theme-founder-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.theme-founder-photos .theme-img-wrap { height: 100%; min-height: 200px; }
.theme-founder-role { color: var(--color-primary); font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem; }

.theme-team-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--color-card);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .theme-team-card { grid-template-columns: 2fr 3fr; } }
.theme-team-card-img { height: 18rem; }
@media (min-width: 768px) { .theme-team-card-img { height: 100%; min-height: 240px; } }
.theme-team-card-img .theme-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.theme-team-card-body { padding: 2rem 2.5rem; }
.theme-team-card-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }

/* ─── CONTACT PAGE ──────────────────────────────────────────────── */
.theme-contact-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 1024px) { .theme-contact-card { grid-template-columns: 2fr 3fr; } }
.theme-contact-panel {
  background-color: var(--color-primary);
  padding: 2rem 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.theme-contact-panel-main { flex: 0 0 auto; }
.theme-contact-panel-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.theme-contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.theme-contact-info-link,
.theme-contact-info-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body); font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}
.theme-contact-info-link { transition: color 0.2s; }
.theme-contact-info-link:hover { color: white; }
.theme-contact-info-icon {
  width: 2.25rem; height: 2.25rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.theme-contact-service-area {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.theme-contact-service-heading { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.theme-contact-service-area p { font-size: 0.875rem; color: rgba(255,255,255,0.7); font-family: var(--font-body); line-height: 1.6; }

.theme-contact-form-col { padding: 2rem 2.5rem; background: var(--color-background); }
.theme-contact-success { text-align: center; padding-block: 3rem; }
.theme-contact-success-icon {
  width: 4rem; height: 4rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 1.5rem;
  color: white;
}

/* ─── FORMS ─────────────────────────────────────────────────────── */
.theme-form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.25rem; }
.theme-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-label { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); }
.theme-form-label span { font-size: 0.7em; opacity: 0.7; }

.theme-input,
.theme-textarea,
.theme-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-background);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.theme-input::placeholder,
.theme-textarea::placeholder { color: var(--color-muted-foreground); }
.theme-input:focus,
.theme-textarea:focus,
.theme-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-textarea { resize: none; }

.theme-select-wrap { position: relative; }
.theme-select { padding-right: 2.5rem; }
.theme-select-arrow {
  position: absolute;
  right: 0.75rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-primary);
}

/* ─── FAQ ───────────────────────────────────────────────────────── */
.theme-faq-section { margin-bottom: 2.5rem; }
.theme-faq-cat-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.theme-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.theme-faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: none;
  transition: background-color 0.2s;
}
.theme-faq-btn:hover { background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.theme-faq-question { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); padding-right: 1rem; flex: 1; }
.theme-faq-icon { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s; }
.theme-faq-item.is-open .theme-faq-icon { transform: rotate(180deg); }
.theme-faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease-smooth); }
.theme-faq-item.is-open .theme-faq-answer { max-height: 600px; }
.theme-faq-answer-text { padding: 0 1.25rem 1.25rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }
.theme-faq-cta { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); text-align: center; }

/* ─── SHOP PAGE ─────────────────────────────────────────────────── */
.theme-shop-filters { }
.theme-cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  background-color: var(--color-secondary);
  color: var(--color-foreground);
  transition: all 0.3s;
  border: none; cursor: pointer;
}
.theme-cat-filter-btn:hover { background-color: color-mix(in srgb, var(--color-secondary) 70%, var(--color-border)); }
.theme-cat-filter-btn.is-active { background-color: var(--color-primary); color: white; }

.theme-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-price-filter-toggle { display: flex; align-items: center; gap: 0.5rem; }
.theme-chevron { transition: transform 0.3s; }
.theme-price-filter-toggle.is-open .theme-chevron { transform: rotate(180deg); }
.theme-price-filter-panel {
  width: 100%;
  max-width: 24rem;
  padding: 0.5rem 0;
}
.theme-price-display {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--color-muted-foreground);
  font-family: var(--font-body); margin-top: 0.5rem;
}

/* Price Range Slider */
.price-range-wrapper {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.price-range-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--color-border);
  border-radius: 2px;
  pointer-events: none;
}
.price-range-input {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  height: 28px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  padding: 0;
  border: none;
  box-shadow: none;
  pointer-events: none;
}
.price-range-input::-webkit-slider-runnable-track {
  background: transparent;
  height: 4px;
  border: none;
}
.price-range-input::-moz-range-track {
  background: transparent;
  height: 4px;
  border: none;
}
.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-primary);
  cursor: grab;
  margin-top: -7px;
  pointer-events: auto;
}
.price-range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-primary);
  cursor: grab;
  pointer-events: auto;
}
.range-track-fill {
  position: absolute;
  height: 4px;
  background: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 2px;
}

/* ─── SINGLE PRODUCT ────────────────────────────────────────────── */
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
  min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-main-img-wrap {
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
}
.theme-product-main-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.theme-product-thumb {
  aspect-ratio: 1;
  width: calc(20% - 0.4rem);
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.theme-product-info { padding-block: 1.5rem; }
@media (min-width: 1024px) { .theme-product-info { padding-block: 2.5rem; } }

.theme-product-categories {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-categories a { color: inherit; }
.theme-product-categories a:hover { color: var(--color-primary); }

.theme-product-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-stock-badge {
  display: inline-flex; align-items: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm); margin-bottom: 1rem;
}
.theme-product-stock-badge.sold-out { background: color-mix(in srgb, var(--color-foreground) 10%, transparent); color: var(--color-foreground); }

/* Attribute buttons */
.theme-attr-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background-color 0.2s;
  background: var(--color-background);
  color: var(--color-foreground);
  cursor: pointer;
}
.theme-attr-btn:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-btn.is-selected {
  border-color: var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 8%, var(--color-background));
  color: var(--color-foreground);
}
.theme-attr-btn--swatch.is-selected {
  border-color: var(--theme-attr-swatch, var(--color-primary));
  box-shadow: 0 0 0 1px var(--theme-attr-swatch, var(--color-primary));
}
.theme-attr-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-foreground) 8%, transparent);
}
.theme-attr-swatch--empty {
  background: linear-gradient(135deg, #f8f5f0 45%, var(--color-border) 45%, var(--color-border) 55%, #f8f5f0 55%);
}
.theme-attr-label { line-height: 1.2; }
.theme-attr-select-hidden { display: none !important; }

/* 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.375rem; font-weight: 600; font-family: var(--font-body); font-size: 0.875rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations.shop_attributes { width: 100%; border: none; margin-bottom: 1.5rem; }
.single-product .variations.shop_attributes tr { margin-bottom: 1.5rem; }

/* Add to Cart area */
.theme-add-to-cart-area,
.theme-cart-actions,
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}
.theme-cart-actions .theme-quantity-wrapper,
.theme-add-to-cart-area .theme-quantity-wrapper,
.single-product .woocommerce-variation-add-to-cart .theme-quantity-wrapper {
  flex-shrink: 0;
}
.theme-cart-actions .single_add_to_cart_button,
.theme-add-to-cart-area .single_add_to_cart_button,
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.theme-quantity-wrapper {
  display: flex; align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s;
  background: none; border: none;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  font-family: var(--font-body);
  padding-block: 0.75rem;
  background: none;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.theme-qty-input:focus { outline: none; }

.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;
  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: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !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;
}
.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;
}

/* Button lock during AJAX */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Hide "View Cart" link injected by WooCommerce */
.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; }

/* Product details section */
.theme-product-details-heading { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details ul,
.theme-product-details .woocommerce-product-details__short-description ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details ul li,
.theme-product-details .woocommerce-product-details__short-description li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body);
}
.theme-product-details ul li::before {
  content: '';
  width: 6px; height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.375rem;
  flex-shrink: 0;
}

/* Related products */
.theme-related { }
.theme-related-heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }

/* Back link */
.theme-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--color-muted-foreground);
  font-family: var(--font-body); transition: color 0.2s;
}
.theme-back-link:hover { color: var(--color-foreground); }

/* Single product responsive */
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product form.variations_form.cart { display: block; margin-bottom: 2rem; }
.single-product .single_variation_wrap { width: 100%; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* WooCommerce notices */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { display: block; }

/* WooCommerce breadcrumbs removed in functions.php */

/* ─── CART DRAWER ───────────────────────────────────────────────── */
#theme-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(22,33,51,0.2);
  z-index: 200;
  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: 201;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#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.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.theme-cart-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s; }
.theme-cart-close:hover { opacity: 1; }

.theme-cart-empty {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
  color: var(--color-muted-foreground);
}
.theme-cart-empty svg { margin-bottom: 1rem; }
.theme-cart-empty-text { margin-bottom: 1.5rem; font-family: var(--font-body); }

.theme-cart-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-link {
  width: 5rem; height: 6rem;
  flex-shrink: 0;
  background-color: var(--color-secondary);
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
}
.theme-cart-item-img-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name {
  display: block;
  font-size: 0.875rem; font-weight: 500;
  font-family: var(--font-body);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.2s;
}
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn {
  width: 1.25rem; height: 1.25rem;
  padding: 0.125rem;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s;
  flex-shrink: 0;
}
.theme-cart-qty-btn:hover { background-color: var(--color-muted); }
.theme-cart-qty { font-size: 0.875rem; min-width: 1.5rem; text-align: center; font-family: var(--font-body); }
.theme-cart-remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s; cursor: pointer; background: none; border: none; }
.theme-cart-remove:hover { color: var(--color-foreground); }

.theme-cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 1rem;
  flex-shrink: 0;
}
.theme-cart-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ─── FOOTER ────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--color-border); }
.theme-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.theme-footer-brand .site-logo-img { margin-bottom: 0.5rem; }
.theme-footer-tagline { font-size: 0.875rem; font-style: italic; color: var(--color-muted-foreground); font-family: var(--font-body); margin-top: 0.5rem; margin-bottom: 1rem; }
.theme-footer-about { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 22rem; line-height: 1.6; font-family: var(--font-body); margin-bottom: 1rem; }
.theme-footer-social { display: flex; gap: 1rem; }
.theme-footer-social-link { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s; }
.theme-footer-social-link:hover { color: var(--color-foreground); }

.theme-footer-col-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-footer-nav { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.theme-footer-nav li a { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s; }
.theme-footer-nav li a:hover { color: var(--color-foreground); }

.theme-footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-contact li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-footer-phone { color: inherit; transition: color 0.2s; }
.theme-footer-phone:hover { color: var(--color-foreground); }

.theme-footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; } }
.theme-footer-copy { font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s; }
.theme-footer-credit:hover { color: var(--color-foreground); }

/* ─── CHECKOUT (WooCommerce Blocks) ─────────────────────────────── */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }

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: 1fr 380px;
    gap: var(--checkout-gap);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-foreground);
  background: var(--color-background);
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  min-height: var(--btn-height) !important;
  border: none !important;
  transition: opacity 0.2s !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85 !important; }

body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* ─── THANK YOU PAGE ────────────────────────────────────────────── */
body.theme-thankyou-page .woocommerce-order { color: var(--color-foreground); font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2rem; padding: 1.5rem; background: var(--color-secondary); border-radius: var(--radius-lg); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview strong { color: var(--color-foreground); }
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; padding: 0 0 1rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
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-order-details table td,
body.theme-thankyou-page .woocommerce-order-details table th { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { font-style: normal; font-size: 0.875rem; color: var(--color-foreground); line-height: 1.6; max-width: 480px; overflow-wrap: break-word; }
body.theme-thankyou-page { overflow-x: hidden; }

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.js-fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.js-fade-up.is-visible { opacity: 1; transform: translateY(0); }
.js-slide-left { opacity: 0; transform: translateX(-48px); transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth); }
.js-slide-left.is-visible { opacity: 1; transform: translateX(0); }
.js-slide-right { opacity: 0; transform: translateX(48px); transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth); }
.js-slide-right.is-visible { opacity: 1; transform: translateX(0); }

/* Delay helpers */
.js-fade-up[data-delay="0"] { transition-delay: 0s; }
.js-fade-up[data-delay="1"] { transition-delay: 0.12s; }
.js-fade-up[data-delay="2"] { transition-delay: 0.24s; }
.js-fade-up[data-delay="3"] { transition-delay: 0.36s; }

/* ─── SECTION: secondary background utility ─────────────────────── */
.theme-section-secondary { background-color: var(--color-secondary); }

/* ─── WC WRAPPERS ───────────────────────────────────────────────── */
.woocommerce { }

/* ─── PRIVACY PAGE PROSE ────────────────────────────────────────── */
.theme-prose section { margin-bottom: 2rem; }
.theme-prose section h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-prose ul li { list-style: disc; margin-left: 1.25rem; margin-bottom: 0.25rem; }

/* ─── RESPONSIVE: misc ──────────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --section-padding: 6rem; }
}
@media (max-width: 767px) {
  .theme-service-card-img { height: 160px; }
}
