/* ==========================================================================
   J. Atomic Designs – Theme CSS
   Theme by The Free Website Guys
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS Variables)
   -------------------------------------------------------------------------- */

:root {
  /* Colors – overridden by inline style from functions.php */
  --color-background:       #F8F6F2;
  --color-foreground:       #1D222A;
  --color-primary:          #1D222A;
  --color-accent:           #B28443;
  --color-secondary:        #EEEBE8;
  --color-border:           #DBD6D1;
  --color-muted-foreground: #595E69;

  /* Derived colors */
  --color-button-text:      #F8F6F2;
  --color-primary-foreground: #F8F6F2;

  /* Typography */
  --font-display: 'Lora', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Button tokens */
  --btn-height:         3rem;
  --btn-padding:        0 2rem;
  --btn-font-size:      0.6875rem;
  --btn-font-weight:    500;
  --btn-letter-spacing: 0.2em;
  --btn-text-transform: uppercase;
  --btn-radius:         0;

  /* Logo */
  --logo-height: 60px;

  /* Shadow */
  --shadow-soft:     0 1px 0 rgba(29,34,42,0.04);
  --shadow-elevated: 0 18px 48px -24px rgba(29,34,42,0.18);

  /* Transition */
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

  /* Layout */
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--color-border);
}

html, body {
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-background);
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

img, video {
  max-width: 100%;
  display: block;
}

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; margin: 0; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; padding: 0; }

/* Global img rule – exclude cover images */
img:not(.cover-img):not(.product-card-img):not(.site-logo-img):not(.gallery-main-img):not(.gallery-thumb-img):not(.service-img):not(.contact-img):not(.texture-img):not(.lifestyle-divider__img):not(.footer-brand__logo):not(.cart-item-thumb):not(.pair-thumb):not(.wc-product-img) {
  max-width: 100%;
  height: auto;
}

.cover-img,
.product-card-img,
.gallery-main-img,
.service-img,
.contact-img,
.texture-img,
.wc-product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */

.container-wide {
  width: 100%;
  max-width: 80rem; /* 7xl = 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container-wide {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 767px) {
  .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container-editorial {
  width: 100%;
  max-width: 64rem; /* 5xl = 1024px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container-editorial {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY CLASSES
   -------------------------------------------------------------------------- */

.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }

.text-hero {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 300;
}

.text-section {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.text-section em {
  font-style: italic;
  font-weight: 400;
}

.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

.label-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted-foreground);
  display: block;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   5. BUTTON STYLES
   -------------------------------------------------------------------------- */

.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  background: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-foreground);
  border-radius: 0;
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-editorial:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.btn-editorial-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-foreground);
  border-radius: 0;
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-editorial-solid:hover {
  background-color: transparent;
  color: var(--color-foreground);
}

.btn-editorial-inverse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-background);
  border-radius: 0;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-editorial-inverse:hover {
  background-color: transparent;
  color: var(--color-background);
}

/* --------------------------------------------------------------------------
   6. UTILITY CLASSES
   -------------------------------------------------------------------------- */

.rule         { display: block; width: 100%; height: 1px; background-color: var(--color-border); }
.section-rule { display: block; width: 3rem; height: 1px; background-color: rgba(29,34,42,0.4); }

.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.image-zoom {
  transition: transform 0.7s ease-out;
}
.image-zoom:hover { transform: scale(1.02); }

/* --------------------------------------------------------------------------
   7. ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes heroFadeOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(1.02); }
}

.animate-fade-in { animation: fadeIn 0.8s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.8s var(--ease-smooth) forwards; }

/* Scroll reveal */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s var(--ease-smooth), transform 1.0s var(--ease-smooth);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays within parent containers */
.reveal-stagger > .reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal-item:nth-child(6) { transition-delay: 0.40s; }

/* Customizer preview fallback */
.is-customizer .reveal-item { opacity: 1; transform: none; }

.hero-slide.is-slot-hidden,
.testimonial-slide.is-slot-hidden,
.service-stack-card.is-slot-hidden,
.service-card-mobile.is-slot-hidden,
.faq-item.is-slot-hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Keep testimonial carousel single-slide (override inline display from customizer) */
.testimonial-slide:not(.is-active):not(.is-slot-hidden) {
  display: none !important;
}

/* Marquee */
.marquee-track { animation: marquee 70s linear infinite; }

/* --------------------------------------------------------------------------
   8. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */

.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.5rem 2rem;
  position: relative;
}

.announcement-bar__text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

.announcement-bar__close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.2s;
  cursor: pointer;
  color: var(--color-background);
}
.announcement-bar__close:hover { opacity: 0.5; }
.announcement-bar__close svg { display: block; }

/* --------------------------------------------------------------------------
   9. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 2px;
  background-color: var(--color-foreground);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform;
}

.scroll-progress-bar.is-on-announcement {
  background-color: var(--color-background);
}

/* --------------------------------------------------------------------------
   10. WORDPRESS ADMIN BAR OFFSET
   -------------------------------------------------------------------------- */

body.admin-bar {
  padding-top: 0 !important;
}

body.admin-bar .announcement-bar {
  top: 32px;
}

body.admin-bar .scroll-progress-bar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .announcement-bar,
  body.admin-bar .scroll-progress-bar {
    top: 46px;
  }
}

/* --------------------------------------------------------------------------
   11. SITE HEADER
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  left: 0; right: 0;
  z-index: 50;
  transition: top 0.3s ease;
}

.site-header__bar {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: rgba(248,246,242,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .site-header__bar { padding-left: 3rem; padding-right: 3rem; }
}

.site-header__nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 76px;
  transition: height 0.3s ease;
}

@media (min-width: 1024px) {
  .site-header__nav { height: 84px; }
}

.site-header.is-scrolled .site-header__nav { height: 60px; }

/* Logo badge circle */
.site-header__logo-wrap {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  text-decoration: none;
}

.site-header__logo-circle {
  border-radius: 50%;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 102px;
  height: 102px;
  transform: translateY(19px);
  transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-header__logo-circle {
    width: 122px; height: 122px;
    transform: translateY(26px);
  }
}

@media (min-width: 1024px) {
  .site-header__logo-circle {
    width: 134px; height: 134px;
    transform: translateY(26px);
  }
}

.site-header.is-scrolled .site-header__logo-circle {
  width: 60px; height: 60px;
  transform: translateY(10px);
}

@media (min-width: 768px) {
  .site-header.is-scrolled .site-header__logo-circle {
    width: 72px; height: 72px;
    transform: translateY(14px);
  }
}

@media (min-width: 1024px) {
  .site-header.is-scrolled .site-header__logo-circle {
    width: 80px; height: 80px;
    transform: translateY(14px);
  }
}

.site-logo-img {
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  display: block;
  text-align: center;
  padding: 0.5rem;
}

.site-header__logo-circle .site-header__logo-img {
  height: 73px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transition: height 0.3s ease;
}

@media (min-width: 768px) {
  .site-header__logo-circle .site-header__logo-img {
    height: 83px;
  }
}

.site-header.is-scrolled .site-header__logo-circle .site-header__logo-img {
  height: 14px;
}

@media (min-width: 768px) {
  .site-header.is-scrolled .site-header__logo-circle .site-header__logo-img {
    height: 50px;
  }
}

@media (min-width: 1024px) {
  .site-header.is-scrolled .site-header__logo-circle .site-header__logo-img {
    height: 56px;
  }
}

.mobile-menu__logo-img {
  height: 2.5rem;
  width: auto;
}

/* Right side: nav + cart + hamburger */
.site-header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) { .site-header__right { gap: 2rem; } }
@media (min-width: 1024px) { .site-header__right { gap: 2.5rem; } }

.site-header__desktop-nav {
  display: none;
}
@media (min-width: 768px) {
  .site-header__desktop-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .site-header__desktop-nav { gap: 2.5rem; }
}

.site-header__nav-link {
  color: var(--color-foreground);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s var(--ease-smooth);
}
.site-header__nav-link:hover { color: var(--color-accent); }

/* Cart button */
.site-header__cart-btn {
  position: relative;
  padding: 0.5rem;
  transition: color 0.3s;
  color: var(--color-foreground);
  cursor: pointer;
}
.site-header__cart-btn:hover { color: var(--color-accent); }

.theme-cart-count {
  position: absolute;
  top: -0.125rem; right: -0.125rem;
  width: 1.25rem; height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-family: var(--font-body);
  background-color: var(--color-accent);
  color: var(--color-background);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

/* Hamburger */
.site-header__hamburger {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  position: relative;
  z-index: 55;
}
@media (min-width: 768px) { .site-header__hamburger { display: none; } }

.site-header__hamburger span {
  display: block;
  height: 1px;
  background-color: var(--color-foreground);
  transition: all 0.3s ease;
}
.site-header__hamburger span:nth-child(1) { width: 1.5rem; }
.site-header__hamburger span:nth-child(2) { width: 1.75rem; }
.site-header__hamburger span:nth-child(3) { width: 1rem; }
.site-header__hamburger:hover span:nth-child(3) { width: 1.75rem; }

.site-header__hamburger.is-open span:nth-child(1) {
  width: 1.75rem; transform: translateY(6px) rotate(45deg);
}
.site-header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.site-header__hamburger.is-open span:nth-child(3) {
  width: 1.75rem; transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   11. MOBILE MENU
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 88vw; max-width: 24rem;
  height: 100%;
  background-color: var(--color-background);
  border-right: 1px solid var(--color-border);
  z-index: 80;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-smooth);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

body.admin-bar .mobile-menu {
  top: 32px;
  height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .mobile-menu {
    top: 46px;
    height: calc(100% - 46px);
  }
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(29,34,42,0.3);
  z-index: 79;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.is-open ~ .mobile-menu__overlay,
.mobile-menu__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.5rem;
  height: 76px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mobile-menu__close {
  padding: 0.25rem;
  cursor: pointer;
  color: var(--color-foreground);
}

.mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.mobile-menu__nav ul { display: flex; flex-direction: column; }

.mobile-menu__nav li { border-bottom: 1px solid var(--color-border); }

.mobile-menu__nav-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, font-style 0.2s;
}
.mobile-menu__nav-btn:hover { font-style: italic; color: var(--color-accent); }

.mobile-menu__footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   12. MAIN CONTENT OFFSET
   -------------------------------------------------------------------------- */

/* Inner pages: offset for fixed header + logo badge clearance */
body.theme-no-hero:not(.single-product) .site-main {
  padding-top: calc(var(--header-height, 80px) + 4rem);
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  body.theme-no-hero:not(.single-product) .site-main {
    padding-top: calc(var(--header-height, 80px) + 5rem);
    padding-bottom: 7rem;
  }
}

/* Homepage: no top offset (hero fills viewport under transparent header) */
body:not(.theme-no-hero) .site-main {
  padding-top: 0;
}

/* Generic inner page content wrapper (cart, checkout, pages, etc.) */
.page-content-wrap {
  padding-top: 0.5rem;
}

.page-content-wrap .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--color-foreground);
}

.page-content-wrap .entry-content {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--color-foreground);
}

/* --------------------------------------------------------------------------
   13. HERO SECTION
   -------------------------------------------------------------------------- */

.hero-section {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background-color: var(--color-secondary);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-smooth);
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide.is-active img {
  animation: heroSlideIn 3.2s var(--ease-smooth) forwards;
}

.hero-slide.is-exiting {
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s var(--ease-smooth);
}

.hero-slide.is-exiting img {
  animation: heroFadeOut 1.2s var(--ease-smooth) forwards;
}

@keyframes heroSlideIn {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--color-background) 90%, transparent) 0%,
    color-mix(in srgb, var(--color-background) 50%, transparent) 50%,
    color-mix(in srgb, var(--color-background) 20%, transparent) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 300;
  color: var(--color-foreground);
  opacity: 0;
  animation: slideUp 1s 0.2s var(--ease-smooth) forwards;
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  opacity: 0;
  animation: slideUp 1s 0.5s var(--ease-smooth) forwards;
}

.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  animation: slideUp 1s 0.8s var(--ease-smooth) forwards;
}

/* --------------------------------------------------------------------------
   14. ABOUT SECTION
   -------------------------------------------------------------------------- */

#about.about-section,
.about-section {
  padding: 6rem 0;
}
@media (min-width: 1024px) { .about-section { padding: 9rem 0; } }

.about-section .section-inner { max-width: 48rem; margin: 0 auto; text-align: center; }

.about-section .about-eyebrow { margin-bottom: 2rem; }

.about-section .about-social .label-eyebrow {
  margin-bottom: 1rem;
  text-align: center;
}

/* Manifesto scroll highlight */
.manifesto-sticky {
  position: relative;
  height: 220vh;
  max-width: 48rem;
  margin: 0 auto;
}
.manifesto-sticky__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 300;
  text-align: center;
}
@media (min-width: 768px) { .manifesto-text { font-size: 1.875rem; } }
@media (min-width: 1024px) { .manifesto-text { font-size: 2.25rem; } }

.manifesto-word {
  display: inline;
  opacity: 0.18;
  transition: opacity 0.4s ease;
}
.manifesto-word.is-lit { opacity: 1; }
.manifesto-word.italic { font-style: italic; }

.about-body-text {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1024px) { .about-body-text { font-size: 1.125rem; } }

.about-social {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.about-social ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}
.about-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: color 0.2s;
}
.about-social a:hover { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   15. TEXTURE BANNER (4-image grid)
   -------------------------------------------------------------------------- */

.texture-banner {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  background-color: color-mix(in srgb, var(--color-secondary) 30%, transparent);
}
.texture-banner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .texture-banner__grid { grid-template-columns: repeat(4, 1fr); } }

.texture-banner__item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
@media (min-width: 768px) { .texture-banner__item { aspect-ratio: 3/4; } }

/* --------------------------------------------------------------------------
   16. MARQUEE SECTION
   -------------------------------------------------------------------------- */

.marquee-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  padding: 1.5rem 0;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-foreground);
  padding: 0 2.5rem;
}
@media (min-width: 768px) { .marquee-word { font-size: 1.875rem; } }

.marquee-divider {
  display: block;
  width: 1px;
  height: 1.5rem;
  background-color: rgba(29,34,42,0.3);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   17. SERVICES SECTION
   -------------------------------------------------------------------------- */

.services-section {
  padding: 6rem 0;
}
@media (min-width: 1024px) { .services-section { padding: 9rem 0; } }

.services-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) { .services-section .section-header { margin-bottom: 5rem; } }

.services-section .section-header .label-eyebrow { margin-bottom: 1.5rem; }

.services-section .section-header .text-section { margin-top: 0; }

.services-body-text {
  margin-top: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  text-align: center;
}
@media (min-width: 1024px) { .services-body-text { font-size: 1.125rem; } }

.service-stack-card__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.875rem, 3vw, 3rem);
  line-height: 1.05;
  color: var(--color-foreground);
}

.service-stack-card__title em { font-style: italic; font-weight: 400; }

.service-stack-card__cta { padding-top: 0.5rem; }

/* Mobile: stacked list */
.services-mobile-list { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .services-mobile-list { display: none; } }

.service-card-mobile {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
  overflow: hidden;
}

.service-card-mobile__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-background);
}

.service-card-mobile__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card__eyebrow { font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; color: var(--color-muted-foreground); }
.service-card__title { font-family: var(--font-display); font-weight: 300; font-size: 1.875rem; line-height: 1.05; color: var(--color-foreground); }
.service-card__title em { font-style: italic; font-weight: 400; }
.service-card__body { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; max-width: 28rem; }

/* Desktop: stacked scroll-driven */
.services-desktop { display: none; }
@media (min-width: 768px) { .services-desktop { display: block; } }

.services-stack-container {
  position: relative;
}
/* Height set by JS */

.services-stack-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-stack-cards {
  position: relative;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  height: 70vh;
  min-height: 28rem;
}

.service-stack-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: fit-content;
  max-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(29,34,42,0.55);
}

@media (min-width: 768px) {
  .service-stack-card {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-stack-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-secondary);
}

@media (min-width: 768px) {
  .service-stack-card__image {
    grid-column: span 2;
    aspect-ratio: auto;
    min-height: 24rem;
  }
}

.service-stack-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background-color: var(--color-background);
}

@media (min-width: 768px) {
  .service-stack-card__body {
    grid-column: span 3;
    padding: 3rem;
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .service-stack-card__body { padding: 3.5rem; }
}

/* --------------------------------------------------------------------------
   18. LIFESTYLE DIVIDERS
   -------------------------------------------------------------------------- */

.lifestyle-divider {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.lifestyle-divider__img {
  width: 100%;
  height: 35vh;
  max-height: 35vh;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease-out;
}

.lifestyle-divider__img.image-zoom:hover {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .lifestyle-divider__img {
    height: 45vh;
    max-height: 45vh;
  }
}

/* --------------------------------------------------------------------------
   19. SHOP SECTION
   -------------------------------------------------------------------------- */

.shop-section {
  padding-top: 6rem;
  border-top: 1px solid var(--color-border);
  background-color: color-mix(in srgb, var(--color-secondary) 30%, transparent);
  overflow: hidden;
}
@media (min-width: 1024px) { .shop-section { padding-top: 9rem; } }

.shop-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
@media (min-width: 1024px) { .shop-section .section-header { margin-bottom: 5rem; } }

.shop-section .section-header .label-eyebrow { margin-bottom: 1.5rem; }

.shop-section .section-header .text-section { margin-top: 0; }

.shop-body-text {
  max-width: 32rem;
  margin: 2rem auto 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  text-align: center;
}

.shop-section .section-body-text {
  max-width: 32rem;
  margin: 2rem auto 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
  text-align: center;
}

.shop-section__spacer { height: 6rem; }
@media (min-width: 1024px) { .shop-section__spacer { height: 9rem; } }

.shop-empty-state {
  padding: 5rem 0;
  text-align: center;
  border: 1px dashed var(--color-border);
  background-color: var(--color-background);
}

.shop-empty-state__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.shop-empty-state__body {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

.shop-featured-single__eyebrow { margin-bottom: 1.5rem; display: block; }

.shop-featured-single__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.shop-featured-single__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: rgba(29,34,42,0.8);
}

.shop-featured-single__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) { .shop-featured-single__desc { font-size: 1.125rem; } }

.shop-featured-single__price-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.shop-featured-single__price {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-variant-numeric: tabular-nums;
}

.shop-featured-single__edition {
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

/* Single product featured layout */
.shop-featured-single {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .shop-featured-single { grid-template-columns: 1fr 1fr; } }

.shop-featured-single__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--color-background);
  cursor: pointer;
  display: block;
}
@media (min-width: 1024px) {
  .shop-featured-single__image { aspect-ratio: auto; min-height: 80vh; }
}

.shop-featured-single__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-color: var(--color-background);
}
@media (min-width: 768px) { .shop-featured-single__info { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .shop-featured-single__info { padding: 6rem 4rem; } }

/* Product grid */
.shop-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .shop-product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .shop-product-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

/* --------------------------------------------------------------------------
   20. PRODUCT CARDS
   -------------------------------------------------------------------------- */

.theme-product-card-wrap { height: 100%; }

.theme-product-card {
  display: block;
  position: relative;
  height: 100%;
  text-decoration: none;
  color: var(--color-foreground);
}

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-secondary);
}

.theme-product-card__image-link {
  display: block;
  overflow: hidden;
}

.theme-product-card img.product-card-img {
  transition: transform 1.2s ease-out;
}

.theme-product-card:hover img.product-card-img {
  transform: scale(1.03);
}

.theme-product-card .sold-out img.product-card-img {
  opacity: 0.6;
}

.theme-product-card__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.theme-product-card__badge--sold-out {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.theme-product-card__badge--new {
  background-color: var(--color-background);
  color: var(--color-foreground);
  border: 1px solid var(--color-foreground);
}

.theme-product-card__info {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.theme-product-card__meta { min-width: 0; }

.theme-product-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--color-foreground);
  transition: color 0.2s;
}

.theme-product-card:hover .theme-product-card__title {
  color: var(--color-accent);
}

.theme-product-card__cat {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   21. POETRY TEASER
   -------------------------------------------------------------------------- */

.poetry-section {
  padding: 7rem 0;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 1024px) { .poetry-section { padding: 10rem 0; } }

.poetry-section .container-editorial { text-align: center; }
.poetry-section .label-eyebrow { margin-bottom: 2rem; display: block; }

.poetry-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-foreground);
  margin: 2rem 0 0;
}
@media (min-width: 768px) { .poetry-quote { font-size: 3rem; } }
@media (min-width: 1024px) { .poetry-quote { font-size: 3.75rem; } }

.poetry-attribution {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   22. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */

.testimonials-section {
  border-top: 1px solid var(--color-border);
  background-color: color-mix(in srgb, var(--color-secondary) 30%, transparent);
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 60vh;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(12, 1fr);
    min-height: 80vh;
  }
}

.testimonials-left {
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .testimonials-left {
    grid-column: span 5;
    padding: 4rem 2.5rem;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
}
@media (min-width: 1024px) {
  .testimonials-left { padding: 8rem 4rem; }
}

.testimonials-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--color-foreground);
  margin-top: 2rem;
}

.testimonials-left h2 em { font-style: italic; font-weight: 400; }

.testimonials-left .label-eyebrow { margin-bottom: 2rem; }

.testimonials-left p {
  margin-top: 2rem;
  max-width: 24rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
}

.testimonials-nav {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonials-nav-btn {
  width: 2.75rem; height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
  transition: background-color 0.2s, color 0.2s;
  cursor: pointer;
}
.testimonials-nav-btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
}

.testimonials-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .testimonials-right {
    grid-column: span 7;
    padding: 3rem 2.5rem;
  }
}
@media (min-width: 1024px) {
  .testimonials-right { padding: 4rem; }
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 768px) {
  .testimonial-slide {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.testimonial-slide.is-active {
  display: flex;
  animation: testimonialFadeIn 0.6s var(--ease-smooth) forwards;
}

@keyframes testimonialFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted-foreground);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .testimonial-number {
    padding-top: 0.5rem;
    width: 3rem;
  }
}

.testimonial-content { flex: 1; }

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-foreground);
  margin: 0;
}
@media (min-width: 768px) { .testimonial-quote { font-size: 1.5rem; } }
@media (min-width: 1024px) { .testimonial-quote { font-size: 2.25rem; } }

.testimonial-byline {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   23. FAQ SECTION
   -------------------------------------------------------------------------- */

.faq-section {
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-section .faq-header {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}
@media (min-width: 768px) { .faq-section .faq-header { padding: 5rem 3rem 4rem; } }
@media (min-width: 1024px) { .faq-section .faq-header { padding: 8rem 4rem 4rem; } }

.faq-section .faq-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--color-foreground);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.faq-section .faq-header h2 em { font-style: italic; font-weight: 400; }

.faq-section .faq-header .label-eyebrow { margin-bottom: 2rem; }

.faq-section .faq-header p {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-section .faq-body {
  padding: 0 1.5rem 5rem;
}
@media (min-width: 768px) { .faq-section .faq-body { padding: 0 3rem 5rem; } }
@media (min-width: 1024px) { .faq-section .faq-body { padding: 0 4rem 8rem; } }

.faq-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
}
@media (min-width: 1024px) { .faq-cols { grid-template-columns: 1fr 1fr; } }

.faq-list { border-top: 1px solid var(--color-border); }

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 1024px) { .faq-question { padding: 2rem 0; } }

.faq-question-inner {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.faq-question-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted-foreground);
  flex-shrink: 0;
}

.faq-question-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-foreground);
  line-height: 1.3;
  transition: font-style 0.2s;
}
@media (min-width: 768px) { .faq-question-text { font-size: 1.875rem; } }

.faq-question:hover .faq-question-text { font-style: italic; }

.faq-toggle {
  flex-shrink: 0;
  margin-top: 0.5rem;
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}
.faq-question:hover .faq-toggle { color: var(--color-accent); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease-smooth), opacity 0.5s var(--ease-smooth);
  opacity: 0;
}
.faq-answer.is-open {
  opacity: 1;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  padding: 0 2.5rem 2rem 3rem;
  max-width: 32rem;
}

/* --------------------------------------------------------------------------
   24. CONTACT SECTION
   -------------------------------------------------------------------------- */

.contact-section {
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; } }

.contact-section__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 1.5rem;
  order: 2;
}
@media (min-width: 768px) { .contact-section__info { padding: 5rem 3rem; } }
@media (min-width: 1024px) { .contact-section__info { padding: 8rem 4rem; order: 1; } }

.contact-section__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--color-foreground);
  margin-bottom: 2.5rem;
}
.contact-section__info h2 em { font-style: italic; font-weight: 400; }

.contact-section__info .contact-eyebrow { margin-bottom: 2rem; }

.contact-section__info .body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 28rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) { .contact-section__info .body-text { font-size: 1.125rem; } }

.contact-section__info .contact-cta-label {
  align-self: flex-start;
  width: auto;
}

.contact-links { list-style: none; padding: 0; margin: 0 0 3rem; }
.contact-links li + li { margin-top: 1.5rem; }

.contact-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--color-foreground);
  text-decoration: none;
}
.contact-link svg { flex-shrink: 0; margin-top: 0.25rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.contact-link:hover svg { color: var(--color-accent); }
.contact-link__label-text {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  display: block;
  margin-bottom: 0.25rem;
}
.contact-link__value { display: block; }

.contact-section__image-wrap {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  background-color: var(--color-secondary);
  order: 1;
}
@media (min-width: 1024px) {
  .contact-section__image-wrap { min-height: 88vh; order: 2; }
}

/* --------------------------------------------------------------------------
   25. CONTACT MODAL
   -------------------------------------------------------------------------- */

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(29,34,42,0.5);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.contact-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 0;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}
.contact-modal-overlay.is-open .contact-modal {
  transform: scale(1);
}

.contact-modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--color-muted-foreground);
  transition: opacity 0.2s;
}
.contact-modal__close:hover { opacity: 0.6; }

.contact-modal__eyebrow { display: block; margin-bottom: 0.5rem; }
.contact-modal__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .contact-modal__title { font-size: 1.875rem; } }
.contact-modal__title em { font-style: italic; font-weight: 400; }
.mobile-menu__footer-btn { width: 100%; }

.contact-modal__description {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
}

.contact-modal__social-link {
  padding-left: 1.5rem;
}

.contact-modal .form-group--message {
  margin-top: 1rem;
}

.contact-modal__info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.contact-modal__info a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.contact-modal__info a:hover { color: var(--color-foreground); }

.contact-modal form { margin-top: 1.5rem; }
.contact-modal .form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .contact-modal .form-grid { grid-template-columns: 1fr 1fr; } }

.contact-modal .form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.contact-modal .form-group label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

.contact-modal input,
.contact-modal textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.contact-modal input::placeholder,
.contact-modal textarea::placeholder { color: var(--color-muted-foreground); }
.contact-modal input:focus,
.contact-modal textarea:focus { border-color: var(--color-foreground); }

.contact-modal textarea { resize: none; }

.contact-modal .form-submit { display: flex; justify-content: flex-end; margin-top: 1rem; }
.contact-modal .submit-btn {
  height: 2.75rem;
  padding: 0 1.5rem;
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
  border-radius: 0;
}
.contact-modal .submit-btn:hover { opacity: 0.85; }
.contact-modal .submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-modal__success {
  text-align: center;
  padding: 2rem 0;
  display: none;
}
.contact-modal__success.is-visible { display: block; animation: fadeIn 0.4s ease forwards; }
.contact-modal__success .success-icon {
  width: 3.5rem; height: 3.5rem;
  background-color: var(--color-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: successSpring 0.5s var(--ease-smooth) 0.15s both;
}

@keyframes successSpring {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.contact-modal__success h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}
.contact-modal__success p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   26. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-top: 1px solid var(--color-foreground);
}

.footer-newsletter {
  border-bottom: 1px solid rgba(248,246,242,0.15);
}
.footer-newsletter .container-wide {
  padding-top: 4rem; padding-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-end;
}
@media (min-width: 1024px) {
  .footer-newsletter .container-wide {
    padding-top: 5rem; padding-bottom: 5rem;
    grid-template-columns: 6fr 6fr;
  }
}

.footer-newsletter__eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.6);
  margin-bottom: 1rem;
  display: block;
}

.footer-newsletter h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1.05;
  color: var(--color-background);
}
@media (min-width: 1024px) { .footer-newsletter h3 { font-size: 3rem; } }
.footer-newsletter h3 em { font-style: italic; }

.footer-newsletter form { display: flex; width: 100%; }

@media (max-width: 767px) {
  .footer-newsletter .footer-newsletter__form {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .footer-newsletter .subscribe-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.footer-newsletter input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(248,246,242,0.4);
  padding: 0.25rem 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-background);
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input[type="email"]::placeholder { color: rgba(248,246,242,0.5); }
.footer-newsletter input[type="email"]:focus { border-bottom-color: var(--color-background); }

.footer-newsletter .subscribe-btn {
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 3rem;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.footer-newsletter .subscribe-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-background);
}

.footer-main {
  padding: 5rem 0;
}
@media (min-width: 1024px) { .footer-main { padding: 6rem 0; } }

.footer-main .container-wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-main .container-wide { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-main .container-wide { grid-template-columns: 5fr 2fr 2fr 3fr; gap: 4rem; }
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
}

.footer-brand__logo {
  height: 5rem;
  width: auto;
  max-height: 5rem;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  filter: invert(1);
  display: block;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .footer-brand__logo {
    height: 6rem;
    max-height: 6rem;
  }
}

.footer-brand-text {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(248,246,242,0.7);
  line-height: 1.7;
}

.footer-brand-mantra {
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.5);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.6);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-nav-list li + li { margin-top: 0.75rem; }
.footer-nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(248,246,242,0.8);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
  display: inline-block;
}
.footer-nav-link:hover { color: var(--color-background); }

.footer-connect-list li + li { margin-top: 0.75rem; }
.footer-connect-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(248,246,242,0.8);
  transition: color 0.2s;
}
.footer-connect-list a:hover { color: var(--color-background); }

.footer-reach-list li + li { margin-top: 0.75rem; }
.footer-reach-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(248,246,242,0.8);
}
.footer-reach-list a { color: rgba(248,246,242,0.8); transition: color 0.2s; }
.footer-reach-list a:hover { color: var(--color-background); }
.footer-reach-list svg { flex-shrink: 0; margin-top: 0.125rem; }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,246,242,0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.55);
}

.footer-bottom a {
  color: rgba(248,246,242,0.55);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--color-background); }

/* --------------------------------------------------------------------------
   27. SIDE CART / DRAWER
   -------------------------------------------------------------------------- */

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(29,34,42,0.3);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.3s var(--ease-smooth) forwards;
}

#theme-cart-drawer {
  position: fixed;
  right: 0; top: 0;
  height: 100%;
  width: 100%;
  max-width: 32rem;
  background-color: var(--color-background);
  z-index: 55;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-elevated);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}

body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}

#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
}

.cart-drawer__close {
  padding: 0.25rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cart-drawer__close:hover { opacity: 0.6; }

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.cart-drawer__empty p { color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1.5rem; }

.cart-drawer__empty .btn-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.5rem;
  border: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.cart-drawer__empty .btn-continue:hover {
  background-color: var(--color-secondary);
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-item {
  display: flex;
  gap: 1.25rem;
}

.cart-item__thumb {
  width: 6rem; height: 8rem;
  background-color: var(--color-secondary);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.cart-item__thumb img.cart-item-thumb {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-foreground);
  transition: opacity 0.2s;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item__name:hover { opacity: 0.7; }

.cart-item__variant {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-style: italic;
  margin-top: 0.375rem;
}

.cart-item__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}

.cart-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.625rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--font-body);
  color: var(--color-foreground);
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }

.cart-qty-value {
  padding: 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  min-width: 1.75rem;
  text-align: center;
}

.cart-item__remove {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.cart-item__remove:hover { color: var(--color-foreground); }

/* Pair with section */
.cart-pair {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.cart-pair__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.cart-pair__list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.cart-pair__item {
  flex-shrink: 0;
  width: 8rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}
.cart-pair__img {
  aspect-ratio: 3/4;
  background-color: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.cart-pair__img img.pair-thumb {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.cart-pair__item:hover img.pair-thumb { transform: scale(1.05); }
.cart-pair__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cart-pair__price {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-top: 0.125rem;
}

.cart-drawer__footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
}

.cart-subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.cart-subtotal-label,
.cart-subtotal-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.cart-taxes-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  height: 3rem;
  background-color: var(--color-foreground);
  color: var(--color-background);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cart-checkout-btn:hover { opacity: 0.85; }

/* --------------------------------------------------------------------------
   28. SINGLE PRODUCT PAGE
   -------------------------------------------------------------------------- */

body.single-product .site-main {
  background-color: var(--color-background);
  padding-top: calc(var(--header-height, 80px) + 5rem);
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  body.single-product .site-main {
    padding-top: calc(var(--header-height, 80px) + 6rem);
    padding-bottom: 8rem;
  }
}

.single-product .product-layout {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
}
@media (min-width: 1024px) {
  .single-product .product-layout {
    grid-template-columns: 1fr 440px;
    align-items: start;
    column-gap: 0;
  }
}
@media (min-width: 1280px) {
  .single-product .product-layout { grid-template-columns: 1fr 500px; }
}

/* Gallery */
.single-product .product-gallery {
  position: relative;
  background-color: var(--color-background);
  min-width: 0;
}
@media (min-width: 1024px) {
  .single-product .product-gallery {
    position: sticky;
    top: calc(var(--header-height, 80px) + 6rem);
    align-self: start;
  }
}

.single-product .gallery-flex {
  display: flex;
}

.single-product .theme-product-thumbnails {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: rgba(248,246,242,0.4);
  flex-shrink: 0;
}
@media (min-width: 768px) { .single-product .theme-product-thumbnails { display: flex; } }

.single-product .thumb-btn {
  width: 3.5rem; height: 3.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
  cursor: pointer;
  background: none;
  padding: 0;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .single-product .thumb-btn { width: 4rem; height: 4rem; } }

.single-product .thumb-btn.is-active {
  border-color: var(--color-foreground);
  opacity: 1;
}
.single-product .thumb-btn:hover { opacity: 1; }

.single-product .thumb-btn img.gallery-thumb-img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.single-product .gallery-main-wrap {
  position: relative;
  flex: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) {
  .single-product .gallery-main-wrap { min-height: 78vh; padding: 2rem 1.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .single-product .gallery-main-wrap {
    min-height: auto;
    padding: 2rem 2rem 3rem;
  }
  .single-product .gallery-main-img,
  .single-product #product-main-img {
    max-height: 65vh;
  }
  .single-product .product-gallery {
    margin-bottom: 1.5rem;
  }
  .single-product .product-info {
    padding-top: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .single-product .gallery-main-wrap {
    min-height: 88vh;
    padding: 2rem 0 2rem 1.5rem;
  }
}

.single-product .gallery-main-img,
.single-product #product-main-img {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.single-product .mobile-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
}
@media (min-width: 768px) { .single-product .mobile-thumbs { display: none; } }

/* Product info column */
.single-product .product-info {
  padding: 2.5rem 1.5rem;
  min-width: 0;
}
@media (min-width: 768px) {
  .single-product .product-info { padding: 2.5rem 2.5rem 2.5rem 1.5rem; }
}
@media (min-width: 1024px) {
  .single-product .product-info {
    padding: 2.5rem 3rem 4rem 1rem;
  }
}

.single-product .product-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}
.single-product .product-breadcrumb a { transition: color 0.2s; }
.single-product .product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product .product-breadcrumb .sep { margin: 0 0.5rem; }

/* Product title – magazine style */
.single-product .product-title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}
.single-product .product-title .title-the {
  display: block;
  font-weight: 500;
  font-size: 1.875rem;
}
@media (min-width: 768px) { .single-product .product-title .title-the { font-size: 2.25rem; } }
.single-product .product-title .title-name {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 0.9;
}
@media (min-width: 768px) { .single-product .product-title .title-name { font-size: 3.75rem; } }

.single-product .product-sku {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.single-product .product-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 1.75rem 0;
}

.single-product .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.single-product .installment-note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
.single-product .product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-foreground);
  font-variant-numeric: tabular-nums;
}
.single-product .product-price .amount,
.single-product .product-price bdi,
.single-product .product-price .woocommerce-Price-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.single-product .shipping-note {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-muted-foreground);
}

/* Size selector */
.single-product .size-selector { margin-top: 1.75rem; }
.single-product .size-label,
.single-product .size-selector h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  display: block;
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.single-product .size-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.single-product .size-btn,
.single-product .attr-pill-btn {
  min-width: 3.5rem;
  padding: 0.625rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.single-product .size-btn.is-selected,
.single-product .size-btn:hover,
.single-product .attr-pill-btn.is-selected,
.single-product .attr-pill-btn:hover {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

/* Add to cart area */
.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 2rem;
}

.single-product .theme-quantity-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  height: 3.5rem;
}

.single-product .theme-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  border: none;
  background: none;
}
.single-product .theme-qty-btn:hover { background-color: var(--color-secondary); }

.single-product .theme-qty-input {
  width: 3rem;
  height: 100%;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  outline: none;
  -moz-appearance: textfield;
}
.single-product .theme-qty-input::-webkit-outer-spin-button,
.single-product .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* CTA button (Lovable btn-cta style) */
.single-product .single_add_to_cart_button.btn-cta,
.single-product .add_to_cart_button.btn-cta {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-foreground) !important;
  border-radius: 0 !important;
  min-height: 3.5rem !important;
  height: 3.5rem !important;
  padding: 0 1.5rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth) !important;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none !important;
}
.single-product .single_add_to_cart_button.btn-cta:hover:not(:disabled):not(.disabled):not(.theme-needs-size),
.single-product .add_to_cart_button.btn-cta:hover:not(:disabled):not(.disabled):not(.theme-needs-size) {
  opacity: 1 !important;
  background-color: transparent !important;
  color: var(--color-foreground) !important;
}
.single-product .single_add_to_cart_button.btn-cta.is-added {
  pointer-events: none;
}
.single-product .single_add_to_cart_button.btn-cta.theme-needs-size {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.single-product .single_add_to_cart_button.btn-cta .btn-check-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Feature badges */
.single-product .product-features {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.single-product .product-feature-item { display: flex; flex-direction: column; align-items: center; }
.single-product .product-feature-item svg { color: var(--color-accent); margin-bottom: 0.75rem; }
.single-product .product-feature-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-foreground);
}
.single-product .product-feature-sub {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--color-muted-foreground);
  margin-top: 0.25rem;
}

/* Product details */
.single-product .product-details { margin-top: 3rem; }
.single-product .product-details h2,
.single-product .product-description h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
  font-weight: 400;
}
.single-product .product-details .desc-text,
.single-product .product-description .desc-text {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: rgba(29,34,42,0.9);
  white-space: pre-line;
}
.single-product .product-details .details-list ul,
.single-product .product-details ul,
.single-product .product-description ul {
  margin-top: 1.5rem;
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.single-product .product-details .details-list ul li,
.single-product .product-details ul li,
.single-product .product-description ul li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(29,34,42,0.8);
}
.single-product .product-details ul::marker,
.single-product .product-description ul::marker { color: var(--color-primary); }

/* Legacy alias */
.single-product .product-description { margin-top: 3rem; }

/* Related products */
.related-products-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}
.related-products-section h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 300;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .related-products-section h2 { font-size: 2.25rem; } }
.related-products-section h2 em { font-style: italic; }

.related-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2rem;
}
@media (min-width: 640px) { .related-products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; } }

/* --------------------------------------------------------------------------
   29. WooCommerce Add to Cart Button 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: 1px solid var(--color-primary) !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;
  flex: 1 1 auto;
  min-width: 160px;
  text-decoration: none !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;
}

/* Hide WooCommerce "View cart" link after AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Suppress WC button loading spinner */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Locked button state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* --------------------------------------------------------------------------
   30. VARIABLE PRODUCT / VARIATIONS
   -------------------------------------------------------------------------- */

.theme-attr-select-hidden { display: none !important; }

.single-product .variations {
  display: block;
  border: none;
  margin: 0;
  padding: 0;
}

.single-product .theme-variation-selector .theme-attr-select-wrap {
  display: none;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .reset_variations {
  display: none !important;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

.single-product .variations label {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   31. ARCHIVE / SHOP PAGE
   -------------------------------------------------------------------------- */

.woocommerce-page.woocommerce-shop .site-main,
.woocommerce-archive .site-main {
  background-color: color-mix(in srgb, var(--color-secondary) 30%, transparent);
}

.archive-product-section {
  padding: 3rem 0 6rem;
}

.archive-header {
  text-align: center;
  padding: 3rem 0;
}

.archive-header .text-section {
  margin-top: 1rem;
}

.archive-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .archive-product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .archive-product-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* WC Notices */
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-error,
.woocommerce-page .woocommerce-info {
  font-family: var(--font-body);
  border-radius: 0;
  border: 1px solid var(--color-border);
  background-color: var(--color-secondary);
  color: var(--color-foreground);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* --------------------------------------------------------------------------
   32. CHECKOUT PAGE
   -------------------------------------------------------------------------- */

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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    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 {
  width: 100% !important;
  max-width: none !important;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-family: var(--font-body);
  color: var(--color-foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-foreground) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  height: 3rem !important;
}

body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-foreground);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   33. THANK YOU PAGE
   -------------------------------------------------------------------------- */

body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  padding: 0 0 1rem 0;
  color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  background-color: var(--color-secondary);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview li strong {
  color: var(--color-foreground);
  display: block;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@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;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   34. 404 PAGE
   -------------------------------------------------------------------------- */

.error-404 .site-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.error-404-content {
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-404-content h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-secondary);
}

.error-404-content h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.error-404-content p {
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   35. PAGE.PHP (Generic page / checkout)
   -------------------------------------------------------------------------- */

.entry-content { max-width: 100%; }

/* --------------------------------------------------------------------------
   36. RESPONSIVE HELPERS
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .show-mobile-only { display: none !important; }
}

/* ==========================================================================
   End of theme.css
   ========================================================================== */
