/* =========================================================================
   Ocean City Woodworking — theme.css
   Theme by The Free Website Guys.
   Color custom properties are re-emitted live by functions.php via
   wp_add_inline_style() from Customizer values; these :root defaults are
   the same values derived from the source's HSL tokens (Section 6.1).
   ========================================================================= */

:root {
  --color-background: #16191d;
  --color-foreground: #f4f1eb;
  --color-card: #1d242b;
  --color-primary: #20626f;
  --color-primary-foreground: #f4f1eb;
  --color-secondary: #23292f;
  --color-accent: #b46e3c;
  --color-border: #33484c;
  --color-muted-foreground: #c2bbad;
  --color-driftwood: #8a6a4f;
  --color-stone: #f3efe7;
  --color-sand-light: #e8d9b8;

  --logo-height: 60px;
  --logo-height-footer: 88px;

  --font-display: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-label: 'Inter', system-ui, -apple-system, sans-serif;

  --header-height: 80px;
  --container-max: 1400px;

  --btn-radius: 2px;
  --btn-height: 46px;
  --btn-padding: 0.9rem 1.75rem;
  --btn-font-size: 12.5px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;

  --card-radius: 6px;
  --checkout-gap: 1.5rem;
  --checkout-max-width: 1280px;

  --shadow-soft: 0 4px 18px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.4);
  --shadow-elevated: 0 24px 48px rgba(0,0,0,.55);
  --transition-smooth: cubic-bezier(.4,0,.2,1);
}

/* -------------------------------------------------------------------------
   RESET + BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

/* Prevent horizontal overflow from grids, flex children, and long copy */
.site-main,
main,
.site-header,
.site-footer,
section,
.container-wide {
  max-width: 100%;
}

.site-main,
main {
  width: 100%;
  min-width: 0;
}

.heading-editorial,
.section-heading,
.hero-title,
.cta-band__title,
.page-title,
.theme-checkout-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.entry-content {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.entry-content img,
.entry-content video,
.entry-content iframe,
.entry-content embed,
.entry-content object {
  max-width: 100%;
  height: auto;
}
.entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.cart-open { overflow: hidden; }

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
  font-size: max(0.875rem, 14px);
}

img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-main-img):not(.theme-product-thumb-img):not(.theme-related-card__img):not(.card-img):not(.collection-img):not(.collection-tile__img):not(.cta-bg-img):not(.why-bg-img):not(.editorial-photo) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img,
.theme-product-thumb-img, .card-img, .collection-img, .collection-tile__img, .cta-bg-img, .why-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-section__media video,
.hero-section__media img,
.why-section__bg img,
.cta-band__bg img,
.ken-burns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }

.theme-clickable,
.theme-nav-link,
.theme-anchor-link,
.theme-cart-toggle,
.theme-cart-item__img,
.theme-cart-item__name,
.theme-cart-item__remove,
.theme-product-card,
.theme-product-contact-btn,
.theme-details-toggle-btn,
.theme-cat-filter,
.collection-tile,
.collection-link,
.site-branding a,
.footer-brand-link,
.footer-back-to-top,
.theme-announcement-bar__close,
.mobile-menu-toggle,
.qty-btn,
.theme-product-thumb,
.footer-backtotop-inline,
.theme-cat-jump,
.theme-product-card__quickview,
.theme-product-lightbox__close,
.theme-product-lightbox__nav,
.theme-product-lightbox__dot,
.theme-product-lightbox__overlay {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.015em;
  color: var(--color-foreground);
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container-wide {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--container-max);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 3rem; padding-right: 3rem; } }

.cs-label {
  font-family: var(--font-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  display: block;
}

.heading-editorial {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.divider-hair { height: 1px; background: linear-gradient(90deg, transparent, var(--color-border), transparent); }

.text-shadow-cinematic { text-shadow: 0 2px 30px rgba(0,0,0,.6); }

.on-light { color: #24272a; }
.on-light h1, .on-light h2, .on-light h3, .on-light h4 { color: #24272a; }

.btn-hero-primary, .btn-hero-outline,
.product-title,
.variations label { text-transform: none; }

/* -------------------------------------------------------------------------
   REVEAL / SCROLL ANIMATION (Section 2.1)
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.ken-burns { animation: ken-burns 22s ease-in-out infinite alternate; }
@keyframes ken-burns {
  0% { transform: scale(1.04) translate(0,0); }
  100% { transform: scale(1.14) translate(-1.2%,-1%); }
}
@media (prefers-reduced-motion: reduce) { .ken-burns { animation: none; } }

.tilt-card { transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.tilt-card:hover { transform: translateY(-6px); }

.zoom-img { transition: transform 1400ms cubic-bezier(.2,.7,.2,1); }
.zoom-wrap:hover .zoom-img { transform: scale(1.06); }

.why-card { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }
.why-card:hover { transform: translateY(-4px); opacity: .95; }
.why-card:hover .why-icon { transform: translateY(-2px) scale(1.08); opacity: 1; }
.why-icon { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); opacity: .9; }

.process-step { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }
.process-step:hover .process-icon { transform: translateY(-3px) scale(1.06); opacity: 1; }
.process-icon { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }
.process-line { transform: scaleX(0); transform-origin: left center; transition: transform 1600ms cubic-bezier(.2,.7,.2,1) 200ms; }
.process-line.is-visible { transform: scaleX(1); }
body.is-customizer .process-line { transform: scaleX(1); }

.trust-block { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }
.trust-block:hover { transform: translateY(-6px); opacity: .98; }
.trust-block:hover .trust-icon { transform: scale(1.1); opacity: 1; }
.trust-block:hover .trust-icon-svg { color: var(--color-primary); opacity: 1; }
.trust-icon { transition: transform 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }
.trust-icon-svg { transition: color 500ms cubic-bezier(.2,.7,.2,1), opacity 500ms cubic-bezier(.2,.7,.2,1); }

.marquee { overflow: hidden; width: 100%; max-width: 100%; }
.marquee-section { background-color: var(--color-stone); padding: 2rem 0; overflow: hidden; max-width: 100%; }
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}
.marquee-track--values {
  color: var(--color-driftwood);
  font-size: clamp(2.25rem, 11vw, 4.5rem);
  line-height: 1;
}
@media (min-width: 768px) {
  .marquee-track--values { font-size: clamp(3.5rem, 10vw, 6rem); }
}
@media (min-width: 1024px) {
  .marquee-track--values { font-size: clamp(4.5rem, 8vw, 8rem); }
}
.marquee-group { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-word { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-dot { color: color-mix(in srgb, var(--color-driftwood) 60%, transparent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.gen-photo { filter: brightness(1.18) saturate(1.03) contrast(.98); }

.bg-grain {
  background-image: radial-gradient(rgba(244,241,235,.02) 1px, transparent 1px);
  background-size: 3px 3px;
}

.vet-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border: 1px solid var(--color-driftwood);
  color: var(--color-sand-light);
  background: color-mix(in srgb, var(--color-driftwood) 12%, transparent);
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  border-radius: 2px; line-height: 1;
  max-width: 100%; text-align: center;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-cta-row .vet-badge { flex: 1 1 100%; }
}
@media (min-width: 768px) { .vet-badge { padding: .875rem 2rem; } }

/* -------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); background-color: #0b0f11; overflow: hidden; }
.theme-announcement-bar__inner { padding: .5rem 2.5rem .5rem 0; text-align: center; }
.theme-announcement-bar__text { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 12px; }
.theme-announcement-bar__close {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  padding: .25rem; background: none; border: none;
  color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
  transition: color .2s ease;
}
.theme-announcement-bar__close:hover { color: var(--color-primary); }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  transition: background-color .5s, border-color .5s;
  background-color: rgba(15,20,22,.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background-color: rgba(15,20,22,.92); border-bottom-color: color-mix(in srgb, var(--color-border) 40%, transparent); }
.site-header__nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; min-width: 0; }
@media (min-width: 768px) { .site-header__nav { height: 5rem; } }

.site-branding { display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1 1 auto; max-width: calc(100% - 5.5rem); }
.site-branding img.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: transform .5s; }
.site-branding:hover img.site-logo-img { transform: scale(1.04); }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); }
.site-branding__wordmark { display: none; flex-direction: column; line-height: 1.2; min-width: 0; overflow: hidden; }
@media (min-width: 640px) { .site-branding__wordmark { display: flex; } }
.site-branding__wordmark-line1 { font-family: var(--font-display); font-size: 15px; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-branding__wordmark-line2 { font-family: var(--font-body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .site-branding__wordmark-line1 { font-size: 17px; } }

.theme-nav-list { display: none; align-items: center; gap: 2rem; margin-left: auto; }
@media (min-width: 1024px) { .theme-nav-list { display: flex; } }
.theme-nav-link {
  font-family: var(--font-body); font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  text-transform: uppercase; letter-spacing: .18em; position: relative; padding-bottom: 4px;
  transition: color .3s; background: none; border: none;
}
.theme-nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--color-primary);
  transform: scaleX(0); transform-origin: left; transition: transform .5s;
}
.theme-nav-link:hover { color: var(--color-foreground); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: .75rem; } }

.theme-cart-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  background: transparent; color: var(--color-foreground);
  transition: background-color .3s, border-color .3s;
}
.theme-cart-toggle:hover { background-color: var(--color-primary); border-color: var(--color-primary); }
.theme-cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
  font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle {
  padding: .5rem; background: none; border: none; color: var(--color-foreground);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .3s;
}
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle:hover { color: var(--color-primary); }
.mobile-menu-toggle__icon { width: 1.25rem; height: 1.25rem; display: block; }
.mobile-menu-toggle__icon--close { display: none; }
.mobile-menu-toggle.is-active .mobile-menu-toggle__icon--open { display: none; }
.mobile-menu-toggle.is-active .mobile-menu-toggle__icon--close { display: block; }

@keyframes theme-mobile-nav-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  padding: 1rem 0;
}
.mobile-nav.is-open {
  display: block;
  animation: theme-mobile-nav-fade-in 0.2s ease-out;
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav__inner { display: flex; flex-direction: column; gap: .25rem; }

.mobile-nav .theme-nav-list {
  display: flex; flex-direction: column; gap: .25rem;
  margin: 0; padding: 0; list-style: none;
}
.mobile-nav .theme-nav-list li { margin: 0; padding: 0; }

.mobile-nav .theme-nav-link {
  display: block; width: 100%;
  text-align: left;
  font-family: var(--font-body); font-size: 14px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .75rem .5rem; border-radius: 2px;
  color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
  background: none; border: none;
  transition: color .3s, background-color .3s;
  position: relative;
}
.mobile-nav .theme-nav-link::after { display: none !important; }
.mobile-nav .theme-nav-link:hover,
.mobile-nav .theme-nav-link:focus-visible {
  background: color-mix(in srgb, var(--color-primary) 15%, transparent);
  color: var(--color-foreground);
}

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
body.theme-no-hero .site-main { padding-top: 0; }

.hero-section {
  position: relative; width: 100%; min-height: 100vh; height: 100vh; overflow: hidden;
  display: flex; align-items: center; background-color: #0b1013;
}
.hero-section__media { position: absolute; inset: 0; }
.hero-section__media video, .hero-section__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-section__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,19,.82) 0%, rgba(11,16,19,.35) 40%, rgba(11,16,19,.92) 100%); }
.hero-section__inner { position: relative; z-index: 10; padding-top: 6rem; padding-bottom: 2.5rem; width: 100%; }
@media (min-width: 768px) { .hero-section__inner { padding-top: 7rem; padding-bottom: 4rem; } }
.hero-section__content { max-width: 48rem; min-width: 0; }

.hero-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem .5rem; margin-bottom: .75rem; }
@media (min-width: 768px) { .hero-eyebrow-row { margin-bottom: 1rem; } }
.hero-eyebrow-row .cs-label { display: inline-block; color: color-mix(in srgb, var(--color-foreground) 95%, transparent); }
.hero-eyebrow-row .cs-label.is-white { color: #fff; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-foreground);
  font-size: 36px;
  margin: 0 0 1rem;
}
.hero-title span {
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; margin-bottom: 1.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 84px; } }

.hero-subtitle { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 14px; line-height: 1.7; max-width: 36rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 16px; margin-bottom: 2rem; } }

.hero-cta-row { display: flex; flex-direction: column; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; align-items: stretch; } }

.btn-hero-primary, .btn-hero-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; border-radius: 2px; transition: background-color .3s, color .3s;
  width: 100%; max-width: 100%; min-width: 0;
}
@media (min-width: 640px) {
  .btn-hero-primary, .btn-hero-outline { width: auto; }
}
@media (min-width: 768px) { .btn-hero-primary, .btn-hero-outline { padding: .875rem 2rem; } }
.btn-hero-primary { background: var(--color-primary); color: var(--color-primary-foreground); border: 1px solid var(--color-primary); }
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-primary) 85%, transparent); }
.btn-hero-outline { background: transparent; color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent); font-weight: 500; }
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }

.hero-trust-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
@media (min-width: 768px) { .hero-trust-row { margin-top: 3rem; } }
.hero-trust-item { display: flex; align-items: center; gap: .5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); min-width: 0; }
.hero-trust-item .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--color-driftwood); flex-shrink: 0; }
.hero-trust-item .cs-label { font-size: 14px; overflow-wrap: break-word; word-wrap: break-word; }

/* -------------------------------------------------------------------------
   GENERIC SECTION HELPERS
   ------------------------------------------------------------------------- */
.theme-section { padding: 6rem 0; }
@media (min-width: 768px) { .theme-section { padding: 8rem 0; } }
.theme-section--tight { padding: 6rem 0; }
@media (min-width: 768px) { .theme-section--tight { padding: 7rem 0; } }
.section-eyebrow { color: var(--color-primary); margin-bottom: 1.25rem; }

.about-section { background-color: var(--color-stone); overflow-x: clip; }
.about-section.theme-section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .about-section.theme-section { padding-top: 10rem; padding-bottom: 10rem; } }
.about-section .section-heading { font-size: 38px; margin-bottom: 2rem; max-width: 100%; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }

.grid-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .grid-split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } }
.grid-split--duo { align-items: center; }
@media (min-width: 1024px) {
  .grid-split--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .grid-split--duo .grid-split__media,
  .grid-split--duo .grid-split__content { grid-column: auto; }
  .grid-split--duo .grid-split__content { padding-left: 2.5rem; }
}
.grid-split__media {
  grid-column: 1;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) { .grid-split__media { grid-column: span 6; } }
.zoom-wrap { overflow: hidden; max-width: 100%; }
.editorial-photo,
.grid-split__media .editorial-photo,
.contact-grid__media .editorial-photo {
  position: static !important;
  width: 100%;
  max-width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .editorial-photo,
  .grid-split__media .editorial-photo,
  .contact-grid__media .editorial-photo { height: 640px; }
}
.grid-split__content { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .grid-split__content { grid-column: span 6; } }

.about-copy { color: hsl(210 10% 28%); font-size: 15px; line-height: 1.7; overflow-wrap: break-word; word-wrap: break-word; }
.about-copy p + p { margin-top: 1.25rem; }
@media (min-width: 768px) { .about-copy { font-size: 16px; } }

.about-quote {
  margin: 2.5rem 0 0;
  border: none;
  border-left: 2px solid var(--color-driftwood);
  padding: .5rem 0 .5rem 1.5rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
  color: hsl(210 14% 14%);
  margin: 0;
}
@media (min-width: 768px) { .about-quote p { font-size: 1.875rem; } }

.about-stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-driftwood) 40%, transparent); padding-top: 2rem; }
.about-stats .stat-label { color: var(--color-primary); margin-bottom: .5rem; overflow-wrap: break-word; word-wrap: break-word; }
.about-stats .stat-value { font-family: var(--font-display); font-size: 24px; overflow-wrap: break-word; word-wrap: break-word; }

/* -------------------------------------------------------------------------
   COLLECTIONS
   ------------------------------------------------------------------------- */
.collections-section { background-color: var(--color-sand-light); }
.collections-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .collections-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .collections-section .section-heading { font-size: 3.75rem; } }
.collections-intro { max-width: 42rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .collections-intro { margin-bottom: 5rem; } }

.collections-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.collection-tile {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px;
  text-align: left; border: none; background: #0f1416; padding: 0; width: 100%; cursor: pointer;
}
.collection-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms cubic-bezier(.2,.7,.2,1); }
.collection-tile:hover .collection-tile__img { transform: scale(1.06); }
.collection-tile__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,16,19,.15) 0%, rgba(11,16,19,.85) 100%); pointer-events: none; }
.collection-tile__content { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 1.5rem; }
@media (min-width: 768px) { .collection-tile__content { padding: 2rem; } }
.collection-tile__title { font-size: 1.875rem; margin-bottom: .5rem; color: #f3efe7; }
@media (min-width: 768px) { .collection-tile__title { font-size: 2.25rem; } }
.collection-tile__tagline { font-size: 14px; margin-bottom: 1rem; color: rgba(243,239,231,.85); }
.collection-tile__cta { display: inline-flex; align-items: center; gap: .5rem; color: #f3efe7; }
.on-light .collection-tile .collection-tile__title { color: #f3efe7; }
.on-light .collection-tile .collection-tile__tagline { color: rgba(243,239,231,.85); }
.on-light .collection-tile .collection-tile__cta { color: #f3efe7; }

/* -------------------------------------------------------------------------
   SHOP SECTION + PRODUCT GRID + CARDS
   ------------------------------------------------------------------------- */
.shop-section { background-color: var(--color-stone); overflow-x: clip; }
.shop-heading-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; min-width: 0; }
.shop-heading-row > * { min-width: 0; }
@media (min-width: 768px) { .shop-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; } }
.shop-heading-row .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading-row .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading-row .section-heading { font-size: 3.75rem; } }

.theme-cat-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.theme-cat-filter {
  padding: .5rem 1rem; font-size: 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-driftwood) 60%, transparent);
  background: transparent; color: #24272a; transition: all .3s; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; min-width: 0; max-width: 100%; height: auto; }
@media (min-width: 640px) { .theme-product-card-wrap { height: 100%; } }
.theme-product-card {
  position: relative; display: flex; flex-direction: column; height: auto; width: 100%; min-width: 0;
  background: var(--color-card); border-radius: 6px; overflow: hidden;
  border: 1px solid #3a4147;
  transition: transform .5s var(--transition-smooth), border-color .5s var(--transition-smooth);
}
@media (min-width: 640px) { .theme-product-card { height: 100%; } }
.theme-product-card:hover { transform: translateY(-4px); border-color: var(--color-driftwood); }
.theme-product-card__image-wrapper {
  position: relative; flex: 0 0 auto; flex-shrink: 0;
  aspect-ratio: 3 / 4; width: 100%; min-height: 0;
  overflow: hidden; background: var(--color-secondary);
}
.theme-product-card__image-wrapper .theme-card-link { position: absolute; inset: 0; z-index: 1; }
.theme-product-card__image-wrapper .product-card-img,
.theme-product-card__image-wrapper img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; display: block;
  transition: transform 1.1s ease-out;
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.08); }
.theme-product-card__hover-overlay {
  position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(15,20,22,.5), rgba(15,20,22,0) 60%);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__hover-overlay { opacity: 1; }
.theme-product-card__quickview {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding: 1.25rem;
  transform: translateY(8px); opacity: 0; transition: all .5s;
  border: none; background: none; cursor: pointer; text-align: left;
}
.theme-product-card:hover .theme-product-card__quickview { transform: translateY(0); opacity: 1; }
.theme-product-card__quickview span {
  display: inline-flex; align-items: center; gap: .5rem; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-stone); background: rgba(15,20,22,.7); backdrop-filter: blur(4px); padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(243,239,231,.2); font-family: var(--font-label); font-weight: 500;
}
.theme-product-card__info {
  flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; background: #0f1416; min-width: 0; color: inherit; transition: opacity .3s;
}
.theme-product-card__info:hover { opacity: .92; }
.theme-product-card__info .title-wrap { min-width: 0; }
.theme-product-card__category { font-size: 12px; color: var(--color-driftwood); letter-spacing: .22em; text-transform: uppercase; }
.theme-product-card__name {
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin-top: .25rem;
  color: #f3efe7 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.5rem; } }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: #f3efe7 !important; flex-shrink: 0; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.5rem; } }

/* Product quick-view lightbox */
.theme-product-lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.theme-product-lightbox.is-open { opacity: 1; visibility: visible; }
.theme-product-lightbox__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.82); cursor: pointer;
}
.theme-product-lightbox__dialog {
  position: relative; z-index: 1; width: min(92vw, 960px); max-height: 90vh;
  background: #0f1416; border: 1px solid color-mix(in srgb, var(--color-driftwood) 25%, transparent);
  border-radius: 6px; padding: 1.25rem; display: grid; gap: 1rem;
}
.theme-product-lightbox__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 2;
  width: 2.25rem; height: 2.25rem; border: none; border-radius: 999px;
  background: rgba(15,20,22,.75); color: var(--color-foreground); cursor: pointer;
}
.theme-product-lightbox__stage {
  position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center;
  background: var(--color-secondary); border-radius: 4px; overflow: hidden;
}
.theme-product-lightbox__img {
  max-width: 100%; max-height: 70vh; width: auto; height: auto; object-fit: contain; display: block;
}
.theme-product-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  background: rgba(15,20,22,.75); color: var(--color-foreground); cursor: pointer;
}
.theme-product-lightbox__nav--prev { left: .75rem; }
.theme-product-lightbox__nav--next { right: .75rem; }
.theme-product-lightbox__nav:disabled { opacity: .35; cursor: not-allowed; }
.theme-product-lightbox__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.theme-product-lightbox__title {
  font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); margin: 0;
}
.theme-product-lightbox__view {
  display: inline-flex; align-items: center; gap: .5rem; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-primary-foreground); background: var(--color-primary); border-radius: 2px; padding: .65rem 1rem;
}
.theme-product-lightbox__view:hover { opacity: .9; }
.theme-product-lightbox__dots {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
}
.theme-product-lightbox__dot {
  width: .5rem; height: .5rem; border-radius: 999px; border: none; padding: 0;
  background: color-mix(in srgb, var(--color-foreground) 35%, transparent); cursor: pointer;
}
.theme-product-lightbox__dot.is-active { background: var(--color-primary); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }
.theme-product-card__badge {
  position: absolute; top: .75rem; right: .75rem; z-index: 3; pointer-events: none;
  background: var(--color-accent); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 2px;
}
.theme-empty-shop { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); font-size: 15px; }

/* -------------------------------------------------------------------------
   WHY CHOOSE SECTION
   ------------------------------------------------------------------------- */
.why-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #0f1416;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
}
.why-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.why-section__bg .why-bg-img,
.why-section__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.why-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,16,19,.86) 0%, rgba(11,16,19,.78) 50%, rgba(11,16,19,.92) 100%);
}
.why-section__inner { position: relative; z-index: 2; }
.why-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .why-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .why-section .section-heading { font-size: 3.75rem; } }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: color-mix(in srgb, var(--color-border) 30%, transparent); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-card { background: rgba(15,20,22,.85); backdrop-filter: blur(4px); padding: 2rem; min-width: 0; }
@media (min-width: 768px) { .why-card { padding: 2.5rem; } }
.why-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: block;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  stroke: currentColor;
}
.why-card h3 { font-size: 1.5rem; margin-bottom: .75rem; }
.why-card p { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 14px; line-height: 1.7; }

/* -------------------------------------------------------------------------
   LIFESTYLE + PROCESS
   ------------------------------------------------------------------------- */
.lifestyle-section { background-color: var(--color-stone); }
.lifestyle-section.theme-section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .lifestyle-section.theme-section { padding-top: 8rem; padding-bottom: 8rem; } }
.lifestyle-section .section-heading { font-size: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .lifestyle-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .lifestyle-section .section-heading { font-size: 3.75rem; } }
.lifestyle-copy { color: hsl(210 10% 28%); font-size: 15px; line-height: 1.7; }
.lifestyle-copy p + p { margin-top: 1.5rem; }
@media (min-width: 768px) { .lifestyle-copy { font-size: 16px; } }

.process-section { background-color: var(--color-sand-light); }
.process-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .process-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .process-section .section-heading { font-size: 3.75rem; } }
.process-line-wrap { position: relative; overflow: hidden; }
.process-line { display: none; position: absolute; left: 0; right: 0; top: 42px; height: 1px; background: color-mix(in srgb, var(--color-driftwood) 60%, transparent); }
@media (min-width: 768px) { .process-line { display: block; } }
.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; padding-top: .5rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; } }
.process-step { position: relative; min-width: 0; padding-right: .5rem; }
.process-icon {
  position: relative; width: 84px; height: 84px; border-radius: 999px; border: 1px solid var(--color-driftwood);
  background: var(--color-stone); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.process-icon svg { width: 1.5rem; height: 1.5rem; color: var(--color-driftwood); }
.process-icon .step-num {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 999px; background: var(--color-driftwood);
  font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; color: #f3efe7;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process-step p { font-size: 14px; line-height: 1.7; color: #3a4548; }

/* -------------------------------------------------------------------------
   TRUST BLOCKS ("The Experience")
   ------------------------------------------------------------------------- */
.trust-section { background-color: var(--color-sand-light); }
.trust-intro { text-align: center; margin-bottom: 3.5rem; }
.trust-intro .section-heading { font-size: 2.25rem; max-width: 42rem; margin-inline: auto; }
@media (min-width: 768px) { .trust-intro .section-heading { font-size: 3rem; } }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; } }
.trust-block { text-align: center; padding: 1rem; min-width: 0; }
.trust-icon { width: 3rem; height: 3rem; margin: 0 auto .75rem; border-radius: 999px; border: 1px solid var(--color-driftwood); display: flex; align-items: center; justify-content: center; background-color: var(--color-stone); }
.trust-block:nth-child(even) .trust-icon { background-color: var(--color-sand-light); }
.trust-icon-svg { width: 1.25rem; height: 1.25rem; color: var(--color-driftwood); }
.trust-rule { width: 2rem; height: 1px; margin: 0 auto 1rem; background: var(--color-driftwood); }
.trust-block h3 { font-size: 17px; margin-bottom: .5rem; }
.trust-block p { font-size: 12.5px; line-height: 1.6; color: #3a4548; }

/* -------------------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; height: 70vh; min-height: 520px; display: flex; align-items: center; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,19,.55) 0%, rgba(11,16,19,.75) 100%); }
.cta-band__inner { position: relative; z-index: 10; text-align: center; width: 100%; }
.cta-band__title {
  font-size: clamp(2rem, 9vw, 3rem); text-shadow: 0 2px 30px rgba(0,0,0,.6); margin-bottom: 2.5rem; max-width: 56rem; margin-inline: auto;
  padding-inline: .25rem;
}
@media (min-width: 768px) { .cta-band__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 6rem; } }
.cta-band .btn-hero-primary { padding: 1rem 2.5rem; font-size: 13px; }

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { background-color: var(--color-stone); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.contact-grid__media {
  grid-column: 1;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) { .contact-grid__media { grid-column: span 6; } }
.contact-grid__content { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .contact-grid__content { grid-column: span 6; } }
.contact-section .section-heading { font-size: 2.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 3.75rem; } }
.on-light.contact-section .section-heading,
.on-light.contact-section .contact-info-item .value { color: hsl(210 14% 14%); }
.contact-lead { color: hsl(210 10% 28%); font-size: 15px; line-height: 1.7; margin-bottom: 2rem; }

.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-info-item {
  display: flex; align-items: flex-start; gap: .75rem; padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-radius: 2px; transition: border-color .3s;
  color: inherit;
}
.contact-info-item:hover { border-color: var(--color-primary); }
.contact-info-item.full { grid-column: 1 / -1; }
.contact-info-item svg { width: 1.25rem; height: 1.25rem; color: var(--color-primary); flex-shrink: 0; margin-top: .125rem; }
.contact-info-item .label { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, hsl(210 14% 14%) 70%, transparent); margin-bottom: .25rem; }
.contact-info-item .value { font-size: 13.5px; color: hsl(210 14% 14%); word-break: break-word; overflow-wrap: break-word; }

.theme-form-field { width: 100%; background: transparent; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-radius: 2px; padding: .75rem 1rem; font-size: 14px; color: var(--color-foreground); transition: border-color .3s; font-family: var(--font-body); }
.on-light.contact-section .theme-form-field { color: hsl(210 14% 14%); border-color: color-mix(in srgb, var(--color-border) 60%, transparent); }
.on-light.contact-section .theme-form-field::placeholder { color: color-mix(in srgb, hsl(210 14% 14%) 40%, transparent); }
.theme-form-field::placeholder { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-form-field:focus { outline: none; border-color: var(--color-primary); }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }
.theme-form-submit-msg { font-size: 14px; color: var(--color-primary); margin-top: .75rem; }
.theme-form-submit-msg:empty { display: none; }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); background-color: #0f1416; }
.site-footer__inner { padding-top: 4rem; padding-bottom: 1.5rem; position: relative; z-index: 10; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { gap: 4rem; } }
.footer-col-brand { grid-column: 1; min-width: 0; }
@media (min-width: 768px) { .footer-col-brand { grid-column: span 5; } }
.footer-col-nav { grid-column: 1; min-width: 0; }
@media (min-width: 768px) { .footer-col-nav { grid-column: span 3; } }
.footer-col-contact { grid-column: 1; min-width: 0; }
@media (min-width: 768px) { .footer-col-contact { grid-column: span 4; } }

.footer-brand-link { display: inline-flex; align-items: center; gap: .75rem; }
.footer-brand-link img.site-logo-img { height: var(--logo-height-footer) !important; width: auto !important; transition: transform .5s; }
.footer-brand-link:hover img.site-logo-img { transform: scale(1.03); }
.footer-tagline { font-size: 14px; color: var(--color-driftwood); margin-top: 1rem; }
.footer-description { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 1rem; max-width: 28rem; font-size: 14px; line-height: 1.7; }

.footer-newsletter { margin-top: 2rem; max-width: 28rem; }
.footer-newsletter label { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); display: block; margin-bottom: .75rem; }
.footer-newsletter-field {
  display: flex; align-items: stretch; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-radius: 2px;
  background: color-mix(in srgb, var(--color-background) 40%, transparent); transition: border-color .3s;
}
.footer-newsletter-field:focus-within { border-color: var(--color-primary); }
.footer-newsletter-field input { flex: 1; min-width: 0; background: transparent; border: none; padding: .75rem 1rem; font-size: 14px; color: var(--color-foreground); font-family: var(--font-body); }
.footer-newsletter-field input:focus { outline: none; }
.footer-newsletter-field button { padding: 0 1rem; background: none; border: none; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); transition: color .3s; }
.footer-newsletter-field button:hover { color: var(--color-primary); }
.footer-newsletter-success { margin-top: .75rem; font-size: 13px; color: var(--color-primary); }
.footer-newsletter-success:empty { display: none; }

.footer-col-nav h3, .footer-col-contact h3 { color: var(--color-primary); margin-bottom: 1.25rem; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: .75rem; }
.theme-footer-nav-list a { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: color .3s; }
.theme-footer-nav-list a:hover { color: var(--color-primary); }
.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; font-size: 14px; }
.footer-contact-list a { display: inline-flex; align-items: flex-start; gap: .5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color .3s; word-break: break-word; overflow-wrap: break-word; }
.footer-contact-list a:hover { color: var(--color-primary); }
.footer-contact-list svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .125rem; }

.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent); display: grid; grid-template-columns: 1fr; gap: .75rem; text-align: center; align-items: center; font-size: 13px; }
@media (min-width: 768px) { .footer-bottom { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.footer-bottom .col-copy { color: color-mix(in srgb, var(--color-foreground) 78%, transparent); }
.footer-bottom .col-credit { color: color-mix(in srgb, var(--color-foreground) 78%, transparent); }
@media (min-width: 768px) { .footer-bottom .col-copy { text-align: left; } .footer-bottom .col-credit { text-align: center; } .footer-bottom .col-top { text-align: right; } }
.footer-bottom .col-credit a { color: var(--color-primary); transition: color .3s; }
.footer-bottom .col-credit a:hover { color: var(--color-foreground); }
.footer-backtotop-inline { display: inline-flex; align-items: center; gap: .375rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: none; border: none; transition: color .3s; }
.footer-backtotop-inline:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   BACK TO TOP (fixed button)
   ------------------------------------------------------------------------- */
.theme-back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); transition: transform .2s, opacity .2s; border: none;
  opacity: 0; pointer-events: none;
}
@media (min-width: 768px) { .theme-back-to-top { width: 3rem; height: 3rem; } }
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }

/* -------------------------------------------------------------------------
   CONTACT MODAL (Section — reused for "Contact Us" button on product page)
   ------------------------------------------------------------------------- */
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; opacity: 0; visibility: hidden; transition: opacity .3s; }
.theme-modal-overlay.is-open { opacity: 1; visibility: visible; }
.theme-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(.96); z-index: 101;
  width: 92%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: #151515; border: 1px solid color-mix(in srgb, var(--color-driftwood) 25%, transparent);
  border-radius: 6px; padding: 1.75rem; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s;
}
.theme-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #f5f5f5; opacity: .7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal h2 { font-family: var(--font-display); font-size: 1.875rem; color: #f5f5f5; margin-bottom: .5rem; }
.theme-modal p.desc { font-family: var(--font-body); color: rgba(245,245,245,.7); font-size: 15px; margin-bottom: 1.25rem; }
.theme-modal .contact-quick-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 13px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal .contact-quick-links a { display: inline-flex; align-items: center; gap: .5rem; }
.theme-modal .contact-quick-links a:hover { color: var(--color-primary); }
.theme-modal .theme-form-field { background: var(--color-sand-light); color: #24272a; }
.theme-modal label { font-size: 13px; font-weight: 500; margin-bottom: .375rem; display: block; color: #ddd; }
.theme-modal .theme-form-row { margin-bottom: 1rem; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success .icon { width: 3.5rem; height: 3.5rem; background: var(--color-accent); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: #151515; }

/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 0; }
.theme-404 h1 { font-size: 3rem; margin-bottom: 1rem; }
.theme-404 p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* =========================================================================
   WOOCOMMERCE
   ========================================================================= */

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { display: block; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-body); border-radius: 4px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary); background: var(--color-card); color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-left-color: #c24829; }

/* Hide WooCommerce "View cart" link after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Add to cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity .2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: .85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important; opacity: .4 !important; pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button:disabled:hover { opacity: .4 !important; background-color: var(--color-primary) !important; }

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  position: absolute; z-index: 3; pointer-events: auto;
}

.ajax_add_to_cart.theme-btn-loading { opacity: .6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT (scoped — mirrors ProductDetail.tsx)
   ------------------------------------------------------------------------- */
body.single-product.theme-no-hero .site-main.single-product-main {
  padding-top: 2.5rem !important;
  padding-bottom: 5rem !important;
  background-color: var(--color-background);
}
@media (min-width: 1024px) {
  body.single-product.theme-no-hero .site-main.single-product-main {
    padding-top: 3.5rem !important;
  }
}

.single-product-main .theme-breadcrumb {
  padding: .75rem 0; font-size: 14px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-muted-foreground); font-family: var(--font-body);
  display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem;
  overflow-wrap: anywhere;
}
.single-product-main .theme-breadcrumb a { transition: color .3s; }
.single-product-main .theme-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-main .theme-breadcrumb .sep { margin: 0 .5rem; opacity: .5; }
.single-product-main .theme-breadcrumb .current { color: var(--color-foreground); }

.single-product-main .theme-product-layout {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem;
  padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) {
  .single-product-main .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
}
.single-product-main .theme-product-gallery { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .single-product-main .theme-product-gallery { grid-column: span 7; } }
.single-product-main .theme-product-info { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .single-product-main .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}

.single-product-main .theme-product-main-wrap {
  aspect-ratio: 4/5; background: var(--color-secondary); overflow: hidden;
  border-radius: 6px; box-shadow: var(--shadow-soft);
}
.single-product-main .theme-product-main-img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  position: static !important;
}

.single-product-main .theme-product-category { color: var(--color-driftwood); font-size: 14px; }
.single-product-main .product-title,
.single-product-main .theme-product-info h1.product-title {
  font-family: var(--font-display); font-weight: 500; font-size: 2.25rem;
  line-height: 1.05; margin-top: .75rem; margin-bottom: 1.25rem; color: var(--color-foreground);
}
@media (min-width: 768px) { .single-product-main .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .single-product-main .product-title { font-size: 3.75rem; } }

.single-product-main .theme-product-price-row { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.5rem; }
.single-product-main .theme-product-price-plain {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--color-foreground);
}

.single-product-main .theme-stock-badge {
  display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 2px; margin-bottom: 1rem;
  background: color-mix(in srgb, #c24829 15%, transparent); color: #e8836a;
  border: 1px solid color-mix(in srgb, #c24829 40%, transparent);
}

.single-product-main .theme-product-description {
  color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem;
  font-family: var(--font-body); font-size: 1rem; overflow-wrap: break-word; word-break: break-word;
}
.single-product-main .theme-product-variable-note {
  color: var(--color-muted-foreground); font-size: 14px; margin-bottom: 1rem; font-family: var(--font-body);
}

.single-product-main .theme-quantity-block { margin-bottom: 1.5rem; }
.single-product-main .theme-quantity-label {
  font-size: 14px; color: var(--color-muted-foreground); margin-bottom: .75rem;
  letter-spacing: .18em; text-transform: uppercase; display: block;
}
.single-product-main .theme-quantity-wrapper {
  display: inline-flex; align-items: stretch; border: 1px solid var(--color-border);
  border-radius: 6px; background: var(--color-card);
}
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem .75rem; background: none; border: none; color: var(--color-foreground); transition: background-color .2s;
}
.single-product-main .theme-qty-minus:hover,
.single-product-main .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product-main .theme-qty-value {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem 1rem; min-width: 2.75rem; text-align: center; font-family: var(--font-body); font-size: 14px;
}
.single-product-main .theme-qty-input { display: none !important; }

.single-product-main .theme-add-to-cart-area {
  display: flex; flex-direction: column; gap: .75rem; margin: 0;
}
@media (min-width: 640px) {
  .single-product-main .theme-add-to-cart-area { flex-direction: row; align-items: stretch; }
}
.single-product-main .theme-product-atc-btn,
.single-product-main .theme-product-contact-btn {
  flex: 1 1 0; min-width: 0; width: 100%;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
}

.single-product-main .theme-product-atc-btn.single_add_to_cart_button.button,
.single-product-main a.theme-product-atc-btn.single_add_to_cart_button.button {
  background-color: #0f1416 !important; color: #f4f1eb !important;
  border: 1px solid #0f1416 !important; border-radius: 6px !important;
  padding: 1rem 1.5rem !important; min-height: auto !important; height: auto !important;
  font-size: 14px !important; letter-spacing: .15em !important;
  text-transform: uppercase !important; font-weight: 600 !important; font-family: var(--font-body) !important;
  transition: background-color .3s, color .3s, border-color .3s !important; opacity: 1 !important;
  width: auto !important;
}
.single-product-main .theme-product-atc-btn.single_add_to_cart_button.button:hover,
.single-product-main a.theme-product-atc-btn.single_add_to_cart_button.button:hover {
  background-color: var(--color-accent) !important; color: #0f1416 !important; border-color: var(--color-accent) !important;
  opacity: 1 !important;
}
.single-product-main .theme-product-atc-btn.is-added {
  opacity: .7 !important; pointer-events: none !important;
}

.single-product-main .theme-product-contact-btn {
  background: transparent; color: var(--color-foreground); border: 1px solid var(--color-foreground);
  padding: 1rem 1.5rem; border-radius: 6px; font-size: 14px; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600; font-family: var(--font-body);
  transition: background-color .3s, color .3s; min-height: auto; height: auto;
}
.single-product-main .theme-product-contact-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.single-product-main .theme-product-contact-btn--solo { width: 100%; }

.single-product-main .theme-variable-product-form .theme-variation-row { margin-bottom: 1rem; }
.single-product-main .theme-variable-product-form .theme-variation-label {
  display: block; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: .5rem;
  letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-body);
}
.single-product-main .theme-variable-product-form select {
  width: 100%; padding: .625rem .75rem; border: 1px solid var(--color-border); border-radius: 6px;
  background: var(--color-card); color: var(--color-foreground); font-family: var(--font-body); font-size: 14px;
}
.single-product-main .theme-variable-atc-btn:disabled {
  opacity: .55 !important; cursor: not-allowed !important; pointer-events: none !important;
}

.single-product-main .theme-details-toggle { border-top: 1px solid var(--color-border); margin-top: 2.5rem; }
.single-product-main .theme-details-toggle-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; background: none; border: none; color: var(--color-foreground); text-align: left;
}
.single-product-main .theme-details-toggle-btn .cs-label { margin-bottom: 0; font-size: 14px; }
.single-product-main .theme-details-toggle-btn svg { width: 1rem; height: 1rem; transition: transform .3s; }
.single-product-main .theme-details-toggle.is-open .theme-details-toggle-btn svg { transform: rotate(180deg); }
.single-product-main .theme-details-panel { display: none; padding-bottom: 1.5rem; }
.single-product-main .theme-details-toggle.is-open .theme-details-panel { display: block; }
.single-product-main .theme-details-panel ul { display: flex; flex-direction: column; gap: .75rem; }
.single-product-main .theme-details-panel li {
  font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; font-family: var(--font-body);
}
.single-product-main .theme-details-panel li::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--color-accent);
  margin-top: 8px; margin-right: .75rem; flex-shrink: 0;
}
.single-product-main .theme-details-toggle .divider-hair-bottom { border-top: 1px solid var(--color-border); }

.single-product-main .related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.single-product-main .related-products-intro { text-align: center; margin-bottom: 3rem; }
.single-product-main .related-products-intro .cs-label { color: var(--color-driftwood); font-size: 14px; }
.single-product-main .related-products-intro h2 {
  font-family: var(--font-display); font-weight: 500; font-size: 2.25rem;
  margin-top: .75rem; color: var(--color-foreground);
}
@media (min-width: 768px) { .single-product-main .related-products-intro h2 { font-size: 3rem; } }

.single-product-main .theme-related-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) {
  .single-product-main .theme-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.single-product-main .theme-related-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--color-card); border-radius: 6px; overflow: hidden;
  border: 1px solid var(--color-secondary); transition: transform .5s var(--transition-smooth), border-color .5s var(--transition-smooth);
}
.single-product-main .theme-related-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.single-product-main .theme-related-card__media {
  aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden;
}
.single-product-main .theme-related-card__img {
  display: block; width: 100%; height: 100%; object-fit: cover; position: static !important;
  transition: transform 1.1s ease-out;
}
.single-product-main .theme-related-card:hover .theme-related-card__img { transform: scale(1.05); }
.single-product-main .theme-related-card__info {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; background: #0f1416;
}
.single-product-main .theme-related-card__copy { min-width: 0; }
.single-product-main .theme-related-card__category { font-size: 14px; color: var(--color-driftwood); }
.single-product-main .theme-related-card__name {
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3;
  color: #f3efe7; margin-top: .25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (min-width: 768px) { .single-product-main .theme-related-card__name { font-size: 1.5rem; } }
.single-product-main .theme-related-card__price {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: #f3efe7; flex-shrink: 0;
}
@media (min-width: 768px) { .single-product-main .theme-related-card__price { font-size: 1.5rem; } }

/* Hide leftover WC single-product chrome */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-breadcrumb,
.single-product-main .theme-product-thumbnails { display: none !important; }


/* -------------------------------------------------------------------------
   ARCHIVE / SHOP PAGE
   ------------------------------------------------------------------------- */
.woocommerce-page .site-main:not(.single-product) { background-color: var(--color-stone); color: #24272a; padding: 8rem 0 6rem; }
.woocommerce-page .site-main .theme-archive-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.woocommerce-page .site-main .theme-archive-header h1 { font-family: var(--font-display); font-size: 2.5rem; }

/* -------------------------------------------------------------------------
   SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; background: rgba(244,241,235,.4); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
  z-index: 61; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: .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); }
.theme-cart-header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.theme-cart-header button { background: none; border: none; color: var(--color-foreground); padding: .25rem; opacity: .8; }
.theme-cart-header button: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; }
.theme-cart-empty svg { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-empty .btn-hero-outline { display: inline-flex; }

.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 { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 4px; }
.theme-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s; }
.theme-cart-item__name:hover { opacity: .7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-driftwood); font-weight: 600; margin-top: .125rem; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: .25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.theme-cart-item__controls button.qty-btn { padding: .25rem; background: none; border: none; color: var(--color-foreground); border-radius: 4px; }
.theme-cart-item__controls button.qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__controls .qty-num { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); background: none; border: none; transition: color .3s; }
.theme-cart-item__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; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-subtotal-row .label { font-weight: 500; }
.theme-cart-subtotal-row .value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; }
.theme-cart-checkout-btn { width: 100%; display: flex; align-items: center; justify-content: center; }
.theme-cart-clear-btn { width: 100%; text-align: center; }

/* -------------------------------------------------------------------------
   CHECKOUT BLOCK (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout { overflow-x: clip; }

body.woocommerce-checkout .site-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: var(--color-stone);
}

body.woocommerce-checkout .theme-checkout-main {
  padding-top: 1rem !important;
  padding-bottom: 6rem !important;
  background-color: var(--color-stone);
  color: #24272a;
}

body.woocommerce-checkout .theme-checkout-shell {
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  body.woocommerce-checkout .theme-checkout-shell { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .theme-checkout-shell { padding-left: 3rem; padding-right: 3rem; }
}

body.woocommerce-checkout .theme-checkout-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-label); font-size: 14px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: #454a4f; margin-bottom: 1.25rem; transition: color .3s;
}
body.woocommerce-checkout .theme-checkout-back span {
  font-size: inherit; font-family: inherit; font-weight: inherit;
  letter-spacing: inherit; text-transform: inherit; color: inherit;
}
body.woocommerce-checkout .theme-checkout-back:hover,
body.woocommerce-checkout .theme-checkout-back:hover span {
  color: var(--color-driftwood);
}

body.woocommerce-checkout .theme-checkout-title {
  font-family: var(--font-display); font-weight: 500; font-size: 2.25rem;
  line-height: 1.05; color: #24272a; margin: 0 0 .75rem;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .theme-checkout-title { font-size: 3.75rem; }
}

body.woocommerce-checkout .theme-checkout-lead {
  font-family: var(--font-body); color: #6b6560; font-size: 1rem; line-height: 1.7;
  max-width: 42rem; margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .theme-checkout-lead { font-size: 1.125rem; }
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-checkout-main,
body.woocommerce-checkout .site-main article,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .container-wide {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .theme-checkout-shell .entry-content {
  margin-inline: 0;
  padding-left: 0;
  padding-right: 0;
}

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 4rem;
  background-color: var(--color-stone);
  color: #24272a;
}

body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout {
  display: block;
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--checkout-gap);
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
  }
}

body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices {
  grid-column: 1 / -1;
  order: 1;
  max-width: var(--checkout-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main {
  order: 2;
  grid-column: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
  order: 3;
  grid-column: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar {
    min-width: 360px;
  }
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  grid-column: 1 / -1;
  font-family: var(--font-body);
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.theme-thankyou-page .page-title {
  font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 2rem;
}
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: var(--container-max); margin-inline: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { padding-left: 3rem; padding-right: 3rem; } }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important; max-width: none !important;
  font-family: var(--font-body); font-size: 14px; color: #24272a;
  border: 1px solid var(--color-border); border-radius: 4px; background-color: #fff;
}
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); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important; letter-spacing: var(--btn-letter-spacing) !important; text-transform: var(--btn-text-transform) !important;
  font-size: var(--btn-font-size) !important; font-weight: var(--btn-font-weight) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: .85; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: color-mix(in srgb, var(--color-sand-light) 60%, #fff);
  border-radius: var(--card-radius);
  padding: 2rem;
}

/* -------------------------------------------------------------------------
   THANK YOU PAGE
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: clip; }
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 {
  max-width: var(--container-max); margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin-bottom: 2rem;
  background: #fff; border-radius: var(--card-radius); border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-family: var(--font-body); font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-top: .25rem; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: .75rem; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; font-size: 14px; line-height: 1.7; font-style: normal; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  }
}
