/* SIDDIQIYA Apparel — design system */
:root {
  --charcoal: #171717;
  --black: #111111;
  --warm: #faf9f6;
  --white: #ffffff;
  --stone: #777777;
  --light: #eae8e3;
  --beige: #d8cbb8;
  --gold: #b99a63;
  --gold-ink: #8a7044;
  --panel: #f1ede6;
  --panel-2: #e9e3d8;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.24);
  --sans: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--warm); color: var(--charcoal);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--black); color: var(--warm); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--panel { background: var(--panel); }
.section--dark { background: var(--charcoal); color: var(--warm); }
.section--black { background: var(--black); color: var(--warm); }

/* Type */
.eyebrow { font: 600 11px/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 18px; }
.section--dark .eyebrow, .section--black .eyebrow, .hero .eyebrow { color: var(--gold); }
.display { font: 500 clamp(40px, 7.2vw, 104px)/0.98 var(--serif); letter-spacing: -0.02em; margin: 0; }
.h1 { font: 500 clamp(36px, 5.4vw, 72px)/1.04 var(--serif); letter-spacing: -0.015em; margin: 0; }
.h2 { font: 500 clamp(30px, 4vw, 54px)/1.08 var(--serif); letter-spacing: -0.01em; margin: 0; }
.h3 { font: 600 clamp(19px, 1.6vw, 22px)/1.3 var(--sans); letter-spacing: -0.01em; margin: 0; }
.caps { font: 700 clamp(13px, 1.1vw, 14px)/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #4a4a4a; max-width: 60ch; margin: 0; }
.section--dark .lead, .section--black .lead, .hero .lead { color: rgba(250, 249, 246, 0.72); }
.muted { color: var(--stone); }
.prose { max-width: 72ch; }
.prose h2 { font: 500 28px/1.2 var(--serif); margin: 48px 0 12px; }
.prose p, .prose li { color: #3e3e3e; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.head > div { max-width: 720px; }
.head .lead { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--black); border-radius: var(--radius);
  background: var(--black); color: var(--warm); font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: #2a2a2a; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--warm); }
.btn--light { background: var(--warm); color: var(--black); border-color: var(--warm); }
.btn--light:hover { background: var(--beige); border-color: var(--beige); }
.btn--outline-light { background: transparent; color: var(--warm); border-color: rgba(250, 249, 246, 0.5); }
.btn--outline-light:hover { background: var(--warm); color: var(--black); border-color: var(--warm); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11px; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap 0.3s var(--ease), color 0.3s; }
.link:hover { gap: 16px; color: var(--gold-ink); }
.section--dark .link:hover, .section--black .link:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Announcement */
.announce { background: var(--black); color: rgba(250, 249, 246, 0.86); font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.announce .wrap { height: 38px; display: flex; align-items: center; justify-content: center; gap: 28px; overflow: hidden; }
.announce span { white-space: nowrap; transition: opacity 0.6s; }
.announce i { width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 246, 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { height: var(--header); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo b { font: 600 22px/1 var(--serif); letter-spacing: 0.06em; }
.logo small { font: 600 9px/1 var(--sans); letter-spacing: 0.5em; margin-top: 5px; color: var(--stone); padding-left: 2px; }
.nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 1.5vw, 28px); white-space: nowrap; }
.dd { display: flex; align-items: center; }
.nav > a, .nav .dd > a { font: 500 13px/1 var(--sans); letter-spacing: 0.02em; padding: 28px 0; position: relative; color: #2b2b2b; }
.nav > a::after, .nav .dd > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 1px; background: var(--black); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current='page']::after, .nav .dd:hover > a::after, .nav .dd:focus-within > a::after { transform: scaleX(1); }
.dd { position: relative; }
.nav .dd > a { display: block; }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); width: min(880px, 90vw); background: var(--warm); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(23, 23, 23, 0.25); padding: 32px; display: grid; grid-template-columns: 1fr 1fr 240px; gap: 8px 40px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.dd:hover .mega, .dd:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { font-size: 14px; padding: 7px 0; color: #333; transition: color 0.2s, padding 0.3s var(--ease); }
.mega a:hover { color: var(--gold-ink); padding-left: 4px; }
.mega .mega-feature { grid-row: span 7; grid-column: 3; background: var(--panel); padding: 18px; display: flex; flex-direction: column; justify-content: end; }
.mega .mega-feature img { aspect-ratio: 1; object-fit: contain; margin-bottom: 12px; }
.mega h4 { grid-column: span 2; font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin: 0 0 10px; }
.tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 50%; transition: background 0.2s; }
.icon-btn:hover { background: rgba(17, 17, 17, 0.06); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--black); font: 700 10px/17px var(--sans); text-align: center; }
.count:empty, .count[data-n='0'] { display: none; }
.tools .btn { margin-left: 12px; }
.burger { display: none; }

/* Mobile menu */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--warm); transform: translateX(100%); transition: transform 0.5s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer[data-open='true'] { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: var(--header); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer nav { padding: 16px var(--gutter) 24px; display: flex; flex-direction: column; }
.drawer nav a { font: 500 26px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.drawer .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 12px 0 8px; }
.drawer .sub a { font: 500 14px/1.4 var(--sans); border: 0; padding: 6px 0; color: #444; }
.drawer-foot { margin-top: auto; padding: 24px var(--gutter) 36px; display: grid; gap: 12px; }

/* Search overlay */
.search-ov { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 17, 0.5); display: none; }
.search-ov[data-open='true'] { display: block; }
.search-box { background: var(--warm); padding: 28px 0 36px; }
.search-box form { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--black); }
.search-box input { flex: 1; border: 0; background: none; font: 400 clamp(22px, 3vw, 34px)/1.3 var(--serif); padding: 14px 0; outline: none; }
.search-hints { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 40px; font-size: 13px; background: transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover, .chip[aria-pressed='true'] { background: var(--black); color: var(--warm); border-color: var(--black); }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 78% 40%, #3a332a 0%, #1f1c18 46%, #121110 100%); color: var(--warm); overflow: hidden; }
.hero .wrap { min-height: min(calc(100svh - 110px), 860px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
.hero .display { font-family: var(--sans); font-weight: 300; letter-spacing: -0.035em; text-transform: uppercase; font-size: clamp(42px, 6.4vw, 96px); }
.hero .display em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.02em; color: var(--beige); }
.hero .lead { margin-top: 28px; max-width: 46ch; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 620px; justify-self: end; }
.hero-art .plate { position: absolute; inset: 8% 4% 4% 10%; background: linear-gradient(160deg, #d9ccb8, #b9a589); }
.hero-art .plate::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(17, 17, 17, 0.18); }
.hero-art img { position: absolute; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.32)); transition: transform 1.2s var(--ease); }
.hero-art .t1 { width: 58%; left: 0; top: 18%; transform: rotate(-7deg); }
.hero-art .t2 { width: 58%; right: -2%; top: 2%; transform: rotate(6deg); }
.hero-art .t3 { width: 50%; left: 30%; top: 44%; transform: rotate(-1deg); }
.hero-art:hover .t1 { transform: rotate(-9deg) translate(-6px, 4px); }
.hero-art:hover .t2 { transform: rotate(8deg) translate(6px, -4px); }
.tag { position: absolute; display: flex; align-items: center; gap: 10px; font: 600 10px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); background: var(--warm); padding: 9px 12px; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-art .tag.a { left: 2%; bottom: 10%; }
.hero-art .tag.b { right: 2%; top: 46%; }
.hero-meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; display: flex; justify-content: space-between; font: 500 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250, 249, 246, 0.5); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }

/* Page hero */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 22px; }
.page-hero--split .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.page-hero--split .art { background: var(--panel); aspect-ratio: 5 / 4; display: grid; place-items: center; }
.page-hero--split .art img { width: 70%; filter: drop-shadow(0 22px 24px rgba(42, 32, 20, 0.2)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--stone); margin-bottom: 28px; letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--black); }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.coll { position: relative; overflow: hidden; display: block; min-height: 360px; background: var(--panel-2); grid-column: span 4; isolation: isolate; }
.coll:nth-child(1), .coll:nth-child(2) { grid-column: span 6; min-height: 540px; }
.coll:nth-child(n+3) { grid-column: span 3; min-height: 400px; }
.coll:nth-child(n+3) .art img { height: 58%; top: 14%; }
.coll:nth-child(n+3) .art img:nth-child(2) { top: 6%; }
.coll[data-tone='dark'] { background: #24211d; color: var(--warm); }
.coll[data-tone='stone'] { background: #cfc5b6; }
.coll[data-tone='beige'] { background: #ddd0bd; }
.coll[data-tone='bone'] { background: #ece6db; }
.coll .art { position: absolute; inset: 28px 0 104px; }
.coll .art img { position: absolute; top: 6%; height: 74%; width: auto; max-width: none; transition: transform 1s var(--ease); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.22)); }
.coll .art img:nth-child(1) { left: 50%; transform: translateX(-108%) rotate(-6deg); top: 12%; }
.coll .art img:nth-child(2) { left: 50%; transform: translateX(-50%); z-index: 2; top: 0; }
.coll .art img:nth-child(3) { left: 50%; transform: translateX(8%) rotate(6deg); top: 12%; }
.coll:hover .art img:nth-child(1) { transform: translateX(-114%) rotate(-9deg); }
.coll:hover .art img:nth-child(3) { transform: translateX(14%) rotate(9deg); }
.coll:hover .art img:nth-child(2) { transform: translateX(-50%) translateY(-8px); }
.coll .meta { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.coll .meta small { display: block; font: 600 10px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; margin-bottom: 10px; }
.coll .meta b { font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--serif); }
.coll .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; transition: background 0.3s, color 0.3s; }
.coll:hover .arrow { background: var(--black); color: var(--warm); border-color: var(--black); }
.coll[data-tone='dark']:hover .arrow { background: var(--warm); color: var(--black); border-color: var(--warm); }
.arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--panel); overflow: hidden; }
.card-media img { position: absolute; inset: 8% 6%; width: 88%; height: 84%; object-fit: contain; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media .main { opacity: 0; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badge { position: absolute; left: 12px; top: 12px; font: 600 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; background: var(--warm); padding: 7px 9px; }
.card-wish { position: absolute; right: 8px; top: 8px; z-index: 2; }
.card-wish[aria-pressed='true'] svg { fill: var(--black); }
.card-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; }
.card-quick .btn { width: 100%; background: rgba(250, 249, 246, 0.94); color: var(--black); border-color: transparent; }
.card-quick .btn:hover { background: var(--black); color: var(--warm); }
.card-body { padding-top: 16px; display: grid; gap: 6px; }
.card-title { font: 600 15px/1.35 var(--sans); overflow-wrap: anywhere; padding: 4px 0; }
.card, .card-body { min-width: 0; }
.card-spec { font-size: 13px; color: #555; }
.card-comp { font-size: 12px; color: var(--stone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatches { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 2px var(--warm); }
.sizes { font-size: 12px; color: var(--stone); letter-spacing: 0.06em; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font: 600 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.card-foot button { border: 0; background: none; padding: 6px 0; font: 600 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.card-foot button:hover, .card-quote:hover { color: var(--black); }
.card-quote { padding: 6px 0; font: 600 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }

/* Fabrics */
.fab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fab { display: block; background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.5s var(--ease); }
.fab:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.fab-img { aspect-ratio: 16 / 10; overflow: hidden; }
.fab-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fab:hover .fab-img img { transform: scale(1.06); }
.fab-body { padding: 22px 22px 24px; }
.fab-body .h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.fab-body p { margin: 8px 0 14px; font-size: 14px; color: #555; }
.gsm-row { display: flex; gap: 6px; flex-wrap: wrap; }
.gsm { font: 600 11px/1 var(--sans); letter-spacing: 0.06em; padding: 7px 9px; border: 1px solid var(--line); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.swatch-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; }
.swatch-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.swatch-tile:hover img { transform: scale(1.08); }
.swatch-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: var(--warm); background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.swatch-tile .cap b { display: block; font: 500 22px/1.2 var(--serif); }
.swatch-tile .cap span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }

/* Split & columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(250, 249, 246, 0.14); border: 1px solid rgba(250, 249, 246, 0.14); }
.cols-3 > div { background: var(--charcoal); padding: clamp(28px, 3vw, 44px); }
.cols-3 .num { font: 400 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--gold); }
.cols-3 h3 { font: 500 28px/1.15 var(--serif); margin: 26px 0 14px; }
.cols-3 p { color: rgba(250, 249, 246, 0.7); margin: 0 0 22px; font-size: 15px; }
.cols-3 ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; font-size: 14px; color: rgba(250, 249, 246, 0.86); }
.cols-3 li::before { content: '—'; color: var(--gold); margin-right: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); counter-reset: s; }
.steps li { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line); counter-increment: s; position: relative; }
.steps li:not(:nth-child(4n))::after { content: ''; position: absolute; right: 12px; top: 28px; bottom: 32px; width: 1px; background: var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 400 12px/1 var(--sans); letter-spacing: 0.18em; color: var(--gold-ink); margin-bottom: 22px; }
.steps b { display: block; font: 600 16px/1.35 var(--sans); margin-bottom: 8px; padding-right: 24px; }
.steps span { font-size: 14px; color: #5a5a5a; display: block; padding-right: 24px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list > div { padding: clamp(28px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list svg { width: 34px; height: 34px; stroke: var(--black); stroke-width: 1.2; fill: none; margin-bottom: 24px; }
.feature-list h3 { font: 600 17px/1.3 var(--sans); margin: 0 0 8px; }
.feature-list p { margin: 0; font-size: 14px; color: #5a5a5a; }
.buyers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.buyers span { border: 1px solid var(--line-strong); padding: 12px 18px; font: 500 14px/1 var(--sans); }
.stat-plate { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); }
.stat-plate dl { margin: 0; display: grid; gap: 0; }
.stat-plate dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.stat-plate dl > div:last-child { border-bottom: 0; }
.stat-plate dt { color: var(--stone); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.stat-plate dd { margin: 0; }
.story { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.story blockquote { margin: 0; font: 400 clamp(26px, 3.2vw, 44px)/1.25 var(--serif); letter-spacing: -0.01em; }
.story blockquote em { color: var(--gold-ink); }
.cta-final { text-align: center; }
.cta-final .h1 { max-width: 16ch; margin: 0 auto; font-family: var(--sans); font-weight: 300; text-transform: uppercase; letter-spacing: -0.03em; }
.cta-final .actions { justify-content: center; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font: 600 11px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #3a3a3a; }
.field .req { color: var(--gold-ink); }
.input, select.input, textarea.input { width: 100%; min-height: 50px; padding: 13px 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(185, 154, 99, 0.25); }
.input[aria-invalid='true'] { border-color: #a5432f; }
.err { font-size: 12px; color: #a5432f; min-height: 0; }
.hint { font-size: 13px; color: var(--stone); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--white); font-size: 14px; cursor: pointer; transition: all 0.2s; }
.opt input:checked + span { background: var(--black); color: var(--warm); border-color: var(--black); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); }
.size-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.size-grid label { display: grid; gap: 6px; text-align: center; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; }
.size-grid input { text-align: center; min-height: 46px; padding: 8px 4px; }
.form-note { font-size: 13px; color: var(--stone); display: flex; gap: 10px; align-items: flex-start; }
.form-note svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.panel-form { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }

/* Catalog */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.filters { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 28px; }
.filters h3 { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 14px; }
.filters .opts { gap: 6px; }
.filters .opt span { min-height: 34px; padding: 0 12px; font-size: 13px; }
.filter-check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; }
.filter-check input { width: 16px; height: 16px; accent-color: var(--black); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar select { min-height: 42px; width: auto; }
.filter-toggle { display: none; }
.empty { padding: 64px 0; text-align: center; color: var(--stone); }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 24px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { margin: 0; background: var(--panel); aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.gallery figure img { width: 86%; height: 86%; object-fit: contain; }
.gallery figure.fabric img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; font: 600 10px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(17, 17, 17, 0.6); background: rgba(250, 249, 246, 0.85); padding: 6px 8px; }
.pdp-info { position: sticky; top: calc(var(--header) + 24px); }
.pdp-info .h1 { font-size: clamp(32px, 3.6vw, 48px); margin: 8px 0 14px; }
.pdp-id { font: 600 11px/1 var(--sans); letter-spacing: 0.18em; color: var(--stone); }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 22px 0 26px; }
.pdp-price b { font: 600 15px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.pdp-block { margin-bottom: 24px; }
.pdp-block > .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.color-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: inset 0 0 0 3px var(--warm); transition: box-shadow 0.2s; }
.color-btn[aria-pressed='true'] { box-shadow: inset 0 0 0 3px var(--warm), 0 0 0 1px var(--black); }
.specs { margin: 32px 0 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--stone); }
.specs dd { margin: 0; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font: 300 22px/1 var(--sans); transition: transform 0.3s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc > div { padding: 0 0 22px; font-size: 14px; color: #4a4a4a; }
table.chart { width: 100%; border-collapse: collapse; font-size: 13px; }
table.chart th, table.chart td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
table.chart th:first-child, table.chart td:first-child { text-align: left; }
table.chart thead th { font-weight: 600; letter-spacing: 0.1em; font-size: 11px; text-transform: uppercase; color: var(--stone); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(17, 17, 17, 0.55); }
.modal[data-open='true'] { display: flex; }
.modal-card { background: var(--warm); width: min(980px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative; animation: rise 0.45s var(--ease); }
.modal-card .media { background: var(--panel); display: grid; place-items: center; padding: 32px; min-height: 420px; }
.modal-card .media img { width: 90%; }
.modal-card .body { padding: clamp(24px, 3vw, 44px); }
.modal-close { position: absolute; right: 10px; top: 10px; z-index: 2; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); width: max-content; z-index: 99; background: var(--black); color: var(--warm); padding: 14px 18px; display: flex; gap: 16px; align-items: center; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease); max-width: calc(100vw - 32px); }
.toast[data-show='true'] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; white-space: nowrap; }

/* Quote list */
.q-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.q-item .thumb { background: var(--panel); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.q-item .thumb img { width: 86%; }
.q-item .size-grid { margin-top: 14px; max-width: 460px; }
.q-item .size-grid input { min-height: 40px; }
.q-remove { border: 0; background: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); padding: 6px 0; }
.q-remove:hover { color: #a5432f; }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.studio-preview { position: sticky; top: calc(var(--header) + 16px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.stage-empty[hidden] { display: none; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; margin: -2px; }
.stage-tabs::-webkit-scrollbar { display: none; }
.stage-tabs .chip { white-space: nowrap; gap: 6px; flex: none; }
.tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chip[aria-pressed='true'] .tab-dot { background: var(--gold); }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.06em; color: #444; cursor: pointer; flex: none; }
.switch input { appearance: none; -webkit-appearance: none; width: 34px; height: 20px; border-radius: 20px; background: var(--light); border: 1px solid var(--line-strong); position: relative; transition: background 0.2s; cursor: pointer; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.25s var(--ease); }
.switch input:checked { background: var(--black); border-color: var(--black); }
.switch input:checked::after { transform: translateX(14px); }
.studio-stage { position: relative; background: radial-gradient(90% 80% at 50% 40%, #f6f2ec 0%, #ebe5db 70%, #e3dccf 100%); aspect-ratio: 1 / 1; overflow: hidden; outline-offset: 4px; }
.studio-stage::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(17, 17, 17, 0.06); pointer-events: none; }
.stage-canvas { position: absolute; inset: 4% 6%; display: grid; place-items: center; }
.stage-canvas svg { width: 100%; height: 100%; display: block; overflow: visible; }
.studio-stage [data-hit] { cursor: grab; touch-action: none; }
.studio-stage.dragging [data-hit] { cursor: grabbing; }
.studio-stage:not(.has-art) [data-hit] { cursor: pointer; touch-action: auto; }
.studio-stage[data-area='off'] [data-outline] { opacity: 0; }
.studio-stage.dragging [data-outline] { opacity: 1 !important; }
[data-outline] { transition: opacity 0.25s; }
.stage-empty { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 40px; background: rgba(250, 249, 246, 0.92); font: 600 12px/1 var(--sans); letter-spacing: 0.06em; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.stage-empty:hover { background: var(--black); color: var(--warm); }
.stage-empty svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.stage-colours .row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.stage-colours .caps { font-size: 11px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-row .color-btn { width: 30px; height: 30px; }
.swatch-row .color-btn[aria-checked='true'] { box-shadow: inset 0 0 0 3px var(--warm), 0 0 0 1px var(--black); }
.art-panel { background: var(--white); border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; }
.art-panel[hidden] { display: none; }
.art-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.art-panel .field label { font-size: 10px; }
.art-panel .input { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
.art-panel .range { margin: 0; grid-template-columns: 84px 1fr 44px; }
.art-panel .range label { font-size: 13px; }
.art-panel output { font: 600 12px/1 var(--sans); text-align: right; color: var(--stone); font-variant-numeric: tabular-nums; }
.art-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.art-actions .q-remove { margin-left: auto; }
.art-panel .hint { margin: 0; font-size: 12px; }
.fabric-strip { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); background: var(--white); }
.fabric-strip img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.fabric-strip > div { display: grid; gap: 3px; min-width: 0; font-size: 13px; }
.fabric-strip .caps { font-size: 10px; color: var(--stone); }
.fabric-strip b { font: 500 18px/1.2 var(--serif); }
.stage-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding-top: 2px; font-size: 12px; line-height: 1.55; color: var(--stone); }
.stage-disclaimer svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.file-list .thumb { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: repeating-conic-gradient(#e9e5de 0% 25%, #fff 0% 50%) 50% / 12px 12px; border: 1px solid var(--line); font: 700 10px/1 var(--sans); letter-spacing: 0.08em; }
.file-list .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.file-list .meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.file-list .meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-list .meta span:last-child { color: var(--stone); font-size: 12px; }
.file-list .use { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); background: none; border: 0; padding: 6px 0; white-space: nowrap; }
.studio-step { border-top: 1px solid var(--line); padding: 26px 0; }
.studio-step > h3 { display: flex; gap: 14px; align-items: baseline; font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.studio-step > h3 span { color: var(--gold-ink); font-weight: 500; }
.upload { display: grid; place-items: center; text-align: center; gap: 8px; padding: 28px; border: 1px dashed var(--line-strong); background: var(--white); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.upload:hover, .upload.drag { border-color: var(--black); background: #fffdf9; }
.upload svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-list > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); }
.range { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: 13px; margin-top: 10px; }
.range input { accent-color: var(--black); }

/* Footer */
.footer { background: var(--black); color: rgba(250, 249, 246, 0.72); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(250, 249, 246, 0.12); }
.footer .logo b { color: var(--warm); font-size: 26px; }
.footer .logo small { color: rgba(250, 249, 246, 0.5); }
.footer h4 { font: 600 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm); margin: 6px 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: var(--warm); }
.news { margin-top: 28px; display: flex; border-bottom: 1px solid rgba(250, 249, 246, 0.35); max-width: 360px; }
.news input { flex: 1; background: none; border: 0; padding: 14px 0; color: var(--warm); outline: none; font-size: 15px; min-width: 0; }
.news input::placeholder { color: rgba(250, 249, 246, 0.45); }
.news button { background: none; border: 0; color: var(--gold); font: 600 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 12px; letter-spacing: 0.04em; color: rgba(250, 249, 246, 0.45); }
.footer-bottom nav { display: flex; gap: 22px; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(250, 249, 246, 0.24); border-radius: 50%; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.socials a:hover { background: var(--warm); color: var(--black); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: var(--black); color: var(--warm); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header .wrap { grid-template-columns: auto 1fr auto; }
  .tools .btn { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 88px; min-height: 0; gap: 28px; }
  .hero-art { justify-self: center; max-width: 520px; }
  .split, .story, .pdp, .page-hero--split .wrap { grid-template-columns: 1fr; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .pdp-info, .studio-preview { position: static; }
  .coll-grid { grid-template-columns: 1fr 1fr; }
  .coll, .coll:nth-child(1), .coll:nth-child(2), .coll:nth-child(n+3) { grid-column: span 1; min-height: 380px; }
  .coll:nth-child(1) { grid-column: 1 / -1; }
  .fab-grid { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:not(:nth-child(4n))::after { display: none; }
  .steps li:nth-child(odd)::after { display: block; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: 85; background: var(--warm); padding: 24px var(--gutter) 100px; overflow-y: auto; transform: translateY(100%); transition: transform 0.45s var(--ease); align-content: start; }
  .filters[data-open='true'] { transform: none; }
  .filter-toggle { display: inline-flex; }
  .filters .filters-close { display: flex; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card .media { min-height: 0; padding: 24px 24px 8px; }
  .modal-card .media img { width: 60%; }
}
.filters-close { display: none; justify-content: space-between; align-items: center; }
.filters-apply { display: none; }
@media (max-width: 960px) { .filters-apply { display: block; position: fixed; left: var(--gutter); right: var(--gutter); bottom: 20px; } }
@media (max-width: 680px) {
  :root { --header: 62px; }
  body { font-size: 15px; }
  .announce .wrap { gap: 0; }
  .announce span:not(.on), .announce i { display: none; }
  .logo b { font-size: 19px; }
  .tools .hide-sm { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card-title { font-size: 14px; }
  .card-spec { font-size: 12px; }
  .card-quick { display: none; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .coll-grid { grid-template-columns: 1fr; }
  .coll, .coll:nth-child(1), .coll:nth-child(2), .coll:nth-child(n+3) { grid-column: auto; min-height: 340px; }
  .fab-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none !important; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .q-item { grid-template-columns: 80px 1fr; }
  .stage-bar { flex-wrap: wrap; }
  .stage-tabs { width: 100%; }
  .switch { margin-left: auto; }
  .art-panel { padding: 14px; }
  .art-panel .range { grid-template-columns: 74px 1fr 40px; }
  .art-actions .q-remove { margin-left: 0; width: 100%; text-align: left; }
  .swatch-row .color-btn { width: 32px; height: 32px; }
  .q-item > :last-child { grid-column: 2; }
  .stat-plate dl > div, .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .hero-meta { display: none; }
  .hero .actions .btn { flex: 1 1 100%; }
  .actions .btn { flex: 1 1 auto; }
  .head { margin-bottom: 32px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}

.toolbar-actions { display: flex; gap: 8px; min-width: 0; }
.toolbar-actions select { min-width: 0; max-width: 100%; }
@media (max-width: 680px) { .toolbar { flex-wrap: wrap; } .toolbar-actions { width: 100%; } .toolbar-actions .btn, .toolbar-actions select { flex: 1 1 0; } }
.grid--catalog { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 680px) { .grid.grid--catalog { grid-template-columns: 1fr 1fr; } }

/* Product detail extras */
.pdp-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdp-more .btn { flex: 1 1 160px; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-bottom: 20px; }
.inquiry-grid .h3 { margin-bottom: 4px; }

/* Drawer extras */
.drawer-search { display: flex; gap: 6px; align-items: center; padding: 16px var(--gutter) 0; }
.drawer-search .input { min-height: 46px; }
.drawer-acc { border-bottom: 1px solid var(--line); }
.drawer-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font: 500 26px/1.2 var(--serif); padding: 14px 0; cursor: pointer; }
.drawer-acc summary::-webkit-details-marker { display: none; }
.drawer-acc summary span { font: 300 26px/1 var(--sans); transition: transform 0.3s var(--ease); }
.drawer-acc[open] summary span { transform: rotate(45deg); }
.drawer nav a[aria-current='page'] { color: var(--gold-ink); }
.drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 18px; }
.drawer-links a { position: relative; display: flex !important; align-items: center; gap: 8px; justify-content: flex-start !important; font: 600 13px/1 var(--sans) !important; letter-spacing: 0.04em; border: 1px solid var(--line-strong) !important; padding: 14px 12px !important; }
.drawer-links svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }
.drawer-links .count { position: static; margin-left: auto; }
body.float-off .wa-float { opacity: 0; pointer-events: none; transform: scale(0.8); }
.wa-float { transition: transform 0.3s var(--ease), opacity 0.25s; }

@media (max-width: 960px) {
  .inquiry-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .footer { padding-bottom: 88px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-bottom: 40px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-top > :last-child { grid-column: 1 / -1; }
  .footer h4 { margin-bottom: 16px; }
  .footer ul { gap: 12px; }
  .footer ul a, .footer ul li { display: inline-block; padding: 2px 0; }
  .news { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 10px 20px; }
  .toast { bottom: 80px; }
  .grid { gap: 32px 14px; }
  .card-body { gap: 5px; padding-top: 12px; }
  .card-comp { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .card-foot button { padding: 8px 0; }
  .h1 { overflow-wrap: break-word; }
  .pdp-price { flex-direction: column; gap: 6px; }
  .specs dd, .stat-plate dd { overflow-wrap: anywhere; }
  .filters-apply { bottom: 16px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .grid { gap: 28px 10px; }
  .card-title { font-size: 13px; }
  .card-badge { font-size: 9px; padding: 6px 7px; }
  .price { font-size: 11px; }
  .hero .display { font-size: 38px; }
  .logo b { font-size: 17px; }
  .tools { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .size-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .swatch-row .color-btn { width: 28px; height: 28px; }
}

/* ---------- Requests: confirmation & errors ---------- */
.form-done { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(24px, 4vw, 40px); display: grid; gap: 10px; outline: none; }
.form-done p { margin: 0; }
.form-done .eyebrow { margin: 0; }
.form-done-code { font: 500 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); }
.form-done a:not(.btn) { text-decoration: underline; }
.form-done .actions { margin-top: 14px; }
.form-error { border: 1px solid rgba(165, 67, 47, 0.35); background: #fbf2ef; color: #7a2f20; padding: 14px 16px; font-size: 14px; display: grid; gap: 8px; }
.form-error p { margin: 0; }
.quote-auth { font-size: 14px; color: #444; background: var(--panel); padding: 12px 14px; }
.quote-auth p { margin: 0; }
.quote-auth p + p { margin-top: 6px; }
.quote-auth a { text-decoration: underline; }
.q-body { display: grid; gap: 10px; min-width: 0; }
.q-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.q-specs label, .q-note { display: grid; gap: 5px; font: 600 10px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #555; }
.q-specs .input, .q-note .input { min-height: 42px; padding: 8px 10px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.q-specs select.input { padding-right: 30px; background-position: right 10px center; }
.q-item .size-grid { margin-top: 0; }
.q-pending { opacity: 0.6; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 520px; }
.auth-wrap--wide { max-width: 760px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.panel-form .h3 { margin: 0; }
.field-label { font: 600 11px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #3a3a3a; }

/* ---------- Status & timeline ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 26px; font: 600 11px/1 var(--sans); letter-spacing: 0.06em; white-space: nowrap; background: var(--light); color: #333; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.status--submitted, .status--requested, .status--new, .status--pending { background: #f3ead9; color: #7a5a1f; }
.status--reviewing, .status--approved, .status--preparing, .status--in_progress { background: #e7ecf3; color: #2d4466; }
.status--quoted, .status--shipped { background: #ece7f3; color: #4b3a6b; }
.status--accepted, .status--ordered, .status--delivered, .status--verified { background: #e3efe6; color: #2c5a39; }
.status--declined, .status--rejected, .status--suspended { background: #f6e6e2; color: #7a2f20; }
.status--closed { background: var(--light); color: #555; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line-strong); display: grid; gap: 14px; }
.timeline li { position: relative; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: -23px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--warm); border: 2px solid var(--gold); }
.timeline .t-date { display: block; font-size: 12px; color: var(--stone); margin-bottom: 2px; }
.timeline p { margin: 4px 0 0; color: #444; white-space: pre-line; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font: 600 10px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); background: #fbfaf7; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .total td { font-weight: 600; background: #fbfaf7; }
.row-link { background: none; border: 0; padding: 6px 0; font: 600 14px/1.3 var(--sans); text-align: left; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.row-link:hover { color: var(--gold-ink); }
.new-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.pre { white-space: pre-line; }

/* ---------- Buyer portal ---------- */
.portal-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.portal-loading { padding: 64px 0; text-align: center; color: var(--stone); }
.portal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.portal-nav { position: sticky; top: calc(var(--header) + 20px); display: grid; gap: 2px; border-left: 1px solid var(--line); }
.portal-nav a, .portal-nav button { display: flex; align-items: center; min-height: 46px; padding: 0 16px; margin-left: -1px; border: 0; border-left: 2px solid transparent; background: none; font: 500 14px/1.2 var(--sans); color: #444; text-align: left; }
.portal-nav a:hover, .portal-nav button:hover { color: var(--black); background: rgba(17, 17, 17, 0.03); }
.portal-nav a[aria-current='page'] { border-left-color: var(--black); color: var(--black); font-weight: 600; }
.portal-nav .portal-admin { color: var(--gold-ink); }
.portal-signout { color: var(--stone) !important; margin-top: 12px; }
.portal-main { min-width: 0; display: grid; gap: 16px; align-content: start; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-card { background: var(--white); border: 1px solid var(--line); padding: 22px; display: grid; gap: 8px; align-content: start; }
.portal-card .caps { font-size: 10px; color: var(--stone); }
.portal-card p { margin: 0; font-size: 14px; color: #555; }
.portal-card .status { justify-self: start; }
.portal-card.stat { transition: border-color 0.2s, transform 0.3s var(--ease); }
.portal-card.stat:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.portal-num { font: 500 40px/1 var(--serif); }
.portal-notice { background: #f3ead9; color: #5d4518; padding: 14px 16px; font-size: 14px; }
.portal-notice a { text-decoration: underline; }
.req-card { background: var(--white); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; }
.req-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.req-card .table-scroll { border-left: 0; border-right: 0; }
.req-note { margin: 0; font-size: 14px; color: #444; white-space: pre-line; }
.empty-state { background: var(--white); border: 1px dashed var(--line-strong); padding: 40px 24px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.empty-state p { margin: 0; color: #555; }

/* ---------- Admin ---------- */
.admin-shell { background: var(--warm); min-height: 70vh; }
.admin-shell > .wrap { max-width: none; padding: 0; }
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - var(--header) - 38px); }
.admin-nav { background: var(--black); color: rgba(250, 249, 246, 0.75); padding: 28px 16px; display: flex; flex-direction: column; gap: 28px; }
.admin-nav .logo b { color: var(--warm); font-size: 20px; }
.admin-nav .logo small { color: var(--gold); }
.admin-nav nav { display: grid; gap: 2px; }
.admin-nav nav a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; border-radius: 2px; }
.admin-nav nav a:hover { background: rgba(250, 249, 246, 0.06); color: var(--warm); }
.admin-nav nav a[aria-current='page'] { background: rgba(250, 249, 246, 0.1); color: var(--warm); }
.admin-nav .count { position: static; }
.admin-nav-foot { margin-top: auto; display: grid; gap: 8px; font-size: 12px; word-break: break-all; }
.admin-nav-foot .link { color: var(--warm); background: none; border-top: 0; border-left: 0; border-right: 0; justify-self: start; }
.admin-main { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head .eyebrow { margin-bottom: 8px; }
.admin-filter { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.admin-filter .input { min-height: 42px; width: auto; }
.admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.status-row { display: flex; flex-wrap: wrap; gap: 10px; }
.status-row > div { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); padding: 10px 14px; }
.admin-table td { font-size: 14px; }
.admin-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 17, 0.45); display: flex; justify-content: flex-end; }
.admin-drawer[hidden] { display: none; }
.drawer-card { position: relative; background: var(--warm); width: min(640px, 100%); height: 100%; overflow-y: auto; padding: 28px clamp(18px, 4vw, 36px) 40px; display: grid; gap: 16px; align-content: start; animation: slidein 0.35s var(--ease); }
.drawer-card .h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-right: 44px; }
.drawer-card .specs { margin-top: 0; }
.drawer-card .muted { margin: -8px 0 0; font-size: 13px; }
.drawer-close { position: absolute; right: 12px; top: 12px; }
.drawer-h { font-size: 11px; color: var(--stone); margin: 8px 0 0; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Touch & readability ---------- */
@media (pointer: coarse) {
  .card-foot button, .card-quote { min-height: 44px; display: inline-flex; align-items: center; }
  .link { min-height: 40px; padding-bottom: 4px; }
  .chip { min-height: 44px; }
  .opt span { min-height: 44px; }
  .footer ul a { display: inline-flex; align-items: center; min-height: 40px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .q-remove { min-height: 44px; }
}
@media (max-width: 960px) {
  .portal { grid-template-columns: minmax(0, 1fr); }
  .portal-nav { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .portal-nav::-webkit-scrollbar { display: none; }
  .portal-nav a, .portal-nav button { border-left: 0; border-bottom: 2px solid transparent; margin: 0 0 -1px; white-space: nowrap; padding: 0 14px; }
  .portal-nav a[aria-current='page'] { border-bottom-color: var(--black); }
  .portal-signout { margin-top: 0; }
  .portal-grid, .admin-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .admin { grid-template-columns: minmax(0, 1fr); }
  .admin-nav { padding: 16px var(--gutter); gap: 12px; }
  .admin-nav nav { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .admin-nav nav::-webkit-scrollbar { display: none; }
  .admin-nav nav a { white-space: nowrap; flex: none; gap: 8px; }
  .admin-nav-foot { flex-direction: row; display: flex; justify-content: space-between; margin-top: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .card-spec { font-size: 13px; }
  .card-comp, .sizes { font-size: 12.5px; }
  .hint, .form-note { font-size: 13.5px; }
  .field label, .field legend { font-size: 11.5px; }
  .input, select.input, textarea.input { font-size: 16px; }
  .portal-grid, .admin-stats { grid-template-columns: minmax(0, 1fr); }
  .q-specs { grid-template-columns: minmax(0, 1fr); }
  .q-item { grid-template-columns: 72px minmax(0, 1fr); }
  .data-table { font-size: 13px; }
  .section { padding: clamp(56px, 14vw, 80px) 0; }
  .head { margin-bottom: 28px; }
  .drawer-links .span-2 { grid-column: 1 / -1; }
}
.drawer-links .span-2 { grid-column: 1 / -1; }

/* Header fit between tablet and wide desktop */
@media (min-width: 1181px) and (max-width: 1440px) {
  .header .wrap { gap: 16px; }
  .nav { gap: clamp(10px, 1.05vw, 18px); }
  .nav > a, .nav .dd > a { font-size: 12.5px; }
  .tools { gap: 0; }
  .tools .icon-btn { width: 38px; height: 38px; }
  .tools .btn { margin-left: 8px; padding: 0 14px; letter-spacing: 0.1em; }
}
@media (min-width: 1181px) and (max-width: 1280px) {
  .tools .hide-sm { display: none; }
  .logo b { font-size: 20px; }
}
/* Quote list items */
.q-specs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.q-specs label:nth-child(2) { grid-column: 1 / -1; }
.q-item .size-grid { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
.q-item .size-grid input { padding: 6px 4px; }

.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps--6 li:not(:nth-child(4n))::after { display: none; }
.steps--6 li:not(:nth-child(3n))::after { display: block; }
@media (max-width: 960px) { .steps--6 { grid-template-columns: 1fr 1fr; } .steps--6 li::after { display: none !important; } }
@media (max-width: 680px) { .steps--6 { grid-template-columns: 1fr; } }
.footer-bottom nav { flex-wrap: wrap; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; } .split > * { min-width: 0; } }

/* ---------- Platform v2: statuses ---------- */
.status--under_review, .status--sample_requested, .status--awaiting_confirmation, .status--sample_development, .status--production_pending, .status--planned, .status--dispatched, .status--contacted, .status--interested { background: #e7ecf3; color: #2d4466; }
.status--quotation_sent, .status--negotiation, .status--sent, .status--quote_open, .status--in_production, .status--quality_inspection, .status--packing, .status--in_transit, .status--quality, .status--deposit_received { background: #ece7f3; color: #4b3a6b; }
.status--sample_approved, .status--ready_to_ship, .status--completed, .status--confirmed, .status--done, .status--paid, .status--pass, .status--converted, .status--active, .status--accepted { background: #e3efe6; color: #2c5a39; }
.status--cancelled, .status--fail, .status--lost, .status--exception, .status--expired, .status--unpaid { background: #f6e6e2; color: #7a2f20; }
.status--draft, .status--superseded, .status--skipped, .status--na, .status--on_hold, .status--inactive, .status--refunded, .status--in_progress.muted { background: var(--light); color: #555; }
.count[data-n="0"] { display: none; }
.portal-nav .count, .admin-nav .count { position: static; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 20px; background: var(--gold); color: var(--black); font: 700 11px/1 var(--sans); }

/* ---------- Admin v2 ---------- */
.admin-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 20px; }
.admin-filters label { display: grid; gap: 6px; font: 600 10px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.admin-filters .input { min-height: 42px; width: auto; min-width: 150px; padding: 8px 12px; font-size: 14px; letter-spacing: 0; text-transform: none; }
.admin-filters input[name=q] { min-width: 220px; }
.portal-num.small { font-size: 22px; line-height: 1.3; }
.sect-h { margin: 36px 0 14px; }
.actions.tight { gap: 8px; margin: 0; align-items: center; }
.quote-card { border: 1px solid var(--line); background: var(--white); padding: 16px; display: grid; gap: 10px; }
.quote-card header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-card p { margin: 0; }
.quote-card .specs { margin: 0; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.doc-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); font-size: 13px; }
.doc-list li > :first-child { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.doc-list .small { font-size: 12px; }
.doc-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border: 1px dashed var(--line-strong); }
.doc-upload .input { width: auto; min-height: 42px; padding: 8px 10px; font-size: 13px; flex: 1 1 160px; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.stage-list li { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(90px, auto); gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); counter-increment: st; font-size: 14px; }
.stage-list .stage-name::before { content: counter(st) '. '; color: var(--stone); }
.stage-list .input { min-height: 40px; padding: 6px 10px; font-size: 13px; }
.progress { height: 6px; background: var(--light); border-radius: 6px; overflow: hidden; min-width: 90px; margin: 6px 0; }
.progress i { display: block; height: 100%; background: var(--gold); }
.qc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.qc-grid label { display: grid; gap: 6px; font-size: 13px; }
.qc-grid .input { min-height: 40px; padding: 6px 10px; }
.chat { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.msg { max-width: 82%; justify-self: start; background: var(--white); border: 1px solid var(--line); padding: 10px 14px; }
.msg p { margin: 0; white-space: pre-line; font-size: 14px; }
.msg span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--stone); }
.msg--me { justify-self: end; background: #f3ead9; border-color: transparent; }
.media-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.media-list li { border: 1px solid var(--line); background: var(--white); display: grid; }
.media-list li:first-child { outline: 2px solid var(--gold); }
.media-list img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.media-list div { display: flex; justify-content: space-between; }
.media-list .q-remove { padding: 6px 8px; font-size: 12px; }
.thumb-sm { width: 44px; height: 44px; object-fit: cover; border: 1px solid var(--line); display: block; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.content-grid .panel-form { padding: 24px; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.report { background: var(--white); border: 1px solid var(--line); padding: 20px; display: grid; gap: 12px; margin-bottom: 16px; min-width: 0; }
.report-grid .report { margin: 0; }
.report header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.report .h3 { margin: 0; font-size: 20px; }
.report .specs { margin: 0; }
.report .specs > div { grid-template-columns: minmax(0, 1fr) auto; }
.report .data-table { min-width: 0; }
.bars { display: grid; gap: 8px; }
.bars > div { display: grid; grid-template-columns: minmax(80px, 140px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 13px; }
.bars span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars i { display: block; height: 10px; background: var(--gold); border-radius: 2px; }
.bars b { text-align: right; font-variant-numeric: tabular-nums; }
.q-lines-head, .q-line { display: grid; grid-template-columns: minmax(0, 2.4fr) 80px 100px minmax(0, 1.6fr) 80px 32px; gap: 8px; align-items: center; }
.q-lines-head { font: 600 10px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.q-line { padding: 6px 0; border-bottom: 1px solid var(--line); }
.q-line .input { min-height: 42px; padding: 8px 10px; font-size: 13px; }
.q-line output { text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }
.drawer-card .q-totals .specs > div { grid-template-columns: minmax(0, 1fr) auto; }
.drawer-card { width: min(760px, 100%); }
@media (max-width: 760px) {
  .q-lines-head { display: none; }
  .q-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px 0; }
  .q-line [name=d], .q-line [name=t] { grid-column: 1 / -1; }
  .content-grid, .report-grid { grid-template-columns: minmax(0, 1fr); }
  .stage-list li { grid-template-columns: minmax(0, 1fr) 140px; }
  .stage-list li > .muted { grid-column: 1 / -1; margin: 0; }
  .admin-filters label, .admin-filters .input, .admin-filters input[name=q] { width: 100%; min-width: 0; }
  .admin-filters label { flex: 1 1 140px; }
}

/* ---------- Buyer portal v2 ---------- */
.req-history summary { cursor: pointer; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); padding: 10px 0; min-height: 40px; }
.order-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.order-steps li { position: relative; padding-top: 18px; font-size: 11.5px; line-height: 1.25; color: var(--stone); }
.order-steps li::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 3px; background: var(--light); }
.order-steps li.done { color: var(--black); }
.order-steps li.done::before { background: var(--gold); }
.order-steps li.now span { font-weight: 700; }
.stage-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stage-pills li { font-size: 12px; padding: 5px 10px; border-radius: 20px; background: var(--light); color: #666; }
.stage-pills .st-done { background: #e3efe6; color: #2c5a39; }
.stage-pills .st-in_progress { background: #ece7f3; color: #4b3a6b; font-weight: 600; }
.data-table.tiers { min-width: 0; width: 100%; margin-top: 8px; font-size: 13px; }
.data-table.tiers th, .data-table.tiers td { padding: 6px 10px; }
@media (max-width: 680px) {
  .order-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
  .msg { max-width: 92%; }
}

/* ---------- Quote wizard ---------- */
.quote-wizard { max-width: 980px; margin: 0 auto; grid-template-columns: minmax(0, 1fr); }
.quote-wizard fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.quote-wizard fieldset[hidden] { display: none; }
.quote-wizard legend { padding: 0; margin-bottom: 4px; }
.wizard-steps { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wizard-steps li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--light); font-size: 13px; color: var(--stone); }
.wizard-steps li b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); font: 600 12px/1 var(--sans); }
.wizard-steps li.done { border-top-color: var(--gold); color: var(--black); cursor: pointer; }
.wizard-steps li.done b { background: var(--gold); border-color: var(--gold); }
.wizard-steps li[aria-current] { border-top-color: var(--black); color: var(--black); font-weight: 600; }
.wizard-steps li[aria-current] b { background: var(--black); color: var(--warm); border-color: var(--black); }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.wizard-nav [data-next], .wizard-nav [type=submit] { margin-left: auto; }
.quote-review .specs { margin-top: 8px; }
.quote-review .caps { font-size: 11px; color: var(--stone); margin: 0; }
.quote-wizard .doc-list .err { color: #a3321f; }
input[type=file].input { padding: 10px; min-height: 0; }
input[type=file].input:disabled { opacity: 0.55; }
@media (max-width: 560px) {
  .wizard-steps span { display: none; }
  .wizard-steps li[aria-current] span { display: inline; }
  .wizard-steps { display: flex; flex-wrap: wrap; gap: 8px 12px; }
  .wizard-steps li { flex: 0 0 auto; }
  .wizard-steps li[aria-current] { flex: 1 1 auto; }
}

/* ---------- Printable quotation ---------- */
.quotation-shell { background: var(--warm); }
.quote-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto 16px; }
.quote-doc { max-width: 900px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 5vw, 56px); display: grid; gap: 28px; }
.quote-doc-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.quote-brand { display: block; font: 600 26px/1 var(--serif); letter-spacing: 0.06em; }
.quote-doc-head .caps { font-size: 10px; color: var(--gold-ink); }
.quote-doc-head p { margin: 12px 0 0; font-size: 13px; color: #555; }
.quote-doc-meta .h2 { margin: 0 0 10px; }
.quote-doc-meta dl { margin: 0; display: grid; gap: 4px; font-size: 13px; }
.quote-doc-meta dl div { display: flex; gap: 12px; }
.quote-doc-meta dt { color: var(--stone); min-width: 84px; }
.quote-doc-meta dd { margin: 0; font-weight: 600; }
.quote-doc-to .caps { font-size: 10px; color: var(--stone); }
.quote-doc-to p { margin: 6px 0 0; font-size: 14px; }
.quote-doc-table { min-width: 0; }
.quote-doc-terms { margin: 0; }
.quote-doc-foot { margin: 0; font-size: 12px; color: #666; }
.quote-draft { margin: 0; padding: 8px 12px; background: #f6e6e2; color: #7a2f20; font: 600 12px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 600px) { .quote-doc-table { font-size: 12px; } .quote-doc-table th, .quote-doc-table td { padding: 8px 6px; } .quote-doc-table td:first-child, .quote-doc-table th:first-child { display: none; } }

/* ---------- Uploaded photos ---------- */
img.photo { object-fit: cover; }
.card-media img.photo { width: 100%; height: 100%; }
.gallery figure.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.coll img.coll-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media print {
  .header, .footer, .announce, .no-print, .wa-float, .cookie, .admin-nav, .admin-head-actions { display: none !important; }
  body, .quotation-shell { background: #fff !important; }
  .section--tight { padding: 0 !important; }
  .quote-doc { border: 0; padding: 0; max-width: none; }
  .data-table thead th, .data-table .total td { background: #f4f4f4 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { text-decoration: none; }
}
.btn[hidden], .wizard-nav [hidden] { display: none !important; }
.portal-nav .count:empty, .admin-nav .count:empty { display: none; }

/* ---------- v3: photographic product renders ---------- */
.card-media { aspect-ratio: 10 / 11; background: #e7e2d9; }
.card-media img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media img { transform: scale(1.04); }
.gallery figure { aspect-ratio: 10 / 11; background: #e7e2d9; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure img[data-view="fabric"] { object-position: 30% 30%; }
.q-item .thumb { background: #e7e2d9; aspect-ratio: 10 / 11; overflow: hidden; }
.q-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal .media img { width: 100%; height: auto; }
.mega .mega-feature img { object-fit: cover; aspect-ratio: 10 / 11; }
.page-hero--split .art { background: #e7e2d9; overflow: hidden; }
.page-hero--split .art img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.coll .art { inset: 0; }
.coll .art img.scene, .coll:nth-child(n+3) .art img.scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: none; top: 0; left: 0; filter: none; transition: transform 1.4s var(--ease); }
.coll:hover .art img.scene { transform: scale(1.04); }
.coll .meta { z-index: 2; color: #f6f1e7; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.coll .meta .arrow { border-color: rgba(246, 241, 231, 0.6); color: #f6f1e7; }
.coll::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.45)); z-index: 1; pointer-events: none; }
.hero-art img { height: auto; }
.hero-art .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; transform: none; z-index: 3; }
.hero-art.has-photo > :not(.hero-photo) { display: none; }
/* the "Fabric Standards" nav item is also linked from the fabric library and footer */
@media (min-width: 1181px) and (max-width: 1380px) {
  .nav > a[href="/premium-fabric-standard/"] { display: none; }
}

/* ---------- v3 homepage sections ---------- */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.options-grid > div { padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.options-grid svg { width: 30px; height: 30px; stroke: var(--black); stroke-width: 1.2; fill: none; margin-bottom: 18px; }
.options-grid h3 { font: 600 16px/1.3 var(--sans); margin: 0 0 6px; }
.options-grid p { margin: 0; font-size: 14px; color: #5a5a5a; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(250, 249, 246, 0.14); border: 1px solid rgba(250, 249, 246, 0.14); }
.cols-2 > div { background: var(--charcoal); padding: clamp(28px, 3.4vw, 52px); }
.cols-2 .num { font: 400 13px/1 var(--sans); letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.cols-2 h3 { font: 500 clamp(24px, 2.4vw, 32px)/1.15 var(--serif); margin: 22px 0 14px; }
.cols-2 p { color: rgba(250, 249, 246, 0.72); margin: 0 0 22px; font-size: 15px; }
.cols-2 ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; font-size: 14px; color: rgba(250, 249, 246, 0.88); }
.cols-2 li::before { content: '—'; color: var(--gold); margin-right: 10px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 1.5px solid var(--gold-ink); border-bottom: 1.5px solid var(--gold-ink); transform: rotate(-45deg); }
.pl-art { position: relative; }
.pl-art > img:first-child { width: 86%; display: block; aspect-ratio: 10 / 11; object-fit: cover; background: #e7e2d9; }
.pl-art .pl-detail { position: absolute; right: 0; bottom: -8%; width: 42%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--white); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--panel-2); aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-size: 13px; color: #f6f1e7; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quotes blockquote { margin: 0; background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 18px; }
.quotes p { margin: 0; font: 400 clamp(18px, 1.6vw, 21px)/1.45 var(--serif); }
.quotes footer { font-size: 13px; color: var(--stone); }
.quotes footer b { display: block; color: var(--black); font-weight: 600; font-size: 14px; }
.split--form { align-items: start; }
.stat-plate--dark { margin: 28px 0 0; display: grid; border-top: 1px solid rgba(250, 249, 246, 0.16); }
.stat-plate--dark > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(250, 249, 246, 0.16); font-size: 14px; color: rgba(250, 249, 246, 0.86); }
.stat-plate--dark dt { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 2px; }
.stat-plate--dark dd { margin: 0; }
.section--dark .panel-form { color: var(--black); }
.section--dark .muted .link { color: #f6f1e7; }
.footer-social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.footer-social a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { grid-template-columns: 1fr; }
  .pl-art { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .options-grid { grid-template-columns: 1fr; }
  .stat-plate--dark > div { grid-template-columns: 1fr; gap: 4px; }
}
