/* ==========================================================================
   Paul C. Dennis Fine Arts — theme stylesheet
   All colors below are FALLBACKS ONLY; the live values are injected as
   CSS custom properties on :root by wp_add_inline_style() from the
   Customizer (see inc/customizer.php pcd_output_color_inline_css()).
   ========================================================================== */

:root {
  --color-primary: #7a1938;
  --color-primary-foreground: #f7f3ea;
  --color-accent: #dcaa3a;
  --color-background: #f5f1ea;
  --color-foreground: #1a1a1a;
  --color-secondary: #ece6da;
  --color-border: #d1c9ba;
  --color-background-dark: #0a0a0a;
  --color-foreground-dark: #ffffff;
  --color-button-text: #f7f3ea;
  --logo-height: 84px;

  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --header-height: 112px;
  --header-height-mobile: 80px;

  --btn-radius: 999px;
  --btn-height: 44px;
  --btn-padding: 0 1.5rem;
  --btn-font-size: 15px;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;
  --btn-icon-padding: 0;

  --card-radius: 1rem;
  --section-padding: 2rem;

  --shadow-soft: 0 6px 24px -12px rgba(24, 20, 12, 0.18);
  --shadow-elevated: 0 24px 60px -24px rgba(24, 20, 12, 0.28);
}

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-size: inherit;
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.008em;
}
.font-display { font-family: var(--font-display); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
summary,
.theme-nav-link,
.theme-mobile-nav-link,
.site-header__nav a,
.site-header__brand,
.site-header__cart-btn,
.site-header__menu-toggle,
.site-footer__totop,
.site-footer a,
.theme-card-link,
.theme-card-quickview,
.theme-color-swatch,
.theme-framing-pill,
.shop-section__tab,
.events-section__recent-card,
.theme-product-card,
[data-cart-open],
[data-cart-close],
[data-menu-toggle],
[data-scroll-top],
[data-story-trigger] {
  cursor: pointer;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
.italic { font-style: italic; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card__image):not(.theme-product-gallery__main-img):not(.theme-related-card__image):not(.theme-product-thumb__img):not(.events-section__recent-image img):not(.theme-modal__image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img,
.theme-product-card__image,
.theme-product-thumb__img,
.events-section__recent-image img,
.theme-modal__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

img { transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 700ms ease; }

.theme-no-hero .site-main { padding-top: var(--header-height); }
body.theme-no-hero .site-main.single-product-main {
  padding-top: 6rem !important;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  body.theme-no-hero .site-main.single-product-main { padding-top: 7rem !important; }
}
body.admin-bar.theme-no-hero .site-main.single-product-main {
  padding-top: calc(6rem + 32px) !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar.theme-no-hero .site-main.single-product-main {
    padding-top: calc(6rem + 46px) !important;
  }
}
@media (min-width: 1024px) {
  body.admin-bar.theme-no-hero .site-main.single-product-main {
    padding-top: calc(7rem + 32px) !important;
  }
}
@media (max-width: 767px) {
  .theme-no-hero .site-main { padding-top: var(--header-height-mobile); }
}

/* Offset fixed header when the WordPress admin bar is visible (Customizer preview + logged-in). */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar.theme-no-hero .site-main { padding-top: calc(var(--header-height-mobile) + 46px); }
}
@media screen and (min-width: 783px) {
  body.admin-bar.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 32px); }
}

/* ---------------- Layout utilities ---------------- */
.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 4rem; } }

.theme-page-inner { padding-block: 6rem; }

.theme-light {
  --local-bg: var(--color-background);
  --local-fg: var(--color-foreground);
  background-color: var(--local-bg);
  color: var(--local-fg);
}
.theme-dark {
  --local-bg: var(--color-background-dark);
  --local-fg: var(--color-foreground-dark);
  background-color: var(--local-bg);
  color: var(--local-fg);
}

.eyebrow {
  font-size: 15px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--local-fg, var(--color-foreground)) 60%, transparent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.6rem; } }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border: 1px solid transparent;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out, opacity 150ms ease-out;
}
.btn:hover { transform: scale(1.02); box-shadow: var(--shadow-soft); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.btn-primary,
.btn-hero-primary,
.btn-precontact {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
  text-transform: none;
}
.btn-primary:hover, .btn-precontact:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }

.btn-hero-primary { background-color: #fff; color: #000; border-color: #fff; text-transform: none; }
.btn-hero-primary:hover { background-color: rgba(255,255,255,0.9); }

.btn-outline,
.btn-hero-outline {
  background: transparent;
  color: var(--local-fg, var(--color-foreground));
  border-color: color-mix(in srgb, var(--local-fg, var(--color-foreground)) 25%, transparent);
  text-transform: none;
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-hero-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-hero-outline:hover { background: #fff; color: #000; }

.btn-precontact { background-color: var(--color-background-dark) !important; color: #fff !important; border-color: var(--color-background-dark) !important; }
.precontact-cta .btn-precontact { background-color: #fff !important; color: #000 !important; border-color: #fff !important; }
.precontact-cta .btn-precontact:hover { background-color: rgba(255,255,255,0.9) !important; }

.btn-ghost { background: transparent; color: color-mix(in srgb, var(--local-fg, var(--color-foreground)) 60%, transparent); border-color: transparent; }
.btn-ghost:hover { background-color: color-mix(in srgb, var(--local-fg, var(--color-foreground)) 6%, transparent); }

/* ---------------- Reveal / scroll animation (Section 2.1) ---------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal-item--up { transform: translateY(28px); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.marquee-track { width: max-content; animation: marquee-scroll 45s linear infinite; }
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.theme-fade-in { animation: theme-fade-in 700ms ease-out both; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color 500ms ease-out, border-color 500ms ease-out;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.1);
}
.site-header__inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  height: var(--header-height-mobile);
}
@media (min-width: 640px) { .site-header__inner { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .site-header__inner { padding-inline: 4rem; height: var(--header-height); } }
@media (min-width: 1280px) { .site-header__inner { padding-inline: 6rem; } }
@media (min-width: 1536px) { .site-header__inner { padding-inline: 8rem; } }

.site-header__left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; flex-shrink: 1; }
.site-header__menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.375rem; color: #fff;
}
.site-header__menu-toggle:hover { background-color: rgba(255,255,255,0.1); }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle.is-open .icon-menu { display: none; }
.site-header__menu-toggle.is-open .icon-close { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 1; }
.site-logo-img {
  height: 48px !important;
  width: auto !important;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.55));
  transition: transform 500ms ease-out;
}
@media (min-width: 640px) { .site-logo-img { height: 60px !important; } }
@media (min-width: 1024px) { .site-logo-img { height: var(--logo-height) !important; } }
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { line-height: 1.1; font-family: var(--font-display); font-style: italic; color: #fff; font-size: 1.15rem; }
.site-header__brand-text { display: none; }
@media (min-width: 1536px) {
  .site-header__brand-text { display: inline; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: #fff; white-space: nowrap; }
}

.site-header__nav { display: none; }
@media (min-width: 1024px) {
  .site-header__nav {
    display: flex; align-items: center; gap: 0.25rem;
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 18rem);
  }
}
.site-header__nav .theme-nav-list { display: flex; align-items: center; gap: 0.25rem; }
.site-header__nav .theme-nav-link,
.site-header__nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
  transition: color 300ms ease;
}
@media (min-width: 1280px) { .site-header__nav .theme-nav-link, .site-header__nav a { padding: 0.5rem 1rem; } }
.site-header__nav .theme-nav-link:hover,
.site-header__nav a:hover { color: #fff; }
.site-header__nav .theme-nav-link.is-active,
.site-header__nav a.is-active { color: #fff; }
.site-header__nav .theme-nav-link.is-active::after,
.site-header__nav a.is-active::after {
  content: ''; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -1px; height: 2px; background: #fff;
}

.site-header__right { display: flex; align-items: center; flex-shrink: 0; }
.site-header__cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.375rem; color: #fff;
}
.site-header__cart-btn:hover { background-color: rgba(255,255,255,0.1); }
.theme-cart-count-inline { display: none; }
.theme-cart-count-badge,
.theme-cart-count {
  position: absolute; top: -2px; right: -2px;
  font-size: 12px; font-weight: 500; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: #000;
}
.theme-cart-count-badge:empty,
.theme-cart-count:empty { display: none; }

.site-header__mobile-nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0a0a0a;
  overflow: hidden;
}
.site-header__mobile-nav.is-open {
  display: block;
  animation: theme-fade-in 300ms ease-out both;
}
.theme-nav-list--mobile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-block: 0.5rem;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .theme-nav-list--mobile { padding-inline: 1.5rem; } }
.theme-nav-list--mobile a,
.theme-mobile-nav-link {
  display: block;
  text-align: left;
  padding-block: 0.75rem;
  padding-inline: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  transition: color 300ms ease;
}
.theme-nav-list--mobile a:hover,
.theme-mobile-nav-link:hover { color: #fff; }
.theme-nav-list--mobile li:last-child a { border-bottom: none; }
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.hero-section__content {
  position: relative; z-index: 10; text-align: center; color: #fff;
  padding-block: 8rem 6rem;
}
@media (min-width: 1024px) { .hero-section__content { padding-block: 10rem 8rem; } }
.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 2rem; }
.hero-section__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.85);
  font-weight: 500; backdrop-filter: blur(4px);
}
.hero-section__heading {
  color: #fff; line-height: 0.98; letter-spacing: -0.015em;
  max-width: 62rem; margin: 0 auto;
  font-size: clamp(3rem, 8.5vw, 7rem);
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.45));
}
.hero-section__subtext {
  margin: 2rem auto 0; max-width: 42rem;
  font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
@media (min-width: 640px) { .hero-section__subtext { font-size: 18px; } }
.hero-section__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__ctas { flex-direction: row; gap: 1rem; } }

/* ==========================================================================
   About / Studio
   ========================================================================== */
.about-section { padding-block: 6rem; }
@media (min-width: 768px) { .about-section { padding-block: 8rem; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.about-section__left { display: flex; flex-direction: column; }
.about-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.6rem; } }
.about-section__subtext { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 24rem; }
.about-section__quote { margin-top: 3rem; padding-top: 2rem; }
.about-section__quote blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin: 0; }
@media (min-width: 768px) { .about-section__quote blockquote { font-size: 1.8rem; } }
.about-section__quote figcaption { margin-top: 1.25rem; font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-weight: 500; }
.about-section__box { margin-top: 2.5rem; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-secondary); padding: 1.25rem; transition: transform 400ms ease-out, box-shadow 400ms ease-out; }
.about-section__box:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.about-section__box-eyebrow { font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.about-section__box-text { font-size: 15px; font-weight: 500; }
.about-section__right { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .about-section__right { padding-left: 2.5rem; } }
.about-section__heading2 { font-size: 1.875rem; line-height: 1.15; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section__heading2 { font-size: 2.25rem; } }
.about-section__copy { display: flex; flex-direction: column; gap: 1.5rem; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
@media (min-width: 768px) { .about-section__copy { font-size: 16px; } }
.about-section__highlight { font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 90%, transparent); font-size: 1.125rem; }
@media (min-width: 768px) { .about-section__highlight { font-size: 1.25rem; } }
.about-section__stats { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 640px) { .about-section__stats { grid-template-columns: 1fr 1fr; } }
.about-section__stat-value { font-family: var(--font-display); font-size: 1.5rem; }
@media (min-width: 768px) { .about-section__stat-value { font-size: 1.875rem; } }
.about-section__stat-label { margin-top: 0.25rem; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
@media (min-width: 640px) { .about-section__stat-label { white-space: nowrap; } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.mantra-marquee { position: relative; background: #111; overflow: hidden; padding-block: 2.25rem; }
@media (min-width: 768px) { .mantra-marquee { padding-block: 3.15rem; } }
.mantra-marquee__fade { position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; pointer-events: none; }
@media (min-width: 768px) { .mantra-marquee__fade { width: 10rem; } }
.mantra-marquee__fade--left { left: 0; background: linear-gradient(to right, #111, transparent); }
.mantra-marquee__fade--right { right: 0; background: linear-gradient(to left, #111, transparent); }
.mantra-marquee__track { display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
@media (min-width: 768px) { .mantra-marquee__track { gap: 5rem; } }
.mantra-marquee__item { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; }
@media (min-width: 768px) { .mantra-marquee__item { gap: 5rem; } }
.mantra-marquee__text { font-family: var(--font-display); line-height: 1; color: #e5e5e5; font-size: clamp(1.44rem, 3.84vw, 3.2rem); }
.mantra-marquee__dot { display: inline-block; border-radius: 999px; background: #e5e5e5; flex-shrink: 0; width: clamp(6px, 0.6vw, 10px); height: clamp(6px, 0.6vw, 10px); }

/* ==========================================================================
   Shop section + product grid/cards (shared across homepage, archive,
   related products — Section 31.13)
   ========================================================================== */
.shop-section, .events-section, .artist-section, .newsletter-section { padding-block: 6rem; }
@media (min-width: 768px) { .shop-section, .events-section, .artist-section, .newsletter-section { padding-block: 8rem; } }
.shop-section__anchor { display: block; }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.4rem; } }
.shop-section__subtext { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 36rem; }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-section__search-input {
  width: 100%; height: 44px; padding: 0 1rem 0 2.75rem; border-radius: 999px;
  background: var(--color-secondary); border: 1px solid var(--color-border); font-size: 15px; color: var(--color-foreground);
}
.shop-section__search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search-input:focus { outline: none; border-color: var(--color-primary); }

.shop-section__tabs { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 3rem; }
.shop-section__tab {
  padding: 0 1.25rem; height: 40px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); background: transparent;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 200ms ease;
}
.shop-section__tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-section__tab.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-section__no-results { text-align: center; padding-block: 5rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-section__group-head { max-width: 42rem; margin-bottom: 2rem; }
.shop-section__group-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-section__group-heading { font-size: 2.25rem; } }
.shop-section__group-subtext { margin-top: 0.75rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; }
.shop-section__divider { padding-top: 2rem; }
.shop-section__divider span { display: block; width: 6rem; height: 1px; background: color-mix(in srgb, var(--color-accent) 20%, transparent); margin: 3rem auto; }
.shop-section__view-more { margin-top: 3.5rem; display: flex; justify-content: center; }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-archive__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; width: 100%; }
.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary);
  border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
  transition: border-color 300ms ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-card-link {
  position: absolute; inset: 0; z-index: 1;
  display: block;
}
.theme-product-card__image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-badge { position: absolute; z-index: 3; font-size: 15px; font-weight: 500; padding: 0.25rem 0.6rem; border-radius: 999px; }
.theme-badge--stock { top: 0.75rem; left: 0.75rem; background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__actions {
  position: absolute; z-index: 2; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0; transition: opacity 500ms ease-out;
}
.theme-product-card:hover .theme-product-card__actions { opacity: 1; }
.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart,
button.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart {
  flex: 1; min-height: unset; height: 40px; padding: 0 1rem;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
  font-size: 15px; font-weight: 500; border: none !important; box-shadow: var(--shadow-soft);
  text-transform: none !important; cursor: pointer;
}
.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart:hover,
button.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart:hover { background: color-mix(in srgb, var(--color-primary) 90%, black) !important; }
.theme-card-add-btn--view { flex: 1; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 15px; font-weight: 500; }
.theme-card-quickview {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--color-background) 90%, transparent); backdrop-filter: blur(6px);
  color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.theme-product-card__info { flex: 1; padding: 0 0.125rem; }
.theme-product-card__cat { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.375rem; }
.theme-product-card__title { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.3; margin: 0; }
.theme-product-card__title-link { color: var(--color-foreground); transition: color 300ms ease; }
.theme-product-card:hover .theme-product-card__title-link { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.35rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card__price { margin-top: 0.375rem; font-size: 15px; font-weight: 500; color: var(--color-primary); }
.theme-product-card__price .woocommerce-Price-amount { color: var(--color-primary); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4rem; }

.shop-archive__title { font-size: 2.5rem; padding-block: 3rem 0; }
.shop-archive { padding-bottom: 6rem; }
.shop-archive__empty { text-align: center; padding-block: 5rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ==========================================================================
   Events / News
   ========================================================================== */
.events-section__head { max-width: 42rem; margin-bottom: 3rem; }
.events-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .events-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .events-section__heading { font-size: 3.4rem; } }
.events-section__subtext { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; }
.events-section__recent-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .events-section__recent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.events-section__recent-card { display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.events-section__recent-image {
  position: relative; aspect-ratio: 1/1; border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
  background: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); transition: border-color 300ms ease;
}
.events-section__recent-card:hover .events-section__recent-image { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.events-section__recent-image img { transition: transform 1400ms ease; }
.events-section__recent-card:hover .events-section__recent-image img { transform: scale(1.04); }
.events-section__recent-label { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.375rem; }
.events-section__recent-title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
@media (min-width: 768px) { .events-section__recent-title { font-size: 1.4rem; } }
.events-section__recent-excerpt { margin-top: 0.75rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.events-section__recent-footer { margin-top: auto; padding-top: 1.25rem; }
.events-section__read-story { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; font-weight: 500; color: var(--color-primary); position: relative; }
.events-section__read-story::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 450ms cubic-bezier(0.22,1,0.36,1); }
.events-section__read-story:hover::after { transform: scaleX(1); transform-origin: left center; }

.events-section__schedule { margin-top: 5rem; }
.events-section__schedule-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .events-section__schedule-heading { font-size: 2.25rem; } }
.events-section__schedule-subtext { margin-top: 0.75rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 36rem; }
.events-section__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.events-section__item {
  background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 1rem;
  padding: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; transition: border-color 300ms ease;
}
@media (min-width: 768px) { .events-section__item { grid-template-columns: 220px 1fr; padding: 1.75rem; gap: 2rem; } }
.events-section__item:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.events-section__item-when { display: flex; flex-direction: column; gap: 0.5rem; }
.events-section__item-date { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; font-weight: 500; color: var(--color-primary); }
.events-section__item-time { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.events-section__item-title { font-family: var(--font-display); font-size: 1.25rem; }
.events-section__item-place { margin-top: 0.5rem; display: inline-flex; align-items: flex-start; gap: 0.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.events-section__item-detail { margin-top: 0.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.6; }

/* Story modal */
.theme-modal { position: fixed; inset: 0; z-index: 60; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal__overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  opacity: 0; transition: opacity 200ms ease;
}
.theme-modal.is-open .theme-modal__overlay { opacity: 1; }
.theme-modal__content {
  position: fixed; left: 50%; top: 50%; z-index: 61;
  width: calc(100% - 2rem); max-width: 56rem; max-height: 90vh; overflow-y: auto;
  border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-background);
  transform: translate(-50%, -48%) scale(0.95); opacity: 0;
  transition: transform 200ms ease, opacity 200ms ease;
}
.theme-modal.is-open .theme-modal__content { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; z-index: 2; padding: 0.375rem; border-radius: 0.25rem; opacity: 0.7; background: var(--color-background); }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { padding: 1.5rem 1.5rem 0.5rem; text-align: left; }
@media (min-width: 768px) { .theme-modal__header { padding: 2rem 2rem 0.5rem; } }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; padding-right: 2rem; }
@media (min-width: 768px) { .theme-modal__title { font-size: 1.875rem; } }
.theme-modal__date { margin-top: 0.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-modal__image-wrap { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--color-secondary); }
.theme-modal__body { padding: 1.25rem 1.5rem 1.5rem; }
@media (min-width: 768px) { .theme-modal__body { padding: 1.25rem 2rem 2rem; } }
.theme-modal__text { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); white-space: pre-line; }

/* ==========================================================================
   Artist
   ========================================================================== */
.artist-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .artist-section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.artist-section__portrait { position: relative; aspect-ratio: 4/5; width: 100%; max-width: 28rem; border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-secondary); }
.artist-section__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scaleX(-1); }
.artist-section__heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .artist-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artist-section__heading { font-size: 3.2rem; } }
.artist-section__copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-top: 1.75rem; }
@media (min-width: 768px) { .artist-section__copy { font-size: 16px; } }
.artist-section__signature { font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 90%, transparent); font-size: 1.125rem; }
@media (min-width: 768px) { .artist-section__signature { font-size: 1.25rem; } }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter-section__box { background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 1rem; padding: 3rem 1.5rem; text-align: center; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .newsletter-section__box { padding: 4rem 3.5rem; } }
.newsletter-section__icon { margin: 0 auto 1.5rem; width: 3rem; height: 3rem; border-radius: 999px; background: var(--color-background); border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); }
.newsletter-section__heading { font-size: 1.875rem; line-height: 1.08; }
@media (min-width: 768px) { .newsletter-section__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .newsletter-section__heading { font-size: 3rem; } }
.newsletter-section__subtext { margin: 1.25rem auto 0; max-width: 36rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; }
.newsletter-section__form { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 32rem; margin-left: auto; margin-right: auto; min-width: 0; }
@media (min-width: 640px) { .newsletter-section__form { flex-direction: row; } }
.newsletter-section__input { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.375rem; font-size: 15px; color: var(--color-foreground); }
.newsletter-section__input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.newsletter-section__input:focus { outline: none; border-color: var(--color-primary); }
.newsletter-section__submit { width: 100%; }
@media (min-width: 640px) { .newsletter-section__submit { width: auto; } }
.newsletter-section__helper { margin-top: 1rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ==========================================================================
   Pre-Contact CTA
   ========================================================================== */
.precontact-cta { position: relative; overflow: hidden; background: var(--color-foreground); color: var(--color-background); min-height: 680px; display: flex; align-items: center; }
@media (min-width: 768px) { .precontact-cta { min-height: 760px; } }
.precontact-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.precontact-cta__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); pointer-events: none; }
.precontact-cta__dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.08;
  background-image: radial-gradient(rgba(245,241,234,0.6) 1px, transparent 1px);
  background-size: 22px 22px;
}
.precontact-cta__content { position: relative; z-index: 10; text-align: center; padding-block: 6rem; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .precontact-cta__content { padding-block: 9rem; } }
.precontact-cta__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 15px; letter-spacing: 0.4em; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.5rem; font-weight: 500; width: 100%; }
.precontact-cta__line { height: 1px; width: 2rem; background: rgba(245,241,234,0.5); }
.precontact-cta__heading { color: inherit; line-height: 1.05; letter-spacing: -0.01em; margin: 0 auto; max-width: 48rem; font-size: clamp(2rem, 5.6vw, 4.2rem); }
.precontact-cta__subtext { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; opacity: 0.85; line-height: 1.6; }
.precontact-cta__cta { margin-top: 2.5rem; text-shadow: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding-top: 6rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 5rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__left { display: flex; flex-direction: column; height: 100%; }
.contact-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.4rem; } }
.contact-section__subtext { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 28rem; }
.contact-section__touchpoints { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__touchpoint { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); }
.contact-section__touchpoint:hover, a.contact-section__touchpoint:hover { color: var(--color-primary); }
.contact-section__touchpoint-icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-secondary); border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms ease; }
.contact-section__touchpoint:hover .contact-section__touchpoint-icon { border-color: var(--color-primary); }
.contact-section__touchpoint-text { display: flex; flex-direction: column; text-align: left; }
.contact-section__touchpoint-label { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__touchpoint-value { font-size: 15px; font-weight: 500; }
.contact-section__quote-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-section__quote-box { position: relative; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-secondary); padding-block: 2.5rem; padding-inline: 1.5rem; text-align: center; overflow: hidden; margin: 0; }
@media (min-width: 768px) { .contact-section__quote-box { padding-block: 3rem; padding-inline: 2.5rem; } }
.contact-section__quote-mark { position: absolute; top: 0.75rem; left: 1.25rem; font-family: var(--font-display); font-style: italic; line-height: 1; color: color-mix(in srgb, var(--color-primary) 25%, transparent); font-size: 5rem; user-select: none; pointer-events: none; }
.contact-section__quote-rule { display: block; margin: 0 auto 1.25rem; height: 1px; width: 2.5rem; background: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.contact-section__quote-box blockquote { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); line-height: 1.35; font-size: 1.125rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 768px) { .contact-section__quote-box blockquote { font-size: 1.25rem; } }
@media (min-width: 1024px) { .contact-section__quote-box blockquote { font-size: 1.5rem; } }
.contact-section__quote-box figcaption { margin-top: 1.5rem; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 500; }

.contact-section__form { background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-soft); height: 100%; min-width: 0; }
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: 1fr 1fr; } }
.contact-section__form label { display: block; font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.contact-section__form input,
.contact-section__form select,
.contact-section__form textarea {
  width: 100%; min-width: 0; height: 48px; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.375rem; font-size: 15px; color: var(--color-foreground);
}
.contact-section__form textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.contact-section__form input::placeholder, .contact-section__form textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.contact-section__form input:focus, .contact-section__form select:focus, .contact-section__form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-section__select-wrap { position: relative; }
.contact-section__select-wrap select { appearance: none; padding-right: 2.5rem; }
.contact-section__select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__form-footer { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-section__form-footer .btn { width: 100%; }
.contact-section__form-helper { text-align: center; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); }
.site-footer__inner { padding-block: 3.5rem 5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo { height: 105px; }
.site-footer__blurb { margin-top: 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 65%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__quote { margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 70%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__social { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 70%, transparent); }
.site-footer__social:hover { color: var(--color-primary); }
.site-footer__heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a, .site-footer__list button { font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 65%, transparent); text-align: left; }
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 60%, transparent); }
.site-footer__credit a { color: color-mix(in srgb, var(--color-foreground-dark) 80%, transparent); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__credit a:hover { color: var(--color-primary); }
.site-footer__totop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground-dark) 70%, transparent); }
.site-footer__totop:hover { color: var(--color-primary); }
.site-footer__totop-icon { width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms ease; }
.site-footer__totop:hover .site-footer__totop-icon { border-color: var(--color-primary); }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 { padding-block: 8rem; text-align: center; max-width: 40rem; margin-inline: auto; }
.theme-404__heading { font-size: 2rem; margin-bottom: 1rem; }
.theme-404__text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }

/* ==========================================================================
   Side cart drawer
   ========================================================================== */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 300ms ease;
}
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; z-index: 61;
  background: var(--color-secondary); box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 350ms cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 15px; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { width: 5rem; height: 6rem; border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; display: block; background: var(--color-border); }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-title { font-size: 15px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-title:hover { color: var(--color-primary); }
.theme-cart-drawer__item-price, .theme-cart-drawer__item-variation, .theme-cart-drawer__item-meta { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-drawer__qty-btn:hover { background: color-mix(in srgb, var(--color-foreground) 8%, transparent); }
.theme-cart-drawer__qty-value { font-size: 15px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__remove:hover { color: #b91c1c; }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--color-secondary) 60%, var(--color-background)); }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 15px; }
.theme-cart-drawer__shipping-note { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* Hide WooCommerce's own "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; }

/* WooCommerce notices, scoped (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 0.5rem; border: 1px solid var(--color-border); background: var(--color-secondary);
  color: var(--color-foreground); padding: 1rem 1.25rem; font-size: 15px; margin: 1.5rem auto; max-width: 1400px;
}
.woocommerce-error { border-color: #b91c1c; color: #7f1d1d; background: #fef2f2; }

/* ==========================================================================
   WooCommerce: single product
   ========================================================================== */
.single-product-main { background: var(--color-background); }
.single-product .theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 0 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) {
  .single-product .theme-product-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
.single-product__breadcrumb { padding-block: 1.5rem; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.single-product__breadcrumb a:hover { color: var(--color-primary); }
.single-product__breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.single-product__breadcrumb-current { color: var(--color-foreground); }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .single-product .theme-product-gallery { position: sticky; top: 7rem; align-self: start; }
}
.theme-product-gallery__main {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  background: var(--color-secondary); border-radius: 0.75rem; overflow: hidden;
  margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
}
.single-product .theme-product-gallery__main-img {
  position: static !important;
  display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1;
}
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.single-product__cats { font-size: 15px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.single-product__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.05; margin-bottom: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .single-product__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product__title { font-size: 2.6rem; } }
.single-product__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.single-product__stock.is-out-of-stock { display: inline-block; margin-bottom: 1.25rem; font-size: 15px; font-weight: 500; color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); padding: 0.25rem 0.75rem; border-radius: 999px; }
.single-product__description { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.single-product__description p { margin: 0; }
.single-product__field-label { font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.625rem; }
.single-product__field-note { margin-top: 0.75rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.single-product__quantity-block { margin-bottom: 1.5rem; }
.single-product__cta-row { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .single-product__cta-row { flex-direction: row; } }
.single-product__cta-row .single_add_to_cart_button,
.single-product__cta-row .single-product__buy-now { width: 100%; flex: 1 1 auto; min-width: 0; }
.single-product__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); overflow-wrap: break-word; word-break: break-word; }
.single-product__details-items,
.single-product__details-list ul { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.single-product__details-items li,
.single-product__details-list li { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.single-product__details-items li::before,
.single-product__details-list li::before { content: ''; width: 4px; height: 4px; background: var(--color-primary); border-radius: 999px; margin: 0.55rem 0.75rem 0 0; flex-shrink: 0; }
.single-product__trust { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.single-product__trust-item { text-align: center; }
.single-product__trust-icon { display: inline-flex; color: var(--color-primary); margin-bottom: 0.5rem; }
.single-product__trust-label { font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); line-height: 1.4; }
.single-product__related { padding-block: 5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.single-product__related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.single-product__related-heading { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .single-product__related-heading { font-size: 2.25rem; } }
.single-product__related-viewall { display: none; align-items: center; gap: 0.375rem; font-size: 15px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); white-space: nowrap; }
@media (min-width: 640px) { .single-product__related-viewall { display: inline-flex; } }
.single-product__related-viewall:hover { color: var(--color-primary); }
.single-product__related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
@media (min-width: 1024px) { .single-product__related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2.5rem; } }
.theme-related-card { display: block; min-width: 0; color: inherit; }
.theme-related-card__image-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); transition: border-color 300ms ease; }
.theme-related-card:hover .theme-related-card__image-wrap { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-related-card__image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.theme-related-card:hover .theme-related-card__image { transform: scale(1.04); }
.theme-related-card__cat { font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.375rem; }
.theme-related-card__title { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--color-foreground); transition: color 300ms ease; margin: 0; }
@media (min-width: 768px) { .theme-related-card__title { font-size: 1.35rem; } }
.theme-related-card:hover .theme-related-card__title { color: var(--color-primary); }
.theme-related-card__price { margin-top: 0.375rem; font-size: 15px; font-weight: 500; color: var(--color-primary); }

/* Variations table */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr { margin-bottom: 1.25rem; }
.single-product .variations tbody td.label { padding-bottom: 0.5rem; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-select {
  width: 100%;
  max-width: 20rem;
  height: 44px;
  padding: 0 2.5rem 0 1rem;
  border-radius: 0.375rem;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  background-color: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}
.theme-attr-select:focus { outline: none; border-color: var(--color-primary); }

.theme-attr-pills--color { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-color-swatch {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.375rem 0.875rem 0.375rem 0.375rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  background: transparent;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  font-size: 15px; font-weight: 500;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}
.theme-color-swatch:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-color-swatch.is-active {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  color: var(--color-foreground);
}
.theme-color-swatch__dot {
  width: 1.75rem; height: 1.75rem; border-radius: 999px; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
}
.theme-color-swatch__label { line-height: 1.2; }

.theme-framing-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.theme-framing-pill {
  padding: 0 1rem; height: 44px; border-radius: 999px; font-size: 15px; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); background: transparent;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: all 200ms ease;
}
.theme-framing-pill { display: inline-flex; align-items: center; gap: 0.625rem; padding-left: 0.375rem; padding-right: 1rem; height: 48px; }
.theme-framing-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-framing-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-framing-pill__thumb { width: 2.25rem; height: 2.25rem; border-radius: 999px; overflow: hidden; background: var(--color-secondary); flex-shrink: 0; }
.theme-framing-pill__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-framing-pill__price { opacity: 0.8; }
.single-product__framing { margin-top: 1.5rem; }

.single_variation_wrap { margin-top: 0.5rem; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .woocommerce-variation-description { display: none !important; }
.single-product .woocommerce-tabs,
.single-product .product_meta { display: none !important; }

/* Quantity + add-to-cart row */
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; background: transparent; border: none; color: inherit; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-display { padding: 0.625rem 1rem; min-width: 2.75rem; text-align: center; font-size: 15px; font-weight: 500; }
.theme-qty-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.single-product .theme-add-to-cart-area { margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* 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-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
/* Card compact button — overrides global rules, must stay after them */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  height: 40px !important;
  padding: 0 1rem !important;
  border-radius: 999px !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.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; }

/* Responsive layout guards (Section 11.13) */
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ==========================================================================
   WooCommerce Checkout / Cart Blocks
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
@media (max-width: 767px) {
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart .site-main,
  body.woocommerce-account .site-main { padding-top: calc(var(--header-height-mobile) + 1rem); }
}

/* Checkout page header */
.theme-checkout-header { margin-bottom: 2rem; }
.theme-checkout-header__back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 15px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-bottom: 1.5rem; transition: color 200ms ease;
}
.theme-checkout-header__back:hover { color: var(--color-primary); }
.theme-checkout-header__title {
  font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15; margin: 0 0 0.75rem;
}
.theme-checkout-header__intro {
  margin: 0; max-width: 42rem; font-size: 1rem; line-height: 1.6;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}

.theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(> .wc-block-checkout) {
  max-width: none;
  width: 100%;
}

/* Root checkout block — width cap without breaking flex layout */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap, 2rem);
    align-items: start;
    flex-direction: unset;
    flex-wrap: nowrap;
    margin: 0;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
  .entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }

  body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
  .entry-content .wc-block-checkout > .wc-block-components-notices {
    grid-column: 1 / -1;
  }
}

/* Sidebar wrappers transparent; card only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
  box-sizing: border-box;
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main) .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-notice-banner,
.entry-content .wc-block-checkout:has(> .wc-block-checkout__main) .wc-block-components-notice-banner {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:not(:last-child),
.entry-content .wc-block-checkout > .wc-block-components-notices:not(:last-child) {
  margin-bottom: var(--checkout-gap, 2rem);
}

/* Empty cart in checkout */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  border-radius: 0.375rem;
  border-color: var(--color-border);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary);
  border-radius: var(--btn-radius);
  text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.9;
}

/* Cart drawer line-item meta */
.theme-cart-item-meta {
  list-style: none; margin: 0.375rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.theme-cart-item-meta__row {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
}
.theme-cart-item-meta-swatch {
  width: 0.875rem; height: 0.875rem; border-radius: 999px; flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
}
.theme-cart-item-meta__text { line-height: 1.3; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.75rem; padding: 2rem 0 1rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 15px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}
