/* =========================================================
   The Miners Board — theme stylesheet
   ========================================================= */

:root {
  --color-background: #0F0D0C;
  --color-foreground: #F5EFE6;
  --color-surface: #1A1715;
  --color-surface-2: #25201E;
  --color-primary: #C88A58;
  --color-primary-foreground: #0F0D0C;
  --color-border: #3D312A;
  --color-pine: #2D4332;
  --color-pine-foreground: #F5EFE6;
  --logo-height: 60px;
  --admin-bar-offset: 0px;

  --font-display: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0 1.75rem;
  --btn-font-size: 14px;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.01em;
  --btn-text-transform: none;
  --btn-icon-padding: 0;
  --card-radius: 1rem;
  --section-padding: 2rem;
  --header-height: 80px;
  --checkout-gap: 2rem;

  --shadow-soft: 0 4px 24px -10px rgba(0,0,0,0.55);
  --shadow-elevated: 0 24px 60px -22px rgba(0,0,0,0.75);
}

/* ---------------------------------------------------------
   Reset & base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.012em;
  font-weight: 600;
  font-size: inherit;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
label[for],
select,
summary,
.shop-cat-filter,
.faq-item__question,
.cart-toggle-btn,
.mobile-menu-toggle,
.theme-product-card__add-to-cart,
.theme-product-card__quick-view,
.theme-product-card__info-link,
.theme-product-card__image-link {
  cursor: pointer;
}
button { font-family: inherit; background: none; border: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-gallery__main-image):not(.theme-product-thumb img):not(.services-section__card-image):not(.about-section__photo):not(.about-section__pillar-image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img,
.theme-product-gallery__main-image, .theme-product-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

section[id] { scroll-margin-top: calc(80px + var(--admin-bar-offset)); }

.container-wide {
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.italic { font-style: italic; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn-hero-primary, .btn-hero-outline, .theme-btn-primary, .theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-hero-primary, .theme-btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.btn-hero-primary:hover, .theme-btn-primary:hover { opacity: 0.9; }
.btn-hero-outline, .theme-btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.btn-hero-outline:hover, .theme-btn-outline:hover {
  border-color: var(--color-foreground);
  background: color-mix(in srgb, var(--color-foreground) 4%, transparent);
}
.btn-hero-primary:disabled, .theme-btn-primary:disabled { opacity: 0.6; pointer-events: none; }
[hidden],
.btn-hero-primary[hidden],
.btn-hero-outline[hidden],
.theme-btn-primary[hidden],
.theme-btn-outline[hidden],
#shop-view-more-btn[hidden],
.shop-section__view-more[hidden],
.shop-section__empty[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   Scroll-reveal engine (Section 2.1)
   --------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
@keyframes theme-slow-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: var(--admin-bar-offset);
  left: 0; right: 0;
  z-index: 50;
}
body.admin-bar { --admin-bar-offset: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar { --admin-bar-offset: 46px; }
}
.customize-preview.admin-bar,
body.customize-preview.admin-bar {
  --admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
  .customize-preview.admin-bar,
  body.customize-preview.admin-bar {
    --admin-bar-offset: 46px;
  }
}
.announcement-bar {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  text-align: center;
  transition: max-height 500ms ease-out, opacity 500ms ease-out, transform 500ms ease-out;
  max-height: 3.5rem;
  overflow: hidden;
}
.site-header.header-scrolled .announcement-bar { max-height: 0; opacity: 0; transform: translateY(-8px); padding: 0 1rem; }
.announcement-bar__text { opacity: 0.9; }
.announcement-bar__highlight { background: var(--color-primary-foreground); color: var(--color-primary); padding: 0.125rem 0.375rem; border-radius: 3px; margin-left: 0.35em; }

.site-header__bar { transition: background-color 500ms ease, border-color 500ms ease; border-bottom: 1px solid transparent; }
.site-header.is-solid .site-header__bar,
.site-header.header-scrolled .site-header__bar,
.site-header.mobile-open .site-header__bar {
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(20px);
  border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) {
  .site-header__row { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; }
}
.mobile-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  order: 1;
  position: relative;
  z-index: 2;
}
.mobile-menu-toggle__bars {
  position: relative;
  width: 1.15rem;
  height: 0.85rem;
  display: block;
}
.mobile-menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu-toggle__bars span:nth-child(1) { top: 0; }
.mobile-menu-toggle__bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-toggle__bars span:nth-child(3) { top: 100%; transform: translateY(-100%); }
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bars span:nth-child(1) {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bars span:nth-child(2) {
  opacity: 0; transform: translateY(-50%) scaleX(0.4);
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__bars span:nth-child(3) {
  top: 50%; transform: translateY(-50%) rotate(-45deg);
}
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.site-logo { display: flex; align-items: center; gap: 0.625rem; order: 2; flex-shrink: 0; }
@media (min-width: 1024px) { .site-logo { order: 1; justify-self: start; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55)); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); line-height: var(--logo-height); display: block; }

.primary-nav { display: none; order: 3; }
@media (min-width: 1024px) {
  .primary-nav { display: flex; order: 2; justify-self: center; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.3s ease;
}
.theme-nav-list a:hover, .theme-nav-list a.is-active { color: var(--color-primary); }
.primary-nav .theme-nav-list a::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.375rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.primary-nav .theme-nav-list a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}
.mobile-nav a.is-active { color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; }
.cart-toggle-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; }
.cart-toggle-btn .icon-handbag { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
  position: absolute; top: -0.125rem; right: -0.125rem;
  background: var(--color-primary); color: var(--color-primary-foreground);
  font-size: 12px; font-weight: 500;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  border-top: 1px solid transparent;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(20px);
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease,
              border-color 0.35s ease;
}
.mobile-nav.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  border-top-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
.mobile-nav__clip { overflow: hidden; min-height: 0; }
.mobile-nav__list {
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}
.mobile-nav ul,
.mobile-nav .theme-nav-list,
.mobile-nav .mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  text-align: left;
}
.mobile-nav li { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); width: 100%; }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav a,
.mobile-nav .theme-nav-list a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  opacity: 0;
  transform: translateY(-10px);
  transition: color 0.25s ease;
}
.mobile-nav a:hover { color: var(--color-primary); }
.mobile-nav.is-open li a {
  animation: theme-mobile-nav-item 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mobile-nav.is-open li:nth-child(1) a { animation-delay: 0.06s; }
.mobile-nav.is-open li:nth-child(2) a { animation-delay: 0.12s; }
.mobile-nav.is-open li:nth-child(3) a { animation-delay: 0.18s; }
.mobile-nav.is-open li:nth-child(4) a { animation-delay: 0.24s; }
.mobile-nav.is-open li:nth-child(5) a { animation-delay: 0.3s; }
.mobile-nav.is-open li:nth-child(6) a { animation-delay: 0.36s; }
.mobile-nav.is-open li:nth-child(n+7) a { animation-delay: 0.4s; }
@keyframes theme-mobile-nav-item {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-menu-toggle__bars span,
  .mobile-nav a { transition: none !important; animation: none !important; }
  .mobile-nav.is-open li a { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-background);
}
.hero-section__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-section__scrim-flat { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 70%, transparent); pointer-events: none; }
.precta-section .hero-section__scrim-flat { background: color-mix(in srgb, var(--color-background) 75%, transparent); }
.hero-section__scrim-radial {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(at center, rgba(10,8,7,0.35) 0%, rgba(10,8,7,0.55) 70%, rgba(10,8,7,0.8) 100%);
}
.hero-section__content { position: relative; z-index: 10; text-align: center; padding: 10rem 0 6rem; }
@media (min-width: 1024px) { .hero-section__content { padding: 13rem 0 8rem; } }
.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-section__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-foreground) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  backdrop-filter: blur(10px);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.hero-section__badge svg { width: 0.875rem; height: 0.875rem; color: var(--color-primary); }
.hero-section__title {
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 64rem;
  margin: 0 auto;
  text-shadow: 0 2px 30px rgba(0,0,0,0.65);
}
.hero-section__break { display: none; }
@media (min-width: 640px) { .hero-section__break { display: block; } }
.hero-section__subtitle { margin-top: 1.75rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; }
@media (min-width: 640px) { .hero-section__subtitle { font-size: 15px; } }
.hero-section__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__ctas { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee-section { background: var(--color-primary); padding: 1.25rem 0; overflow: hidden; }
.marquee-section__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; width: max-content; }
.marquee-section__item { display: flex; align-items: center; flex-shrink: 0; color: var(--color-primary-foreground); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.01em; }
@media (min-width: 768px) { .marquee-section__item { font-size: 1.25rem; } }
.marquee-section__item span:first-child { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-section__item span:first-child { margin: 0 2rem; } }
.marquee-section__dot { color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); font-size: 0.875rem; }

/* ---------------------------------------------------------
   Shop
   --------------------------------------------------------- */
.shop-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; } }
.shop-section__head-copy { max-width: 42rem; }
.shop-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section__heading { font-size: 3.2rem; } }
.shop-section__break { display: none; }
@media (min-width: 1024px) { .shop-section__break { display: block; } }
.shop-section__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 36rem; }
@media (min-width: 768px) { .shop-section__subtitle { font-size: 15px; } }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search .icon-search { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-section__search input {
  width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem;
  border-radius: 999px; background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-foreground); font-size: 14px;
}
.shop-section__search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-section__search input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-cat-filter {
  padding: 0 1.25rem; height: 2.5rem; border-radius: 999px;
  font-size: 14px; font-weight: 500; border: 1px solid var(--color-border);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  background: transparent; transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.shop-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-section__grid, .theme-product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 1.5rem; row-gap: 2.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .shop-section__grid, .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-section__grid, .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shop-section__empty, .shop-archive__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.shop-section__view-more { margin-top: 3rem; display: flex; justify-content: center; }

/* Product card (Section 31.3 Pattern B + 31.9 equal height) */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.theme-product-card:hover { transform: translateY(-4px); }
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.theme-product-card__image-link { position: absolute; inset: 0; z-index: 1; display: block; }
.theme-product-card:hover .theme-product-card__image {
  transform: scale(1.04);
}
.theme-product-card__image {
  transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.theme-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  font-size: 11px; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.theme-badge svg { width: 0.625rem; height: 0.625rem; }
.theme-badge--sold-out { background: var(--color-foreground); color: var(--color-background); }
.theme-badge--primary { background: var(--color-primary); color: var(--color-primary-foreground); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; box-shadow: var(--shadow-soft); }
.theme-badge--inquiry { background: var(--color-pine); color: var(--color-pine-foreground); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; box-shadow: var(--shadow-soft); }

.theme-product-card__actions {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
  display: flex; align-items: center; gap: 0.5rem;
  opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__actions { opacity: 1; }
.theme-product-card__add-to-cart.add_to_cart_button.ajax_add_to_cart {
  flex: 1 1 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.5rem; border-radius: 999px;
  background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  border: none !important; pointer-events: auto; position: relative; z-index: 3;
  min-height: unset !important; padding: 0 1rem !important;
}
.theme-product-card__add-to-cart svg { width: 0.875rem; height: 0.875rem; }
.theme-product-card__quick-view {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  border: 1px solid var(--color-border); backdrop-filter: blur(6px);
  pointer-events: auto; position: relative; z-index: 3;
}
.theme-product-card__quick-view svg { width: 1rem; height: 1rem; }
.theme-product-card__quick-view:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__info-link { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title { font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

/* Hide "View cart" WooCommerce injects after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Loading / added button states */
.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; }

/* ---------------------------------------------------------
   Services (The Experience)
   --------------------------------------------------------- */
.services-section { background: var(--color-surface); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__head { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.2rem; } }
.services-section__subtitle { margin-top: 1.25rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 36rem; }
@media (min-width: 768px) { .services-section__subtitle { font-size: 15px; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.services-section__card {
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.services-section__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.services-section__card-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.services-section__card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.services-section__card:hover .services-section__card-image { transform: scale(1.05); }
.services-section__card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-background) 50%, transparent) 0%,
    transparent 50%,
    transparent 100%
  );
  pointer-events: none;
}
.services-section__card-body { padding: 2rem; }
.services-section__card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
  margin-bottom: 1.5rem;
}
.services-section__card-icon svg { width: 1.25rem; height: 1.25rem; }
.services-section__card-title { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.services-section__card-text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.about-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__head { max-width: 56rem; margin-bottom: 2.5rem; }
.about-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.4rem; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.about-section__photo-col { display: flex; flex-direction: column; height: 100%; }
.about-section__photo-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  flex: 1 1 auto;
  min-height: 240px;
  max-height: 420px;
  height: 420px;
  position: relative;
}
.about-section__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-section__quote { margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); border-left: 2px solid var(--color-primary); padding-left: 1.25rem; }
@media (min-width: 768px) { .about-section__quote { font-size: 1.5rem; } }
.about-section__text-col { display: flex; flex-direction: column; height: 100%; }
.about-section__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .about-section__paragraphs { font-size: 16px; } }
.about-section__pillars { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; flex: 1; }
@media (min-width: 640px) { .about-section__pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-section__pillar {
  position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft); min-height: 200px; display: flex;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-section__pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.about-section__pillar-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms cubic-bezier(0.22,0.61,0.36,1); }
.about-section__pillar:hover .about-section__pillar-image { transform: scale(1.05); }
.about-section__pillar-scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 95%, transparent), color-mix(in srgb, var(--color-background) 70%, transparent) 60%, color-mix(in srgb, var(--color-background) 30%, transparent)); }
.about-section__pillar-body { position: relative; z-index: 1; margin-top: auto; padding: 1.25rem; color: var(--color-foreground); }
.about-section__pillar-body h3 { font-size: 1.125rem; margin-bottom: 0.375rem; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.about-section__pillar-body p { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-section { background: var(--color-surface); border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; gap: 3rem; } }
.faq-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-section__subtitle { margin-top: 1.5rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 24rem; }
@media (min-width: 768px) { .faq-section__subtitle { font-size: 15px; } }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); }
.faq-item__icon svg { width: 1.25rem; height: 1.25rem; }
.faq-item__icon .icon-minus { display: none; }
.faq-item.is-open .faq-item__icon .icon-plus { display: none; }
.faq-item.is-open .faq-item__icon .icon-minus { display: block; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__panel-inner p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .faq-item__panel-inner p { font-size: 15px; } }

/* ---------------------------------------------------------
   Pre-contact CTA
   --------------------------------------------------------- */
.precta-section { position: relative; overflow: hidden; background: var(--color-background); }
.precta-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.precta-section__content { position: relative; z-index: 10; text-align: center; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .precta-section__content { padding-top: 10rem; padding-bottom: 10rem; } }
.precta-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 1.5rem; font-weight: 500; }
.precta-section__rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.precta-section__title { font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 56rem; margin: 0 auto; text-shadow: 0 2px 30px rgba(0,0,0,0.65); }
.precta-section__subtitle { margin-top: 1.75rem; max-width: 36rem; margin-left: auto; margin-right: auto; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.precta-section__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .precta-section__ctas { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.contact-section { background: var(--color-background); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.contact-section__info { display: flex; flex-direction: column; height: 100%; }
.contact-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.4rem; } }
.contact-section__break { display: none; }
@media (min-width: 1024px) { .contact-section__break { display: block; } }
.contact-section__subtitle { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); max-width: 28rem; }
.contact-section__methods { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__methods a { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.contact-section__methods a:hover { color: var(--color-primary); }
.contact-method__icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-surface); border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease; flex-shrink: 0; }
.contact-section__methods a:hover .contact-method__icon { border-color: var(--color-primary); }
.contact-method__icon svg { width: 1rem; height: 1rem; }
.contact-method__text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-method__label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-method__value { font-size: 15px; font-weight: 500; word-break: break-word; }
.contact-section__pullquote-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-section__pullquote { position: relative; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-surface); padding: 1.5rem 1.75rem; }
.contact-section__pullquote-badge { position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.contact-section__pullquote-badge svg { width: 0.75rem; height: 0.75rem; }
.contact-section__pullquote-text { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); font-size: 1.125rem; line-height: 1.4; border-left: 2px solid var(--color-primary); padding-left: 1.25rem; }
@media (min-width: 768px) { .contact-section__pullquote-text { font-size: 1.25rem; } }
.contact-section__pullquote-author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); letter-spacing: 0.02em; }

.contact-section__form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.form-field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-field label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 0.5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; height: 3rem; padding: 0 1rem;
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.375rem; color: var(--color-foreground); font-size: 14px;
}
.form-field textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-section__form-submit { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-section__submit-btn { width: 100%; }
.contact-section__submit-btn svg { width: 1rem; height: 1rem; }
.contact-section__form-note { font-size: 12px; text-align: center; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { background: var(--color-surface); border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; } }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.site-footer .site-logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__logo-img {
  height: 72px !important;
  width: auto !important;
  filter: none;
}
.site-footer__tagline { margin-top: 1rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 20rem; }
.site-footer__col-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--color-foreground); margin-bottom: 1rem; }
.site-footer__list,
.site-footer__list .theme-nav-list,
.site-footer .theme-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 14px;
}
.site-footer__list a,
.site-footer .theme-nav-list a {
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  transition: color 0.2s ease;
}
.site-footer__list a:hover,
.site-footer .theme-nav-list a:hover { color: var(--color-primary); }
.site-footer__contact-list { gap: 0.75rem; }
.site-footer__contact-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  overflow-wrap: anywhere;
}
.site-footer__contact-list svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; }
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__credit { color: var(--color-primary); font-weight: 500; }
.site-footer__credit:hover { text-decoration: underline; }

/* ---------------------------------------------------------
   Promo banner (toast)
   --------------------------------------------------------- */
.theme-promo-banner {
  position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-foreground);
  border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
  animation: theme-fade-in 0.5s ease-out;
}
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner[hidden] { display: none; }
.theme-promo-banner__text { flex: 1; font-size: 13px; line-height: 1.6; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 15px; } }
.theme-promo-banner__highlight { font-weight: 600; color: var(--color-primary); }
#theme-promo-dismiss { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 999px; }
#theme-promo-dismiss:hover { background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
#theme-promo-dismiss svg { width: 1rem; height: 1rem; }

/* ---------------------------------------------------------
   Cart drawer + overlay
   --------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  z-index: 60; 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; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-surface); z-index: 61; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-drawer__close svg { width: 1.25rem; height: 1.25rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { width: 3rem; height: 3rem; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-thumb { width: 5rem; height: 6rem; border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; position: relative; background: var(--color-background); display: block; }
.theme-cart-drawer__item-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 14px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-drawer__item-name:hover { color: var(--color-primary); }
.theme-cart-drawer__item-price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.45rem;
}
.theme-cart-drawer__attr {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
  background: color-mix(in srgb, var(--color-background) 45%, transparent);
  line-height: 1.2;
}
.theme-cart-drawer__attr-key {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 500;
  white-space: nowrap;
}
.theme-cart-drawer__attr-val {
  font-size: 12px;
  color: color-mix(in srgb, var(--color-foreground) 82%, transparent);
  white-space: nowrap;
}
.theme-cart-drawer__item-variation dl.variation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
}
.theme-cart-drawer__item-variation dl.variation dt,
.theme-cart-drawer__item-variation dl.variation dd {
  display: inline;
  margin: 0;
  padding: 0;
}
.theme-cart-drawer__item-variation dl.variation dd p { display: inline; margin: 0; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls button { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-drawer__item-controls button:hover { background: var(--color-surface-2); }
.theme-cart-drawer__item-controls svg { width: 0.75rem; height: 0.75rem; }
.theme-cart-drawer__item-qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__item-remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__item-remove:hover { color: #9d2a2c; }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-surface-2) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-row span:first-child { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-drawer__shipping-note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; text-align: center; padding: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__empty-btn:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------
   Single product page
   --------------------------------------------------------- */
.single-product-main { padding-top: 6rem; background: var(--color-surface); }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.single-product__breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.single-product__breadcrumb a:hover { color: var(--color-primary); }
.single-product__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-background); border-radius: 1rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: calc(20% - 0.5rem); aspect-ratio: 1/1; border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; background: var(--color-background); }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-info__category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-info__title.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.75rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-product-info__title.product-title { font-size: 2.5rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.5rem; }
.theme-product-info__stock.is-out-of-stock { display: inline-block; margin-bottom: 1.5rem; font-size: 13px; font-weight: 500; color: #9d2a2c; }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 0.875rem; height: 0.875rem; }
.theme-qty-input { width: 3rem; text-align: center; background: transparent; border: none; color: var(--color-foreground); font-size: 14px; font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details-content ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details-content li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-content li::before { content: ""; width: 4px; height: 4px; background: var(--color-primary); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-product-info__trust-row { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__trust-row > div { text-align: center; }
.theme-product-info__trust-row svg { width: 1.25rem; height: 1.25rem; color: var(--color-primary); margin: 0 auto 0.5rem; display: block; }
.theme-product-info__trust-row p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-section__heading { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__view-all { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .related-products-section__view-all { display: inline-flex; } }
.related-products-section__view-all:hover { color: var(--color-primary); }
.related-products-section__view-all svg { width: 1rem; height: 1rem; }
.related-products-section__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------
   Generic page / 404
   --------------------------------------------------------- */
.site-main { padding-top: var(--header-height); }
body.theme-no-hero .site-main { padding-top: 6.5rem; }
body:not(.theme-no-hero) .site-main { padding-top: 0; }
.page-content-wrap { padding: 3rem 0; }
.page-title { font-family: var(--font-display); font-weight: inherit; font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
.page-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 0; }
.page-404__title { font-size: 3rem; margin-bottom: 1rem; }
.page-404__text { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1rem; }
.page-404__link { color: var(--color-primary); text-decoration: underline; }

/* ---------------------------------------------------------
   WooCommerce shop archive
   --------------------------------------------------------- */
.shop-archive-main { padding-top: 7rem; padding-bottom: 5rem; background: var(--color-background); min-height: 60vh; }
.shop-archive__title { margin-bottom: 2rem; }
.shop-archive__pagination { margin-top: 3rem; text-align: center; }
.shop-archive__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0 0.25rem; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-foreground); }
.shop-archive__pagination .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-foreground); }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  max-width: 88rem; margin: 1.5rem auto; padding: 1rem 1.5rem; border-radius: 0.5rem;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-foreground);
  font-size: 14px; list-style: none;
}

/* =========================================================
   WOOCOMMERCE ADD-TO-CART BUTTON OVERRIDES (Section 11.4.1)
   ========================================================= */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
/* Card compact button — overrides global rules for the product card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0 1rem !important;
}

/* ---------------------------------------------------------
   Variable product variations layout (Section 11.5.1)
   --------------------------------------------------------- */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr + tr { margin-top: 1.25rem; }
.single-product .variations tbody td.label {
  padding: 0 0 0.65rem;
}
.single-product .variations tbody td.label label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
  font-weight: 500;
}
.theme-swatches__chosen {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-foreground);
  font-weight: 500;
}
.theme-swatches__chosen:empty { display: none; }
.single-product .variations tbody td.value { padding: 0; }
.theme-attr-select-hidden { display: none !important; }

.theme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.theme-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: color-mix(in srgb, var(--color-foreground) 82%, transparent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.theme-swatch:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.theme-swatch.is-selected,
.theme-swatch[aria-pressed="true"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-foreground);
}
.theme-swatch--chip {
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
}
.theme-swatch__chip {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-background) 25%, transparent);
  flex-shrink: 0;
}
.theme-swatch.is-selected .theme-swatch__chip,
.theme-swatch[aria-pressed="true"] .theme-swatch__chip {
  border-color: color-mix(in srgb, var(--color-primary-foreground) 35%, transparent);
}
.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* =========================================================
   CHECKOUT (WooCommerce Checkout Block) — Section 13
   ========================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-content-wrap {
  padding-top: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) {
  body.woocommerce-checkout .page-content-wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .page-content-wrap {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}
@media (min-width: 1280px) {
  body.woocommerce-checkout .page-content-wrap {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
  display: block;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary);
  outline: none;
}
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;
  border: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input > label,
body.woocommerce-checkout .wc-blocks-components-select__label,
.entry-content .wc-block-components-text-input > label,
.entry-content .wc-blocks-components-select__label {
  color: #000;
}
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-checkbox__label,
.entry-content .wc-block-components-checkbox__label,
.entry-content .wc-block-checkout__add-note .wc-block-components-checkbox__label {
  color: #fff;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--color-surface);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

/* ---------------------------------------------------------
   Thank you page (Section 22.8)
   --------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
  color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-size: 1.75rem;
  padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1rem; border-radius: 0.5rem;
}

/* ---------------------------------------------------------
   Cart / Account pages width parity (Section 13.7)
   --------------------------------------------------------- */
body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* ---------------------------------------------------------
   Responsive small helpers
   --------------------------------------------------------- */
@media (max-width: 767px) {
  .theme-cart-count { font-size: 10px; }
}

/* Clickable cursor on every interactive control */
a,
button,
[role="button"],
[data-cart-open],
[data-cart-close],
[data-cart-qty-update],
[data-cart-remove],
[data-cart-empty],
.shop-cat-filter,
.faq-item__question,
.theme-product-card__quick-view,
.related-products-section__view-all,
.site-footer__credit,
.page-404__link,
.theme-promo-banner button,
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
label {
  cursor: pointer;
}
