/* ============================================================
   Durgam — Storefront Theme
   Warm-paper / brass design system for the public site.
   (The admin panel keeps app.css + admin.css; nothing here
   is loaded there.)
   ============================================================ */

:root {
  /* Text on the warm-paper theme */
  --ink: #1c1c1c;
  --ink-soft: #3a3733;
  --ink-muted: #6b6560;

  /* Warm charcoal — image-backed hero scrims and dark tiles only */
  --charcoal: #1b1917;
  --charcoal-800: #221f1b;
  --charcoal-700: #2b2721;
  --charcoal-600: #3a352d;

  /* Warm-paper surfaces */
  --sand-50: #fafaf8;   /* card / input surface */
  --sand-100: #f2ede4;  /* page background */
  --sand-200: #eae3d6;  /* alternate band / raised card */
  --sand-300: #ded3c0;  /* subtle fill */

  /* Brand gold */
  --brass-light: #f2b84a;
  --brass: #e6a020;
  --brass-dark: #c8881a;

  /* Hairline dividers */
  --rule: #c4b99a;
  --rule-60: rgba(196, 185, 154, 0.6);
  --rule-50: rgba(196, 185, 154, 0.5);

  --success: #3f7a52;
  --danger: #b4412f;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  --shadow-lift: 0 18px 50px -20px rgba(27, 25, 23, 0.35);
  --shadow-brass: 0 10px 30px -12px rgba(230, 160, 32, 0.55);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 68px;

  /* Layout — one container and spacing scale for every storefront page.
     Content is at most --container-max wide; the gutter is the only
     horizontal padding (16px on phones, up to 48px on desktops). */
  --container-max: 1400px;
  --gutter: clamp(16px, 4vw, 48px);
  --space-section: clamp(56px, 6vw, 88px);   /* between page sections */
  --space-page-top: clamp(24px, 3vw, 40px);  /* above breadcrumbs */
  --grid-gap-x: clamp(16px, 1.8vw, 24px);
  --grid-gap-y: clamp(28px, 2.6vw, 36px);
  --rail-w: clamp(200px, 17vw, 260px);       /* catalogue filter column */
  --rail-gap: clamp(24px, 2.6vw, 40px);
  --card-min: 210px;                         /* narrowest catalogue card */
}
@media (min-width: 1200px) { :root { --card-min: 220px; } }

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brass-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(230, 160, 32, 0.3); color: var(--ink); }

.container-x {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main { min-height: 60vh; padding-bottom: 64px; }
@media (min-width: 768px) { .site-main { padding-bottom: 0; } }

/* ── Typography helpers ───────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h-page { font-size: 2.25rem; }
.h-section { font-size: 1.875rem; }
@media (min-width: 640px) { .h-section { font-size: 2.25rem; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brass-dark);
}
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brass-dark);
}
.eyebrow-line::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(230, 160, 32, 0.7);
}
.eyebrow-line--light { color: var(--brass-light); }
.eyebrow-line--light::before { background: rgba(242, 184, 74, 0.7); }

.gold-rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, rgba(230,160,32,.7), rgba(230,160,32,.3), transparent);
}

.link-underline { position: relative; }
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .25s var(--ease);
}
.link-underline:hover::after { width: 100%; }

.text-muted-ink { color: var(--ink-muted); }
.text-soft { color: var(--ink-soft); }
.text-brass { color: var(--brass-dark); }
.lead-copy { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

/* ── Buttons ──────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s var(--ease);
  background: none;
  text-decoration: none;
}
.button:disabled { opacity: .6; cursor: not-allowed; }
.button-sm { padding: 8px 16px; font-size: 12px; }
.button-block { width: 100%; }

/* Solid ink — primary action on the light theme */
.button-ink { background: var(--ink); color: var(--sand-50); }
.button-ink:hover { background: var(--charcoal); color: var(--sand-50); }

/* Solid gold — premium primary action */
.button-brass {
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-brass);
}
.button-brass:hover {
  background: var(--brass-dark);
  color: #fff;
  box-shadow: 0 14px 36px -12px rgba(230, 160, 32, 0.6);
}

.button-outline { border-color: rgba(28,28,28,.2); color: var(--ink); }
.button-outline:hover { border-color: var(--brass); background: var(--brass); color: var(--ink); }

/* Gold outline for dark hero backgrounds */
.button-outline-gold { border-color: rgba(230,160,32,.6); color: var(--brass-light); }
.button-outline-gold:hover { background: var(--brass); color: var(--ink); }

.button-whatsapp { border-color: rgba(37,145,84,.35); color: #1f7a46; }
.button-whatsapp:hover { background: #1f7a46; border-color: #1f7a46; color: #fff; }

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--rule-60);
  background: var(--sand-50);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.icon-button:hover { border-color: var(--brass); background: var(--brass); color: var(--ink); }

/* ── Forms ────────────────────────────────────────────────── */
.field,
.form-control,
.form-select {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(28,28,28,.15);
  background-color: var(--sand-50);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder,
.form-control::placeholder { color: rgba(28,28,28,.35); }
.field:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
  background-color: var(--sand-50);
  color: var(--ink);
}
select.field { appearance: auto; }
textarea.field { resize: vertical; }

.label,
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.label .req { color: var(--brass-dark); }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

.form-check-input { border-color: rgba(28,28,28,.3); background-color: var(--sand-50); }
.form-check-input:checked { background-color: var(--brass); border-color: var(--brass); }
.form-check-input:focus { border-color: var(--brass); box-shadow: 0 0 0 .2rem rgba(230,160,32,.25); }
.form-check-label { font-size: 14px; color: var(--ink-soft); }

.honeypot { position: absolute; left: -9999px; }

/* ── Notices ──────────────────────────────────────────────── */
.notice {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
}
.notice-success { border: 1px solid rgba(230,160,32,.4); background: rgba(230,160,32,.1); color: var(--ink); }
.notice-error { border: 1px solid rgba(180,65,47,.35); background: rgba(180,65,47,.07); color: var(--danger); }

/* ── Logo ─────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; color: var(--brass); flex-shrink: 0; }
.brand-mark--lg { width: 40px; height: 40px; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-logo--lg { height: 84px; }
@media (min-width: 768px) { .brand-logo { height: 48px; } .brand-logo--lg { height: 96px; } }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word__main {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--brass);
}
.brand-word__sub {
  margin-top: 3px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--ink);
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--rule-60);
  background: rgba(242, 237, 228, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.site-nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 992px) and (max-width: 1199px) { .site-nav { gap: 18px; } .site-nav__link { letter-spacing: 0.05em; } }
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: var(--header-h);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--brass-dark); }
.site-nav__link .chev { transition: transform .2s var(--ease); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { background: none; border: 0; padding: 4px; color: var(--ink); cursor: pointer; }
.header-cta { display: none; }

@media (min-width: 992px) {
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Products mega panel */
.nav-dropdown { position: relative; }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(880px, 92vw);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  border: 1px solid var(--rule-60);
  border-radius: 16px;
  background: var(--sand-50);
  box-shadow: var(--shadow-lift);
  padding: 28px;
}
.nav-dropdown:hover .mega,
.nav-dropdown:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown:hover .chev { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mega__head {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule-60);
}
.mega__link { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-muted); }
.mega__link:hover { color: var(--brass-dark); }
.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-60);
  font-size: 13px;
  color: var(--ink-muted);
}

/* Mobile menu */
.mobile-menu { display: none; border-top: 1px solid var(--rule-60); background: var(--sand-100); }
.mobile-menu.is-open { display: block; }
.mobile-menu__inner { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 20px; }
.mobile-menu__link { padding: 9px 0; font-size: 14px; color: var(--ink); }
.mobile-menu__link--sub { padding-left: 14px; font-size: 13px; color: var(--ink-muted); }
.mobile-menu__group { padding: 4px 0 8px; border-bottom: 1px solid var(--rule-50); }
@media (min-width: 992px) { .mobile-menu { display: none !important; } }

/* ── Hero rule (brand pages) ─────────────────────────────── */
.hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(230,160,32,.5), transparent); }

/* Page hero (collection / brand pages) */
.page-hero { position: relative; overflow: hidden; color: #fff; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15), transparent); }
.page-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 38vh;
  padding-top: 64px;
  padding-bottom: 64px;
}
.page-hero__title { margin-top: 16px; font-size: 3rem; color: #fff; }
.page-hero__copy { margin-top: 20px; max-width: 42rem; font-size: 1.0625rem; color: rgba(255,255,255,.85); }
@media (min-width: 640px) { .page-hero__title { font-size: 4rem; } }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-gap { margin-top: var(--space-section); }
.section--band { background: var(--sand-200); }
.section--ruled { border-top: 1px solid var(--rule-60); }
.section-head { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head h2 { margin-top: 12px; }
.section-head__link { display: none; font-size: 14px; color: var(--brass-dark); }
@media (min-width: 640px) { .section-head__link { display: inline-block; } }

.card-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* Branded placeholder art (no photo yet) */
.art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand-200), var(--sand-300));
  color: rgba(28,28,28,.25);
}
.art--dark { background: linear-gradient(135deg, var(--charcoal-700), var(--charcoal)); color: var(--brass-light); }
.art > .bi { font-size: 2.6rem; line-height: 1; }
.art__mark { position: absolute; right: -12px; bottom: -12px; width: 96px; height: 96px; color: var(--brass); opacity: .06; }
.art__label { margin-top: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--brass-dark); }
.art--dark .art__label { color: var(--brass-light); }

/* ── Chips / pills ────────────────────────────────────────── */
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row--wrap { flex-wrap: wrap; overflow: visible; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--rule);
  padding: 6px 16px;
  font-size: 12px;
  color: var(--ink-muted);
  background: transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: rgba(28,28,28,.5); color: var(--ink); }
.chip.is-active,
.chip.active { border-color: var(--ink); background: var(--ink); color: var(--sand-50); }
.chip--static { cursor: default; }
.chip--static:hover { border-color: var(--rule); color: var(--ink-muted); }

/* ── Product card ─────────────────────────────────────────── */
/* Catalogue grids fit as many columns as the space allows (never narrower
   than --card-min); --4 / --6 are fixed rails for exactly 4 / 6 / 8 items. */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap-y) var(--grid-gap-x); }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr)); } }
@media (min-width: 640px) and (max-width: 991px) { .product-grid--4, .product-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .product-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rule-50);
  background: var(--sand-200);
}
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img { transform: scale(1.05); }
.pcard__badge {
  position: absolute; top: 12px; left: 12px;
  border-radius: 999px; background: var(--brass); color: var(--ink);
  padding: 4px 10px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.pcard__badge--soft { background: rgba(250,250,248,.92); color: var(--ink-soft); }
.pcard__badge + .pcard__badge { top: 40px; }
.pcard__body { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__name { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.25; color: var(--ink); }
.pcard:hover .pcard__name { color: var(--brass-dark); }
.pcard__meta { font-size: 12px; color: var(--ink-muted); }
.pcard__price { font-size: 13px; color: var(--ink-soft); }
.pcard__price strong { font-weight: 600; color: var(--ink); }

/* ── Breadcrumbs ──────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs__current { color: var(--ink); }

.page { padding-top: var(--space-page-top); padding-bottom: var(--space-section); }
.page-head { margin-top: 24px; margin-bottom: 32px; }
.page-head p { margin-top: 8px; color: var(--ink-muted); }

/* ── Catalogue layout + filters ───────────────────────────── */
.catalogue { display: block; scroll-margin-top: 96px; }
@media (min-width: 992px) {
  .catalogue { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); gap: var(--rail-gap); align-items: start; }
}
.filter-rail { position: relative; }
@media (min-width: 992px) {
  .filter-rail { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: none; }
  .filter-rail::-webkit-scrollbar { display: none; }
}
.filter-toggle {
  margin-bottom: 16px;
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  border-radius: 8px; border: 1px solid var(--rule); background: var(--sand-200);
  padding: 12px 16px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); cursor: pointer;
}
.filter-toggle span:last-child { font-size: 18px; line-height: 1; color: var(--brass-dark); }
.filter-panel { display: none; }
.filter-panel.is-open { display: block; }
@media (min-width: 992px) {
  .filter-toggle { display: none; }
  .filter-panel { display: block; }
}
.filter-group { margin-bottom: 32px; }
.filter-group__title { margin-bottom: 12px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink); }
.filter-link {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 6px; padding: 4px 8px; font-size: 14px; color: var(--ink-muted);
  transition: all .2s var(--ease);
}
.filter-link:hover { background: var(--sand-200); color: var(--ink); }
.filter-link.is-active { background: var(--brass); color: var(--ink); font-weight: 500; }
.filter-link small { font-size: 12px; opacity: .7; }
.filter-clear { display: inline-block; margin-bottom: 24px; font-size: 12px; color: var(--brass-dark); }
.filter-check { margin-bottom: 6px; }
.price-pair { display: flex; gap: 8px; margin-bottom: 10px; }
.price-pair .field { padding: 8px 12px; }

.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-60);
  font-size: 13px; color: var(--ink-muted);
}
.toolbar .field { width: auto; min-width: 180px; padding: 8px 12px; font-size: 13px; }

/* ── Empty state ──────────────────────────────────────────── */
.empty {
  border-radius: 12px;
  border: 1px dashed var(--rule);
  padding: 80px 20px;
  text-align: center;
}
.empty__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
.empty p { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.empty .button { margin-top: 24px; }

/* ── Pagination ───────────────────────────────────────────── */
.pager { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pager__item {
  min-width: 36px; border-radius: 6px; border: 1px solid var(--rule);
  padding: 6px 12px; text-align: center; font-size: 14px; color: var(--ink-muted);
  transition: all .2s var(--ease);
}
.pager__item:hover { border-color: rgba(28,28,28,.5); color: var(--ink); }
.pager__item.is-current { border-color: var(--ink); background: var(--ink); color: var(--sand-50); font-weight: 500; }
.pager__item.is-disabled { border-color: var(--rule-50); color: rgba(107,101,96,.4); pointer-events: none; }
.pager__gap { padding: 0 6px; font-size: 14px; color: var(--ink-muted); }

/* ── Product detail ───────────────────────────────────────── */
.pdp { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 992px) { .pdp { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 4.5vw, 72px); } }
.gallery { position: relative; }
@media (min-width: 992px) { .gallery { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--rule-50);
  background: var(--sand-200);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.gallery__badges .pcard__badge { position: static; }
.gallery__thumbs { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-thumb {
  width: 80px; height: 80px; overflow: hidden; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer; background: var(--sand-200); padding: 0;
}
.gallery-thumb.active { border-color: var(--brass); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

.pdp__title { margin-top: 8px; font-size: 2.25rem; }
.pdp__sub { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-muted); }
.pdp__sub .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--rule); }
.stars { color: var(--brass); letter-spacing: 1px; font-size: 13px; }
.stock-ok { color: var(--success); }
.pdp__desc { margin-top: 24px; line-height: 1.75; color: var(--ink-soft); }

.price-block { margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--rule-60); border-bottom: 1px solid var(--rule-60); }
.price-block__main { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--ink); }
.price-block__main small { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--ink-muted); }
.price-block__note { margin-top: 4px; font-size: 13px; color: var(--ink-muted); }

.block-title { margin-bottom: 12px; font-family: var(--font-sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink); }
.pdp-block { margin-top: 28px; }

.table-card { overflow: hidden; border-radius: 12px; border: 1px solid var(--rule); background: var(--sand-50); }
.table-card table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-card thead { background: var(--sand-200); }
.table-card th { padding: 9px 16px; text-align: left; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); }
.table-card td { padding: 12px 16px; border-top: 1px solid var(--rule-60); color: var(--ink-soft); }
.table-card td strong { color: var(--ink); font-weight: 600; }
.tier-off { font-size: 11px; font-weight: 600; color: var(--success); }

.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.qty {
  display: inline-flex; align-items: center; overflow: hidden;
  border-radius: 999px; border: 1px solid rgba(28,28,28,.15); background: var(--sand-50);
}
.qty-btn { width: 38px; height: 38px; border: 0; background: none; font-size: 18px; color: var(--ink); cursor: pointer; }
.qty-btn:hover { background: var(--sand-200); }
.qty-input { width: 72px; height: 38px; border: 0; background: none; text-align: center; font-size: 14px; color: var(--ink); outline: none; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc { margin-top: 14px; border-radius: 12px; background: var(--sand-200); padding: 14px 16px; }
.calc__row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.calc__row strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.calc small { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-muted); }

.cta-stack { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .cta-stack { flex-direction: row; flex-wrap: wrap; } }
.cta-note { margin-top: 12px; font-size: 12px; color: var(--ink-muted); }

.dot-list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.dot-list li { display: flex; gap: 12px; }
.dot-list li::before { content: ''; margin-top: 8px; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--brass); }
.dot-list--light { color: rgba(250,250,248,.85); }

.trust-row { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust-row div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.trust-row .bi { color: var(--brass-dark); font-size: 16px; }

/* Tabs */
.tabs { margin-top: 80px; border-top: 1px solid var(--rule-60); padding-top: 8px; }
.tabs__nav { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--rule-60); scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.product-tab-item {
  position: relative; padding: 18px 0 14px; white-space: nowrap; cursor: pointer;
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted);
}
.product-tab-item:hover { color: var(--ink); }
.product-tab-item.active { color: var(--ink); }
.product-tab-item.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); }
.product-tab-pane { display: none; padding-top: 32px; }
.product-tab-pane.active { display: block; }
.prose { max-width: 48rem; line-height: 1.8; color: var(--ink-soft); }
.prose p { margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.2em 0 .5em; }
.spec-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
.spec-key { width: 42%; color: var(--ink-muted) !important; }

.option-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .option-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .option-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Cards ────────────────────────────────────────────────── */
.card-paper { border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-50); padding: 24px; }
.card-paper--lg { border-radius: 16px; padding: 24px; }
@media (min-width: 640px) { .card-paper--lg { padding: 32px; } }
.card-paper h3 { font-size: 1.25rem; }
.card-paper .icon-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(230,160,32,.1); color: var(--brass-dark); font-size: 18px; flex-shrink: 0;
}
.card-dark {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--charcoal-700), var(--charcoal));
  color: var(--sand-50);
  padding: 28px;
}
.card-dark h2, .card-dark h3, .card-dark h4 { color: var(--sand-50); }

.method-card {
  display: flex; align-items: center; gap: 16px;
  border-radius: 12px; border: 1px solid var(--rule); background: var(--sand-50);
  padding: 16px; color: var(--ink); transition: border-color .2s var(--ease);
}
.method-card:hover { border-color: var(--brass); color: var(--ink); }
.method-card .icon-dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(230,160,32,.1); color: var(--brass-dark); font-size: 18px; flex-shrink: 0; }
.method-card strong { display: block; font-size: 14px; font-weight: 500; }
.method-card span span { display: block; font-size: 12px; color: var(--ink-muted); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 992px) { .quote-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .quote-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-50); padding: clamp(16px, 3vw, 24px); text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: clamp(0.1em, 0.6vw, 0.2em); color: var(--ink-muted); overflow-wrap: anywhere; }

.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 14px; }
.step__num {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(242,184,74,.6); color: var(--brass-light);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.step strong { display: block; font-size: 14px; font-weight: 500; }
.step > div > span { display: block; margin-top: 2px; font-size: 12px; color: rgba(242,237,228,.6); }

/* ── Cart ─────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 992px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; } .cart-summary { position: sticky; top: calc(var(--header-h) + 24px); } }
.cart-list { border-radius: 16px; border: 1px solid var(--rule-60); background: var(--sand-50); }
.cart-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; transition: opacity .2s; }
.cart-row + .cart-row { border-top: 1px solid var(--rule-60); }
@media (min-width: 640px) { .cart-row { grid-template-columns: 88px minmax(0, 1fr) auto auto; } }
.cart-row__img { width: 80px; height: 80px; overflow: hidden; border-radius: 10px; background: var(--sand-200); }
@media (min-width: 640px) { .cart-row__img { width: 88px; height: 88px; } }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 479px) {
  .cart-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .cart-row__img { width: 64px; height: 64px; }
}
.cart-row__name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); }
.cart-row__meta { margin-top: 2px; font-size: 12px; color: var(--ink-muted); }
.cart-row__qty, .cart-row__remove { grid-column: 2; }
@media (min-width: 640px) { .cart-row__qty, .cart-row__remove { grid-column: auto; } }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--ink-soft); }
.summary-row + .summary-row { border-top: 1px solid var(--rule-50); }

/* ── Brand cards ──────────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 16px; border: 1px solid var(--rule-60); background: var(--sand-50);
  padding: 32px 20px 24px; color: var(--ink);
}
.brand-card:hover { color: var(--ink); border-color: var(--brass); }
.brand-card__logo { height: 56px; display: flex; align-items: center; justify-content: center; }
.brand-card__logo img { width: 48px; height: 48px; object-fit: contain; }
.monogram {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--brass-light);
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
}
.monogram--sm { width: 26px; height: 26px; font-size: 10px; }
.brand-card h3 { margin-top: 16px; font-size: 1.35rem; }
.brand-card p { margin-top: 4px; font-size: 12px; color: var(--ink-muted); }
.brand-card__count { margin-top: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--brass-dark); }

/* ── Compare ──────────────────────────────────────────────── */
.compare { overflow-x: auto; }
.compare table { min-width: 640px; }
.compare td { text-align: center; vertical-align: top; }
.compare td:first-child { text-align: left; }
.compare__img { width: 88px; height: 88px; margin: 0 auto 10px; border-radius: 10px; object-fit: cover; background: var(--sand-200); }

/* ── Location / trust band ────────────────────────────────── */
.location-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.location-card { border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-50); padding: 24px; }
.location-card h3 { font-size: 1.25rem; }
.location-card p { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.location-card a:not(.button) { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--brass-dark); }
.location-card small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-muted); }
.location-card small a { margin-top: 0; font-size: 12px; color: var(--ink-muted); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { margin-top: 96px; background: var(--sand-200); color: var(--ink); }
.site-footer__grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer__tag { margin-top: 20px; max-width: 18rem; font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; color: var(--ink-muted); }
.site-footer__copy { margin-top: 12px; max-width: 18rem; font-size: 14px; color: var(--ink-muted); }
.site-footer h4 { font-family: var(--font-sans); }
.site-footer ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.site-footer address { margin-top: 16px; font-style: normal; font-size: 14px; color: var(--ink-muted); display: flex; flex-direction: column; gap: 8px; }
.site-footer__social { margin-top: 20px; display: flex; gap: 8px; }
.site-footer__bottom { border-top: 1px solid var(--rule-60); }
.site-footer__bottom .container-x {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 24px; padding-bottom: 24px; font-size: 12px; color: var(--ink-muted);
}
@media (min-width: 640px) { .site-footer__bottom .container-x { flex-direction: row; } }

/* ── Mobile action bar + WhatsApp ─────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(196,185,154,.7);
  background: var(--sand-50);
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.mobile-bar a + a { border-left: 1px solid var(--rule-60); }
@media (min-width: 768px) { .mobile-bar { display: none; } }

.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 1040;
  display: none; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--brass-light); font-size: 22px;
  box-shadow: var(--shadow-lift);
  transition: all .2s var(--ease);
}
.whatsapp-float:hover { background: var(--brass); color: var(--ink); transform: translateY(-2px); }
@media (min-width: 768px) { .whatsapp-float { display: inline-flex; } }

/* ── Live search ──────────────────────────────────────────── */
.search-box { position: relative; display: flex; gap: 8px; }
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
  display: none; overflow: hidden; text-align: left;
  border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-50); box-shadow: var(--shadow-lift);
}
.search-dropdown.show { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); }
.search-result-item + .search-result-item { border-top: 1px solid var(--rule-50); }
.search-result-item:hover { background: var(--sand-200); color: var(--ink); }
.search-result-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--sand-200); }
.search-result-name { font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.2; }
.search-result-meta { font-size: 12px; color: var(--ink-muted); }
.search-empty { padding: 16px; text-align: center; font-size: 14px; color: var(--ink-muted); }
.search-all { display: block; padding: 12px; text-align: center; font-size: 13px; font-weight: 500; color: var(--brass-dark); border-top: 1px solid var(--rule-50); }

/* ── Modal (branding preview) ─────────────────────────────── */
.modal-content { border: 1px solid var(--rule-60); border-radius: 16px; background: var(--sand-50); color: var(--ink); }
.modal-header { border-bottom: 1px solid var(--rule-60); }
.modal-title { font-family: var(--font-serif); font-size: 1.5rem; }
.form-range::-webkit-slider-thumb { background: var(--brass); }
.form-range::-moz-range-thumb { background: var(--brass); }

/* ── 404 ──────────────────────────────────────────────────── */
.not-found {
  display: flex; min-height: 70vh; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 20px; text-align: center; background: var(--sand-50);
}
.not-found h1 { margin-top: 12px; font-size: 2.25rem; }
.not-found p { margin-top: 12px; max-width: 28rem; color: var(--ink-muted); }
.not-found__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ── Motion ───────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .card-lift:hover { transform: none; }
}

/* ── Spacing helpers ──────────────────────────────────────── */
.mt-1x { margin-top: 4px; } .mt-2x { margin-top: 8px; } .mt-3x { margin-top: 12px; }
.mt-4x { margin-top: 16px; } .mt-6x { margin-top: 24px; } .mt-8x { margin-top: 32px; }
.mt-10x { margin-top: 40px; } .mt-12x { margin-top: 48px; } .mt-16x { margin-top: 64px; } .mt-20x { margin-top: 80px; }
.mx-auto-x { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; } .max-w-xl { max-width: 36rem; }
.center { text-align: center; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ════════════════════════════════════════════════════════════
   Commerce: contact bar, cards, buy box, cart, checkout,
   confirmation, quote form, hero slider
   ════════════════════════════════════════════════════════════ */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Keyboard focus — visible on every interactive element */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brass-dark);
  outline-offset: 2px;
  border-radius: 4px;
}
.button:focus-visible, .chip:focus-visible, .icon-button:focus-visible { outline-offset: 3px; }

/* Contact bar above the header */
.contact-bar { background: var(--ink); color: rgba(250,250,248,.82); font-size: 12px; }
.contact-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.contact-bar__note { display: none; letter-spacing: .02em; }
.contact-bar__links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.contact-bar a { color: var(--sand-50); font-weight: 500; }
.contact-bar a:hover { color: var(--brass-light); }
.contact-bar .bi { color: var(--brass-light); margin-right: 4px; }
.contact-bar__email { display: none; }
@media (min-width: 640px) { .contact-bar__email { display: inline; } }
@media (min-width: 992px) { .contact-bar__note { display: inline; } }

.brand--light .brand-word__sub { color: var(--sand-50); }

/* Product card */
.pcard__kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 16px; }
.pcard__sku { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--ink-muted); }
.pcard__title { margin: 0; font-size: inherit; }
.pcard__desc {
  font-size: 13px; line-height: 1.5; color: var(--ink-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__pricing { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.pcard__price { font-size: 13px; color: var(--ink-muted); }
.pcard__price strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.pcard__price--muted { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.pcard__wholesale { font-size: 12px; color: var(--ink-soft); }
.pcard__wholesale strong { color: var(--ink); }
.pcard__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pcard__actions .button { flex: 1 1 auto; }
.pcard__details { margin-top: 8px; font-size: 12px; color: var(--brass-dark); align-self: flex-start; }
.stock { font-size: 11.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-muted); }
.stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--in_stock { color: var(--success); }
.stock--made_to_order { color: var(--brass-dark); }
.stock--out_of_stock { color: var(--danger); }

/* Product page buy box */
.buy-box { margin-top: 28px; border-radius: 16px; border: 1px solid var(--rule-60); background: var(--sand-50); padding: 24px; }
.buy-box__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.buy-box__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--ink-muted); }
.buy-box__price { margin-top: 4px; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.buy-box__price small { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--ink-muted); }
.buy-box__price--muted { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.buy-box__note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-muted); }
.bulk-tier.is-active td { background: rgba(230,160,32,.14); color: var(--ink); }
.bulk-tier.is-active td:first-child { box-shadow: inset 3px 0 0 var(--brass); }
.calc__warn { color: var(--danger) !important; font-weight: 500; }
.calc small { line-height: 1.5; }

/* Cart */
.cart-row--attention { background: rgba(180,65,47,.04); }
.cart-row__price { margin-top: 6px; font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { display: inline-block; border-radius: 999px; background: var(--sand-200); padding: 2px 8px; font-size: 11px; color: var(--ink-soft); }
.cart-row__warn { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--danger); }
.cart-row__warn a { color: var(--danger); text-decoration: underline; }
.cart-row__total { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-row__total strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.cart-row__remove-btn { background: none; border: 0; padding: 0; font-size: 12px; color: var(--ink-muted); text-decoration: underline; cursor: pointer; }
.cart-row__remove-btn:hover { color: var(--danger); }
@media (min-width: 640px) {
  .cart-row__total { grid-column: auto; flex-direction: column; align-items: flex-end; min-width: 110px; }
}
.summary-row--total { margin-top: 4px; padding-top: 12px !important; border-top: 1px solid var(--rule) !important; font-weight: 600; color: var(--ink); }
.summary-row--total span:last-child { font-family: var(--font-serif); font-size: 1.4rem; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 992px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .checkout-summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
fieldset.card-paper { margin: 0; min-width: 0; }
.fieldset-title { float: left; width: 100%; margin-bottom: 16px; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.fieldset-title + * { clear: both; }
.summary-items { margin: 16px 0 12px; display: flex; flex-direction: column; gap: 12px; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink); }
.summary-items small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-muted); }
.summary-items strong { white-space: nowrap; font-weight: 600; }

/* Confirmation pages */
.confirm-head__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--brass); color: var(--ink); font-size: 30px;
  box-shadow: var(--shadow-brass);
}
.order-ref { margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.confirm-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 992px) { .confirm-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.confirm-address p:last-child { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.next-steps { border-radius: 16px; background: var(--ink); color: var(--sand-50); padding: 28px; }
@media (min-width: 640px) { .next-steps { padding: 36px; } }
.next-steps__title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--sand-50); }
.next-steps__list { margin-top: 24px; display: flex; flex-direction: column; gap: 22px; }
.next-steps__item { display: flex; gap: 16px; }
.next-steps__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(242,184,74,.6); color: var(--brass-light); font-weight: 600; font-size: 14px;
}
.next-steps__step { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--brass-light); }
.next-steps__text { margin-top: 4px; font-size: 15px; line-height: 1.6; color: rgba(250,250,248,.88); }
.next-steps__contact { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(250,250,248,.15); font-size: 14px; color: rgba(250,250,248,.8); }
.next-steps__contact a { color: var(--brass-light); }
.next-steps__contact a:hover { color: #fff; }
.step > div > span { line-height: 1.5; }

/* Quote form line items */
.quote-item { position: relative; border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-100); padding: 16px; }
.quote-item__grid { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .quote-item__grid { grid-template-columns: 1fr 140px; }
  .quote-item__other, .quote-item__notes { grid-column: 1 / -1; }
}
.quote-item__remove { margin-top: 12px; }


.confirm-head__icon { display: flex; margin: 0 auto; }
.confirm-head .eyebrow { display: block; }
@media print {
  .contact-bar, .site-header, .mobile-bar, .whatsapp-float, .site-footer, .button { display: none !important; }
  body { background: #fff; }
}

/* ════════════════════════════════════════════════════════════
   Homepage refresh: header icons, hero, category cards,
   product discovery grid + compact cards
   ════════════════════════════════════════════════════════════ */

/* Header search + cart (Bootstrap Icons, same size/weight) */
.site-header__actions { gap: 4px; }
.header-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  color: var(--ink-soft); font-size: 19px; line-height: 1;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.header-icon:hover, .header-icon:focus-visible { background: var(--sand-200); color: var(--ink); }
.header-icon .bi { display: block; }
.header-icon--cart .bi { font-size: 20px; transform: translateX(-1px); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--brass); color: var(--ink);
  font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--sand-100);
  pointer-events: none;
}
.cart-count[hidden] { display: none; }
.header-cta { margin-left: 8px; }
@media (max-width: 380px) { .header-icon--search { display: none; } }

/* Hero — all slides share one grid cell, so the section is as tall as its
   tallest slide and never jumps between slides. No visible controls. */
.hero-slider { display: grid; overflow: hidden; background: var(--sand-100); }
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  min-height: clamp(480px, 66vh, 640px);
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide__media { position: absolute; inset: 0; display: block; background: var(--sand-200); }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 70% 50%); }
/* A light wash only behind the text column — the photo stays clear. */
.hero-slide__wash { position: absolute; inset: 0; pointer-events: none; }
.hero-slide--dark .hero-slide__wash { background: linear-gradient(90deg, rgba(250,248,242,.62) 0%, rgba(250,248,242,.34) 32%, rgba(250,248,242,0) 56%); }
.hero-slide--light .hero-slide__wash { background: linear-gradient(90deg, rgba(20,18,16,.66) 0%, rgba(20,18,16,.38) 36%, rgba(20,18,16,0) 62%); }
.hero-slide__content { position: relative; z-index: 1; display: flex; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-slide__text { max-width: 40rem; }
.hero-slide__title { margin-top: 18px; font-size: clamp(2.6rem, 4.4vw, 4.1rem); text-wrap: balance; }
.hero-slide__title span { display: block; font-style: italic; }
.hero-slide__copy { margin-top: 20px; max-width: 30rem; font-size: 1.0625rem; line-height: 1.7; }
.hero-slide__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide--dark { color: var(--ink); }
.hero-slide--dark .hero-slide__title { color: var(--ink); }
.hero-slide--dark .hero-slide__title span { color: #6b4410; }
.hero-slide--dark .hero-slide__copy { color: var(--ink-soft); }
.hero-slide--dark .eyebrow-line { color: var(--ink-soft); }
.hero-slide--dark .eyebrow-line::before { background: var(--ink-soft); }
.hero-slide--light { color: var(--sand-50); }
.hero-slide--light .hero-slide__title { color: var(--sand-50); }
.hero-slide--light .hero-slide__title span { color: var(--brass-light); }
.hero-slide--light .hero-slide__copy { color: rgba(250,248,242,.86); }
.hero-slide--light .eyebrow-line { color: var(--brass-light); }
.hero-slide--light .eyebrow-line::before { background: rgba(242,184,74,.7); }

/* Phones and tablets: image on top (its own crop), text below on a solid
   band — no overlay needed, nothing collides with the photo's subject. */
@media (max-width: 991px) {
  .hero-slide { min-height: 0; grid-template-rows: auto 1fr; }
  .hero-slide__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-slide__wash { display: none; }
  .hero-slide__content { align-items: flex-start; padding-top: 26px; padding-bottom: 34px; }
  .hero-slide--dark .hero-slide__content { background: var(--sand-100); }
  .hero-slide--light .hero-slide__content { background: var(--charcoal); }
  .hero-slide__title { margin-top: 12px; font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .hero-slide__copy { margin-top: 12px; font-size: 15px; }
  .hero-slide__ctas { margin-top: 20px; }
  .hero-slide__ctas .button { flex: 1 1 auto; }
}
@media (min-width: 600px) and (max-width: 991px) {
  .hero-slide__media { aspect-ratio: 16 / 9; }
  .hero-slide__content { padding-top: 32px; padding-bottom: 40px; }
  .hero-slide__title { font-size: clamp(2.4rem, 5.6vw, 3.2rem); }
  .hero-slide__ctas .button { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Section notes + flush footer (page ends on a band) */
.section-head__note { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.site-footer--flush { margin-top: 0; }

/* Shop by Category — one card per top-level category */
.cat-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--rule-60); background: var(--sand-50);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.cat-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cat-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 18px 20px 20px; }
.cat-card__title { font-size: 1.45rem; }
.cat-card__title a { color: var(--ink); }
.cat-card__title a:hover { color: var(--brass-dark); }
.cat-card__meta { font-size: 12px; color: var(--ink-muted); }
.cat-card__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-card__links a {
  display: inline-block; border-radius: 999px; border: 1px solid var(--rule-60);
  padding: 4px 10px; font-size: 12px; color: var(--ink-soft);
  transition: border-color .2s, color .2s;
}
.cat-card__links a:hover { border-color: var(--ink); color: var(--ink); }
.cat-card__links .cat-card__more { border-color: transparent; color: var(--brass-dark); padding-left: 4px; }
@media (max-width: 639px) {
  .cat-card { flex-direction: row; }
  .cat-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
  .cat-card__body { padding: 14px 16px; }
  .cat-card__title { font-size: 1.25rem; }
  .cat-card__links { margin-top: 8px; }
  .cat-card__links li:nth-child(n+3):not(:last-child) { display: none; }
}

/* Product discovery grid — aligned to the container, one consistent gap */
.product-grid.product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 992px) { .product-grid.product-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; } }

/* Compact card */
.pcard--compact { height: 100%; }
.pcard--compact .pcard__body { margin-top: 14px; gap: 6px; }
.pcard--compact .pcard__title { font-size: inherit; }
.pcard--compact .pcard__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em; font-size: 1.15rem; line-height: 1.3;
}
.pcard--compact .pcard__price { font-size: 13px; color: var(--ink-muted); }
.pcard--compact .pcard__price strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.pcard__price-quote { font-weight: 500; color: var(--ink-soft); }
.pcard--compact .pcard__actions { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pcard--compact .pcard__actions .button { flex: none; }
.pcard--compact .pcard__buy { grid-column: 1 / -1; }
.pcard__cart { gap: 6px; padding-left: 14px; padding-right: 14px; }
.pcard__cart .bi { font-size: 15px; line-height: 1; }
@media (max-width: 479px) {
  .pcard--compact .pcard__name { font-size: 1.05rem; -webkit-line-clamp: 3; }
  .pcard__cart-text { display: none; }
  .pcard__cart { padding-left: 12px; padding-right: 12px; }
}

/* ── Gift collections (/collections, collection pages, homepage) ──
   Every card: 3:2 cover, name, two-line description, count + action
   pinned to the bottom so cards in a row line up. */
.coll-grid { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .coll-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coll-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 16px; border: 1px solid var(--rule-50); background: var(--sand-50);
  overflow: hidden; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.coll-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--rule); }
.coll-card:focus-visible { outline: 2px solid var(--brass-dark); outline-offset: 3px; }
.coll-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.coll-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.coll-card:hover .coll-card__media img { transform: scale(1.04); }
.coll-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: clamp(18px, 2vw, 24px); }
.coll-card__name { font-family: var(--font-serif); font-size: clamp(1.4rem, 1.9vw, 1.65rem); font-weight: 500; line-height: 1.15; }
.coll-card__desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.coll-card__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule-50);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px;
}
.coll-card__count { color: var(--ink-muted); }
.coll-card__cta { font-weight: 600; color: var(--brass-dark); white-space: nowrap; }
.coll-card:hover .coll-card__cta { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .coll-card, .coll-card__media img { transition: none; }
  .coll-card:hover { transform: none; }
  .coll-card:hover .coll-card__media img { transform: none; }
}

/* Collection page header: cover beside the title on desktop, stacked on phones */
.coll-head { margin-top: 24px; display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
@media (min-width: 768px) { .coll-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.coll-head__media { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; border: 1px solid var(--rule-50); }
.coll-head__media img { width: 100%; height: 100%; object-fit: cover; }
.coll-head__desc { margin-top: 14px; max-width: 38rem; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); }
.coll-head__count { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--brass-dark); }

/* ── Checkout payment choice ────────────────────────────────── */
.paychoice { margin-left: 0; margin-right: 0; padding: 0; border: 0; min-width: 0; }
.paychoice__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--rule-60); background: var(--sand-50); cursor: pointer; }
.paychoice__opt:has(input:checked) { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
.paychoice__opt input { margin-top: 4px; accent-color: var(--brass-dark); }
.paychoice__opt strong { display: block; font-size: 14px; color: var(--ink); }
.paychoice__opt small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--ink-muted); }
