/* =========================================================================
   8th Wonder Apparel theme styles.
   ========================================================================= */

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

  --radius: 0.75rem;
  --card-radius: 1rem;
  --shadow-soft: 0 4px 20px -4px rgba(0,0,0,0.5);
  --shadow-elevated: 0 8px 40px -8px rgba(0,0,0,0.7);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: 9999px;
  --btn-height: 3rem;
  --btn-padding: 0.875rem 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;
  --color-button-text: var(--primary-foreground, #110f0e);
  --header-height: 112px;
  --checkout-gap: 2.5rem;

  --primary-foreground: color-mix(in srgb, var(--background) 100%, transparent);
  --accent-foreground: color-mix(in srgb, var(--background) 100%, transparent);
  --secondary-foreground: var(--foreground);
  --card-foreground: var(--foreground);
  --muted: color-mix(in srgb, var(--secondary) 80%, black 8%);
  --input: var(--border);
  --ring: var(--primary);
}

*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.015em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  margin: 0;
}
h1, h2 { font-style: italic; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; }

img:not(.cover-img):not(.theme-product-card__img):not(.wp-post-image):not(.theme-cart-drawer__item-image img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.theme-product-card__img,
.theme-product-card__image-wrapper img,
.theme-cart-drawer__item-image img,
.theme-product-main-image img,
.theme-product-thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.cover-img,
.theme-product-card__img {
  position: absolute;
  inset: 0;
}

.container-wide {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

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

/* =========================================================================
   REVEAL / SCROLL ANIMATIONS (Section 2.1)
   ========================================================================= */

.reveal-item,
.theme-product-card-wrap.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25,0.4,0.25,1), transform 0.7s cubic-bezier(0.25,0.4,0.25,1);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes theme-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes theme-spin { to { transform: rotate(360deg); } }

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

.press { transition: transform 0.15s ease-out; }
.press:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .press, .theme-marquee__track, .shimmer-bg { transition: none !important; animation: none !important; }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */

.theme-btn-primary,
.theme-btn-accent,
.theme-btn-outline,
.theme-btn-outline-primary,
.theme-btn-ghost,
.theme-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  transition: all 0.2s var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.theme-btn-primary { background-color: var(--primary); color: var(--primary-foreground); }
.theme-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.theme-btn-accent { background-color: var(--accent); color: var(--accent-foreground); }
.theme-btn-accent:hover { opacity: 0.9; transform: translateY(-1px); }
.theme-btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.theme-btn-outline-primary:hover { background-color: var(--primary); color: var(--primary-foreground); transform: translateY(-1px); }
.theme-btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.theme-btn-outline:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-btn-ghost { background-color: color-mix(in srgb, var(--background) 70%, transparent); color: var(--foreground); border-color: color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-btn-ghost:hover { background-color: var(--background); transform: translateY(-1px); }
.theme-btn-hero-outline { border-color: rgba(255,255,255,0.8); color: #fff; text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px; }
.theme-btn-hero-outline:hover { background-color: rgba(255,255,255,0.15); border-color: #fff; }

.theme-link-underline {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
}
.theme-link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}
.theme-eyebrow--primary { color: var(--primary); font-weight: 600; }

.theme-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section { padding-top: 6rem; padding-bottom: 6rem; } }
.services-section,
.story-section { background-color: var(--card); }

/* Section side padding on mobile/tablet (matches Lovable px-6 container inset) */
@media (max-width: 1023px) {
  .section-pad-categories,
  .section-pad-featured,
  .section-pad-about,
  .section-pad-services,
  .section-pad-story,
  .section-pad-shop,
  .section-pad-faq {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .section-pad-categories > .container-wide,
  .section-pad-featured > .container-wide,
  .section-pad-about > .container-wide,
  .section-pad-services > .container-wide,
  .section-pad-story > .container-wide,
  .section-pad-shop > .container-wide,
  .section-pad-faq > .container-wide {
    padding-left: 0;
    padding-right: 0;
  }
}

.theme-section__header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-section__desc { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-size: 1rem; margin-top: 1rem; }
.theme-section__cta { text-align: center; margin-top: 3.5rem; }

/* Per-section heading scales (Section 2.2) */
.section-heading { font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.categories-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .categories-heading { font-size: 2.25rem; } }
.featured-heading, .shop-heading, .faq-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .featured-heading, .shop-heading, .faq-heading { font-size: 3rem; } }
.about-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--foreground);
  margin: 0 0 2rem;
}
.about-heading em { font-style: italic; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 2.5rem; } }
.offerings-heading, .story-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .offerings-heading, .story-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .offerings-heading, .story-heading { font-size: 3.75rem; } }

/* =========================================================================
   HEADER
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  width: 100%;
  transition: all 0.3s ease;
  background: transparent;
}
.site-header.is-solid {
  background-color: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.site-header__inner { }
.site-header:not(.is-solid) .site-header__inner { border-bottom: none; }
.site-header.is-solid .site-header__inner { border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }

.site-nav {
  display: flex;
  align-items: center;
  height: 5rem;
}
@media (min-width: 768px) { .site-nav { height: 7rem; } }

.site-nav__side { display: none; flex: 1; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav__side { display: flex; } }
.site-nav__side--left { justify-content: flex-end; }
.site-nav__side--right { justify-content: flex-start; }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list > li { list-style: none; }
.theme-nav-link,
.theme-nav-list > li > a,
.theme-nav-list > a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
  display: inline-block;
}
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list > li > a,
.site-header:not(.is-solid) .theme-nav-list > a { color: rgba(255,255,255,0.9); }
.theme-nav-link:hover,
.theme-nav-list > li > a:hover,
.theme-nav-list > a:hover { color: var(--primary); transform: translateY(-2px); }
.site-header:not(.is-solid) .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list > li > a:hover,
.site-header:not(.is-solid) .theme-nav-list > a:hover { color: #fff; }

.site-logo { display: none; align-items: center; justify-content: center; flex-shrink: 0; }
@media (min-width: 1024px) {
  .site-logo { display: flex; padding-left: 12.5rem; padding-right: 12.5rem; }
}
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}
.site-logo:hover .site-logo-img { transform: scale(1.03); }
.site-logo-text { line-height: var(--logo-height); font-family: var(--font-display); font-size: 1.5rem; font-style: italic; display: block; }

.theme-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.site-header:not(.is-solid) .theme-cart-btn { border-color: rgba(255,255,255,0.4); color: #fff; }
.site-header:not(.is-solid) .theme-cart-btn:hover { border-color: #fff; color: #fff; transform: scale(1.05); }
.theme-cart-btn:hover { border-color: var(--primary); color: var(--primary); transform: scale(1.05); }
.theme-cart-icon { width: 1rem; height: 1rem; }
.theme-cart-count {
  position: absolute;
  top: -0.375rem; right: -0.375rem;
  font-size: 10px; font-weight: 600;
  border-radius: 9999px;
  min-width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.theme-cart-count:empty { display: none; }

.site-nav__mobile-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; }
@media (min-width: 1024px) { .site-nav__mobile-bar { display: none; } }
.site-nav__mobile-bar .site-logo { display: flex; padding: 0; }
.site-logo--small .site-logo-img { height: 3.5rem !important; }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-menu-toggle { padding: 0.5rem; margin-right: -0.5rem; transition: opacity 0.2s ease; }
.theme-menu-toggle:hover { opacity: 0.6; }
.theme-menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.theme-menu-toggle .icon-menu,
.theme-menu-toggle .icon-close { display: inline-flex; align-items: center; justify-content: center; }
.theme-menu-toggle .icon-close { display: none; }
.theme-menu-toggle.is-open .icon-menu { display: none; }
.theme-menu-toggle.is-open .icon-close { display: inline-flex; }
.site-header:not(.is-solid) .theme-menu-toggle { color: #fff; }

.theme-mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.theme-mobile-menu.is-open {
  display: flex;
  animation: theme-fade-in 0.3s var(--transition-smooth, ease) forwards;
}
.theme-mobile-menu__link,
.theme-mobile-menu li > a,
.theme-mobile-menu .theme-nav-list > a,
.theme-mobile-menu .theme-nav-list > li > a {
  display: block;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  transition: color 0.2s ease;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  cursor: pointer;
}
.theme-mobile-menu .theme-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.theme-mobile-menu .theme-mobile-menu__list,
.theme-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-mobile-menu__link:hover,
.theme-mobile-menu li > a:hover,
.theme-mobile-menu .theme-nav-list > a:hover,
.theme-mobile-menu .theme-nav-list > li > a:hover { color: var(--primary); }
.theme-mobile-menu li { list-style: none; }

/* =========================================================================
   HERO
   ========================================================================= */

.theme-hero { margin-top: -5rem; }
@media (min-width: 768px) { .theme-hero { margin-top: -7rem; } }
body.theme-no-hero .theme-hero { display: none; }

.theme-hero__media-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: #000;
  padding-top: 5rem;
}
@media (min-width: 768px) { .theme-hero__media-wrap { padding-top: 7rem; } }

.theme-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  opacity: 0.9;
}
.theme-hero__radial-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.55) 100%);
}
.theme-hero__gradient-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 60%, color-mix(in srgb, var(--primary) 20%, transparent) 100%);
}
.theme-hero__content-wrap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.theme-hero__content {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  max-width: 64rem; margin: 0 auto; padding: 0 0.5rem; position: relative;
}
.theme-hero__eyebrow {
  display: block; font-size: 12px; text-transform: uppercase; color: #fff; font-weight: 600;
  letter-spacing: 0.4em; margin-bottom: 1.5rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.theme-hero__title {
  font-family: var(--font-display);
  font-weight: 400; font-style: italic; color: #fff;
  line-height: 0.98; letter-spacing: -0.02em;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  text-shadow: 0 4px 22px rgba(0,0,0,0.5);
  margin: 0;
}
.theme-hero__description {
  margin-top: 1.5rem; max-width: 36rem; color: #fff; font-size: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .theme-hero__description { font-size: 1.125rem; } }
.theme-hero__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; } }
.theme-hero__ctas .theme-btn-accent { padding: 1rem 2.5rem; font-size: 11px; letter-spacing: 0.28em; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.theme-hero__ctas .theme-btn-hero-outline { padding: 1rem 2rem; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.theme-hero__scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7);
}
.theme-hero__scroll-cue span:first-child { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-hero__scroll-line { display: block; width: 1px; height: 2rem; background: rgba(255,255,255,0.6); animation: theme-scroll-cue 1.8s ease-in-out infinite; }
@keyframes theme-scroll-cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =========================================================================
   MARQUEE
   ========================================================================= */

.theme-marquee {
  background-color: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
}
.theme-marquee__track {
  padding: 1.25rem 0;
  display: flex;
  white-space: nowrap;
  animation: theme-marquee 32s linear infinite;
  width: max-content;
}
@media (min-width: 768px) { .theme-marquee__track { padding: 1.5rem 0; } }
.theme-marquee__item {
  margin: 0 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .theme-marquee__item { font-size: 2.25rem; margin: 0 3rem; gap: 3rem; } }
.theme-marquee__item .theme-icon { width: 1rem; height: 1rem; opacity: 0.7; }
@media (min-width: 768px) { .theme-marquee__item .theme-icon { width: 1.25rem; height: 1.25rem; } }

/* =========================================================================
   CATEGORY TILES
   ========================================================================= */

.theme-category-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  place-items: center;
  padding: 1.5rem 0 1rem;
}
@media (min-width: 768px) {
  .theme-category-tiles {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 2.5rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    scrollbar-width: none;
  }
}
.theme-category-tile { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .theme-category-tile { gap: 1rem; } }
.theme-category-tile__icon {
  width: 7rem; height: 7rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--secondary);
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 1.5rem;
  box-shadow: 0 0 0 2px transparent;
}
@media (min-width: 640px) { .theme-category-tile__icon { width: 8rem; height: 8rem; } }
@media (min-width: 768px) { .theme-category-tile__icon { width: 10rem; height: 10rem; padding: 2rem; } }
.theme-category-tile__icon .theme-icon { width: 100%; height: 100%; color: var(--primary); transition: transform 0.7s ease; }
.theme-category-tile:hover .theme-category-tile__icon { transform: scale(1.05); box-shadow: var(--shadow-elevated), 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.theme-category-tile:hover .theme-category-tile__icon .theme-icon { transform: scale(1.1) rotate(6deg); }
.theme-category-tile.is-active .theme-category-tile__icon { box-shadow: 0 0 0 2px var(--accent); }
.theme-category-tile__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
@media (min-width: 768px) { .theme-category-tile__label { font-size: 14px; } }
.theme-category-tile:hover .theme-category-tile__label { color: var(--foreground); }

/* =========================================================================
   PRODUCT GRID / CARD
   ========================================================================= */

.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; } }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; width: 100%; height: 100%; }
.theme-shop-grid-item { display: flex; width: 100%; }
.theme-shop-grid-item.is-hidden-extra { display: none; }
.theme-shop-grid-item.is-filtered-out { display: none !important; }

.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.theme-product-card__image-link {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.theme-product-card__image-link .theme-product-card__img,
.theme-product-card__image-link img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--card);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: transform 0.15s ease-out;
}
.theme-product-card-wrap:hover .theme-product-card__image-wrapper,
.theme-product-card:hover .theme-product-card__image-wrapper,
.theme-product-card__image-wrapper:hover { transform: translateY(-4px); }
.theme-product-card__img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card-wrap:hover .theme-product-card__img,
.theme-product-card:hover .theme-product-card__img,
.theme-product-card__image-wrapper:hover .theme-product-card__img { transform: scale(1.06); }

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

.theme-product-card .theme-product-card__add-btn,
.theme-product-card a.theme-product-card__add-btn,
.theme-product-card a.add_to_cart_button.theme-product-card__add-btn {
  position: absolute !important;
  left: 1rem !important;
  right: 1rem !important;
  bottom: 1rem !important;
  top: auto !important;
  z-index: 4 !important;
  min-height: unset !important;
  height: auto !important;
  padding: 0.75rem !important;
  border-radius: 9999px !important;
  border: 1px solid var(--teal) !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  background-color: var(--teal) !important;
  color: var(--background) !important;
  text-align: center;
  display: block !important;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
  pointer-events: auto !important;
  cursor: pointer;
}
.theme-product-card-wrap:hover .theme-product-card a.theme-product-card__add-btn,
.theme-product-card-wrap:hover .theme-product-card a.add_to_cart_button.theme-product-card__add-btn,
.theme-product-card:hover .theme-product-card a.theme-product-card__add-btn,
.theme-product-card:hover .theme-product-card a.add_to_cart_button.theme-product-card__add-btn,
.theme-product-card__image-wrapper:hover .theme-product-card a.theme-product-card__add-btn,
.theme-product-card__image-wrapper:hover .theme-product-card a.add_to_cart_button.theme-product-card__add-btn {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.theme-product-card .theme-product-card__add-btn:hover,
.theme-product-card a.add_to_cart_button.theme-product-card__add-btn:hover {
  background-color: var(--background) !important;
  color: var(--teal) !important;
  border-color: var(--teal) !important;
  opacity: 1 !important;
}
.theme-product-card .theme-product-card__add-btn.added,
.theme-product-card a.add_to_cart_button.theme-product-card__add-btn.added {
  background-color: var(--nopal) !important;
  border-color: var(--nopal) !important;
  color: var(--background) !important;
  opacity: 1 !important;
}

.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.theme-product-card__cat {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  margin: 0;
}
.theme-product-card__name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--foreground);
  transition: color 0.3s ease;
  min-width: 0;
  margin: 0;
}
@media (min-width: 768px) {
  .theme-product-card__name { font-size: 1.125rem; }
}
.theme-product-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.theme-product-card-wrap:hover .theme-product-card__name,
.theme-product-card-wrap:hover .theme-product-card__name a,
.theme-product-card:hover .theme-product-card__name,
.theme-product-card:hover .theme-product-card__name a { color: var(--primary); }
.theme-product-card__price {
  font-size: 1rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
.theme-product-card__price .price ins { text-decoration: none; }
.theme-product-card__price .price del { opacity: 0.5; margin-right: 0.375rem; }

/* =========================================================================
   ABOUT
   ========================================================================= */

.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-about__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.theme-about__image { position: relative; overflow: hidden; border-radius: var(--card-radius); min-height: 360px; }
@media (min-width: 768px) { .theme-about__image { min-height: 0; } }
.theme-about__image img { transition: transform 1.2s ease; }
.theme-about__image:hover img { transform: scale(1.05); }
.theme-about__content { display: flex; flex-direction: column; justify-content: center; }
.theme-about__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; font-size: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-about__paragraphs { font-size: 1.125rem; } }
.theme-about__content .theme-link-underline { align-self: flex-start; }

/* =========================================================================
   SERVICES
   ========================================================================= */

.theme-services-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-service-card {
  padding: 2rem;
  border-radius: var(--card-radius);
  background-color: var(--background);
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  transition: all 0.5s ease;
}
.theme-service-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-service-card__icon {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background-color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.5s ease;
}
.theme-service-card:hover .theme-service-card__icon { transform: scale(1.1); background-color: color-mix(in srgb, var(--accent) 10%, transparent); }
.theme-service-card__icon .theme-icon { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.theme-service-card__title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.35; }
@media (min-width: 768px) { .theme-service-card__title { font-size: 1.5rem; } }
.theme-service-card__body { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; font-size: 1rem; }

/* =========================================================================
   STORY TIMELINE
   ========================================================================= */

.theme-story-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
@media (min-width: 768px) { .theme-story-timeline { gap: 5rem; } }

.theme-story-timeline::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 2rem;
  border-left: 2px dotted color-mix(in srgb, var(--primary) 45%, transparent);
}
@media (min-width: 768px) {
  .theme-story-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.theme-story-step { position: relative; list-style: none; }

.theme-story-step__desktop { display: none; }
@media (min-width: 768px) {
  .theme-story-step__desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.theme-story-step__mobile { position: relative; padding-left: 5rem; }
@media (min-width: 768px) { .theme-story-step__mobile { display: none; } }

.theme-story-step__col--left { display: flex; justify-content: flex-end; padding-right: 1rem; }
.theme-story-step__col--right { display: flex; justify-content: flex-start; padding-left: 1rem; }

.theme-story-step__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated), 0 0 0 4px var(--card);
  z-index: 2;
  flex-shrink: 0;
}
.theme-story-step__desktop .theme-story-step__marker {
  position: relative;
  left: auto;
  top: auto;
  width: 5rem;
  height: 5rem;
  grid-column: 2;
  justify-self: center;
  box-shadow: var(--shadow-elevated), 0 0 0 8px var(--card);
}
.theme-story-step__marker span {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--font-body);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 2px;
}
.theme-story-step__desktop .theme-story-step__marker span { font-size: 10px; }
.theme-story-step__marker strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
}
.theme-story-step__desktop .theme-story-step__marker strong { font-size: 1.5rem; }

.theme-story-step__image {
  position: relative;
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  transition: transform 0.3s ease;
}
.theme-story-step__mobile .theme-story-step__image { margin-top: 1rem; }
.theme-story-step:hover .theme-story-step__image { transform: translateY(-4px) scale(1.02); }

.theme-story-step__content { max-width: 28rem; }
.theme-story-step__col--left .theme-story-step__content { text-align: right; }
.theme-story-step__content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  font-weight: 400;
}
@media (min-width: 768px) { .theme-story-step__content h3 { font-size: 1.75rem; } }
.theme-story-step__mobile .theme-story-step__content h3 { font-size: 1.25rem; }
.theme-story-step__content p {
  color: color-mix(in srgb, var(--foreground) 75%, transparent);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
}
@media (min-width: 768px) { .theme-story-step__content p { font-size: 1rem; } }
.theme-story-step__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--primary);
}
.theme-story-step__rule { width: 1.5rem; height: 1px; background-color: var(--primary); flex-shrink: 0; }
.theme-story-step__mobile .theme-story-step__rule { width: 1.25rem; }

/* =========================================================================
   SHOP SECTION
   ========================================================================= */

.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search .theme-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-shop-search input {
  width: 100%;
  padding: 0.5rem 0 0.5rem 1.75rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.theme-shop-search input:focus { border-color: var(--foreground); }

.theme-shop-pills {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  margin-bottom: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  justify-content: flex-start;
  scrollbar-width: none;
}
@media (min-width: 768px) {
  .theme-shop-pills {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
.theme-shop-pill {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 9999px; border: 1px solid var(--border);
  background: transparent; color: var(--foreground);
  transition: all 0.3s ease;
}
.theme-shop-pill:hover { border-color: var(--primary); color: var(--primary); }
.theme-shop-pill.is-active { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.theme-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter__toggle {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 65%, transparent);
  transition: color 0.3s ease;
}
.theme-price-filter__toggle:hover { color: var(--foreground); }
.theme-price-filter__toggle svg { transition: transform 0.3s ease; }
.theme-price-filter.is-open .theme-price-filter__toggle svg { transform: rotate(180deg); }
.theme-price-filter__value { opacity: 0.7; text-transform: none; letter-spacing: normal; font-size: 0.875rem; }
.theme-price-filter__panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: all 0.3s var(--transition-smooth); }
.theme-price-filter.is-open .theme-price-filter__panel { max-height: 12rem; opacity: 1; padding: 0.5rem 0; }
.theme-price-filter__labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-top: 0.75rem; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--border); }
.range-track-fill { background: var(--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(--primary);
  border: 2px solid var(--background);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
  margin-top: 0;
}
.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--background);
  cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 65%, transparent); }

/* =========================================================================
   DROPS BANNER
   ========================================================================= */

.theme-drops-banner {
  position: relative;
  width: 100%;
  height: 66.6667vh;
  min-height: 320px;
  overflow: hidden;
  background-color: var(--primary);
}
.theme-drops-banner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-drops-banner__radial-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.38) 60%, rgba(0,0,0,0.55) 100%); }
.theme-drops-banner__gradient-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3), rgba(0,0,0,0.1) 60%, transparent); }
.theme-drops-banner__content-wrap { position: relative; z-index: 10; height: 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.theme-drops-banner__content { max-width: 42rem; margin: 0 auto; text-align: center; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.theme-drops-banner__eyebrow { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 0.75rem; color: rgba(255,255,255,0.95); }
.theme-drops-banner__heading { font-size: 1.875rem; font-weight: 500; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-drops-banner__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-drops-banner__heading { font-size: 3.75rem; } }
.theme-drops-banner__desc { font-size: 1rem; margin-bottom: 2rem; color: rgba(255,255,255,0.95); }
@media (min-width: 768px) { .theme-drops-banner__desc { font-size: 1.125rem; } }
.theme-drops-banner__content .theme-btn-accent { padding: 0.875rem 1.75rem; box-shadow: var(--shadow-elevated); }

/* =========================================================================
   FAQ
   ========================================================================= */

.theme-faq__header { max-width: 42rem; }
.theme-faq__intro { color: color-mix(in srgb, var(--foreground) 75%, transparent); font-size: 1rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-faq__intro { font-size: 1.125rem; } }
.theme-faq__intro a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--foreground) 30%, transparent); }
.theme-faq__intro a:hover { text-decoration-color: var(--foreground); }

.theme-faq__tabs { display: none; flex-wrap: wrap; justify-content: center; gap: 0.625rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-faq__tabs { display: flex; } }
.theme-faq__tab {
  border-radius: 9999px; border: 1px solid var(--border);
  padding: 0.625rem 1.25rem;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  transition: all 0.2s ease;
  background: transparent; color: var(--foreground);
}
.theme-faq__tab:hover { transform: translateY(-2px); }
.theme-faq__tab--marigold { border-color: var(--marigold); }
.theme-faq__tab--marigold.is-active { background-color: var(--marigold); color: var(--foreground); }
.theme-faq__tab--lilac { border-color: var(--lilac); }
.theme-faq__tab--lilac.is-active { background-color: var(--lilac); color: var(--foreground); }
.theme-faq__tab--nopal { border-color: var(--nopal); color: var(--nopal); }
.theme-faq__tab--nopal.is-active { background-color: var(--nopal); color: var(--background); }
.theme-faq__tab--rosa { border-color: var(--rosa); }
.theme-faq__tab--rosa.is-active { background-color: var(--rosa); color: var(--background); }
.theme-faq__tab--teal { border-color: var(--teal); color: var(--teal); }
.theme-faq__tab--teal.is-active { background-color: var(--teal); color: var(--background); }

.theme-faq__panel { display: none; max-width: 48rem; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-faq__panel.is-active { display: block; }
@media (max-width: 767px) { .theme-faq__panel { display: block; margin-bottom: 2.5rem; } }

.theme-faq__item { border-bottom: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .theme-faq__question { padding: 1.5rem 0; } }
.theme-faq__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-faq__question span:first-child { font-size: 1.25rem; } }
.theme-faq__question-icon {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 9999px;
  border: 1px solid; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
@media (min-width: 768px) { .theme-faq__question-icon { width: 2.25rem; height: 2.25rem; } }
.theme-faq__question-icon svg { transition: transform 0.2s ease; }
.theme-faq__item.is-open .theme-faq__question-icon svg { transform: rotate(180deg); }
.theme-faq__question-icon--marigold { border-color: var(--marigold); color: var(--foreground); }
.theme-faq__question-icon--lilac { border-color: var(--lilac); color: var(--foreground); }
.theme-faq__question-icon--nopal { border-color: var(--nopal); color: var(--nopal); }
.theme-faq__question-icon--rosa { border-color: var(--rosa); color: var(--foreground); }
.theme-faq__question-icon--teal { border-color: var(--teal); color: var(--teal); }
.theme-faq__item.is-open .theme-faq__question-icon--marigold { background: var(--marigold); }
.theme-faq__item.is-open .theme-faq__question-icon--lilac { background: var(--lilac); }
.theme-faq__item.is-open .theme-faq__question-icon--nopal { background: var(--nopal); color: var(--background); }
.theme-faq__item.is-open .theme-faq__question-icon--rosa { background: var(--rosa); color: var(--background); }
.theme-faq__item.is-open .theme-faq__question-icon--teal { background: var(--teal); color: var(--background); }

.theme-faq__answer { overflow: hidden; max-height: 0; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1); }
.theme-faq__item.is-open .theme-faq__answer { max-height: 20rem; }
.theme-faq__answer p { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 2rem; font-size: 0.9375rem; }
@media (min-width: 768px) { .theme-faq__answer p { font-size: 1.0625rem; } }

/* =========================================================================
   FINAL CTA / CONTACT
   ========================================================================= */

.theme-final-cta {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem;
}
.theme-final-cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-final-cta__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.theme-final-cta__panel {
  position: relative; z-index: 10; width: 100%; max-width: 56rem;
  border-radius: 2rem; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--background) 96%, transparent) 0%, color-mix(in srgb, var(--secondary) 90%, transparent) 55%, color-mix(in srgb, var(--accent) 50%, transparent) 100%);
}
.theme-final-cta__inner { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .theme-final-cta__inner { padding: 5rem 4rem; } }
.theme-final-cta__eyebrow { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--primary) 80%, transparent); font-size: 1.125rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-final-cta__eyebrow { font-size: 1.25rem; } }
.theme-final-cta__heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-final-cta__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-final-cta__heading { font-size: 3.75rem; } }
.theme-final-cta__desc { color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; }
@media (min-width: 768px) { .theme-final-cta__desc { font-size: 1.125rem; } }
.theme-final-cta__buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .theme-final-cta__buttons { flex-direction: row; } }
.theme-final-cta__buttons .theme-btn-primary,
.theme-final-cta__buttons .theme-btn-ghost { text-transform: none; letter-spacing: normal; font-size: 0.875rem; font-weight: 500; padding: 0.875rem 1.75rem; box-shadow: var(--shadow-soft); }
.theme-final-cta__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.375rem 1rem; font-size: 12px; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
@media (min-width: 768px) { .theme-final-cta__meta { font-size: 14px; } }
.theme-final-cta__meta a { display: inline-flex; align-items: center; gap: 0.375rem; transition: color 0.2s ease; }
.theme-final-cta__meta a:hover { color: var(--accent); }
.theme-final-cta__meta span:first-child { display: inline-flex; align-items: center; gap: 0.375rem; }
.theme-final-cta__dot { opacity: 0.3; }

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer { border-top: 1px solid var(--border); background-color: var(--card); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__top {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer .site-logo { display: flex; padding: 0 !important; }
.site-footer__intro { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; }
.site-footer__contact { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.site-footer__contact a:hover { color: var(--foreground); }
.site-footer__contact .dot { margin: 0 0.5rem; opacity: 0.3; }

.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__col--connect { grid-column: span 2; }
@media (min-width: 768px) { .site-footer__col--connect { grid-column: span 1; } }
.site-footer__col-title { font-size: 1.25rem; margin-bottom: 1.25rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-link { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: all 0.2s ease; text-align: left; }
.theme-footer-link:hover { color: var(--foreground); transform: translateX(2px); }
.theme-footer-link--icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-footer-link--icon svg { width: 1rem; height: 1rem; }

.site-footer__bottom {
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__tagline { font-size: 12px; color: var(--primary); font-family: var(--font-display); font-style: italic; }
.site-footer__copyright { font-size: 12px; color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.site-footer__copyright a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copyright a:hover { color: var(--foreground); }

/* =========================================================================
   CART DRAWER
   ========================================================================= */

#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background-color: color-mix(in srgb, var(--foreground) 20%, transparent);
  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(--background);
  z-index: 61;
  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; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; font-style: normal; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.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 !important; height: 3rem !important; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-bottom: 1.5rem; font-family: var(--font-body); }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image {
  width: 5rem;
  height: 6rem;
  flex-shrink: 0;
  background-color: var(--secondary);
  overflow: hidden;
  border-radius: 0;
  display: block;
}
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease;
}
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
  margin-top: 0.125rem;
}
.theme-cart-drawer__item-meta { display: flex; flex-direction: column; gap: 0.125rem; margin-top: 0.375rem; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; width: auto; height: auto; min-width: 1.5rem; min-height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.theme-qty-btn svg { width: 0.75rem; height: 0.75rem; }
.theme-qty-btn:hover { background-color: var(--secondary); }
.theme-cart-drawer__item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.theme-cart-drawer__remove {
  margin-left: auto;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.theme-cart-drawer__remove:hover { color: var(--foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-drawer__subtotal span:first-child { color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); font-family: var(--font-body); margin: 0; }
.theme-cart-drawer__checkout {
  width: 100%;
  min-height: 3rem;
  padding: 0.875rem 2.5rem;
  border-radius: 9999px;
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border: 1px solid var(--primary) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  text-align: center;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.theme-cart-drawer__checkout:hover { opacity: 0.9; }
.theme-cart-drawer__empty-btn {
  width: 100%;
  min-height: 2.25rem;
  padding: 0 1.25rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--foreground) 40%, transparent);
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-cart-drawer__empty-btn:hover {
  border-color: var(--foreground);
  background-color: var(--foreground);
  color: var(--background);
}
.theme-cart-drawer__empty-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* =========================================================================
   CONTACT MODAL
   ========================================================================= */

#theme-contact-modal-overlay {
  position: fixed; inset: 0; z-index: 70;
  background-color: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }

#theme-contact-modal {
  position: fixed; inset: 0; z-index: 71;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
body.contact-modal-open #theme-contact-modal { display: flex; }
.theme-modal__panel {
  position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background-color: var(--background);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
  animation: theme-modal-in 0.25s var(--transition-smooth);
}
@keyframes theme-modal-in { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.375rem; border-radius: 9999px; transition: background-color 0.2s ease; }
.theme-modal__close:hover { background-color: var(--secondary); }
.theme-modal__close svg { width: 1.25rem; height: 1.25rem; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__desc { color: color-mix(in srgb, var(--foreground) 65%, transparent); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.theme-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.theme-modal__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__meta-item:hover { color: var(--foreground); }
.theme-modal__meta-item svg { width: 1rem; height: 1rem; }

.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-form-field input,
.theme-form-field select,
.theme-form-field textarea {
  width: 100%; padding: 0.625rem 0.75rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--foreground);
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}
.theme-form-field input::placeholder,
.theme-form-field textarea::placeholder { color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-form-field input:focus,
.theme-form-field select:focus,
.theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-actions .theme-btn-primary { text-transform: none; letter-spacing: normal; font-size: 0.9375rem; }
.theme-form-actions .theme-btn-primary svg { width: 1rem; height: 1rem; }
.theme-form-error { color: #d0252a; font-size: 0.875rem; margin-top: -0.5rem; }

.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background-color: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.theme-modal__success-icon svg { width: 1.75rem; height: 1.75rem; }
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); }

/* =========================================================================
   SHIMMER SKELETON
   ========================================================================= */

.shimmer-bg {
  background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 40%, transparent) 0%, color-mix(in srgb, var(--muted) 70%, transparent) 50%, color-mix(in srgb, var(--muted) 40%, transparent) 100%);
  background-size: 200% 100%;
  animation: theme-shimmer 2.2s linear infinite;
}

/* =========================================================================
   WOOCOMMERCE: BREADCRUMBS / NOTICES (Sections 14.1 / 14.2)
   ========================================================================= */

.woocommerce-breadcrumb { display: none; }

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
  display: none;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  font-family: var(--font-body);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  background-color: var(--secondary);
  color: var(--foreground);
  list-style: none;
}
.woocommerce-error { background-color: color-mix(in srgb, #d0252a 15%, var(--secondary)); }

/* =========================================================================
   WOOCOMMERCE: ADD TO CART BUTTON OVERRIDES (Section 11.4.1 / 11.4.2)
   ========================================================================= */

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
  background-color: var(--primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: none !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(--primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled,
.theme-add-to-cart-with-option:disabled,
.theme-add-to-cart-with-option.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,
.theme-add-to-cart-with-option:disabled:hover,
.theme-add-to-cart-with-option.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--primary) !important;
}

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0.75rem !important;
}

/* Prevent global WC button styles from breaking product-card hover CTA */
.theme-product-card a.add_to_cart_button.theme-product-card__add-btn,
.theme-product-card a.theme-product-card__add-btn--options {
  min-height: unset !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* =========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================= */

.single-product .site-main { padding-top: 1.5rem; }
@media (min-width: 1024px) { .single-product .site-main { padding-top: 2rem; } }

.theme-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-breadcrumb a:hover { color: var(--foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--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: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.theme-product-main-image { position: relative; aspect-ratio: 1/1; background-color: var(--secondary); overflow: hidden; border-radius: var(--card-radius); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--secondary); border-radius: 0.5rem; opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; }
.theme-product-thumb.is-active { box-shadow: 0 0 0 2px var(--foreground); }

.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); display: block; }
.product-title.theme-product-info__title { font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price .price ins { text-decoration: none; }
.theme-product-info__price .price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-info__stock--out { font-size: 0.875rem; font-weight: 600; color: #d0252a; margin-bottom: 1rem; }
.theme-product-info__excerpt { color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-option-group { margin-bottom: 1.5rem; }
.theme-option-group__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-bottom: 0.75rem; font-weight: 600; font-family: var(--font-body); font-style: normal; }
.theme-option-group__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-option-pill {
  padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 9999px; transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.theme-option-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-option-pill.is-selected { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }
.theme-option-pill--color.is-selected { background-color: color-mix(in srgb, var(--foreground) 5%, transparent); color: var(--foreground); border-color: var(--foreground); }
.theme-option-pill__swatch { width: 0.75rem; height: 0.75rem; border-radius: 9999px; border: 1px solid var(--border); display: inline-block; }

.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.single-product .single_add_to_cart_button,
.single-product .theme-add-to-cart-with-option { flex: 1 1 auto; min-width: 160px; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: var(--btn-height); transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-input {
  width: 3.5rem; text-align: center; border: none; background: transparent; color: var(--foreground);
  font-size: 0.875rem; height: var(--btn-height);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-accordions { margin-top: 2rem; border-top: 1px solid var(--border); }
.theme-accordion { border-bottom: 1px solid var(--border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__chevron { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__panel p, .theme-accordion__panel div { font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__list li { font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); display: flex; align-items: flex-start; }
.theme-accordion__list li::before { content: ''; width: 4px; height: 4px; border-radius: 9999px; background: var(--foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--border); }
.theme-related-products__header { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 0.5rem; }
.theme-related-products__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }

/* Variations table layout, kept for forward-compatibility if a variable
   product is ever added via the admin. */
.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; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* =========================================================================
   WOOCOMMERCE SHOP ARCHIVE (fallback /shop/ and category archives)
   ========================================================================= */

.theme-shop-archive { padding: 3rem 0 5rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 3rem; }
.theme-shop-archive__header .page-title { font-size: 2.25rem; }

/* =========================================================================
   CHECKOUT BLOCK (Section 13)
   ========================================================================= */

/* The header is position:sticky (not fixed) and occupies normal document
   flow space, so no extra top offset is needed here -- adding one would
   create a double gap below the header. */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

.page-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

/* Single flat 2-column grid -- flatten WC nested sidebar layout */
body.woocommerce-checkout .wc-block-checkout {
  display: block;
  width: 100%;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--checkout-gap, 2.5rem) !important;
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: contents !important;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
  width: 100% !important;
  max-width: none !important;
  background-color: var(--background) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.375rem !important;
  color: var(--foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  appearance: auto !important;
  -webkit-appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select {
  cursor: pointer !important;
}
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout textarea::placeholder {
  color: color-mix(in srgb, var(--foreground) 55%, transparent) !important;
  opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px var(--primary) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  text-transform: none !important;
  font-weight: 600 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; }

/* =========================================================================
   CART / MY ACCOUNT PAGES (Section 13.7)
   ========================================================================= */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 3rem; padding-bottom: 5rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; }

/* =========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================= */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding: 3rem 0 5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-size: 1.5rem;
  padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0 0 2rem;
  border: 1px solid var(--border); border-radius: var(--card-radius); background-color: var(--card);
}
body.theme-thankyou-page .woocommerce-order-overview li { padding: 1.25rem 1.5rem; flex: 1 1 auto; }
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(--border); border-radius: var(--card-radius); padding: 1.25rem; font-style: normal;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1.5rem;
}
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(--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; }

/* =========================================================================
   404
   ========================================================================= */

.theme-404__inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.theme-404__code { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }
.theme-404__link:hover { opacity: 0.85; }

.theme-page { padding: 3rem 0 5rem; }

