/* ==========================================================================
   Cimiam Wealth — theme.css
   All visual styling for the theme lives here (Section 10 / 15.1).
   ========================================================================== */

:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', 'Inter', 'Helvetica Neue', sans-serif;
  --radius: 0.25rem;
  --header-height: 76px;
  --btn-radius: 0px;
  --btn-height: 3rem;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.28em;
  --btn-text-transform: uppercase;
  --color-button-text: var(--color-background);
  --checkout-gap: 2rem;
  --card-radius: 0;
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.font-display { font-family: var(--font-display); }

.theme-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: 0% 50%;
  transition: transform 0.1s linear;
}

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

img { max-width: 100%; display: block; }

.cover-img, .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#product-main-img,
.theme-product-thumb img,
.theme-featured__image-wrap img,
.theme-product-card__image-wrapper img,
.theme-cart-item__image img,
.theme-cart-pair-with__image img,
.theme-search-hit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#product-main-img { position: static; object-fit: contain; max-height: 88vh; }
.theme-product-thumb img { position: static; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }

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

.label-eyebrow {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted-foreground);
}

.scroll-mt-24 { scroll-margin-top: 6rem; }
.scroll-mt-28 { scroll-margin-top: 7rem; }

.btn-technical, .btn-technical-inverse, .theme-hero-btn,
.theme-btn-primary, .theme-btn-checkout, .theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
  border-radius: 0;
  text-align: center;
}
.btn-technical { height: 3rem; padding: 0 2rem; background: var(--color-foreground); color: var(--color-background); border: 1px solid var(--color-foreground); }
.btn-technical:hover { background: transparent; color: var(--color-foreground); }
.btn-technical-inverse { height: 3rem; padding: 0 2rem; background: var(--color-background); color: var(--color-foreground); border: 1px solid var(--color-foreground); }
.btn-technical-inverse:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-primary { width: 100%; min-height: 3.5rem; padding: 0 2rem; background: var(--color-foreground); color: var(--color-background); border: 1px solid var(--color-foreground); }
.theme-btn-primary:hover:not(.disabled) { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-btn-primary.disabled { opacity: 0.5; pointer-events: none; }
.theme-btn-checkout { width: 100%; height: 3rem; padding: 0 2rem; background: var(--color-primary); color: var(--color-primary-foreground); border: 1px solid var(--color-primary); }
.theme-btn-checkout:hover { background: var(--color-background); color: var(--color-primary); }
.theme-btn-outline { height: auto; padding: 0.75rem 2rem; background: transparent; color: var(--color-foreground); border: 1px solid var(--color-border); letter-spacing: 0.24em; font-size: 0.75rem; }
.theme-btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-hero-btn { height: 3rem; padding: 0 2rem; border-radius: 0; }

/* ==========================================================================
   Animation utilities (Section 2.1) — ported from tailwindcss-animate /
   the source's own @keyframes.
   ========================================================================== */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: theme-fade-in 0.8s cubic-bezier(0.25,0.4,0.25,1) forwards; }
.animate-slide-up { animation: theme-slide-up 0.8s cubic-bezier(0.25,0.4,0.25,1) forwards; }

.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.25,0.4,0.25,1), transform 0.9s cubic-bezier(0.25,0.4,0.25,1);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
.theme-product-card-wrap.reveal-item { }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .animate-fade-in, .animate-slide-up { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.5s;
}
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .site-nav { height: 76px; } }

.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .site-nav { height: 76px; } }

.theme-mobile-toggle { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 0.5rem; flex: 1; }
@media (min-width: 1024px) { .theme-mobile-toggle { flex: none; } }
.theme-mobile-toggle span { display: block; height: 2.5px; background: var(--color-foreground); border-radius: 1px; transition: all 0.3s ease-out; transform-origin: center; }
.theme-mobile-toggle span:nth-child(1) { width: 20px; }
.theme-mobile-toggle span:nth-child(2) { width: 28px; }
.theme-mobile-toggle span:nth-child(3) { width: 14px; }
body.mobile-menu-open .theme-mobile-toggle span:nth-child(1) { width: 28px; transform: translateY(7.5px) rotate(45deg); }
body.mobile-menu-open .theme-mobile-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.mobile-menu-open .theme-mobile-toggle span:nth-child(3) { width: 28px; transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.site-header .site-nav .site-logo { display: flex; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-header .site-nav .site-logo { position: static; transform: none; flex: 1; } }
.theme-mobile-drawer__header .site-logo { display: flex; align-items: center; position: static; transform: none; }
.site-logo-img { height: calc(var(--logo-height, 42px) * 0.81); width: auto !important; display: block; }
@media (min-width: 1024px) { .site-logo-img { height: var(--logo-height, 42px); } }
body.single-product .site-header .site-logo-img,
body.woocommerce-checkout .site-header .site-logo-img {
  height: calc(var(--logo-height, 42px) * 0.81);
  width: auto !important;
}
@media (min-width: 1024px) {
  body.single-product .site-header .site-logo-img,
  body.woocommerce-checkout .site-header .site-logo-img {
    height: var(--logo-height, 42px);
  }
}
.site-nav__actions { flex: 1; justify-content: flex-end; }
.site-logo-text { font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; font-size: 1.1rem; line-height: var(--logo-height); }

.site-nav__center { display: none; }
@media (min-width: 1024px) {
  .site-nav__center { display: flex; align-items: center; gap: 2.25rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-item { position: relative; }
@media (min-width: 1024px) {
  .theme-nav-item.has-dropdown { position: static; }
}
.nav-link, .theme-nav-link {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .3s;
}
.theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-caret { display: inline-flex; }

.theme-mega-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  width: 100%;
  z-index: 40;
  display: none;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated, 0 14px 40px -12px rgba(255,255,255,0.12));
  animation: theme-fade-in 0.3s ease forwards;
}
.theme-nav-item.has-dropdown:hover .theme-mega-menu,
.theme-mega-menu:hover { display: block; }
.theme-mega-menu__inner { padding-top: 3rem; padding-bottom: 3rem; }
.theme-mega-menu__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) {
  .theme-mega-menu__grid:has(.theme-mega-menu__feature) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
}
.theme-mega-menu__columns { display: grid; grid-template-columns: repeat(var(--mega-cols, 1), minmax(0, 1fr)); gap: 2.5rem; }
.theme-mega-menu__col { min-width: 0; display: flex; flex-direction: column; }
.theme-mega-menu__col-title { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.theme-mega-menu__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-mega-menu__col a { font-family: var(--font-condensed); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-foreground); transition: color .3s; }
.theme-mega-menu__col a:hover { color: var(--color-primary); }
.theme-mega-menu__shop-all { margin-top: 2rem; align-self: flex-start; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--color-foreground); border-bottom: 1px solid var(--color-foreground); padding-bottom: 0.25rem; transition: color .3s, border-color .3s; }
.theme-mega-menu__shop-all:hover { color: var(--color-primary); border-color: var(--color-primary); }
.theme-mega-menu__feature { display: none; }
@media (min-width: 1024px) {
  .theme-mega-menu__columns.has-feature { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .theme-mega-menu__feature { display: block; position: relative; overflow: hidden; text-align: left; }
}
.theme-mega-menu__feature-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.theme-mega-menu__feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.theme-mega-menu__feature:hover .theme-mega-menu__feature-media img { transform: scale(1.05); }
.theme-mega-menu__feature-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.1) 40%, rgba(0,0,0,.2)); }
.theme-mega-menu__feature-eyebrow { position: absolute; top: 1.5rem; left: 1.5rem; right: 1.5rem; }
.theme-mega-menu__feature-eyebrow .label-eyebrow { color: rgba(255,255,255,.95); }
.theme-mega-menu__feature-body { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; color: #fff; }
.theme-mega-menu__feature-title { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.75rem; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.theme-mega-menu__feature-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.8); padding-bottom: 0.25rem; }

.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-icon-btn { padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; transition: opacity .3s; position: relative; }
.theme-icon-btn:hover { opacity: 0.7; }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; font-family: var(--font-condensed);
  background: var(--color-accent); color: var(--color-primary-foreground);
  border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-drawer {
  position: fixed; top: 0; left: 0; height: 100%; width: 88vw; max-width: 380px;
  background: var(--color-background); border-right: 1px solid var(--color-border);
  z-index: 90; transform: translateX(-100%); transition: transform .35s ease;
  display: flex; flex-direction: column;
}
body.mobile-menu-open .theme-mobile-drawer { transform: translateX(0); }
.theme-mobile-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 64px; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.theme-mobile-drawer__body { flex: 1; overflow-y: auto; padding: 0.75rem; }
.theme-mobile-nav-list, .theme-mobile-drawer .theme-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.theme-mobile-drawer .theme-nav-item > .theme-nav-link,
.theme-mobile-drawer .theme-nav-accordion-trigger {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 400;
  width: 100%;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--color-foreground);
  text-align: left;
}
.theme-mobile-drawer .theme-mega-menu__col-title { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-bottom: 0.5rem; padding-bottom: 0; border-bottom: none; }
.theme-mobile-drawer .theme-mega-menu__col a { font-family: var(--font-body); font-size: 0.875rem; text-transform: none; letter-spacing: normal; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-mobile-drawer .theme-mega-menu__col a:hover { color: var(--color-primary); }
.theme-mobile-drawer .theme-nav-caret { transition: transform 0.3s; }
.theme-mobile-drawer .theme-nav-item.is-accordion-open .theme-nav-caret { transform: rotate(180deg); }
.theme-mobile-drawer .theme-mega-menu { position: static; display: none; width: 100%; border: none; box-shadow: none; }
.theme-mobile-drawer .theme-nav-item.is-accordion-open .theme-mega-menu { display: block; animation: theme-fade-in 0.3s ease forwards; }
.theme-mobile-drawer .theme-mega-menu__inner { padding: 0 0 0.75rem; }
.theme-mobile-drawer .theme-mega-menu__columns { flex-direction: column; gap: 1rem; padding: 0 0.75rem; }
.theme-mobile-drawer li.theme-nav-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); padding: 0; }
.theme-mobile-drawer .theme-nav-link { padding: 1rem 0.75rem; width: 100%; justify-content: space-between; }
.theme-mobile-drawer__footer { border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 1rem 0.75rem; flex-shrink: 0; }
.theme-mobile-drawer__footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.theme-mobile-drawer__footer-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; border: 1px solid var(--color-border); font-family: var(--font-body); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; transition: background-color .3s, color .3s, opacity .3s; width: 100%; }
.theme-mobile-drawer__footer-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-mobile-drawer__footer-btn--cart { grid-column: span 2; background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-mobile-drawer__footer-btn--cart:hover { opacity: 0.9; background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-mobile-drawer .theme-mega-menu__shop-all { display: inline-block; margin-top: 0.5rem; margin-bottom: 0.75rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; border-bottom: none; padding-bottom: 0; }

/* ==========================================================================
   Search overlay
   ========================================================================== */
.theme-search-overlay { position: fixed; inset: 0; z-index: 80; display: none; }
body.search-open .theme-search-overlay { display: block; animation: theme-fade-in .3s ease; }
.theme-search-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); backdrop-filter: blur(4px); border: none; cursor: pointer; }
.theme-search-panel { position: relative; background: var(--color-background); width: 100%; max-height: 92vh; overflow-y: auto; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-elevated, 0 14px 40px -12px rgba(255,255,255,0.12)); }
.theme-search-close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; }
@media (min-width: 1024px) { .theme-search-close { top: 1.75rem; right: 2rem; } }
.theme-search-inner { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .theme-search-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.theme-search-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-layout { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-sidebar h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-categories button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color .3s; text-align: left; }
.theme-search-categories button:hover { color: var(--color-primary); }
.theme-search-main { padding-right: 0; }
@media (min-width: 1024px) { .theme-search-main { padding-right: 4rem; } }
.theme-search-input-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
.theme-search-input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-search-results-heading { font-family: var(--font-display); font-size: 1.5rem; margin: 2.5rem 0 1.5rem; }
.theme-search-results { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-results { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .theme-search-results { grid-template-columns: repeat(4,1fr); gap: 2rem; } }
.theme-search-hit { text-align: left; display: block; }
.theme-search-hit__image { aspect-ratio: 1; overflow: hidden; background: var(--color-secondary); }
.theme-search-hit__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.theme-search-hit:hover .theme-search-hit__image img { transform: scale(1.05); }
.theme-search-hit__name { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; margin-top: 0.75rem; line-height: 1.3; }
.theme-search-hit__price { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 0.25rem; }
.theme-search-empty { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-search-empty em { font-family: var(--font-display); font-style: italic; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
.theme-contact-modal { position: fixed; inset: 0; z-index: 95; display: none; }
body.contact-open .theme-contact-modal { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.theme-contact-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.theme-contact-modal__panel {
  position: relative; margin: 0; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border); padding: 2rem;
}
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; }
.theme-contact-modal__text { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin: 0.5rem 0 1rem; }
.theme-contact-modal__info { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-bottom: 1rem; }
.theme-contact-modal__info a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.theme-contact-form input, .theme-contact-form textarea {
  width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background);
  border: 1px solid var(--color-border); font-size: 14px; color: var(--color-foreground);
}
.theme-contact-form input:focus, .theme-contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__success { color: var(--color-primary); font-size: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.theme-hero { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.theme-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s cubic-bezier(0.25,0.4,0.25,1); }
.theme-hero__slide.is-active { opacity: 1; }
.theme-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.3), rgba(0,0,0,.6)); }
.theme-hero__content-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 5; }
.theme-hero__content { max-width: 42rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.theme-hero__eyebrow { display: block; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; text-shadow: 0 0 30px rgba(0,0,0,.9); }
.theme-hero__title { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 1.5rem; text-shadow: 0 0 60px rgba(0,0,0,.9), 0 2px 12px rgba(0,0,0,.8); }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtitle { color: rgba(255,255,255,.9); font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; max-width: 36rem; margin-bottom: 1.5rem; text-shadow: 0 0 40px rgba(0,0,0,.9); }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.25rem; } }
.theme-hero__pillars { color: rgba(255,255,255,.85); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 600; margin-bottom: 2rem; text-shadow: 0 0 30px rgba(0,0,0,.9); }
.theme-hero__ctas { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; } }
.theme-hero-btn { width: 240px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.32em; }
.theme-hero-btn--solid { background: #fff; color: #000; }
.theme-hero-btn--solid:hover { background: rgba(255,255,255,.9); }
.theme-hero-btn--outline { border: 1px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.theme-hero-btn--outline:hover { background: #fff; color: #000; }
.theme-hero__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 0.5rem; }
.theme-hero__dots button { height: 2px; width: 24px; background: rgba(255,255,255,.4); transition: all .5s; }
.theme-hero__dots button.is-active { width: 48px; background: #fff; }

/* ==========================================================================
   Caption strip
   ========================================================================== */
.theme-caption-strip { border-bottom: 1px solid var(--color-border); }
.theme-caption-strip__inner { padding-top: 2rem; padding-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .theme-caption-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-caption-strip__heading { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--color-accent); text-align: center; flex: 1; }
@media (min-width: 768px) { .theme-caption-strip__heading { font-size: 1.5rem; } }
.theme-caption-strip__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; transition: color .3s; }
.theme-caption-strip__link:hover { color: var(--color-primary); }

/* ==========================================================================
   Alignment score
   ========================================================================== */
.theme-alignment { background: var(--color-background); }
.theme-alignment__grid { padding-top: 5rem; padding-bottom: 5rem; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .theme-alignment__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-alignment__heading { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: var(--color-accent); font-size: 1.875rem; line-height: 0.95; margin: 1rem 0 1.5rem; }
@media (min-width: 768px) { .theme-alignment__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-alignment__heading { font-size: 3rem; } }
.theme-alignment__paragraph { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.5; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 1.5rem; }
.theme-alignment__bullets { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-alignment__bullets li { display: flex; align-items: flex-start; gap: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 14px; }
.theme-alignment__bullets svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.theme-alignment__pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; max-width: 28rem; }
.theme-alignment__pillar { border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.25rem 1rem; text-align: center; }
.theme-alignment__pillar span { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 14px; }
.theme-alignment__card { background: var(--color-secondary); border: 1px solid var(--color-border); padding: 2rem 2.5rem; }
@media (min-width: 1024px) { .theme-alignment__card { position: sticky; top: 7rem; } }
.theme-alignment__card h3 { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: var(--color-accent); font-size: 1.25rem; margin-bottom: 0.75rem; }
.theme-alignment__card > p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.5rem; }
.theme-alignment-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-alignment-form input { height: 3rem; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border); color: var(--color-foreground); font-size: 14px; }
.theme-alignment-form input:focus { outline: none; border-color: var(--color-primary); }
.theme-alignment-form button { height: 3rem; background: var(--color-accent); color: var(--color-primary-foreground); font-family: var(--font-condensed); font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; font-size: 12px; }
.theme-alignment-form button:hover { opacity: .9; }
.theme-alignment-form__note { font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); text-align: center; }
.theme-alignment-form__success { display: flex; align-items: flex-start; gap: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); background: color-mix(in srgb, var(--color-secondary) 60%, transparent); padding: 1.25rem; }
.theme-alignment-form__success[hidden] { display: none !important; }
.theme-alignment-form__success svg { color: var(--color-accent); margin-top: 2px; flex-shrink: 0; }

/* ==========================================================================
   Shop by category
   ========================================================================== */
.theme-shop-categories { padding: 4rem 0 3rem; }
.theme-shop-categories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.theme-shop-categories__head h2 { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; color: var(--color-accent); }
.theme-cat-clear { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); }
.theme-shop-categories__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.5rem; }
@media (min-width: 768px) { .theme-shop-categories__grid { grid-template-columns: repeat(3,1fr); gap: 0.75rem; } }
@media (min-width: 1024px) { .theme-shop-categories__grid { grid-template-columns: repeat(6,1fr); } }
.theme-cat-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-secondary); text-align: left; }
.theme-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.theme-cat-tile:hover img { transform: scale(1.05); }
.theme-cat-tile__scrim { position: absolute; inset-inline: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); pointer-events: none; }
.theme-cat-tile__label { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 0.95rem; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.theme-cat-tile__arrow { position: absolute; bottom: 1rem; right: 1rem; width: 2rem; height: 2rem; border-radius: 999px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.theme-cat-tile:hover .theme-cat-tile__arrow { transform: translateX(4px); }
.theme-cat-tile.is-active { box-shadow: inset 0 0 0 2px var(--color-primary); }

/* ==========================================================================
   Promo banner
   ========================================================================== */
.theme-promo__media { position: relative; width: 100%; height: 60vh; overflow: hidden; }
@media (min-width: 768px) { .theme-promo__media { height: 70vh; } }
.theme-promo__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.15), transparent); }
.theme-promo__content { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.theme-promo__content .container-wide { padding-bottom: 3rem; }
@media (min-width: 768px) { .theme-promo__content .container-wide { padding-bottom: 4rem; } }
.theme-promo__eyebrow { display: block; font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 1rem; }
.theme-promo__heading { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.875rem; line-height: .95; margin-bottom: 2rem; text-shadow: 0 2px 18px rgba(0,0,0,.5); max-width: 32rem; }
@media (min-width: 768px) { .theme-promo__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-promo__heading { font-size: 3.75rem; } }
.theme-promo .theme-hero-btn { width: 220px; }

/* ==========================================================================
   Featured pieces
   ========================================================================== */
.theme-featured { padding: 5rem 0; }
.theme-featured__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.theme-featured__head h2 { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; }
.theme-featured__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-featured__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-featured__item { display: block; }
.theme-featured__image-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-featured__image-wrap img { transition: transform 1.2s ease; }
.theme-featured__item:hover .theme-featured__image-wrap img { transform: scale(1.03); }
.theme-featured__name { margin-top: 1.25rem; font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; transition: color .3s; }
.theme-featured__item:hover .theme-featured__name { color: var(--color-primary); }
.theme-featured__link { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-featured__item:hover .theme-featured__link { color: var(--color-primary); }

/* ==========================================================================
   Shop section + filters + grid
   ========================================================================== */
.theme-shop__head { text-align: center; padding-top: 5rem; padding-bottom: 1rem; }
@media (min-width: 1024px) { .theme-shop__head { padding-top: 7rem; } }
.theme-shop__heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; color: var(--color-accent); }
@media (min-width: 768px) { .theme-shop__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-shop__heading { font-size: 3.75rem; } }
.theme-shop__body { padding-bottom: 5rem; }
@media (min-width: 1024px) { .theme-shop__body { padding-bottom: 7rem; } }
.theme-shop__filters { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; justify-content: center; }
@media (min-width: 640px) { .theme-shop__filters { flex-direction: row; } }
.theme-filter-dropdown { position: relative; flex: 1; max-width: 20rem; }
.theme-filter-dropdown__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border: 1px solid var(--color-border); background: var(--color-background); transition: border-color .3s; text-align: left; }
.theme-filter-dropdown__btn:hover { border-color: var(--color-primary); }
.theme-filter-dropdown__labels { display: flex; flex-direction: column; align-items: flex-start; }
.theme-filter-dropdown__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-filter-dropdown__value { font-size: 14px; margin-top: 2px; font-family: var(--font-body); }
.theme-filter-dropdown.is-open .theme-filter-dropdown__btn svg { transform: rotate(180deg); }
.theme-filter-dropdown__btn svg { transition: transform .3s; }
.theme-filter-dropdown__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; z-index: 30; background: var(--color-background); border: 1px solid var(--color-border); max-height: 20rem; overflow-y: auto; list-style: none; padding: 0; box-shadow: 0 14px 40px -12px rgba(0,0,0,.4); }
.theme-filter-dropdown.is-open .theme-filter-dropdown__menu { display: block; }
.theme-filter-dropdown__menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.6rem 1rem; text-align: left; font-size: 14px; transition: background-color .2s; }
.theme-filter-dropdown__menu button:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-filter-dropdown__menu button.is-active { color: var(--color-primary); }
.theme-filter-clear-all { align-self: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); }
@media (min-width: 640px) { .theme-filter-clear-all { align-self: flex-end; padding-bottom: 0.75rem; } }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 0.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.75rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1; overflow: hidden; background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-product-card__image-wrapper img { transition: transform .7s ease; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.03); }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.35rem 0.6rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__info { padding-top: 1rem; flex: 1; }
.theme-product-card__title { font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; font-size: 15px; transition: color .3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.5rem; font-size: 14px; font-family: var(--font-condensed); font-weight: 600; font-variant-numeric: tabular-nums; }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 600; }
.theme-product-card__price del { color: var(--color-muted-foreground); font-weight: 400; text-decoration: line-through; margin-right: .4em; }
.theme-product-card__price ins { color: var(--color-accent); text-decoration: none; }

.theme-shop__empty { padding: 5rem 0; text-align: center; border: 1px dashed var(--color-border); }
.theme-shop__empty-heading { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-accent); }
.theme-shop__empty-text { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
[data-shop-grid] .theme-product-card-wrap[hidden] { display: none; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.theme-testimonials { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-testimonials { padding: 7rem 0; } }
.theme-testimonials__head { text-align: center; margin-bottom: 3rem; }
.theme-testimonials__head h2 { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; color: var(--color-accent); }
@media (min-width: 768px) { .theme-testimonials__head h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-testimonials__head h2 { font-size: 3rem; } }
.theme-testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-testimonials__grid { grid-template-columns: repeat(3,1fr); gap: 2rem; } }
.theme-testimonial-card { background: var(--color-secondary); border: 1px solid var(--color-border); padding: 2rem; display: flex; flex-direction: column; height: 100%; }
.theme-testimonial-card__quote-icon { color: color-mix(in srgb, var(--color-accent) 40%, transparent); margin-bottom: 1.5rem; }
.theme-testimonial-card__quote { color: color-mix(in srgb, var(--color-foreground) 90%, transparent); line-height: 1.6; font-size: 15px; margin-bottom: 2rem; flex: 1; }
.theme-testimonial-card__footer { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.theme-testimonial-card__name { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 14px; }
.theme-testimonial-card__city { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.25rem; }

/* ==========================================================================
   Process / about
   ========================================================================== */
.theme-process__grid { display: grid; grid-template-columns: 1fr; min-height: 80vh; }
@media (min-width: 1024px) { .theme-process__grid { grid-template-columns: 1fr 1fr; } }
.theme-process__media { position: relative; min-height: 50vh; overflow: hidden; order: 2; }
@media (min-width: 1024px) { .theme-process__media { min-height: 100%; order: 1; } }
.theme-process__copy { display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; order: 1; }
@media (min-width: 768px) { .theme-process__copy { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .theme-process__copy { padding: 5rem 5rem; order: 2; } }
.theme-process__copy .label-eyebrow { display: block; margin-bottom: 1.5rem; }
.theme-process__heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; color: var(--color-accent); margin: 0 0 2rem; }
@media (min-width: 768px) { .theme-process__heading { font-size: 3rem; } }
.theme-process__paragraphs { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 15px; line-height: 1.625; margin-bottom: 2.5rem; }
.theme-process__paragraphs p { margin: 0; }
.theme-process__quote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--color-accent); border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 768px) { .theme-process__quote { font-size: 1.5rem; } }

/* ==========================================================================
   Brand section
   ========================================================================== */
.theme-brand { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-brand { padding: 7rem 0; } }
.theme-story { position: relative; width: 100%; height: 70vh; overflow: hidden; margin-top: -5rem; margin-bottom: 0; }
@media (min-width: 768px) { .theme-story { height: 80vh; } }
@media (min-width: 1024px) { .theme-story { margin-top: -7rem; } }
.theme-story__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.35), transparent); }
.theme-story__content { position: absolute; inset: 0; display: flex; align-items: center; }
.theme-story__inner { max-width: 32rem; margin: 0 auto; text-align: center; }
.theme-story__inner h2 { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 2.375rem; line-height: .95; margin-bottom: 1.5rem; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
@media (min-width: 768px) { .theme-story__inner h2 { font-size: 3.875rem; } }
@media (min-width: 1024px) { .theme-story__inner h2 { font-size: 4.625rem; } }
.theme-story__inner p { color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@media (min-width: 768px) { .theme-story__inner p { font-size: 17px; } }

.theme-founder { margin-bottom: 5rem; }
@media (min-width: 1024px) { .theme-founder { margin-bottom: 7rem; } }
.theme-founder__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-founder__grid { grid-template-columns: 1fr 1fr; } }
.theme-founder__copy { padding: 4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .theme-founder__copy { padding: 6rem 5rem; } }
.theme-founder__copy .label-eyebrow { display: block; margin-bottom: 1.5rem; }
.theme-founder__heading { font-family: var(--font-display); font-weight: 400; line-height: .9; letter-spacing: -0.01em; color: var(--color-accent); font-size: 3rem; margin: 0 0 2.5rem; }
@media (min-width: 768px) { .theme-founder__heading { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-founder__heading { font-size: 6rem; } }
.theme-founder__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 15px; line-height: 1.625; max-width: 36rem; }
.theme-founder__paragraphs p { margin: 0; }
.theme-founder__quote { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); padding-top: 1rem; }
@media (min-width: 1024px) { .theme-founder__quote { font-size: 1.875rem; } }
.theme-founder__media { position: relative; min-height: 400px; }
@media (min-width: 1024px) { .theme-founder__media { min-height: 700px; } }

.theme-publish__head { text-align: center; margin-bottom: 2.5rem; }
.theme-publish__head h2 { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; color: var(--color-accent); margin: 1rem 0; }
@media (min-width: 768px) { .theme-publish__head h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-publish__head h2 { font-size: 3rem; } }
.theme-publish__head p { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 42rem; margin: 0 auto; }
.theme-publish__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-publish__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-publish__swatch { background: var(--color-secondary); border: 1px solid var(--color-border); padding: 1.5rem; text-align: center; }
.theme-publish__label { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-accent); }
.theme-publish__sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.5rem; }

/* ==========================================================================
   FAQ + Contact band
   ========================================================================== */
.theme-resources { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-resources { padding: 7rem 0; } }
.theme-faq__heading { font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: -0.01em; font-size: 3rem; margin-bottom: 4rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; color: var(--color-accent); }
@media (min-width: 768px) { .theme-faq__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-faq__heading { font-size: 4.375rem; } }
.theme-faq__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-faq__grid { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.theme-faq__intro { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .theme-faq__intro { position: sticky; top: 8rem; } }
.theme-faq__intro p { font-size: 16px; line-height: 1.625; font-family: var(--font-body); margin: 0; }
@media (min-width: 768px) { .theme-faq__intro p { font-size: 18px; } }
.theme-faq__contact-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 2rem; border: 1px solid var(--color-foreground); border-radius: 999px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; align-self: flex-start; transition: all .3s; }
.theme-faq__contact-btn:hover { background: var(--color-accent); color: var(--color-accent-foreground, var(--color-primary-foreground)); border-color: var(--color-accent); }
.theme-faq__accordion { border-top: 1px solid var(--color-border); }
.theme-faq__item { border-bottom: 1px solid var(--color-border); }
.theme-faq__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq__question span:first-child { font-size: 15px; line-height: 1.3; transition: color .3s; padding-right: 1rem; font-family: var(--font-body); min-width: 0; }
@media (min-width: 768px) { .theme-faq__question span:first-child { font-size: 16px; } }
.theme-faq__item:hover .theme-faq__question span:first-child { color: var(--color-primary); }
.theme-faq__icon-plus { flex-shrink: 0; margin-top: 2px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-faq__icon-plus .icon-minus { display: none; }
.theme-faq__item.is-open .theme-faq__icon-plus .icon-plus { display: none; }
.theme-faq__item.is-open .theme-faq__icon-plus .icon-minus { display: block; }
.theme-faq__answer { height: 0; opacity: 0; overflow: hidden; transition: height .4s cubic-bezier(0.25,0.4,0.25,1), opacity .4s cubic-bezier(0.25,0.4,0.25,1); }
.theme-faq__item.is-open .theme-faq__answer { opacity: 1; }
.theme-faq__answer p { margin: 0; padding-bottom: 1.5rem; padding-right: 3rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 15px; line-height: 1.625; }

.theme-contact-band { position: relative; margin-top: 6rem; margin-bottom: -5rem; overflow: hidden; border-radius: 2px; }
@media (min-width: 1024px) { .theme-contact-band { margin-bottom: -7rem; } }
.theme-contact-band__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.theme-contact-band__inner { position: relative; text-align: center; padding: 6rem 1.5rem; }
@media (min-width: 768px) { .theme-contact-band__inner { padding: 8rem 1.5rem; } }
.theme-contact-band__inner .label-eyebrow { color: rgba(255,255,255,.8); margin-bottom: 1.25rem; display: block; }
.theme-contact-band__inner h2 { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; color: #fff; }
@media (min-width: 768px) { .theme-contact-band__inner h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-contact-band__inner h2 { font-size: 3.75rem; } }
.theme-contact-band__inner p { max-width: 32rem; margin: 0 auto 2.5rem; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; }
.theme-contact-band__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-contact-band__actions { flex-direction: row; } }
.theme-contact-band__btn-solid { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; background: var(--color-accent); color: var(--color-primary-foreground); font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; font-weight: 700; border: 1px solid var(--color-accent); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--color-accent) 60%, transparent); transition: opacity .3s; }
.theme-contact-band__btn-solid:hover { opacity: .9; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-background); color: var(--color-foreground); }
.theme-footer-newsletter { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-footer-newsletter .label-eyebrow { letter-spacing: 0.32em; }
.theme-footer-newsletter__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .theme-footer-newsletter__inner { grid-template-columns: 1fr 1fr; } }
.theme-footer-newsletter__heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.05; color: var(--color-accent); margin-top: 0.5rem; }
@media (min-width: 1024px) { .theme-footer-newsletter__heading { font-size: 2.25rem; } }
.theme-newsletter-form { display: flex; width: 100%; }
.theme-newsletter-form[hidden] { display: none !important; }
.theme-newsletter-form__success { margin: 0; font-size: 14px; color: var(--color-primary); line-height: 1.5; }
.theme-newsletter-form__success[hidden] { display: none !important; }
.theme-newsletter-form input { flex: 1; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent); padding: 0.75rem 0.25rem; font-size: 14px; color: var(--color-foreground); }
.theme-newsletter-form input:focus { outline: none; border-color: var(--color-foreground); }
.theme-newsletter-form button { margin-left: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem; height: 3rem; background: var(--color-foreground); color: var(--color-background); font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; transition: all .3s; }
.theme-newsletter-form button:hover { background: var(--color-accent); color: var(--color-primary-foreground); }
.theme-newsletter-embed { width: 100%; }
.theme-newsletter-embed iframe { width: 100%; min-height: 120px; border: none; }
.theme-footer-main { padding-top: 4rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-footer-main { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; } }
.theme-footer-tagline { display: block; font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.24em; font-size: 10px; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.75rem; }
.theme-footer-about { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 22rem; line-height: 1.6; }
.theme-footer-col h4 { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--color-accent); margin-bottom: 1.25rem; }
.theme-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-col ul a, .theme-footer-col ul button { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color .3s; text-align: left; }
.theme-footer-col ul a:hover, .theme-footer-col ul button:hover { color: var(--color-foreground); }
.theme-footer-contact a { display: flex; align-items: center; gap: 0.5rem; }
.theme-footer-address { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-footer-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.theme-footer-social a { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color .3s; }
.theme-footer-social a:hover { color: var(--color-foreground); }
.theme-footer-bottom { margin-top: 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: flex; justify-content: center; padding: 1.5rem 0; }
.theme-footer-bottom p { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.theme-footer-col--brand .site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: static;
  transform: none;
}
.theme-footer-col--brand .site-logo-img {
  display: block;
  height: 3.5rem;
  width: auto !important;
  max-width: 100%;
}
@media (min-width: 768px) {
  .theme-footer-col--brand .site-logo-img {
    height: calc(var(--logo-height, 42px) * 1.33);
  }
}

/* ==========================================================================
   404 / generic page
   ========================================================================== */
.theme-404-main { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-secondary); padding: 0; }
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-foreground); font-family: var(--font-body); }
.theme-404-text { font-size: 1.25rem; margin-bottom: 1rem; color: var(--color-muted-foreground); }
.theme-404-link { color: var(--color-primary); text-decoration: underline; transition: opacity .3s; }
.theme-404-link:hover { opacity: 0.9; }
.theme-page-main, .theme-archive-main { padding-top: 8rem; padding-bottom: 6rem; min-height: 60vh; }
.page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1.5rem; color: var(--color-accent); }
.theme-archive-header { margin-bottom: 2rem; }

/* ==========================================================================
   WooCommerce global overrides (Section 14)
   ========================================================================== */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 0;
  padding: 1rem 1.25rem;
  background: var(--color-secondary);
  color: var(--color-foreground);
  list-style: none;
  margin: 0 0 1.5rem;
}
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-Price-amount { font-family: inherit; }
.price del { color: var(--color-muted-foreground); text-decoration: line-through; margin-right: .4em; }
.price ins { text-decoration: none; }

/* Section 11.4.1 — Add to cart button style override */
.single_add_to_cart_button.button,
.add_to_cart_button.button:not(.theme-cart-pair-with__item),
a.single_add_to_cart_button:not(.theme-cart-pair-with__item),
a.add_to_cart_button:not(.theme-cart-pair-with__item) {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-foreground) !important;
  border-radius: 0 !important;
  min-height: 3.5rem !important;
  height: 3.5rem !important;
  padding: 0 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-condensed) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.3s, color 0.3s !important;
  width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover:not(.theme-cart-pair-with__item) {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-color: var(--color-primary) !important;
  opacity: 1 !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;
}
.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; }

/* Section 11.4.2 — hide "View cart" injected after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ==========================================================================
   Single product page (Section 11 / 11.13)
   ========================================================================== */
.theme-single-product { padding-top: 7rem; }
@media (min-width: 1024px) { .theme-single-product { padding-top: 8rem; } }
.theme-single-product__inner { width: 100%; max-width: 80rem; margin: 0 auto; }
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 440px; } }
@media (min-width: 1280px) { .theme-product-layout { grid-template-columns: 1fr 500px; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { display: flex; position: sticky; top: 8rem; }
@media (max-width: 1023px) { .theme-product-gallery { position: static; } }
.theme-product-thumbnails { display: none; flex-direction: column; gap: 0.75rem; padding: 1.5rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { display: flex; } }
.theme-product-thumbnails-mobile { display: flex; gap: 0.5rem; padding: 1rem; overflow-x: auto; }
@media (min-width: 768px) { .theme-product-thumbnails-mobile { display: none; } }
.theme-add-to-cart-area--simple { flex-direction: column; }
.theme-add-to-cart-area--simple .single_add_to_cart_button { width: 100%; }
.theme-related-products__heading-italic { font-style: italic; }
.theme-related-products .theme-product-grid { gap: 3rem 2rem; }
@media (min-width: 1024px) { .theme-related-products .theme-product-grid { gap: 3rem 2rem; } }
.theme-product-thumb { width: 64px; height: 64px; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: all .3s; flex-shrink: 0; }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-main-image-wrap { flex: 1; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 1rem; position: relative; aspect-ratio: 4/5; overflow: hidden; }
@media (min-width: 768px) { .theme-product-main-image-wrap { min-height: 78vh; padding: 2rem; } }
.theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 3rem 3rem; } }
.theme-product-breadcrumb { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.posted_in.theme-product-categories { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; overflow-wrap: break-word; word-break: break-word; }
.posted_in.theme-product-categories a { text-decoration: underline; text-underline-offset: 3px; }
.product-title.theme-product-title { font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; }
@media (min-width: 768px) { .product-title.theme-product-title { font-size: 16px; } }
.theme-product-sku { margin-top: 0.75rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price.price { font-family: var(--font-body); font-size: 18px; color: var(--color-foreground); }
.theme-product-price.price .amount,
.theme-product-price.price ins,
.theme-product-price.price del { color: var(--color-foreground); }
.theme-product-price__currency { margin-left: 0.25rem; color: var(--color-foreground); }
.theme-stock-status--out { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-destructive); }
.theme-product-note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.5; }
.theme-add-to-cart-area { margin-top: 2rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); height: var(--btn-height); }
.theme-qty-minus, .theme-qty-plus { width: 2.75rem; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background-color .2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; height: 100%; text-align: center; border: none; background: transparent; color: var(--color-foreground); font-size: 14px; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-description { margin-top: 3rem; font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-details-block { margin-top: 3rem; }
.theme-product-details-block .theme-product-details__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-foreground); margin-bottom: 1.25rem; font-weight: 600; }
.theme-product-details-block .theme-product-description { margin-top: 0; }
.theme-product-details-block .theme-product-details__list { list-style: disc; padding-left: 1.25rem; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.theme-product-details-block .theme-product-details__list li::marker { color: var(--color-primary); }
.theme-product-details-block .theme-product-details__list li { font-family: var(--font-body); font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; }
.theme-product-details { margin-top: 2rem; }
.theme-product-details h2 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-foreground); margin-bottom: 1.25rem; font-weight: 600; }
.theme-product-details ul { list-style: disc; padding-left: 1.25rem; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.theme-product-details ul li::marker { color: var(--color-primary); }
.theme-product-details li { font-family: var(--font-body); font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; }

/* Variable product variation pills */
.theme-variation-group { margin-top: 1.75rem; }
.theme-variation-label { display: block; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.theme-variation-pill { min-width: 56px; padding: 0.625rem 1rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.05em; border: 1px solid var(--color-border); transition: all 0.3s; }
.theme-variation-pill:hover { border-color: var(--color-foreground); }
.theme-variation-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-variation-select-wrap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.theme-variation-select { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.theme-add-to-cart-area--variable .single_add_to_cart_button { width: 100%; display: flex !important; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: block; }
.single_variation_wrap .single_add_to_cart_button { display: inline-flex !important; visibility: visible !important; }
.single_add_to_cart_button.theme-btn-primary:hover:not(.disabled) { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* Variable product variations table layout (legacy fallback) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select { height: var(--btn-height); border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground); padding: 0 1rem; width: 100%; max-width: 320px; }
.single_variation_wrap { margin-top: 1rem; }

.theme-related-products { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.theme-related-products__heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }

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

.theme-archive-pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.theme-archive-pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--color-border); font-size: 13px; }
.theme-archive-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* ==========================================================================
   Side cart drawer (Section 12)
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 88; display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: theme-fade-in .3s ease; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 32rem;
  background: var(--color-background); z-index: 89;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,.5);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(0.25,0.4,0.25,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: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 1.25rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 6rem; height: 8rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; transition: opacity .3s; }
.theme-cart-item__name:hover { opacity: .7; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.4rem; font-style: italic; }
.theme-cart-item__price { font-size: 14px; margin-top: 0.4rem; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.4rem 0.6rem; transition: background-color .2s; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.6rem; font-size: 14px; min-width: 28px; text-align: center; }
.theme-cart-item__remove { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color .3s; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-pair-with { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-pair-with__heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-pair-with__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; width: 100%; max-width: 100%; overflow: hidden; }
@media (min-width: 768px) { .theme-cart-pair-with__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-cart-pair-with__item { width: 100%; min-width: 0; text-align: left; display: block; text-decoration: none; color: inherit; background: transparent; border: none; padding: 0; cursor: pointer; }
.theme-cart-pair-with__image { display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--color-secondary); margin-bottom: 0.5rem; position: relative; }
.theme-cart-pair-with__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.theme-cart-pair-with__item:hover .theme-cart-pair-with__image img { transform: scale(1.05); }
.theme-cart-pair-with__name { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--color-foreground); }
.theme-cart-pair-with__price { font-family: var(--font-body); font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.125rem; display: block; }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* ==========================================================================
   Checkout (WooCommerce Blocks) — Section 13
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main-and-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none !important; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--color-foreground) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  background-color: var(--color-background) !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select {
  line-height: 1.5 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  min-height: 2.75rem !important;
  border-radius: 0.375rem !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: 1px solid var(--color-primary) !important;
  font-family: var(--font-condensed) !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-weight: 700 !important;
  transition: background-color .3s, color .3s, border-color .3s !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
  background-color: var(--color-background) !important;
  color: var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0;
  font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice-banner {
  grid-column: 1 / -1;
}

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-page-main { padding-top: 8rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-family: var(--font-display); }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  body.theme-thankyou-page .woocommerce-customer-details address {
    max-width: 480px;
    overflow-wrap: break-word;
  }
}
