/* Soft Night — hand-tuned stylesheet. RTL-first. */
:root {
  --ink: #1b1f2a;
  --ink-2: #3a3f4d;
  --muted: #6e7280;
  --line: #e2dacc;
  --line-soft: #ede7dc;
  --linen: #f4efe7;
  --paper: #fbf8f3;
  --night: #1e2637;
  --night-2: #2a3449;
  --brass: #a98b5f;
  --brass-2: #8f7449;
  --success: #3f6b4f;
  --danger: #a3453c;
  --radius: 4px;
  --max: 1200px;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-brand: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container > *, .grid > *, .hero .container > *, .cart-layout > * { min-width: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

/* ---------- Header ---------- */
.topbar {
  background: var(--night);
  color: #d9d2c3;
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 1rem; }
@media (max-width: 640px) { .topbar .container > div:first-child span:first-child { display: none; } .topbar .container > div:first-child span + span::before { content: none; margin: 0; } }
.topbar a:hover { color: #fff; }
.topbar span + span::before { content: "·"; margin-inline: .6rem; opacity: .5; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; gap: 1rem; }
.brand { justify-self: start; display: flex; align-items: center; gap: .7rem; white-space: nowrap; }
.logo-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.wordmark { font-family: var(--font-brand); font-weight: 600; font-size: 1.55rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1; direction: ltr; color: var(--ink); }
.nav { display: flex; gap: 1.8rem; font-size: .95rem; white-space: nowrap; }
@media (min-width: 901px) { .nav .mobile-only { display: none; } }
.nav a { padding: .4rem 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a.is-active { border-color: var(--brass); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.2rem; font-size: .92rem; }
.cart-link { display: inline-flex; align-items: center; gap: .5rem; }
.cart-link .count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px;
  border-radius: 999px; background: var(--night); color: #fff; font-size: .72rem; font-variant-numeric: tabular-nums;
}
.menu-btn { display: none; width: 40px; height: 36px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn span:nth-child(1) { top: 11px; } .menu-btn span:nth-child(2) { top: 17px; } .menu-btn span:nth-child(3) { top: 23px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .header .container { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; gap: .2rem;
  }
  .menu-btn { display: inline-block; }
  .wordmark { font-size: 1rem; letter-spacing: .12em; }
  .logo-mark { width: 32px; height: 32px; }
  .brand { gap: .5rem; }
  .header-actions { gap: .7rem; }
  .cart-link { font-size: .85rem; }
}

/* ---------- Common blocks ---------- */
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); display: block; margin-bottom: .6rem; }
.eyebrow.ar { letter-spacing: .05em; text-transform: none; font-size: .82rem; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head .more { font-size: .9rem; border-bottom: 1px solid var(--brass); padding-bottom: .1rem; white-space: nowrap; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--night);
  background: var(--night); color: #fff; cursor: pointer; font-size: .95rem; line-height: 1;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--night-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.brass { background: var(--brass); border-color: var(--brass); }
.btn.brass:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn.wa { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.wa:hover { border-color: var(--ink); }
.btn.block { width: 100%; }
.btn.sm { padding: .55rem 1rem; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { border-bottom: 1px solid var(--brass); padding-bottom: 1px; }
.link.quiet { border-color: var(--line); color: var(--muted); }
.link.quiet:hover { border-color: var(--ink); color: var(--ink); }

.flash { background: var(--night); color: #fff; padding: .8rem 1.25rem; font-size: .92rem; text-align: center; }
.flash.error { background: var(--danger); }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 560px; }
.hero-copy { padding-block: clamp(3rem, 8vw, 6rem); padding-inline-end: clamp(1rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--brass-2); }
.hero .lead { font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.hero-facts { display: flex; gap: 2.4rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-weight: 400; }
.hero-facts span { font-size: .82rem; color: var(--muted); }
.hero-art { position: relative; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .tag {
  position: absolute; inset-inline-end: 1.5rem; bottom: 1.5rem;
  background: rgba(251,248,243,.94); padding: .9rem 1.1rem; max-width: 280px; border: 1px solid var(--line);
}
.hero-art .tag b { display: block; font-weight: 500; }
.hero-art .tag small { color: var(--muted); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-inline-end: 0; padding-block: 3rem 2rem; }
  .hero-art { aspect-ratio: 4/3; }
}

/* ---------- Category index (numbered list) ---------- */
.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line); transition: padding-inline .25s;
}
.cat-row:hover { padding-inline-start: .5rem; }
.cat-row .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--brass-2); }
.cat-row h3 { font-size: 1.55rem; }
.cat-row p { color: var(--muted); font-size: .92rem; margin-top: .15rem; }
.cat-row .swatch { width: 72px; height: 72px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); }
.cat-row .swatch img { width: 100%; height: 100%; object-fit: cover; }
.cat-row .go { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 1rem; }
@media (max-width: 640px) {
  .cat-row { grid-template-columns: 1fr auto; }
  .cat-row .num { display: none; }
  .cat-row .go span { display: none; }
}

/* ---------- Product grid & cards ---------- */
.grid { display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .75rem; }
  .card h3 { font-size: .95rem; line-height: 1.35; }
  .card .cat { font-size: .7rem; }
  .card .price { font-size: .85rem; }
  .card .chip-tag { font-size: .62rem; padding: .2rem .45rem; top: .5rem; inset-inline-start: .5rem; }
  .card .body { padding-top: .6rem; }
  .card .link.tiny { font-size: .72rem; }
}

.card { display: block; }
.card .media { aspect-ratio: 4/5; overflow: hidden; background: var(--paper); border: 1px solid var(--line); position: relative; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.03); }
.card .media .chip {
  position: absolute; top: .8rem; inset-inline-start: .8rem; font-size: .7rem; letter-spacing: .08em;
  background: rgba(251,248,243,.94); padding: .25rem .6rem; border: 1px solid var(--line);
}
.card .body { padding-top: .9rem; display: grid; gap: .15rem; }
.card .cat { font-size: .78rem; color: var(--muted); }
.card h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 500; }
.card .price { font-size: .95rem; margin-top: .25rem; }
.card .price small { color: var(--muted); margin-inline-end: .3rem; }
.card .price.ask { color: var(--brass-2); }

/* ---------- Spotlight (hotel topper) ---------- */
.spotlight { background: var(--night); color: #e8e2d6; }
.spotlight .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.spotlight .eyebrow { color: #c9b28a; }
.spotlight h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: #fff; }
.spotlight p { color: #c8c1b4; max-width: 52ch; margin-top: 1rem; }
.spotlight .media { aspect-ratio: 4/5; max-height: 560px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.spotlight .media img { width: 100%; height: 100%; object-fit: cover; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.6rem; font-size: .95rem; }
.price-table th, .price-table td { text-align: start; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.price-table th { font-weight: 400; color: #a9a294; font-size: .8rem; letter-spacing: .05em; }
.price-table td:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.price-table .ask { color: #c9b28a; font-size: .85rem; }
.spotlight .btn { margin-top: 1.6rem; background: #fff; color: var(--night); border-color: #fff; }
.spotlight .btn:hover { background: #ece6da; }
@media (max-width: 900px) { .spotlight .container { grid-template-columns: 1fr; gap: 2rem; } .spotlight .media { max-height: 420px; aspect-ratio: 4/3; } }

/* ---------- Editorial about ---------- */
.about { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .container { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.about h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.about .text { display: grid; gap: 1rem; color: var(--ink-2); font-size: 1.05rem; }
.about .text strong { font-weight: 500; color: var(--ink); }
.about .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about .cols h4 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; margin-bottom: .3rem; }
.about .cols p { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .about .container { grid-template-columns: 1fr; gap: 1.5rem; } .about .cols { grid-template-columns: 1fr; } }

/* ---------- Contact strip ---------- */
.contact-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; }
.contact-strip h2 { font-size: 1.9rem; }
.contact-strip p { color: var(--muted); }
.contact-strip .actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #b8b1a3; font-size: .9rem; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer .wordmark { color: #fff; }
.footer .logo-mark { border-color: rgba(255,255,255,.2); }
.footer h4 { font-family: var(--font-body); font-weight: 500; color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer li { padding: .2rem 0; }
.footer a:hover { color: #fff; }
.footer .about-txt { max-width: 42ch; margin-top: 1rem; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer .bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.2rem; font-size: .8rem; }
@media (max-width: 800px) { .footer .container { grid-template-columns: 1fr; } }

/* ---------- Page header / breadcrumb ---------- */
.page-head { padding-block: 2.5rem 2rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lead { margin-top: .8rem; }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-inline-end: .5rem; opacity: .5; }
.crumbs span:first-child::before { content: none; }

/* ---------- Collection page ---------- */
.collection-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.collection-hero .container { max-width: 760px; padding-block: 3rem; }
.collection-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.collection-hero .tagline { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-2); margin-top: .4rem; }
.collection-hero .lead { margin-top: 1rem; }
.size-legend { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.size-legend span { font-size: .8rem; border: 1px solid var(--line); padding: .3rem .7rem; background: #fff; }
.other-collections { display: flex; flex-wrap: wrap; gap: .6rem; }
.other-collections a { font-size: .88rem; border: 1px solid var(--line); padding: .45rem .9rem; background: var(--paper); }
.other-collections a:hover { border-color: var(--ink); }

/* ---------- Product page ---------- */
.product { padding-block: 2rem 4rem; }
.product .container { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 520px); gap: clamp(2rem, 4vw, 4rem); }
.product .gallery { position: sticky; top: 100px; align-self: start; }
.product .gallery .main { aspect-ratio: 4/5; max-height: 330px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.product .gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.product .gallery .note { font-size: .78rem; color: var(--muted); margin-top: .6rem; }
.product .gallery .thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.product .gallery .thumb { width: 52px; aspect-ratio: 1; border: 1px solid var(--line); background: var(--paper); padding: 0; cursor: pointer; overflow: hidden; opacity: .7; transition: opacity .15s, border-color .15s; }
.product .gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .gallery .thumb.is-active, .product .gallery .thumb:hover { opacity: 1; border-color: var(--ink); }

.product .head .crumbs { margin-bottom: .6rem; }
.product .head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }

.product .buy { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.product .head .desc { color: var(--ink-2); line-height: 1.7; margin-top: .7rem; font-size: .95rem; }
.opt { margin-bottom: 1.4rem; }
.opt-label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .5rem; }
.opt-value { color: var(--muted); font-weight: 400; margin-inline-start: .4rem; }
.size-select { width: 100%; padding: .7rem 2.4rem .7rem .9rem; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .9rem center; appearance: none; -webkit-appearance: none; cursor: pointer; font-size: .95rem; }
[dir="rtl"] .size-select { padding: .7rem .9rem .7rem 2.4rem; background-position: left .9rem center; }
.size-select:focus { outline: none; border-color: var(--ink); }
.colors { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; border-radius: 50%; }
.swatch .dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.swatch:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.qty { display: inline-flex; border: 1px solid var(--line); background: var(--paper); }
.qty button { width: 40px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 48px; text-align: center; border: 0; border-inline: 1px solid var(--line); background: transparent; padding: .7rem 0; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: stretch; }
.buy-row .btn { padding-block: 0; }
.product .buy .btn.wa { margin-top: .6rem; }
.details { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.details li { padding: .7rem 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: .8rem; align-items: baseline; font-size: .93rem; }
.details li::before { content: ""; width: 5px; height: 5px; background: var(--brass); flex: none; transform: translateY(-2px); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: .5rem; }
.field-error.is-info { color: var(--muted); }
@media (max-width: 900px) {
  .product { padding-block: 1.2rem 3rem; }
  .product .container { grid-template-columns: 120px minmax(0, 1fr); gap: 0 1rem; align-items: start; }
  .product .info { display: contents; }
  .product .gallery { position: static; grid-column: 1; grid-row: 1; }
  .product .gallery .main { max-height: 160px; }
  .product .gallery .thumb { width: 34px; }
  .product .head { grid-column: 2; grid-row: 1; min-width: 0; }
  .product .head .crumbs { margin-bottom: .4rem; }
  .product .head h1 { font-size: 1.3rem; overflow-wrap: anywhere; }
  .product .buy, .product .details { grid-column: 1 / -1; }
  .product .buy { margin-top: 1.2rem; padding-top: 1.2rem; }
}

/* Sticky buy bar (product page) */
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 35; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(27,31,42,.08); padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom)); }
.sticky-buy .container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; }
.sticky-buy-img { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); background: var(--paper); flex: none; }
.sticky-buy-meta { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.sticky-buy-name { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-price { font-size: 1.05rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.sticky-buy .btn { white-space: nowrap; padding: .75rem 1.3rem; }
body.sticky-buy-open { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (max-width: 480px) { .sticky-buy-img { display: none; } .sticky-buy .container { grid-template-columns: minmax(0, 1fr) auto; } }

/* Compact product grid (home + related) */
.grid.compact { grid-template-columns: repeat(5, 1fr); gap: 1.2rem 1rem; }
.grid.compact .card h3 { font-size: 1rem; }
.grid.compact .card .cat { font-size: .72rem; }
.grid.compact .card .price { font-size: .88rem; }
.grid.compact .card .body { padding-top: .6rem; }
.grid.compact .card .link.tiny { font-size: .72rem; margin-top: .3rem; }
@media (max-width: 1000px) { .grid.compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .grid.compact { grid-template-columns: repeat(3, 1fr); gap: 1rem .6rem; }
  .grid.compact .card h3 { font-size: .82rem; }
  .grid.compact .card .cat { font-size: .62rem; }
  .grid.compact .card .price { font-size: .75rem; }
  .grid.compact .card .link.tiny { display: none; }
  .grid.compact .card .chip-tag { display: none; }
}

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; padding-block: 1rem 4rem; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line .thumb { aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; }
.cart-line .meta { color: var(--muted); font-size: .85rem; }
.cart-line .unit { font-size: .9rem; margin-top: .4rem; }
.cart-line .controls { display: flex; align-items: center; gap: 1rem; margin-top: .8rem; }
.cart-line .controls form { display: inline-flex; align-items: center; gap: .5rem; }
.cart-line .remove { color: var(--muted); font-size: .82rem; background: none; border: 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.cart-line .remove:hover { color: var(--danger); border-color: var(--danger); }
.cart-line .total { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem; position: sticky; top: 100px; }
.summary h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; margin-bottom: 1rem; }
.summary .row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .95rem; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; }
.summary .row span:last-child { font-variant-numeric: tabular-nums; }
.summary .note { color: var(--muted); font-size: .82rem; margin-top: .8rem; }
.summary .btn { margin-top: 1.2rem; }
.empty { text-align: center; padding: 4rem 1rem; }
.empty h2 { font-size: 2rem; }
.empty p { color: var(--muted); margin: .6rem 0 1.5rem; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 70px 1fr; } .cart-line .total { grid-column: 2; } }
@media (max-width: 640px) {
  .cart-head { padding-block: 1.1rem .8rem; }
  .cart-head h1 { font-size: 1.5rem; }
  .cart-head .crumbs { margin-bottom: .5rem; font-size: .76rem; }
  .cart-layout { padding-block: .5rem 2.5rem; gap: 1.5rem; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; margin-bottom: .4rem; }
.field label small { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: .8rem .95rem; border-radius: var(--radius);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .82rem; margin-top: .35rem; }
.radios { display: grid; gap: .6rem; }
.radio { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); background: #fff; padding: .85rem 1rem; cursor: pointer; }
.radio input { margin-top: .35rem; accent-color: var(--night); }
.radio b { font-weight: 500; display: block; }
.radio small { color: var(--muted); }
.radio:has(input:checked) { border-color: var(--ink); }
.checkout-steps { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.checkout-steps b { color: var(--ink); font-weight: 500; }
.form-section { margin-top: 2rem; }
.form-section h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.errors-box { border: 1px solid var(--danger); color: var(--danger); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .9rem; }
.errors-box li { padding: .1rem 0; }

/* ---------- Thanks ---------- */
.thanks { padding-block: 3rem 5rem; }
.thanks .box { background: var(--paper); border: 1px solid var(--line); padding: 2.5rem; }
.thanks h1 { font-size: 2.4rem; }
.thanks .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-2); margin-top: .5rem; }
.thanks p { color: var(--ink-2); margin-top: 1rem; }
.thanks .items { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.thanks .items li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.thanks .items li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.thanks .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.thanks .info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; font-size: .9rem; }
.thanks .info b { display: block; font-weight: 500; }
.thanks .info span { color: var(--muted); }

/* ---------- About page ---------- */
.about-page .container { grid-template-columns: 1fr; min-height: 0; }
.about-page .hero-copy { position: static; inset: auto; background: none; display: flex; flex-direction: column; justify-content: flex-start; padding-block: 3rem 3.5rem; padding-inline-end: 0; max-width: 760px; }
.about-page .hero-copy .eyebrow { color: var(--brass-2); }
.about-page .hero-copy h1 { color: var(--ink); max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.about-page .story a { color: var(--brass-2); border-bottom: 1px solid var(--brass); white-space: nowrap; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.1rem; width: 100%; margin: 1.6rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .9rem; align-items: start; }
.steps li::before { content: counter(step); grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05rem; }
.steps li strong { grid-column: 2; display: block; font-weight: 500; margin-bottom: .15rem; line-height: 36px; }
.steps li span { grid-column: 2; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.about-page .story { display: grid; gap: 1.2rem; font-size: 1.08rem; color: var(--ink-2); }
.about-page .story p:first-child { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.5; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Shop-first home ---------- */

.hero-slider { position: relative; background: var(--night); overflow: hidden; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 21 / 9; min-height: 340px; max-height: 620px; color: #f4efe7; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-block: clamp(2rem, 5vw, 4rem); background: linear-gradient(to top, rgba(30,38,55,.85) 0%, rgba(30,38,55,.35) 55%, rgba(30,38,55,0) 100%); }
.hero-copy .eyebrow { color: #c9b28a; }
.hero-copy h1, .hero-copy h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); color: #fff; max-width: 20ch; }
.hero-copy .lead { color: #e2dbcd; max-width: 52ch; margin-top: .6rem; font-size: clamp(.9rem, 1.4vw, 1.05rem); }
.hero-copy .btn { margin-top: 1.4rem; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(30,38,55,.55); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; z-index: 2; }
.hero-arrow:hover { background: var(--brass); border-color: var(--brass); }
.hero-arrow.prev { inset-inline-start: 1rem; }
.hero-arrow.next { inset-inline-end: 1rem; }
.hero-dots { position: absolute; bottom: 1rem; inset-inline: 0; display: flex; justify-content: center; gap: .5rem; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s, background .25s; }
.hero-dots button.is-active { width: 26px; border-radius: 4px; background: var(--brass); }
@media (max-width: 800px) {
  .hero-slide { aspect-ratio: 4 / 3; min-height: 300px; }
  .hero-arrow { display: none; }
  .hero-copy .btn { padding: .6rem 1.1rem; }
}
@media (min-width: 801px) {
  .hero-slide { aspect-ratio: 14 / 3; min-height: 240px; max-height: 320px; }
  .hero-copy { padding-block: clamp(1.2rem, 2.2vw, 2rem); }
  .hero-copy .eyebrow { margin-bottom: .35rem; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
  .hero-copy .lead { margin-top: .35rem; font-size: .92rem; max-width: 60ch; }
  .hero-copy .btn { margin-top: .9rem; padding: .55rem 1.1rem; font-size: .9rem; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-dots { bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-track { scroll-behavior: auto; } }

.filter-bar { position: sticky; top: 76px; z-index: 30; background: var(--linen); border-bottom: 1px solid var(--line); }
.filter-bar .container { padding-block: .7rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: .9rem; line-height: 1;
  transition: border-color .15s, background .15s, color .15s;
}
.chip span { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--night); border-color: var(--night); color: #fff; }
.chip.is-active span { color: #c9c2b4; }
@media (max-width: 900px) {
  /* Full-bleed strip: chips get cut at the screen edge and fade out, signalling that the row scrolls */
  .chips {
    margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem;
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent);
  }
  .chips.is-scrolled {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 1.25rem, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(to left, transparent, #000 1.25rem, #000 calc(100% - 3rem), transparent);
  }
  .chips.is-scrolled.at-end {
    -webkit-mask-image: linear-gradient(to left, transparent, #000 1.25rem);
    mask-image: linear-gradient(to left, transparent, #000 1.25rem);
  }
  .chips.at-end:not(.is-scrolled) { -webkit-mask-image: none; mask-image: none; }
}

.shop { padding-block: 1.6rem 4rem; }
.shop-meta { margin-bottom: 1.2rem; min-height: 1.6rem; font-size: .9rem; }
.shop-meta p:empty { display: none; }
.shop-meta .cat-desc { color: var(--ink-2); max-width: 70ch; }
.empty-filter { text-align: center; padding: 3rem 0; }

.card .media { display: block; }
.card .chip-tag {
  position: absolute; top: .8rem; inset-inline-start: .8rem; font-size: .7rem; letter-spacing: .08em;
  background: rgba(251,248,243,.94); padding: .25rem .6rem; border: 1px solid var(--line);
}
.card h3 a:hover { color: var(--brass-2); }
.card .link.tiny { display: inline-block; font-size: .78rem; margin-top: .5rem; }
.card[hidden] { display: none; }

/* Mobile: product thumbnails in a single horizontally scrollable row */
@media (max-width: 900px) {
  .product .gallery .thumbs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .5rem; padding-bottom: .25rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .product .gallery .thumbs::-webkit-scrollbar { display: none; }
  .product .gallery .thumb { flex: 0 0 56px; width: 56px; scroll-snap-align: start; }
}
