/* ==========================================================================
   Wishes and Dreams Vintage Toys - theme stylesheet
   ========================================================================== */

:root {
  --color-background: #faf7f0;
  --color-foreground: #2e201a;
  --color-card: #f4eee2;
  --color-primary: #175363;
  --color-primary-foreground: #faf7ef;
  --color-secondary: #eee7d8;
  --color-muted: #ece7df;
  --color-muted-foreground: #6d5e55;
  --color-accent: #c59026;
  --color-accent-foreground: #2e201a;
  --color-border: #ddd4c5;
  --color-rosa: #b6392b;
  --color-marigold: #dda22c;
  --color-teal: #276a7c;
  --color-lilac: #e8dcc4;
  --color-nopal: #0d2730;

  --color-button-text: var(--color-primary-foreground);
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.85rem;
  --card-radius: 1rem;
  --shadow-soft: 0 4px 24px -6px rgba(13, 39, 48, 0.14);
  --shadow-elevated: 0 16px 48px -12px rgba(13, 39, 48, 0.3);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: 999px;
  --btn-height: 44px;
  --btn-padding: 0.85rem 2rem;
  --btn-icon-padding: 0.65rem;
  --btn-font-size: 0.75rem;
  --btn-font-size-compact: 0.75rem;
  --btn-font-size-lg: 0.875rem;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --header-height: 112px;
  --logo-height: 160px;
  --checkout-gap: 2rem;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-slide__img) { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
p, li { text-wrap: pretty; }
p { margin: 0; }
::selection { background: rgba(197, 144, 38, 0.35); color: var(--color-foreground); }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.cover-img,
.hero-slide__bg,
.hero-slide__img,
.banner-rotator__img,
.final-cta-section__bg,
.owners-image__img,
.theme-product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gold-rule {
  height: 1px;
  width: 10rem;
  margin: 2.5rem auto;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.icon-pulse { animation: pulseSoft 2.4s ease-in-out infinite; }
@keyframes pulseSoft { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(6px); opacity: 1; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.animate-bob { animation: bob 2.2s ease-in-out infinite; }
.press-tap { transition: transform 0.15s ease-out; }
.press-tap:active { transform: scale(0.96); }
.icon-nudge svg { transition: transform 0.3s ease-out; }
.icon-nudge:hover svg { transform: translateX(3px); }
.link-underline { position: relative; display: inline-block; }
.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);
}
.link-underline:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .animate-bob, .icon-pulse { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Scroll reveal (Section 2.1)
   ========================================================================== */
.reveal-item,
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  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-fade { transform: translateY(16px); }
.reveal-item.is-visible,
.reveal-fade.is-visible { opacity: 1; transform: translateY(0); }
.theme-product-card-wrap.reveal-item { transform: translateY(16px); }

body.is-customizer .reveal-item,
body.is-customizer .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  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);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-background); color: var(--color-primary); }
.btn-outline { background: transparent; color: var(--color-foreground); border-color: rgba(46,32,26,0.4); }
.btn-outline:hover { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.btn-outline-primary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); text-transform: uppercase; }
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-inverse { background: rgba(250, 247, 240, 0.8); color: var(--color-foreground); border-color: rgba(46,32,26,0.15); text-transform: none; letter-spacing: normal; font-weight: 500; font-size: var(--btn-font-size-lg); }
.btn-inverse:hover { background: var(--color-background); }
.final-cta-card__ctas .btn {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  font-size: var(--btn-font-size-lg);
}
@media (min-width: 768px) {
  .final-cta-card__ctas .btn { font-size: 1rem; }
}
.btn-hero-primary,
.btn-hero-outline { text-transform: uppercase; font-size: 11px; letter-spacing: 0.28em; font-weight: 600; }
@media (min-width: 768px) {
  .btn-hero-primary,
  .btn-hero-outline { font-size: var(--btn-font-size-compact); }
}
.btn-hero-primary { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.btn-hero-primary:hover { background: rgba(197,144,38,0.9); }
.btn-hero-outline { background: transparent; color: var(--color-primary-foreground); border-color: rgba(250,247,240,0.7); }
.btn-hero-outline:hover { background: rgba(250,247,240,0.1); }
.btn-sm { min-height: 36px; padding: 0.5rem 1.25rem; font-size: 11px; }

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(250, 247, 240, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.site-header__inner { border-bottom: 1px solid transparent; }
.site-header.is-solid .site-header__inner,
.site-header.is-scrolled .site-header__inner,
.site-header.is-menu-open .site-header__inner { border-bottom-color: rgba(221,212,197,0.5); }

.site-nav { display: flex; align-items: center; height: 7rem; transition: height 0.3s ease; position: relative; }
.site-nav__side { display: none; }

@media (max-width: 1023px) {
  .site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-nav { height: 8rem; }
}

@media (min-width: 1024px) {
  .site-nav { height: 11rem; }
  .site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-nav { height: 13rem; }
  .site-nav__side { display: flex; flex: 1; align-items: center; gap: 2rem; }
  .site-nav__side--left { justify-content: flex-start; }
  .site-nav__side--right { justify-content: flex-end; }
  .site-nav__mobile-bar { display: none; }
}

.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-primary-foreground);
  transition: color 0.2s ease;
}
.site-header.is-solid .theme-nav-link,
.site-header.is-scrolled .theme-nav-link,
.site-header.is-menu-open .theme-nav-link { color: rgba(46,32,26,0.85); }
.theme-nav-link:hover { color: var(--color-accent); }
.site-header.is-solid .theme-nav-link:hover,
.site-header.is-scrolled .theme-nav-link:hover { color: var(--color-primary); }

.site-logo { display: none; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 1.5rem; transition: transform 0.3s; }
.site-logo:hover { transform: translateY(-2px); }
@media (min-width: 1024px) { .site-logo:not(.site-logo--footer):not(.site-logo--mobile) { display: flex; } }
.site-logo-img {
  height: calc(var(--logo-height) * 0.6) !important;
  width: auto !important;
  display: block;
  transition: height 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}
@media (min-width: 768px) {
  .site-logo-img { height: var(--logo-height) !important; }
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img {
  height: calc(var(--logo-height) * 0.7) !important;
}
@media (min-width: 768px) {
  .site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img {
    height: calc(var(--logo-height) * 1.2) !important;
  }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary-foreground); }
.site-header.is-solid .site-logo-text,
.site-header.is-scrolled .site-logo-text { color: var(--color-foreground); }
.site-logo-text--paired { margin-left: 0.5rem; font-size: 1rem; }

.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-logo--mobile { display: flex; }
.site-logo--mobile .site-logo-img { height: calc(var(--logo-height) * 0.5) !important; }
@media (min-width: 640px) {
  .site-logo--mobile .site-logo-img { height: calc(var(--logo-height) * 0.6) !important; }
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo--mobile .site-logo-img {
  height: calc(var(--logo-height) * 0.6) !important;
}
@media (min-width: 640px) {
  .site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo--mobile .site-logo-img {
    height: calc(var(--logo-height) * 0.7) !important;
  }
}
.site-header.is-solid .site-logo--mobile .site-logo-img,
.site-header.is-scrolled .site-logo--mobile .site-logo-img,
.site-header.is-menu-open .site-logo--mobile .site-logo-img {
  height: calc(var(--logo-height) * 0.5) !important;
}
@media (min-width: 640px) {
  .site-header.is-solid .site-logo--mobile .site-logo-img,
  .site-header.is-scrolled .site-logo--mobile .site-logo-img,
  .site-header.is-menu-open .site-logo--mobile .site-logo-img {
    height: calc(var(--logo-height) * 0.6) !important;
  }
}
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }

.cart-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(250,247,240,0.4); color: var(--color-primary-foreground);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.site-header.is-solid .cart-toggle,
.site-header.is-scrolled .cart-toggle,
.site-header.is-menu-open .cart-toggle { border-color: rgba(46,32,26,0.3); color: var(--color-foreground); }
.cart-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); box-shadow: 0 0 0 4px rgba(197,144,38,0.18); }
.cart-toggle__icon { width: 16px; height: 16px; }
.theme-cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: var(--color-primary-foreground);
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-cart-count {
  background: var(--color-accent);
  color: var(--color-foreground);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0.5rem;
  margin-right: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.mobile-menu-toggle:hover { opacity: 0.6; }
.site-header.is-solid .mobile-menu-toggle,
.site-header.is-scrolled .mobile-menu-toggle,
.site-header.is-menu-open .mobile-menu-toggle { color: var(--color-foreground); }
.icon-menu-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-menu.is-open { display: block; animation: fadeIn 0.3s ease; }
.mobile-menu .theme-nav-list--mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu .theme-nav-list--mobile > li {
  margin: 0;
  border-bottom: 1px solid rgba(221,212,197,0.6);
}
.mobile-menu .theme-nav-list--mobile a.theme-nav-link {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: normal;
  text-align: left;
  color: var(--color-foreground);
  transition: color 0.2s ease;
}
.mobile-menu .theme-nav-list--mobile a.theme-nav-link:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

body.theme-no-hero .site-header { background: var(--color-background); position: sticky; }
body.theme-no-hero .site-nav { height: 96px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-nopal);
  margin-top: -8rem;
  padding-top: 8rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .hero-section {
    margin-top: -13rem;
    padding-top: 13rem;
  }
}
body.theme-no-hero .hero-section { display: none; }

.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-out; }
.hero-slide.is-active { opacity: 1; }
.hero-slide__bg { filter: blur(40px); transform: scale(1.1); opacity: 0.85; }
.hero-slide__frame {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 5rem 0.75rem;
}
.hero-slide__img { position: relative; width: auto; height: 100%; max-width: 90%; object-fit: contain; border-radius: 2px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4); }

.hero-overlay { position: absolute; inset: 0; }
.hero-overlay--tint { background: rgba(13,39,48,0.1); }
.hero-overlay--gradient { background: linear-gradient(to bottom, rgba(13,39,48,0.25), transparent, rgba(13,39,48,0.35)); }
.hero-overlay--radial { background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(13,39,48,0.42) 0%, rgba(13,39,48,0.22) 45%, transparent 78%); }

.hero-content { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; flex-direction: column; padding: 0 1.5rem; }
@media (min-width: 1024px) { .hero-content { padding: 0 2rem; } }
.hero-content__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 56rem; margin: 0 auto; padding: 4rem 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; }
@media (min-width: 768px) { .hero-eyebrow { font-size: 13px; } }
.hero-title { color: var(--color-primary-foreground); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; font-size: clamp(2.4rem, 7vw, 5.5rem); }
.hero-title__accent { font-style: italic; color: var(--color-accent); display: block; }
.hero-subtitle { margin-top: 1.25rem; max-width: 36rem; color: var(--color-primary-foreground); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; width: auto; } }
.hero-badges { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1.5rem; color: var(--color-primary-foreground); font-size: 0.75rem; }
@media (min-width: 768px) { .hero-badges { font-size: 1rem; } }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding-bottom: 2rem;
  color: rgba(250,247,240,0.9);
  align-self: center;
  text-align: center;
}
.hero-scroll-hint span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-indent: 0.35em;
}
.hero-scroll-hint__icon {
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   Section heading system (Section 2.2.5 - per-section scales)
   ========================================================================== */
.section-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }
.section-intro { text-align: center; margin-bottom: 2.5rem; }
.section-heading { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }

.categories-section__heading,
.shop-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .categories-section__heading, .shop-heading { font-size: 3rem; } }

.featured-section__heading { font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .featured-section__heading { font-size: 3rem; } }

.about-section__heading { font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .about-section__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 2.6rem; } }

.owners-content__title { font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .owners-content__title { font-size: 3rem; } }

.services-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }

.shop-heading { margin-bottom: 2.5rem; }

.faq-section__heading { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 3.75rem; } }

.cta-band__title { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* ==========================================================================
   Value pillars
   ========================================================================== */
.pillars-section { background: var(--color-card); padding: 3.5rem 0 4rem; }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-item { display: flex; align-items: flex-start; gap: 1rem; transition: transform 0.3s ease; }
.pillar-item:hover { transform: translateY(-4px); }
.pillar-item__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,83,99,0.1); border: 1px solid rgba(23,83,99,0.2); color: var(--color-primary);
  transition: background-color 0.3s;
}
.pillar-item:hover .pillar-item__icon { background: rgba(197,144,38,0.2); }
.pillar-item__title { font-size: 1.125rem; margin-bottom: 0.375rem; }
@media (min-width: 768px) { .pillar-item__title { font-size: 1.5rem; } }
.pillar-item__text { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.625; }
@media (min-width: 768px) { .pillar-item__text { font-size: 1rem; } }

/* ==========================================================================
   Category strip
   ========================================================================== */
.categories-section { padding: 4rem 0 5rem; }
.category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); place-items: center; gap: 2rem 1rem; padding: 1.5rem 0.5rem 1rem; }
@media (min-width: 640px) { .category-tiles { grid-template-columns: repeat(4, 1fr); } }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.category-tile__circle {
  width: 6rem; height: 6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(238,231,216,0.7); border: 1px solid rgba(221,212,197,0.6);
  transition: all 0.5s ease; ring: 2px solid transparent;
}
@media (min-width: 640px) { .category-tile__circle { width: 7rem; height: 7rem; } }
@media (min-width: 768px) { .category-tile__circle { width: 9rem; height: 9rem; } }
.category-tile:hover .category-tile__circle { transform: scale(1.05); box-shadow: var(--shadow-elevated); background: rgba(23,83,99,0.1); box-shadow: 0 0 0 2px rgba(197,144,38,0.7), var(--shadow-elevated); }
.category-tile__icon { width: 2.25rem; height: 2.25rem; color: var(--color-primary); transition: transform 0.5s ease, color 0.5s ease; }
@media (min-width: 768px) { .category-tile__icon { width: 3rem; height: 3rem; } }
.category-tile:hover .category-tile__icon { transform: scale(1.1) rotate(6deg); color: var(--color-accent); }
.category-tile__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(46,32,26,0.85); text-align: center; }
@media (min-width: 768px) { .category-tile__label { font-size: 0.875rem; } }
.category-tile:hover .category-tile__label { color: var(--color-primary); }

/* ==========================================================================
   Product cards (shared across homepage / shop / related)
   ========================================================================== */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; } }
.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; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-product-card__add { pointer-events: auto; }

.theme-product-card__image-wrapper {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-card);
  border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }
.theme-product-card__img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card__badge {
  position: absolute; top: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 6px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.025em;
}
.theme-product-card__add {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s, color 0.2s;
}
.theme-product-card__badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card:hover .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.theme-product-card__category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__name { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.375; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: rgba(46,32,26,0.85); }
.theme-product-card__price .amount,
.theme-product-card__price bdi { font-family: var(--font-body); }

.featured-section,
.categories-section,
.pillars-section,
.shop-section,
.faq-section { position: relative; }
.featured-section__cta,
.shop-show-more { text-align: center; margin-top: 3.5rem; }
.featured-section { padding: 4rem 0 6rem; }

/* ==========================================================================
   Rotating banner
   ========================================================================== */
.banner-rotator { position: relative; width: 100%; overflow: hidden; height: 40vh; }
@media (min-width: 768px) { .banner-rotator { height: 55vh; } }
@media (min-width: 1024px) { .banner-rotator { height: 65vh; } }
.banner-rotator__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.2s cubic-bezier(0.25,0.4,0.25,1), transform 1.2s cubic-bezier(0.25,0.4,0.25,1); }
.banner-rotator__slide.is-active { opacity: 1; transform: scale(1); }
.banner-rotator__tint { position: absolute; inset: 0; background: rgba(13,39,48,0.25); }
.banner-rotator__dots { position: absolute; bottom: 1.5rem; left: 0; right: 0; display: flex; justify-content: center; gap: 0.75rem; z-index: 10; }
.banner-rotator__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(250,247,240,0.5); transition: all 0.3s; }
.banner-rotator__dot.is-active { background: var(--color-accent); transform: scale(1.25); }
.banner-rotator__dot:hover { background: rgba(250,247,240,0.8); }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { padding: 3.5rem 0 6rem; }
@media (min-width: 768px) { .about-section { padding: 5rem 0 8rem; } }
.about-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
@media (min-width: 768px) { .about-section__inner { padding: 0 3.5rem; } }
@media (min-width: 1024px) { .about-section__inner { padding: 0 5rem; } }
.about-section__heading { margin-bottom: 2.5rem; }
.about-section__heading em { font-style: italic; color: var(--color-primary); }
.about-section__body { font-family: var(--font-body); color: rgba(46,32,26,0.75); line-height: 1.625; font-size: 1rem; }
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 36rem; margin: 0 auto 2.5rem; }
.about-stats__value { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-primary); line-height: 1; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .about-stats__value { font-size: 3rem; } }
.about-stats__label { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .about-stats__label { font-size: 0.875rem; } }
.about-section__link { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--color-foreground); }

/* ==========================================================================
   Meet the owners
   ========================================================================== */
.owners-section { background: var(--color-primary); color: var(--color-primary-foreground); }
.owners-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .owners-grid { grid-template-columns: 1fr 1fr; } }
.owners-image { position: relative; min-height: 360px; overflow: hidden; }
@media (min-width: 768px) { .owners-image { min-height: 500px; } }
@media (min-width: 1024px) { .owners-image { min-height: 620px; } }
.owners-image__img { transition: transform 0.7s; }
.owners-image:hover .owners-image__img { transform: scale(1.05); }
.owners-image__gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,39,48,0.85), rgba(13,39,48,0.2), transparent); }
.owners-image__caption { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; color: var(--color-primary-foreground); }
.owners-image__caption-title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
@media (min-width: 768px) { .owners-image__caption-title { font-size: 1.875rem; } }
.owners-image__caption-sub { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(250,247,240,0.8); }
.owners-content { display: flex; align-items: center; }
.owners-content__inner { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owners-content__inner { padding: 5rem 3rem; } }
@media (min-width: 1280px) { .owners-content__inner { padding: 5rem 5rem; } }
.owners-content__eyebrow { color: var(--color-accent); margin-bottom: 1.25rem; }
.owners-content__title { margin-bottom: 1.5rem; }
.owners-content__body { color: rgba(250,247,240,0.85); line-height: 1.625; margin-bottom: 1.25rem; font-size: 1rem; }
@media (min-width: 768px) { .owners-content__body { font-size: 1.125rem; } }
.owners-content__quote { font-family: var(--font-display); font-style: italic; color: var(--color-accent); font-size: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .owners-content__quote { font-size: 1.5rem; } }
.owners-content__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; }
@media (min-width: 768px) { .owners-content__meta { font-size: 1rem; } }
.owners-content__meta a,
.owners-content__meta span { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(250,247,240,0.85); transition: color 0.2s; }
.owners-content__meta svg { color: var(--color-accent); flex-shrink: 0; }
.owners-content__meta a:hover { color: var(--color-accent); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background: var(--color-card); padding: 5rem 0 7rem; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.service-card {
  display: flex; flex-direction: column; text-align: center;
  background: var(--color-background); border-radius: 1rem; padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: rgba(23,83,99,0.4); }
.service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; transition: transform 0.5s; }
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(-6deg); }
.service-card.accent-primary .service-card__icon,
.service-card.accent-primary .service-card__kicker,
.service-card.accent-primary .service-card__cta { color: var(--color-primary); }
.service-card.accent-accent .service-card__icon,
.service-card.accent-accent .service-card__kicker,
.service-card.accent-accent .service-card__cta { color: var(--color-accent); }
.service-card.accent-rosa .service-card__icon,
.service-card.accent-rosa .service-card__kicker,
.service-card.accent-rosa .service-card__cta { color: var(--color-rosa); }
.service-card.accent-teal .service-card__icon,
.service-card.accent-teal .service-card__kicker,
.service-card.accent-teal .service-card__cta { color: var(--color-teal); }
.service-card__cta:hover { color: var(--color-accent) !important; }
.service-card__kicker { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.5rem; }
.service-card__title { font-size: 1.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .service-card__desc { font-size: 1rem; } }
.service-card__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   Shop section
   ========================================================================== */
.shop-section { padding: 4rem 0 6rem; }
.shop-section__intro { text-align: center; margin-bottom: 1.5rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
  width: 100%; padding: 0.5rem 0.5rem 0.5rem 1.75rem; background: transparent;
  border: 0; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 1rem;
  color: var(--color-foreground); transition: border-color 0.2s;
}
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }
.shop-cat-pills { display: flex; overflow-x: auto; gap: 0.5rem; margin-bottom: 1rem; padding: 0 0.25rem; justify-content: center; flex-wrap: wrap; scrollbar-width: none; }
.shop-cat-pill {
  flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
  transition: all 0.3s;
}
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-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: var(--color-muted-foreground); transition: color 0.2s; }
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-filter__chevron { transition: transform 0.3s; }
.shop-price-filter__toggle[aria-expanded="true"] .shop-price-filter__chevron { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }
.shop-price-filter__panel[hidden] { display: none; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 2px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 3px; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.shop-helper-text { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-shop-card.is-filtered-out { display: none !important; }
.theme-shop-card.is-hidden-page { display: none !important; }
.shop-no-results { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }
.shop-no-results[hidden] { display: none; }
.shop-show-more[hidden] { display: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding: 5rem 0 7rem; }
.faq-section__intro { max-width: 36rem; margin: 0 auto; text-align: center; margin-bottom: 2rem; }
.faq-section__intro-text { color: rgba(46,32,26,0.75); font-size: 1rem; }
@media (min-width: 768px) { .faq-section__intro-text { font-size: 1.125rem; } }
.faq-section__intro-text a { text-decoration: underline; text-decoration-color: rgba(46,32,26,0.3); text-underline-offset: 4px; word-break: break-all; }
.faq-section__intro-text a:hover { text-decoration-color: var(--color-foreground); }

.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; margin-bottom: 2.5rem; }
.faq-tab {
  flex-shrink: 0; border-radius: 999px; border: 1px solid var(--color-border); padding: 0.625rem 1.25rem;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  background: transparent; color: var(--color-foreground); transition: all 0.2s;
}
.faq-tab--nopal { border-color: var(--color-nopal); }
.faq-tab--nopal.is-active { background: var(--color-nopal); color: var(--color-background); }
.faq-tab--nopal:not(.is-active):hover { background: rgba(13,39,48,0.1); }
.faq-tab--teal { border-color: var(--color-teal); color: var(--color-teal); }
.faq-tab--teal.is-active { background: var(--color-teal); color: var(--color-background); }
.faq-tab--teal:not(.is-active):hover { background: rgba(39,106,124,0.1); }
.faq-tab--rosa { border-color: var(--color-rosa); color: var(--color-rosa); }
.faq-tab--rosa.is-active { background: var(--color-rosa); color: var(--color-background); }
.faq-tab--rosa:not(.is-active):hover { background: rgba(182,57,43,0.15); }
.faq-tab--marigold { border-color: var(--color-marigold); }
.faq-tab--marigold.is-active { background: var(--color-marigold); color: var(--color-foreground); }
.faq-tab--marigold:not(.is-active):hover { background: rgba(221,162,44,0.25); }
.faq-tab--lilac { border-color: var(--color-lilac); }
.faq-tab--lilac.is-active { background: var(--color-lilac); color: var(--color-foreground); }
.faq-tab--lilac:not(.is-active):hover { background: rgba(232,220,196,0.25); }

.faq-panels { max-width: 48rem; margin: 0 auto; border-top: 1px solid rgba(46,32,26,0.15); }
.faq-panel { display: none; animation: fadeIn 0.25s ease; }
.faq-panel.is-active { display: block; }
.faq-item { border-bottom: 1px solid rgba(46,32,26,0.15); }
.faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__question span { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.375; transition: color 0.2s; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.25rem; } }
.faq-item__question:hover span { color: var(--color-primary); }
.faq-item.is-open .faq-item__question span { color: var(--color-accent); }
.faq-item__chevron { flex-shrink: 0; margin-top: 0.25rem; color: rgba(46,32,26,0.5); transition: transform 0.3s; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); color: var(--color-accent); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1); }
.faq-item__answer p { color: rgba(46,32,26,0.75); font-size: 1rem; line-height: 1.625; padding-bottom: 1.25rem; padding-right: 1rem; }
.faq-item.is-open .faq-item__answer { max-height: 40rem; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-section { position: relative; min-height: 85vh; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6rem 1rem; overflow: hidden; }
.final-cta-section__tint { position: absolute; inset: 0; background: rgba(13,39,48,0.35); backdrop-filter: blur(1px) saturate(1.05); }
.final-cta-card {
  position: relative; z-index: 10; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: linear-gradient(135deg, rgba(250,247,240,0.97) 0%, rgba(244,238,226,0.92) 55%, rgba(197,144,38,0.35) 100%);
  backdrop-filter: blur(12px);
  padding: 3.5rem 2rem;
  text-align: center;
}
@media (min-width: 768px) { .final-cta-card { padding: 5rem 4rem; } }
.final-cta-card__kicker { font-family: var(--font-display); font-style: italic; color: var(--color-primary); font-size: 1.125rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .final-cta-card__kicker { font-size: 1.5rem; } }
.final-cta-card__title { margin-bottom: 1.5rem; }
.final-cta-card__title em { font-style: italic; color: var(--color-primary); }
.final-cta-card__body { font-size: 1rem; color: rgba(46,32,26,0.75); line-height: 1.625; max-width: 36rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .final-cta-card__body { font-size: 1.125rem; } }
.final-cta-card__ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .final-cta-card__ctas { flex-direction: row; } }
.final-cta-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem; font-size: 0.75rem; color: rgba(46,32,26,0.65); }
@media (min-width: 768px) { .final-cta-card__meta { font-size: 0.875rem; } }
.final-cta-card__meta span { display: inline-flex; align-items: center; gap: 0.375rem; }
.final-cta-card__meta-dot { color: rgba(46,32,26,0.3); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
}

.site-logo--footer {
  display: flex;
  flex-shrink: 0;
  padding: 0;
}
.site-logo--footer:hover { transform: translateY(-2px); }
.site-logo--footer .site-logo-img {
  height: 5rem !important;
  width: auto !important;
}
@media (min-width: 768px) {
  .site-logo--footer .site-logo-img { height: 7rem !important; }
}

.site-footer__intro { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(46,32,26,0.7);
  line-height: 1.625;
}
.site-footer__contact-line {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(46,32,26,0.7);
}
.footer-email-link:hover { color: var(--color-foreground); }
.site-footer__contact-line .dot { margin: 0 0.5rem; color: rgba(46,32,26,0.4); }

.site-footer__columns {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer__columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(17.5rem, 1.55fr);
    gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .site-footer__columns { gap: 3rem; }
}

.footer-col { min-width: 0; }

.footer-col--wide { grid-column: span 2 / span 2; }
@media (min-width: 768px) { .footer-col--wide { grid-column: span 1 / span 1; } }

.footer-col__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
}
.footer-col__list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(46,32,26,0.7);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--color-primary); }
.footer-link--icon {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(46,32,26,0.8);
  min-width: 0;
}
.footer-link--icon:hover { color: var(--color-primary); }
.footer-link--icon svg { color: var(--color-accent); margin-top: 0.15rem; flex-shrink: 0; }
.footer-col__list--icons > li:first-child .footer-link--icon span { white-space: nowrap; }

.site-footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; align-items: center; text-align: left; }
}
.site-footer__quote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.025em;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-style: italic;
}
.site-footer__quote svg { color: var(--color-accent); flex-shrink: 0; }
.site-footer__copyright {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.025em;
  color: var(--color-muted-foreground);
}

/* ==========================================================================
   Cart drawer / overlay
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(46,32,26,0.2); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 26rem; z-index: 95;
  background: var(--color-background); box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.cart-drawer__close { padding: 0.25rem; opacity: 0.8; transition: opacity 0.2s; }
.cart-drawer__close:hover { opacity: 1; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-drawer__item { display: flex; gap: 1rem; }
.cart-drawer__item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.5rem; display: block; position: relative; }
.cart-drawer__item-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-drawer__item-body { flex: 1; min-width: 0; }
.cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s; }
.cart-drawer__item-name:hover { opacity: 0.7; }
.cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-drawer__item-variation { margin-top: 0.5rem; }
.cart-drawer__item-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.cart-drawer__item-meta-row { font-size: 0.75rem; color: var(--color-muted-foreground); display: flex; flex-wrap: wrap; gap: 0.25rem 0.375rem; align-items: center; }
.cart-drawer__item-meta-label { font-weight: 500; }
.cart-drawer__item-meta-value { display: inline-flex; align-items: center; gap: 0.375rem; }
.cart-drawer__item-meta-value--italic { font-style: italic; }
.cart-drawer__color-swatch { width: 0.625rem; height: 0.625rem; border-radius: 999px; border: 1px solid var(--color-border); flex-shrink: 0; }
.cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s; }
.qty-btn:hover { background: var(--color-secondary); }
.cart-drawer__item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.cart-drawer__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.cart-drawer__checkout-btn { width: 100%; }
.cart-drawer__empty-btn { width: 100%; }

.ajax_add_to_cart.theme-btn-loading,
.single_add_to_cart_button.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; }
.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; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
.contact-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.contact-modal.is-open { display: flex; }
.contact-modal__overlay { position: absolute; inset: 0; background: rgba(46,32,26,0.4); animation: fadeIn 0.25s ease; }
.contact-modal__panel {
  position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated);
  padding: 2rem; animation: fadeIn 0.3s ease;
}
.contact-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; opacity: 0.7; }
.contact-modal__close:hover { opacity: 1; }
.contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.contact-modal__desc { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.625; margin-bottom: 1.25rem; }
.contact-modal__info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.contact-modal__info-item { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__info-item svg { color: var(--color-accent); }
.contact-modal__info-item a:hover { color: var(--color-foreground); }
.contact-modal__success { text-align: center; padding: 2rem 0; }
.contact-modal__success[hidden] { display: none; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.contact-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }
.contact-modal__form[hidden] { display: none; }
.contact-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row--2col { grid-template-columns: 1fr 1fr; } }
.form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background);
  border: 1px solid var(--color-border); border-radius: 6px; font-size: 1rem; font-family: var(--font-body);
  color: var(--color-foreground); transition: box-shadow 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(23,83,99,0.35); }
.form-field textarea { resize: none; }
.contact-modal__form-footer { display: flex; justify-content: flex-end; }

/* ==========================================================================
   Breadcrumb (single product)
   ========================================================================== */
.breadcrumb-nav { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.breadcrumb-nav a:hover { color: var(--color-foreground); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--color-foreground); }

/* ==========================================================================
   Single product
   ========================================================================== */
body.theme-no-hero .single-product-main {
  padding-top: 1.5rem !important;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  body.theme-no-hero .single-product-main {
    padding-top: 2rem !important;
  }
}

.single-product-main { background: var(--color-background); }

.theme-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1rem 0 6rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 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;
    align-self: start;
    padding-left: 1rem;
  }
}

.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__stacked { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) {
  .theme-product-gallery__mobile { display: none; }
  .theme-product-gallery__stacked { display: flex; }
}

.theme-product-gallery__frame {
  aspect-ratio: 1 / 1;
  background: var(--color-secondary);
  overflow: hidden;
  border-radius: 1rem;
}

.theme-product-gallery__img,
.theme-thumb__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: static !important;
}

.theme-product-thumbnails__row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.25rem;
}

.theme-thumb {
  position: relative;
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-secondary);
  border-radius: 0.5rem;
  border: none;
  padding: 0;
  cursor: pointer;
}

.theme-thumb img { opacity: 0.6; transition: opacity 0.2s; }
.theme-thumb:hover img,
.theme-thumb.is-active img { opacity: 1; }
.theme-thumb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-foreground);
  opacity: 0;
  transition: opacity 0.2s;
}
.theme-thumb.is-active::after { opacity: 1; }

.theme-product-info__category {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.product-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: 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
@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;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.theme-product-info__stock--out { color: var(--color-rosa); font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-info__excerpt { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; }

.theme-product-purchase { margin-bottom: 0.5rem; }
.theme-quantity-label {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}

.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.theme-qty-minus,
.theme-qty-plus {
  padding: 0.5rem 0.75rem;
  transition: background-color 0.2s;
  line-height: 0;
}
.theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--color-secondary); }

.theme-qty-value {
  min-width: 2.75rem;
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.theme-qty-hidden { display: none !important; }

.theme-product-atc,
.single-product .theme-product-purchase .single_add_to_cart_button {
  display: flex !important;
  width: 100% !important;
  min-height: 3.5rem !important;
  padding: 1rem 1.5rem !important;
  margin-top: 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.25em !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 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;
}
.theme-accordion__trigger span {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.theme-accordion__chevron { transition: transform 0.3s; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.theme-accordion.is-open .theme-accordion__panel { max-height: 100rem; padding-bottom: 1.5rem; }
.theme-accordion__panel--shipping p + p { margin-top: 0.75rem; }

.theme-product-description {
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.625;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}
.theme-product-description p { margin-bottom: 1em; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  display: flex;
  align-items: flex-start;
}
.theme-product-details-list .bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-foreground);
  margin-top: 0.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-header { text-align: center; margin-bottom: 3rem; }
.related-products-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }

.theme-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.theme-related-card { display: block; color: inherit; text-decoration: none; }
.theme-related-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--color-card);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.theme-related-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: static !important;
  transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-related-card:hover .theme-related-card__img { transform: scale(1.05); }
.theme-related-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-related-card__category {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-foreground);
}
.theme-related-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.375;
  color: var(--color-foreground);
  transition: color 0.3s;
}
@media (min-width: 768px) { .theme-related-card__name { font-size: 1.125rem; } }
.theme-related-card:hover .theme-related-card__name { color: var(--color-primary); }
.theme-related-card__price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(46, 32, 26, 0.85);
}

/* Variations / product option pills */
.screen-reader-text,
.theme-option-select-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.theme-product-options { margin-bottom: 1rem; }
.theme-product-option { margin-bottom: 1.5rem; position: relative; }
.theme-product-option__label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-weight: 400;
}
.theme-product-option__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.theme-option-pill {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-option-pill--color {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}
.theme-option-pill--color:hover { border-color: rgba(46, 32, 26, 0.6); }
.theme-option-pill--color.is-selected {
  border-color: var(--color-foreground);
  background: rgba(46, 32, 26, 0.05);
}
.theme-option-pill__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.theme-option-pill--attribute {
  padding: 0.5rem 1rem;
}
.theme-option-pill--attribute:hover { border-color: rgba(46, 32, 26, 0.6); }
.theme-option-pill--attribute.is-selected {
  background: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}
.theme-product-custom-request textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  background: var(--color-background);
  resize: vertical;
  min-height: 5rem;
}
.theme-product-custom-request textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none !important; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.single-product .single_variation_wrap { margin-top: 0; }

/* ==========================================================================
   WooCommerce global overrides
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button {
  font-weight: 500 !important;
  letter-spacing: 0.25em !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 {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: not-allowed !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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--btn-radius) !important;
}

/* ==========================================================================
   WooCommerce Checkout Block
   ========================================================================== */
.checkout-page-shell {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .checkout-page-shell { padding: 0 2rem; }
}
body.woocommerce-checkout .site-main--checkout {
  padding-top: calc(var(--header-height, 80px) * 0.6);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .checkout-page-shell,
body.woocommerce-checkout .checkout-entry-content {
  max-width: 80rem;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}
.checkout-page-header { padding-top: 1.5rem; }
.checkout-page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}
.checkout-page-header__back:hover { color: var(--color-foreground); }
.checkout-page-header__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.875rem;
  margin: 0 0 0.5rem;
}
@media (min-width: 768px) {
  .checkout-page-header__title { font-size: 2.25rem; }
}
.checkout-page-header__intro {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin: 0 0 2.5rem;
  max-width: 42rem;
  line-height: 1.625;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  box-sizing: border-box;
  font-family: var(--font-body);
  color: var(--color-foreground);
}
body.woocommerce-checkout .site-main .container-wide,
body.woocommerce-checkout .page-title { display: none; }

body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--checkout-gap);
  align-items: start;
  width: 100%;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout-sidebar-layout {
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: 1.5rem;
  }
}
body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
.entry-content .wc-block-components-sidebar-layout > *,
.entry-content .wc-block-checkout-sidebar-layout > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  grid-column: 1 / -1;
  order: 1;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout__main,
.entry-content .wc-block-checkout__main {
  order: 2;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
  order: 3;
  min-width: 0;
  background: none;
  padding: 0;
  border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: none;
  padding: 0;
  border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background-color: var(--color-card);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
  grid-column: 1 / -1;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty .wc-block-components-button,
.entry-content .wc-block-checkout-empty .wc-block-components-button {
  margin-inline: auto;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
  border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.9;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
  border-radius: 8px;
}

/* ==========================================================================
   Thank you page
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 3rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================================
   Other WooCommerce pages (cart / account) width parity
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 3rem; padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin: 0 auto; }

/* ==========================================================================
   Misc utility
   ========================================================================== */
.scroll-mt { scroll-margin-top: 6rem; }
.theme-404 { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.theme-404__inner { text-align: center; }
.theme-404__code { font-family: var(--font-display); font-size: 2.25rem; font-weight: 400; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; margin: 2rem 0; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
@media (min-width: 1024px) { .page-title { font-size: 3.75rem; } }

/* ==========================================================================
   Clickable affordances + admin bar offset
   ========================================================================== */
a[href],
button:not(:disabled),
[role="button"],
[data-contact-open],
[data-cart-open],
[data-scroll-link],
.theme-nav-link,
.category-tile,
.theme-product-card,
.theme-product-card a,
.cart-toggle,
.mobile-menu-toggle,
.shop-cat-pill,
.banner-rotator__dot,
.faq-tab,
.faq-item summary,
.site-logo,
.service-card__cta,
.footer-link,
.qty-btn,
.theme-thumb,
.theme-qty-minus,
.theme-qty-plus,
.cart-drawer__remove,
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
.select2-selection {
  cursor: pointer;
}

button:disabled,
input:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
body.is-customizer.admin-bar .hero-section {
  scroll-margin-top: 32px;
}
