/* ==========================================================================
   MustWild theme.css — single source of truth for all visual styling.
   Colors are emitted as CSS variables via wp_add_inline_style (functions.php)
   from Customizer color_mods. See Section 6 / 6.1.
   ========================================================================== */

:root {
  --font-heading: "Bebas Neue", Impact, system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 0.75rem;
  --header-height: 80px;
  --header-height-mobile: 64px;
  --checkout-gap: 2rem;

  /* Fallback tokens from src/index.css (overridden by Customizer inline CSS) */
  --color-background: #f5f0e8;
  --color-card: #fcfaf7;
  --color-foreground: #16262e;
  --color-primary: #1b4d57;
  --color-ocean-deep: #0e2a33;
  --color-coral: #e8744f;
  --color-muted-foreground: #4f646c;
  --color-border: #ddd4c7;
  --color-sand-deep: #e8dfd2;
  --color-destructive: #d92626;
}

/* ---- Derived / computed color tokens (Section 6.1) ---- */
:root {
  --primary-foreground: #fbf8f4;
  --secondary-foreground: #fcfaf8;
  --color-button-text: var(--primary-foreground);
  --color-coral-soft: color-mix(in srgb, var(--color-coral) 55%, white);
  --muted: color-mix(in srgb, var(--color-background) 70%, var(--color-border) 30%);
  --input: var(--color-border);
  --ring: var(--color-primary);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; border-color: var(--color-border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }

/* height:auto must not override forced-height logos / covers */
img:not(.cover-img):not(.hero-video):not(.theme-product-card__img):not(.theme-product-thumb img):not(.site-logo-img):not(.footer-logo-img):not(.theme-cart-item__img):not(.theme-product-main-img):not(.theme-related-card__img) {
  max-width: 100%;
  height: auto;
  display: block;
}
.cover-img,
.hero-video,
.theme-product-card__img,
.theme-product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.section-padding { padding-block: 5rem; }
@media (min-width: 768px) { .section-padding { padding-block: 7rem; } }
@media (min-width: 1024px) { .section-padding { padding-block: 8rem; } }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-coral);
  margin-bottom: 0.75rem;
  text-transform: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: 9999px;
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  text-transform: none;
  border: none;
  cursor: pointer;
}
.btn svg { pointer-events: none; flex-shrink: 0; }
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text, #fff);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 88%, black 12%); transform: translateY(-1px); }
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background-color: var(--color-primary); color: #fff; }
.btn-ghost { background-color: transparent; color: var(--color-foreground); }
.btn-ghost:hover { background-color: var(--muted); }
.btn-hero-primary {
  background-color: var(--color-coral);
  color: #fff;
  text-transform: none;
  width: 100%;
}
.btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-coral) 90%, transparent); }
.btn-hero-outline {
  background-color: transparent;
  border: 1px solid color-mix(in srgb, #ffffff 40%, transparent);
  color: #fff;
  text-transform: none;
  width: 100%;
}
.btn-hero-outline:hover { background-color: #fff; color: var(--color-ocean-deep); }
@media (min-width: 640px) {
  .btn-hero-primary, .btn-hero-outline { width: auto; min-width: 220px; }
}
.btn-sm { height: 2.5rem; padding: 0 1rem; font-size: 0.875rem; border-radius: 9999px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
}
/* Fixed header + WP admin bar */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-mobile);
}
@media (min-width: 768px) { .site-header__inner { height: var(--header-height); } }

.site-branding { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.site-header.is-solid .site-logo-img,
.site-header.is-scrolled .site-logo-img { filter: none; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-heading); font-size: 1.5rem; color: #fff; transition: color 0.3s ease; }
.site-header.is-solid .site-logo-text,
.site-header.is-scrolled .site-logo-text { color: var(--color-foreground); }

.desktop-nav { display: none; }
@media (min-width: 1024px) { .desktop-nav { display: block; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list a,
.theme-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.2s ease;
}
.site-header.is-solid .theme-nav-list a,
.site-header.is-scrolled .theme-nav-list a { color: var(--color-foreground); }
.theme-nav-list a:hover { color: var(--color-coral); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-btn, .theme-mobile-toggle {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header.is-solid .theme-cart-btn,
.site-header.is-scrolled .theme-cart-btn,
.site-header.is-solid .theme-mobile-toggle,
.site-header.is-scrolled .theme-mobile-toggle { color: var(--color-foreground); }
.theme-cart-btn:hover, .theme-mobile-toggle:hover { background-color: color-mix(in srgb, #ffffff 10%, transparent); }
.site-header.is-solid .theme-cart-btn:hover,
.site-header.is-scrolled .theme-cart-btn:hover { background-color: var(--muted); }
.theme-cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background-color: var(--color-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  height: 1rem;
  min-width: 1rem;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }
.theme-mobile-toggle .icon-menu,
.theme-mobile-toggle .icon-close {
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.theme-mobile-toggle[aria-expanded="true"] .icon-close {
  animation: theme-mobile-icon-in 0.28s ease;
}

@keyframes theme-mobile-icon-in {
  from { opacity: 0; transform: rotate(-45deg) scale(0.85); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

/* Mobile nav — smooth open/close with staggered link reveal */
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-top: 1px solid transparent;
  background-color: var(--color-background);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-foreground) 8%, transparent);
  transition:
    grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    visibility 0.42s,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.mobile-nav[hidden] { display: grid !important; } /* keep grid for animation; JS toggles [hidden] + .is-open */
.mobile-nav.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-top-color: var(--color-border);
}
.mobile-nav__inner {
  overflow: hidden;
  min-height: 0;
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

.theme-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* Lovable gap-1 */
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 1.25rem;
}
.theme-mobile-nav-list > li {
  margin: 0;
  padding: 0;
  list-style: none;
  /* kill any WP horizontal menu styles */
  float: none !important;
  width: 100% !important;
}
.theme-mobile-nav-list a {
  display: block;
  padding: 0.85rem 0.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
  color: var(--color-foreground);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.36s ease,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease,
    padding-left 0.2s ease;
}
.theme-mobile-nav-list > li:last-child > a { border-bottom: none; }
.theme-mobile-nav-list a:hover {
  color: var(--color-coral);
  padding-left: 0.35rem;
}

.mobile-nav.is-open .theme-mobile-nav-list a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(1) > a { transition-delay: 0.05s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(2) > a { transition-delay: 0.09s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(3) > a { transition-delay: 0.13s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(4) > a { transition-delay: 0.17s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(5) > a { transition-delay: 0.21s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(6) > a { transition-delay: 0.25s; }
.mobile-nav.is-open .theme-mobile-nav-list > li:nth-child(n+7) > a { transition-delay: 0.29s; }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .theme-mobile-nav-list a,
  .theme-mobile-toggle .icon-menu,
  .theme-mobile-toggle .icon-close {
    transition: none !important;
    animation: none !important;
  }
  .theme-mobile-nav-list a {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
body.theme-no-hero .site-main { padding-top: var(--header-height-mobile); }
@media (min-width: 768px) { body.theme-no-hero .site-main { padding-top: var(--header-height); } }
body.theme-no-hero .site-main.theme-404 { padding-top: 0; }

.hero-video { z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    var(--color-ocean-deep) 0%,
    color-mix(in srgb, var(--color-ocean-deep) 60%, transparent) 55%,
    color-mix(in srgb, var(--color-ocean-deep) 20%, transparent) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; color: var(--color-coral); margin-bottom: 1rem; }
@media (min-width: 768px) { .hero-eyebrow { font-size: 0.875rem; } }
.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 0.95;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-subtitle {
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1rem;
  color: color-mix(in srgb, #ffffff 85%, transparent);
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* ==========================================================================
   SCROLL REVEAL ANIMATION (Section 2.1)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   SHOP SECTION
   ========================================================================== */
.shop-section { background-color: color-mix(in srgb, var(--color-sand-deep) 30%, transparent); }
.shop-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .shop-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-heading, .section-heading {
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--color-ocean-deep);
}
@media (min-width: 768px) { .shop-heading, .section-heading { font-size: 3rem; } }
.shop-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-cat-filter {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-ocean-deep);
  transition: all 0.2s ease;
}
.theme-cat-filter:hover { border-color: var(--color-ocean-deep); }
.theme-cat-filter.is-active { background-color: var(--color-ocean-deep); color: #fff; border-color: var(--color-ocean-deep); }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; }
.theme-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 2rem; /* Lovable rounded-2xl */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.theme-product-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-background);
}
.theme-product-card__image-link img { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__image-link img { transform: scale(1.05); }
.theme-product-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.theme-product-card__cat { font-size: 11px; letter-spacing: 0.2em; color: var(--color-coral); }
.theme-product-card__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-ocean-deep);
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}
.theme-product-card__title:hover { color: var(--color-coral); }
.theme-product-card__tagline { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; flex: 1; }
.theme-product-card__footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.theme-product-card__price { font-family: var(--font-heading); font-size: 1.125rem; color: var(--color-ocean-deep); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-heading); }
.theme-product-card__actions { display: flex; gap: 0.5rem; }
.theme-card-view-btn, .theme-card-add-btn {
  min-width: 84px;
  justify-content: center;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}
.theme-stock-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.theme-stock-badge--out { background-color: color-mix(in srgb, var(--color-destructive) 15%, transparent); color: var(--color-destructive); }

/* ==========================================================================
   ADVENTURES
   ========================================================================== */
.adventures-section { background-color: var(--color-ocean-deep); color: #fff; }
.adventures-intro { max-width: 42rem; margin-bottom: 3rem; }
.section-subtitle { margin-top: 1rem; color: color-mix(in srgb, #ffffff 75%, transparent); line-height: 1.6; }
.adventures-section .section-heading { color: #fff; }
.adventures-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .adventures-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.adventure-card {
  background-color: color-mix(in srgb, #ffffff 5%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  border-radius: 2rem; /* Lovable rounded-2xl */
  overflow: hidden;
}
.adventure-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.adventure-card__image-wrapper img { transition: transform 0.7s ease; }
.adventure-card:hover .adventure-card__image-wrapper img { transform: scale(1.05); }
.adventure-card__body { padding: 1.5rem; }
.adventure-card__tag { font-size: 11px; letter-spacing: 0.25em; color: var(--color-coral); }
.adventure-card__title { font-family: var(--font-heading); font-size: 1.5rem; margin-top: 0.5rem; }
.adventure-card__desc { font-size: 0.875rem; color: color-mix(in srgb, #ffffff 75%, transparent); margin-top: 0.75rem; line-height: 1.6; }
.adventure-card__tip {
  font-size: 0.75rem;
  color: color-mix(in srgb, #ffffff 60%, transparent);
  margin-top: 1rem;
  border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  padding-top: 1rem;
  line-height: 1.6;
}
.adventure-card__tip-label { color: var(--color-coral); font-weight: 600; letter-spacing: 0.02em; }

/* ==========================================================================
   CONSERVATION
   ========================================================================== */
.conservation-section { background-color: var(--color-background); }
.conservation-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .conservation-grid { grid-template-columns: 3fr 2fr; gap: 4rem; } }
.conservation-image-wrapper { border-radius: 2rem; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.conservation-body { margin-top: 1.25rem; color: var(--color-muted-foreground); line-height: 1.6; }
.conservation-stats { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--color-ocean-deep); }
.conservation-stat { display: flex; justify-content: space-between; border-bottom: 1px solid var(--color-border); padding-block: 0.5rem; }
.conservation-stats li:last-child { border-bottom: none; }
.conservation-stat__value { font-family: var(--font-heading); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.palm-bg {
  background-image:
    radial-gradient(circle at 15% 8%, color-mix(in srgb, var(--color-coral-soft) 25%, transparent) 0%, transparent 45%),
    radial-gradient(circle at 85% 92%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 50%);
}
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-section .eyebrow { margin-bottom: 1rem; }
.about-section .section-heading { color: var(--color-ocean-deep); font-size: 2.25rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
.about-body { margin-top: 1.5rem; color: var(--color-muted-foreground); line-height: 1.6; font-size: 1rem; }
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }
.about-body--secondary { margin-top: 1rem; font-size: 1rem; }
.about-pillars { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.about-pillar {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 2rem; /* Lovable rounded-2xl */
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.about-pillar__icon {
  height: 2.75rem; width: 2.75rem;
  border-radius: 1.5rem; /* Lovable rounded-xl */
  background-color: var(--color-ocean-deep);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}
.about-pillar:hover .about-pillar__icon { background-color: var(--color-coral); }
.about-pillar__title { font-family: var(--font-heading); font-size: 1.25rem; letter-spacing: 0.02em; color: var(--color-ocean-deep); }
.about-pillar__body { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; line-height: 1.6; }

/* ==========================================================================
   FAQ (custom accordion)
   ========================================================================== */
.faq-section { background-color: color-mix(in srgb, var(--color-sand-deep) 30%, transparent); }
.faq-container { max-width: 48rem; margin-inline: auto; }
.faq-intro { text-align: center; margin-bottom: 2.5rem; }
.theme-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-accordion-item {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem; /* Lovable rounded-xl */
  padding-inline: 1.25rem;
}
.theme-accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-ocean-deep);
}
@media (min-width: 768px) { .theme-accordion-trigger { font-size: 1.125rem; } }
.theme-accordion-chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.theme-accordion-item.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.2s ease, opacity 0.2s ease;
}
.theme-accordion-item.is-open .theme-accordion-content { grid-template-rows: 1fr; opacity: 1; padding-bottom: 1rem; }
.theme-accordion-content-inner { overflow: hidden; color: var(--color-muted-foreground); line-height: 1.6; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { background-color: var(--color-ocean-deep); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-section .section-heading { color: #fff; }
.contact-body { margin-top: 1.25rem; color: color-mix(in srgb, #ffffff 75%, transparent); max-width: 28rem; line-height: 1.6; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: color-mix(in srgb, #ffffff 5%, transparent);
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  border-radius: 2rem; /* Lovable rounded-2xl */
  padding: 1.25rem;
  transition: background-color 0.2s ease;
}
a.contact-card:hover { background-color: color-mix(in srgb, #ffffff 10%, transparent); }
.contact-card__icon { color: var(--color-coral); flex-shrink: 0; margin-top: 0.25rem; }
.contact-card__label { font-size: 11px; letter-spacing: 0.2em; color: color-mix(in srgb, #ffffff 60%, transparent); }
.contact-card__value { font-weight: 500; word-break: break-all; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: var(--color-ocean-deep); color: #fff; }
.site-footer__grid {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-block: 5rem; } }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, #ffffff 60%, transparent); max-width: 20rem; line-height: 1.6; }
.footer-logo-img {
  filter: brightness(0) invert(1);
  height: 1.75rem !important; /* Lovable h-7 */
  width: auto !important;
}
.footer-heading { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-coral); font-weight: 600; margin-bottom: 1.25rem; }
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Lovable space-y-3 */
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-link-list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link-list > li > a {
  display: inline;
  font-size: 0.875rem;
  color: color-mix(in srgb, #ffffff 70%, transparent);
  transition: color 0.2s ease;
  gap: 0;
}
.footer-link-list > li > a:hover { color: var(--color-coral); }
.footer-contact-list > li > a,
.footer-contact-list > li > span {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, #ffffff 70%, transparent);
  transition: color 0.2s ease;
}
.footer-contact-list > li > a:hover { color: var(--color-coral); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--color-coral); }
.footer-contact-email { word-break: break-all; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent); }
.site-footer__bottom-inner {
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .site-footer__bottom-inner { flex-direction: row; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: color-mix(in srgb, #ffffff 40%, transparent); }
.footer-credit:hover { color: var(--color-coral); }

/* ==========================================================================
   404 — matches src/pages/NotFound.tsx
   ========================================================================== */
.theme-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}
.theme-404__inner { text-align: center; max-width: 32rem; margin-inline: auto; padding-inline: 1rem; }
.theme-404__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}
.theme-404__body {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.theme-404__link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ==========================================================================
   SINGLE PRODUCT — mirrors src/pages/Product.tsx
   ========================================================================== */

/* Kill leftover WC layout floats / widths on this page */
body.single-product .site-content,
body.single-product #content,
body.single-product .content-area,
body.single-product .woocommerce:not(.single-product-main),
body.single-product div.product {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  clear: both !important;
}
body.single-product .woocommerce-product-gallery,
body.single-product .summary,
body.single-product .woocommerce-tabs,
body.single-product .upsells,
body.single-product section.related.products,
body.single-product .product_meta,
body.single-product .woocommerce-breadcrumb {
  display: none !important;
}

.single-product-main {
  display: block;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 5rem;
  background-color: var(--color-background);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .single-product-main { padding-top: 7rem; }
}
body.theme-no-hero .site-main.single-product-main,
body.single-product .site-main.single-product-main {
  padding-top: 6rem !important;
  padding-bottom: 5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  body.theme-no-hero .site-main.single-product-main,
  body.single-product .site-main.single-product-main {
    padding-top: 7rem !important;
  }
}

.single-product-main > .container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .single-product-main > .container { padding-inline: 2rem; }
}

.theme-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
.theme-back-link:hover { color: var(--color-ocean-deep); }

.theme-product-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  min-width: 0;
  width: 100%;
  align-items: start;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.theme-product-gallery,
.theme-product-info {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.theme-product-info {
  display: flex;
  flex-direction: column;
}

.theme-product-main-image-wrap {
  border-radius: 2rem;
  overflow: hidden;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  width: 100%;
  line-height: 0;
}
.theme-product-main-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  position: static !important;
  inset: auto !important;
  border: 0;
  border-radius: 0;
}

.theme-product-cat {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-coral);
  margin: 0 0 0.75rem;
}

.single-product-main .product-title,
.theme-product-info .product-title {
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
  font-size: 2.25rem !important;
  color: var(--color-ocean-deep) !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) {
  .single-product-main .product-title,
  .theme-product-info .product-title {
    font-size: 3rem !important;
  }
}

.single-product-main .product-price,
.theme-product-info .product-price {
  margin: 0.75rem 0 0 !important;
  font-family: var(--font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  color: var(--color-ocean-deep) !important;
  line-height: 1.2 !important;
}

.product-description {
  margin: 1.25rem 0 0 !important;
  color: var(--color-muted-foreground);
  line-height: 1.625;
  font-size: 1rem;
  font-family: var(--font-body);
}

.theme-size-selector { margin-top: 1.75rem; }
.theme-size-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-ocean-deep);
  margin: 0 0 0.75rem;
  text-transform: none;
  font-family: var(--font-body);
}
.theme-size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-btn {
  min-width: 3rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-ocean-deep);
  background: transparent;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.theme-size-btn:hover { border-color: var(--color-ocean-deep); }
.theme-size-btn.is-active {
  background-color: var(--color-ocean-deep);
  color: #fff;
  border-color: var(--color-ocean-deep);
}

.theme-variation-attributes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}
.theme-variation-attr { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-variation-select {
  width: 100%;
  max-width: 20rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  color: var(--color-ocean-deep);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.theme-add-to-cart-area {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .theme-add-to-cart-area {
    flex-direction: row;
    align-items: center;
  }
}
.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  flex-shrink: 0;
  align-self: center;
  position: relative;
  background: transparent;
}
@media (min-width: 640px) {
  .theme-quantity-wrapper { align-self: auto; }
}
.theme-qty-minus,
.theme-qty-plus {
  height: 2.75rem;
  width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ocean-deep);
  transition: color 0.2s ease;
  background: none;
  border: 0;
  padding: 0;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { color: var(--color-coral); }
.theme-qty-display {
  width: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-ocean-deep);
  line-height: 1;
  font-family: var(--font-body);
}
.theme-qty-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.theme-single-atc,
.theme-add-to-cart-area .single_add_to_cart_button {
  width: 100% !important;
  flex: 1 1 auto;
  min-height: 3.5rem !important;
  height: auto !important;
  padding: 0 2rem !important;
  border-radius: 9999px !important;
  background-color: var(--color-ocean-deep) !important;
  color: #fff !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-family: var(--font-heading) !important;
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
.theme-single-atc:hover,
.theme-add-to-cart-area .single_add_to_cart_button:hover {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}
@media (min-width: 640px) {
  .theme-single-atc,
  .theme-add-to-cart-area .single_add_to_cart_button {
    width: auto !important;
    min-width: 200px !important;
  }
}

.product-details {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.product-details__heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-ocean-deep);
  margin: 0 0 1rem;
}
.product-details__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-details__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.5;
}
.product-details__bullet {
  color: var(--color-coral);
  margin-top: 0.125rem;
  flex-shrink: 0;
  line-height: 1;
}

.theme-conservation-note {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  background-color: color-mix(in srgb, var(--color-sand-deep) 30%, transparent);
  border-radius: 2rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
}
.theme-conservation-note svg {
  color: var(--color-coral);
  flex-shrink: 0;
  margin-top: 2px;
}
.theme-conservation-note p { margin: 0; }

.related-products-section {
  margin-top: 6rem;
  width: 100%;
}
.related-products-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ocean-deep);
  margin: 0 0 2rem;
  font-weight: 400;
}
@media (min-width: 768px) {
  .related-products-heading { font-size: 1.875rem; }
}
.theme-related-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .theme-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
.theme-related-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.theme-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--color-primary) 18%, transparent);
}
.theme-related-card__image {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-background);
  line-height: 0;
}
.theme-related-card__img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  position: static !important;
  transition: transform 0.7s ease;
}
.theme-related-card:hover .theme-related-card__img { transform: scale(1.05); }
.theme-related-card__body { padding: 1.25rem; }
.theme-related-card__cat {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-coral);
  margin: 0;
}
.theme-related-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-ocean-deep);
  margin: 0.25rem 0 0;
  font-weight: 400;
}
.theme-related-card__price {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-ocean-deep);
  margin: 0.5rem 0 0;
}

/* Section 11.4.1 — WooCommerce add-to-cart button style overrides */
.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-ocean-deep) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9999px !important;
  min-height: 3.5rem !important;
  padding: 0 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  background-color: var(--color-primary) !important;
  color: #fff !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,
.add_to_cart_button.button:disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-ocean-deep) !important;
}

/* Card compact button — overrides global rules, matches card design */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: 2.25rem !important;
  height: 2.25rem !important;
  padding: 0 1rem !important;
  border-radius: 9999px !important;
  font-size: 0.875rem !important;
  background-color: var(--color-ocean-deep) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover { background-color: var(--color-primary) !important; }
.theme-product-card .theme-card-view-btn {
  min-height: 2.25rem;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Section 11.4.2 — hide WooCommerce "View cart" link after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Section 14.1 — scoped notice visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  max-width: 1400px; margin: 1rem auto; padding: 1rem 1.5rem;
  border-radius: 0.5rem; font-size: 0.875rem;
  background-color: var(--color-card); border: 1px solid var(--color-border);
  list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ==========================================================================
   SHOP ARCHIVE
   ========================================================================== */
.shop-archive-main { padding-block: 7rem 5rem; }
.shop-archive-header { margin-bottom: 2.5rem; }
.theme-empty-state { color: var(--color-muted-foreground); padding-block: 4rem; text-align: center; }

/* ==========================================================================
   POINTER-EVENTS OVERLAY GUARD (Section 31.3) — not used (Pattern B chosen)
   ========================================================================== */

/* ==========================================================================
   SIDE CART DRAWER
   ========================================================================== */
#theme-cart-overlay {
  position: fixed; inset: 0;
  background-color: color-mix(in srgb, #000000 50%, transparent);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 28rem;
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__panel {
  height: 100%;
  background-color: var(--color-background);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.theme-cart-drawer__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-ocean-deep);
}
.theme-cart-drawer__close { color: var(--color-muted-foreground); }
.theme-cart-drawer__close:hover { color: var(--color-foreground); }
.theme-cart-drawer__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--color-muted-foreground); gap: 0.75rem;
}
.theme-cart-drawer__empty svg { opacity: 0.4; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; margin-inline: -1.5rem; padding-inline: 1.5rem; }
.theme-cart-item { padding-block: 1rem; display: flex; gap: 0.75rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-item__img { height: 5rem; width: 5rem; object-fit: cover; border-radius: 0.75rem; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-family: var(--font-heading); font-size: 0.875rem; color: var(--color-ocean-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.theme-cart-item__price, .theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__controls { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-item__controls .theme-qty-minus,
.theme-cart-item__controls .theme-qty-plus {
  height: 1.75rem; width: 1.75rem; border: 1px solid var(--color-border); border-radius: 9999px;
}
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-destructive); }
.theme-cart-item__linetotal { font-family: var(--font-heading); font-size: 0.875rem; color: var(--color-ocean-deep); }

.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-family: var(--font-heading); font-size: 1.125rem; color: var(--color-ocean-deep); }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; background-color: var(--color-coral); }
.theme-cart-drawer__checkout:hover { background-color: color-mix(in srgb, var(--color-coral) 90%, transparent); }
.theme-cart-drawer__clear { width: 100%; }

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
  font-size: 2.25rem; color: var(--color-ocean-deep); margin-bottom: 2rem;
}
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 1fr;
    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;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  color: var(--color-foreground);
  background-color: var(--color-background);
}
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-coral);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-coral) 25%, transparent);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: color-mix(in srgb, var(--color-sand-deep) 30%, transparent);
  border-radius: var(--radius);
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-coral) !important;
  border-radius: 9999px !important;
  font-family: var(--font-heading) !important;
  text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--radius); }

/* ==========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  background-color: var(--color-card); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.875rem;
}
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 h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; color: var(--color-ocean-deep); }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* ==========================================================================
   MEDIA CONTROL (Customizer panel) — Section 22.3.8
   ========================================================================== */
