/* =========================================================================
   Insanity Clothing — theme.css
   ========================================================================= */

/* ---------- Design tokens (fallbacks; live values injected via wp_add_inline_style) ---------- */
:root {
  --color-background: #f7f4ee;
  --color-foreground: #2c2521;
  --color-primary: #ad8f56;
  --color-button-text: #f7f4ee;
  --color-secondary: #ece7dc;
  --color-secondary-foreground: #302a26;
  --color-muted-foreground: #5c5650;
  --color-border: #cfc4ac;
  --color-header-link: #274a63;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  --radius: 0.5rem;
  --card-radius: 0.5rem;
  --header-height: 80px;
  --logo-height: 56px;

  --btn-radius: 999px;
  --btn-height: 3rem;
  --btn-padding: 0.9rem 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.15em;
  --btn-text-transform: uppercase;
  --btn-icon-padding: 0.6rem;

  --checkout-gap: 2rem;
  --section-padding: 2rem;

  --shadow-soft: 0 4px 20px -4px hsl(30 20% 18% / 0.06);
  --shadow-elevated: 0 8px 40px -8px hsl(30 20% 18% / 0.12);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --color-muted: #d9d4c9;
  --color-card: #f0ebe3;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img:not(.cover-img):not(.hero-bg-img):not(.hero-section__slide):not(.theme-product-card__image):not(.newest-arrivals__image):not(.about-section__image):not(.site-logo-img):not(.site-footer__logo):not(.quote-section__logo):not(.quote-section__bg-img):not(.theme-product-gallery__main-img):not(.theme-cart-item__image img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .hero-section__slide, .theme-product-card__image, .newest-arrivals__image, .about-section__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; }
.italic { font-style: italic; font-weight: 300; }
[hidden] { display: none !important; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.section-heading { font-family: var(--font-display); font-weight: 300; }

/* ---------- Buttons ---------- */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  transition: all 0.4s var(--transition-smooth);
  white-space: nowrap;
  cursor: pointer;
}
.theme-btn-primary { background: var(--color-primary); color: var(--color-button-text); }
.theme-btn-primary:hover { opacity: 0.85; }
.theme-btn-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent); color: var(--color-foreground); }
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); border-radius: 0; padding: 1.1rem 3rem; text-transform: uppercase; letter-spacing: 0.3em; }
.theme-btn-dark:hover { opacity: 0.9; }
.theme-btn-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  color: var(--color-foreground);
  box-shadow: var(--shadow-elevated);
  padding: 1rem 3rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  gap: 1rem;
}
.theme-btn-hero__shimmer {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-foreground) 10%, transparent), transparent);
  transition: transform 0.7s var(--transition-smooth);
  pointer-events: none;
}
.theme-btn-hero:hover .theme-btn-hero__shimmer { transform: translateX(100%); }
.theme-btn-hero:hover { transform: translateY(-2px); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5); }
.theme-btn-hero:hover svg { transform: translateX(0.375rem); }
.theme-btn-hero svg { position: relative; transition: transform 0.5s var(--transition-smooth); }
.theme-btn-hero span { position: relative; }

/* ---------- Reveal animations (Section 2.1) ---------- */
.reveal-fade-up, .reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-fade-up.is-visible, .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.is-customizer .reveal-fade-up,
body.is-customizer .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up, .reveal-item { transition: none; opacity: 1; transform: none; }
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { position: relative; }
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  transition: height 0.3s ease;
}
@media (min-width: 1024px) { .site-header__nav { height: 5rem; } }
.site-header.is-scrolled .site-header__nav { height: 3rem; }
@media (min-width: 1024px) { .site-header.is-scrolled .site-header__nav { height: 3.5rem; } }
.site-header__brand { display: flex; align-items: center; }
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  max-width: none;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease, height 0.3s ease;
}
.site-header.is-scrolled .site-logo-img {
  height: calc(var(--logo-height) * 0.71) !important;
}
.site-footer .site-logo-img {
  height: 5rem !important;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height); display: block; color: var(--color-foreground); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-logo-text { color: #fff; }

.site-header__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  color: var(--color-header-link);
  transition: opacity 0.3s ease;
}
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .theme-nav-link { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.theme-nav-link:hover { opacity: 0.8; }
.theme-nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__cart-btn { position: relative; padding: 0.5rem; color: var(--color-header-link); }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-header__cart-btn { color: #fff; }
.site-header__cart-btn:hover { opacity: 0.6; }
.theme-cart-count {
  position: absolute; top: -2px; right: -2px;
  width: 1.1rem; height: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600;
  background: var(--color-primary); color: var(--color-button-text);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__mobile-actions { display: none; } }
.site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--color-header-link);
  transition: opacity 0.2s ease;
}
.site-header__menu-toggle:hover { opacity: 0.6; }
.site-header:not(.is-solid):not(.is-scrolled):not(.is-menu-open) .site-header__menu-toggle { color: #fff; }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle.is-open .icon-menu { display: none; }
.site-header__menu-toggle.is-open .icon-close { display: block; }

/* Mobile menu — parity with Lovable Header.tsx (border-t py-4 flex-col gap-4) */
.site-header__mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}
.site-header__mobile-menu.is-open {
  display: block;
  animation: theme-mobile-menu-fade 0.35s var(--transition-smooth) forwards;
}
.site-header__mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.site-header__mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-header-link);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.site-header__mobile-link:hover { opacity: 0.8; }
.site-header__mobile-link::after { display: none; }
@keyframes theme-mobile-menu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (min-width: 768px) {
  .site-header__mobile-menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header__mobile-menu.is-open { animation: none; }
}

/* Admin bar offset for fixed header (frontend + Customizer preview) */
body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}
/* ≤600px: keep admin bar fixed so the sticky header does not float with a gap */
@media screen and (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  body.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero-section { position: relative; isolation: isolate; overflow: hidden; background: var(--color-secondary); min-height: 100vh; }
body.theme-no-hero .hero-section { display: none; }
.hero-section__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-section__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--transition-smooth), transform 6s var(--transition-smooth);
}
.hero-section__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-foreground) 50%, transparent),
    color-mix(in srgb, var(--color-foreground) 30%, transparent) 45%,
    color-mix(in srgb, var(--color-foreground) 70%, transparent)
  );
}
.hero-section__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding-bottom: 4rem;
}
@media (min-width: 768px) { .hero-section__content { padding-bottom: 6rem; } }
.hero-section__text-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 768px) {
  .hero-section__text-cta { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero-section__cta { margin-bottom: 0.5rem; }
}
.hero-section__eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.hero-section__title {
  margin-top: 1rem; font-weight: 300; line-height: 0.9;
  color: var(--color-background);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  font-size: 14vw;
}
@media (min-width: 768px) { .hero-section__title { font-size: 10vw; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 8rem; } }
.hero-section__description {
  margin-top: 1rem; max-width: 36rem;
  color: color-mix(in srgb, var(--color-background) 90%, transparent);
  font-weight: 300; line-height: 1.625; font-size: 1rem;
}
@media (min-width: 768px) { .hero-section__description { font-size: 1.125rem; } }

/* =========================================================================
   CATEGORY MARQUEE
   ========================================================================= */
.category-marquee { overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); background: var(--color-background); padding: 1.5rem 0; }
.category-marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; align-items: center; gap: 4rem; white-space: nowrap; padding: 0 2rem; }
.category-marquee__item { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.01em; color: var(--color-foreground); font-size: 1.5rem; }
@media (min-width: 768px) { .category-marquee__item { font-size: 1.875rem; } }
@media (min-width: 1024px) { .category-marquee__item { font-size: 2.25rem; } }
.category-marquee__dot { margin-left: 4rem; color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

/* =========================================================================
   NEWEST ARRIVALS
   ========================================================================= */
.newest-arrivals-section { position: relative; background: var(--color-background); padding: 5rem 0; overflow: hidden; }
@media (min-width: 768px) { .newest-arrivals-section { padding: 7rem 0; } }
.newest-arrivals__eyebrow-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-bottom: 1.5rem; }
.newest-arrivals__view-all { display: none; align-items: center; gap: 0.5rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.28em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .newest-arrivals__view-all { display: inline-flex; } }
.newest-arrivals__view-all:hover { color: var(--color-foreground); }
.newest-arrivals__headline { margin-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .newest-arrivals__headline { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 3rem; } }
.newest-arrivals__eyebrow-row .section-eyebrow,
.newest-arrivals__eyebrow-row > .section-eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.newest-arrivals__title { font-weight: 300; line-height: 0.95; white-space: nowrap; font-size: 14vw; }
@media (min-width: 768px) { .newest-arrivals__title { font-size: 7vw; } }
@media (min-width: 1024px) { .newest-arrivals__title { font-size: 6.5rem; } }
.newest-arrivals__title .italic { color: var(--color-primary); }
.newest-arrivals__desc { max-width: 28rem; font-size: 1rem; font-weight: 300; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 768px) { .newest-arrivals__desc { font-size: 1.125rem; } }
.newest-arrivals__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .newest-arrivals__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .newest-arrivals__grid { gap: 2.5rem; }
}
.newest-arrivals__card {
  display: block;
  min-width: 0;
  width: 100%;
}
.newest-arrivals__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-background);
}
.newest-arrivals__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.newest-arrivals__card:hover .newest-arrivals__image { transform: scale(1.05); }
.newest-arrivals__hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  background: transparent;
  transition: background-color 0.5s ease;
  pointer-events: none;
}
.newest-arrivals__card:hover .newest-arrivals__hover-overlay {
  background: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.newest-arrivals__hover-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-background);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.5s var(--transition-smooth);
  box-shadow: var(--shadow-elevated);
}
.newest-arrivals__card:hover .newest-arrivals__hover-icon {
  opacity: 1;
  transform: translateY(0);
}
.newest-arrivals__caption { margin-top: 1rem; }
.newest-arrivals__category {
  font-family: var(--font-body);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-muted-foreground);
}
.newest-arrivals__category a { color: inherit; text-decoration: none; pointer-events: none; }
.newest-arrivals__title-row {
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.newest-arrivals__title-row h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-foreground);
}
.newest-arrivals__title-row span,
.newest-arrivals__title-row .amount,
.newest-arrivals__title-row .woocommerce-Price-amount {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--color-foreground);
}
.newest-arrivals__mobile-cta { display: flex; justify-content: center; margin-top: 3rem; }
@media (min-width: 768px) { .newest-arrivals__mobile-cta { display: none; } }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-section { background: var(--color-secondary); }
.about-section__inner { display: grid; gap: 3rem; align-items: stretch; padding-block: 6rem; min-width: 0; }
@media (min-width: 768px) { .about-section__inner { padding-block: 8rem; } }
@media (min-width: 1024px) {
  .about-section__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
  .about-section__media { grid-column: span 6; min-width: 0; }
  .about-section__content { grid-column: span 6; min-width: 0; }
}
.about-section__media { position: relative; }
.about-section__frame-corner { position: absolute; top: -1rem; left: -1rem; z-index: 10; width: 6rem; height: 6rem; border-left: 2px solid var(--color-primary); border-top: 2px solid var(--color-primary); }
.about-section__image-wrap { position: relative; aspect-ratio: 4/5; min-height: 500px; height: 100%; overflow: hidden; background: color-mix(in srgb, var(--color-foreground) 5%, transparent); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .about-section__image-wrap { aspect-ratio: auto; } }
.about-section__image { filter: grayscale(1); transition: all 0.7s ease; }
.about-section__image-wrap:hover .about-section__image { transform: scale(1.05); filter: grayscale(0); }
.about-section__image-caption { position: absolute; bottom: 0; right: 0; padding: 1rem; }
.about-section__image-caption p { writing-mode: vertical-rl; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5em; color: var(--color-secondary); mix-blend-mode: difference; }
.about-section__content { display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; }
@media (min-width: 1024px) { .about-section__content { padding-left: 2rem; } }
@media (min-width: 1280px) { .about-section__content { padding-left: 4rem; } }
.about-section__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}
.about-section__eyebrow {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  align-self: flex-start;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-foreground);
  box-sizing: border-box;
}
.about-section__heading.section-heading,
.about-section .section-heading {
  margin-top: 0;
  font-size: 3rem;
  line-height: 0.85;
  letter-spacing: -0.02em;
  width: 100%;
}
@media (min-width: 640px) { .about-section .section-heading { font-size: 3.75rem; } }
@media (min-width: 768px) { .about-section .section-heading { font-size: 4.5rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 6rem; } }
.about-section__body { max-width: 36rem; font-size: 1.125rem; font-weight: 300; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.about-section__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 2rem 0; }
.about-section__stat-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; font-style: italic; }
.about-section__stat-label { margin-top: 0.25rem; font-size: 0.5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.about-section__socials { display: grid; grid-template-columns: 1fr; gap: 1.5rem 3rem; max-width: 36rem; }
@media (min-width: 768px) { .about-section__socials { grid-template-columns: 1fr 1fr; } }
.about-section__social { display: flex; flex-direction: column; border-left: 2px solid var(--color-primary); padding-left: 1rem; min-width: 0; }
.about-section__social--wide { grid-column: 1 / -1; }
@media (min-width: 768px) { .about-section__social--wide { grid-column: 1 / -1; } }
.about-section__social-label { margin-bottom: 0.25rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.about-section__social-value { font-size: 0.875rem; word-break: break-word; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-foreground) 10%, transparent); text-underline-offset: 4px; transition: color 0.3s ease; }
.about-section__social-value:hover { color: var(--color-primary); }

/* =========================================================================
   SHOP SECTION
   ========================================================================= */
.shop-section { background: var(--color-background); padding: 4rem 0 5rem; }
@media (min-width: 768px) { .shop-section { padding: 5rem 0 6rem; } }
.shop-section__heading { text-align: center; margin-bottom: 2rem; }
.shop-heading { margin-top: 0.5rem; font-weight: 300; line-height: 0.95; font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 4.75rem; } }
.shop-section__controls { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .shop-section__controls { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-cat-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-cat-filter {
  padding: 0.625rem 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--color-secondary); color: var(--color-secondary-foreground);
  transition: all 0.3s var(--transition-smooth);
}
.theme-cat-filter:hover { background: color-mix(in srgb, var(--color-secondary) 70%, var(--color-foreground) 10%); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-button-text); }

.theme-price-filter-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 768px) { .theme-price-filter-wrap { flex-direction: row; align-items: flex-start; } }
.theme-price-filter-toggle {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1.25rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--color-secondary); color: var(--color-secondary-foreground);
  transition: all 0.3s ease;
}
.theme-price-filter-toggle svg { transition: transform 0.3s ease; }
.theme-price-filter-toggle.is-open { background: var(--color-primary); color: var(--color-button-text); }
.theme-price-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter-panel { width: 16rem; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.3s var(--transition-smooth); padding: 0 0.5rem; }
.theme-price-filter-panel.is-open { max-height: 6rem; opacity: 1; padding: 0.5rem 0.5rem; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.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; }
.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; }

.theme-shop-empty { padding: 5rem 0; text-align: center; font-weight: 300; color: var(--color-muted-foreground); }
.theme-shop-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.theme-shop-show-more-wrap[hidden] { display: none !important; }
.theme-shop-show-more {
  min-width: 12rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

/* ---------- Product grid & cards ---------- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.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; height: 100%; }
/* Lift the wrap — not the overflow:hidden card — to avoid a 1px hover seam. */
.theme-product-card-wrap.is-visible:hover { transform: translateY(-6px); }
.theme-product-card {
  position: relative;
  display: flex; flex-direction: column; height: 100%; width: 100%;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  background: hsl(340 30% 8%);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s ease;
}
.theme-product-card-wrap:hover .theme-product-card { box-shadow: var(--shadow-elevated); }
.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__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  padding: 0.25rem 0.75rem; font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7);
}
.theme-product-card__badge--soon {
  background: hsl(340 70% 65%);
  color: hsl(340 30% 8%);
}
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: hsl(340 30% 8%);
  flex-shrink: 0;
}
.theme-product-card__image-gradient {
  position: absolute; inset-inline: 0; bottom: 0; height: 6rem; z-index: 1;
  background: linear-gradient(to top, hsl(340 30% 8%), transparent);
  pointer-events: none;
}
.theme-product-card.is-dimmed .theme-product-card__image { opacity: 0.5; filter: grayscale(0.3); }
.theme-product-card-wrap:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image {
  transition: transform 0.7s var(--transition-smooth);
  backface-visibility: hidden;
  transform: translateZ(0);
}
.theme-product-card__info {
  display: flex; flex: 1; flex-direction: column; padding: 1rem;
  position: relative; z-index: 1;
  background: hsl(340 30% 8%);
  margin-top: -1px;
}
.theme-product-card__category { font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; font-family: var(--font-body); }
.theme-product-card__title {
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.9);
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5rem; transition: color 0.3s ease;
}
.theme-product-card-wrap:hover .theme-product-card__title { color: hsl(340 70% 75%); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 500; color: hsl(340 70% 65%); margin-top: 0.5rem; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-section { margin: 5rem auto 0; max-width: 72rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 3rem 0; }
@media (min-width: 768px) { .services-section { margin-top: 6rem; padding: 4rem 0; } }
.services-section__heading { max-width: 56rem; margin: 0 auto; text-align: center; }
.services-section__title { margin-top: 1rem; font-weight: 300; line-height: 0.95; font-size: 2.25rem; }
@media (min-width: 768px) { .services-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section__title { font-size: 4.75rem; } }
.services-section__grid { margin-top: 3rem; display: grid; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.services-section__item { display: flex; flex-direction: column; padding: 2rem 1.5rem; text-align: center; border-color: color-mix(in srgb, var(--color-border) 60%, transparent); }
@media (min-width: 768px) { .services-section__item { padding: 2rem 2rem; } .services-section__item.has-border { border-right: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); } }
.services-section__item-title { display: flex; min-height: 5.5rem; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 300; line-height: 1.2; }
@media (min-width: 768px) { .services-section__item-title { min-height: 6.5rem; font-size: 2.1rem; } }
.services-section__item-desc { margin: 1.25rem auto 0; min-height: 6rem; max-width: 18rem; font-size: 0.875rem; font-weight: 300; line-height: 1.6; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .services-section__item-desc { min-height: 7rem; font-size: 1rem; } }
.services-section__divider { margin: 1.5rem auto 0; height: 1px; width: 3.5rem; background: var(--color-border); }
.services-section__item svg { margin: 1.25rem auto 0; color: var(--color-primary); display: block; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section { background: var(--color-background); overflow-x: clip; }
.faq-section__inner {
  display: grid;
  gap: 3rem;
  padding-block: 6rem;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 768px) { .faq-section__inner { padding-block: 8rem; } }
@media (min-width: 1024px) {
  .faq-section__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
    align-items: start;
  }
}
/* Do NOT span 12 on mobile — that creates phantom columns and horizontal overflow */
.faq-section__intro {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .faq-section__intro {
    grid-column: span 5;
    position: sticky;
    top: 6rem;
  }
}
.faq-section__heading {
  margin-top: 1rem;
  font-weight: 300;
  line-height: 0.92;
  font-size: 2.75rem;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { .faq-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 5rem; } }
.faq-section__heading .italic { color: var(--color-primary); }
.faq-section__desc {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  overflow-wrap: break-word;
}
@media (min-width: 768px) { .faq-section__desc { font-size: 1.125rem; } }
.faq-section__list {
  min-width: 0;
  max-width: 100%;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 1024px) {
  .faq-section__list { grid-column: span 7; }
}
.faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  min-width: 0;
  max-width: 100%;
}
.faq-item__question {
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  transition: color 0.3s ease;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .faq-item__question { gap: 1.5rem; align-items: center; }
}
.faq-item__question:hover { color: var(--color-primary); }
.faq-item__question span {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (min-width: 768px) { .faq-item__question span { font-size: 1.5rem; } }
.faq-item__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .faq-item__icon { margin-top: 0; }
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--transition-smooth);
}
.faq-item.is-open .faq-item__answer-wrap { max-height: 20rem; }
.faq-item__answer {
  padding-bottom: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (min-width: 768px) {
  .faq-item__answer { padding-right: 2.5rem; }
}

/* =========================================================================
   QUOTE SECTION
   ========================================================================= */
.quote-section { position: relative; isolation: isolate; width: 100%; overflow: hidden; }
.quote-section__bg {
  position: absolute; inset: 0; z-index: -2;
  height: 130%; width: 100%;
  will-change: transform;
}
.quote-section__bg-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.quote-section__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    to bottom,
    hsl(340 55% 93% / 0.3),
    color-mix(in srgb, var(--color-foreground) 45%, transparent),
    hsl(340 55% 93% / 0.3)
  );
}
.quote-section__overlay-deep {
  position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  pointer-events: none;
}
.quote-section__content {
  position: relative;
  display: flex;
  min-height: 85vh;
  align-items: center;
  justify-content: center;
  padding-block: 9rem;
  will-change: transform;
}
@media (min-width: 768px) {
  .quote-section__content { min-height: 95vh; padding-block: 12rem; }
}
.quote-section__inner { margin: 0 auto; max-width: 56rem; text-align: center; }
.quote-section__logo { margin: 0 auto 1.5rem; height: 3.5rem; width: auto; filter: brightness(0) invert(1); }
.quote-section__eyebrow { color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.quote-section__text {
  margin-top: 1.5rem; font-weight: 300; line-height: 1.05;
  color: var(--color-background); font-size: 1.875rem;
}
@media (min-width: 768px) { .quote-section__text { font-size: 3rem; } }
@media (min-width: 1024px) { .quote-section__text { font-size: 4rem; } }
.quote-section__text .italic { color: var(--color-primary); }
.quote-section__divider { margin: 2.5rem auto 0; height: 1px; width: 4rem; background: color-mix(in srgb, var(--color-background) 60%, transparent); transform-origin: center; }
.quote-section__author {
  margin-top: 1.5rem; font-size: 0.6875rem; text-transform: uppercase;
  letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-background) 80%, transparent);
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-section { position: relative; overflow: hidden; background: var(--color-secondary); color: var(--color-foreground); }
.contact-section__inner {
  margin: 0 auto;
  max-width: 72rem;
  display: grid;
  gap: 4rem;
  align-items: stretch;
  padding-block: 6rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .contact-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding-block: 8rem;
  }
}
.contact-section__left { display: flex; flex-direction: column; height: 100%; }
.contact-section__label { display: inline-flex; align-items: center; gap: 1rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; }
.contact-section__label-line { height: 1px; width: 3rem; background: currentColor; }
.contact-section__heading { margin-top: 1.5rem; font-weight: 700; line-height: 0.9; letter-spacing: -0.02em; font-size: 3.5rem; }
@media (min-width: 768px) { .contact-section__heading { font-size: 4.5rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 6rem; } }
.contact-section__desc { margin-top: 2rem; max-width: 28rem; font-size: 0.875rem; font-weight: 300; line-height: 1.7; }
.contact-section__info-list { margin-top: 3rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.contact-section__info-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.contact-section__info-link { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1rem; padding: 1.5rem 0.5rem; transition: background 0.3s ease; }
.contact-section__info-item a.contact-section__info-link:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.contact-section__info-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-section__info-value { display: block; text-align: right; font-size: 0.875rem; font-weight: 500; word-break: break-word; }

.contact-section__right { display: flex; flex-direction: column; height: 100%; }
.contact-section__form {
  position: relative; display: flex; flex: 1; flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  backdrop-filter: blur(4px);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .contact-section__form { padding: 3rem; } }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-section__form-row { grid-template-columns: 1fr 1fr; } }
.contact-section__field { margin-top: 2rem; }
.contact-section__form-row .contact-section__field { margin-top: 0; }
.contact-section__label-sm { display: block; margin-bottom: 0.5rem; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.32em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.contact-section__input {
  width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 40%, transparent);
  background: transparent; padding: 0.75rem 0; font-size: 1rem; font-weight: 300; color: var(--color-foreground);
  transition: border-color 0.3s ease; outline: none;
}
.contact-section__input::placeholder { color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.contact-section__input:focus { border-color: var(--color-foreground); }
.contact-section__textarea { resize: none; }
.contact-section__form-footer { margin-top: auto; padding-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 640px) { .contact-section__form-footer { flex-direction: row; align-items: center; } }
.contact-section__required-text { font-size: 0.625rem; font-weight: 300; text-transform: uppercase; letter-spacing: 0.28em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-section__error { color: #b3261e; font-size: 0.8125rem; margin-top: 1rem; }
.contact-section__success { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); background: color-mix(in srgb, var(--color-background) 80%, transparent); padding: 4rem 2rem; text-align: center; }
.contact-section__success-icon { margin-bottom: 1.5rem; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border: 1px solid var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }
.contact-section__success-heading { margin-bottom: 0.75rem; font-size: 2.25rem; font-weight: 300; line-height: 1.2; }
.contact-section__success-body { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* =========================================================================
   FOOTER — parity with Lovable Footer.tsx
   ========================================================================= */
.site-footer { border-top: 1px solid var(--color-border); }
/* py-12 lg:py-16 */
.site-footer__inner { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) {
  .site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
}
/* grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12 */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { gap: 3rem; }
}
.site-footer__brand { display: block; }
/* h-20 w-auto object-contain — dedicated class so header .site-logo-img rules never leak */
.site-footer__logo {
  display: block;
  height: 5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
}
/* Lovable: no mt on tagline (logo asset supplies visual gap) */
.site-footer__tagline {
  margin: 0;
  max-width: 24rem; /* max-w-sm */
  font-family: var(--font-body);
  font-size: 0.875rem; /* text-sm */
  font-weight: 300; /* font-light */
  line-height: 1.625; /* leading-relaxed */
  color: var(--color-muted-foreground);
}
/* text-xs font-body tracking-[0.15em] uppercase mb-4 */
.site-footer__heading {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-foreground);
}
/* space-y-3 */
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* text-sm muted font-light — title case, never uppercase header-nav styles */
.site-footer__list a,
.site-footer__list button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--color-muted-foreground);
  transition: color 0.15s ease;
}
.site-footer__list a:hover,
.site-footer__list button:hover {
  color: var(--color-foreground);
}
/* flex items-center gap-2 text-sm */
.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted-foreground);
}
.site-footer__contact-item svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}
.site-footer__contact-item a {
  color: inherit;
}
.site-footer__contact-item a:hover {
  color: var(--color-foreground);
}
/* items-start + MapPin mt-0.5 */
.site-footer__contact-address { align-items: flex-start; }
.site-footer__contact-address svg { margin-top: 0.125rem; }
/* mt-10 pt-6 border-t flex flex-col sm:flex-row justify-between items-center gap-4 */
.site-footer__bottom {
  margin-top: 2.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: 1rem;
}
@media (min-width: 640px) {
  .site-footer__bottom { flex-direction: row; }
}
/* text-xs muted font-light */
.site-footer__copyright,
.site-footer__credit {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-muted-foreground);
}
.site-footer__credit {
  transition: color 0.15s ease;
}
.site-footer__credit:hover { color: var(--color-foreground); }

/* =========================================================================
   CART DRAWER
   ========================================================================= */
#theme-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 90; 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; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-background); z-index: 95;
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; display: block; }
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); display: block; margin-top: 0.125rem; line-height: 1.4; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem 0.5rem; background: var(--color-secondary); border-radius: 0.25rem; }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }

/* 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; }

/* =========================================================================
   WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE
   ========================================================================= */
.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: uppercase !important;
  letter-spacing: 0.1em !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* =========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================= */
.single-product-page { padding-top: var(--header-height); padding-bottom: 5rem; }
.single-product-back-link-row { padding: 1.5rem 0; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-back-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.3s ease; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-primary); }

.theme-product-info__meta { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__meta a { color: var(--color-muted-foreground); text-decoration: underline; }
.product-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-info__price { font-size: 1.5rem; font-weight: 500; font-family: var(--font-body); color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-stock-indicator--out { display: inline-block; margin-bottom: 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #b3261e; }
.theme-product-info__description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 0.875rem; font-weight: 300; overflow-wrap: break-word; word-break: break-word; }
.theme-option-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400; font-style: normal; display: block; }
.theme-size-selector { margin-bottom: 1.5rem; }
.theme-size-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-pill { padding: 0.5rem 1rem; font-size: 0.875rem; border: 1px solid var(--color-border); font-weight: 300; transition: all 0.2s ease; font-family: var(--font-body); }
.theme-size-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-size-pill.is-selected { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

/* Variation swatches (Lovable size pills + colour chips) */
.theme-variation-attribute { margin-bottom: 1.5rem; }
.theme-variation-attribute .theme-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.theme-variation-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-attribute--color .theme-variation-swatches { gap: 0.75rem; }
.theme-variation-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-foreground);
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-variation-swatch:hover {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-variation-swatch.is-selected {
  background: var(--color-primary);
  color: var(--color-button-text);
  border-color: var(--color-primary);
}
.theme-variation-swatch--color {
  padding: 0.5rem 1rem;
}
.theme-variation-swatch--color.is-selected {
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  color: var(--color-foreground);
  border-color: var(--color-primary);
}
.theme-variation-swatch__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  display: block;
}
.theme-variation-swatch--color.is-selected .theme-variation-swatch__dot {
  border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-variation-swatch__label { line-height: 1; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-weight: 300; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-studio-notes { margin-bottom: 2rem; border-radius: var(--card-radius); border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card, var(--color-secondary)) 70%, transparent); padding: 1rem; }
.theme-studio-notes__eyebrow { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--color-muted-foreground); }
.theme-studio-notes__body { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 300; line-height: 1.6; color: var(--color-muted-foreground); }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details__list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__list li { font-size: 0.875rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; font-weight: 300; }
.theme-product-details__list li::before { content: ''; width: 0.375rem; height: 0.375rem; background: var(--color-primary); border-radius: 50%; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.related-products-heading { font-size: 1.25rem; font-weight: 300; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }

/* =========================================================================
   GENERIC PAGE / 404 / SHOP ARCHIVE
   ========================================================================= */
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.generic-page { padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-weight: 300; font-size: 2.5rem; margin: 2rem 0 1.5rem; }
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted, #d9d4c9); padding-top: var(--header-height); }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; transition: color 0.2s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* Related products must not stay invisible if IntersectionObserver misses them */
.related-products-section .reveal-item {
  opacity: 1;
  transform: none;
}
.shop-page .shop-section { padding-top: calc(var(--header-height) + 2rem); }

/* =========================================================================
   WOOCOMMERCE NOTICES (scoped, Section 14.1)
   ========================================================================= */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  border-radius: var(--card-radius);
  border: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  list-style: none;
  background: var(--color-secondary);
  color: var(--color-foreground);
}

/* =========================================================================
   CHECKOUT BLOCK OVERRIDES (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 4rem;
}
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;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-background);
  color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-primary);
  outline: none;
}
body.woocommerce-checkout .wc-block-checkout {
  display: block;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  text-transform: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.85;
}

/* =========================================================================
   THANK YOU PAGE
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
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 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  padding: 0 0 1rem 0;
}
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; }

/* =========================================================================
   MOBILE OVERFLOW FIXES (≤767px only — desktop unchanged)
   ========================================================================= */
@media (max-width: 767px) {
  html {
    overflow-x: clip;
  }
  body {
    overflow-x: clip;
    max-width: 100%;
  }
  .site-main,
  .site-footer,
  .shop-section,
  .about-section,
  .faq-section,
  .contact-section,
  .services-section {
    overflow-x: clip;
    max-width: 100%;
  }
  .container-wide {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Header logo must not push cart/menu off-screen */
  .site-header .site-logo-img {
    max-width: min(42vw, 9rem) !important;
    height: auto !important;
    max-height: var(--logo-height);
  }
  .site-header__brand {
    min-width: 0;
    max-width: calc(100% - 6.5rem);
  }
  .site-footer__logo {
    max-width: 100%;
    height: auto;
    max-height: 5rem;
  }

  /* Hero */
  .hero-section__title {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-section__text,
  .hero-section__text-cta {
    min-width: 0;
    max-width: 100%;
  }
  .theme-btn-hero,
  .hero-section__cta .theme-btn {
    white-space: normal;
    max-width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    letter-spacing: 0.18em;
    text-align: center;
  }

  /* Marquee: keep clip tight (track is intentionally wider) */
  .category-marquee {
    overflow-x: clip;
    max-width: 100%;
  }

  /* Newest Arrivals — nowrap titles are the top overflow culprit */
  .newest-arrivals__title {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }
  .newest-arrivals__headline,
  .newest-arrivals__desc {
    min-width: 0;
    max-width: 100%;
  }
  .newest-arrivals__title-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem 0.75rem;
  }
  .newest-arrivals__title-row h3 {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: break-word;
  }

  /* About */
  .about-section__frame-corner {
    top: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
  }
  .about-section__eyebrow {
    width: auto;
    max-width: 100%;
    letter-spacing: 0.22em;
    white-space: normal;
  }
  .about-section__image-wrap {
    min-height: 0;
  }
  .about-section__stats {
    gap: 0.5rem;
  }
  .about-section__stat-value {
    font-size: 1.5rem;
  }
  .about-section__stat-label {
    letter-spacing: 0.08em;
    overflow-wrap: break-word;
  }
  .about-section__social-value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Shop controls */
  .shop-section__controls,
  .theme-cat-filters,
  .theme-price-filter-wrap {
    min-width: 0;
    max-width: 100%;
  }
  .theme-cat-filter {
    white-space: normal;
    text-align: center;
  }
  .theme-price-filter-panel {
    width: 100%;
    max-width: 16rem;
    box-sizing: border-box;
  }
  .shop-heading,
  .services-section__title,
  .faq-section__heading {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  /* Quote */
  .quote-section__quote {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .quote-section__author {
    letter-spacing: 0.16em;
    white-space: normal;
    overflow-wrap: break-word;
    padding-inline: 0.5rem;
  }
  .quote-section__bg,
  .quote-section__content {
    transform: none !important;
  }

  /* Contact — stack info rows so long emails don't force width */
  .contact-section__inner,
  .contact-section__left,
  .contact-section__right,
  .contact-section__form {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-section__heading {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .contact-section__info-link {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-inline: 0;
    align-items: start;
  }
  .contact-section__info-label,
  .contact-section__info-value {
    min-width: 0;
    text-align: left;
  }
  .contact-section__form {
    padding: 1.25rem;
  }
  .contact-section__required-text {
    letter-spacing: 0.12em;
    overflow-wrap: break-word;
  }

  /* Product / cart internals */
  .theme-product-layout,
  .theme-product-gallery,
  .theme-product-info {
    min-width: 0;
    max-width: 100%;
  }
  .theme-product-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .theme-variation-swatches {
    max-width: 100%;
  }
  .theme-add-to-cart-area {
    max-width: 100%;
  }
  .single-product .single_add_to_cart_button {
    min-width: 0;
    width: 100%;
  }
}

/* =========================================================================
   MEDIA CONTROL (Customizer panel styling, non-frontend)
   ========================================================================= */
