/* ============================================================
   Lux Watch Express — theme.css
   Google Fonts + local font
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Doulos SIL';
  src: url('../fonts/DoulosSILR.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   CSS VARIABLES (defaults; overridden by inline style from PHP)
   ============================================================ */
:root {
  --color-primary:    #9a7f52;
  --color-bg:         #f5f1ec;
  --color-foreground: #2e2318;
  --color-card:       #ede8e2;
  --color-secondary:  #e8e3dc;
  --color-muted:      #d3cec7;
  --color-muted-fg:   #7a7268;
  --color-border:     #c8c2ba;
  --color-button-text: #f5f1ec;
  --color-destructive: #c0392b;
  --logo-height: 75px;

  /* typography */
  --font-display: 'Doulos SIL', serif;
  --font-body:    'Montserrat', sans-serif;

  /* button tokens — align with Lovable: hero Buttons use text-sm tracking-widest font-light */
  --btn-radius: 0.375rem;
  --btn-height: 2.75rem;
  --btn-padding: 0.625rem 2.5rem;
  --btn-font-size: 0.875rem;
  --btn-font-weight: 300;
  --btn-letter-spacing: 0.1em;
  --btn-text-transform: uppercase;

  /* shadows */
  --shadow-soft: 0 4px 20px -4px rgba(46,35,24,0.06);
  --shadow-elevated: 0 8px 40px -8px rgba(46,35,24,0.12);

  /* transitions */
  --transition-smooth: cubic-bezier(0.4,0,0.2,1);

  /* spacing */
  --header-height: 80px;
  --section-padding: 2rem;
  --card-radius: 0.75rem;
  --checkout-gap: 2rem;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
}
ul { list-style: none; }

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

.py-section    { padding-top: 4rem; padding-bottom: 4rem; }
.py-section-lg { padding-top: 4rem; padding-bottom: 6rem; }
.py-32         { padding-top: 8rem; padding-bottom: 8rem; }
.text-center   { text-align: center; }
.relative-z    { position: relative; z-index: 1; }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: flex; } }

.bg-secondary { background-color: var(--color-secondary); }

/* Baroque pattern background */
.baroque-pattern-bg {
  position: relative;
  background-color: var(--color-bg);
}
.baroque-pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/baroque-pattern.jpg');
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.baroque-pattern-bg > * { position: relative; z-index: 1; }

/* Scroll margin for nav offset */
.scroll-mt-header { scroll-margin-top: calc(var(--header-height) + 1rem); }
body.admin-bar .scroll-mt-header {
  scroll-margin-top: calc(32px + var(--header-height) + 1rem);
}
@media screen and (max-width: 782px) {
  body.admin-bar .scroll-mt-header {
    scroll-margin-top: calc(46px + var(--header-height) + 1rem);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.btn:hover  { opacity: 0.85; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border: none;
}
.btn-primary:hover { opacity: 0.85; background-color: var(--color-primary); color: var(--color-button-text); }

.btn-ghost {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { background: var(--color-secondary); opacity: 1; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in  { animation: fadeIn  0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-marquee  { animation: marquee 20s linear infinite; }

/* ============================================================
   SITE HEADER
   ============================================================ */
/* WordPress admin bar: keep fixed header below toolbar */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.scrolled {
  background: rgba(245,241,236,0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom-color: var(--color-border);
}
/* Header nav — Lovable: flex items-center justify-between; side columns gap-8 flex-1; h-16 lg:h-20 → scrolled h-12 lg:h-14 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 5rem;
  transition: height 0.3s ease;
}
.site-header.scrolled .site-nav { height: 3.5rem; }
/* Lovable mobile: h-16 default, h-12 scrolled (md+ keeps 5rem / 3.5rem) */
@media (max-width: 767px) {
  .site-nav { height: 4rem; }
  .site-header.scrolled .site-nav { height: 3rem; }
}

/* Logo — center column; Lovable w-16→lg:w-20 default, smaller when scrolled */
.site-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
}
.site-logo-link { display: flex; align-items: center; gap: 0.5rem; }
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  max-height: 100%;
  display: block;
  transition: height 0.3s ease;
}
@media (min-width: 768px) {
  .site-header.scrolled .site-logo-img {
    height: calc(var(--logo-height) * 0.6) !important;
  }
}
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.5625rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
@media (max-width: 767px) {
  .site-logo-text { font-size: 1.25rem; }
  .site-header:not(.scrolled) .site-logo-img { height: 5rem !important; }
  .site-header.scrolled .site-logo-img { height: 3.125rem !important; }
}

/* Nav lists */
.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; }
.theme-nav-list a,
.theme-nav-list button {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
}
.theme-nav-list a::after,
.theme-nav-list button::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after,
.theme-nav-list button:hover::after { transform: scaleX(1); }

/* Transparent header: white text (exclude mobile menu open — needs dark icons on solid bar) */
.site-header:not(.is-solid):not(.scrolled):not(.mobile-nav-open) .theme-nav-list a,
.site-header:not(.is-solid):not(.scrolled):not(.mobile-nav-open) .theme-nav-list button,
.site-header:not(.is-solid):not(.scrolled):not(.mobile-nav-open) .cart-btn,
.site-header:not(.is-solid):not(.scrolled):not(.mobile-nav-open) .hamburger-btn { color: rgba(255,255,255,0.85); }

@media (min-width: 768px) {
  .nav-left,
  .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1 1 0;
    min-width: 0;
  }
  .nav-left { justify-content: flex-start; }
  .nav-right { justify-content: flex-end; }
}

/* Cart button */
.cart-btn {
  position: relative;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.6; }
.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-weight: 500;
  background: var(--color-primary);
  color: var(--color-button-text);
  border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

/* Mobile controls */
.nav-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) { .nav-mobile-controls { display: none; } }

.hamburger-btn { padding: 0.5rem; transition: opacity 0.2s, color 0.3s ease; }
.hamburger-btn:hover { opacity: 0.6; }
.hamburger-icon { display: flex; }
.icon-close { display: none; }
.mobile-menu-open .icon-menu  { display: none; }
.mobile-menu-open .icon-close { display: flex; }

/* Mobile menu — mirrors Header.tsx: md:hidden border-t border-border py-4 animate-fade-in;
   inner flex flex-col gap-4; links text-xs tracking uppercase py-2 hover muted */
@media (max-width: 767px) {
  .mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    border-top: 1px solid transparent;
    pointer-events: none;
    transition:
      grid-template-rows 0.45s var(--transition-smooth),
      border-color 0.3s ease;
  }
  .mobile-menu.is-open {
    grid-template-rows: 1fr;
    border-top-color: var(--color-border);
    pointer-events: auto;
  }
  .mobile-menu__collapse {
    min-height: 0;
    overflow: hidden;
  }
  .mobile-menu__panel {
    padding: 0;
    opacity: 0;
    transition:
      opacity 0.35s ease,
      padding 0.45s var(--transition-smooth);
  }
  .mobile-menu.is-open .mobile-menu__panel {
    padding: 1rem 0;
    opacity: 1;
    transition:
      opacity 0.6s var(--transition-smooth),
      padding 0.45s var(--transition-smooth);
  }
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-list a,
.mobile-nav-list button {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
  line-height: 1.25;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  text-align: left;
  width: 100%;
  padding: 0.5rem 0;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s ease;
}
.mobile-nav-list a:hover,
.mobile-nav-list button:hover {
  color: var(--color-muted-fg);
}

/* Menu open on hero: same bar as scrolled — bg-background/95 backdrop-blur-sm border-border */
.site-header.mobile-nav-open {
  background: rgba(245, 241, 236, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom-color: var(--color-border);
}
.site-header.mobile-nav-open .cart-btn,
.site-header.mobile-nav-open .hamburger-btn {
  color: var(--color-foreground);
}
.site-header.mobile-nav-open .site-logo-text {
  color: var(--color-foreground);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: var(--color-foreground);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-video-slideshow { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding-bottom: 5rem;
  color: #fff;
}
@media (min-width: 768px) { .hero-content { padding-bottom: 7rem; } }

.hero-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.hero-eyebrow-line {
  display: block;
  width: 3rem; height: 1px;
  background: rgba(255,255,255,0.6);
}
.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
/* Hero headline: text-5xl md:text-7xl lg:text-8xl tracking-tight font-light */
.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  color: #fff;
}
@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 6rem; }
}
.hero-title-italic { font-style: italic; }
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.025em;
  line-height: 1.625;
  color: rgba(255,255,255,0.9);
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; justify-content: center; }
}
.hero-btn { padding: 0.75rem 2.5rem; min-width: 160px; }

/* ============================================================
   BRAND MARQUEE
   ============================================================ */
.brand-marquee-section {
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.brand-marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  padding: 0.25rem 0;
}
@media (min-width: 768px) { .brand-marquee-track { padding: 0.5rem 0; } }
.brand-item {
  flex-shrink: 0;
  margin: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .brand-item { margin: 0 4rem; } }
.brand-logo {
  height: 5rem;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.3s;
}
@media (min-width: 768px) { .brand-logo { height: 7.2rem; } }
.brand-logo:hover { opacity: 0.8; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3rem; }
.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
/* Default section titles — text-3xl base (Lovable Index pattern) */
.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.1;
  margin-top: 0.5rem;
}
/* Shop "The Collection": text-3xl md:text-5xl */
.shop-section .section-title {
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .shop-section .section-title { font-size: 3rem; }
}
/* Newest, testimonials, services, contact intros: text-3xl md:text-4xl lg:text-5xl */
.newest-arrivals-section .section-title,
.testimonials-section .section-title,
.services-section .section-title,
.contact-section .section-title {
  font-size: 1.875rem;
}
@media (min-width: 768px) {
  .newest-arrivals-section .section-title,
  .testimonials-section .section-title,
  .services-section .section-title,
  .contact-section .section-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .newest-arrivals-section .section-title,
  .testimonials-section .section-title,
  .services-section .section-title,
  .contact-section .section-title { font-size: 3rem; }
}
.title-italic { font-style: italic; color: var(--color-primary); }

/* ============================================================
   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; }
}
@media (min-width: 1024px) { .theme-product-grid { gap: 2.5rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }

.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid rgba(200,194,186,0.5);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.5s ease, transform 0.3s ease;
}
.theme-product-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-0.375rem);
}

/* Hit-area overlay (Pattern A §31.3) */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}
.theme-product-card * { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .product-badge,
.theme-product-card .theme-card-link { pointer-events: auto; }

/* Image wrapper */
.theme-product-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-secondary);
}
.theme-product-card__image-wrapper img,
.theme-product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }

/* Gradient overlay at bottom of image */
.card-img-gradient {
  position: absolute; inset-x: 0; bottom: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(46,35,24,0.3), transparent);
  pointer-events: none;
}

/* Badge */
.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  pointer-events: none;
}
.product-badge--coming-soon { background: var(--color-primary); color: var(--color-button-text); }
.product-badge--sold { background: var(--color-muted); color: var(--color-muted-fg); }

/* Dimming for sold/coming-soon */
.is-coming-soon .theme-product-card__img,
.is-sold-out .theme-product-card__img {
  opacity: 0.5;
  filter: grayscale(30%);
}

/* Card info */
.theme-product-card__info { padding: 1rem; flex: 1; }
.card-brand {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.25rem;
}
.card-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-foreground);
  transition: color 0.3s;
  line-height: 1.375;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theme-product-card:hover .card-name { color: var(--color-primary); }
.card-price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: 0.5rem;
}
.card-price .price { color: var(--color-primary); }

/* ============================================================
   ABOUT SECTION (parity: Index.tsx — py-20 md:py-28, max-w-3xl text-center)
   ============================================================ */
.about-section > .container-wide {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 768px) {
  .about-section > .container-wide {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
.about-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
/* Eyebrow → title spacing: Lovable uses mt-3 on h2, no eyebrow mb */
.about-section .section-eyebrow {
  margin-bottom: 0;
}
/* About title: font-display text-3xl md:text-4xl lg:text-5xl mt-3 mb-8 font-light (Tailwind default line-heights per step) */
.about-section .about-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .about-section .about-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .about-section .about-title {
    font-size: 3rem;
    line-height: 1;
  }
}
/* space-y-5 text-muted-foreground font-light leading-relaxed */
.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--color-muted-fg);
  font-weight: 300;
  line-height: 1.625;
}
.about-body p {
  font-family: var(--font-body);
  font-size: 1rem;
}
/* First paragraph: text-base md:text-lg */
.about-body p:first-child { font-size: 1rem; }
@media (min-width: 768px) {
  .about-body p:first-child { font-size: 1.125rem; }
}
/* Link: text-base md:text-lg tracking-wider text-primary hover:text-primary/80 */
.about-ebay-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  transition: color 0.3s ease;
}
@media (min-width: 768px) {
  .about-ebay-link { font-size: 1.125rem; }
}
.about-ebay-link:hover {
  color: color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.about-ebay-link svg {
  flex-shrink: 0;
}

/* ============================================================
   SHOP SECTION
   ============================================================ */
.shop-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

/* One horizontal band: chips + price pill share the same flex cross-axis (no extra gap under the pill) */
.shop-filters-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  width: 100%;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* Shared pill style: category chips + price filter (same height & rhythm) */
.cat-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-filter-btn.active { background: var(--color-primary); color: var(--color-button-text); }
.cat-filter-btn:not(.active):hover { background: var(--color-muted); }

/* Price filter (pill sits in .shop-filters-toolbar next to .category-filters) */
.price-filter-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--color-secondary);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.price-filter-toggle:hover { background: var(--color-muted); }
.chevron-icon {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.price-filter-toggle.open .chevron-icon { transform: rotate(180deg); }
.price-filter-current { opacity: 0.7; }
.price-filter-panel {
  width: 100%;
  max-width: 20rem;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  max-height: 0;
  opacity: 0;
}
.price-filter-panel.open {
  max-height: 140px;
  opacity: 1;
  margin-top: 0.75rem;
}

/* Dual range: full-width overlapping inputs so thumbs align with the fill bar */
.price-range-wrapper {
  position: relative;
  width: 100%;
  max-width: 20rem;
  height: 2.25rem;
  margin: 0 auto 0.5rem;
}
.price-range-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--color-muted);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.range-track-fill {
  position: absolute;
  left: 0;
  height: 4px;
  background: var(--color-primary);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 2px;
  z-index: 1;
}
.price-range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  pointer-events: none;
  z-index: 2;
}
.price-range-input--max {
  z-index: 3;
}
.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: grab;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}
.price-range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: grab;
  border: 2px solid #fff;
  pointer-events: auto;
}
.price-range-input::-webkit-slider-runnable-track {
  background: transparent;
  height: 4px;
}
.price-range-input::-moz-range-track {
  background: transparent;
  height: 4px;
}
.price-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
}

.shop-empty { text-align: center; padding: 5rem 1rem; }
.shop-empty p { font-family: var(--font-body); font-weight: 300; color: var(--color-muted-fg); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  position: relative;
  overflow: hidden;
}
.testimonials-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonials-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
}
.testimonials-eyebrow { color: rgba(255,255,255,0.5); }
.testimonials-title   { color: #fff; }
.testimonials-title .title-italic { color: var(--color-primary); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 62rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
}
.testimonial-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 768px) { .testimonial-card { padding: 2rem; } }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.star { color: var(--color-primary); font-size: 0.875rem; }
.testimonial-quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  flex: 1;
}
.testimonial-author { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.testimonial-name { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: #fff; }
.testimonial-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.025em;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-inner {
  padding-top: 4rem;
  padding-bottom: 0;
}
@media (min-width: 768px) { .cta-inner { padding-top: 6rem; } }
.cta-text { max-width: 40rem; margin: 0 auto; text-align: center; }
/* text-3xl md:text-5xl lg:text-6xl */
.cta-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .cta-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .cta-title { font-size: 3.75rem; }
}
.cta-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-muted-fg);
  line-height: 1.625;
  max-width: 26rem;
  margin: 0 auto 2rem;
  letter-spacing: 0.025em;
}
@media (min-width: 768px) { .cta-body { font-size: 1rem; } }

/* CTA primary uses text-xs tracking-widest (Lovable Contact Us), not hero text-sm */
.cta-section .cta-btn {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Contact form submit — text-xs tracking-widest (Lovable) */
.contact-section .form-submit.btn {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.cta-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -1rem;
}
.cta-watch-img {
  width: min(31rem, 100%);
  object-fit: contain;
  margin-bottom: -0.5rem;
}
@media (min-width: 768px) { .cta-watch-img { width: 39rem; } }
@media (min-width: 1024px) { .cta-watch-img { width: 47rem; } }

/* Watch Tooltips */
.watch-tooltip {
  position: absolute;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.watch-tooltip--left  { right: 50%; margin-right: 6rem; flex-direction: row; }
.watch-tooltip--right { left: 50%;  margin-left:  6rem; flex-direction: row; }
@media (min-width: 1024px) {
  .watch-tooltip--left  { margin-right: 8rem; }
  .watch-tooltip--right { margin-left:  8rem; }
}
.tooltip-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  white-space: nowrap;
}
.watch-tooltip--left  .tooltip-label { margin-right: 0.75rem; }
.watch-tooltip--right .tooltip-label { margin-left:  0.75rem; }
.tooltip-line { height: 1px; background: var(--color-border); }
.tooltip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* Hide tooltips on mobile */
.cta-image-wrap .watch-tooltip { display: none; }
@media (min-width: 768px) { .cta-image-wrap .watch-tooltip { display: flex; } }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 50rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: default;
}
.service-card:hover {
  border-color: rgba(200,194,186,0.5);
  background: var(--color-card);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}
.service-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.75rem; }
.service-desc  { font-family: var(--font-body); font-size: 0.875rem; font-weight: 300; color: var(--color-muted-fg); line-height: 1.625; }
.service-divider { width: 3rem; height: 1px; background: rgba(154,127,82,0.3); margin: 1rem auto 0; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--color-foreground);
  color: #fff;
}
.contact-eyebrow { color: rgba(255,255,255,0.4); }
.contact-title   { color: #fff; }
.contact-title .title-italic { color: var(--color-primary); }
.contact-intro {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.625;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 72rem;
  margin: 3.5rem auto 0;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 4rem; }
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.contact-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.contact-info-item:hover .contact-icon-wrap { background: rgba(154,127,82,0.2); }
.contact-icon-wrap svg { color: var(--color-primary); }
.contact-item-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.375rem;
}
.contact-item-value {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}
.contact-item-link { transition: color 0.3s; }
.contact-item-link:hover { color: var(--color-primary); }
.contact-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-note p {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 300;
  color: rgba(255,255,255,0.3); line-height: 1.75;
}

/* Contact form */
.contact-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 4rem 0; text-align: center;
}
.success-icon {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.success-icon svg { color: var(--color-button-text); }
.success-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; color: #fff; margin-bottom: 0.5rem; }
.success-body  { font-family: var(--font-body); font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.5); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: #fff;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-textarea:focus {
  border-color: rgba(154,127,82,0.5);
  background: rgba(255,255,255,0.08);
}
.form-textarea { resize: none; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}
.form-required-note {
  font-family: var(--font-body); font-size: 0.625rem; font-weight: 300;
  color: rgba(255,255,255,0.25);
}
@media (max-width: 767px) { .form-required-note { display: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 4rem 0; }
}
.footer-logo-link { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.footer-logo-text { display: none; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; letter-spacing: 0.025em; }
.footer-tagline {
  margin-top: 1rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg); line-height: 1.75; max-width: 22rem;
}
.footer-social { margin-top: 1rem; }
.footer-ebay-link {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-muted-fg);
  transition: color 0.2s;
}
.footer-ebay-link:hover { color: var(--color-foreground); }
.footer-col-title {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer-nav-list a,
.footer-nav-list button {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg); background: none; border: none; cursor: pointer;
  transition: color 0.2s; text-align: left;
}
.footer-nav-list a:hover, .footer-nav-list button:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg);
}
.footer-contact-list svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-link { transition: color 0.2s; }
.footer-contact-link:hover { color: var(--color-foreground); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copyright, .footer-credit {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 300; color: var(--color-muted-fg);
}
.footer-credit { transition: color 0.2s; }
.footer-credit:hover { color: var(--color-foreground); }

/* ============================================================
   CART DRAWER
   ============================================================ */
body.cart-open { overflow: hidden; }

#theme-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(46,35,24,0.2);
  z-index: 49;
  display: none;
  animation: fadeIn 0.2s ease;
}
body.cart-open #theme-cart-overlay { display: block; }

#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(28rem, 100%);
  background: var(--color-bg);
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition-smooth);
  box-shadow: -8px 0 40px rgba(46,35,24,0.12);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 300; letter-spacing: 0.02em; }
.cart-close-btn { padding: 0.25rem; transition: opacity 0.2s; }
.cart-close-btn:hover { opacity: 0.6; }

.cart-empty-state {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 1.5rem; text-align: center;
}
.cart-empty-state svg { color: var(--color-muted-fg); margin-bottom: 1rem; }
.cart-empty-msg { font-family: var(--font-body); color: var(--color-muted-fg); margin-bottom: 1.5rem; }

.cart-items-list { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.cart-item { display: flex; gap: 1rem; }
.cart-item-img-link { width: 5rem; height: 6rem; display: block; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.cart-item-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); font-family: var(--font-body); }
.cart-item-price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.cart-item-controls {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 0.25rem; border-radius: 0.25rem;
  transition: background 0.2s; display: flex;
}
.cart-qty-btn:hover { background: var(--color-secondary); }
.cart-qty-display { font-family: var(--font-body); font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-fg);
  transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 1rem;
  flex-shrink: 0;
}
.cart-subtotal-row { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 0.875rem; }
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-fg); }
.cart-checkout-btn { width: 100%; display: flex; justify-content: center; }
.cart-empty-continue { width: auto; }

/* ============================================================
   WOOCOMMERCE: SINGLE PRODUCT
   ============================================================ */
.single-product.site-main { padding-top: var(--header-height); }

.product-back-link-wrap { padding: 1.5rem 0; }
.product-back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-muted-fg); transition: color 0.2s;
}
.product-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; } }

/* Gallery */
.theme-product-gallery { min-width: 0; }
.theme-product-main-img-wrap {
  aspect-ratio: 1/1;
  background: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-main-image { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.thumb-btn {
  aspect-ratio: 1/1;
  width: 4rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.6;
}
.thumb-btn.is-active { border-color: var(--color-primary); opacity: 1; }
.thumb-btn:not(.is-active):hover { opacity: 1; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.theme-product-info { min-width: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.product-categories {
  font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.5rem;
}
.product-categories a { color: var(--color-muted-fg); transition: color 0.2s; }
.product-categories a:hover { color: var(--color-primary); }

.product-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300; margin-top: 0.5rem; margin-bottom: 1rem;
  overflow-wrap: break-word; word-break: break-word;
}

.product-price-wrap {
  font-family: var(--font-body); font-size: 1.5rem; font-weight: 500;
  color: var(--color-primary); margin-bottom: 1.5rem;
}
.product-price-wrap .price { color: var(--color-primary); }
.product-price-wrap del, .product-price-wrap .price del { color: var(--color-muted-fg); font-size: 1rem; }

.product-stock-status {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 400;
  margin-bottom: 1rem;
}
.product-sold-out { color: var(--color-destructive); }

.product-description {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg); line-height: 1.625; margin-bottom: 2rem;
  overflow-wrap: break-word; word-break: break-word;
}

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  margin-bottom: 2rem;
}

/* Quantity wrapper */
.theme-quantity-wrapper {
  display: flex; align-items: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem 1rem;
  font-size: 1rem; font-family: var(--font-body);
  background: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  border: none; outline: none;
  width: 3rem;
  text-align: center;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  padding: 0.75rem 0;
  background: transparent;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Single product 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: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_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;
}

/* Button loading state (§31.8) */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Hide "View cart" link after AJAX add (§11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Details / short description */
.product-details-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.product-details-title {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.product-details-section p, .product-details-section li {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg); line-height: 1.75;
}

/* Specs */
.product-specs { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.product-specs-title {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.specs-list { display: flex; flex-direction: column; gap: 0.5rem; }
.specs-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 300;
  color: var(--color-muted-fg);
}
.spec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary); flex-shrink: 0; margin-top: 0.5rem;
}

/* Variable product — variations table layout */
.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; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations tbody select {
  width: 100%; padding: 0.5rem; border: 1px solid var(--color-border);
  background: var(--color-bg); border-radius: 0.25rem;
  font-family: var(--font-body); font-size: 0.875rem;
}
.single-product .variations { margin-bottom: 1.5rem; }

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; margin-bottom: 2.5rem; }
.related-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

/* WC notices — hide on single product page (drawer provides feedback) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

/* Single product responsive */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ============================================================
   WOOCOMMERCE: ARCHIVE
   ============================================================ */
.archive-main { padding-top: var(--header-height); }
.archive-empty { text-align: center; padding: 4rem; font-family: var(--font-body); color: var(--color-muted-fg); }

/* ============================================================
   PAGE / GENERIC
   ============================================================ */
.site-main.page-main { padding-top: calc(var(--header-height) + 2rem); }
.page-content-wrap { padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 2rem; }
.entry-content { font-family: var(--font-body); font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--color-foreground); }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: var(--font-display); font-weight: 300; margin-bottom: 1rem; }
.entry-content p { margin-bottom: 1rem; }
.entry-content a { color: var(--color-primary); text-decoration: underline; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-page .text-center { display: flex; flex-direction: column; align-items: center; }
.not-found-code { font-family: var(--font-display); font-size: 6rem; font-weight: 300; color: var(--color-primary); line-height: 1; }
.not-found-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; margin-top: 0.5rem; margin-bottom: 2rem; }
.not-found-btn { margin-top: 0; }

/* ============================================================
   WOOCOMMERCE CHECKOUT (§13)
   ============================================================ */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
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 380px;
    gap: var(--checkout-gap);
    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-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important; max-width: none !important;
  font-family: var(--font-body) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  background: var(--color-bg) !important;
  color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary) !important; outline: none !important; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--card-radius);
  font-family: var(--font-body);
}

/* ============================================================
   THANK YOU PAGE (§22.8)
   ============================================================ */
body.theme-thankyou-page { overflow-x: hidden; }
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-size: 1.5rem; font-weight: 300;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none;
  background: var(--color-secondary); border-radius: var(--card-radius);
  padding: 1.5rem; margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-family: var(--font-body); font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details { margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; padding: 0.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; padding: 0.5rem 0; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; font-family: var(--font-body); line-height: 1.75; }
.thankyou-not-found { font-family: var(--font-body); color: var(--color-muted-fg); padding: 2rem 0; }

/* ============================================================
   WOOCOMMERCE STYLE OVERRIDES (§14)
   ============================================================ */
/* WC notices — show on non-single-product pages, styled */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: var(--font-body);
  border-radius: var(--card-radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-secondary);
}
.woocommerce-message a, .woocommerce-info a { color: var(--color-primary); }

/* Pagination */
.woocommerce-pagination { margin-top: 2rem; display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--color-border);
  border-radius: 0.25rem; font-family: var(--font-body); font-size: 0.875rem;
  color: var(--color-foreground); transition: all 0.2s;
}
.woocommerce-pagination a:hover, .woocommerce-pagination .current {
  background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary);
}

/* ============================================================
   NEWEST ARRIVALS SECTION
   ============================================================ */
.newest-arrivals-section { padding: 4rem 0; }
@media (min-width: 768px) { .newest-arrivals-section { padding: 6rem 0; } }
.newest-grid { max-width: 62rem; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .hero-title { white-space: normal; font-size: 3rem; }
  .contact-grid { gap: 2rem; }
  .footer-grid  { gap: 1.5rem; }
}

/* Link underline animation (nav) */
.link-underline {
  position: relative; display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }
