/* Ligia's Treasures — Cartier-inspired pure white theme */

:root {
  --bg: #fbf8f2;
  --white: #ffffff;
  --off: #f6f0e4;
  --light: #f0e8d8;
  --silver: #e5dac4;
  --ink: #1a1512;
  --ink-soft: #33291f;
  --muted: #6b5e4e;
  --faint: #9c9080;
  --line: #e4dccb;
  --line-light: #efe9dc;
  --gold: #a8843f;
  --gold-dark: #806128;
  --gold-light: #c9a760;

  --serif: "Bodoni Moda", Didot, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: var(--serif);

  --shell: 1180px;
  /* Rounded-corner scale, Apple-style: large on cards and media,
     medium on inputs, small on chips, pill on buttons. */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 4px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16.5px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: .01em; line-height: 1.2; margin: 0;
}

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- typography */

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.display {
  font-family: var(--display); font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 400; letter-spacing: -.01em; line-height: 1.1;
}
.headline { font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; line-height: 1.15; color: var(--gold-dark); }
.band .headline { color: var(--gold-light); }
.lede { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 48ch; }

.rule { width: 36px; height: 1.5px; background: var(--gold); border: 0; margin: 0 0 20px; }
.rule-center { margin-inline: auto; }

.section { padding: clamp(96px, 10vw, 176px) 0; }
.section-head { max-width: 54ch; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ----------------------------------------------------------- top bar + header */

.ticker {
  background: var(--ink); color: var(--gold-light);
  font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
}
.ticker-inner {
  display: flex; justify-content: center; gap: 24px;
  align-items: center; min-height: 34px; text-align: center;
}
.ticker a { color: #fff; }
.ticker a:hover { color: var(--gold-light); }

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.masthead.is-stuck { box-shadow: var(--shadow-sm); }

.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}

/* Left tools: burger + search */
.masthead-left { display: flex; align-items: center; gap: 6px; flex: 1; }

/* Center: logo */
.masthead-center { flex: 0 0 auto; text-align: center; }

/* Right tools */
.masthead-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 1; }

.wordmark {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1; transition: transform .25s var(--ease);
}
.wordmark-name {
  position: relative; font-family: var(--display); font-weight: 500;
  font-size: 40px; letter-spacing: .01em;
  background: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold-light) 45%, var(--gold) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-dark);
  transition: font-size .25s var(--ease);
}
.wordmark-star {
  position: absolute; top: -.15em; right: -.62em;
  font-size: .42em; color: var(--gold-light);
  -webkit-text-fill-color: var(--gold); line-height: 1;
}
.wordmark-rule {
  position: relative; width: 100%; height: 1px; margin: 7px 0 6px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 20%, var(--gold-light) 80%, transparent);
}
.wordmark-heart {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--bg); padding: 0 8px; font-size: 11px; color: var(--gold);
  line-height: 1;
}
.wordmark-sub {
  font-family: var(--serif); font-weight: 500; font-size: 15px;
  letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: var(--gold-dark);
}
.masthead.is-stuck .wordmark-name { font-size: 30px; }
.masthead.is-stuck .wordmark-rule { margin: 5px 0 4px; }
.masthead.is-stuck .wordmark-sub { font-size: 13px; }

.tool-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--ink);
  transition: background .2s, color .2s;
  position: relative;
}
.tool-icon:hover { background: var(--light); }
.tool-icon svg { width: 20px; height: 20px; }
.tool-icon .pip {
  position: absolute; top: 2px; right: 0;
  min-width: 16px; height: 16px; line-height: 16px;
  padding: 0 4px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 9px;
  font-weight: 500; text-align: center;
}

.tool-text {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 8px 14px;
  transition: color .2s;
}
.tool-text:hover { color: var(--gold); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 1px; }

/* Category navigation bar (Warren James style) */
.catnav { border-bottom: 1px solid var(--gold-dark); background: var(--gold); }
/* Wraps rather than scrolls: a scrolling row clipped the first or last
   category mid-word depending on which end overflowed. Wrapping keeps every
   category readable at every width. */
.catnav-list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 0; list-style: none; margin: 0 auto; padding: 0 16px;
  max-width: 1400px; /* wider than --shell: the bar is full-bleed, and the
                        extra room keeps all ten categories on one row */
}
.masthead.is-stuck + .catnav { display: none; }
.catnav-list > li { position: relative; flex: 0 0 auto; }
.catnav-list > li > a {
  display: block; position: relative; padding: 12px 12px; white-space: nowrap;
  font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: #241a0e; transition: color .2s;
}
.catnav-list > li > a::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px;
  background: #fff; transform: scaleX(0); transform-origin: center;
  transition: transform .28s var(--ease-out);
}
.catnav-list > li > a:hover::before,
.catnav-list > li > a[aria-current]::before { transform: scaleX(1); }
.catnav-list > li > a:hover,
.catnav-list > li > a[aria-current] { color: #fff; }
.catnav-list > li.has-menu > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px;
  border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .5;
}

/* Dropdown */
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px);
  opacity: 0; visibility: hidden; padding-top: 2px; z-index: 95;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu-inner {
  min-width: 220px; background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--gold-dark); padding: 6px 0;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.submenu-inner a {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 8px 18px; font-size: 13px; color: var(--ink-soft); transition: all .15s;
}
.submenu-inner a:hover { background: var(--light); color: var(--gold-dark); }
.submenu-inner em { font-style: normal; color: var(--faint); font-size: 11px; }
.submenu-all {
  border-bottom: 1px solid var(--line); margin-bottom: 4px;
  padding-bottom: 10px !important; font-weight: 500;
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); animation: fade .3s var(--ease); }
.drawer-panel {
  position: relative; height: 100%; width: min(84vw, 360px);
  background: var(--bg); border-right: 2px solid var(--gold);
  padding: 32px 24px; overflow-y: auto; animation: slide .3s var(--ease-out);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 26px; color: var(--muted); cursor: pointer; }
.drawer-brand { display: block; font-family: var(--display); font-size: 22px; letter-spacing: .06em; margin-bottom: 24px; }
.drawer nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; transition: color .2s; }
.drawer nav a:hover { color: var(--gold); }
.drawer-sub { padding-left: 16px !important; color: var(--muted); font-size: 13px !important; }
.drawer-cta {
  margin-top: 20px; border: 1px solid var(--ink) !important; text-align: center;
  text-transform: uppercase; font-size: 11px !important; letter-spacing: .16em; padding: 13px 0 !important;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  cursor: pointer; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; transition: all .25s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-wide { width: 100%; }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--muted); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 10px; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.textlink {
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: all .25s;
}
.textlink:hover { color: var(--gold); border-color: var(--gold); }

/* -------------------------------------------------------------------- hero */

.hero { position: relative; background: var(--off); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(36px, 4vw, 70px);
  min-height: clamp(460px, 65vh, 660px); padding: clamp(36px, 4vw, 70px) 0;
}
.hero-copy { max-width: 28rem; }
.hero-copy .display { margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-empty {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: var(--light); color: var(--muted); font-family: var(--serif);
  font-size: 20px; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------------------------------------------------------- trust bar */

.trust-bar { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.trust-inner {
  display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { font-weight: 500; }

/* ---------------------------------------------------------- categories */

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--off); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-media { aspect-ratio: 1; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body {
  position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 55%, transparent 100%);
  color: #fff;
}
.cat-body h3 { font-size: 16px; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.cat-body span { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* -------------------------------------------------------- PRODUCT CARDS */

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px);
}

.piece { display: block; position: relative; background: transparent; }

/* Stays pure white: 85 of the 94 product photos are cut out on white,
   so any tint here would show them as white boxes. */
.piece-media { position: relative; aspect-ratio: 4 / 5; background: var(--white); overflow: hidden; border-radius: var(--radius); }
.piece-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 12%;
  transition: transform .9s var(--ease-out);
}
.piece:hover .piece-media img { transform: scale(1.035); }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--white); color: var(--ink); font-size: 9px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px;
  border-radius: var(--radius-xs);
}
.tag-sale { background: var(--gold); color: #fff; }
.tag-sold { background: var(--ink); color: #fff; }
.tag-reserved { background: var(--muted); color: #fff; }

.piece-info { padding: 22px 0 0; }
.piece-maker { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.piece-title { font-family: var(--serif); font-size: 21px; line-height: 1.25; letter-spacing: -.005em; margin: 0 0 12px; color: var(--ink); }
.piece-price { font-size: 15px; font-weight: 400; letter-spacing: .02em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.piece-price del { color: var(--faint); margin-right: 6px; font-weight: 400; }
.piece-price ins { text-decoration: none; color: var(--gold); font-weight: 500; }

/* --------------------------------------------------------- reviews */

.reviews { background: var(--off); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reviews-head { text-align: center; margin-bottom: 32px; }
.reviews-head h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.reviews-head p { color: var(--muted); font-size: 14px; margin: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: box-shadow .3s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 12px; font-style: italic; }
.review-author { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .06em; }
.review-verified { font-size: 10px; color: var(--gold); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* --------------------------------------------------------- shop page */

.shop-layout { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 2.5vw, 40px); }
.filters { position: sticky; top: 110px; align-self: start; }
.filter-block { border-bottom: 1px solid var(--line-light); padding: 14px 0; }
.filter-block:first-child { padding-top: 0; }
.filter-block h3 {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}

/* Each group is a <details> so it can collapse on a phone. On desktop the
   summary is just the heading and everything stays open. */
.filter-block > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.filter-block > summary::-webkit-details-marker { display: none; }
.filter-block > summary h3 { margin: 0 0 10px; }
.filter-block > summary::after {
  content: ""; width: 7px; height: 7px; margin-bottom: 10px;
  border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.filter-block[open] > summary::after { transform: rotate(-135deg); }
.filter-block > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Outer wrapper. On desktop it is inert — no summary, content always shown.
   On a phone it collapses the whole panel to a single row so the products,
   not the filters, are what she sees first. */
.filters-drop > summary { display: none; }

.drawer-label {
  margin: 18px 0 6px; font-size: 9.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--faint);
}
.filter-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.filter-list li { margin-bottom: 5px; }
.filter-list a {
  font-size: 13px; color: var(--ink-soft); display: flex; justify-content: space-between;
  gap: 8px; position: relative; padding-left: 12px; transition: color .15s;
}
.filter-list a:hover { color: var(--gold); }
.filter-list a.on { color: var(--gold); font-weight: 500; }
.filter-list a.on::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: currentColor; }
.filter-list em { font-style: normal; color: var(--faint); font-size: 10px; }

.shop-bar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  align-items: baseline; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.shop-count { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

select, input, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); padding: 10px 13px; border-radius: var(--radius-sm); width: 100%;
  transition: border-color .2s;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--ink); }
.shop-sort select { width: auto; padding: 7px 10px; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 10px;
  font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }

.pager { display: flex; justify-content: center; gap: 4px; margin-top: 40px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; transition: all .15s;
}
.pager a:hover { border-color: var(--ink); }
.pager .on { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed var(--line); }
.empty h3 { font-size: 22px; margin-bottom: 8px; color: var(--ink); }

/* ------------------------------------------------------- product detail */

.crumbs { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 20px 0; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 6px; }

.detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3.5vw, 56px); }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--off); overflow: hidden; border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 64px; aspect-ratio: 1; padding: 0; background: var(--off);
  border: 2px solid transparent; cursor: pointer; overflow: hidden; border-radius: var(--radius-sm); transition: border-color .15s;
}
.gallery-thumbs button.on { border-color: var(--ink); }
.gallery-thumbs button:hover { border-color: var(--faint); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.detail-maker { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.detail h1 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 300; margin-bottom: 12px; }
.detail-summary { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.detail-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 0; font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.detail-price del { font-size: 17px; color: var(--faint); font-weight: 400; }
.detail-price ins { text-decoration: none; color: var(--gold); }
.detail-poa { font-family: var(--serif); font-size: 20px; color: var(--gold); margin-top: 18px; }
.detail-actions { display: grid; gap: 8px; margin: 22px 0; }
.detail-note { font-size: 12px; color: var(--muted); text-align: center; }

.spec { width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line-light); font-size: 13px; }
.spec th { font-weight: 500; color: var(--muted); width: 38%; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.prose { color: var(--ink-soft); font-size: 14px; }
.prose p { margin: 0 0 .9em; }
.prose p:last-child { margin-bottom: 0; }

.detail-section { margin-top: 26px; }
.detail-section h2 { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* ------------------------------------------------------------ cart */

.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(20px, 3vw, 48px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-light); align-items: center; }
.cart-line img { width: 90px; aspect-ratio: 1; object-fit: cover; background: var(--off); border-radius: var(--radius-sm); }
.cart-line h3 { font-size: 16px; margin-bottom: 3px; }
.cart-meta { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-qty input { width: 56px; padding: 5px 6px; text-align: center; }
.cart-remove {
  -webkit-appearance: none; appearance: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); line-height: 1.6;
  transition: color .2s, border-color .2s;
}
.cart-remove:hover { color: #a4432f; border-color: #a4432f; }
.cart-actions {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
}
.cart-line-total { font-size: 17px; font-weight: 500; white-space: nowrap; }

.summary { background: var(--off); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 110px; }
.summary h2 { font-size: 18px; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 500; }

/* ----------------------------------------------------------------- forms */

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { font-size: 12px; color: var(--faint); margin-top: 4px; }
.required { color: var(--gold); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }

.flash { padding: 11px 14px; margin: 18px 0 0; font-size: 13px; border: 1px solid; }
.flash-ok { background: #f0f7ef; border-color: #c4d9bf; color: #2e5628; }
.flash-error { background: #fdf0ee; border-color: #e5c0b8; color: #7c3524; }

.errors { margin: 0 0 18px; padding: 11px 14px; background: #fdf0ee; border: 1px solid #e5c0b8; color: #7c3524; font-size: 13px; }
.errors ul { margin: 4px 0 0; padding-left: 16px; }

/* ------------------------------------------------------------ sections */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 68px); align-items: center; }
.split-media { position: relative; aspect-ratio: 1; background: var(--off); overflow: hidden; border-radius: var(--radius); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.band { background: var(--ink); color: rgba(255,255,255,.8); }
.band .eyebrow { color: var(--gold-light); }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.55); }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.promise-item { text-align: center; padding: 42px 28px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, transform .3s; }
.promise-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.promise-ico {
  color: var(--gold); width: 40px; height: 40px; margin: 0 auto 18px;
}
.promise-ico svg { width: 100%; height: 100%; }
.promise-item h3 { font-size: 23px; margin-bottom: 12px; letter-spacing: .005em; }
.promise-item p { color: var(--muted); font-size: 16px; margin: 0; line-height: 1.7; }

.page-hero { background: var(--off); padding: clamp(40px, 5vw, 72px) 0; text-align: center; }
.page-hero .lede { margin-inline: auto; }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--ink); color: rgba(255,255,255,.5); padding: clamp(44px, 5vw, 68px) 0 24px; margin-top: clamp(40px, 5vw, 72px); }
main:has(> :last-child.band) + .footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(20px, 2.5vw, 40px); }
.footer h2 { font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer a { font-size: 13px; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer p { font-size: 13px; margin: 0 0 8px; }
.footer-name { font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: #fff; margin-bottom: 4px !important; }
.footer-tag { font-size: 10px !important; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.footer-social { display: flex; gap: 14px; margin-top: 16px !important; }
.footer-social a { color: rgba(255,255,255,.5); font-size: 12px !important; font-weight: 500; }
.footer-social a:hover { color: var(--gold-light); }
.footer-hours { white-space: pre-line; color: rgba(255,255,255,.3); }
.footer-base { border-top: 1px solid rgba(255,255,255,.06); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-base p { font-size: 11px; color: rgba(255,255,255,.25); margin: 0; }
.footer-note { max-width: 52ch; }

/* ---------------------------------------------------------------- floats */

.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 100;
  display: inline-flex; align-items: center; gap: 0;
  height: 50px; padding: 0 13px; border-radius: 999px;
  background: #25d366; color: #fff; box-shadow: 0 6px 20px -6px rgba(37,211,102,.45);
  transition: all .3s var(--ease);
}
.float-wa:hover { gap: 8px; padding-right: 18px; transform: translateY(-2px); }
.float-wa span {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: max-width .3s var(--ease);
}
.float-wa:hover span { max-width: 100px; }

/* ---------------------------------------------------------------- reveal */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  /* One column, and each group collapses. The old two-column grid with a
     300px inner scrollbar pushed every product below the fold. */
  .filter-wrap { display: block; }
  .filters {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); padding: 4px 16px; margin-bottom: 28px;
  }
  .filter-block { padding: 0; border-bottom: 1px solid var(--line-light); }
  .filter-block:last-child { border-bottom: 0; }
  .filter-block > summary { padding: 16px 0; }
  .filter-block > summary h3 { margin: 0; font-size: 11px; color: var(--ink); }
  .filter-block > summary::after { margin-bottom: 0; }
  .filter-block-search { padding: 16px 0; }
  .filters-drop > summary {
    display: flex; align-items: center; justify-content: space-between;
    list-style: none; cursor: pointer; padding: 15px 0;
    font-size: 11px; font-weight: 500; letter-spacing: .18em;
    text-transform: uppercase; color: var(--ink);
  }
  .filters-drop > summary::-webkit-details-marker { display: none; }
  .filters-drop > summary::after {
    content: ""; width: 8px; height: 8px;
    border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .filters-drop[open] > summary::after { transform: rotate(-135deg); }
  .filters-drop[open] > summary { border-bottom: 1px solid var(--line-light); }
  .filters-drop > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
  /* No nested scroll on touch: the inner scrollbar was unusable. */
  .filter-list { max-height: none; overflow: visible; padding-bottom: 8px; }
  .filter-list li { margin-bottom: 0; }
  .filter-list a { padding-top: 10px; padding-bottom: 10px; }
  .filter-list a.on::before { top: 1.35em; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 28px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: clamp(72px, 8vw, 120px) 0; }
  .burger { display: flex; }
  .catnav { display: none; }
  .masthead-inner { padding: 10px 0; }
  .masthead-right .tool-text { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-frame { max-width: 380px; margin-inline: auto; order: -1; }
  .rule { margin-inline: auto; }
  .detail { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 400px; margin-inline: auto; }
  .promise { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .section { padding: 64px 0; }
  /* 247px of hero for two lines of text pushed the products off-screen. */
  .page-hero { padding: 26px 0 22px; }
  .page-hero .display { font-size: 30px; }
  .page-hero .lede { font-size: 14.5px; line-height: 1.6; }
  .page-hero .eyebrow { margin-bottom: 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .piece-info { padding: 14px 0 0; }
  .piece-title { font-size: 16px; margin-bottom: 8px; }
  .piece-price { font-size: 13px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-body h3 { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; }
  .cart-line-total { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .ticker-inner { flex-direction: column; gap: 2px; padding: 5px 0; }
  .float-wa { right: 12px; bottom: 12px; height: 46px; }
  /* was .wordmark-text, which matches nothing — the markup uses
     .wordmark-name / .wordmark-sub, so the 40px logo never shrank and
     overflowed the header on 360px phones. */
  .wordmark-name { font-size: 26px; }
  .wordmark-sub { font-size: 10px; letter-spacing: .3em; text-indent: .3em; }
  .wordmark-heart { font-size: 9px; padding: 0 5px; }
  .masthead-inner { gap: 8px; padding: 10px 0; }
  .tool-icon { width: 34px; height: 34px; }
  .tool-icon svg { width: 18px; height: 18px; }
}

/* Touch devices, at any width — an iPad is 768–1024px wide but still tapped,
   so these can't hang off a phone-sized breakpoint. */
@media (pointer: coarse) {
  .footer li { margin-bottom: 0; }
  .footer li a { display: inline-block; padding: 7px 0; }
  .footer-social { gap: 20px; }
  .footer-social a { display: inline-block; padding: 6px 0; }
  .crumbs a { display: inline-block; padding: 5px 0; }
  .post-meta a, .pager a, .textlink { display: inline-block; padding: 4px 0; }
  .post-card-more { display: inline-block; padding: 6px 0; }
}

/* ----------------------------------------------------------------- blog */

.shell-narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.section-tint { background: var(--off); padding: clamp(44px, 5vw, 80px) 0; }

.post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 34px);
}

.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card-media {
  display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--light); position: relative;
}
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-mono {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 30px; letter-spacing: .04em;
  color: var(--gold); background: linear-gradient(135deg, #fbf8f2, #f3ede2);
}
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  align-self: flex-start; font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 10px; margin-bottom: 14px;
}
.post-card-title { font-family: var(--display); font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.post-card-title a { transition: color .2s; }
.post-card-title a:hover { color: var(--gold-dark); }
.post-card-excerpt { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.post-card-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line-light);
}
.post-card-foot time { font-size: 12px; color: var(--faint); letter-spacing: .04em; }
.post-card-more { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.post-card-more:hover { color: var(--gold); }

.post-head { background: var(--off); padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.post-head .crumbs { padding: 0 0 18px; }
.post-head .eyebrow { text-align: center; }
.post-title { margin: 6px auto 14px; max-width: 20ch; }
.post-meta { color: var(--faint); font-size: 13px; letter-spacing: .05em; margin: 0; }
.post-hero-img { margin: clamp(24px, 3vw, 40px) 0 0; }
.post-hero-img img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); }

.post-body { font-size: 17.5px; line-height: 1.85; color: var(--ink-soft); margin-top: clamp(28px, 3.5vw, 48px); }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.25; color: var(--ink); margin: 1.6em 0 .5em;
}
.post-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.post-body li { margin-bottom: .5em; }
.post-body a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }

.post-cta {
  margin: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 40px);
  padding: clamp(28px, 3.5vw, 44px); text-align: center;
  background: var(--off); border: 1px solid var(--line); border-radius: var(--radius);
}
.post-cta p { font-family: var(--display); font-size: 22px; color: var(--ink); margin: 0 0 22px; }
.post-cta .btn { margin: 0 6px 8px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; }
}
