/* ==========================================================================
   The Seasoned Bird — theme.css
   Theme by The Free Website Guys.
   ========================================================================== */

:root {
  --font-display: 'Vollkorn', serif;
  --font-body: 'Exo', sans-serif;

  --radius: 4px;
  --shadow-soft: 0 6px 24px -6px rgba(24, 30, 28, 0.18);
  --shadow-elevated: 0 14px 50px -10px rgba(24, 30, 28, 0.22);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 84px;
  --header-height-tall: 152px;

  --btn-radius: 4px;
  --btn-height: 48px;
  --btn-padding: 0.9rem 2rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;

  --btn-icon-padding: 0.6rem;
  --checkout-gap: 2rem;

  /* Color variables are re-emitted with live theme_mod values via
     wp_add_inline_style() in functions.php (Section 22.9). The values
     below are load-time fallbacks only, matching theme_default(). */
  --color-background: #f9f5ec;
  --color-foreground: #23292b;
  --color-primary: #37503f;
  --color-primary-foreground: #fbf7ee;
  --color-accent: #b96d2e;
  --color-accent-foreground: #fbf7ee;
  --color-cranberry: #ad2231;
  --color-cranberry-foreground: #fbf7ee;
  --color-border: #dcd2bf;
  --color-butter: #f3ead9;
  --color-secondary: #eee6d5;
  --color-card: #efe7d8;
  --color-muted-foreground: #656d6e;
  --color-button-text: #fbf7ee;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
label,
summary,
select,
input[type="submit"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"] { font-family: inherit; cursor: pointer; }
button { background: none; border: none; color: inherit; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Cover / full-bleed images excluded from the global img rule above. */
img:not(.cover-img):not(.hero-carousel__slide):not(.theme-product-card__img):not(.theme-product-gallery__main):not(.theme-product-thumb img):not(.site-logo-img):not(.theme-cart-item__img) {
  max-width: 100%;
  height: auto;
}
.cover-img,
.hero-carousel__slide,
.theme-product-card__img,
.theme-product-gallery__main,
.theme-product-thumb img,
.about-section__image-wrap img,
.craft-section__video,
.image-divider__img,
.contact-band__video,
.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding: 0 2rem; }
}

.scroll-mt { scroll-margin-top: 6rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-button-text);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  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);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), background 0.3s ease, opacity 0.2s ease;
}
.theme-btn-pill {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.875rem 2rem;
  gap: 0.5rem;
}
.theme-btn-pill .theme-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.theme-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); opacity: 0.92; }
.theme-btn-primary:active { transform: translateY(0) scale(0.97); }

.theme-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  color: var(--color-foreground);
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  min-height: var(--btn-height);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  transition: all 0.3s var(--transition-smooth);
}
.theme-btn-ghost:hover { border-color: var(--color-foreground); background: var(--color-background); transform: translateY(-2px); }

.theme-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--btn-radius);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  background: transparent;
  color: var(--color-foreground);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }

.theme-empty-state {
  text-align: center;
  color: var(--color-muted-foreground);
  padding: 3rem 0;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, top 0.3s ease;
  background: color-mix(in srgb, var(--color-butter) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
body.admin-bar .site-header,
body.admin-bar .site-nav-overlay,
body.admin-bar .site-nav-panel {
  top: 32px;
}
body.admin-bar .site-nav-panel { height: calc(100dvh - 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .site-nav-overlay,
  body.admin-bar .site-nav-panel { top: 46px; }
  body.admin-bar .site-nav-panel { height: calc(100dvh - 46px); }
}
@media (min-width: 768px) {
  body:not(.theme-no-hero) .site-header:not(.is-solid),
  body:not(.theme-no-hero) .site-header:not(.is-solid) .container-wide,
  body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none;
    color: var(--color-background);
  }
}
@media (max-width: 767px) {
  body:not(.theme-no-hero) .site-header:not(.is-solid) {
    background: color-mix(in srgb, var(--color-butter) 95%, transparent);
    color: var(--color-foreground);
    border-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
  }
}
.site-header.is-solid,
body.theme-no-hero .site-header {
  position: fixed;
  background: color-mix(in srgb, var(--color-butter) 95%, transparent);
  color: var(--color-foreground);
  border-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
  backdrop-filter: blur(12px);
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-tall);
  transition: height 0.3s ease-out;
}
.site-header.is-solid .site-nav,
body.theme-no-hero .site-nav { height: 84px; }
@media (max-width: 767px) {
  .site-nav { height: 104px; }
  .site-header.is-solid .site-nav, body.theme-no-hero .site-nav { height: 68px; }
}

.site-nav__left, .site-nav__right { display: flex; align-items: center; flex: 1; gap: 0.75rem; }
.site-nav__right { justify-content: flex-end; }

.site-nav__menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  margin-left: -0.25rem;
  transition: color 0.2s ease;
}
.site-nav__menu-toggle:hover { color: var(--color-primary); }
.site-nav__menu-label { display: none; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 768px) { .site-nav__menu-label { display: inline; } }

.site-nav__brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.site-nav__brand:hover { transform: translateX(-50%) scale(1.05); }
.site-nav__brand .site-logo-img {
  display: block;
  height: 5rem;
  max-height: 5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: height 0.3s ease-out;
}
.site-nav__brand .site-logo-img--mark { display: none; }
.site-header.is-solid .site-nav__brand .site-logo-img,
body.theme-no-hero .site-nav__brand .site-logo-img { height: 3.5rem; max-height: 3.5rem; }
@media (max-width: 767px) {
  .site-nav__brand .site-logo-img { height: 5rem; max-height: 5rem; }
  .site-header.is-solid .site-nav__brand .site-logo-img,
  body.theme-no-hero .site-nav__brand .site-logo-img { height: 2.75rem; max-height: 2.75rem; }
}
@media (min-width: 768px) {
  body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav__brand .site-logo-img--full { display: none; }
  body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav__brand .site-logo-img--mark {
    display: block;
    height: 7rem;
    max-height: 7rem;
  }
}
.site-nav__brand .site-logo-text { font-family: var(--font-display); font-size: 1.5rem; }

.site-nav__shop-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: var(--btn-radius);
  padding: 0.6rem 1.5rem;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
@media (min-width: 640px) { .site-nav__shop-btn { display: inline-flex; } }
.site-nav__shop-btn:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.site-nav__cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent);
  color: var(--color-foreground);
  transition: all 0.3s ease;
}
body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav__cart-btn {
  border-color: color-mix(in srgb, var(--color-background) 60%, transparent);
  color: var(--color-background);
}
@media (max-width: 767px) {
  body:not(.theme-no-hero) .site-header:not(.is-solid) .site-nav__cart-btn {
    border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
    color: var(--color-foreground);
  }
}
.site-nav__cart-btn:hover { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground); transform: scale(1.1); }
.site-nav__cart-btn.is-bumping { animation: theme-bump 0.4s var(--transition-smooth); }

.theme-cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Mobile / off-canvas nav panel */
.site-nav-overlay {
  position: fixed; inset: 0;
  background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 59;
}
.site-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.site-nav-panel {
  position: fixed;
  top: 0; left: 0;
  height: 100dvh;
  width: 88vw;
  max-width: 420px;
  background: var(--color-background);
  border-radius: 0 24px 24px 0;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  z-index: 60;
}
.site-nav-panel.is-open { transform: translateX(0); }

.site-nav-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 1.75rem 1.25rem; }
.site-nav-panel__brand .site-logo-img,
.site-nav-panel__brand img { height: 3rem; max-height: 3rem; width: auto; max-width: none; object-fit: contain; }
.site-nav-panel__brand span { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.site-nav-panel__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--color-primary); color: var(--color-primary-foreground);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.site-nav-panel__close:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.site-nav-panel__divider { height: 1px; background: color-mix(in srgb, var(--color-foreground) 10%, transparent); margin: 0 1.75rem; }
.site-nav-panel__nav { flex: 1; overflow-y: auto; padding: 2rem 1.75rem; }
.theme-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-nav-link, .theme-nav-item a {
  display: block;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, transform 0.2s ease;
}
.theme-nav-link:hover, .theme-nav-item a:hover { color: var(--color-accent); transform: translateX(4px); }
@media (min-width: 768px) {
  .theme-nav-link, .theme-nav-item a { font-size: 3rem; }
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */

.hero-carousel { position: relative; width: 100%; height: 100vh; min-height: 100vh; overflow: hidden; }
.hero-carousel__slides { position: absolute; inset: 0; }
.hero-carousel__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-carousel__slide.is-active { opacity: 1; }
.hero-carousel__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--color-foreground) 60%, transparent),
    color-mix(in srgb, var(--color-foreground) 50%, transparent),
    color-mix(in srgb, var(--color-foreground) 85%, transparent));
}
@media (max-width: 767px) {
  .hero-carousel__overlay {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--color-foreground) 80%, transparent),
      color-mix(in srgb, var(--color-foreground) 70%, transparent),
      color-mix(in srgb, var(--color-foreground) 95%, transparent));
  }
}
.hero-carousel__content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-carousel__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.hero-carousel__eyebrow { color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.hero-carousel__title {
  font-family: var(--font-display);
  color: var(--color-background);
  line-height: 1.02;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
}
.hero-carousel__title em { font-style: italic; font-weight: 400; }
.hero-carousel__ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: center; }
.hero-carousel__cta {
  min-width: 200px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--color-background);
  color: var(--color-background);
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-carousel__cta:hover { background: var(--color-background); color: var(--color-foreground); }
.hero-carousel__dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 0.5rem; }
.hero-carousel__dot { height: 2px; width: 1rem; background: color-mix(in srgb, var(--color-background) 40%, transparent); transition: all 0.3s ease; }
.hero-carousel__dot.is-active { width: 2rem; background: var(--color-background); }
.hero-carousel__dot:hover { background: color-mix(in srgb, var(--color-background) 70%, transparent); }

/* ==========================================================================
   Shop section / product grid / cards
   ========================================================================== */

.shop-section { padding: 0; }
.shop-section__header { padding-top: 4rem; padding-bottom: 3rem; text-align: center; }
@media (min-width: 768px) { .shop-section__header { padding-top: 6rem; } }
.shop-heading {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.02em;
}
.shop-section__subtitle { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 28rem; margin-left: auto; margin-right: auto; }
.shop-section__filters {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  justify-content: center;
  flex-wrap: wrap;
}
.shop-filter-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--color-background);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  transition: all 0.2s ease;
}
.shop-filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  padding-bottom: 5rem;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.theme-product-grid--related { padding-bottom: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.5s ease;
}
.theme-product-card:hover .theme-product-card__media { box-shadow: var(--shadow-elevated); }
.theme-product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.theme-product-card__img--hover { opacity: 0; }
.theme-product-card:hover .theme-product-card__img--main { transform: scale(1.05); }
.theme-product-card:hover .theme-product-card__img--main.has-hover { opacity: 0; }
.theme-product-card:hover .theme-product-card__img--hover { transform: scale(1.05); opacity: 1; }
.theme-product-card:hover { transform: translateY(-4px); }
.theme-product-card { transition: transform 0.25s var(--transition-smooth); }

.theme-badge {
  position: absolute;
  z-index: 5;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.theme-badge--stock { top: 0.75rem; left: 0.75rem; background: var(--color-cranberry); color: var(--color-cranberry-foreground); font-weight: 600; }
.theme-badge--turkey { bottom: 0.75rem; left: 0.75rem; background: var(--color-cranberry); color: var(--color-cranberry-foreground); font-weight: 600; box-shadow: var(--shadow-soft); }

.theme-product-card__info { flex: 1; text-align: center; }
.theme-product-card__title-link { display: block; }
.theme-product-card__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-foreground);
  transition: color 0.2s ease;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.theme-product-card__choose-btn {
  margin-top: 0.75rem;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 0;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
}
.theme-product-card__choose-btn:hover { background: var(--color-foreground); color: var(--color-background); }

.shop-section__load-more-row { display: flex; justify-content: center; gap: 0.75rem; margin-top: -2rem; padding-bottom: 5rem; }
.shop-section__load-more-row:not(:has(button:not([hidden]))) { display: none; }

/* ==========================================================================
   Image dividers
   ========================================================================== */

.image-divider { position: relative; width: 100%; height: 60vh; min-height: 420px; overflow: hidden; background-size: cover; background-position: center; }
@media (min-width: 768px) { .image-divider { height: 70vh; } }
.image-divider__overlay { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent)); }
.image-divider__content { position: relative; z-index: 10; height: 100%; display: flex; align-items: center; }
.image-divider__content--left { justify-content: flex-start; text-align: left; }
.image-divider__box { max-width: 36rem; color: var(--color-background); }
.image-divider__box .eyebrow { color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.image-divider__title {
  font-family: var(--font-display);
  color: var(--color-background);
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}
.image-divider__box .theme-btn-primary { margin-top: 1.75rem; }

/* ==========================================================================
   Craft editorial
   ========================================================================== */

.craft-section { padding: 5rem 0; }
@media (min-width: 768px) { .craft-section { padding: 7rem 0; } }
.craft-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .craft-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.craft-section__copy { display: flex; flex-direction: column; }
.craft-section__title { line-height: 1.05; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
.craft-section__title em { font-style: italic; }
.craft-section__body { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 28rem; }
.craft-section__notes { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.craft-section__note { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding: 1.5rem 0; }
.craft-section__note dt { font-size: 12px; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 45%, transparent); padding-top: 0.25rem; }
.craft-section__note-title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }
.craft-section__note-body { margin-top: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.craft-section__media { position: relative; min-height: 24rem; }
.craft-section__media figure { margin: 0; display: flex; flex-direction: column; height: 100%; }
.craft-section__video-wrap { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; flex: 1; }
@media (min-width: 640px) { .craft-section__video-wrap { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .craft-section__video-wrap { aspect-ratio: auto; } }
.craft-section__caption { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }

/* ==========================================================================
   Services
   ========================================================================== */

.services-section { padding: 4rem 0; }
@media (min-width: 768px) { .services-section { padding: 6rem 0; } }
.services-section__top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; }
.services-section__eyebrow { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; }
.services-section__quote-link { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.services-section__quote-link:hover { color: var(--color-foreground); }
.services-section__title { font-family: var(--font-display); font-weight: 300; font-size: 1.9rem; line-height: 1.1; max-width: 42rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .services-section__title { font-size: 3rem; } }

.services-section__list { display: flex; flex-direction: column; gap: 1px; background: var(--color-border); }
@media (min-width: 1024px) { .services-section__list { flex-direction: row; } }

.service-card {
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (min-width: 1024px) {
  .service-card { flex-direction: row; height: 26rem; overflow: hidden; flex: 2 1 0%; }
  .services-section__list.is-hovering .service-card { flex: 0.5 1 0%; }
  .services-section__list .service-card.is-active { flex: 4 1 0%; }
}

.service-card__copy {
  display: flex;
  flex-direction: column;
  padding: 2rem 2.25rem;
  width: 100%;
  order: 2;
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (min-width: 1024px) {
  .service-card__copy { order: 1; width: 100%; min-width: 20rem; flex-shrink: 0; }
  .services-section__list.is-hovering .service-card__copy { width: 5.5rem; min-width: 0; padding: 1.5rem 1rem; align-items: center; }
  .services-section__list .service-card.is-active .service-card__copy { width: 50%; min-width: 20rem; padding: 2rem 2.5rem; align-items: flex-start; }
}

.service-card__number { display: block; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; transition: all 0.7s ease; }
.service-card__number--accent { color: var(--color-accent); }
.service-card__number--cranberry { color: var(--color-cranberry); }
.service-card__number--primary { color: var(--color-primary); }
.service-card__number--sage { color: color-mix(in srgb, var(--color-primary) 70%, var(--color-foreground)); }
@media (min-width: 1024px) {
  .services-section__list.is-hovering .service-card__number { writing-mode: vertical-rl; font-size: 9px; margin: 0 auto 0.75rem; }
  .services-section__list .service-card.is-active .service-card__number { writing-mode: horizontal-tb; font-size: 10px; margin: 0 0 1rem; }
}

.service-card__title { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.15; margin-bottom: 1rem; transition: all 0.7s ease; }
@media (min-width: 768px) { .service-card__title { font-size: 1.85rem; } }
@media (min-width: 1024px) {
  .services-section__list.is-hovering .service-card__title { writing-mode: vertical-rl; font-size: 1.125rem; letter-spacing: -0.01em; margin: auto; white-space: nowrap; }
  .services-section__list .service-card.is-active .service-card__title { writing-mode: horizontal-tb; font-size: 1.875rem; margin: 0 0 1rem; white-space: normal; }
}

.service-card__body { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 0.9375rem; line-height: 1.8; margin-bottom: 2rem; transition: opacity 0.7s ease; }
@media (min-width: 1024px) {
  .services-section__list.is-hovering .service-card__body { display: none; }
  .services-section__list .service-card.is-active .service-card__body { display: block; }
}

.service-card__inquire { align-self: flex-start; margin-top: auto; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; transition: all 0.7s ease; }
.service-card__inquire:hover { color: var(--color-muted-foreground); }
@media (min-width: 1024px) {
  .services-section__list.is-hovering .service-card__inquire { opacity: 0; pointer-events: none; }
  .services-section__list .service-card.is-active .service-card__inquire { opacity: 1; pointer-events: auto; }
}

.service-card__media {
  position: relative;
  width: 100%;
  height: 14rem;
  order: 1;
  overflow: hidden;
  flex-shrink: 0;
  align-self: stretch;
}
@media (min-width: 640px) { .service-card__media { height: 18rem; } }
@media (min-width: 1024px) {
  .service-card__media {
    order: 2;
    width: 0;
    height: 100%;
    min-height: 0;
    opacity: 0;
    transition: width 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .services-section__list .service-card.is-active .service-card__media { width: 50%; opacity: 1; }
}
.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   About section
   ========================================================================== */

.about-section__top { background: var(--color-butter); }
.about-section__grid { padding-top: 5rem; padding-bottom: 5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 7rem; padding-bottom: 7rem; } }
.about-section__image-wrap { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-accent); }
.about-section__caption { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.about-section .section-heading,
.about-section__title { line-height: 1.08; font-size: clamp(1.8rem, 3.8vw, 2.9rem); letter-spacing: -0.015em; }
.about-section__body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }
.about-section__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.about-section__features { background: color-mix(in srgb, var(--color-primary) 16%, var(--color-butter)); padding: 3.5rem 0 4rem; }
@media (min-width: 768px) { .about-section__features { padding: 5rem 0 6rem; } }
.about-section__features-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .about-section__features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.about-feature { display: flex; flex-direction: column; align-items: center; }
.about-feature__icon { width: 3rem; height: 3rem; border-radius: 999px; background: var(--color-background); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--color-primary); }
.about-feature__title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.5rem; }
.about-feature__body { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.875rem; line-height: 1.6; max-width: 18rem; margin: 0 auto; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section { padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.faq-section__title { line-height: 1.05; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.02em; }
.faq-section__subtitle { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.faq-section__list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-background); overflow: hidden; }
.faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.5rem; cursor: pointer; }
.faq-item__question { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-item__question { font-size: 1.25rem; } }
.faq-item__chevron {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-background));
  position: relative;
  transition: transform 0.2s ease;
}
.faq-item__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translate(-50%, -65%) rotate(45deg);
}
.faq-item.is-open .faq-item__chevron,
.faq-item__trigger[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__answer { padding: 0 1.5rem 1.5rem; margin-top: -0.25rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }

/* ==========================================================================
   Contact band
   ========================================================================== */

.contact-band { position: relative; overflow: hidden; }
.contact-band__video { }
.contact-band__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.contact-band__content { position: relative; z-index: 10; text-align: center; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .contact-band__content { padding-top: 8rem; padding-bottom: 8rem; } }
.contact-band__eyebrow { display: block; margin-bottom: 1.25rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.contact-band__title { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; color: var(--color-background); }
@media (min-width: 768px) { .contact-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-band__title { font-size: 3.75rem; } }
.contact-band__body { max-width: 32rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 15px; line-height: 1.7; }
.contact-band__ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .contact-band__ctas { flex-direction: row; } }
.contact-band__cta { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem; border-radius: var(--radius); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; transition: all 0.2s ease; }
.contact-band__cta--filled { background: var(--color-background); color: var(--color-foreground); }
.contact-band__cta--filled:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.contact-band__cta--outline { border: 1px solid color-mix(in srgb, var(--color-background) 70%, transparent); color: var(--color-background); }
.contact-band__cta--outline:hover { background: var(--color-background); color: var(--color-foreground); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-butter); position: relative; overflow: hidden; }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 1.25rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 1.25rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 4rem; } }
.site-footer__brand { max-width: 24rem; }
.site-footer__brand .site-logo-img { height: 5rem; max-height: 5rem; width: auto; max-width: none; object-fit: contain; }
@media (min-width: 768px) { .site-footer__brand .site-logo-img { height: 6rem; max-height: 6rem; } }
.site-footer__tagline { margin-top: 1rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.site-footer__tagline-secondary { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer__nav-list, .site-footer__contact-list { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__nav-list a { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__nav-list a:hover { color: var(--color-primary); }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__contact-link svg { width: 1rem; height: 1rem; color: var(--color-primary); flex-shrink: 0; }
.site-footer__contact-link:hover { color: var(--color-primary); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   Contact modal
   ========================================================================== */

.theme-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; padding: 1.5rem; }
.theme-modal.is-open { opacity: 1; pointer-events: auto; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.theme-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--color-background);
  border-radius: 12px;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.theme-modal.is-open .theme-modal__panel { transform: scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; transition: background 0.2s ease; }
.theme-modal__close:hover { background: var(--color-secondary); }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal__desc { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal__contacts a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal__contacts svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-modal__contacts a:hover { color: var(--color-foreground); }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-modal__field { margin-bottom: 1rem; }
.theme-modal__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-modal__field input, .theme-modal__field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease;
}
.theme-modal__field input:focus, .theme-modal__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-modal__form-footer { display: flex; justify-content: flex-end; }
.theme-btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  min-height: 44px;
  padding: 0.75rem 2rem;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-btn-send:hover {
  background: var(--color-background);
  color: var(--color-primary);
  transform: none;
  box-shadow: none;
  opacity: 1;
}
.theme-btn-send:disabled { pointer-events: none; opacity: 0.5; }
.theme-btn-send__icon { width: 1rem; height: 1rem; margin-left: 0.5rem; flex-shrink: 0; pointer-events: none; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }

/* ==========================================================================
   Side cart drawer
   ========================================================================== */

#theme-cart-overlay { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: 88vw;
  max-width: 420px;
  background: var(--color-background);
  border-radius: 24px 0 0 24px;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  z-index: 61;
}
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.75rem 1.75rem 1.25rem; }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.theme-cart-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); background: var(--color-primary); color: var(--color-primary-foreground); transition: background 0.2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-cart-drawer__divider { height: 1px; background: color-mix(in srgb, var(--color-foreground) 10%, transparent); margin: 0 1.75rem; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.75rem; text-align: center; color: var(--color-primary); }
.theme-cart-drawer__empty svg { margin-bottom: 1.5rem; opacity: 0.6; }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-size: 1.85rem; line-height: 1.05; margin-bottom: 2rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; display: block; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); border-radius: var(--radius); overflow: hidden; }
.theme-cart-item__image img,
.theme-cart-item__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-family: var(--font-display); color: var(--color-primary); font-size: 1rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__variant { margin-top: 0.15rem; font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); white-space: normal; overflow: visible; line-height: 1.4; }
.theme-cart-item__price { margin-top: 0.15rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.35rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); color: var(--color-primary); transition: all 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; font-weight: 600; color: var(--color-primary); }
.theme-cart-item__remove { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-weight: 600; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-primary); }

.theme-cart-drawer__footer { padding: 1.25rem 1.75rem 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: center; }
.theme-cart-drawer__subtotal-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); }
.theme-cart-drawer__note { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer__reminder { font-size: 0.75rem; font-weight: 600; color: var(--color-cranberry); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-weight: 600; transition: color 0.2s ease; }
.theme-cart-drawer__empty-btn:hover { color: var(--color-primary); }

/* Hide WooCommerce's own "View cart" link after AJAX add (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice visibility (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error,
.single-product-page .woocommerce-notices-wrapper,
.single-product-page .woocommerce-error,
.single-product-page .woocommerce-message,
.single-product-page .woocommerce-info { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ==========================================================================
   Single product page
   ========================================================================== */

.single-product-page { padding-top: calc(var(--header-height) + 2.5rem); }
@media (min-width: 1024px) { .single-product-page { padding-top: calc(var(--header-height) + 3.5rem); } }
.single-product-page__breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product-page__breadcrumb a { transition: color 0.2s ease; }
.single-product-page__breadcrumb a:hover { color: var(--color-foreground); }
.single-product-page__breadcrumb span[aria-hidden] { margin: 0 0.5rem; opacity: 0.5; }
.single-product-page__breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; 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%; }
@media (min-width: 1024px) {
  .theme-product-info { position: sticky; top: 7rem; padding-left: 1rem; align-self: start; }
}
.theme-product-gallery__desktop { display: none; }
.theme-product-gallery__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-secondary);
}
.theme-product-gallery__frame img,
.theme-product-gallery__main,
.theme-product-thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}
.theme-product-gallery__desktop { flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) {
  .theme-product-gallery__mobile { display: none; }
  .theme-product-gallery__desktop { display: flex; }
}
.theme-product-thumbnails__row { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-secondary); opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; }

.theme-product-info__meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__badge {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-cranberry);
  color: var(--color-cranberry-foreground);
}
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-family: var(--font-body); font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
.theme-product-info__price .price del { color: var(--color-muted-foreground); opacity: 0.6; margin-right: 0.5rem; }
.theme-product-info__price .price ins { text-decoration: none; }
.theme-product-info__desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__shipping-note { margin-top: 0.75rem; font-size: 12px; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-stock-indicator--out { color: var(--color-destructive, #b3261e); font-weight: 600; margin-bottom: 1rem; }

.theme-attribute-group { margin-bottom: 1.5rem; }
.theme-attribute-group__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; }
.theme-attribute-group__hint { margin-top: 0.5rem; font-size: 12px; color: var(--color-muted-foreground); }

.theme-attr-select-hidden,
.theme-attribute-group--hidden,
.single-product .woocommerce-variation,
.single-product .single_variation,
.single-product-page .woocommerce-variation-price,
.single-product-page .woocommerce-variation-description,
.single-product-page .woocommerce-variation-availability,
.single-product-page .price,
.single-product-page .woocommerce-product-details__short-description,
.single-product-page .woocommerce-tabs,
.single-product-page .upsells,
.single-product-page section.related { display: none !important; }
.single-product-page .theme-product-card__price { display: block !important; }

.theme-styled-select { position: relative; }
.theme-styled-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-styled-select.is-open .theme-styled-select__trigger,
.theme-styled-select__trigger:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-styled-select.is-open .theme-styled-select__trigger { border-color: var(--color-foreground); box-shadow: var(--shadow-soft); }
.theme-styled-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-styled-select__value.is-placeholder { color: var(--color-muted-foreground); }
.theme-styled-select__meta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.theme-styled-select__hint { font-size: 12px; letter-spacing: 0; text-transform: none; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-styled-select__trigger svg { transition: transform 0.2s ease; }
.theme-styled-select.is-open .theme-styled-select__trigger svg { transform: rotate(180deg); }
.theme-styled-select__menu {
  position: absolute;
  z-index: 30;
  left: 0; right: 0;
  margin-top: 0.5rem;
  max-height: 18rem;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
}
.theme-styled-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-styled-select__option:hover,
.theme-styled-select__option.is-active { background: color-mix(in srgb, var(--color-secondary) 70%, transparent); color: var(--color-foreground); }
.theme-styled-select__option-meta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.theme-styled-select__option-price { letter-spacing: 0; text-transform: none; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-styled-select__check { display: none; }
.theme-styled-select__option.is-active .theme-styled-select__check { display: block; }
.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; display: none; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations { width: 100%; margin: 0; }

.theme-attribute-pills, .theme-flavor-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill, .theme-flavor-pill {
  padding: 0.65rem 1.1rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.theme-attribute-pill:hover, .theme-flavor-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attribute-pill.is-selected, .theme-flavor-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-addon-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.theme-addon-toggle:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-addon-toggle[aria-pressed="true"] { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-addon-toggle__lead { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.theme-addon-toggle__check { width: 1rem; height: 1rem; border-radius: 2px; border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.theme-addon-toggle[aria-pressed="true"] .theme-addon-toggle__check { background: var(--color-foreground); border-color: var(--color-foreground); }
.theme-addon-toggle[aria-pressed="true"] .theme-addon-toggle__check::after { content: ''; width: 0.375rem; height: 0.375rem; border-radius: 1px; background: var(--color-background); }
.theme-addon-toggle__price { color: var(--color-muted-foreground); margin-left: auto; }

.theme-note-input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}
.theme-note-input:focus { outline: none; border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 0.875rem; padding: 0.5rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin: 0 0 0.75rem; }
.single-product .theme-quantity-group { margin-bottom: 0; }
.single-product .single_add_to_cart_button { width: 100%; }
.theme-product-atc {
  width: 100%;
  background: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 1rem !important;
  min-height: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.theme-product-atc:hover {
  background: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
  color: var(--color-background) !important;
  opacity: 1 !important;
  transform: none !important;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: 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(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.single_add_to_cart_button.theme-product-atc,
.single_add_to_cart_button.theme-product-atc:hover {
  width: 100%;
  background: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 1rem !important;
  min-height: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.single_add_to_cart_button.theme-product-atc:hover {
  background: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
}
.single_add_to_cart_button.theme-product-atc:disabled,
.single_add_to_cart_button.theme-product-atc.disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.theme-allergen-box { margin: 2rem 0; border-radius: var(--radius); border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 60%, transparent); padding: 1.25rem; }
.theme-allergen-box__heading { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; }
.theme-allergen-box__row { font-size: 0.875rem; line-height: 1.6; }
.theme-allergen-box__row--muted { color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-allergen-box__label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--color-muted-foreground); margin-right: 0.25rem; }
.theme-allergen-box__cross-contact { margin-top: 0.75rem; font-size: 12px; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-allergen-box__toggle-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; gap: 0.75rem; }
.theme-allergen-toggle { position: relative; width: 2.25rem; height: 1.25rem; border-radius: 999px; background: color-mix(in srgb, var(--color-muted-foreground) 30%, transparent); transition: background 0.2s ease; flex-shrink: 0; }
.theme-allergen-toggle[aria-checked="true"] { background: var(--color-foreground); }
.theme-allergen-toggle__knob { position: absolute; top: 2px; left: 2px; width: 1rem; height: 1rem; border-radius: 999px; background: var(--color-background); transition: transform 0.2s ease; }
.theme-allergen-toggle[aria-checked="true"] .theme-allergen-toggle__knob { transform: translateX(18px); }
.theme-allergen-box__toggle-label { font-size: 0.875rem; cursor: pointer; }
.theme-allergen-select { margin-top: 0.75rem; }
.theme-allergen-select__control { position: relative; }
.theme-allergen-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  font-size: 1rem;
  text-align: left;
}
.theme-allergen-select__trigger svg { transition: transform 0.2s ease; flex-shrink: 0; }
.theme-allergen-select.is-open .theme-allergen-select__trigger svg { transform: rotate(180deg); }
.theme-allergen-select__value.is-placeholder { color: var(--color-muted-foreground); }
.theme-allergen-select__menu {
  position: absolute;
  z-index: 30;
  left: 0; right: 0;
  margin-top: 0.25rem;
  max-height: 16rem;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  box-shadow: var(--shadow-soft);
  padding: 0.25rem 0;
}
.theme-allergen-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  text-align: left;
}
.theme-allergen-select__option:hover { background: var(--color-secondary); }
.theme-allergen-select__option-label { flex: 1; }
.theme-allergen-select__check { display: none; }
.theme-allergen-select__option.is-active .theme-allergen-select__check { display: block; }
.theme-allergen-select__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.theme-allergen-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 12px;
  background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
}
.theme-allergen-chip button { color: var(--color-muted-foreground); }
.theme-allergen-box__note-input { width: 100%; margin-top: 0.75rem; border-radius: var(--radius); border: 1px solid var(--color-border); padding: 0.75rem 1rem; font-size: 1rem; background: var(--color-background); }
.theme-allergen-box__note-input:focus { outline: none; border-color: var(--color-foreground); }

.theme-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__divider { border-top: 1px solid var(--color-border); }
.theme-accordion::after { content: ''; display: block; border-top: 1px solid var(--color-border); }
.theme-accordion__chevron { transition: transform 0.2s ease; }
.theme-accordion__trigger.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; font-size: 15px; }
.theme-accordion__trigger.is-open + .theme-accordion__panel { display: block; }
.theme-accordion__body { color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__body ul { margin-top: 1rem; }
.theme-accordion__body li { position: relative; padding-left: 1rem; margin-bottom: 0.5rem; }
.theme-accordion__body li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); }
.theme-accordion__body p { margin-bottom: 0.75rem; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__heading { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__title { font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; text-transform: lowercase; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }


/* ==========================================================================
   Product card overlay / pointer-events safety (no add-to-cart button in
   card, Pattern B is used — no overlay link needed).
   ========================================================================== */

/* ==========================================================================
   Scroll reveal animations (Section 2.1)
   ========================================================================== */

.reveal-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@keyframes theme-pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes theme-bump { 0% { transform: translateY(0); } 30% { transform: translateY(-4px) scale(1.05); } 100% { transform: translateY(0); } }
.is-pop { animation: theme-pop 0.35s var(--transition-smooth); }

/* ==========================================================================
   404 / generic pages
   ========================================================================== */

.not-found-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 4rem 0; }
.not-found-page__inner { text-align: center; }
.not-found-page__code { font-size: 3rem; margin-bottom: 1rem; }
.not-found-page__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.page-title { font-size: 2rem; margin-bottom: 2rem; }
.page-content { padding: 6rem 0 4rem; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body.theme-no-hero.woocommerce-checkout .site-main,
body.theme-no-hero.woocommerce-cart .site-main,
body.theme-no-hero.woocommerce-account .site-main,
body.theme-no-hero.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
body.theme-no-hero .shop-archive-page,
body.theme-no-hero .not-found-page { padding-top: var(--header-height); }
body.theme-no-hero .single-product-page { padding-top: calc(var(--header-height) + 2.5rem); }
@media (min-width: 1024px) {
  body.theme-no-hero .single-product-page { padding-top: calc(var(--header-height) + 3.5rem); }
}

.shop-archive-page__header { padding: 3rem 0 2rem; text-align: center; }
.shop-archive-page__pagination { padding: 2rem 0 4rem; text-align: center; }

/* ==========================================================================
   WooCommerce Checkout Block overrides (Section 13)
   ========================================================================== */

body.woocommerce-checkout .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .page-title { max-width: 1400px; margin: 0 auto 2rem; padding: 0 1.5rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title { padding: 0 2rem; } }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main-and-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  color: var(--color-foreground);
  padding: revert;
}
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-textarea textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--radius);
  font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary, #f8f8f8);
  border-radius: var(--radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
.theme-checkout-item-meta,
body.woocommerce-checkout .wc-block-components-product-details__value,
body.woocommerce-checkout .wc-block-components-product-metadata { display: block; margin-top: 0.25rem; font-size: 12px; color: var(--color-muted-foreground); line-height: 1.4; }

/* Mobile order: form fields first, sidebar second (default DOM order already
   matches; no CSS order override needed). */

/* ==========================================================================
   Cart / Account pages width & alignment parity (Section 13.7)
   ========================================================================== */

body.woocommerce-cart .site-main .entry-content,
body.woocommerce-account .site-main .entry-content {
  max-width: 1400px;
  margin: 0 auto;
}

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 900px; 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; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-secondary); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-style: normal;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.6rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ==========================================================================
   WooCommerce breadcrumb (unused — Section 14.2 suppresses breadcrumb hook;
   the theme renders its own trail on single-product-page).
   ========================================================================== */

/* ==========================================================================
   Utility
   ========================================================================== */

.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
