@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300..600;1,300..600&family=Inter+Tight:wght@400;500;600&family=Marcellus&display=swap');

:root {
  --ink: #17150f;
  --ink-soft: #2a2720;
  --porcelain: #f6f4ef;
  --porcelain-dim: #efece3;
  --greige: #e8e3d9;
  --stone: #6b675e;
  --olive: #3a4531;
  --olive-soft: #4f5c42;
  --brass: #b9975b;
  --brass-deep: #86682f;
  --hairline-light: rgba(23, 21, 15, 0.12);
  --hairline-dark: rgba(246, 244, 239, 0.18);
  --font-display: 'Fraunces', serif;
  --font-sans: 'Inter Tight', sans-serif;
  --font-hero: 'Marcellus', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--porcelain);
  line-height: 1.5;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--olive); color: var(--porcelain); }

/* Visible, on-brand focus states — never remove these */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.container-luxe {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container-luxe { padding: 0 2.5rem; } }
@media (min-width: 1280px) { .container-luxe { padding: 0 4rem; } }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--porcelain); }
.btn-brass { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn-brass:hover { background: var(--olive); border-color: var(--olive); }

.link-underline {
  border-bottom: 1px solid var(--hairline-light);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.link-underline:hover { border-color: var(--brass); color: var(--brass-deep); }

/* ===== Header — fixed, transparent-over-hero on homepage, solid elsewhere ===== */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 40;
  transition: background-color 0.3s, color 0.3s;
}
.site-header.is-transparent { background: transparent; color: var(--porcelain); }
.site-header.is-solid { background: var(--porcelain); color: var(--ink); border-bottom: 1px solid var(--hairline-light); }

.utility-bar { font-size: 11px; letter-spacing: 0.025em; transition: background-color 0.3s; }
.site-header.is-transparent .utility-bar { background: rgba(0,0,0,0.25); }
.site-header.is-solid .utility-bar { background: var(--ink); color: var(--porcelain); }
.utility-bar .container-luxe {
  display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 1.5rem;
}
@media (min-width: 1024px) {
  .utility-bar .container-luxe { display: grid; grid-template-columns: repeat(3, 1fr); }
  .utility-bar .container-luxe > a:first-child { justify-self: start; }
  .utility-bar .container-luxe > a:nth-child(2) { justify-self: center; }
  .utility-bar .container-luxe > div:last-child { justify-self: end; }
}
.utility-bar a { text-transform: uppercase; white-space: nowrap; }
.utility-bar a:hover { color: var(--brass); }

.main-nav .container-luxe { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.main-nav-left { display: flex; align-items: center; gap: 3rem; }
.logotype { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.08em; line-height: 1; }
@media (min-width: 768px) { .logotype { font-size: 1.875rem; } }
.logotype small { display: block; font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.25rem; opacity: 0.7; }
.nav-links { display: flex; gap: 2rem; align-items: center; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; }
.nav-links > a:hover, .nav-links > .mega-menu-wrap > a:hover { opacity: 0.7; }

/* Mega menu */
.mega-menu-wrap { position: relative; }
.mega-menu {
  position: fixed;
  left: 0; top: 132px;
  width: 100%;
  overflow-x: hidden;
  background: var(--porcelain);
  color: var(--ink);
  border-top: 1px solid var(--hairline-light);
  box-shadow: 0 20px 40px rgba(23,21,15,0.15);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0,0,0.2,1), transform 0.2s cubic-bezier(0,0,0.2,1), visibility 0.2s cubic-bezier(0,0,0.2,1);
}
@media (prefers-reduced-motion: reduce) { .mega-menu { transition: none; } }
.mega-menu-wrap.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mega-menu-container { max-width: 1440px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .mega-menu-container { padding: 0 2.5rem; } }
@media (min-width: 1280px) { .mega-menu-container { padding: 0 4rem; } }
.mega-menu-grid { display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 1.5rem; padding: 1.75rem 0; }
.mega-menu-grid a { display: block; font-size: 0.875rem; text-transform: none; letter-spacing: normal; }
.mega-menu-grid a:hover { color: var(--olive); }
.mega-group-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass-deep); margin: 0 0 0.5rem; }
.mega-group-block { margin-bottom: 1rem; }
.mega-group-block:last-child { margin-bottom: 0; }
.mega-group-block a { margin-bottom: 0.375rem; }
.mega-group-block a:last-child { margin-bottom: 0; }
.mega-menu-grid a.mega-focus-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.mega-focus-row:last-child { margin-bottom: 0; }
.mega-focus-row img { width: 48px; height: 48px; object-fit: cover; background: var(--greige); flex-shrink: 0; }
.mega-banner { position: relative; display: block; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.mega-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.mega-banner:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .mega-banner img { transition: none; } }
.mega-banner-text { position: absolute; bottom: 1.25rem; left: 1.25rem; color: var(--porcelain); }
.mega-banner-text span { display: block; }
.mega-banner-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }

/* Search box */
.search-box { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.search-box-trigger { background: none; border: none; cursor: pointer; color: inherit; display: flex; align-items: center; justify-content: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.025em; font-size: inherit; font-family: inherit; padding: 0; }
.search-box-trigger:hover { color: var(--brass); }
/* On the solid (light porcelain) header, the compact mobile/tablet trigger sits on a
   light background where --brass fails contrast (~2.5:1) — use the darker brass here.
   The utility-bar's (non-compact) trigger always sits on a dark background, so it
   keeps --brass, which passes there. */
.site-header.is-solid .search-box-compact .search-box-trigger:hover { color: var(--brass-deep); }
.search-box-compact .search-box-trigger { min-width: 44px; min-height: 44px; }
.search-box-panel {
  display: none;
  position: absolute; right: 0; top: 100%; margin-top: 0.75rem; z-index: 80;
  width: 18rem;
  background: var(--ink); color: var(--porcelain); border: 1px solid var(--hairline-dark);
  box-shadow: 0 12px 32px rgba(23,21,15,0.18);
}
.search-box-compact .search-box-panel { width: min(90vw, 20rem); }
.site-header.is-transparent .search-box-panel { background: var(--porcelain); color: var(--ink); border-color: var(--hairline-light); }
.search-box.open .search-box-panel { display: block; }
.search-box-input-wrap { padding: 0.75rem; }
.search-box-input {
  width: 100%; padding: 0.5rem 0.75rem; font-size: 0.875rem; text-transform: none; letter-spacing: normal;
  background: transparent; border: 1px solid rgba(246,244,239,0.3); color: var(--porcelain); font-family: inherit;
}
.search-box-input::placeholder { color: rgba(246,244,239,0.5); }
.search-box-input:focus-visible { outline: none; border-color: var(--brass); }
.site-header.is-transparent .search-box-input { border-color: rgba(23,21,15,0.2); color: var(--ink); }
.site-header.is-transparent .search-box-input::placeholder { color: var(--stone); }
.site-header.is-transparent .search-box-input:focus-visible { border-color: var(--olive); }
.search-box-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline-dark); max-height: 20rem; overflow-y: auto; }
.site-header.is-transparent .search-box-results { border-top-color: rgba(23,21,15,0.1); }
.search-box-results li a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; font-size: 0.875rem; text-transform: none; letter-spacing: normal; color: var(--porcelain); }
.search-box-results li a:hover { background: rgba(246,244,239,0.1); }
.site-header.is-transparent .search-box-results li a { color: var(--ink); }
.site-header.is-transparent .search-box-results li a:hover { background: var(--greige); }
.search-box-results li.empty { padding: 0.75rem 1rem; font-size: 0.875rem; color: rgba(246,244,239,0.6); text-transform: none; }
.site-header.is-transparent .search-box-results li.empty { color: var(--stone); }
.search-box-results .result-category { font-size: 0.75rem; color: rgba(246,244,239,0.5); flex-shrink: 0; }
.site-header.is-transparent .search-box-results .result-category { color: var(--stone); }
.search-box-results li.view-all a { justify-content: flex-start; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--brass); border-top: 1px solid var(--hairline-dark); }
.site-header.is-transparent .search-box-results li.view-all a { color: var(--olive); border-top-color: rgba(23,21,15,0.1); }

.mobile-controls { display: none; align-items: center; gap: 0.25rem; }
@media (max-width: 1023px) { .mobile-controls { display: flex; } }

/* Store choice dropdown (Book an Appointment / Find Your Boutique) */
.store-choice { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; }
.store-choice-trigger { background: none; border: none; padding: 0; color: inherit; font-family: inherit; cursor: pointer; text-transform: uppercase; letter-spacing: 0.025em; font-size: inherit; transition: color 0.2s; }
/* Matches StoreChoiceButton.tsx: the header and mobile-drawer triggers pass no hover
   className (no hover effect at all), only the footer instance opts into hover:text-brass. */
.site-footer .store-choice-trigger:hover { color: var(--brass); }
.store-choice-panel {
  position: absolute; top: 100%; z-index: 70; margin-top: 0.75rem; width: min(220px, calc(100vw - 2.5rem));
  background: var(--porcelain); color: var(--ink); border: 1px solid var(--hairline-light);
  box-shadow: 0 12px 32px rgba(23,21,15,0.14);
  opacity: 0; visibility: hidden; transform: translateY(-0.25rem); pointer-events: none;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s ease-out;
}
@media (prefers-reduced-motion: reduce) { .store-choice-panel { transition: none; } }
.store-choice-panel.left { left: 0; }
.store-choice-panel.right { right: 0; }
.store-choice.open .store-choice-panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.store-choice-panel .eyebrow { padding: 1rem 1rem 0.5rem; margin: 0; }
.store-choice-panel a, .site-footer .store-choice-panel a, .mobile-drawer .store-choice-panel a { display: block; padding: 0.75rem 1rem; font-family: var(--font-sans); font-size: 0.875rem; border-top: 1px solid var(--hairline-light); border-bottom: none; text-transform: none; letter-spacing: normal; color: var(--ink); }
.store-choice-panel a:hover { background: var(--greige); }
.store-choice-block { display: block; width: 100%; text-align: center; }
.store-choice-block .store-choice-panel { left: 0; right: 0; width: 100%; }

/* Footer */
.site-footer { background: var(--ink); color: var(--porcelain); margin-top: auto; }
.site-footer a { color: var(--porcelain); transition: color 0.2s; }
.footer-info-links a:hover,
.footer-bottom a:hover,
.footer-links-row > a:hover { color: var(--brass); }
.footer-top { padding: 4rem 0; display: grid; grid-template-columns: 1fr; gap: 3rem; }
.footer-col-newsletter { scroll-margin-top: 8rem; }
/* Stacked (mobile/tablet) layout: center each column's content so fixed-max-width
   blocks (photo, paragraphs, form) don't sit flush-left in the full-width column. */
@media (max-width: 1023px) {
  .footer-col-photo, .footer-col-info, .footer-col-newsletter { text-align: center; }
  .footer-photo-frame, .footer-photo-text, #newsletter-form-wrap { margin-left: auto; margin-right: auto; }
  .footer-links-row { justify-content: center; }
  .footer-info-links { align-items: center; }
  .newsletter-form { justify-content: center; }
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: repeat(12, 1fr); }
  .footer-col-photo { grid-column: 1 / span 4; }
  .footer-col-info { grid-column: 6 / span 3; }
  .footer-col-newsletter { grid-column: 9 / span 4; }
}
.footer-bottom { border-top: 1px solid var(--hairline-dark); }
.footer-bottom .container-luxe { padding-top: 1.5rem; padding-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; font-size: 0.75rem; color: rgba(246,244,239,0.6); }
@media (min-width: 640px) { .footer-bottom .container-luxe { flex-direction: row; } }

/* Hero */
.hero { position: relative; min-height: 100dvh; width: 100%; overflow: hidden; background: var(--ink); }
.hero video, .hero img.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .hero-poster-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero video { display: none !important; }
  .hero .hero-poster-fallback { display: block !important; }
}
@media (max-width: 767px) {
  .hero:not(.has-mobile-video) video { object-fit: contain; object-position: 50% 20%; }
}
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.25)); }
.hero-content { position: relative; z-index: 10; height: 100%; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-content .container-luxe { padding-top: 22rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero-content .container-luxe { padding-bottom: 7rem; } }
.hero.has-mobile-video .hero-content .container-luxe { padding-top: 0; }
.hero-content .link-underline { display: inline-block; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; padding-bottom: 0.25rem; }
.hero-content .link-underline:hover { color: var(--brass); }
.hero-content h1 { font-family: var(--font-hero); color: var(--porcelain); font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.025em; max-width: 42rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .hero-content h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero-content h1 { font-size: 3.75rem; } }

/* Homepage section spacer (h-16 md:h-32 in Next) */
.section-gap { height: 4rem; background: var(--porcelain); }
@media (min-width: 768px) { .section-gap { height: 8rem; } }

/* Page offset — every non-home page needs this since the header is fixed */
.page-offset { padding-top: 9rem; }
/* Legal pages use a shorter top offset on mobile (pt-28 md:pt-36 in Next) */
.legal-page-offset { padding-top: 7rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .legal-page-offset { padding-top: 9rem; } }

/* Shared page-title heading (collection / category / find-us h1s: text-4xl md:text-5xl) */
.page-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .page-heading { font-size: 3rem; } }

/* Back-to-collection links (text-xs uppercase tracking-widest text-stone hover:text-olive) */
.back-link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--stone); transition: color 0.2s; }
.back-link:hover { color: var(--olive); }
.back-link-tap { display: inline-flex; align-items: center; min-height: 2.75rem; margin: -0.75rem 0; padding: 0.75rem 0; }

/* Formal/Leisure full-bleed split */
.split-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.split-tile { position: relative; width: 100%; aspect-ratio: 0.85; overflow: hidden; display: block; background: var(--greige); }
.split-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.split-tile:hover img { transform: scale(1.05); }
.split-tile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05) 50%, transparent); }
.split-tile-content { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem; }
@media (min-width: 768px) { .split-tile-content { padding: 3.5rem; } }
.split-tile-content h2 { font-size: 1.875rem; color: var(--porcelain); margin-bottom: 1rem; }
@media (min-width: 768px) { .split-tile-content h2 { font-size: 3rem; } }
.split-tile-content h2:hover { color: var(--brass); }
.split-tile-links { display: flex; flex-direction: column; gap: 0.625rem; opacity: 1; transform: translateY(0); }
@media (min-width: 768px) {
  .split-tile-links { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.3s, transform 0.3s; }
  .split-tile-wrap:hover .split-tile-links { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .split-tile-links, .split-tile img { transition: none; } }
.split-tile-links a { font-size: 0.875rem; color: rgba(246,244,239,0.9); text-decoration: underline; text-decoration-color: rgba(246,244,239,0.4); text-underline-offset: 4px; }
.split-tile-links a:hover { color: var(--brass); text-decoration-color: var(--brass); }

/* Portrait slideshow (homepage collage) */
.collage-wrap { position: relative; width: 100%; aspect-ratio: 0.85; margin: 0 auto; overflow: hidden; background: var(--ink); }
@media (min-width: 768px) { .collage-wrap { width: 50%; } }
.collage-track { display: flex; height: 100%; transition: transform 0.7s ease-out; }
@media (prefers-reduced-motion: reduce) { .collage-track { transition: none; } }
.collage-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.collage-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px; border: none;
  background: rgba(246,244,239,0.8); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s;
}
.collage-arrow:hover { background: var(--porcelain); }
.collage-arrow.prev { left: 1rem; }
.collage-arrow.next { right: 1rem; }
@media (min-width: 768px) {
  .collage-arrow.prev { left: 1.5rem; }
  .collage-arrow.next { right: 1.5rem; }
}
.collage-counter { position: absolute; bottom: 1.25rem; right: 1.25rem; background: rgba(246,244,239,0.8); padding: 0.25rem 0.625rem; font-size: 0.75rem; }

/* Product grids */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: block; }
.product-card-media { position: relative; width: 100%; aspect-ratio: 4/5; background: var(--greige); overflow: hidden; margin-bottom: 1rem; }
.no-photo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; background: var(--greige); color: var(--stone); }
.no-photo-placeholder svg { opacity: 0.55; }
.no-photo-placeholder span { font-family: var(--font-sans); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; opacity: 0.7; }
.no-photo-placeholder.compact { gap: 0; }
.product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.product-card-media img.secondary { opacity: 0; }
.product-card:hover .product-card-media img.primary { opacity: 0; }
.product-card:hover .product-card-media img.secondary { opacity: 1; }
.product-card .product-name { font-size: 0.875rem; margin-bottom: 0.25rem; transition: color 0.2s; }
@media (min-width: 768px) { .product-card .product-name { font-size: 1rem; } }
.product-card:hover .product-name { color: var(--olive); }
.product-card .product-price { color: var(--stone); font-size: 0.875rem; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.category-tile-media { position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; background: var(--greige); margin-bottom: 1rem; }
.category-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
@media (prefers-reduced-motion: reduce) { .category-tile-media img { transition: none; } }
.category-tile:hover .category-tile-media img { transform: scale(1.05); }
.category-tile-name { font-size: 0.875rem; transition: color 0.2s; }
@media (min-width: 768px) { .category-tile-name { font-size: 1rem; } }
.category-tile:hover .category-tile-name { color: var(--olive); }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; border-bottom: 1px solid var(--hairline-light); padding-bottom: 1rem; }
.section-heading h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .section-heading h2 { font-size: 1.875rem; } }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 0; }
@media (min-width: 1024px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.product-detail h1 { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .product-detail h1 { font-size: 2.25rem; line-height: 2.5rem; } }
.product-gallery { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
@media (min-width: 1024px) { .product-gallery { flex-direction: row-reverse; } }
.gallery-main { position: relative; width: 100%; flex: 1; aspect-ratio: 4/5; background: var(--greige); overflow: hidden; }
.gallery-track { display: flex; height: 100%; transition: transform 0.4s ease-out; }
@media (prefers-reduced-motion: reduce) { .gallery-track { transition: none; } }
.gallery-slide { position: relative; width: 100%; height: 100%; flex-shrink: 0; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(246,244,239,0.8); border: none; border-radius: 999px; cursor: pointer; transition: background-color 0.2s;
}
.gallery-arrow:hover { background: var(--porcelain); }
.gallery-arrow.prev { left: 0.75rem; }
.gallery-arrow.next { right: 0.75rem; }
.gallery-counter { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(246,244,239,0.8); padding: 0.25rem 0.625rem; font-size: 0.75rem; }
.gallery-thumbs { display: flex; flex-direction: row; gap: 0.75rem; overflow-x: auto; }
@media (min-width: 1024px) { .gallery-thumbs { flex-direction: column; width: 5rem; flex-shrink: 0; overflow-x: visible; } }
.gallery-thumb { position: relative; width: 64px; height: 80px; padding: 0; overflow: hidden; background: var(--greige); cursor: pointer; border: 1px solid transparent; flex-shrink: 0; transition: border-color 0.2s; }
@media (min-width: 1024px) { .gallery-thumb { width: 100%; height: 96px; } }
.gallery-thumb:hover { border-color: rgba(23, 21, 15, 0.3); }
.gallery-thumb.active { border-color: var(--olive); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-zoom {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(246,244,239,0.8); border: none; border-radius: 999px; cursor: pointer; transition: background-color 0.2s;
}
.gallery-zoom:hover { background: var(--porcelain); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(23,21,15,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: min(90vw, 56rem); max-height: 85vh; object-fit: contain; }
.lightbox-close, .lightbox-arrow {
  position: absolute; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(246,244,239,0.12); color: var(--porcelain); border: none; border-radius: 999px; cursor: pointer; transition: background-color 0.2s;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(246,244,239,0.22); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-arrow.prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-arrow.next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: var(--porcelain); font-size: 0.75rem; letter-spacing: 0.05em; opacity: 0.75; }
.size-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.75rem; border: 1px solid rgba(23,21,15,0.2); font-size: 0.875rem; }
.appointment-actions { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .appointment-actions { flex-direction: row; } }
.appointment-actions .store-choice-block { flex: 1; }
.appointment-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.75rem; padding: 0.75rem 1.5rem; border: 1px solid var(--ink); text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; transition: background 0.2s, color 0.2s; cursor: pointer; background: transparent; }
.appointment-btn:hover { background: var(--ink); color: var(--porcelain); }
.appointment-btn.filled { background: var(--ink); color: var(--porcelain); }
.appointment-btn.filled:hover { background: var(--olive); }
.info-sections { border-top: 1px solid var(--hairline-light); }
.info-section { border-bottom: 1px solid var(--hairline-light); }
.info-section summary { padding: 1rem 0; cursor: pointer; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.info-section summary::-webkit-details-marker { display: none; }
.info-section summary .plusminus { font-size: 1.125rem; line-height: 1; width: 1.25rem; text-align: center; flex-shrink: 0; }
.info-section summary .plusminus::before { content: '+'; }
.info-section[open] summary .plusminus::before { content: '\2212'; }
.info-section p { color: rgba(23,21,15,0.8); font-size: 0.875rem; margin: 0; padding-bottom: 1rem; white-space: pre-line; line-height: 1.625; }

.boutiques-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .boutiques-grid { grid-template-columns: 1fr 1fr; } }

/* Store cards */
.store-card { border: 1px solid var(--hairline-light); padding: 1.5rem; margin-bottom: 1.5rem; }
.store-card h3 { margin-bottom: 0.5rem; }

/* Find Us — map embed fallback (no Google Maps API key) */
.map-fallback { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: var(--greige); text-align: center; transition: background-color 0.2s; }
.map-fallback:hover { background: rgba(232,227,217,0.7); }
.map-fallback-address { font-size: 0.875rem; color: rgba(23,21,15,0.8); max-width: 20rem; padding: 0 1.5rem; }
.map-fallback-cta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid rgba(23,21,15,0.4); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.map-fallback:hover .map-fallback-cta { border-color: var(--brass); color: var(--brass); }

/* Find Us — Follow Along links */
.follow-links a { transition: color 0.2s; }
.follow-links a:hover { color: var(--olive); }

/* Newsletter form */
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 1px solid rgba(246,244,239,0.3); color: var(--porcelain); padding: 0.75rem 1rem; font-size: 0.875rem; }
.newsletter-form input[type=email]:focus-visible { outline: none; border-color: var(--brass); }
.newsletter-form input[type=email]::placeholder { color: rgba(246,244,239,0.5); }
.newsletter-form button { flex-shrink: 0; background: var(--porcelain); border: none; color: var(--ink); padding: 0.75rem 1.5rem; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.1em; cursor: pointer; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--brass); }
.newsletter-form button:disabled { opacity: 0.6; cursor: not-allowed; }

/* Mobile drawer */
@media (max-width: 1023px) {
  .desktop-only { display: none !important; }
  .mobile-toggle { display: flex; }
}
@media (min-width: 1024px) { .mobile-only { display: none !important; } }
.mobile-drawer { position: fixed; inset: 0; background: var(--porcelain); color: var(--ink); z-index: 50; overflow-y: auto; overflow-x: hidden; }
.mobile-drawer[hidden] { display: none; }
/* Explicit color (not just inherited) — iOS Safari renders unstyled <button> icon
   content (currentColor SVGs/backgrounds) in its default blue tint otherwise. */
.mobile-drawer-close { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; margin-left: auto; cursor: pointer; background: none; border: none; color: var(--ink); transition: opacity 0.2s; }
.site-header.is-transparent .mobile-toggle { color: var(--porcelain); }
.site-header.is-solid .mobile-toggle { color: var(--ink); }
.mobile-drawer-close:hover, .mobile-toggle:hover { opacity: 0.7; }
.mobile-drawer a, .mobile-drawer summary { display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.125rem; border-bottom: 1px solid var(--hairline-light); cursor: pointer; }
.mobile-drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.mobile-drawer summary::-webkit-details-marker { display: none; }
.mobile-drawer summary .chevron { display: inline-flex; flex-shrink: 0; transition: transform 0.2s ease; }
.mobile-drawer details[open] summary .chevron { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .mobile-drawer summary .chevron { transition: none; } }
.mobile-drawer .sub-links { padding: 1.25rem 0 1.25rem 1rem; }
.mobile-drawer .sub-links a { font-family: var(--font-sans); font-size: 1rem; border-bottom: none; padding: 0.3125rem 0; }
.mobile-drawer .sub-links a.mobile-drawer-view-all { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.025em; text-decoration: underline; text-underline-offset: 4px; padding: 0; margin-top: 1.25rem; }

/* Brand page alternating sections */
.alt-section { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .alt-section { grid-template-columns: 1fr 1fr; } }
.alt-section .alt-image { position: relative; width: 100%; height: 60vh; }
.alt-section .alt-image img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .alt-section .alt-image { height: 80vh; } .alt-section.image-right .alt-image { order: 2; } }
.alt-section .alt-text { display: flex; align-items: center; background: var(--porcelain); }
.alt-section .alt-text > div { padding: 4rem 2rem; max-width: 32rem; margin: 0 auto; }
@media (min-width: 768px) { .alt-section .alt-text > div { padding: 4rem 4rem; } }
.alt-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .alt-section h2 { font-size: 1.875rem; } }
.alt-section p { font-size: 0.875rem; line-height: 1.625; color: rgba(23,21,15,0.8); margin-bottom: 1rem; }
.alt-section p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .alt-section p { font-size: 1rem; } }

/* Brand page top split hero + heritage intro */
.brand-split { gap: 0; }
.brand-split-img { width: 100%; height: 55vh; }
@media (min-width: 768px) { .brand-split-img { height: 92vh; } }
.brand-heritage { padding: 5rem 0; }
@media (min-width: 768px) { .brand-heritage { padding: 7rem 0; } }
.brand-heritage-text { max-width: 48rem; margin: 0 auto; text-align: center; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.625; }
@media (min-width: 768px) { .brand-heritage-text { font-size: 1.5rem; } }

/* Legal pages */
.legal-content { max-width: 42rem; margin: 0 auto; }
.legal-content h1 { font-size: 2.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .legal-content h1 { font-size: 3rem; } }
.legal-content p { font-size: 0.875rem; line-height: 1.625; color: rgba(23,21,15,0.8); white-space: pre-line; }
@media (min-width: 768px) { .legal-content p { font-size: 1rem; } }
