/* ------------------------------------------------------------------
   Brocantique Watches — design system
   Palette: ink (near-black brown), cream/paper, brass accent
------------------------------------------------------------------- */
:root {
  --ink: #1C1917;
  --ink-2: #2A2521;
  --ink-soft: #57514B;
  --muted: #8A8279;
  --line: #E6DFD3;
  --line-dark: #3A332D;
  --paper: #FBF8F2;
  --cream: #F3EDE2;
  --cream-2: #EAE1D1;
  --brass: #B08D57;
  --brass-light: #C9A96E;
  --brass-dark: #8E6F3E;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px -12px rgba(28, 25, 23, .25);
  --shadow-lg: 0 30px 60px -20px rgba(28, 25, 23, .35);
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.display { font-size: clamp(2.8rem, 6.4vw, 5.2rem); font-weight: 400; line-height: 1.02; }
.display em { font-style: italic; color: var(--brass); }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 58ch; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1rem;
}
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .eyebrow { color: var(--brass-light); }
.section-dark .section-intro { color: #C9C1B6; }
.section-cream { background: var(--cream); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head h2 { margin-bottom: 0; }
.section-intro { color: var(--ink-soft); max-width: 44ch; margin: 0; }
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.section-dark .btn-ghost { color: var(--cream); border-color: var(--cream); }
.section-dark .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.link-arrow { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-btn { background: none; border: 0; color: var(--brass-dark); font-weight: 600; font-size: .85rem; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 242, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled, .site-header-solid { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark { flex: none; color: var(--brass); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.brand-sub { font-size: .58rem; font-weight: 700; letter-spacing: .36em; text-transform: uppercase; color: var(--brass); margin-top: .3rem; }
.brand-light { color: var(--cream); }
.brand-light .brand-mark, .brand-light .brand-sub { color: var(--brass-light); }
@media (max-width: 400px) { .brand-name { font-size: 1.25rem; } .brand-sub { letter-spacing: .28em; } }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: .92rem; font-weight: 600; color: var(--ink-soft); position: relative; transition: color .2s; }
.site-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--ink); }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: .5rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.5rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 1.25rem 0 0; }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(176, 141, 87, .18), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(176, 141, 87, .10), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .display { margin-bottom: 1.25rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-stats dt { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.hero-stats dd { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; min-height: 520px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream);
  box-shadow: var(--shadow); display: block; isolation: isolate;
}
.hero-card:first-child { grid-row: 1 / 3; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-card:hover img { transform: scale(1.04); }
.hero-card-label {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .7rem .9rem; border-radius: var(--radius);
  background: rgba(28, 25, 23, .78); color: var(--cream); backdrop-filter: blur(8px);
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .82rem;
}
.hero-card-label strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.hero-card-label span { color: var(--brass-light); white-space: nowrap; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; grid-template-columns: 1.4fr 1fr; grid-template-rows: 220px 220px; }
}
@media (max-width: 560px) {
  .hero-visual { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px; }
  .hero-card:first-child { grid-row: 1; grid-column: 1 / 3; }
  .hero-card:not(:first-child) .hero-card-label { font-size: .72rem; padding: .5rem .6rem; }
  .hero-card:not(:first-child) .hero-card-label span { display: none; }
  .hero-card:not(:first-child) .hero-card-label strong { font-size: .9rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats dt { font-size: 1.8rem; }
}

/* ------------------------------------------------------------------ USPs */
.usps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.usps-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp { padding: 2rem 2rem 2rem 0; display: flex; gap: 1.1rem; align-items: flex-start; }
.usp + .usp { border-left: 1px solid var(--line); padding-left: 2rem; }
.usp-icon { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--brass-dark); }
.usp h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.usp p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .usps-grid { grid-template-columns: 1fr; }
  .usp { padding: 1.4rem 0; }
  .usp + .usp { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ------------------------------------------------------------------ Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product-grid-wide { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid, .product-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 340px) { .product-grid, .product-grid-wide { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .product-body { padding: .85rem .9rem 1rem; }
  .product-name { font-size: 1.1rem; }
  .product-meta { font-size: .75rem; }
  .product-card-price { font-size: .95rem; }
}

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 1 / 1; background: var(--cream); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge { position: absolute; top: .85rem; left: .85rem; padding: .3rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--cream); }
.product-badge.sold { background: #9B2C2C; }
.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.product-brand { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.product-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; margin: 0; color: var(--ink); }
.product-meta { font-size: .82rem; color: var(--muted); margin: .1rem 0 .6rem; }
.product-card-price { margin-top: auto; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; }
.product-card-price .arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .3s var(--ease); }
.product-card:hover .product-card-price .arrow { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ------------------------------------------------------------------ Brands */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.brand-tile { background: var(--ink); padding: 1.6rem 1.25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 130px; transition: background .3s; }
.brand-tile:hover { background: var(--ink-2); }
.brand-tile-name { font-family: var(--font-display); font-size: 1.35rem; color: var(--cream); line-height: 1.15; }
.brand-tile-count { font-size: .75rem; color: var(--brass-light); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } .brand-tile { padding: 1.2rem 1rem; min-height: 110px; } .brand-tile-name { font-size: 1.15rem; } }
@media (max-width: 460px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: -1.25rem; bottom: 2rem; background: var(--brass); color: var(--ink); padding: 1.1rem 1.4rem;
  border-radius: var(--radius-lg); display: flex; flex-direction: column; line-height: 1.1; box-shadow: var(--shadow);
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.about-badge-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.about-badge-num sup { font-size: 1.2rem; color: var(--ink); }
.about-copy p { color: var(--ink-soft); }
.about-copy p:first-of-type { font-size: 1.1rem; color: var(--ink); }
.about-signature { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.sig-name { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; }
.sig-role { font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .about-badge { right: 1rem; }
}

/* ------------------------------------------------------------------ Fairs */
.fair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fair-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.fair-card h3 { margin: 0; font-size: 1.45rem; }
.fair-location { font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--brass-dark); }
.fair-dates { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.fair-dates li { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; background: var(--white); border-radius: var(--radius); font-size: .92rem; font-weight: 600; }
.fair-dates li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex: none; }
.fair-dates li.tbd { color: var(--muted); font-weight: 500; }
.fair-dates li.tbd::before { background: var(--line); }
@media (max-width: 860px) { .fair-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.contact-card { padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); display: flex; flex-direction: column; gap: .3rem; transition: border-color .3s, box-shadow .3s; }
a.contact-card:hover { border-color: var(--brass); box-shadow: var(--shadow); }
.contact-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.contact-card-value { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.contact-card-sub { font-size: .82rem; color: var(--muted); }
.contact-hours { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: 2rem; }
.contact-hours h3 { color: var(--cream); }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hours-table td { padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.closed td { color: #8E867C; }
.hours-table tr.today td { color: var(--brass-light); }
.contact-hours .btn-ghost { color: var(--cream); border-color: var(--brass); }
.contact-hours .btn-ghost:hover { background: var(--brass); color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Footer */
.site-footer { background: var(--ink); color: #BDB4A8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin: 1.25rem 0; max-width: 34ch; font-size: .92rem; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: .5rem; }
.footer-col a:hover { color: var(--cream); }
.footer-col span small { display: block; color: #8E867C; font-size: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .8rem; color: #8E867C; }
.trusted-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border: 1px solid var(--brass-dark); border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--brass-light); }
.trusted-badge:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Page head / breadcrumb */
.page-head { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.page-head .display { margin-bottom: .75rem; }
.breadcrumb { display: flex; gap: .6rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ Collection */
.collection-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.75rem; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; }
.filters-head h2 { font-size: 1.6rem; margin: 0; }
.filter-group h3 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.filter-list { display: flex; flex-direction: column; gap: .3rem; max-height: 440px; overflow: auto; padding-right: .25rem; }
.filter-list label { display: flex; align-items: center; gap: .65rem; font-size: .93rem; padding: .35rem 0; cursor: pointer; color: var(--ink-soft); }
.filter-list label:hover { color: var(--ink); }
.filter-list input { accent-color: var(--brass-dark); width: 16px; height: 16px; margin: 0; }
.filter-list .count { margin-left: auto; font-size: .75rem; color: var(--muted); }
.search-field { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); }
.search-field:focus-within { border-color: var(--brass); }
.search-field input { border: 0; outline: 0; background: none; flex: 1; font: inherit; font-size: .93rem; color: var(--ink); min-width: 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; }
.result-count { margin: 0; font-size: .9rem; color: var(--muted); }
.sort-field { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.sort-field select { font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 2rem .5rem 1rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1917' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center; appearance: none; -webkit-appearance: none; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.active-filters:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .4rem .35rem .8rem; border-radius: 999px; background: var(--cream); font-size: .8rem; font-weight: 600; border: 0; color: var(--ink); }
.chip:hover { background: var(--cream-2); }
.chip svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--white); }
.empty-state { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty-state p { color: var(--muted); }
.filters-mobile-close { display: none; }
@media (max-width: 960px) {
  .collection-layout { grid-template-columns: 1fr; gap: 0; }
  .filters-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 1.5rem 1.25rem 2rem; overflow: auto;
    transform: translateX(-100%); transition: transform .35s var(--ease); top: 0;
  }
  .filters.open { transform: none; }
  .filters-mobile-close { display: inline-flex; margin-top: auto; }
  .filter-list { max-height: none; }
  .toolbar { flex-wrap: wrap; }
  .result-count { order: 3; width: 100%; }
}

/* ------------------------------------------------------------------ Product page */
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); aspect-ratio: 1 / 1; display: grid; place-items: center; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-main img.fade { opacity: 0; }
.gallery-main { position: relative; }
.gallery-zoom { position: absolute; right: 1rem; bottom: 1rem; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(28, 25, 23, .7); color: var(--cream); backdrop-filter: blur(6px); pointer-events: none; }
.gallery-thumbs { display: flex; gap: .75rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 84px; height: 84px; border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--cream); transition: border-color .2s; }
.gallery-thumbs button.active { border-color: var(--brass); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .5rem; }
.product-price { font-size: 1.8rem; font-weight: 700; margin-bottom: .25rem; }
.product-status { font-size: .85rem; color: var(--muted); margin-bottom: 2rem; display: flex; align-items: center; gap: .5rem; }
.product-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2F855A; }
.product-status.sold::before { background: #9B2C2C; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.spec-list > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.spec-list > div:nth-child(odd) { padding-right: 1rem; }
.spec-list dt { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.spec-list dd { margin: 0; font-weight: 600; }
.product-desc { color: var(--ink-soft); margin-bottom: 2rem; }
.product-desc:empty { display: none; }
.product-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.product-trust { list-style: none; margin: 0; padding: 1.25rem 1.5rem; background: var(--cream); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; color: var(--ink-soft); }
.product-trust li { display: flex; gap: .65rem; align-items: center; }
.product-trust li::before { content: '✓'; color: var(--brass-dark); font-weight: 700; }
.not-found { text-align: center; padding: 4rem 0; }
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
}
@media (max-width: 480px) { .spec-list { grid-template-columns: 1fr; } .spec-list > div:nth-child(odd) { padding-right: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 25, 23, .94); display: grid; place-items: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(28,25,23,.6); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.lightbox-nav.prev { left: 1rem; } .lightbox-nav.next { right: 1rem; }
.lightbox-nav:hover { background: var(--brass); color: var(--ink); }
.lightbox-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: var(--cream); font-size: .85rem; opacity: .8; }

/* Inquiry form */
.inquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.inquiry-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.inquiry-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.inquiry-form input, .inquiry-form textarea { font: inherit; font-size: .95rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); outline: 0; transition: border-color .2s; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--brass); }
.inquiry-form input.invalid, .inquiry-form textarea.invalid { border-color: #9B2C2C; }
.inquiry-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }
.form-success { padding: 1rem 1.25rem; background: #EAF4EC; color: #22543D; border-radius: var(--radius); font-size: .92rem; }
@media (max-width: 900px) { .inquiry-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .inquiry-form { padding: 1.4rem; } }

/* ------------------------------------------------------------------ Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--cream) 25%, var(--cream-2) 50%, var(--cream) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); aspect-ratio: 1 / 1.3; }
@keyframes shimmer { to { background-position: -200% 0; } }
