/* GlowMerchant — Brand Styles v2 */
:root {
  --amber: #C08A44;
  --amber-soft: rgba(192, 138, 68, 0.12);
  --amber-mid: rgba(192, 138, 68, 0.22);
  --charcoal: #2B2B2B;
  --charcoal-deep: #1F1F1F;
  --offwhite: #F5F1EA;
  --offwhite-deep: #EDE7DC;
  --terracotta: #B4552A;
  --terracotta-hover: #9a4623;
  --white: #FFFFFF;
  --muted: #6B6560;
  --muted-soft: #8A837C;
  --border: #E8E2D9;
  --border-strong: #D9D1C5;
  --shadow-sm: 0 1px 2px rgba(43, 43, 43, 0.04);
  --shadow-md: 0 8px 28px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 18px 48px rgba(43, 43, 43, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 80px;
  --max-w: 1120px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-reveal,
  .hero-title .hero-line-inner {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-float-card,
  .hero-float-card.is-main {
    animation: none !important;
  }

  .brand-marquee-track {
    animation: none !important;
  }

  .hero-orb {
    animation: none !important;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--charcoal);
  color: white;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 8px 24px rgba(43, 43, 43, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-0.5px);
}

.logo img {
  height: 38px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  display: block;
  /* Real wordmark: keep full contrast on light header */
  filter: none;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  opacity: 0.96;
}

.footer-logo:hover img {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.15s ease;
  position: relative;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta).active {
  color: var(--amber);
}

.nav a:not(.nav-cta).active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.nav-cta {
  background: var(--terracotta);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--terracotta-hover);
  color: white !important;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--border);
}

.lang-switcher button {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.3rem 0.4rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  line-height: 1;
}

.lang-switcher button:hover {
  color: var(--charcoal);
  background: rgba(43, 43, 43, 0.05);
}

.lang-switcher button.is-active {
  color: var(--amber);
  background: var(--amber-soft);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  z-index: 2;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
  border-radius: 1px;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--offwhite);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.5rem;
  }

  .nav a:not(.nav-cta).active::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    justify-content: center;
    padding-top: 0.75rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 1px 2px rgba(180, 85, 42, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  background: white;
}

.btn-amber {
  background: var(--amber);
  color: white;
}

.btn-amber:hover {
  background: #a87638;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-on-dark {
  background: white;
  color: var(--charcoal);
}

.btn-on-dark:hover {
  background: var(--offwhite);
}

.btn-link-external::after {
  content: '↗';
  font-size: 0.85em;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════
   Hero — premium split + 3D product stage
   Inspired by luxury retail / Framer patterns
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, #F7F3EC 0%, var(--offwhite) 42%, #F3EDE4 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
  animation: hero-orb-drift 18s var(--ease) infinite alternate;
}

.hero-orb-a {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(192, 138, 68, 0.38), transparent 68%);
  animation-duration: 20s;
}

.hero-orb-b {
  width: min(48vw, 460px);
  height: min(48vw, 460px);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(180, 85, 42, 0.22), transparent 70%);
  animation-duration: 24s;
  animation-delay: -6s;
}

.hero-orb-c {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  left: 38%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(43, 43, 43, 0.08), transparent 70%);
  animation-duration: 22s;
  animation-delay: -3s;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(43, 43, 43, 0.09) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, black 20%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, black 20%, transparent 92%);
}

@keyframes hero-orb-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(18px, -22px, 0) scale(1.06); }
}

.hero-shell {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: min(68vh, 620px);
}

.hero-copy {
  text-align: left;
  max-width: 34rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--amber-mid);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-sm);
}

.hero-title,
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  max-width: 12ch;
  margin: 0 0 1.35rem;
  color: var(--charcoal);
  letter-spacing: -0.035em;
}

.hero-title .hero-line {
  display: block;
  overflow: hidden;
}

.hero-title .hero-line-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: hero-line-in 0.9s var(--ease) forwards;
}

.hero-title .hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.12s; }
.hero-title .hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.24s; }
.hero-title .hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.36s; }
.hero-title .hero-line:nth-child(4) .hero-line-inner { animation-delay: 0.48s; }

@keyframes hero-line-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 2rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-glow {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px rgba(180, 85, 42, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 14px 32px rgba(180, 85, 42, 0.34);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(43, 43, 43, 0.08);
  max-width: none;
}

.hero-trust span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--terracotta));
  box-shadow: 0 0 0 3px var(--amber-soft);
  flex-shrink: 0;
}

/* Staggered entrance for hero blocks */
.hero-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 0.85s var(--ease) forwards;
}

.hero-copy .hero-reveal:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .hero-reveal:nth-child(2) { animation-delay: 0.1s; }
.hero-copy .hero-reveal:nth-child(3) { animation-delay: 0.45s; }
.hero-copy .hero-reveal:nth-child(4) { animation-delay: 0.55s; }
.hero-copy .hero-reveal:nth-child(5) { animation-delay: 0.68s; }
.hero-stage-wrap.hero-reveal { animation-delay: 0.25s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3D product stage */
.hero-stage-wrap {
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.hero-stage {
  position: relative;
  height: min(520px, 62vw);
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.hero-stage-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 78%;
  height: 62%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 38%, transparent 72%);
  filter: blur(2px);
  z-index: 0;
}

.hero-stage-floor {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 12%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(43, 43, 43, 0.12), transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

.hero-float-stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  width: clamp(118px, 18vw, 168px);
  aspect-ratio: 1;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow:
    0 2px 4px rgba(43, 43, 43, 0.04),
    0 18px 40px rgba(43, 43, 43, 0.12),
    0 40px 64px rgba(43, 43, 43, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: hero-float 6.5s ease-in-out infinite;
  transition: box-shadow 0.35s var(--ease), border-color 0.25s ease;
}

.hero-float-card:hover {
  box-shadow:
    0 4px 8px rgba(43, 43, 43, 0.06),
    0 24px 48px rgba(43, 43, 43, 0.16),
    0 48px 72px rgba(43, 43, 43, 0.1);
  border-color: rgba(192, 138, 68, 0.35);
  z-index: 5 !important;
}

.hero-float-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 8%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.hero-float-card.is-main {
  width: clamp(168px, 26vw, 236px);
  left: 50%;
  top: 46%;
  transform: translate3d(-50%, -50%, 48px) rotateY(-8deg) rotateX(6deg);
  z-index: 3;
  animation-name: hero-float-main;
  animation-duration: 7s;
  box-shadow:
    0 4px 12px rgba(43, 43, 43, 0.06),
    0 28px 56px rgba(43, 43, 43, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.hero-float-card.is-left {
  left: 6%;
  top: 22%;
  transform: translate3d(0, 0, 12px) rotateY(18deg) rotateX(8deg) rotateZ(-6deg);
  z-index: 2;
  animation-delay: -1.4s;
  animation-duration: 7.2s;
}

.hero-float-card.is-right {
  right: 4%;
  top: 18%;
  left: auto;
  transform: translate3d(0, 0, 20px) rotateY(-22deg) rotateX(10deg) rotateZ(7deg);
  z-index: 2;
  animation-delay: -2.8s;
  animation-duration: 6.8s;
}

.hero-float-card.is-back {
  left: 28%;
  bottom: 10%;
  top: auto;
  width: clamp(100px, 14vw, 132px);
  transform: translate3d(0, 0, -28px) rotateY(12deg) rotateX(14deg) rotateZ(-3deg);
  z-index: 1;
  opacity: 0.92;
  animation-delay: -0.7s;
  animation-duration: 8s;
  filter: saturate(0.95);
}

@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes hero-float-main {
  0%, 100% {
    transform: translate3d(-50%, -50%, 48px) rotateY(-8deg) rotateX(6deg) translateY(0);
  }
  50% {
    transform: translate3d(-50%, -50%, 48px) rotateY(-5deg) rotateX(8deg) translateY(-14px);
  }
}

.hero-stage-badge {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.hero-stage-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 0 rgba(180, 85, 42, 0.45);
  animation: hero-pulse 2.2s ease-out infinite;
}

@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(180, 85, 42, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(180, 85, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(180, 85, 42, 0); }
}

/* Brand marquee */
.brand-marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.15rem 0 1.25rem;
  overflow: hidden;
}

.brand-marquee-head {
  text-align: center;
  margin-bottom: 0.65rem;
}

.brand-marquee-track-wrap {
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  overflow: hidden;
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  animation: brand-scroll 38s linear infinite;
}

.brand-marquee-track:hover {
  animation-play-state: paused;
}

.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding: 0 1.375rem;
}

.brand-marquee .brand-pill {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.brand-marquee .brand-pill:hover {
  color: var(--charcoal);
}

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Legacy brand-strip (kept for other pages if used) */
.brand-strip {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.brand-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.25rem;
}

.brand-strip-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  width: 100%;
  text-align: center;
  margin-bottom: 0.25rem;
}

.brand-pill {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero {
    padding: 3.25rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
  }

  .hero-copy {
    text-align: center;
    max-width: none;
    margin: 0 auto;
  }

  .hero-title,
  .hero h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-stage {
    height: min(420px, 88vw);
    min-height: 320px;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .hero-float-card.is-back {
    display: none;
  }

  .hero-stage {
    height: 340px;
    min-height: 300px;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.25rem 0 2rem;
  position: relative;
}

.page-hero .hero-label {
  margin-bottom: 0.85rem;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.page-hero.centered {
  text-align: center;
}

.page-hero.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.section-header.left {
  text-align: left;
}

.section-header.left p {
  margin-left: 0;
}

/* Value props */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(192, 138, 68, 0.28);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-card .icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, var(--amber-soft), rgba(180, 85, 42, 0.08));
  border: 1px solid var(--amber-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  color: var(--amber);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Product grid — premium retail presentation */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: white;
  border: 1px solid rgba(43, 43, 43, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(43, 43, 43, 0.04), 0 8px 24px rgba(43, 43, 43, 0.04);
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(43, 43, 43, 0.06), 0 16px 40px rgba(43, 43, 43, 0.08);
  transform: translateY(-4px);
  border-color: rgba(43, 43, 43, 0.12);
}

.product-image {
  aspect-ratio: 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 43, 43, 0.06);
}

/* Studio white field — images are pre-padded on white */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.55), transparent 50%),
    linear-gradient(145deg, #e8e1d7, #d4caba);
}

/* Show initials only if image fails (or no image) */
.product-image .product-fallback {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 0;
}

.product-image.is-fallback .product-fallback,
.product-image.is-fallback .product-placeholder {
  display: flex;
}

.product-image.is-fallback img {
  display: none;
}

.product-placeholder .initials {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(43, 43, 43, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.product-placeholder .label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  z-index: 1;
}

.product-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #FFFFFF;
}

.product-name {
  letter-spacing: -0.015em;
}

.product-reason {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.product-brand {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}

.product-cat {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-soft);
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

/* Shop toolbar — full-width search aligned with notice + product grid */
.shop-toolbar {
  display: block;
  width: 100%;
  margin: 0 0 2rem;
}

.shop-toolbar > .shop-filter-label {
  margin-bottom: 0.5rem;
}

.shop-filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin: 0 0 0.55rem;
}

.shop-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  width: 100%;
  margin-top: 1.25rem;
}

.shop-toolbar-cats {
  flex: 1 1 12rem;
  min-width: 0;
}

.cat-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.cat-chip {
  appearance: none;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--charcoal);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cat-chip:hover {
  border-color: var(--border-strong);
  background: var(--offwhite);
}

.cat-chip.is-active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: white;
}

.shop-count {
  flex: 0 0 auto;
  margin: 0;
  padding-bottom: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
  text-align: right;
  line-height: 1.2;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.product-reason {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.product-price {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* Approach / Process */
.process-list {
  display: grid;
  gap: 1.15rem;
  max-width: 740px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  gap: 1.35rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.process-item:hover {
  box-shadow: var(--shadow-md);
}

.process-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--amber);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(192, 138, 68, 0.35);
}

.process-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.process-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Avoid chips */
.avoid-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.avoid-chip {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.about-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--terracotta));
}

.about-visual .quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.about-visual .attribution {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-visual .divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 1.5rem;
}

.about-visual .note {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.stat-card span {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.contact-form .field-hint {
  font-size: 0.75rem;
  color: var(--muted-soft);
  font-weight: 400;
  margin-left: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.9375rem;
  background: var(--offwhite);
  margin-bottom: 1.15rem;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  color: var(--charcoal);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-soft);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--border-strong);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: white;
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.contact-form .form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.contact-form .form-status.success {
  display: block;
  background: rgba(60, 140, 90, 0.1);
  color: #2d6a45;
  border: 1px solid rgba(60, 140, 90, 0.25);
}

.contact-form .form-status.error {
  display: block;
  background: rgba(180, 85, 42, 0.08);
  color: var(--terracotta);
  border: 1px solid rgba(180, 85, 42, 0.2);
}

.contact-info {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.contact-info a {
  color: var(--amber);
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-block strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  font-size: 0.9875rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--amber);
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: rgba(245, 241, 234, 0.6);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Legal */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.legal-content .updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.9875rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--amber);
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* CTA band */
.cta-band {
  background: var(--charcoal-deep);
  color: white;
  padding: 4.25rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(192, 138, 68, 0.15), transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 40%, rgba(180, 85, 42, 0.12), transparent 50%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.cta-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--charcoal-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand .logo-text {
  color: white;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 30ch;
}

.footer-col h4 {
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.55rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Shop notice */
.shop-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: white;
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.shop-notice strong {
  color: var(--charcoal);
}

/* Utility */
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.bg-white { background: white; }
.bg-soft { background: var(--offwhite-deep); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Body scroll lock when mobile menu open */
body.nav-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  body.nav-open {
    overflow: auto;
  }
}

/* ═══════════════════════════════════════════
   Scroll reveals + stage auto-rotate
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Product cards gently rise when grid reveals */
.product-grid.reveal-stagger .product-card {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.2s ease;
}

/* Hero stage auto-rotate: slot positions as CSS vars for JS-driven class swap */
.hero-float-card.is-swapping {
  transition:
    left 0.9s var(--ease),
    right 0.9s var(--ease),
    top 0.9s var(--ease),
    bottom 0.9s var(--ease),
    width 0.9s var(--ease),
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease),
    box-shadow 0.9s var(--ease);
}

.hero-float-card.is-main.is-swapping,
.hero-float-card.is-left.is-swapping,
.hero-float-card.is-right.is-swapping,
.hero-float-card.is-back.is-swapping {
  animation: none; /* pause float while rotating */
}

/* Logo visibility on small screens */
@media (max-width: 480px) {
  .logo img {
    height: 32px;
    max-width: 160px;
  }

  :root {
    --header-h: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .brand-marquee-track,
  .hero-float-card,
  .hero-orb {
    animation: none !important;
  }
}

/* —— Screen reader only —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Shop search: full width, same edges as notice + grid —— */
.shop-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 3rem;
  margin: 0;
  padding: 0 0.95rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-search:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

.shop-search-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.7rem;
  color: var(--muted-soft);
  flex: 0 0 1.125rem;
}

.shop-search-input {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 4.5rem 0 0; /* room for Clear when visible — no layout jump */
  border: 0;
  outline: none;
  background: transparent;
  color: var(--charcoal);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.shop-search-input::-webkit-search-decoration,
.shop-search-input::-webkit-search-cancel-button,
.shop-search-input::-webkit-search-results-button,
.shop-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.shop-search-clear {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: var(--offwhite);
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  height: 1.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.75rem;
  white-space: nowrap;
}

.shop-search-clear[hidden] {
  display: none !important;
}

.shop-search-clear:hover {
  color: var(--charcoal);
}

.shop-empty {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.45;
}

.shop-empty[hidden] {
  display: none !important;
}

.shop-toolbar + .product-grid {
  width: 100%;
  margin-top: 0;
}

/* —— AI assistant widget —— */
.gm-assistant {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  font-family: var(--font-body, inherit);
}

.gm-assistant-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  appearance: none;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--charcoal), #3a3a3a);
  color: white;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(43, 43, 43, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gm-assistant-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(43, 43, 43, 0.34);
}

.gm-assistant-fab-icon {
  color: var(--amber);
}

.gm-assistant-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(380px, calc(100vw - 2rem));
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(43, 43, 43, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(520px, 70vh);
}

.gm-assistant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, #fbf8f3, #fff);
  border-bottom: 1px solid var(--border);
}

.gm-assistant-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.15rem;
}

.gm-assistant-sub {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.gm-assistant-close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.gm-assistant-close:hover {
  background: var(--offwhite);
  color: var(--charcoal);
}

.gm-assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #faf8f5;
}

.gm-assistant-msg {
  max-width: 92%;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
}

.gm-assistant-msg p {
  margin: 0;
}

.gm-assistant-msg.is-user {
  align-self: flex-end;
  background: var(--charcoal);
  color: white;
  border-bottom-right-radius: 4px;
}

.gm-assistant-msg.is-assistant {
  align-self: flex-start;
  background: white;
  border: 1px solid var(--border);
  color: var(--charcoal);
  border-bottom-left-radius: 4px;
}

.gm-assistant-msg.is-thinking {
  opacity: 0.7;
  font-style: italic;
}

.gm-assistant-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  background: white;
}

.gm-assistant-form input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
  min-width: 0;
}

.gm-assistant-form input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-soft);
}

@media (max-width: 480px) {
  .gm-assistant-fab-label {
    display: none;
  }

  .gm-assistant-fab {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    justify-content: center;
  }
}
