/* ==========================================================================
   Grit City Decals — theme.css
   Design tokens mirror src/index.css (Tailwind v4 HSL tokens -> hex via
   theme_hsl_to_hex(), Section 6.1). Colors are injected as CSS variables
   on :root by functions.php; this file only references var(--color-*).
   ========================================================================== */

:root {
  --color-background: #f3f0ec;
  --color-foreground: #141f1a;
  --color-primary: #213b2e;
  --color-primary-foreground: #f3f0ec;
  --color-secondary: #e6e1db;
  --color-secondary-foreground: #1d2b24;
  --color-muted: #e0dcd6;
  --color-muted-foreground: #5a5249;
  --color-accent: #d6621f;
  --color-accent-foreground: #f7f5f3;
  --color-border: #d3cdc5;
  --color-button-text: var(--color-primary-foreground);

  --font-display: 'Barlow Condensed', 'Inter', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --radius: 0.25rem;
  --logo-height: 128px;

  --btn-radius: 0px;
  --btn-height: 48px;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-size-md: 0.875rem;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.28em;
  --btn-letter-spacing-nav: 0.18em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;

  --header-height: 100px;
  --shadow-elevated: 0 14px 40px -12px rgba(20, 31, 26, 0.18);
  --transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-hero__bg):not(.theme-product-card__image):not(.theme-banner__img):not(.theme-category-tile__img):not(.theme-mega-feature__img):not(.theme-product-main-img):not(.theme-product-thumb__img):not(.theme-founder__image):not(.site-logo-img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.theme-hero__bg,
.theme-product-card__image,
.theme-banner__img,
.theme-category-tile__img,
.theme-mega-feature__img,
.theme-product-main-img,
.theme-connect__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }
select, summary, label[for] { cursor: pointer; }
[role="button"] { cursor: pointer; }

/* Base typography — mirrors src/index.css @layer base */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.font-display {
  font-family: var(--font-display);
}

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;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.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 {
  display: block;
  font-family: var(--font-display);
  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; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.theme-product-card,
.theme-category-tile,
.theme-banner,
.theme-mega-feature,
.theme-mega-link,
.theme-mega-shopall,
.theme-search-result,
.theme-filter-dropdown__trigger,
.theme-filter-option,
.theme-mobile-link,
.theme-mobile-item__link,
.theme-mobile-item__toggle,
.theme-mobile-footer-btn,
.theme-search-cat-link,
.theme-footer-link,
.theme-faq__question,
.theme-product-thumb,
.theme-attr-pill,
.theme-cart-btn,
.theme-announcement__close,
.theme-modal__close,
.theme-search-dialog__close,
.site-header__logo,
.site-footer__logo-link { cursor: pointer; }

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-display);
  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;
  border-radius: var(--btn-radius);
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.2s ease;
  cursor: pointer;
}
.theme-btn-primary { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-btn-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-accent { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.theme-btn-accent:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-outline { background: transparent; color: var(--color-foreground); border-color: var(--color-foreground); }
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-outline-light { background: var(--color-background); color: var(--color-foreground); border-color: var(--color-foreground); }
.theme-btn-outline-light:hover { background: var(--color-foreground); color: var(--color-background); }

.theme-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-btn-hero--light { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-hero--light:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-hero--accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-hero--accent:hover { background: var(--color-background); color: var(--color-foreground); }

/* ==========================================================================
   Animations & motion (Section 2.1)
   ========================================================================== */
@keyframes hero-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.animate-hero-zoom { animation: hero-zoom 20s ease-in-out infinite; will-change: transform; }

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.theme-fade-in { animation: theme-fade-in 0.3s var(--transition-smooth) forwards; }

@keyframes theme-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll-reveal system. Initial hidden state; JS toggles .is-visible after
 * IntersectionObserver fires (Section 2.1.4/2.1.5). */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.reveal-fade-up { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--transition-smooth) 0.25s, transform 1.1s var(--transition-smooth) 0.25s; }
.reveal-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Customizer preview / no-JS fallback: content must never be stuck hidden. */
body.is-customizer .reveal-item,
body.is-customizer .reveal-fade-up,
.no-js .reveal-item,
.no-js .reveal-fade-up {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item, .reveal-fade-up, .animate-hero-zoom { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

.theme-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
  z-index: 70;
  pointer-events: none;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.theme-announcement { background: var(--color-foreground); color: var(--color-background); position: relative; z-index: 60; }
.theme-announcement__inner { display: flex; align-items: center; justify-content: center; min-height: 32px; padding-block: 6px; position: relative; }
.theme-announcement__text { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; font-weight: 600; text-align: center; margin: 0; }
.theme-announcement__close { position: absolute; right: 8px; padding: 4px; opacity: 0.85; }
.theme-announcement__close:hover { opacity: 1; }
body.theme-announcement-hidden .theme-announcement { display: none; }

/* ==========================================================================
   Header / mega menu
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: top 0.3s ease;
}
body.theme-announcement-visible .site-header { top: 32px; }

/* WordPress admin bar — prevent fixed header from sitting under the toolbar. */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
body.admin-bar.theme-announcement-visible .site-header { top: 64px; }
@media screen and (max-width: 782px) {
  body.admin-bar.theme-announcement-visible .site-header { top: 78px; }
}
body.admin-bar .theme-scroll-progress { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .theme-scroll-progress { top: 46px; }
}
body.admin-bar.theme-announcement-visible .theme-scroll-progress { top: 64px; }
@media screen and (max-width: 782px) {
  body.admin-bar.theme-announcement-visible .theme-scroll-progress { top: 78px; }
}

.site-header__nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 80px; overflow: visible; }
@media (min-width: 1024px) { .site-header__nav { height: 100px; } }

.site-header__mobile-toggle { display: flex; align-items: center; flex: 1; }
@media (min-width: 1024px) { .site-header__mobile-toggle { display: none; } }

.theme-burger { padding: 0.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.theme-burger__bar { display: block; height: 2.5px; border-radius: 1px; background: var(--color-foreground); transition: all 0.3s ease-out; transform-origin: center; }
.theme-burger__bar--1 { width: 20px; }
.theme-burger__bar--2 { width: 28px; }
.theme-burger__bar--3 { width: 14px; }
.theme-burger:hover .theme-burger__bar--3 { width: 24px; }

.site-header__logo {
  display: flex; align-items: center;
  position: absolute; left: 50%; transform: translateX(-50%);
  z-index: 20;
}
.site-logo-img { height: var(--logo-height, 58px) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.25rem; color: var(--color-foreground); }
@media (max-width: 1023px) { .site-header .site-logo-img { height: 58px !important; } }
@media (min-width: 1024px) {
  .site-header__logo {
    left: 1.5rem; top: 0.5rem; transform: none;
    transform-origin: top;
    transform: rotate(-4deg);
    transition: transform 0.5s ease;
  }
  .site-header__logo:hover { transform: rotate(-2deg); }
  .site-header .site-logo-img { filter: drop-shadow(0 14px 16px rgba(0,0,0,0.26)); }
}

.site-header__nav-center { display: none; }
@media (min-width: 1024px) {
  .site-header__nav-center {
    display: flex;
    position: absolute; left: 50%; transform: translateX(-50%);
    align-items: center;
  }
}
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-item { position: static; }

.theme-mega-panels { display: none; }
@media (min-width: 1024px) { .theme-mega-panels { display: block; } }

.theme-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 40;
  display: none;
  pointer-events: none;
}
.theme-mega-panel.is-open {
  display: block;
  pointer-events: auto;
  animation: theme-mega-fade-in 0.8s var(--transition-smooth);
}
@keyframes theme-mega-fade-in { from { opacity: 0; } to { opacity: 1; } }

.theme-mega-panel__shell {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-elevated);
}

.theme-mega-panel__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: 3rem;
  align-items: start;
}
.theme-mega-panel__columns {
  grid-column: 1 / -1;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .theme-mega-panel__columns { grid-column: span 8; }
  .theme-mega-panel__inner:has(.theme-mega-feature) .theme-mega-panel__columns { grid-column: span 8; }
}
.theme-mega-col { display: flex; flex-direction: column; }
.theme-mega-col__title { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); }
.theme-mega-col__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-mega-link { text-align: left; font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-mega-link:hover { color: var(--color-primary); }
.theme-mega-shopall { align-self: flex-start; margin-top: 2rem; font-family: var(--font-display); 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 0.2s ease, border-color 0.2s ease; }
.theme-mega-shopall:hover { color: var(--color-primary); border-color: var(--color-primary); }

.theme-mega-feature {
  grid-column: 1 / -1;
  align-self: start;
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  min-width: 0;
  text-align: left;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}
@media (min-width: 1024px) {
  .theme-mega-feature { grid-column: span 4; }
}
.theme-mega-feature__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.theme-mega-feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}
.theme-mega-feature:hover .theme-mega-feature__img { transform: scale(1.05); }
.theme-mega-feature__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.2));
}
.theme-mega-feature__eyebrow-wrap {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
}
.theme-mega-feature__eyebrow {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}
.theme-mega-feature__bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  color: #fff;
}
.theme-mega-feature__title {
  display: block;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.theme-mega-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.8);
  padding-bottom: 0.25rem;
}
.theme-mega-feature__cta svg { flex-shrink: 0; }

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-foreground);
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: color 0.3s ease;
}
.nav-link:hover, .theme-nav-item.is-open .nav-link { color: var(--color-primary); }
.theme-nav-chevron { transition: transform 0.2s ease; }
.theme-nav-item.is-open .theme-nav-chevron { transform: rotate(180deg); }

.site-header__icons { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: flex-end; }
.theme-icon-btn { padding: 0.5rem; display: inline-flex; transition: opacity 0.3s ease; }
.theme-icon-btn:hover { opacity: 0.7; }
.theme-cart-btn { position: relative; }
.theme-cart-count {
  min-width: 20px; height: 20px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-family: var(--font-display); font-weight: 600;
  background: var(--color-accent); color: var(--color-accent-foreground);
  border-radius: 999px;
}
.theme-cart-btn .theme-cart-count {
  position: absolute; top: -2px; right: -2px;
}
.theme-mobile-footer-btn .theme-cart-count { display: none; }
.theme-cart-count:empty { display: none; }

/* ==========================================================================
   Mobile menu (off-canvas)
   ========================================================================== */
.theme-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.mobile-menu-open .theme-mobile-overlay { opacity: 1; pointer-events: auto; }

.theme-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 88vw; max-width: 24rem;
  background: var(--color-background);
  border-right: 1px solid var(--color-border);
  z-index: 56;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition-smooth);
}
body.mobile-menu-open .theme-mobile-menu { transform: translateX(0); }

.theme-mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 80px; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); flex-shrink: 0; }
.theme-mobile-menu__header .site-logo-img { height: 52px !important; }
.theme-mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.theme-mobile-menu__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.theme-mobile-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.theme-mobile-item__toggle, .theme-mobile-item__link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.75rem; font-family: var(--font-display); font-size: 1.125rem; text-transform: none; letter-spacing: normal; font-weight: 400; text-align: left; }
.theme-mobile-item__panel { display: none; padding: 0 0.75rem 0.75rem; }
.theme-mobile-item.is-open .theme-mobile-item__panel { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
.theme-mobile-item.is-open .theme-mobile-item__toggle svg { transform: rotate(180deg); }
.theme-mobile-item__toggle svg { transition: transform 0.3s ease; }
.theme-mobile-col-title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin: 0 0 0.5rem; }
.theme-mobile-item__panel ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.theme-mobile-link { display: block; width: 100%; text-align: left; padding: 0.6rem 0; font-size: 14px; text-transform: none; letter-spacing: normal; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-mobile-link--all { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.theme-mobile-menu__footer { border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 1rem 0.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex-shrink: 0; }
.theme-mobile-footer-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; border: 1px solid var(--color-border); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; transition: background 0.2s ease, color 0.2s ease; }
.theme-mobile-footer-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-mobile-footer-btn--primary { grid-column: span 2; background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-mobile-footer-btn--primary:hover { opacity: 0.9; }

/* ==========================================================================
   Search dialog
   ========================================================================== */
.theme-search-dialog { position: fixed; inset: 0; z-index: 80; display: none; }
body.search-open .theme-search-dialog { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
.theme-search-dialog__overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.theme-search-dialog__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); }
.theme-search-dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; }
.theme-search-dialog__inner { padding-block: 2.5rem 3.5rem; }
.theme-search-dialog__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-dialog__categories h3 { font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: none; font-weight: 400; }
.theme-search-dialog__categories ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.theme-search-cat-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-search-cat-link:hover { color: var(--color-primary); }
.theme-search-dialog__field { 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; text-transform: none; letter-spacing: normal; }
.theme-search-dialog__grid-results { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
@media (min-width: 768px) { .theme-search-dialog__grid-results { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-search-dialog__grid-results { grid-template-columns: repeat(4, 1fr); } }
.theme-search-result { text-align: left; }
.theme-search-result__img { aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; position: relative; }
.theme-search-result__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-search-result:hover .theme-search-result__img img { transform: scale(1.05); }
.theme-search-result__name { margin-top: 0.75rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-search-result__price { margin-top: 0.25rem; font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-search-no-results { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-search-heading { font-family: var(--font-display); font-size: 1.5rem; text-transform: none; margin-bottom: 1.5rem; }

/* ==========================================================================
   Modals (contact)
   ========================================================================== */
.theme-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
body.modal-open-contact .theme-modal#theme-contact-modal { display: flex; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); animation: theme-fade-in 0.2s ease; }
.theme-modal__panel { position: relative; z-index: 1; background: var(--color-background); border: 1px solid var(--color-border); width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; padding: 1.5rem; animation: theme-modal-in 0.2s var(--transition-smooth); }
@keyframes theme-modal-in { from { opacity: 0; transform: translateY(-8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }

.theme-contact-modal__title { font-size: 1.5rem; line-height: 1.2; text-transform: none; font-weight: 400; margin-top: 0.5rem; }
.theme-contact-modal__desc { font-size: 0.9375rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-top: 0.5rem; }
.theme-contact-modal__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.theme-contact-modal__meta-row { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta-row a:hover { color: var(--color-foreground); }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal__success h3 { font-size: 1.25rem; text-transform: none; margin-bottom: 0.5rem; }
.theme-contact-modal__form { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal__form-footer { display: flex; justify-content: flex-end; }

.theme-form-row { display: grid; gap: 1rem; }
.theme-form-row--2col { grid-template-columns: 1fr; }
@media (min-width: 480px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-field label { margin-bottom: 0.4rem; display: block; }
.theme-field input, .theme-field textarea {
  width: 100%; padding: 0.65rem 0.75rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  font-size: 14px; font-family: var(--font-body);
  color: var(--color-foreground);
}
.theme-field input::placeholder, .theme-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-field input:focus, .theme-field textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-field textarea { resize: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.theme-hero { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.theme-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__gradient-1 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.45), rgba(0,0,0,0.25)); }
.theme-hero__gradient-2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent, rgba(0,0,0,0.15)); }
.theme-hero__content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: 3.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-hero__content { align-items: flex-end; padding-top: 0; padding-bottom: 7rem; } }
.theme-hero__box { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-hero__eyebrow { display: block; font-family: var(--font-display); 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 1px 8px rgba(0,0,0,0.5); }
.theme-hero__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.025em; margin-bottom: 1.5rem; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtext { font-family: var(--font-display); color: rgba(255,255,255,0.85); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 2rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.theme-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ==========================================================================
   Caption strip
   ========================================================================== */
.theme-caption-strip { border-bottom: 1px solid var(--color-border); }
.theme-caption-strip__inner { padding-block: 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-weight: 700; text-transform: uppercase; font-size: 1.25rem; line-height: 1.375; }
@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-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; transition: color 0.2s ease; }
.theme-caption-strip__link:hover { color: var(--color-primary); }
.theme-caption-strip__link svg { transition: transform 0.2s ease; }
.theme-caption-strip__link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Shop by Category
   ========================================================================== */
.theme-categories__inner { padding-block: 4rem 3rem; }
@media (min-width: 1024px) { .theme-categories__inner { padding-block: 5rem 4rem; } }
.theme-categories__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .theme-categories__header { margin-bottom: 2.5rem; } }
.theme-categories__header h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .theme-categories__header h2 { font-size: 1.875rem; } }
.theme-categories__clear { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); }
.theme-categories__clear:hover { opacity: 0.7; }
.theme-categories__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 768px) { .theme-categories__grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (min-width: 1024px) { .theme-categories__grid { grid-template-columns: repeat(5, 1fr); } }
.theme-category-tile { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); text-align: left; }
.theme-category-tile.is-active { box-shadow: inset 0 0 0 2px var(--color-primary); }
.theme-category-tile__img { transition: transform 1.2s ease-out; }
.theme-category-tile:hover .theme-category-tile__img { transform: scale(1.05); }
.theme-category-tile__gradient { position: absolute; inset-inline: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); pointer-events: none; }
.theme-category-tile__label { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 0.875rem; letter-spacing: 0.025em; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
@media (min-width: 768px) { .theme-category-tile__label { font-size: 1rem; } }
@media (min-width: 1024px) { .theme-category-tile__label { font-size: 1.125rem; } }
.theme-category-tile__arrow { position: absolute; bottom: 1rem; right: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-background); color: var(--color-foreground); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.theme-category-tile:hover .theme-category-tile__arrow { transform: translateX(4px); }

/* ==========================================================================
   Shop grid & filters
   ========================================================================== */
.theme-shop { background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background)); }
.theme-shop__header { padding-top: 5rem; padding-bottom: 1rem; text-align: center; }
@media (min-width: 1024px) { .theme-shop__header { padding-top: 7rem; } }
.theme-shop__heading { font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; }
@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 { position: relative; z-index: 20; 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; gap: 1rem; } }
.theme-filter-dropdown { position: relative; flex: 1; }
@media (min-width: 640px) { .theme-filter-dropdown { max-width: 20rem; } }
.theme-filter-dropdown.is-open { z-index: 21; }
.theme-filter-dropdown__trigger { 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 0.2s ease; }
.theme-filter-dropdown__trigger:hover { border-color: var(--color-primary); }
.theme-filter-dropdown__labels { display: flex; flex-direction: column; align-items: flex-start; }
.theme-filter-dropdown__label { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-filter-dropdown__value { font-family: var(--font-body); font-size: 0.875rem; margin-top: 0.125rem; }
.theme-filter-dropdown__trigger svg { transition: transform 0.2s ease; }
.theme-filter-dropdown.is-open .theme-filter-dropdown__trigger svg { transform: rotate(180deg); }
.theme-filter-dropdown__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; margin-top: 0.25rem; z-index: 30; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); max-height: 20rem; overflow-y: auto; list-style: none; margin: 0.25rem 0 0; padding: 0; }
.theme-filter-dropdown.is-open .theme-filter-dropdown__menu { display: block; animation: theme-fade-in 0.2s var(--transition-smooth); }
.theme-filter-option { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; text-align: left; font-family: var(--font-body); font-size: 0.875rem; transition: background 0.15s ease; }
.theme-filter-option:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-filter-option.is-active { color: var(--color-primary); }
.theme-filter-check { display: none; }
.theme-filter-option.is-active .theme-filter-check { display: inline; }
.theme-filter-clear-all { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); align-self: center; }
@media (min-width: 640px) { .theme-filter-clear-all { align-self: flex-end; padding-bottom: 0.75rem; } }
.theme-filter-clear-all:hover { opacity: 0.7; }

.theme-product-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; column-gap: 0.5rem; row-gap: 0.75rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); column-gap: 0.75rem; } }
.theme-product-grid--3col { grid-template-columns: 1fr; column-gap: 2rem; row-gap: 3rem; }
@media (min-width: 640px) { .theme-product-grid--3col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid--3col { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.is-filtered-out { display: none; }
.theme-product-card-wrap.is-shop-collapsed { display: none; }
.theme-shop__show-more-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.theme-shop__show-more-wrap[hidden] { display: none; }
.theme-product-card { display: flex; flex-direction: column; flex: 1; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; background: var(--color-muted); overflow: hidden; }
.theme-product-card__image { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.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); z-index: 2; }
.theme-product-card__body { display: block; padding-top: 1rem; padding-bottom: 0.25rem; flex: 1; }
.theme-product-card__title { display: block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; font-size: 0.9375rem; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { display: block; margin-top: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.theme-product-card__price del { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 400; }
.theme-product-card__price ins { text-decoration: none; color: var(--color-accent); }

.theme-shop__empty { padding: 5rem 0; text-align: center; border: 1px dashed var(--color-border); }
.theme-shop__empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: none; }
.theme-shop__empty-body { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ==========================================================================
   Two-up banners
   ========================================================================== */
.theme-banners__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .theme-banners__inner { padding-block: 5rem; } }
.theme-banners__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-banners__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; } }
.theme-banner { position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; width: 100%; text-align: left; }
@media (min-width: 768px) { .theme-banner { aspect-ratio: 5/6; } }
.theme-banner__img { transition: transform 1.2s ease-out; }
.theme-banner:hover .theme-banner__img { transform: scale(1.04); }
.theme-banner__gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2) 60%, transparent); }
.theme-banner__content { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 2.25rem; color: #fff; }
.theme-banner__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; }
.theme-banner__title { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 0.95; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-banner__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .theme-banner__title { font-size: 2.25rem; } }
.theme-banner__cta { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 44px; background: var(--color-background); color: var(--color-foreground); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; transition: background 0.3s ease, color 0.3s ease; }
.theme-banner:hover .theme-banner__cta { background: var(--color-foreground); color: var(--color-background); }

/* ==========================================================================
   Custom decals form
   ========================================================================== */
.theme-custom { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 1024px) { .theme-custom { padding: 7rem 0; } }
.theme-custom__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-custom__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.theme-custom__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .theme-custom__grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.theme-custom__eyebrow { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.theme-custom__heading { color: #fff; font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-custom__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-custom__heading { font-size: 3.75rem; } }
.theme-custom__body { color: rgba(255,255,255,0.9); font-size: 0.9375rem; line-height: 1.625; margin-bottom: 1.5rem; max-width: 32rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.theme-custom__bullets { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-custom__bullets li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.theme-custom__bullet-icon { margin-top: 0.15rem; color: var(--color-accent); flex-shrink: 0; }
.theme-custom__contact-note { border-top: 1px solid rgba(255,255,255,0.25); padding-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.theme-custom__contact-note a { color: var(--color-accent); }
.theme-custom__contact-note a:hover { text-decoration: underline; }
.theme-custom__form-panel { background: var(--color-background); border: 1px solid var(--color-border); padding: 1.5rem; }
@media (min-width: 768px) { .theme-custom__form-panel { padding: 2.5rem; } }
.theme-custom__form { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-custom__ref-note { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-custom__submit { width: 100%; }
.theme-custom__success { text-align: center; padding: 2rem 0; }
.theme-custom__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-accent); color: var(--color-accent-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-custom__success h3 { font-size: 1.5rem; text-transform: none; margin-bottom: 0.5rem; }
.theme-custom__success p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ==========================================================================
   Pricing & application
   ========================================================================== */
.theme-pricing { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-pricing { padding: 7rem 0; } }
.theme-pricing__intro { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.theme-pricing__intro h2 { font-size: 2.25rem; line-height: 1.05; margin: 1rem 0 1.5rem; }
@media (min-width: 768px) { .theme-pricing__intro h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-pricing__intro h2 { font-size: 3.75rem; } }
.theme-pricing__intro p { font-size: 0.9375rem; line-height: 1.625; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-pricing__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .theme-pricing__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }
.theme-pricing-tier { border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 30%, transparent); padding: 2rem; display: flex; flex-direction: column; }
.theme-pricing-tier__price { font-family: var(--font-display); font-size: 1.875rem; margin: 0.75rem 0 0.5rem; text-transform: none; }
.theme-pricing-tier__dim { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.5rem; }
.theme-pricing-tier__use { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }

.theme-application { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 2rem; }
@media (min-width: 1024px) { .theme-application { grid-template-columns: repeat(2, 1fr); gap: 4rem; padding: 3rem; } }
.theme-application__copy .label-eyebrow { margin-bottom: 1rem; }
.theme-application__copy h3 { font-size: 1.875rem; line-height: 1.25; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .theme-application__copy h3 { font-size: 2.25rem; } }
.theme-application__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-application__steps li { display: flex; gap: 1rem; align-items: flex-start; }
.theme-application__step-num { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--color-accent); flex-shrink: 0; width: 2.5rem; text-transform: none; }
.theme-application__step-title { margin: 0 0 0.25rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; line-height: 1.25; }
.theme-application__step-body { margin: 0; font-family: var(--font-body); font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; }
.theme-application__image-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; }

/* ==========================================================================
   Brand / About
   ========================================================================== */
.theme-story { position: relative; width: 100%; height: 70vh; overflow: hidden; margin-top: -5rem; }
@media (min-width: 768px) { .theme-story { height: 80vh; } }
@media (min-width: 1024px) { .theme-story { margin-top: -7rem; } }
.theme-story__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-story__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.theme-story__content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.theme-story__inner { width: 100%; }
.theme-story__copy { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-story__copy h2 { color: #fff; font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.025em; margin: 0 0 1.5rem; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-story__copy h2 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-story__copy h2 { font-size: 4.5rem; } }
.theme-story__copy p { margin: 0; max-width: none; font-family: var(--font-body); color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.625; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-story__copy p { font-size: 15px; } }

.theme-founder__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .theme-founder__grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.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 h2 { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; letter-spacing: -0.025em; margin: 1.5rem 0 2.5rem; }
.theme-founder__body { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 0.9375rem; line-height: 1.625; max-width: 36rem; }
.theme-founder__body p { margin: 0 0 1.25rem; }
.theme-founder__quote { font-family: var(--font-display); font-size: 1.5rem; text-transform: none; padding-top: 1rem; }
@media (min-width: 1024px) { .theme-founder__quote { font-size: 1.875rem; } }
.theme-founder__image-wrap { position: relative; min-height: 400px; background: var(--color-secondary); display: flex; align-items: center; justify-content: center; padding: 2rem; }
@media (min-width: 1024px) { .theme-founder__image-wrap { min-height: 700px; padding: 4rem; } }
.theme-founder__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; }

.theme-whatwemake { position: relative; padding: 5rem 1rem; background-size: cover; background-position: center; }
@media (min-width: 768px) { .theme-whatwemake { padding: 5rem 2rem; } }
@media (min-width: 1024px) { .theme-whatwemake { padding: 7rem 4rem; } }
.theme-whatwemake__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.theme-whatwemake__inner { position: relative; }
.theme-whatwemake__header { text-align: center; margin-bottom: 2.5rem; }
.theme-whatwemake__header .label-eyebrow { color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.theme-whatwemake__header h2 { color: #fff; font-size: 1.875rem; line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-whatwemake__header h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-whatwemake__header h2 { font-size: 3rem; } }
.theme-whatwemake__body { color: rgba(255,255,255,0.9); font-size: 0.9375rem; line-height: 1.625; margin-bottom: 2.5rem; text-align: center; max-width: 42rem; margin-inline: auto; }
.theme-whatwemake__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-whatwemake__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-whatwemake-card { background: var(--color-background); padding: 1.5rem; border: 1px solid var(--color-border); text-align: center; }
.theme-whatwemake-card__label { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; text-transform: none; }
.theme-whatwemake-card__sub { margin: 0.5rem 0 0; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); line-height: 1.4; }

/* ==========================================================================
   FAQ + Contact/Connect
   ========================================================================== */
.theme-resources { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-resources { padding: 7rem 0; } }
.theme-faq__heading { font-size: 3rem; letter-spacing: -0.025em; margin-bottom: 4rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
@media (min-width: 768px) { .theme-faq__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-faq__heading { font-size: 4.5rem; } }
.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__sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .theme-faq__sidebar { position: sticky; top: 8rem; align-self: start; } }
.theme-faq__sidebar p { font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .theme-faq__sidebar p { font-size: 1.125rem; } }
.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; transition: background 0.2s ease, color 0.2s ease; align-self: flex-start; text-decoration: none; }
.theme-faq__contact-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-faq__accordion { border-top: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item__trigger { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-item__trigger span:first-child { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; line-height: 1.375; padding-right: 1rem; transition: color 0.2s ease; }
@media (min-width: 768px) { .theme-faq-item__trigger span:first-child { font-size: 1rem; } }
.theme-faq-item__trigger:hover span:first-child { color: var(--color-primary); }
.theme-faq-item__icon { flex-shrink: 0; margin-top: 0.15rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; position: relative; width: 16px; height: 16px; }
.theme-faq-item__trigger:hover .theme-faq-item__icon { color: var(--color-primary); }
.theme-faq-icon-plus, .theme-faq-icon-minus { position: absolute; top: 0; left: 0; transition: opacity 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth); }
.theme-faq-icon-minus { opacity: 0; transform: scale(0.85); }
.theme-faq-item.is-open .theme-faq-icon-plus { opacity: 0; transform: scale(0.85); }
.theme-faq-item.is-open .theme-faq-icon-minus { opacity: 1; transform: scale(1); }
.theme-faq-item__panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth); }
.theme-faq-item__panel p { margin: 0; padding: 0 3rem 1.5rem 0; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.625; }

.theme-connect { position: relative; width: 100%; margin-top: 6rem; margin-bottom: -5rem; overflow: hidden; border-radius: 2px; isolation: isolate; }
@media (min-width: 1024px) { .theme-connect { margin-top: 7rem; margin-bottom: -7rem; } }
.theme-connect__overlay { position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-connect__inner { position: relative; z-index: 2; text-align: center; padding-block: 6rem; }
@media (min-width: 768px) { .theme-connect__inner { padding-block: 8rem; } }
.theme-connect__inner .label-eyebrow { color: rgba(255,255,255,0.8); margin: 0 auto 1.25rem; }
.theme-connect__inner h2 { color: #fff; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-connect__inner h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-connect__inner h2 { font-size: 3.75rem; } }
.theme-connect__inner p { max-width: 32rem; margin: 0 auto 2.5rem; color: rgba(255,255,255,0.85); font-size: 0.9375rem; line-height: 1.625; }
.theme-connect__ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-connect__ctas { flex-direction: row; } }
.theme-connect__ctas .theme-btn { height: auto; }
.theme-connect__ctas .theme-btn-accent { font-size: var(--btn-font-size-md); letter-spacing: var(--btn-letter-spacing-nav); font-weight: 700; padding: 1rem 2rem; }
.theme-connect__ctas .theme-btn-outline-light { height: 3rem; padding: 0 2rem; font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); font-weight: 600; background: var(--color-background); color: var(--color-foreground); border-color: var(--color-foreground); }
.theme-connect__ctas .theme-btn-outline-light:hover { background: var(--color-foreground); color: var(--color-background); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.site-footer__newsletter { border-bottom: 1px solid rgba(255,255,255,0.15); }
.site-footer__newsletter-inner { padding-block: 3.5rem 4rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .site-footer__newsletter-inner { grid-template-columns: repeat(12, 1fr); } }
.site-footer__newsletter-copy { grid-column: span 6; }
.site-footer__newsletter-copy p { color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.site-footer__newsletter-copy h3 { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 1024px) { .site-footer__newsletter-copy h3 { font-size: 2.25rem; } }
.site-footer__newsletter-form { grid-column: span 6; display: flex; width: 100%; }
.site-footer__newsletter-input { flex: 1; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.4); padding: 0.75rem 0.25rem; font-size: 14px; color: #fff; }
.site-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.site-footer__newsletter-input:focus { outline: none; border-color: #fff; }
.site-footer__newsletter-btn { margin-left: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 1.5rem; height: 48px; background: var(--color-background); color: var(--color-foreground); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.site-footer__newsletter-btn:hover { background: var(--color-accent); color: var(--color-accent-foreground); }

.site-footer__main { padding-block: 4rem 5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__main { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: span 4; }
.site-footer__logo-link { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo-link .site-logo-img { height: 6rem !important; }
.site-footer__tagline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.24em; font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 0.75rem; }
.site-footer__about { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); max-width: 24rem; line-height: 1.625; }
.site-footer__col { grid-column: span 2; }
.site-footer__col h4 { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.theme-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-link, .theme-footer-links a { font-size: 14px; color: rgba(255,255,255,0.8); text-align: left; transition: color 0.2s ease; }
.theme-footer-link:hover, .theme-footer-links a:hover { color: #fff; }
.theme-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; color: rgba(255,255,255,0.8); }
.theme-footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.theme-footer-contact a:hover { color: #fff; }
.theme-footer-contact a { word-break: break-all; }
.theme-footer-address { color: rgba(255,255,255,0.6); }
.theme-footer-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.theme-footer-social a { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.theme-footer-social a:hover { color: #fff; }

.site-footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.55); margin: 0; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   Generic pages / 404
   ========================================================================== */
.site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body:not(.theme-no-hero) .site-main { padding-top: 0; }
.page-title { font-size: 2rem; margin: 2.5rem 0 1.5rem; }
.theme-generic-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.theme-404 { min-height: 60vh; display: flex; align-items: center; padding-top: var(--header-height); }
.theme-404__inner { text-align: center; padding-block: 5rem; }
.theme-404__code { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__heading { font-size: 1.5rem; text-transform: none; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.theme-404__body { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 2rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   WOOCOMMERCE — SINGLE PRODUCT PAGE  (Section 11, 11.4.1, 11.4.2, 11.13)
   ========================================================================== */
.single-product-main { padding-top: var(--header-height); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 440px; align-items: start; } }
@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 { position: relative; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: var(--header-height); } }
.theme-product-gallery__row { display: flex; }
.theme-product-thumbnails { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: flex; } }
.theme-product-thumbnails--mobile { display: flex; flex-direction: row; padding: 1rem; overflow-x: auto; }
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb { width: 3.5rem; height: 3.5rem; overflow: hidden; border: 1px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; flex-shrink: 0; position: relative; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-foreground); }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-main-image { flex: 1; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
@media (min-width: 768px) { .theme-product-main-image { min-height: 78vh; padding: 2rem; } }
@media (min-width: 1024px) { .theme-product-main-image { min-height: 88vh; } }
.theme-product-main-img { position: static !important; width: 100%; height: 100%; max-height: 88vh; object-fit: contain !important; }

.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: 4rem 3rem; } }
.theme-product-breadcrumb { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1.5rem; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.theme-product-categories { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.75rem; }
.theme-product-categories a { color: inherit; }
.theme-product-categories a:hover { color: var(--color-primary); }
.theme-product-title { font-family: var(--font-body); font-weight: 400; text-transform: uppercase; font-size: 0.9375rem; letter-spacing: 0.22em; line-height: 1.5; color: var(--color-foreground); overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .theme-product-title { font-size: 1rem; } }
.theme-product-sku { margin-top: 0.75rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price { font-size: 1.125rem; text-transform: none; font-family: var(--font-body); font-weight: 400; }
.theme-product-price del { color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 400; margin-right: 0.5rem; }
.theme-product-price ins { text-decoration: none; color: var(--color-accent); }
.theme-product-stock { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.theme-product-stock--out { color: #b8402a; }
.theme-product-note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-family: var(--font-body); font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.625; }

.theme-add-to-cart-area { margin-top: 2rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 1px solid var(--color-border); }
.theme-quantity-wrapper button { width: 2.75rem; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background 0.2s ease; }
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); text-align: center; -moz-appearance: textfield; background: transparent; color: var(--color-foreground); font-size: 14px; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.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;
  flex: 1 1 auto;
  min-width: 160px;
}
.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;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact variant is not used (source cards have no add-to-cart button,
   Section 19.1) — no scoped override needed. */

.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; }

.theme-product-description { margin-top: 2.5rem; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); text-transform: none; white-space: pre-line; overflow-wrap: break-word; }
.theme-product-details { margin-top: 2rem; }
.theme-product-details__heading { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--color-foreground); margin-bottom: 1.25rem; }
.theme-product-details__body, .woocommerce-product-details__short-description { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); text-transform: none; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details__body ul, .theme-product-details__body ol { padding-left: 1.25rem; margin: 1.5rem 0 0; }
.theme-product-details__body li { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 0.6rem; line-height: 1.625; }
.theme-product-details__body li::marker { color: var(--color-primary); }

/* Variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.4rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.28em; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.25rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; border: 1px solid var(--color-border); font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.05em; transition: all 0.2s ease; }
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.single_variation_wrap { margin-top: 0.5rem; }
.woocommerce-variation-description { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); overflow-wrap: break-word; word-break: break-word; }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Related products (uses theme-product-grid / theme-product-card-wrap) */
.related-products-section { padding: 6rem 0 2rem; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.related-products-section__heading { font-size: 1.875rem; line-height: 1.25; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.related-products-section__heading em { font-style: italic; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

/* ==========================================================================
   WOOCOMMERCE — SHOP ARCHIVE
   ========================================================================== */
.theme-shop-archive { padding-top: calc(var(--header-height) + 2rem); }
.theme-shop-archive__header { text-align: center; padding-bottom: 2.5rem; }
.theme-shop-archive__title { font-size: 2.25rem; margin-top: 0.75rem; }
.theme-shop-archive__body { padding-bottom: 5rem; }
.theme-shop-archive__empty { text-align: center; padding: 4rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* Section 14.1 — scoped notice visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { font-size: 14px; padding: 1rem 1.25rem; border-left: 3px solid #b8402a; background: color-mix(in srgb, #b8402a 8%, var(--color-background)); list-style: none; margin: 1rem 0; }
.theme-shop-archive .woocommerce-message,
.theme-shop-archive .woocommerce-info { font-size: 14px; padding: 1rem 1.25rem; border-left: 3px solid var(--color-primary); background: color-mix(in srgb, var(--color-primary) 6%, var(--color-background)); list-style: none; margin: 0 0 1.5rem; }

/* ==========================================================================
   WOOCOMMERCE — SIDE CART DRAWER  (Section 12)
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

.theme-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 32rem; background: var(--color-background); z-index: 96; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s var(--transition-smooth); }
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); flex-shrink: 0; }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-style: italic; text-transform: none; font-size: 1.5rem; font-weight: 400; }
.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: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-cart-drawer__items { flex: 1; overflow: 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; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; position: relative; }
.theme-cart-item__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); 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.35rem 0.6rem; transition: background 0.2s ease; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty-value { padding: 0 0.6rem; font-size: 14px; min-width: 28px; text-align: center; }
.theme-cart-item__remove { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem 2rem 2rem; border-top: 1px solid var(--color-border); flex-shrink: 0; 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; text-transform: none; }
.theme-cart-drawer__note { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__checkout { width: 100%; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* ==========================================================================
   WOOCOMMERCE — CHECKOUT (native block), Section 13
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin-left: auto; margin-right: auto; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
}
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-text-input input:focus-visible { outline: none; border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: color-mix(in srgb, var(--color-secondary) 60%, var(--color-background));
  border-radius: var(--radius);
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); font-size: 14px; }
body.woocommerce-checkout .wc-block-cart-items { font-size: 14px; }

/* ==========================================================================
   WOOCOMMERCE — CART / ACCOUNT PAGES (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* ==========================================================================
   WOOCOMMERCE — THANK YOU PAGE (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; text-transform: none; font-family: var(--font-body); font-weight: 600; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 1.5rem; margin: 0 0 2rem; background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 13px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 15px; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; font-size: 14px; line-height: 1.6; }
@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; }
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ==========================================================================
   Section 15.1 — cascade / positioning safety
   ========================================================================== */
.theme-mega-feature__media, .theme-category-tile, .theme-banner, .theme-product-card__image-wrapper, .theme-cart-item__image, .theme-application__image-wrap { position: relative; }

