/* humanhairsupply.com · site.css — site-wide layer (_DESIGN-SYSTEM.md §0 + §0-R1, 2026-11-27)
   R1 = wholesale ordering desk: navy sticky header with an Inquiry list count, sticky catalogue filter bar,
   three section layouts (A ledger · B shelf · C panel), Barlow Condensed + Barlow.
   Page layouts live in each page's section <style> blocks, prefixed with #section-id.
   The legacy shell (.sec .wrap .bg-* .cut-*) stays for pages not yet rebuilt to R1 (about). */

@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0B2545;
  --navy-deep: #061932;
  --teal: #14B8A6;
  --teal-ink: #0F766E;
  --amber: #FFC107;
  --white: #FFFFFF;
  --teal-50: #E8F7F5;
  --navy-2: #4A5B73;
  --on-navy: #E6EDF5;
  --on-navy-2: #B9C6D6;
  --line: #D5DEE8;
  --img-bg: #EEF5F4;

  --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* R1 type scale (desktop / 390), adjacent steps >= 20% */
  --fs-h1: clamp(2.875rem, 1.9rem + 4vw, 5.5rem);        /* 88 / 46 */
  --fs-h2: clamp(2.125rem, 1.706rem + 1.714vw, 3.25rem); /* 52 / 34 */
  --fs-door: clamp(1.625rem, 1.439rem + .762vw, 2.125rem);/* 34 / 26 */
  --fs-h3: clamp(1.25rem, 1.157rem + .381vw, 1.5rem);     /* 24 / 20 */
  --fs-lede: clamp(1.0625rem, 1.016rem + .19vw, 1.1875rem);/* 19 / 17 */
  --fs-body: 1rem;                                         /* 16 */
  --fs-ui: .875rem;                                        /* 14 */
  --fs-small: .8125rem;                                    /* 13 */
  /* legacy aliases (about.html, pre-R1) */
  --fs-1: var(--fs-h1); --fs-2: var(--fs-h2); --fs-3: var(--fs-door); --fs-4: var(--fs-h3);
  --fs-5: var(--fs-lede); --fs-6: var(--fs-body); --fs-7: var(--fs-small);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --sec: 64px;
  --tab: 28px;
  --w-narrow: 720px; --w-std: 1120px; --w-wide: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
  --r-panel: 16px; --r-card: 12px; --r-btn: 8px;
  --shadow: 0 1px 2px rgba(11,37,69,.06), 0 8px 24px rgba(11,37,69,.08);
  --head-h: 64px;
  --bar-h: 48px;
  --sticky-top: calc(var(--head-h) + var(--bar-h) + 24px);
}
@media (max-width: 768px) { :root { --head-h: 56px; } }
@media (max-width: 760px) { :root { --sec: 44px; --tab: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + var(--bar-h) + 16px); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: inherit; margin: 0; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: .92; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
main p, main dd { max-width: 66ch; }
ul, ol, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
dd { margin: 0; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.on-navy :focus-visible { outline-color: var(--teal); }
.nums { font-variant-numeric: tabular-nums; font-weight: 600; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 14px; text-decoration: none; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- section shell ---------- */
.sec { padding-block: var(--sec); position: relative; }
.wrap { width: 100%; max-width: calc(var(--w-std) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.wrap--narrow { max-width: calc(var(--w-narrow) + 2 * var(--gutter)); }
/* light sections: white canvas + faint same-hue gradient (background-image, never the shorthand) */
.bg-white { background-color: var(--white); background-image: linear-gradient(180deg, rgba(232,247,245,0) 0%, rgba(232,247,245,.22) 100%); }
.bg-teal { background-color: var(--teal-50); background-image: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 100%); }
.bg-navy { background-color: var(--navy); color: var(--on-navy); }
.bg-photo { background-color: var(--navy); background-size: cover; background-position: center; color: var(--on-navy); }
.bg-photo .scrim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bg-photo > .wrap { position: relative; z-index: 1; }
.bg-navy h2, .bg-navy h3, .bg-photo h2, .bg-photo h3 { color: #fff; }

.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--navy-2); }
.on-navy .lede { color: var(--on-navy); }
.muted { color: var(--navy-2); }
.on-navy .muted { color: var(--on-navy-2); }
.strong-line { font-family: var(--font-body); font-size: var(--fs-lede); font-weight: 600; line-height: 1.45; }
.small { font-size: var(--fs-small); line-height: 1.5; }

/* ---------- R1 layouts ---------- */
/* (A) ledger: 3/9, the left column (H2 + lede) stays pinned while the right column scrolls */
.ledger { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,9fr); column-gap: 56px; align-items: start; }
.ledger__head { position: sticky; top: var(--sticky-top); display: grid; gap: 16px; }
.ledger__head h2 { font-size: clamp(2.125rem, 1.6rem + 1.1vw, 2.75rem); hyphens: manual; }
.ledger__body { display: grid; gap: 32px; min-width: 0; }
@media (max-width: 1199px) and (min-width: 901px) { .ledger { grid-template-columns: minmax(0,4fr) minmax(0,8fr); column-gap: 40px; } }
@media (max-width: 900px) { .ledger { grid-template-columns: minmax(0,1fr); row-gap: 28px; } .ledger__head { position: static; } }

/* (B) shelf: one row of scroll-snap cards bleeding to the right edge of the viewport, 4.4 visible */
.shelf-sec { overflow-x: clip; }
.shelf-head { display: grid; grid-template-columns: var(--hcols, minmax(0,5fr) minmax(0,7fr)); gap: 16px 56px; align-items: end; margin-bottom: 32px; }
.shelf-head__aside { display: grid; gap: 16px; justify-items: start; }
.shelf-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; width: 100%; }
.shelf-nav { display: flex; gap: 8px; margin-left: auto; }
.shelf-nav button { width: 44px; height: 44px; border-radius: var(--r-btn); border: 1.5px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.shelf-nav button:hover { background: var(--teal-50); }
.shelf-nav svg { width: 16px; height: 16px; }
.shelf-nav .prev svg { rotate: 180deg; }
html:not(.js) .shelf-nav { display: none; }
.shelf {
  --card-w: calc((min(100vw - 2 * var(--gutter), var(--w-wide)) - 3 * 24px) / 4.4);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card-w); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin;
  margin-right: calc(50% - 50vw); padding: 4px var(--gutter) 16px 0; scroll-padding-inline-start: 0;
}
.shelf > li { scroll-snap-align: start; container-type: inline-size; display: grid; min-width: 0; }
.shelf--fit { --card-w: calc((min(100vw - 2 * var(--gutter), var(--w-wide)) - 3 * 24px) / 4); margin-right: 0; padding-right: 0; }
.shelf--three { --card-w: calc((min(100vw - 2 * var(--gutter), var(--w-wide)) - 2 * 24px) / 3); margin-right: 0; padding-right: 0; }
.shelf-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }
@media (max-width: 900px) {
  .shelf-head { grid-template-columns: minmax(0,1fr); }
  .shelf, .shelf--fit, .shelf--three { --card-w: calc((100vw - 2 * var(--gutter) - 24px) / 1.6); margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
}

/* (C) panel: a rounded teal-50 inset panel inside the 1320 container (never a full-width band) */
.panel { background-color: var(--teal-50); background-image: linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 100%); border-radius: var(--r-panel); padding: 56px; }
@media (max-width: 760px) { .panel { padding: 28px 20px; border-radius: var(--r-card); } }

/* ---------- buttons & links ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.1; text-align: center;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.on-navy .btn-primary { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.on-navy .btn-primary:hover { background: #2DD4BF; border-color: #2DD4BF; }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--teal-50); }
.on-navy .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.on-navy .btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-primary svg, .btn-secondary svg { width: 15px; height: 15px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-link { font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.on-navy .text-link { color: #fff; text-decoration-color: var(--teal); }

/* category marks: Wig = navy square, Extension = teal square */
.cat { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 2px; background: var(--navy); vertical-align: middle; }
.cat--ext { background: var(--teal); }
.on-navy .cat:not(.cat--ext) { background: #fff; }
/* white surfaces inside a navy section (desk line editor, slips, ledgers) keep the navy wig mark */
.on-navy :is(.editor, .inquiry-slip, .book) .cat:not(.cat--ext) { background: var(--navy); }
.cat-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.cat-link svg { width: 14px; height: 14px; transition: translate .15s ease; }
.cat-link:hover svg { translate: 3px 0; }
.cat-link:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* product / style / structure / field names are headings */
.item-title { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; color: inherit; text-transform: none; }
.item-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--teal-ink); text-decoration: none; }
.item-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.item-link svg { width: 14px; height: 14px; }
.on-navy .item-link { color: #fff; }

/* chips (only chips are fully round) — buttons with aria-pressed, or radio + label (legacy) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600; line-height: 1; cursor: pointer; user-select: none; white-space: nowrap; }
.chip svg { width: 12px; height: 12px; display: none; }
.chip-in { position: absolute; opacity: 0; pointer-events: none; }
.chip-in:checked + .chip, .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.chip-in:checked + .chip svg, .chip[aria-pressed="true"] svg { display: block; }
.chip-in:focus-visible + .chip { outline: 2px solid var(--navy); outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-small); font-weight: 500; line-height: 1; color: var(--navy-2); background: #fff; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- product card (shelf card): 12px, 4px category bar on top ---------- */
.product-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .2s ease, opacity .25s ease, filter .25s ease; }
.product-card[data-cat="ext"] { border-top-color: var(--teal); }
.product-card:hover { box-shadow: var(--shadow); }
.product-card figure { margin: 0; background: var(--img-bg); }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; }
.product-card .pc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.product-card .pc-ref { font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-2); display: flex; align-items: center; gap: 7px; }
.product-card .item-title { font-size: 22px; }
.product-card .pc-desc { font-size: var(--fs-ui); line-height: 1.5; color: var(--navy-2); }
.add-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-btn); border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: 600 14px/1 var(--font-body); text-decoration: none; cursor: pointer; align-self: flex-start; }
.add-btn svg { width: 13px; height: 13px; }
.add-btn:hover { background: var(--teal-50); }
.add-btn.is-added { background: var(--teal); border-color: var(--teal); color: var(--navy); }
@container (max-width: 220px) {
  .product-card .add-btn { align-self: stretch; }
  .product-card .item-title { font-size: 20px; }
  .product-card .pc-body { padding: 12px; }
}
/* catalogue filter: cards outside the chosen category dim in place (no reflow, lazy images still load) */
.is-filtered-out { opacity: .28; filter: grayscale(1); }
html[data-cat="wig"] [data-cat="ext"].product-card, html[data-cat="ext"] [data-cat="wig"].product-card { opacity: .28; filter: grayscale(1); }
.filter-note { display: none; font-size: var(--fs-small); color: var(--navy-2); }
html[data-cat="wig"] .filter-note, html[data-cat="ext"] .filter-note { display: inline-flex; gap: 6px; align-items: center; }
.filter-note .when { display: none; }
html[data-cat="wig"] .filter-note .when--wig, html[data-cat="ext"] .filter-note .when--ext { display: inline; }
.filter-note button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- inquiry slip (motif) ---------- */
.inquiry-slip { background: #fff; color: var(--navy); border-radius: var(--r-panel); box-shadow: var(--shadow); padding: 22px 24px 18px; }
.inquiry-slip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.inquiry-slip__name { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.1; }
.inquiry-slip__note { font-size: var(--fs-small); color: var(--navy-2); display: inline-flex; align-items: center; gap: 6px; }
.slip-row { display: grid; grid-template-columns: 30px 14px minmax(0, 1fr); gap: 4px 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-ui); line-height: 1.5; font-variant-numeric: tabular-nums; }
.slip-row:last-child { border-bottom: 0; }
.slip-row__no { font-weight: 600; font-size: var(--fs-small); color: var(--navy-2); }
.slip-row__ref { font-weight: 600; }
.slip-row__fields { grid-column: 3; color: var(--navy-2); }
.slip-row__fields b { font-weight: 600; color: var(--navy); }
.slip-row__open { color: var(--teal-ink); font-weight: 600; }
.new-line { box-shadow: inset 3px 0 0 var(--amber); }

/* count badge (header button, mini list, desk bar) */
.inquiry-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--amber); color: var(--navy); font: 700 13px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.inquiry-count[hidden] { display: none; }
@keyframes count-pop { 0% { scale: 1; } 45% { scale: 1.25; } 100% { scale: 1; } }
.inquiry-count.flash { animation: count-pop .3s ease-out 1; }

/* ---------- R1 header: one navy bar, sticky, Inquiry list button on the right (plugin markup restyled) ---------- */
#dynamic-menu-container.dm-menu { --dm-bg-color: var(--navy); --dm-text-color: #fff; background: var(--navy); box-shadow: none; border: 0; }
#dynamic-menu-container.dm-menu.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(6,25,50,.25); }
#dynamic-menu-container .dm-container { position: relative; max-width: calc(var(--w-wide) + 2 * var(--gutter)); height: var(--head-h); padding: 0 calc(var(--gutter) + 178px) 0 var(--gutter); }
#dynamic-menu-container .dm-logo { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; margin-right: 24px; }
#dynamic-menu-container .dm-nav { margin-left: 8px; gap: 4px; }
#dynamic-menu-container .dm-nav-link { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 0; background: transparent; }
#dynamic-menu-container .dm-nav-link:hover { background: transparent; color: #fff; box-shadow: inset 0 -2px 0 rgba(255,255,255,.35); }
#dynamic-menu-container .dm-nav-link.active { background: transparent; color: #fff; box-shadow: inset 0 -2px 0 var(--teal); }
#dynamic-menu-container .dm-dropdown-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; font-size: 0; }
#dynamic-menu-container .dm-dropdown:hover .dm-dropdown-toggle::after { transform: none; rotate: 225deg; margin-bottom: -1px; }
#dynamic-menu-container .dm-dropdown-menu { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); margin-top: 6px; }
#dynamic-menu-container .dm-dropdown-item { color: var(--navy); font-family: var(--font-body); font-size: 15px; }
#dynamic-menu-container .dm-dropdown-item:hover { background: var(--teal-50); color: var(--navy); }
#dynamic-menu-container .dm-mobile-toggle span { background: #fff; }
#dynamic-menu-container .dm-inq { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-btn); color: #fff; text-decoration: none; font: 600 15px/1 var(--font-body); white-space: nowrap; }
#dynamic-menu-container .dm-inq:hover { border-color: #fff; background: rgba(255,255,255,.06); }
#dynamic-menu-container .dm-inq svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  #dynamic-menu-container .dm-container { padding: 0 var(--gutter); }
  #dynamic-menu-container .dm-logo { margin-right: auto; font-size: 20px; }
  #dynamic-menu-container .dm-logo-text { display: inline; }
  #dynamic-menu-container .dm-nav { top: var(--head-h); background: var(--navy); }
  #dynamic-menu-container .dm-nav.open { box-shadow: 0 12px 24px rgba(6,25,50,.3); }
  #dynamic-menu-container .dm-nav-link.active { box-shadow: inset 2px 0 0 var(--teal); }
  #dynamic-menu-container .dm-dropdown-menu { background: rgba(255,255,255,.06); box-shadow: none; }
  #dynamic-menu-container .dm-dropdown-item { color: #fff; }
  #dynamic-menu-container .dm-dropdown-item:hover { background: rgba(255,255,255,.08); color: #fff; }
  #dynamic-menu-container .dm-mobile-toggle { margin-left: 0; }
  #dynamic-menu-container .dm-inq { position: static; translate: none; height: 36px; padding: 0 8px; margin-right: 10px; gap: 6px; border-color: rgba(255,255,255,.3); }
  #dynamic-menu-container .dm-inq .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- R1 catalogue filter bar (sticky under the header) ---------- */
.catbar-wrap { position: sticky; top: var(--head-h); z-index: 900; container-type: scroll-state; }
.catbar { background: #fff; border-bottom: 1px solid var(--line); height: 56px; transition: height .2s ease, box-shadow .2s ease; }
.catbar__in { height: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; }
.catbar__label { font-size: var(--fs-small); color: var(--navy-2); white-space: nowrap; }
.catbar .chips { flex-wrap: nowrap; }
.catbar__anchors { display: flex; gap: 4px; scroll-target-group: auto; }
.catbar__anchors a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; font-size: var(--fs-ui); font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.catbar__anchors a:hover { box-shadow: inset 0 -2px 0 var(--line); }
.catbar__anchors a:target-current { box-shadow: inset 0 -3px 0 var(--amber); }
@container scroll-state(stuck: top) {
  .catbar { height: var(--bar-h); border-bottom: 2px solid var(--navy); box-shadow: var(--shadow); }
}
@media (max-width: 1100px) { .catbar__label { display: none; } .catbar__in { grid-template-columns: auto minmax(0,1fr); } }
@media (max-width: 900px) {
  .catbar { height: var(--bar-h); }
  .catbar__in { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-right: var(--gutter); }
  .catbar__in::-webkit-scrollbar { display: none; }
  .catbar__anchors { flex: none; }
}

/* spec rule table: horizontal hairlines only */
.spec-rule { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-rule th, .spec-rule td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.spec-rule thead th { font-weight: 600; font-size: var(--fs-small); border-bottom: 2px solid var(--navy); }
.spec-rule tbody th { font-weight: 600; }

/* ---------- form ---------- */
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field > label, .field > .lbl { font-weight: 600; font-size: var(--fs-small); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-btn);
  font: inherit; font-size: 15px; color: var(--navy); background: #fff;
}
.field textarea { min-height: 88px; resize: vertical; field-sizing: content; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.field:has(:user-invalid) input, .field:has(:user-invalid) select, .field:has(:user-invalid) textarea { border-bottom: 2px solid var(--amber); }
.field .err { display: none; font-size: var(--fs-small); }
.field:has(:user-invalid) .err { display: block; }
.field .hint { font-size: var(--fs-small); color: var(--navy-2); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; cursor: pointer; font-weight: 500; font-size: 15px; }
.choice input { width: 16px; height: 16px; accent-color: var(--teal); margin: 0; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 15px; }
.form-status.is-error { color: #9A3412; font-weight: 600; }
.on-navy .form-status.is-error { color: var(--amber); }
.form-status.is-ok { color: var(--teal-ink); font-weight: 600; }
.on-navy .form-status.is-ok { color: var(--teal); }

/* ---------- legacy dividers (pre-R1 pages only; R1 boundaries are straight) ---------- */
.cut-tl, .cut-tr, .cut-sl { margin-bottom: calc(-1 * var(--tab)); z-index: 1; }
.cut-tl { --tx: 7%; }
.cut-tr { --tx: calc(93% - 240px); }
.cut-tl, .cut-tr {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tab)), calc(var(--tx) + 240px) calc(100% - var(--tab)), calc(var(--tx) + 240px) 100%, var(--tx) 100%, var(--tx) calc(100% - var(--tab)), 0 calc(100% - var(--tab)));
}
.cut-sl { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tab)), 0 100%); }
.cut-sl.is-flip { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--tab))); }
.after-cut { padding-top: calc(var(--sec) + var(--tab)); }
.cut-tl, .cut-tr, .cut-sl { padding-bottom: calc(var(--sec) + var(--tab)); }
@media (max-width: 760px) {
  .cut-tl { --tx: 6%; } .cut-tr { --tx: calc(94% - 160px); }
  .cut-tl, .cut-tr { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tab)), calc(var(--tx) + 160px) calc(100% - var(--tab)), calc(var(--tx) + 160px) 100%, var(--tx) 100%, var(--tx) calc(100% - var(--tab)), 0 calc(100% - var(--tab))); }
}

/* ---------- footer (plugin markup): white, navy text, hairline on top ---------- */
#site-footer.ft-footer { border-top: 1px solid var(--line); font-family: var(--font-body); }
#site-footer .ft-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
#site-footer .ft-social-icons a { border: 1px solid var(--line); }
#site-footer .ft-bottom { border-top-color: var(--line) !important; color: var(--navy-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* WhatsApp plugin: icon-only at every width (R1) so it never covers a door link, a shelf arrow or the desk submit bar */
.wa-widget .wa-widget-button { padding: 14px; }
.wa-widget .wa-widget-button > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- R2 (2026-11-27): header Inquiry list button opens a side panel ---------- */
#dynamic-menu-container .dm-inq { background: transparent; cursor: pointer; font-family: var(--font-body); }
#dynamic-menu-container .dm-inq[aria-expanded="true"] { border-color: #fff; background: rgba(255,255,255,.08); }
.iq-panel { --pw: min(440px, 100vw); position: fixed; inset: 0 0 0 auto; width: var(--pw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
  display: none; flex-direction: column; background: var(--white); color: var(--navy); box-shadow: -12px 0 40px rgba(6,25,50,.28); font-family: var(--font-body);
  translate: 100% 0; transition: translate .3s cubic-bezier(.2,.7,.2,1), overlay .3s allow-discrete, display .3s allow-discrete; }
.iq-panel[open] { display: flex; translate: 0 0; }
@starting-style { .iq-panel[open] { translate: 100% 0; } }
.iq-panel::backdrop { background: rgba(6,25,50,.45); transition: background-color .3s ease, overlay .3s allow-discrete, display .3s allow-discrete; }
@starting-style { .iq-panel[open]::backdrop { background-color: rgba(6,25,50,0); } }
.iq-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.iq-panel__head h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; }
.iq-panel__x { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.iq-panel__x svg { width: 14px; height: 14px; }
.iq-panel__sub { padding: 0 20px 12px; font-size: var(--fs-small); color: var(--navy-2); border-bottom: 2px solid var(--navy); margin: 0 0 0; }
.iq-panel__rows { flex: 1 1 auto; overflow-y: auto; padding: 0 20px; overscroll-behavior: contain; }
.iq-panel.is-empty .iq-panel__rows { flex: 0 0 auto; }
.iq-row { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.iq-row__top { display: grid; grid-template-columns: 26px 12px minmax(0,1fr) 36px; gap: 10px; align-items: center; }
.iq-row__no { font-size: var(--fs-small); font-weight: 600; color: var(--navy-2); font-variant-numeric: tabular-nums; }
.iq-row__name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.iq-row__del { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--white); color: var(--navy-2); display: grid; place-items: center; cursor: pointer; }
.iq-row__del:hover { border-color: var(--navy); color: var(--navy); }
.iq-row__del svg { width: 12px; height: 12px; }
.iq-row__fields { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr); gap: 10px; padding-left: 36px; }
.iq-row__fields label { display: grid; gap: 4px; font-size: var(--fs-small); color: var(--navy-2); font-weight: 500; }
.iq-row__fields input { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-btn); font: inherit; font-size: var(--fs-ui); color: var(--navy); background: var(--white); width: 100%; }
.iq-row__fields input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
@keyframes iq-row-in { from { opacity: 0; translate: 12px 0; } to { opacity: 1; translate: 0 0; } }
.iq-panel[open] .iq-row:last-child { animation: iq-row-in .25s ease-out both; }
.iq-panel__empty { padding: 20px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 15px; }
.iq-panel__empty p { flex-basis: 100%; color: var(--navy-2); }
.iq-panel__empty[hidden] { display: none; }
.iq-panel__add { display: flex; gap: 10px; padding: 14px 20px; }
.iq-panel__more { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1.5px solid var(--navy); border-radius: var(--r-btn); background: var(--white); color: var(--navy); font: 600 14px/1 var(--font-body); cursor: pointer; }
.iq-panel__more:hover { background: var(--teal-50); }
.iq-panel__foot { margin-top: auto; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--teal-50); }
.iq-panel__foot .btn-primary { width: 100%; }
.iq-panel__foot .small { color: var(--navy-2); }
@media (max-width: 480px) { .iq-row__fields { grid-template-columns: minmax(0,1fr); padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .iq-panel, .iq-panel::backdrop { transition: none; } .iq-panel[open] .iq-row:last-child { animation: none; } }
html:has(.iq-panel[open]) { overflow: hidden; }

/* WhatsApp plugin on phones: smaller icon, tucked into the corner above the safe area */
@media (max-width: 760px) {
  .wa-widget { right: 12px !important; bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
  .wa-widget .wa-widget-button { padding: 11px; }
}

/* French pages: longer top-level labels push the last dropdown past the viewport at 769px; open it right-aligned */
@media (min-width: 769px) { html[lang^="fr"] .dm-nav-item:last-child .dm-dropdown-menu { left: auto; right: 0; } }
