/* ======================================================================
   BAUMUR — design system
   Palette taken from the Vence showroom: olive walls, stone, warm wood,
   a little brass. The site stays chromatically quiet so the pieces carry
   the colour. Mobile first. No decorative animation.
   ====================================================================== */

:root {
  /* Surfaces */
  --paper:      #F4F1EA;
  --paper-2:    #EAE5DA;
  --paper-3:    #E0DACC;
  --white:      #FFFFFF;

  /* Ink */
  --ink:        #1E1D1A;
  --ink-2:      #4B4944;
  --muted:      #7D7A72;

  /* Accents */
  --olive:      #5C6648;
  --olive-deep: #3E4632;
  --olive-soft: #E3E5D8;
  --brass:      #A58C60;
  --brass-soft: rgba(165, 140, 96, 0.22);
  --line:       rgba(30, 29, 26, 0.12);
  --line-strong:rgba(30, 29, 26, 0.28);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', 'Noto Serif SC', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --radius: 2px;
  --gutter: 16px;
  --max: 1360px;
  --nav-h: 60px;
  --transition: 0.25s ease;
  --shadow-sm: 0 1px 2px rgba(30,29,26,0.06);
  --shadow-md: 0 8px 24px -12px rgba(30,29,26,0.25);
  --shadow-lg: 0 24px 48px -24px rgba(30,29,26,0.35);

  /* Legacy aliases. Older views (cart, checkout, orders, confirmation)
     still reference the previous token names; they resolve to the new
     palette so nothing breaks while they are migrated. */
  --ivory: var(--paper);
  --ivory-dark: var(--paper-2);
  --cream: var(--paper-2);
  --parme-light: var(--paper-2);
  --parme: var(--olive-soft);
  --parme-dark: var(--olive);
  --gold: var(--brass);
  --gold-light: #C9B48E;
  --gold-dark: var(--olive-deep);
  --gold-muted: var(--line);
  --champagne: var(--paper-2);
  --antique-gold: var(--brass);
  --charcoal: var(--ink);
  --charcoal-light: var(--ink-2);
  --warm-grey: var(--muted);
  --dusty-rose: var(--olive);
  --dusty-rose-light: var(--olive-soft);
  --dusty-rose-dark: var(--olive-deep);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --nav-h: 72px; }
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--ink); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.gilded { color: var(--olive-deep); font-style: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels and small caps used across the site */
.eyebrow, .section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn, .btn-solid, .btn-gilded, .hero-cta, .btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover, .btn-solid:hover, .hero-cta:hover, .btn-buy:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--paper); }
.btn--ghost, .btn-gilded { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover, .btn-gilded:hover { background: var(--ink); color: var(--paper); letter-spacing: 0.16em; }
.btn--light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.7); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.72rem; }
.link-arrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--ink); }

/* ── Nav ──────────────────────────────────────────────────────────── */
.tnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.tnav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tnav__logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.tnav__logo svg { width: 26px; height: 26px; display: block; }
.tnav__wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.3em;
}
.tnav__menu {
  display: none;
}
.tnav__menu > a,
.tnav__dropdown-trigger {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
}
.tnav__menu > a:hover, .tnav__dropdown-trigger:hover { color: var(--ink); }
.tnav__menu > a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0; background: var(--ink);
  transition: width var(--transition);
}
.tnav__menu > a:hover::after { width: 100%; }
.tnav__right { display: flex; align-items: center; gap: 10px; }
.tnav__cart {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 0;
}
.tnav__cart svg { width: 20px; height: 20px; }
.tnav__cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  font-size: 0.62rem; letter-spacing: 0; line-height: 1;
}
.tnav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center; margin-right: -10px;
}
.tnav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
.tnav.is-open .tnav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.tnav.is-open .tnav__burger span:nth-child(2) { opacity: 0; }
.tnav.is-open .tnav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.lang-select {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 1.6rem 0.45rem 0.7rem;
  border-radius: var(--radius);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%231E1D1A' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat; background-position: right 0.55rem center;
}
.lang-select:focus { outline: none; border-color: var(--ink); }

/* Mobile menu: full-height panel under the bar */
.tnav__panel {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--paper);
  overflow-y: auto;
  z-index: 999;
  padding: 8px var(--gutter) 40px;
}
.tnav.is-open + .tnav__panel { display: block; }
.tnav__panel a.tnav__panel-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.tnav__panel-group { padding: 14px 0 6px; border-bottom: 1px solid var(--line); }
.tnav__panel-group .eyebrow { display: block; margin-bottom: 8px; }
.tnav__panel-group a { display: inline-block; font-size: 0.95rem; color: var(--ink-2); padding: 6px 14px 6px 0; }
.tnav__panel-foot { padding-top: 18px; display: flex; align-items: center; gap: 14px; }

/* Desktop nav */
@media (min-width: 960px) {
  .tnav__burger, .tnav__panel { display: none !important; }
  .tnav__menu { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
  .tnav__wordmark { font-size: 1.5rem; }
  .tnav__dropdown { position: relative; }
  .tnav__dropdown-trigger { display: inline-flex; align-items: center; gap: 6px; }
  .tnav__dropdown-trigger::after { content: ''; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
  .tnav__dropdown-menu {
    display: none;
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    margin-top: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 10px 0;
    z-index: 50;
  }
  .tnav__dropdown:hover .tnav__dropdown-menu,
  .tnav__dropdown:focus-within .tnav__dropdown-menu { display: block; }
  .tnav__dropdown-menu a { display: block; padding: 8px 20px; font-size: 0.86rem; color: var(--ink-2); }
  .tnav__dropdown-menu a:hover { background: var(--paper-2); color: var(--ink); }
  .tnav__dropdown-menu--rich {
    left: 0; transform: none;
    display: none;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    gap: 0 28px;
    padding: 22px 28px;
    min-width: 720px;
  }
  .tnav__dropdown:hover .tnav__dropdown-menu--rich,
  .tnav__dropdown:focus-within .tnav__dropdown-menu--rich { display: grid; }
  .tnav__col-title { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .tnav__dropdown-menu--rich a { padding: 5px 0; }
  .tnav__dropdown-menu--rich a:hover { background: none; padding-left: 4px; }
}

/* ── Hero (home) ──────────────────────────────────────────────────── */
.b-hero {
  position: relative;
  min-height: 72vh;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  background: var(--olive-deep);
  color: var(--paper);
  overflow: hidden;
}
.b-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.b-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,22,16,0.10) 0%, rgba(20,22,16,0.05) 40%, rgba(20,22,16,0.72) 100%);
}
.b-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 36px; }
.b-hero__mark { width: 44px; height: 44px; margin-bottom: 18px; color: var(--paper); }
.b-hero h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
  margin-bottom: 10px;
  padding-left: 0.2em;
}
.b-hero__sub { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.02em; color: rgba(244,241,234,0.88); max-width: 520px; margin-bottom: 22px; }
.b-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 720px) {
  .b-hero { min-height: 82vh; }
  .b-hero__inner { padding-bottom: 56px; }
  .b-hero__sub { font-size: 1.05rem; }
}

/* ── Section headers ──────────────────────────────────────────────── */
.b-section { padding: 36px 0 8px; }
.b-section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter) 14px;
  max-width: var(--max); margin: 0 auto;
}
.b-section__head h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 500; }
.b-section__head .link-arrow { flex-shrink: 0; }
@media (min-width: 720px) { .b-section { padding-top: 56px; } .b-section__head { padding-bottom: 20px; } }

/* ── Product grid: edge to edge, images carry the page ───────────── */
.b-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--paper-2);
  border-top: 1px solid var(--paper-2);
  border-bottom: 1px solid var(--paper-2);
}
.b-card { display: block; background: var(--paper); position: relative; }
.b-card__img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-2);
}
.b-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.b-card:hover .b-card__img img { transform: scale(1.03); }
.b-card__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(244,241,234,0.9); color: var(--ink);
  font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 8px;
}
.b-card__sold { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--ink); color: var(--paper); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 8px; }
.b-card__body { padding: 10px 12px 14px; }
.b-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 4px;
}
.b-card__meta { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 4px; }
.b-card__price { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.b-card__price--ask { color: var(--muted); font-weight: 400; }
@media (min-width: 720px) {
  .b-grid { grid-template-columns: repeat(3, 1fr); }
  .b-card__body { padding: 14px 16px 18px; }
  .b-card__title { font-size: 1.1rem; }
}
@media (min-width: 1100px) {
  .b-grid { grid-template-columns: repeat(4, 1fr); }
}
.b-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .b-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ── Category list (home) ─────────────────────────────────────────── */
.b-cats {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
}
.b-cats a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
}
.b-cats a:first-child { border-top: 1px solid var(--line); }
.b-cats a span { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.b-cats a:hover { color: var(--olive-deep); }
@media (min-width: 720px) {
  .b-cats { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .b-cats a:nth-child(2) { border-top: 1px solid var(--line); }
  .b-cats a { font-size: 1.9rem; padding: 20px 0; }
}

/* ── Showroom strip (home + showroom page) ────────────────────────── */
.b-strip {
  display: flex; gap: 2px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.b-strip::-webkit-scrollbar { display: none; }
.b-strip img { flex: 0 0 84%; scroll-snap-align: start; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 720px) {
  .b-strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .b-strip img { flex: none; }
}
.b-split {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.b-split h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 8px; }
.b-split p { color: var(--ink-2); max-width: 560px; }
.b-split .b-split__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) {
  .b-split { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 56px var(--gutter) 64px; }
}

/* ── Page header (collection, about, showroom, legal) ─────────────── */
.page-banner, .page-hero {
  max-width: var(--max); margin: 0 auto;
  padding: 26px var(--gutter) 10px;
  text-align: left;
  background: none; border: 0; min-height: 0;
}
.page-banner h1, .page-hero__title, .page-banner__title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.page-banner .banner-line { display: none; }
.page-banner .banner-sub, .page-hero__lead { font-family: var(--font-body); font-style: normal; font-size: 0.95rem; color: var(--ink-2); max-width: 640px; margin: 0; }
.page-hero::before, .page-hero::after { display: none; }
.page-hero__inner { max-width: none; }
.page-hero__eyebrow { margin-bottom: 8px; }
@media (min-width: 720px) { .page-banner, .page-hero { padding-top: 44px; } }

.breadcrumb {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter) 0;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.container > .breadcrumb { padding-left: 0; padding-right: 0; }

/* ── Prose blocks (about, legal) ──────────────────────────────────── */
.section-block { padding: 28px var(--gutter); background: var(--paper); }
.section-block.parme, .section-block.parme-light { background: var(--olive-soft); }
.section-block.cream { background: var(--paper-2); }
.section-block .container { max-width: 1100px; margin: 0 auto; padding: 0; }
.section-heading { font-size: clamp(1.5rem, 4vw, 2.2rem); text-align: left; margin-bottom: 16px; }
.prose { max-width: 680px; font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { font-size: 1.35rem; margin: 1.6rem 0 0.5rem; color: var(--ink); }
.prose-lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--ink); max-width: 720px; margin-bottom: 1.4rem; }
.pullquote { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.4; max-width: 760px; padding: 6px 0 6px 18px; border-left: 2px solid var(--brass); margin: 20px 0; }
.pullquote::before, .pullquote::after { display: none; }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1000px; }
.story-grid h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.story-grid p { font-size: 0.98rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 0.8rem; }
@media (min-width: 760px) { .section-block { padding: 48px var(--gutter); } .story-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); max-width: 680px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts dt { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { color: var(--ink); }

.cta-band { background: var(--olive-deep); color: var(--paper); padding: 36px var(--gutter); }
.cta-band::before { display: none; }
.cta-band__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-band h2 { color: var(--paper); font-size: clamp(1.4rem, 4vw, 2rem); margin: 0; }

/* ── Forms ────────────────────────────────────────────────────────── */
.b-form { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 640px; }
.b-form label { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.b-form input, .b-form textarea, .b-form select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; /* prevents iOS zoom */
}
.b-form textarea { min-height: 120px; resize: vertical; }
.b-form input:focus, .b-form textarea:focus, .b-form select:focus { outline: none; border-color: var(--ink); }
.b-form .b-form__row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .b-form .b-form__row { grid-template-columns: 1fr 1fr; } }
.b-form__note { font-size: 0.8rem; color: var(--muted); }
.b-form__ok { padding: 14px 16px; background: var(--olive-soft); color: var(--olive-deep); border-left: 2px solid var(--olive); font-size: 0.95rem; }
.b-form__err { padding: 14px 16px; background: #F3E3DF; color: #7A2E22; border-left: 2px solid #B8503F; font-size: 0.95rem; }

/* ── Collection page ──────────────────────────────────────────────── */
.coll-toolbar {
  position: sticky; top: var(--nav-h); z-index: 20;
  background: rgba(244,241,234,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.coll-toolbar__inner {
  max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.coll-toolbar .product-count { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.coll-toolbar__right { display: flex; align-items: center; gap: 8px; }
.filter-toggle, .sort-select {
  min-height: 38px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.sort-select { appearance: none; -webkit-appearance: none; padding-right: 26px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%231E1D1A' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center; }
.active-filters { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--paper-2); padding: 6px 10px; font-size: 0.74rem; color: var(--ink-2); }
.filter-badge .remove-filter { opacity: 0.6; }
.filter-badge .remove-filter:hover { opacity: 1; }

.collection-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.filter-sidebar {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
  background: var(--paper); overflow-y: auto;
  padding: 18px var(--gutter) 90px;
}
.filter-sidebar.open { display: block; }
.filter-sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filter-sidebar__head h3 { font-size: 1.5rem; }
.filter-sidebar__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-right: -12px; }
.filter-sidebar__apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter); background: var(--paper); border-top: 1px solid var(--line); }
.filter-section { padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-section h4 { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.filter-section select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: 16px; }
.filter-radio-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-radio-group label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.82rem; color: var(--ink-2); cursor: pointer;
}
.filter-radio-group label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-radio-group input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-clear { display: inline-block; margin-top: 14px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.empty-collection { padding: 60px var(--gutter); text-align: center; color: var(--muted); grid-column: 1 / -1; }

@media (min-width: 960px) {
  .collection-layout { max-width: var(--max); margin: 0 auto; grid-template-columns: 240px 1fr; gap: 32px; padding: 0 var(--gutter); }
  .filter-sidebar { display: block; position: sticky; top: calc(var(--nav-h) + 56px); align-self: start; inset: auto; padding: 8px 0 40px; max-height: calc(100vh - var(--nav-h) - 70px); }
  .filter-sidebar__head, .filter-sidebar__apply, .filter-toggle { display: none; }
  .collection-layout .b-grid { border-left: 1px solid var(--paper-2); border-right: 1px solid var(--paper-2); grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) { .collection-layout .b-grid { grid-template-columns: repeat(3, 1fr); } }

/* Legacy names still used by a few pages */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--paper-2); }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: var(--paper); }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.cat-card { display: flex; align-items: center; justify-content: center; padding: 28px 14px; background: var(--paper-2); font-family: var(--font-display); font-size: 1.15rem; }
.section-title { padding: 32px 0 16px; }
.section-title h2 { font-size: 1.8rem; }
.section-title .s-line { display: none; }
.hero { padding: 40px var(--gutter); background: var(--paper-2); }
.hero::before { display: none; }
.hero h1 { font-size: 2.4rem; }

/* ── Product page ─────────────────────────────────────────────────── */
.product-page { padding-bottom: 96px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.product-layout > * { min-width: 0; }
.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gallery-main { position: relative; background: var(--paper-2); cursor: zoom-in; }
.gallery-main img { width: 100%; height: auto; display: block; }
.gallery-thumbs { display: flex; gap: 2px; padding: 2px 0 0; overflow-x: auto; scrollbar-width: none; background: var(--paper-2); min-width: 0; max-width: 100%; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; flex-shrink: 0; opacity: 0.55; cursor: pointer; transition: opacity var(--transition); }
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; }
.gallery-zoom-hint { position: absolute; bottom: 12px; right: 12px; background: rgba(30,29,26,0.6); color: var(--paper); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; }
.gallery-count { position: absolute; top: 12px; right: 12px; background: rgba(244,241,234,0.9); color: var(--ink); font-size: 0.66rem; letter-spacing: 0.1em; padding: 5px 9px; }

.product-info { padding: 18px 0 0; }
.product-badge { display: inline-block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive-deep); margin-bottom: 10px; }
.product-title { font-size: clamp(1.7rem, 5.5vw, 2.4rem); font-weight: 500; line-height: 1.15; margin-bottom: 8px; }
.product-era-line { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.product-price { font-family: var(--font-body); font-size: 1.35rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.product-price small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 400; margin-top: 4px; letter-spacing: 0.02em; }
.product-actions { display: grid; gap: 8px; margin: 18px 0 8px; }
.btn-inquiry { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.btn-inquiry:hover { background: var(--ink); color: var(--paper); }
.product-divider { display: none; }
.product-desc { font-size: 0.98rem; line-height: 1.75; color: var(--ink-2); margin: 18px 0 20px; }
.product-desc p { margin-bottom: 0.9rem; }
.piece-notice { margin: 0 0 20px; }
.detail-heading { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.detail-heading::before { content: none; }
.detail-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.detail-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.detail-table td:first-child { width: 34%; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 13px; }
.sold-banner { display: inline-block; background: var(--ink); color: var(--paper); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 14px; margin: 14px 0 4px; }
.btn-sold { background: var(--paper-3) !important; border-color: var(--paper-3) !important; color: var(--muted) !important; cursor: not-allowed; }
.guarantee { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; }
.guarantee-item { display: flex; align-items: center; gap: 10px; }
.guarantee-item .icon { width: 22px; height: 22px; flex-shrink: 0; }
.guarantee-item .icon svg { width: 22px; height: 22px; }
.guarantee-item .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.inquiry-box { border: 1px solid var(--line); padding: 16px; margin: 4px 0 18px; background: var(--white); }
.inquiry-box[hidden] { display: none; }
.inquiry-box h3 { font-size: 1.25rem; margin-bottom: 10px; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: rgba(244,241,234,0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sticky-buy .price { font-weight: 500; font-size: 1.05rem; }
.sticky-buy .price small { display: block; font-size: 0.66rem; color: var(--muted); font-weight: 400; }
.sticky-buy .btn { min-height: 44px; padding: 0 20px; }

.similar-section { padding: 36px 0 0; }
.similar-title { font-size: 1.6rem; margin: 0 var(--gutter) 14px; }
.similar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--paper-2); }
.similar-card { display: block; background: var(--paper); }
.similar-card .s-img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.similar-card img { width: 100%; height: 100%; object-fit: cover; }
.similar-card .s-body { padding: 10px 12px 14px; }
.similar-card .s-body h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.similar-card .s-price { font-size: 0.85rem; font-weight: 500; }

@media (min-width: 900px) {
  .product-page { padding-bottom: 40px; }
  .product-layout { grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: 48px; align-items: start; padding-top: 12px; }
  .gallery { margin: 0; }
  .gallery-thumbs img { width: 84px; height: 84px; }
  .product-info { position: sticky; top: calc(var(--nav-h) + 20px); padding-top: 0; }
  .product-actions { grid-template-columns: 1fr; }
  .sticky-buy { display: none; }
  .similar-grid { grid-template-columns: repeat(4, 1fr); }
  .similar-title { margin-left: 0; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(20,20,18,0.94); z-index: 9999; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; color: #fff; font-size: 2rem; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.2rem; width: 48px; height: 64px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 6px; } .lightbox-next { right: 6px; }

/* ── Showroom page ────────────────────────────────────────────────── */
.showroom-scene { position: relative; background: var(--olive-deep); overflow: hidden; }
.showroom-scene img { width: 100%; height: auto; display: block; }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 10; display: none; }
.hotspot__dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(244,241,234,0.95); box-shadow: 0 0 0 4px rgba(244,241,234,0.3), 0 2px 8px rgba(0,0,0,0.35); position: relative; }
.hotspot__dot::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); }
.hotspot__label { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: var(--paper); color: var(--ink); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; opacity: 0; transition: opacity var(--transition); pointer-events: none; }
.hotspot:hover .hotspot__label, .hotspot:focus .hotspot__label { opacity: 1; }
.hotspot:focus { outline: none; }
@media (min-width: 720px) { .hotspot { display: block; } }
.showroom-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.showroom-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.4rem; }
.showroom-list a span { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 720px) { .showroom-list { display: none; } }

/* ── Footer ───────────────────────────────────────────────────────── */
.tfooter { background: var(--ink); color: rgba(244,241,234,0.72); margin-top: 56px; }
.tfooter__grid { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 24px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.tfooter__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 10px; }
.tfooter__brand svg { width: 24px; height: 24px; }
.tfooter__tagline { font-size: 0.9rem; line-height: 1.6; color: rgba(244,241,234,0.6); max-width: 340px; }
.tfooter__heading { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,241,234,0.5); margin-bottom: 12px; font-weight: 500; }
.tfooter__links a { display: block; font-size: 0.92rem; color: rgba(244,241,234,0.78); padding: 5px 0; }
.tfooter__links a:hover { color: var(--paper); }
.tfooter__newsletter p { font-size: 0.88rem; color: rgba(244,241,234,0.6); margin-bottom: 12px; }
.tfooter__newsletter form { display: flex; flex-direction: column; gap: 8px; }
.tfooter__newsletter input { min-height: 46px; padding: 10px 14px; border: 1px solid rgba(244,241,234,0.25); background: rgba(244,241,234,0.06); color: var(--paper); font-size: 16px; border-radius: var(--radius); }
.tfooter__newsletter input::placeholder { color: rgba(244,241,234,0.35); }
.tfooter__newsletter button { min-height: 46px; background: var(--paper); color: var(--ink); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; border-radius: var(--radius); font-weight: 500; }
.tfooter__bottom { border-top: 1px solid rgba(244,241,234,0.1); padding: 16px var(--gutter) 22px; font-size: 0.74rem; color: rgba(244,241,234,0.45); }
.tfooter__bottom-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.tfooter__legal { display: flex; gap: 14px; flex-wrap: wrap; }
.tfooter__legal a:hover { color: var(--paper); }
@media (min-width: 720px) {
  .tfooter__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px var(--gutter) 32px; }
  .tfooter__newsletter form { flex-direction: row; }
  .tfooter__newsletter input { flex: 1; }
  .tfooter__newsletter button { padding: 0 18px; }
}

/* ── Cart / checkout / orders (legacy pages): mobile safety net ───── */
@media (max-width: 640px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr !important; gap: 22px; }
  .cart-summary, .order-summary { position: static !important; padding: 18px !important; }
  .cart-item { grid-template-columns: 64px 1fr !important; gap: 12px !important; }
  .cart-item-img, .cart-item-placeholder { width: 64px !important; height: 64px !important; }
  .cart-item-actions { flex-direction: row !important; align-items: center !important; grid-column: 1 / -1 !important; justify-content: space-between !important; }
  .checkout-section { padding: 18px !important; }
  .form-grid { grid-template-columns: 1fr !important; }
  .checkout-steps { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .checkout-steps .step { font-size: 0.7rem; }
}

/* ── Wordmark: the framed B is the first letter of BAUMUR ─────────────── */
.wordmark {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.28em; line-height: 1; color: inherit; white-space: nowrap;
}
.wordmark__b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.32em; height: 1.32em; box-sizing: border-box;
  border: max(1px, 0.045em) solid currentColor;
  letter-spacing: 0; margin-right: 0.22em; padding-left: 0.02em;
}
.wordmark__rest { padding-right: 0; }
.tnav__logo .wordmark { font-size: 1.3rem; }
.tfooter__brand { letter-spacing: 0; }
.tfooter__brand .wordmark { font-size: 1.25rem; }
.b-hero h1 { padding-left: 0; letter-spacing: 0; }
.b-hero h1 .wordmark { font-size: clamp(2.4rem, 8.5vw, 5rem); font-weight: 500; }
@media (min-width: 960px) { .tnav__logo .wordmark { font-size: 1.45rem; } }

/* ── Wordmark without frame; ex-libris on the About page ─────────────── */
.wordmark__b { border: 0; width: auto; height: auto; margin: 0; padding: 0; letter-spacing: inherit; }
.about-hero { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.about-exlibris { margin: 0 auto; max-width: 320px; width: 100%; text-align: center; }
.about-exlibris img { width: 100%; height: auto; }
.about-exlibris figcaption { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (min-width: 800px) {
  .about-hero { grid-template-columns: 1.35fr 1fr; gap: 48px; }
  .about-exlibris { max-width: 380px; margin: 0 0 0 auto; }
}

/* ── Hero: slow zoom on the banner picture ─────────────────────────────── */
@keyframes hero-zoom { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.07) translate3d(0,-1.5%,0); } }
.b-hero__img { transform-origin: 50% 60%; animation: hero-zoom 32s ease-out forwards; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .b-hero__img { animation: none; } }

/* ── Wordmark: mixed case (capital B, lowercase rest), tighter tracking ── */
.wordmark { text-transform: none; letter-spacing: 0.06em; font-weight: 500; }
.tnav__logo .wordmark { font-size: 1.55rem; }
@media (min-width: 960px) { .tnav__logo .wordmark { font-size: 1.7rem; } }
.tfooter__brand .wordmark { font-size: 1.45rem; }
.b-hero h1 .wordmark { font-size: clamp(3rem, 10vw, 6rem); letter-spacing: 0.03em; }

/* ── Editorial blocks ─────────────────────────────────────────────────── */
.b-section__sub { font-size: 0.92rem; color: var(--ink-2); max-width: 560px; margin-top: 6px; }
.b-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.tfooter__address { font-size: 0.86rem; line-height: 1.6; color: rgba(244,241,234,0.72); margin-top: 14px; }
.tfooter__address-label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,241,234,0.5); }
.b-split--creations { background: var(--paper-2); padding-top: 40px; padding-bottom: 40px; max-width: none; }
.b-split--creations > div { max-width: var(--max); }

@media (min-width: 760px) { .story-grid--single { grid-template-columns: 1fr; max-width: 720px; } }
