/* ==========================================================================
   Gravity Guitar — Main Theme CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --color-background:    #000000;
  --color-foreground:    #f0ece5;
  --color-card:          #0f0f0f;
  --color-primary:       #946842;
  --color-primary-fg:    #f8f5f2;
  --color-accent:        #c59a59;
  --color-accent-fg:     #000000;
  --color-secondary:     #1a1a1a;
  --color-muted:         #1f1f1f;
  --color-muted-fg:      #a3998f;
  --color-border:        #242424;
  --color-nopal:         #d1a86c;
  --color-teal:          #946842;
  --color-lilac:         #79543e;
  --color-marigold:      #d2a056;

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;

  --shadow-soft:     0 4px 24px -6px rgba(0,0,0,0.55);
  --shadow-elevated: 0 18px 50px -12px rgba(0,0,0,0.7);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --radius:     0.75rem;
  --btn-radius: 9999px;
  --btn-height: 52px;
  --btn-padding: 1rem 2.5rem;
  --btn-font-size:   0.6875rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;

  --header-height: 80px;
  --logo-height:   52px;

  --card-radius: 1rem;
  --checkout-gap: 2rem;
  --section-padding: 2rem;
}

/* --------------------------------------------------------------------------
   RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  line-height: 1;
}

a { color: inherit; text-decoration: none; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card__img):not(.maker-section__img):not(.cta-band__img):not(.theme-product-gallery__desktop-img):not(.product-main-img-el):not(.theme-product-thumb__img):not(.cart-drawer__item-img):not(.footer-logo) {
  max-width: 100%;
  height: auto;
}

.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.font-semibold { font-weight: 600; }

/* --------------------------------------------------------------------------
   LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

/* --------------------------------------------------------------------------
   BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  padding: var(--btn-padding);
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.btn-outline:hover {
  background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
  border-color: var(--color-foreground);
}

.btn-outline--nopal {
  color: var(--color-nopal);
  border-color: var(--color-nopal);
}
.btn-outline--nopal:hover {
  background-color: var(--color-nopal);
  color: var(--color-background);
}

.btn-outline--teal {
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.btn-outline--teal:hover {
  background-color: var(--color-teal);
  color: var(--color-primary-fg);
}

/* Hero CTAs — sentence case per source */
.btn-hero-primary,
.btn-hero-outline { text-transform: none; letter-spacing: 0.28em; }

/* CTA band buttons */
.btn-cta-primary {
  background-color: var(--color-accent-fg);
  color: var(--color-accent);
  border-color: var(--color-accent-fg);
}
.btn-cta-primary:hover { opacity: 0.88; }

.btn-cta-outline {
  background-color: transparent;
  color: var(--color-accent-fg);
  border-color: color-mix(in srgb, var(--color-accent-fg) 70%, transparent);
}
.btn-cta-outline:hover {
  background-color: color-mix(in srgb, var(--color-accent-fg) 10%, transparent);
  border-color: var(--color-accent-fg);
}

/* --------------------------------------------------------------------------
   LINK UNDERLINE
   -------------------------------------------------------------------------- */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   EYEBROW
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow--teal   { color: var(--color-teal); }
.eyebrow--nopal  { color: var(--color-nopal); }

/* --------------------------------------------------------------------------
   ANIMATIONS / REVEAL
   -------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes revealUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in  { animation: fadeIn  0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll reveal */
.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: none;
}

/* Customizer preview fallback */
.is-customizer .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
/* ==========================================================================
   ANNOUNCEMENT BAR (matches Lovable AnnouncementBar.tsx)
   ========================================================================== */
.announcement-bar {
  position: relative;
  width: 100%;
  background-color: var(--color-nopal);
  color: var(--color-background);
}
.announcement-bar.is-hidden {
  display: none;
}
.announcement-bar__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}
.announcement-bar__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.25;
}
.announcement-bar__dismiss {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  line-height: 0;
}
.announcement-bar__dismiss:hover {
  opacity: 1;
}
.announcement-bar__dismiss svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-background);
  border-top: 2px solid color-mix(in srgb, var(--color-lilac) 40%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled,
.site-header.mobile-open {
  border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}

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

/* Left nav (desktop) */
.site-nav__left {
  display: none;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}
@media (min-width: 1024px) { .site-nav__left { display: flex; } }

/* Logo (center) */
.site-nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.site-nav__logo a { display: flex; align-items: center; }
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  line-height: var(--logo-height);
  display: block;
}

/* Right nav */
.site-nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex: 1;
}
.site-nav__right-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .site-nav__right-links { display: flex; } }

/* Nav links */
.site-nav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.2s ease;
  cursor: pointer;
}
.site-nav__link:hover { color: var(--color-foreground); }

/* Cart button */
.site-nav__cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  transition: border-color 0.2s ease;
}
.site-nav__cart-btn:hover { border-color: var(--color-foreground); }

.theme-cart-count {
  display: block;
  font-size: 0.8125rem;
  line-height: 1;
}

.cart-icon-bag { position: absolute; opacity: 0; }

/* Mobile toggle */
.site-nav__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  margin-left: -0.5rem;
  transition: opacity 0.2s ease;
}
.site-nav__mobile-toggle:hover { opacity: 0.6; }
@media (min-width: 1024px) { .site-nav__mobile-toggle { display: none; } }

.site-nav__mobile-toggle .icon-close { display: none; }
.site-nav__mobile-toggle.is-open .icon-menu { display: none; }
.site-nav__mobile-toggle.is-open .icon-close { display: block; }

/* Mobile menu */
.site-nav__mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}
.site-nav__mobile-menu.is-open { display: block; }

.site-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav__mobile-link {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.2s ease;
}
.site-nav__mobile-link:hover { color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   CONTACT MODAL
   -------------------------------------------------------------------------- */
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.contact-modal.is-open { display: flex; }

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  cursor: pointer;
}

.contact-modal__content {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  animation: slideUp 0.3s var(--transition-smooth);
}

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  padding: 0.25rem;
  transition: opacity 0.2s ease;
}
.contact-modal__close:hover { opacity: 0.6; }

.contact-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.contact-modal__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-bottom: 1rem;
}

.contact-modal__contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

.contact-modal__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
  font-family: var(--font-body);
}
.contact-modal__contact-link:hover { color: var(--color-foreground); }

.contact-modal__fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .contact-modal__fields-row { grid-template-columns: 1fr; } }

.contact-modal__field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.contact-modal__field label {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
}
.contact-modal__field input,
.contact-modal__field textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-modal__field input::placeholder,
.contact-modal__field textarea::placeholder { color: var(--color-muted-fg); }
.contact-modal__field input:focus,
.contact-modal__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.contact-modal__field textarea { resize: none; }

.contact-modal__actions { display: flex; justify-content: flex-end; }

.contact-modal__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  border: none;
  border-radius: var(--btn-radius);
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.contact-modal__submit:hover { opacity: 0.85; }
.contact-modal__submit:disabled { opacity: 0.6; cursor: wait; }

.contact-modal__success {
  text-align: center;
  padding: 2rem 0;
}
.contact-modal__success-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-primary-fg);
  animation: scaleIn 0.4s var(--transition-smooth);
}
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }

.contact-modal__success h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.contact-modal__success p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section { background-color: var(--color-background); }

.hero-section__media {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-section__video {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
  pointer-events: none;
}

.hero-section__gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.80), rgba(0,0,0,0.20), transparent);
  pointer-events: none;
}

.hero-section__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-section__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 64rem;
  padding: 0 0.5rem;
}

.hero-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--color-foreground);
  line-height: 0.98;
  letter-spacing: -0.015em;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
}

.hero-section__subtitle {
  margin-top: 1.5rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  font-family: var(--font-body);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }

.hero-section__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-section__ctas { flex-direction: row; justify-content: center; }
}

.btn-hero-primary {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.btn-hero-outline {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  padding: 1rem 2rem;
}

/* --------------------------------------------------------------------------
   CATEGORY STRIP
   -------------------------------------------------------------------------- */
.cat-strip-section { background-color: var(--color-background); }
.cat-strip-section .container-wide { padding-top: 4rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .cat-strip-section .container-wide { padding-top: 5rem; padding-bottom: 6rem; } }

.cat-strip-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.cat-strip-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  margin-top: 0.75rem;
}
@media (min-width: 768px) { .cat-strip-section__heading { font-size: 2.25rem; } }

.cat-strip-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  justify-items: center;
  padding: 1.5rem 0 1rem;
}
@media (min-width: 640px) {
  .cat-strip-section__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}
@media (min-width: 768px) { .cat-tile { gap: 1rem; } }

.cat-tile__circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
@media (min-width: 640px) { .cat-tile__circle { width: 96px; height: 96px; } }
@media (min-width: 768px) { .cat-tile__circle { width: 112px; height: 112px; } }

.cat-tile:hover .cat-tile__circle { transform: scale(1.05); }

.cat-tile--marigold { background-color: color-mix(in srgb, var(--color-marigold) 80%, transparent); }
.cat-tile--nopal    { background-color: color-mix(in srgb, var(--color-nopal)    60%, transparent); }
.cat-tile--lilac    { background-color: color-mix(in srgb, var(--color-lilac)    80%, transparent); }
.cat-tile--teal     { background-color: color-mix(in srgb, var(--color-teal)     70%, transparent); }

.cat-tile__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  text-align: center;
  transition: color 0.2s ease;
}
@media (min-width: 768px) { .cat-tile__label { font-size: 0.875rem; } }
.cat-tile:hover .cat-tile__label { color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   FEATURED PIECES
   -------------------------------------------------------------------------- */
.featured-section { background-color: var(--color-background); }
.featured-section .container-wide { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .featured-section .container-wide { padding-top: 4rem; padding-bottom: 6rem; } }

.featured-section__header { text-align: center; margin-bottom: 3.5rem; }
.featured-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  margin-top: 0.75rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .featured-section__heading { font-size: 3rem; } }

.featured-section__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-section__cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--color-background);
  padding: 6rem 0;
}
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }

.about-section__video-wrap {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 42vh;
  min-height: 280px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .about-section__video-wrap { height: 55vh; } }

.about-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.about-section__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.30);
  pointer-events: none;
}

.about-section__text-wrap {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .about-section__text-wrap { padding: 0 3.5rem; } }
@media (min-width: 1024px) { .about-section__text-wrap { padding: 0 5rem; } }

.about-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--color-foreground);
  margin: 1.5rem 0 2.5rem;
}
@media (min-width: 768px) { .about-section__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 2.5rem; } }

.about-section__body {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }

.about-section__cta {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-foreground);
}

/* --------------------------------------------------------------------------
   MAKER SECTION
   -------------------------------------------------------------------------- */
.maker-section {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .maker-section { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.maker-section__image-col {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
@media (min-width: 768px) { .maker-section__image-col { min-height: 460px; } }
@media (min-width: 1024px) { .maker-section__image-col { min-height: 560px; } }

.maker-section__img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.40), transparent, transparent);
  pointer-events: none;
}

.maker-section__text-col {
  display: flex;
  align-items: center;
  background-color: var(--color-background);
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .maker-section__text-col { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .maker-section__text-col { padding: 6rem 5rem 6rem 6rem; } }

.maker-section__text-inner { max-width: 36rem; }

.maker-section__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  margin: 1.25rem 0 2rem;
}
@media (min-width: 768px) { .maker-section__quote { font-size: 1.5rem; } }

.maker-section__body {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.maker-section__link { text-decoration: underline; text-underline-offset: 4px; }
.maker-section__body a { text-decoration: underline; text-underline-offset: 4px; color: inherit; }
.maker-section__link:hover,
.maker-section__body a:hover { color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section { background-color: #000; }
.services-section .container-wide { padding-top: 5rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .services-section .container-wide { padding-top: 6rem; padding-bottom: 8rem; } }

.services-section__header { text-align: center; margin-bottom: 4rem; }
.services-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-top: 1rem;
}
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }

.services-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 640px) { .services-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.7);
  border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-accent-teal   { color: var(--color-teal); }
.service-accent-nopal  { color: var(--color-nopal); }
.service-accent-lilac  { color: var(--color-lilac); }
.service-accent-marigold { color: var(--color-marigold); }

.service-card__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.service-card__kicker {
  margin: -0.35rem 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-nopal);
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-card__cta {
  margin-top: auto;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-nopal);
  transition: color 0.2s ease;
}
.service-card__cta:hover { color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   SHOP SECTION
   -------------------------------------------------------------------------- */
.shop-section { background-color: var(--color-background); }
.shop-section .container-wide { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .shop-section .container-wide { padding-top: 4rem; padding-bottom: 7rem; } }

.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }

/* Search + filters row */
.shop-section__filters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .shop-section__filters {
    flex-direction: row;
    align-items: center;
  }
}

.shop-search-wrap {
  position: relative;
  flex: 1;
  width: 100%;
}
.shop-search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
}
.shop-search-input {
  width: 100%;
  padding: 0.5rem 0 0.5rem 1.5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  border-radius: 0;
}
.shop-search-input:focus {
  outline: none;
  border-bottom-color: var(--color-foreground);
}
.shop-search-input::placeholder { color: var(--color-muted-fg); }

.shop-price-filter-wrap { position: relative; width: 100%; flex-shrink: 0; }
@media (min-width: 768px) { .shop-price-filter-wrap { width: auto; } }

.shop-price-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
.shop-price-toggle:hover { color: var(--color-foreground); }

.shop-price-range-display { opacity: 0.7; font-size: 0.75rem; letter-spacing: normal; text-transform: none; }

.price-filter-chevron { transition: transform 0.3s ease; }
.shop-price-toggle[aria-expanded="true"] .price-filter-chevron { transform: rotate(180deg); }

.shop-price-panel {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto 1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.shop-price-panel.is-open {
  max-height: 120px;
  opacity: 1;
}

/* Price range slider */
.price-range-wrapper {
  position: relative;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.range-track-bg,
.range-track-fill {
  position: absolute;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 2px;
}
.range-track-bg  { left: 0; right: 0; width: 100%; background: var(--color-border); }
.range-track-fill {
  left: 0;
  right: auto;
  width: 0;
  max-width: 100%;
  background: var(--color-primary);
}

.range-input {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-primary-fg);
  cursor: pointer;
}
.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-primary-fg);
  cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-top: 0.5rem;
}

/* Category pills */
.shop-section__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.shop-cat-pill {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.shop-cat-pill:hover { border-color: var(--color-lilac); color: var(--color-nopal); }
.shop-cat-pill.is-active {
  background-color: var(--color-teal);
  color: var(--color-background);
  border-color: var(--color-teal);
}

/* Product grid */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .theme-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .theme-product-grid { gap: 2.5rem; }
}

.shop-section__no-results-msg { text-align: center; padding: 5rem 0; }
.shop-section__no-results { text-align: center; padding: 1rem; color: var(--color-muted-fg); }

.shop-section__load-more { text-align: center; margin-top: 3rem; }

/* --------------------------------------------------------------------------
   PRODUCT CARD
   -------------------------------------------------------------------------- */
.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-product-card__image-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-card);
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  margin-bottom: 1.25rem;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.75);
}

.theme-product-card__img {
  transition: transform 0.8s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.06); }

.theme-product-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.theme-product-card__badge--sold-out {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.theme-product-card__gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.theme-product-card:hover .theme-product-card__gradient { opacity: 1; }

.theme-product-card__atc {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  width: auto;
  display: block;
  padding: 0.75rem;
  border-radius: var(--btn-radius);
  background-color: var(--color-primary);
  color: var(--color-primary-fg);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  pointer-events: none;
}
.theme-product-card:hover .theme-product-card__atc,
.theme-product-card__atc:focus-visible {
  pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__atc {
  opacity: 1;
  transform: translateY(0);
}
.theme-product-card__atc:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }

.theme-product-card__info-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.theme-product-card__info {
  padding: 0 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.theme-product-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-fg);
}

.theme-product-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-foreground);
  transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }

.theme-product-card__price {
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}

/* Card hover — lift */
.theme-product-card:hover { transform: translateY(-4px); transition: transform 0.3s ease; }

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
}
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1fr 1fr; } }

.cta-band__image-col {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
@media (min-width: 1024px) { .cta-band__image-col { min-height: 480px; } }

.cta-band__text-col {
  position: relative;
  background-color: var(--color-accent);
  color: var(--color-accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}
@media (min-width: 768px) { .cta-band__text-col { padding: 6rem 4rem; } }

.cta-band__text-inner { max-width: 28rem; text-align: center; }

.cta-band__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-accent-fg) 75%, transparent);
  margin-bottom: 1.25rem;
}

.cta-band__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  color: var(--color-accent-fg);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .cta-band__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__heading { font-size: 3.75rem; } }

.cta-band__body {
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-accent-fg) 90%, transparent);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-band__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .cta-band__ctas { flex-direction: row; justify-content: center; } }

.btn-cta-primary { font-size: 0.6875rem; letter-spacing: 0.18em; padding: 0.875rem 2rem; white-space: nowrap; text-transform: uppercase; }
.btn-cta-outline  { font-size: 0.6875rem; letter-spacing: 0.18em; padding: 0.875rem 2rem; white-space: nowrap; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #000;
  border-top: 1px solid var(--color-border);
}
.site-footer .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 5rem; padding-bottom: 5rem; } }

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .site-footer__brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__logo-link { flex-shrink: 0; }
.footer-logo { height: 80px !important; }
@media (min-width: 640px) { .footer-logo { height: 96px !important; } }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-foreground);
}

.site-footer__brand-info { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__brand-info { text-align: right; } }

.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  line-height: 1.6;
}

.site-footer__contact-line {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__dot {
  margin: 0 0.5rem;
  color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1rem;
}
@media (min-width: 768px) {
  .site-footer__cols { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 3rem; }
}

.site-footer__col--reach { grid-column: span 2; }
@media (min-width: 768px) { .site-footer__col--reach { grid-column: span 1; } }

.site-footer__col-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
}

.site-footer__col-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.site-footer__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  transition: color 0.2s ease;
  cursor: pointer;
  display: inline-block;
  background: none; border: none; padding: 0;
}
.site-footer__link:hover { color: var(--color-foreground); }

.site-footer__reach-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.site-footer__reach-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.site-footer__reach-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.2s ease;
}
.site-footer__reach-link:hover { color: var(--color-foreground); }

.site-footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--color-nopal);
  letter-spacing: 0.05em;
}

.site-footer__credits {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  letter-spacing: 0.05em;
}
.site-footer__credits-link {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.site-footer__credits-link:hover { color: var(--color-foreground); }

/* --------------------------------------------------------------------------
   CART DRAWER
   -------------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--color-foreground) 20%, 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-color: var(--color-background);
  z-index: 70;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }

#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.cart-drawer__close {
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  padding: 0.25rem;
  transition: opacity 0.2s ease;
}
.cart-drawer__close:hover { opacity: 0.6; }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.cart-drawer__empty-icon { color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--color-muted-fg); margin-bottom: 1.5rem; font-size: 0.875rem; }

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-drawer__item { display: flex; gap: 1rem; }

.cart-drawer__item-img-link {
  width: 5rem;
  height: 6rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-secondary);
  display: flex;
}
.cart-drawer__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-drawer__item-info { flex: 1; min-width: 0; }

.cart-drawer__item-name {
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease;
}
.cart-drawer__item-name:hover { opacity: 0.7; }

.cart-drawer__item-price {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-top: 0.125rem;
}

.cart-drawer__item-attrs {
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.cart-drawer__item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-drawer__qty-btn {
  padding: 0.25rem;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 0.25rem;
}
.cart-drawer__qty-btn:hover { background-color: var(--color-secondary); }

.cart-drawer__qty-display {
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
}

.cart-drawer__remove {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.cart-drawer__remove:hover { color: var(--color-foreground); }

.cart-drawer__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.cart-drawer__subtotal-label { color: var(--color-muted-fg); }
.cart-drawer__subtotal-value { font-weight: 500; }

.cart-drawer__free-ship {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

.cart-drawer__checkout {
  display: block;
  width: 100%;
  text-align: center;
}

.cart-drawer__empty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   -------------------------------------------------------------------------- */
.single-product-main { padding-top: 0; }
.inner-page-main { padding-top: 0; }
.theme-no-hero .site-main { padding-top: 0; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  flex-wrap: wrap;
}
.product-breadcrumb__link { transition: color 0.2s ease; }
.product-breadcrumb__link:hover { color: var(--color-foreground); }
.product-breadcrumb__sep { opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 6rem;
  padding-top: 1rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }
}

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }

.theme-product-gallery__mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery__mobile { display: none; } }

.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) {
  .theme-product-gallery__desktop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.theme-product-gallery__main-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-card);
}

.product-main-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.theme-product-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.theme-product-thumb {
  position: relative;
  width: 5rem; height: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-card);
  border: none;
  cursor: pointer;
  padding: 0;
}
.theme-product-thumb__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
  opacity: 0.6;
}
.theme-product-thumb.is-active .theme-product-thumb__img,
.theme-product-thumb:hover .theme-product-thumb__img { opacity: 1; }
.theme-product-thumb__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-foreground);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.theme-product-thumb.is-active .theme-product-thumb__bar { opacity: 1; }

.theme-product-gallery__desktop-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-card);
}
.theme-product-gallery__desktop-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Product info */
.theme-product-info {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .theme-product-info {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

.product-cats {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.75rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-title {
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 1.1;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }

.product-price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}
.product-price .woocommerce-Price-amount { font-size: inherit; }

.product-stock {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
}
.product-stock--in  { background: color-mix(in srgb, var(--color-teal) 20%, transparent); color: var(--color-nopal); }
.product-stock--out { background: color-mix(in srgb, var(--color-foreground) 15%, transparent); color: var(--color-muted-fg); }

.product-description {
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.2s ease;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }

.theme-qty-input {
  width: 2.75rem;
  min-height: 2.75rem;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  -moz-appearance: textfield;
}
.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-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: 52px !important;
  padding: 1rem 2rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.88 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !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-foreground) !important;
}

/* Single product — override to use primary */
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  flex: 1 1 auto;
  min-width: 160px;
  text-transform: uppercase !important;
}

/* Suppress WooCommerce spinner on loading state */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

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

/* Card compact button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0.75rem !important;
  display: block !important;
  width: auto !important;
  left: 1rem !important;
  right: 1rem !important;
  border-radius: var(--btn-radius) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  letter-spacing: 0.22em !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.theme-product-card__atc--link {
  text-decoration: none;
  color: var(--color-primary-fg) !important;
}

/* Variation attrs */
.theme-attr-select-hidden { display: none !important; }

.theme-attr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.theme-attr-pill {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-attr-pill.is-selected {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* 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.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-style: normal;
  font-weight: 600;
}
.single-product .variations label { font-family: var(--font-body) !important; font-weight: 600 !important; font-style: normal !important; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.5rem; }

/* Product accordions */
.product-details-accordion {
  border-top: 1px solid var(--color-border);
  margin-top: 0;
}
.product-accordion-border { border-top: 1px solid var(--color-border); }

.product-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  color: var(--color-foreground);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: left;
}

.accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.product-accordion-toggle[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.product-accordion-body {
  padding-bottom: 1.5rem;
}

.product-short-desc,
.product-shipping-info {
  color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  font-size: 0.9375rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: break-word;
}
.product-short-desc p,
.product-shipping-info p { margin-bottom: 0.75rem; }
.product-short-desc ul { padding-left: 1rem; }
.product-short-desc li::before {
  content: '';
  display: inline-block;
  width: 0.25rem; height: 0.25rem;
  background: var(--color-foreground);
  border-radius: 50%;
  margin-right: 0.75rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Related products */
.related-products-section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__you-may {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
.related-products-section__heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
}
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

.related-products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* WooCommerce notice visibility */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* WooCommerce notices on other pages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
.woocommerce-message { background: color-mix(in srgb, var(--color-primary) 20%, transparent); border-left: 4px solid var(--color-primary); }
.woocommerce-info    { background: color-mix(in srgb, var(--color-teal) 15%, transparent); border-left: 4px solid var(--color-teal); }
.woocommerce-error   { background: color-mix(in srgb, #e53e3e 15%, transparent); border-left: 4px solid #e53e3e; }

/* --------------------------------------------------------------------------
   SHOP ARCHIVE PAGE
   -------------------------------------------------------------------------- */
.shop-archive-main { padding-bottom: 4rem; }

.shop-archive__header {
  padding: 2rem 0 2rem;
  text-align: center;
}
.shop-archive__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
}

.shop-archive__grid { margin-bottom: 3rem; }

/* WooCommerce pagination */
.woocommerce-pagination ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.woocommerce-pagination a:hover { border-color: var(--color-primary); }
.woocommerce-pagination .current { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }

/* --------------------------------------------------------------------------
   CHECKOUT PAGE
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: 0; padding-bottom: 4rem; }

body.woocommerce-checkout .page-title-wrap {
  padding-top: 2rem;
  padding-bottom: 1rem;
}
body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

body.woocommerce-checkout main .entry-content.container-wide {
  max-width: 1280px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

body.woocommerce-checkout .entry-content.container-wide .wc-block-checkout {
  max-width: 100%;
}

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

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.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-checkout__sidebar {
  background-color: var(--color-card);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}

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 {
  background-color: var(--color-background) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  width: 100% !important;
  max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.88 !important; }

/* --------------------------------------------------------------------------
   THANK YOU PAGE
   -------------------------------------------------------------------------- */
.thankyou-wrap { padding: 2rem 0 4rem; }

body.theme-thankyou-page .site-main { padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order { max-width: 800px; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-card);
  border-radius: var(--card-radius);
  margin-bottom: 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
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 overflow-x: hidden;

/* --------------------------------------------------------------------------
   404 PAGE
   -------------------------------------------------------------------------- */
.not-found-wrap {
  padding: 6rem 0;
  text-align: center;
}
.not-found__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  margin: 1rem 0 1.5rem;
}
.not-found__body {
  font-family: var(--font-body);
  color: var(--color-muted-fg);
  margin-bottom: 2rem;
}
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   PAGE TITLE (inner pages)
   -------------------------------------------------------------------------- */
.page-title-wrap { padding: 2rem 0 1rem; }
.page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   WOOCOMMERCE BUTTON LOADING STATE (Section 31.8)
   -------------------------------------------------------------------------- */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* --------------------------------------------------------------------------
   CUSTOMIZER CONTROLS CSS (inline)
   -------------------------------------------------------------------------- */
/* NOTE: customizer-controls.css handles the panel UI */
