/* ============================================================
   LUNDE V7 — CB2 × West Elm hybrid skin (sharp + warm)
   Same class names as V6; restyled per the shopping style guide.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --paper:      #ffffff;   /* page background — white */
  --paper-2:    #faf7f1;   /* warm canvas band */
  --canvas:     #f7f7f7;   /* cool canvas */
  --stone:      #e7e5e1;
  --panel:      #ffffff;
  --ink:        #212121;
  --ink-soft:   #3a3a3a;
  --black:      #050708;
  --muted:      #666666;
  --faint:      #858585;
  --line:       #d9d9d9;
  --line-2:     #cccccc;
  --accent:     #866347;   /* earth — restrained accent */
  --accent-deep:#6c4f38;
  --sage:       #007b00;   /* success/in-stock */
  --sale:       #af1a31;
  --on-dark:    #ffffff;

  --font-sans: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --section-y: clamp(56px, 7vw, 104px);
  --maxw: 1440px;
  --radius: 0px;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

/* suppress V5 store.js auto-widgets */
.feedback-trigger, .mode-toggle, .drawer, .drawer-scrim { display: none !important; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); z-index: 200; display: inline-flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px); padding: 14px 16px 14px 22px; background: var(--black); color: var(--on-dark); box-shadow: 0 10px 34px rgba(0,0,0,.28); opacity: 0; pointer-events: none; font-size: 13.5px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast button { color: var(--on-dark); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.4); padding: 8px 14px; }

/* ---------- type primitives ---------- */
.display { font-family: var(--font-display); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.measure { max-width: 64ch; }

/* ---------- shell ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.band-2 { background: var(--paper-2); }
.band-ink { background: var(--black); color: var(--on-dark); }
.band-ink .eyebrow { color: #c9a988; }
.band-ink .muted, .band-ink .lede { color: rgba(255,255,255,0.72); }

.section-head { display: grid; gap: 14px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; font-family: var(--font-sans); font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 0; border: 1px solid var(--black); background: var(--black); color: var(--on-dark); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: #2a2723; border-color: #2a2723; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--on-dark); }
.btn.on-dark { background: var(--white); background: #fff; color: var(--black); border-color: #fff; }
.btn.on-dark:hover { background: transparent; color: #fff; }
.btn.ghost.on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost.on-dark:hover { background: #fff; color: var(--black); }
.btn.lg { min-height: 54px; padding: 0 34px; }

.link-underline { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: gap .3s var(--ease), color .3s var(--ease); }
.link-underline:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
.link-underline svg { width: 15px; height: 15px; }

/* ---------- image placeholder ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(134,99,71,0.08), rgba(33,33,33,0.04)), repeating-linear-gradient(45deg, rgba(33,33,33,0.02) 0 2px, transparent 2px 11px), var(--canvas); }
.ph::after { content: attr(data-ph); position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(33,33,33,0.5); background: rgba(255,255,255,0.8); padding: 5px 11px; white-space: nowrap; }
.ph.on-dark { background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)), repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 11px), #1a1a1a; }
.ph.on-dark::after { color: rgba(255,255,255,0.55); background: rgba(0,0,0,0.4); }
.swatch { background-position: center; background-size: 168%; background-repeat: no-repeat; background-color: var(--canvas); }

/* ============================================================ HEADER */
.v6-topbar { background: var(--black); color: var(--on-dark); text-align: center; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; padding: 10px 16px; }
.v6-topbar a { color: #c9a988; text-decoration: underline; text-underline-offset: 2px; }
.v6-topbar .tb-short { display: none; }
@media (max-width: 640px) {
  .v6-topbar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: 0.03em; padding: 8px 14px; }
  .v6-topbar .tb-full { display: none; }
  .v6-topbar .tb-short { display: inline; }
}

.v6-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.v6-header-inner { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 var(--gutter); min-height: 72px; }
.v6-nav { display: flex; align-items: center; gap: 26px; justify-self: start; }
.v6-nav a { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); position: relative; padding: 4px 0; }
.v6-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--ink); transition: width .25s var(--ease); }
.v6-nav a:hover::after { width: 100%; }

.v6-brand { justify-self: center; text-align: center; font-family: var(--font-sans); font-weight: 700; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.v6-brand small { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.v6-actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.v6-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--ink); transition: color .2s var(--ease); }
.v6-icon:hover { color: var(--accent); }
.v6-icon svg { width: 21px; height: 21px; }
.v6-cart { position: relative; }
.v6-cart b { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; background: var(--black); color: var(--on-dark); font-size: 10px; font-weight: 700; border-radius: 999px; }
.v6-burger { display: none; }

/* ============================================================ HERO */
.v6-hero { position: relative; height: clamp(520px, 84vh, 880px); }
.v6-hero .ph, .v6-hero-media { position: absolute; inset: 0; }
.v6-hero-media { background-size: cover; background-position: center; }
.v6-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,7,8,0.72), rgba(5,7,8,0.18) 56%, rgba(5,7,8,0.02)); }
.v6-hero-inner { position: relative; z-index: 2; height: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); }
.v6-hero .eyebrow { color: rgba(255,255,255,0.85); }
.v6-hero h1 { font-size: clamp(42px, 7vw, 92px); line-height: 0.92; font-weight: 600; letter-spacing: -0.02em; color: var(--on-dark); margin: 16px 0 0; max-width: 15ch; }
.v6-hero p { max-width: 50ch; margin-top: 20px; color: rgba(255,255,255,0.9); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; }
.v6-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ============================================================ MANIFESTO */
.v6-statement { text-align: center; }
.v6-statement p { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.v6-statement p em { font-style: normal; color: var(--accent); }

/* ============================================================ COLLECTIONS */
.v6-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.v6-coll { position: relative; display: block; isolation: isolate; overflow: hidden; border: 1px solid var(--line); }
.v6-coll .ph, .v6-coll-media { aspect-ratio: 3 / 4; transition: transform 1s var(--ease); }
.v6-coll-media { background-size: cover; background-position: center; }
.v6-coll::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,7,8,0) 42%, rgba(5,7,8,0.62) 100%); }
.v6-coll:hover .ph, .v6-coll:hover .v6-coll-media { transform: scale(1.04); }
.v6-coll-cap { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: var(--on-dark); }
.v6-coll-cap .eyebrow { color: rgba(255,255,255,0.82); }
.v6-coll-cap h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 1.9vw, 30px); margin-top: 6px; letter-spacing: -0.01em; }
.v6-coll-cap span { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.v6-coll:hover .v6-coll-cap span { opacity: 1; transform: none; }

/* ============================================================ PRODUCT GRID */
.v6-prod-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }
.v6-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px,2vw,32px) clamp(14px,1.4vw,18px); }
.v6-card { display: flex; flex-direction: column; }
.v6-card-media { position: relative; aspect-ratio: 1 / 1.12; overflow: hidden; background: var(--canvas); }
.v6-card-media .swatch, .v6-card-media .ph { position: absolute; inset: 0; transition: opacity .3s var(--ease); }
.v6-card:hover .v6-card-media .swatch { opacity: 0.92; }
.v6-card-fav { position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,0.9); opacity: 0; transition: opacity .25s var(--ease); }
.v6-card:hover .v6-card-fav { opacity: 1; }
.v6-card-fav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.v6-card-fav[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }
.v6-card-sample { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; height: 44px; background: var(--white); background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; display: grid; place-items: center; border: 1px solid var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s; }
.v6-card-sample:hover { background: var(--black); color: #fff; border-color: var(--black); }
.v6-card:hover .v6-card-sample { opacity: 1; transform: none; }
.v6-card-body { padding-top: 14px; display: grid; gap: 4px; }
.v6-card-coll { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.v6-card-name { font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: 0; }
.v6-card-price { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--ink); }
.v6-card-price b { font-weight: 700; }
.v6-card-price span { color: var(--muted); font-weight: 400; }

/* ============================================================ SPLIT */
.v6-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); }
.v6-split.reverse .v6-split-media { order: 2; }
.v6-split-media .ph, .v6-split-media-img { aspect-ratio: 4 / 5; width: 100%; }
.v6-split-media-img { background-size: cover; background-position: center; }
.v6-split-copy { display: grid; gap: 18px; max-width: 32em; }
.v6-split-copy h2 { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.02; font-weight: 600; letter-spacing: -0.02em; }
.v6-feature-list { display: grid; gap: 0; margin-top: 6px; }
.v6-feature-list div { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.v6-feature-list div:last-child { border-bottom: 1px solid var(--line); }
.v6-feature-list dt { font-family: var(--font-display); font-size: 16px; font-weight: 700; min-width: 36px; color: var(--accent); }
.v6-feature-list dd { margin: 0; }
.v6-feature-list strong { display: block; font-weight: 600; font-size: 15px; }
.v6-feature-list p { color: var(--muted); font-size: 14px; }

/* ============================================================ ROOMS */
.v6-rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.v6-room { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); }
.v6-room .ph, .v6-room-media { aspect-ratio: 3 / 4; transition: transform 1s var(--ease); }
.v6-room-media { background-size: cover; background-position: center; }
.v6-room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,8,0) 46%, rgba(5,7,8,0.55) 100%); }
.v6-room:hover .ph, .v6-room:hover .v6-room-media { transform: scale(1.05); }
.v6-room span { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; text-align: center; color: var(--on-dark); font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -0.01em; }

/* ============================================================ SAMPLE BAND */
.v6-sample-band { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.v6-sample-band .v6-split-media .ph, .v6-sample-band-img { aspect-ratio: 16 / 11; }

/* ============================================================ ASSURANCE */
.v6-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 44px); }
.v6-assure div { display: grid; gap: 10px; }
.v6-assure .ic { width: 32px; height: 32px; color: var(--accent); }
.v6-assure .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.v6-assure h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.v6-assure p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============================================================ JOURNAL */
.v6-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 36px); }
.v6-post .ph, .v6-post-media { aspect-ratio: 4 / 3; margin-bottom: 16px; overflow: hidden; }
.v6-post-media { background-size: cover; background-position: center; }
.v6-post .eyebrow { font-size: 11px; }
.v6-post h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); margin: 8px 0 6px; line-height: 1.12; letter-spacing: -0.01em; }
.v6-post p { color: var(--muted); font-size: 14.5px; }

/* ============================================================ NEWSLETTER + FOOTER */
.v6-news { text-align: center; }
.v6-news h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.02em; }
.v6-news form { display: flex; gap: 10px; max-width: 480px; margin: 26px auto 0; }
.v6-news input { flex: 1; min-height: 50px; padding: 0 16px; background: transparent; border: 1px solid var(--line-2); border-radius: 0; outline: none; transition: border-color .2s; }
.v6-news input:focus { border-color: var(--ink); }

.v6-footer { background: var(--black); color: var(--on-dark); padding-block: clamp(56px, 6vw, 88px) 36px; }
.v6-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.v6-footer-brand .v6-brand { text-align: left; color: var(--on-dark); }
.v6-footer-brand .v6-brand small { color: rgba(255,255,255,0.5); }
.v6-footer-brand p { color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.v6-fcol h4 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 700; margin-bottom: 16px; }
.v6-fcol a { display: block; padding: 7px 0; color: rgba(255,255,255,0.82); font-size: 14.5px; transition: color .2s; }
.v6-fcol a:hover { color: var(--on-dark); }
.v6-footer-base { max-width: var(--maxw); margin: clamp(40px, 5vw, 72px) auto 0; padding: 26px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.5); font-size: 12.5px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================ RESPONSIVE (storefront) */
@media (max-width: 1080px) {
  .v6-collections, .v6-grid, .v6-journal { grid-template-columns: repeat(3, 1fr); }
  .v6-grid { grid-template-columns: repeat(3, 1fr); }
  .v6-rooms, .v6-assure { grid-template-columns: repeat(2, 1fr); }
  .v6-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .v6-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .v6-nav { display: none; }
  .v6-burger { display: inline-grid; }
  .v6-header-inner { grid-template-columns: auto 1fr auto; min-height: 64px; }
  .v6-brand { justify-self: center; font-size: 19px; }
  .v6-split, .v6-sample-band { grid-template-columns: 1fr; gap: 30px; }
  .v6-split.reverse .v6-split-media { order: 0; }
  .v6-grid { grid-template-columns: repeat(2, 1fr); }
  .v6-collections, .v6-journal { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .v6-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .v6-rooms { grid-template-columns: 1fr 1fr; }
  .v6-assure { grid-template-columns: 1fr; }
  .v6-footer-grid { grid-template-columns: 1fr 1fr; }
  .v6-card-sample, .v6-card-fav { opacity: 1; transform: none; }
  .btn { width: 100%; }
  .v6-hero-cta .btn { width: auto; flex: 1; }
}

/* ============================================================ MOBILE MENU */
.v6-mobile-menu { position: fixed; inset: 0; z-index: 59; background: var(--paper); padding: 92px var(--gutter) 40px; display: grid; align-content: start; gap: 0; overflow-y: auto; }
.v6-mobile-menu[hidden] { display: none; }
.v6-mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; padding: 16px 0; border-bottom: 1px solid var(--line); }

/* ============================================================ CATALOG */
.cat { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.cat-hero { padding: clamp(32px,4vw,56px) 0 clamp(22px,2.5vw,32px); display: grid; gap: 12px; }
.cat-hero h1 { font-size: clamp(36px,5vw,64px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.cat-hero .lede { max-width: 60ch; }
.cat-bar { position: sticky; top: 72px; z-index: 30; background: var(--paper); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat-search { position: relative; flex: 1; min-width: 220px; display: flex; align-items: center; }
.cat-search svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.cat-search input { width: 100%; height: 46px; padding: 0 14px 0 40px; border: 1px solid var(--line-2); border-radius: 0; background: var(--panel); outline: none; transition: border-color .15s; }
.cat-search input:focus { border-color: var(--ink); }
.cat-selects { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cat-select { position: relative; }
.cat-select select { height: 46px; padding: 0 38px 0 15px; border: 1px solid var(--line-2); border-radius: 0; background: var(--panel); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s; }
.cat-select select:focus { border-color: var(--ink); }
.cat-select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cat-favbtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: all .15s; }
.cat-favbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cat-favbtn[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.cat-favbtn[aria-pressed="true"] svg { fill: var(--on-dark); stroke: var(--on-dark); }
.cat-count { padding: 20px 0 24px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px,2vw,32px) clamp(14px,1.4vw,18px); padding-bottom: clamp(56px,7vw,104px); }
.cat-empty { grid-column: 1/-1; text-align: center; padding: 80px 0; color: var(--muted); }
.cat-empty h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.v6-card-size { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.v6-card-size i { display: inline-block; background: var(--line-2); }
.v6-card-compare { position: absolute; z-index: 2; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; background: rgba(255,255,255,0.9); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity .25s var(--ease); }
.v6-card:hover .v6-card-compare { opacity: 1; }
.v6-card-compare input { accent-color: var(--ink); width: 14px; height: 14px; }
.v6-compare-tray { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 12px 12px 12px 22px; background: var(--black); color: var(--on-dark); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.v6-compare-tray .names { font-size: 13px; color: rgba(255,255,255,0.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v6-compare-tray .names b { color: var(--on-dark); font-weight: 700; }
.v6-compare-tray .btn { min-height: 42px; }
.v6-compare-dialog { width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 0; background: var(--panel); color: var(--ink); }
.v6-compare-dialog::backdrop { background: rgba(5,7,8,0.55); }
.v6-compare-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); }
.v6-compare-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.v6-compare-close { width: 36px; height: 36px; display: grid; place-items: center; font-size: 22px; color: var(--muted); }
.v6-compare-table { display: grid; padding: 22px 24px; overflow: auto; }
.v6-cmp-cell { padding: 11px 14px 11px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.v6-cmp-cell.label { color: var(--muted); font-size: 13px; }
.v6-cmp-prod .swatch { aspect-ratio: 1/1; margin-bottom: 10px; display: block; }
.v6-cmp-prod strong { font-family: var(--font-sans); font-size: 15px; font-weight: 600; }
.v6-cmp-prod span { display: block; font-size: 12px; color: var(--muted); }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cat-bar { top: 64px; } .cat-grid { grid-template-columns: repeat(2, 1fr); } .v6-card-compare { opacity: 1; } }
@media (max-width: 560px) { .cat-bar { gap: 10px; } .cat-search { min-width: 100%; order: -1; } .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

/* ============================================================ INNER PAGE / FORMS / SUMMARY */
.v6-page { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.v6-page-head { padding: clamp(32px,4vw,56px) 0 clamp(22px,2.5vw,32px); display: grid; gap: 10px; }
.v6-page-head h1 { font-size: clamp(36px,5vw,60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.v6-page-head p { color: var(--muted); }
.v6-form { display: grid; gap: clamp(24px,3vw,36px); }
.v6-fieldset { display: grid; gap: 16px; }
.v6-fieldset > h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.v6-field { display: grid; gap: 7px; }
.v6-field > span { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.v6-field input, .v6-field select, .v6-field textarea { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 0; background: var(--panel); outline: none; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.v6-field textarea { min-height: 0; padding: 13px 15px; line-height: 1.5; resize: vertical; }
.v6-field input:focus, .v6-field select:focus, .v6-field textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.v6-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v6-field-row.three { grid-template-columns: 1.4fr 0.7fr 0.9fr; }
.v6-field.wide { grid-column: 1 / -1; }
.v6-choice { display: grid; gap: 10px; }
.v6-choice.two { grid-template-columns: 1fr 1fr; }
.v6-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 0; cursor: pointer; transition: border-color .15s, background .15s; }
.v6-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.v6-opt input { margin-top: 3px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.v6-opt-t { display: grid; gap: 2px; }
.v6-opt-t strong { font-weight: 600; font-size: 15px; }
.v6-opt-t span { font-size: 13px; color: var(--muted); }
.v6-line { display: grid; grid-template-columns: 70px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.v6-line-img { width: 70px; aspect-ratio: 1/1; background-size: 150%; background-position: center; background-color: var(--canvas); }
.v6-line-info { min-width: 0; display: grid; gap: 4px; }
.v6-line-info strong { font-family: var(--font-sans); font-weight: 600; font-size: 16px; }
.v6-line-info span { font-size: 13px; color: var(--muted); }
.v6-line-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v6-line-right { display: grid; justify-items: end; gap: 8px; }
.v6-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.v6-stepper button { width: 36px; height: 36px; font-size: 17px; color: var(--ink); display: grid; place-items: center; }
.v6-stepper button:hover { background: var(--canvas); }
.v6-stepper b { min-width: 40px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.v6-line-remove { color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.v6-line-remove:hover { color: var(--ink); }
.v6-sum { background: var(--canvas); border: 1px solid var(--line); border-radius: 0; padding: 26px; position: sticky; top: 92px; }
.v6-sum h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 18px; }
.v6-sumrow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; font-size: 14.5px; }
.v6-sumrow span { color: var(--muted); }
.v6-sumrow b { font-weight: 600; font-variant-numeric: tabular-nums; }
.v6-sum-divide { border-top: 1px solid var(--line); margin: 10px 0; }
.v6-sumtotal { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 6px; border-top: 2px solid var(--ink); }
.v6-sumtotal span { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.v6-sumtotal b { font-family: var(--font-sans); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v6-sum .btn { width: 100%; margin-top: 20px; }
.v6-sum-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.5; text-align: center; }
.v6-promo { display: flex; gap: 8px; margin: 16px 0 4px; }
.v6-promo input { flex: 1; min-height: 46px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 0; background: var(--panel); outline: none; font: inherit; text-transform: uppercase; letter-spacing: 0.04em; }
.v6-promo button { padding: 0 18px; border: 1px solid var(--ink); border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.v6-promo-msg { font-size: 13px; margin-bottom: 4px; }
.v6-promo-msg[data-state="ok"] { color: var(--sage); }
.v6-promo-msg[data-state="error"] { color: var(--sale); }
.cart-layout, .co-layout { display: grid; gap: clamp(28px,4vw,52px); align-items: start; padding-bottom: clamp(56px,7vw,100px); }
.cart-layout { grid-template-columns: minmax(0,1fr) 380px; }
.co-layout { grid-template-columns: minmax(0,1fr) 420px; }
.v6-empty { text-align: center; padding: clamp(56px,9vw,120px) 0; display: grid; gap: 16px; justify-items: center; }
.v6-empty h1 { font-size: clamp(34px,4vw,52px); font-weight: 600; letter-spacing: -0.02em; }
.v6-empty p { color: var(--muted); max-width: 40ch; }
.co-account-note { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; }
.co-account-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .cart-layout, .co-layout { grid-template-columns: 1fr; } .v6-sum { position: static; } .co-layout .v6-sum { order: -1; } }
@media (max-width: 560px) { .v6-field-row, .v6-field-row.three, .v6-choice.two { grid-template-columns: 1fr; } }

/* ============================================================ ACCOUNT */
.acct-placed { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 16px 22px; background: var(--black); color: var(--on-dark); }
.acct-placed i { width: 9px; height: 9px; border-radius: 999px; background: #4fb15a; flex: none; }
.acct-placed strong { font-weight: 700; color: var(--on-dark); }
.acct-placed span { font-size: 14.5px; color: rgba(255,255,255,0.82); }
.acct-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-top: 8px; }
.acct-tab { padding: 14px 4px; margin-right: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.acct-tab[aria-current="page"] { color: var(--ink); border-color: var(--ink); }
.acct-tab:hover { color: var(--ink); }
.acct-panel { padding: clamp(26px,3vw,38px) 0 clamp(56px,7vw,96px); }
.acct-panel[hidden] { display: none; }
.acct-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.acct-panel-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,3vw,34px); }
.acct-panel-head span { font-size: 13px; color: var(--muted); }
.acct-orders { display: grid; gap: 14px; }
.acct-order { display: block; border: 1px solid var(--line); border-radius: 0; padding: 22px 24px; background: var(--panel); transition: border-color .15s; }
.acct-order:hover { border-color: var(--ink); }
.acct-order-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.acct-thumbs { display: inline-flex; }
.acct-thumbs img, .acct-thumb { width: 44px; height: 44px; object-fit: cover; border: 2px solid var(--panel); margin-left: -12px; background-size: 150%; background-position: center; }
.acct-thumbs img:first-child, .acct-thumb:first-child { margin-left: 0; }
.acct-order-lead { display: flex; align-items: center; gap: 14px; }
.acct-id { font-family: var(--font-sans); font-weight: 700; font-size: 17px; display: block; }
.acct-when { font-size: 12.5px; color: var(--muted); }
.acct-items { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; display: block; }
.acct-progress { height: 4px; background: var(--canvas); overflow: hidden; margin-bottom: 16px; }
.acct-progress i { display: block; height: 100%; background: var(--accent); }
.acct-order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acct-dates { display: flex; gap: 28px; }
.acct-dates span { display: grid; gap: 1px; }
.acct-dates span small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.acct-dates span b { font-size: 14px; font-weight: 600; }
.acct-total { font-family: var(--font-sans); font-size: 20px; font-weight: 700; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: var(--canvas); color: var(--ink-soft); border: 1px solid var(--line); }
.status-badge i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.status-badge[data-status="processing"] { background: #eef3f7; color: #2a5599; border-color: #d4e0ea; }
.status-badge[data-status="shipped"] { background: #f7f1e6; color: #9a6a1a; border-color: #e8dcc4; }
.status-badge[data-status="delivered"] { background: #eaf3ea; color: #2f7a36; border-color: #cfe6d0; }
.status-badge[data-status="cancelled"] { background: #f7e9e9; color: var(--sale); border-color: #ecd0d0; }
.acct-favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2vw,24px); }
.acct-fav { display: block; }
.acct-fav .swatch { aspect-ratio: 1/1; margin-bottom: 12px; }
.acct-fav strong { font-family: var(--font-sans); font-weight: 600; font-size: 15px; display: block; }
.acct-fav span { font-size: 13px; color: var(--muted); }
.acct-quote { border: 1px solid var(--line); margin-bottom: 14px; background: var(--panel); overflow: hidden; }
.acct-quote summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acct-quote summary::-webkit-details-marker { display: none; }
.acct-quote-body { padding: 0 24px 22px; border-top: 1px solid var(--line); }
.acct-empty-state { text-align: center; padding: 70px 0; display: grid; gap: 12px; justify-items: center; }
.acct-empty-state h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.acct-empty-state p { color: var(--muted); max-width: 42ch; }
.acct-addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.acct-addr { border: 1px solid var(--line); padding: 20px 22px; background: var(--panel); }
.acct-addr.is-default { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.acct-addr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.acct-addr-label { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.acct-addr-default { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.acct-addr-setdef { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.acct-addr p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.acct-addr-actions { display: flex; gap: 14px; margin-top: 14px; }
.acct-addr-actions button { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.acct-addr-actions button:hover { color: var(--ink); }
.acct-settings { max-width: 640px; display: grid; gap: 32px; }
.acct-signedin { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 22px; background: var(--paper-2); border: 1px solid var(--line); }
.acct-signedin b { font-weight: 700; }
@media (max-width: 900px) { .acct-favs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .acct-favs { grid-template-columns: repeat(2, 1fr); } .acct-addr-grid { grid-template-columns: 1fr; } .acct-dates { gap: 18px; } .acct-tab { margin-right: 14px; } }

/* ============================================================ ORDER DETAIL */
.mo-back { display: inline-flex; align-items: center; gap: 9px; padding: 22px 0 4px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mo-back:hover { color: var(--ink); }
.mo-back svg { width: 15px; height: 15px; }
.mo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mo-head h1 { font-size: clamp(32px,4vw,50px); font-weight: 600; letter-spacing: -0.02em; }
.mo-head .acct-when { font-size: 14px; }
.mo-stepper { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 32px 0; }
.mo-step { position: relative; text-align: center; padding-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.mo-step::before { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--line-2); transform: translateX(-50%); z-index: 2; }
.mo-step::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line-2); z-index: 1; }
.mo-step:first-child::after { display: none; }
.mo-step.done { color: var(--ink); }
.mo-step.done::before { background: var(--accent); border-color: var(--accent); }
.mo-step.done::after { background: var(--accent); }
.mo-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: clamp(28px,4vw,52px); align-items: start; padding: 30px 0 clamp(56px,7vw,96px); }
.mo-banner { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 24px; }
.mo-banner i { width: 9px; height: 9px; border-radius: 999px; background: var(--accent); margin-top: 6px; flex: none; }
.mo-banner strong { display: block; font-weight: 700; }
.mo-banner span { font-size: 14px; color: var(--muted); }
.mo-section-h { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 28px 0 8px; }
.mo-info { display: grid; gap: 16px; }
.mo-info-card { border: 1px solid var(--line); padding: 20px 22px; background: var(--panel); }
.mo-info-card h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mo-info-card p { font-size: 14.5px; line-height: 1.55; }
.mo-info-card p b { font-weight: 600; }
.mo-timeline { display: grid; gap: 0; }
.mo-tl { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mo-tl:last-child { border-bottom: 0; }
.mo-tl .when { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
@media (max-width: 900px) { .mo-layout { grid-template-columns: 1fr; } }

/* ============================================================ SAMPLES */
.v6-samplebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: var(--black); color: var(--on-dark); transform: translateY(100%); transition: transform .35s var(--ease); }
.v6-samplebar.show { transform: none; }
.v6-samplebar span { font-size: 14px; }
.v6-samplebar b { font-weight: 700; }
.v6-samplebar .btn { min-height: 46px; }
body.has-samplebar { padding-bottom: 80px; }

/* ============================================================ WARRANTY */
.wty-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.wty-stats div { padding: clamp(24px,3vw,40px) clamp(20px,2vw,28px); border-left: 1px solid var(--line); }
.wty-stats div:first-child { border-left: 0; }
.wty-stats b { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px,3.6vw,48px); display: block; letter-spacing: -0.02em; }
.wty-stats span { font-size: 13.5px; color: var(--muted); margin-top: 4px; display: block; }
.wty-list { display: grid; gap: 0; }
.wty-list article { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.wty-list article:last-child { border-bottom: 1px solid var(--line); }
.wty-list .num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--accent); }
.wty-list h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.wty-list p { color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .wty-stats { grid-template-columns: 1fr 1fr; } .wty-stats div { border-top: 1px solid var(--line); } .wty-stats div:nth-child(-n+2) { border-top: 0; } .wty-stats div:nth-child(odd) { border-left: 0; } }

/* ============================================================ STAFF LOGIN */
.v6-login { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 60px var(--gutter); }
.v6-login-card { width: min(440px, 100%); }
.v6-login-card .eyebrow { display: block; margin-bottom: 14px; }
.v6-login-card h1 { font-size: clamp(34px,4vw,48px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.v6-login-card > p { color: var(--muted); margin-bottom: 28px; }
.v6-login-demo { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper-2); font-size: 13px; color: var(--muted); line-height: 1.7; }
.v6-login-demo code { background: var(--stone); padding: 2px 7px; color: var(--ink); font-size: 12.5px; }

/* ============================================================ PRODUCT DETAIL (PDP) */
.pdp { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.pdp-crumb { display: flex; align-items: center; gap: 10px; padding: 20px 0 8px; font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.pdp-crumb a:hover { color: var(--ink); }
.pdp-crumb span.sep { opacity: 0.5; }
.pdp-crumb .cur { color: var(--ink); }
.pdp-top { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(372px,0.68fr); gap: clamp(28px,4vw,64px); align-items: start; padding-bottom: clamp(44px,6vw,80px); }
.pdp-gallery { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 14px; position: sticky; top: 92px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumb { aspect-ratio: 1/1; border: 1px solid var(--line); overflow: hidden; background: var(--canvas); cursor: pointer; padding: 0; transition: border-color .2s var(--ease); }
.pdp-thumb .swatch, .pdp-thumb .ph { display: block; width: 100%; height: 100%; }
.pdp-thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pdp-main { position: relative; aspect-ratio: 1.1/1; overflow: hidden; background: var(--canvas); border: 1px solid var(--line); }
.pdp-main .swatch { position: absolute; inset: 0; }
.pdp-main-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 9px; background: rgba(255,255,255,0.94); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.pdp-main-tag i { width: 22px; height: 22px; background-size: 150%; background-position: center; border: 1px solid var(--line-2); }
.pdp-fav { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,0.92); color: var(--ink); }
.pdp-fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pdp-fav[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }
.pdp-buy { position: sticky; top: 92px; display: grid; gap: 0; border-top: 2px solid var(--ink); padding-top: 22px; }
.pdp-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage); }
.pdp-status i { width: 7px; height: 7px; border-radius: 999px; background: var(--sage); }
.pdp-coll { margin-top: 14px; }
.pdp-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,3.4vw,44px); line-height: 1.04; margin-top: 8px; letter-spacing: -0.02em; }
.pdp-price-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pdp-price { font-family: var(--font-sans); font-weight: 700; font-size: 24px; line-height: 1; }
.pdp-price small { font-family: var(--font-sans); font-size: 13px; color: var(--muted); font-weight: 500; }
.pdp-carton { font-size: 14px; color: var(--muted); }
.pdp-desc { margin-top: 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.pdp-calc { margin-top: 24px; padding: 22px; background: var(--canvas); border: 1px solid var(--line); }
.pdp-calc-h { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pdp-field { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line-2); padding: 0 16px; height: 54px; background: var(--panel); transition: border-color .15s; }
.pdp-field:focus-within { border-color: var(--ink); }
.pdp-field input { border: 0; outline: 0; background: transparent; width: 100%; height: 100%; font-family: var(--font-sans); font-size: 22px; font-weight: 700; }
.pdp-field input::-webkit-outer-spin-button, .pdp-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-field span { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pdp-waste { margin-top: 16px; }
.pdp-waste-lab { font-size: 12.5px; color: var(--muted); margin-bottom: 9px; }
.pdp-seg { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line-2); }
.pdp-seg button { height: 42px; font-size: 13px; font-weight: 600; color: var(--ink-soft); border-left: 1px solid var(--line-2); transition: background .15s, color .15s; }
.pdp-seg button:first-child { border-left: 0; }
.pdp-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.pdp-summary { margin-top: 18px; display: grid; gap: 11px; }
.pdp-summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.pdp-summary div span { color: var(--muted); }
.pdp-summary div b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pdp-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pdp-total span { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.pdp-total b { font-family: var(--font-sans); font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp-actions { display: grid; gap: 10px; margin-top: 20px; }
.pdp-actions .btn { width: 100%; }
.pdp-assure-mini { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.pdp-assure-mini span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pdp-assure-mini svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.pdp-format { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp-format-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pdp-format-h p { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pdp-format-h span { font-size: 12.5px; color: var(--muted); }
.pdp-bar:has(.pdp-bar-tex) { position: relative; border: 1px solid var(--line-2); overflow: hidden; }
.pdp-bar-tex { display: block; width: 100%; height: 100%; background-size: 150%; background-position: center; }
.pdp-dim-h { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.pdp-dim-h i { flex: 1; height: 1px; background: var(--line-2); }
.pdp-highlights { display: grid; grid-template-columns: repeat(6,1fr); gap: 0; border: 1px solid var(--line); }
.pdp-hl { background: var(--panel); padding: 24px 20px; display: grid; gap: 8px; border-left: 1px solid var(--line); }
.pdp-hl:first-child { border-left: 0; }
.pdp-hl .ic { width: 26px; height: 26px; color: var(--accent); }
.pdp-hl .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pdp-hl .ic.tone { background-size: cover; background-position: center; }
.pdp-hl-k { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pdp-hl-v { font-family: var(--font-sans); font-size: 16px; font-weight: 600; line-height: 1.2; }
.pdp-specs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(28px,4vw,56px); }
.pdp-spec-col h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.pdp-spec-col dl { display: grid; gap: 0; margin: 0; }
.pdp-spec-col div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pdp-spec-col dt { color: var(--muted); font-size: 14px; }
.pdp-spec-col dd { margin: 0; text-align: right; font-size: 14px; font-weight: 500; }
.pdp-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,80px); align-items: center; }
.pdp-details-media .swatch, .pdp-details-media .ph { aspect-ratio: 5/4; width: 100%; }
.pdp-details-copy { max-width: 32em; display: grid; gap: 18px; }
.pdp-details-copy h2 { font-size: clamp(26px,3vw,42px); font-weight: 600; letter-spacing: -0.02em; }
.pdp-details-copy p { color: var(--ink-soft); }
.pdp-details-list { display: grid; gap: 12px; margin-top: 4px; }
.pdp-details-list li { list-style: none; position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 15px; }
.pdp-details-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--accent); }
.pdp-install { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,3vw,44px); }
.pdp-install article { display: grid; gap: 14px; }
.pdp-install .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--canvas); border: 1px solid var(--line); }
.pdp-install .media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-install .play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 999px; background: rgba(255,255,255,0.94); display: grid; place-items: center; }
.pdp-install .play::after { content: ""; width: 0; height: 0; border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.pdp-install h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.pdp-install p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.pdp-bar:has(.pdp-bar-price) { display: none; }
/* mobile gallery carousel controls (hidden on desktop where thumbs are used) */
.pdp-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--ink); place-items: center; z-index: 3; border: 1px solid var(--line); box-shadow: 0 3px 12px rgba(0,0,0,0.14); cursor: pointer; padding: 0; }
.pdp-nav svg { width: 20px; height: 20px; }
.pdp-nav.prev { left: 12px; }
.pdp-nav.next { right: 12px; }
.pdp-dots { display: none; position: absolute; left: 0; right: 0; bottom: 12px; justify-content: center; gap: 7px; z-index: 3; }
.pdp-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.6); box-shadow: 0 0 0 1px rgba(0,0,0,0.18); cursor: pointer; transition: background .2s, transform .2s; }
.pdp-dot.on { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.32); transform: scale(1.15); }
@media (max-width: 1000px) {
  .pdp-top { grid-template-columns: 1fr; }
  .pdp-buy, .pdp-gallery { position: static; }
  .pdp-highlights { grid-template-columns: repeat(3,1fr); }
  .pdp-hl:nth-child(4) { border-left: 0; }
  .pdp-specs { grid-template-columns: 1fr; gap: 36px; }
  .pdp-details, .pdp-install { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { display: none; }
  .pdp-main:not(.is-single) .pdp-nav { display: grid; }
  .pdp-main:not(.is-single) .pdp-dots { display: flex; }
  .pdp-highlights { grid-template-columns: repeat(2,1fr); }
  .pdp-hl:nth-child(odd) { border-left: 0; }
  body.has-buybar { padding-bottom: 80px; }
  .pdp-bar:has(.pdp-bar-price) { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .pdp-bar-price { display: grid; gap: 1px; }
  .pdp-bar-price b { font-family: var(--font-sans); font-size: 20px; font-weight: 700; line-height: 1; }
  .pdp-bar-price span { font-size: 11px; color: var(--muted); }
  .pdp-bar button { height: 50px; background: var(--black); color: var(--on-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
}
