
@font-face {
  font-family: "Noto Sans TC Legal";
  src: url("/fonts/noto-sans-tc-legal.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --c-ink: #1f2933; --c-text: #4a5563; --c-muted: #66717f; --c-line: #e4e7eb;
  --c-bg: #ffffff; --c-bg-soft: #f4f5f7; --c-footer: #eceef1;
  --c-navy: #1a3348; --c-navy-700: #132739; --c-accent: #b8322a; --c-accent-600: #9c2a23; --c-accent-50: #fbf0ee;
  --c-ok: #2f7d4f; --c-warn: #b7791f;
  --f-sans: "Inter", "Noto Sans TC", "Noto Sans SC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --fs-display: clamp(34px, 4.2vw, 56px); --fs-h1: clamp(30px, 3vw, 40px); --fs-h2: clamp(24px, 2.4vw, 32px);
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-panel: 48px; --r-pill: 999px;
  --container: 1200px; --gutter: 24px; --header-h: 72px;
  --bg: var(--c-bg); --fg: var(--c-ink); --vat: var(--c-navy); --madder: var(--c-accent);
  --card: #ffffff; --muted: var(--c-muted); --border: var(--c-line);
  --primary: var(--c-accent); --primary-fg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--c-footer); color: var(--c-text); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; }
a { color: var(--c-navy); }
.legal { font-family: "Noto Sans TC Legal", "Noto Sans TC", "Songti TC", serif; }
.icon { display: inline-block; vertical-align: -0.2em; flex: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.site-panel { background: var(--c-bg); border-radius: 0 0 var(--r-panel) var(--r-panel); padding-bottom: 4rem; overflow: hidden; }
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 1.5rem; }
.brand { text-decoration: none; color: var(--c-navy); display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand .legal { font-size: 1.05rem; font-weight: 600; }
.brand-en { font-size: 0.7rem; color: var(--c-muted); }
.site-header nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav-link, .nav-products summary { color: var(--c-ink); text-decoration: none; font-family: inherit; font-weight: 400; font-size: 16px; padding: 0 16px; line-height: var(--header-h); background: none; border: 0; cursor: pointer; list-style: none; }
.nav-products summary::-webkit-details-marker { display: none; }
.nav-products { position: relative; }
.nav-products-panel { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); min-width: 14rem; padding: 0.5rem 0; box-shadow: 0 8px 24px rgba(16,32,48,.12); z-index: 31; }
.nav-products[open] .nav-products-panel { display: grid; }
.mega-list a { display: block; padding: 0.55rem 1rem; color: var(--c-ink); text-decoration: none; }
.mega-list a:hover, .mega-list a:focus { background: var(--c-bg-soft); }
.nav-link.current, .nav-products.current summary, .nav-products[open] summary, .header-order.current { color: var(--c-accent); }
.header-order { font-size: 14px; color: var(--c-ink); text-decoration: none; border-left: 1px solid var(--c-line); padding-left: 20px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 0; color: var(--c-ink); cursor: pointer; margin-left: auto; width: 44px; height: 44px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-toggle-close { display: none; }
.lang-toggle { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 44px; padding: 0 10px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: 13px; line-height: 1; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.lang-toggle:hover, .lang-toggle:focus-visible { border-color: var(--c-navy); color: var(--c-navy); }
html:lang(zh-Hans) { --f-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif; }
html:lang(zh-Hans) body { letter-spacing: 0; }
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2 { text-wrap: balance; }
html:lang(zh-Hans) .hero-copy h1 { word-break: keep-all; overflow-wrap: anywhere; }
/* Narrow desktops (tablet landscape): keep the header on one line with the language switch added. */
@media (min-width: 769px) and (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .brand { flex-shrink: 0; }
  .brand .legal, .brand-en { white-space: nowrap; }
  .site-header nav { flex-wrap: nowrap; }
  .nav-link, .nav-products summary { padding: 0 10px; white-space: nowrap; }
  .header-order { padding-left: 14px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .site-header a.btn.header-quote { display: none; }
}
.site-header nav .nav-quote-mobile, .site-header nav a.nav-quote-mobile.btn, .nav-quote-mobile { display: none !important; }
.btn, .btn-ghost, .btn-ghost-w, a.btn, a.btn-ghost, a.btn-ghost-w, button.btn, button.btn-ghost, button.btn-ghost-w { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; margin: 0; border-radius: var(--r-pill); font-size: 15px; line-height: 1; text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; font-family: inherit; }
.btn { background: var(--c-accent); color: #fff !important; }
.btn:hover { background: var(--c-accent-600); }
.btn-ghost { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.btn-ghost-w { background: transparent; border-color: #fff; color: #fff !important; }
.wide { width: 100%; }
.page { max-width: var(--container); margin: 0 auto; padding: 3rem var(--gutter) 3.5rem; }
.page-inner { padding-top: 24px; padding-bottom: 96px; }
/* Breadcrumb on its own row above a full section: keep a normal breadcrumb-to-heading gap (about 32px). Top padding only, so the .page side gutters stay. */
.page-inner.crumbs-only { padding-bottom: 0; }
.chat-typing p { color: var(--muted, #667); font-style: italic; }
.chat-typing p { animation: chat-pulse 1.4s ease-in-out infinite; }
@keyframes chat-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .chat-typing p { animation: none; } }
.chat-queued { opacity: 0.7; }
.chat-queued .chat-queued-note { font-size: 0.75rem; margin-top: 2px; }
.page-inner.crumbs-only + .page, .page-inner.crumbs-only + section { padding-top: 8px; }
.page-inner.crumbs-only + .page > h2:first-child, .page-inner.crumbs-only + section > h2:first-child { margin-top: 0; }
h1 { font-family: var(--f-sans); font-size: var(--fs-h1); line-height: 1.2; color: var(--c-ink); font-weight: 600; margin: 0.35rem 0 0; letter-spacing: -0.01em; }
h2 { font-family: var(--f-sans); font-size: var(--fs-h2); color: var(--c-ink); font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.25rem; margin: 0.2rem 0; color: var(--c-ink); font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); font-size: 13px; font-weight: 500; margin: 0; }
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow.light { color: #fff; }
.hero-slot { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #3b1f2b 0%, #7a2333 35%, #1a3348 75%, #0f2232 100%); }
.hero-slot .hero-img, .page-banner .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-mask, .banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,39,57,.88) 0, rgba(19,39,57,.45) 42%, rgba(19,39,57,.18) 70%); pointer-events: none; }
.hero-copy, .banner-copy { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 4rem; width: 100%; text-align: left; }
.hero-slot h1 { font-size: var(--fs-display); color: #fff; max-width: 720px; font-weight: 600; }
.hero-slot .lead { font-size: 18px; max-width: 560px; margin: 20px 0 32px; color: rgba(255,255,255,.88); }
.acts { display: flex; gap: 12px; flex-wrap: wrap; }
.page-banner { position: relative; height: 280px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: linear-gradient(100deg, #1a3348, #7a2333); }
.page-banner h1 { color: #fff; }
.banner-lead { color: rgba(255,255,255,.88); max-width: 40rem; margin: 0.6rem 0 0; }
.banner-copy { padding-top: 0; padding-bottom: 2.25rem; }
.banner-sub { color: rgba(255,255,255,.88); font-size: 18px; margin: 0.4rem 0 0; font-weight: 400; }
.inner-tabs { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: var(--header-h); z-index: 15; }
.inner-tabs-track { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.inner-tabs-track::-webkit-scrollbar { display: none; }
.inner-tabs a { color: var(--c-muted); text-decoration: none; padding: 16px 20px; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.inner-tabs a:hover { color: var(--c-accent); }
.inner-tabs a.on { color: var(--c-accent); border-bottom-color: var(--c-accent); font-weight: 500; }
.crumbs { font-size: 13px; color: var(--c-muted); margin: 1rem 0 1.5rem; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.s { padding-top: 96px; }  /* top only: a shorthand here wiped .wrap's side gutters */
.about-row { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.about-row p { margin: 20px 0 28px; }
.facts { border-top: 1px solid var(--c-line); }
.facts div { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.facts b { display: block; font-size: 30px; color: var(--c-accent); font-weight: 600; line-height: 1.2; }
.facts span { font-size: 14px; color: var(--c-muted); }
.zig { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.zig.r .zig-img { order: 2; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; aspect-ratio: 7/5; border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-soft); }
.mosaic span { background-size: cover; background-position: center; }
.mosaic-fill { background: linear-gradient(120deg, #f4d21f, #e8742a 40%, #c3203a 70%, #2a3f8f); }
.zig h3 { margin: 8px 0; }
.links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 20px; }
.links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: 15px; gap: 8px; }
.links a small { display: block; color: var(--c-muted); font-size: 12px; font-weight: 400; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; list-style: none; padding: 0; }
.step { background: var(--c-bg-soft); border-radius: var(--r-md); padding: 32px 28px; }
.step b { font-size: 14px; color: var(--c-accent); }
.step h3 { font-size: 20px; margin: 16px 0 8px; }
.step p { font-size: 14px; margin: 0; }
.certs-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cert-home { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 20px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; }
.cert-home img { width: 64px; height: 88px; object-fit: cover; border-radius: 4px; background: var(--c-bg-soft); }
.cert-home h3 { font-size: 16px; margin: 0; }
.cert-home p { font-size: 12px; color: var(--c-muted); margin: 0.3rem 0 0; }
.note { font-size: 13px; color: var(--c-muted); margin-top: 12px; }
.pi-terms { font-size: 0.9rem; margin: 0.25rem 0 1rem; }
.pi-terms p { margin: 0 0 0.25rem; }
.pi-terms ul { margin: 0; padding-left: 1.1rem; }
.pi-terms li { margin: 0.15rem 0; }
.cta { margin-top: 96px; background: var(--c-accent-50); border-radius: var(--r-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.series-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; padding: 0 0 1rem; background: #fff; }
.series-card .mosaic, .series-card-img .mosaic { border-radius: 0; aspect-ratio: 16/9; }
.series-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--c-bg-soft); }
.series-card-img .series-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-card .eyebrow, .series-card strong, .series-card p { padding: 0 1rem; }
.series-card strong { display: block; margin-top: 0.35rem; color: var(--c-ink); }
.series-card strong a { color: inherit; text-decoration: none; }
.card-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0 0; }
.series-card .card-acts, .other-card .card-acts { padding: 0 1rem; margin-top: auto; }
.series-card .card-acts .btn, .series-card .card-acts .btn-ghost, .other-card .card-acts .btn, .other-card .card-acts .btn-ghost { height: 36px; padding: 0 14px; font-size: 13px; }
.one-line { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.other-ranges { margin-top: 3rem; }
.other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 1.25rem 0; }
.other-card { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 1rem 0 1rem; background: #fff; display: flex; flex-direction: column; gap: 0.35rem; }
.other-card .eyebrow, .other-card strong, .other-card > p { padding: 0 1rem; }
.other-card strong { color: var(--c-ink); }
.other-card .mm-poster { margin: 0.5rem 1rem 0; }
.other-card .mm-poster .mm-banner { margin: 0.5rem 0 0; }
.guide-link { margin: 2.5rem 0 1rem; }
.price-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 1rem; }
.price-tabs button { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; margin: 0; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); font: inherit; font-size: 13px; line-height: 1; cursor: pointer; }
.price-tabs button.on { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-50); }
.price-block { border: 1px solid var(--c-line); border-radius: var(--r-md); margin: 0.75rem 0; background: #fff; }
.price-block summary { cursor: pointer; padding: 0.85rem 1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.price-block .table-wrap { padding: 0 0.5rem 0.5rem; }
.sibling-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.sibling-bar a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 0.35rem 0.85rem; margin: 0; font-size: 14px; line-height: 1; }
.sibling-bar a.on { border-color: var(--c-accent); color: var(--c-accent); }
.enquiry-strip { margin: 3rem auto; padding: 2rem; background: var(--c-accent-50); border-radius: var(--r-md); }
.holder-bar { background: var(--c-accent-50); border-left: 4px solid var(--c-accent); padding: 0.9rem 1rem; }
.renewal-due { display: inline-block; margin-left: 0.5rem; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-warn); border: 1px solid var(--c-warn); padding: 0.1rem 0.4rem; border-radius: var(--r-sm); }
.iso-scope-note { background: var(--c-bg-soft); border-left: 4px solid var(--c-navy); padding: 0.85rem 1rem; max-width: 46rem; }
.contact-layout { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(500px, 1.15fr); gap: 48px; align-items: start; }
#office h2 { margin-top: 6px; }
.company-en { font-size: 16px; color: var(--c-text); margin: 8px 0 16px; }
.contact-page .intro { font-size: 16px; max-width: 720px; margin: 0 0 8px; }
.contact-related { font-size: 14px; color: var(--c-muted); margin: 0 0 28px; }
.contact-related a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-to-form { margin: 28px 0 0; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 18px 16px; min-height: 88px; min-width: 0; color: inherit; text-decoration: none; overflow: visible; }
a.contact-card:hover { color: inherit; }
a.contact-card:hover .val { color: var(--c-accent); text-decoration: underline; }
.contact-card.span { grid-column: 1 / -1; }
.card-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-accent); display: flex; align-items: center; justify-content: center; flex: none; overflow: visible; }
.card-icon .icon { width: 22px; height: 22px; }
.card-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; }
.contact-card .lbl { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); line-height: 1.3; }
.contact-card .val { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--c-ink); line-height: 1.45; }
.contact-card .note { display: block; margin-top: 6px; font-size: 13px; color: var(--c-muted); font-weight: 400; line-height: 1.5; }
.form-panel { background: var(--c-accent-50); border-radius: var(--r-lg); padding: 40px; }
.form-panel h1, .form-panel h2 { margin: 6px 0 10px; }
.form-lead { font-size: 14px; color: var(--c-muted); margin: 0 0 24px; max-width: 40rem; }
.form-panel .group { margin: 0 0 22px; }
.group-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(184,50,42,.12); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.span { grid-column: 1 / -1; }
.quote-progress { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; border-bottom: 1px solid var(--c-line); padding-bottom: 16px; }
.quote-progress li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--c-muted); }
.quote-progress li.on { color: var(--c-accent); font-weight: 600; }
.quote-progress li span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 18rem); gap: 48px; align-items: start; }
.sticky-cta { display: none; }
@media (min-width: 1024px) {
  #office { position: sticky; top: calc(var(--header-h) + 56px + 16px); }
}
@media (prefers-reduced-motion: reduce) {
  #office { position: static; }
}
@media (max-width: 1023px) {
  .contact-layout, .quote-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-panel { padding: 32px 24px; }
}

.site-footer { background: var(--c-footer); color: var(--c-text); padding: 72px 0 32px; margin-top: 0; font-size: 14px; }
.site-footer a { color: var(--c-text); text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer a.btn, .site-footer a.btn-ghost, .site-footer a.btn-ghost-w { display: inline-flex; align-items: center; justify-content: center; margin: 0; line-height: 1; }
.footer-contact .btn { width: 100%; }
.site-footer h2 { font-size: 14px; margin: 0 0 12px; }
.site-footer .brand-name { font-weight: 600; color: var(--c-navy); margin: 0 0 4px; letter-spacing: 0.01em; }
.fcols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.fbot { border-top: 1px solid #d9dde2; margin-top: 48px; padding-top: 20px; font-size: 12px; color: var(--c-muted); }
.sales-dock { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 36px; box-shadow: 0 2px 10px 2px rgba(16,32,48,.16); padding: 12px 8px; display: flex; flex-direction: column; gap: 14px; font-size: 11px; text-align: center; color: var(--c-ink); z-index: 36; width: 72px; }
.sales-dock a, .sales-dock button { background: none; border: 0; color: inherit; text-decoration: none; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; }
#sales-fab { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 768px) {
  :root { --gutter: 20px; --header-h: 60px; --r-panel: 28px; --r-lg: 14px; }
  .header-order, .header-quote, .site-header nav { display: none; }
  .header-inner { gap: 10px; }
  .brand { flex: 1 1 auto; overflow: hidden; }
  .brand .legal, .brand-en { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand .legal { font-size: 1rem; }
  .brand-en { font-size: 0.66rem; }
  /* The header quote button was meant to be hidden here (a.btn outranked it); the menu, hero and dock carry it. */
  .site-header a.btn.header-quote { display: none; }
  .lang-toggle { order: 2; height: 36px; min-width: 40px; padding: 0 8px; }
  .nav-toggle { order: 3; margin-left: 0 !important; }
  body.nav-open .site-header nav { display: flex; flex-direction: column; align-items: stretch; position: fixed; inset: var(--header-h) 0 0; background: rgba(26,51,72,.96); padding: 1.5rem 1rem 6rem; z-index: 40; overflow: auto; }
  body.nav-open .site-header nav a, body.nav-open .nav-products summary { color: #fff; line-height: 2.4; }
  body.nav-open .nav-products-panel { position: static; background: transparent; border: 0; box-shadow: none; }
  body.nav-open .mega-list a, body.nav-open .mega-name { color: rgba(255,255,255,.88); }
  .nav-toggle { display: inline-flex; width: 44px; height: 44px; }
  body.nav-open .nav-toggle > .icon { display: none; }
  body.nav-open .nav-toggle-close { display: inline-flex; }
  body.nav-open .site-header nav .nav-quote-mobile { display: inline-flex !important; margin-top: auto; position: sticky; bottom: 1rem; }
  .hero-slot { min-height: 560px; align-items: flex-end; }
  .hero-copy { padding-bottom: 48px; }
  .hero-slot h1 { font-size: 34px; }
  .hero-slot .lead { font-size: 16px; }
  .hero-mask, .banner-mask { background: linear-gradient(180deg, rgba(19,39,57,.2) 0, rgba(19,39,57,.82) 70%); }
  .page-banner { height: 200px; }
  .page-inner { padding-bottom: 64px; }
  .banner-sub { font-size: 16px; }
  .inner-tabs { position: sticky; top: var(--header-h); }
  .inner-tabs::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 24px; background: linear-gradient(90deg, transparent, #fff); pointer-events: none; }
  .contact-cards, .fields { grid-template-columns: 1fr; }
  .contact-card.span, .field.span { grid-column: auto; }
  #office { display: flex; flex-direction: column; }
  #office .contact-related { order: 2; margin-top: 16px; margin-bottom: 0; }
  #office .contact-cards { order: 1; }
  #office .contact-to-form { order: 3; }
  #office .contact-cards { padding-right: 72px; }
  .form-panel { padding: 24px 20px; }
  .form details.opt summary, form#quote-form summary, form#order-form summary, .btn, .btn-ghost, .btn-ghost-w { min-height: 48px; height: 48px; }
  .form details.opt summary, form#quote-form summary, form#order-form summary { height: 48px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--c-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -4px 16px rgba(16,32,48,.06); }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta .btn { width: 100%; height: 48px; }
  body.sticky-cta-on { padding-bottom: 72px; }
  body.sticky-cta-on .site-footer { padding-bottom: 96px; }

  .s { padding-top: 64px; }
  .about-row, .zig, .certs-home, .series-grid, .other-grid, .fcols { grid-template-columns: 1fr; gap: 24px; }
  .zig.r .zig-img { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step { padding: 20px 16px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 20px; margin-top: 48px; }
  .site-panel { border-radius: 0 0 28px 28px; }
  .sales-dock { top: auto; bottom: 16px; transform: none; width: 52px; height: 52px; padding: 0; border-radius: 50%; background: var(--c-navy); color: #fff; justify-content: center; align-items: center; }
  body.sticky-cta-on .sales-dock { bottom: 84px; }
  .sales-dock .dock-order, .sales-dock .dock-top, .sales-dock .dock-chat span { display: none; }
  .sales-dock { transition: transform .2s ease, opacity .2s ease; }
  .sales-dock.dock-tucked:not(:focus-within) { transform: translateX(40px); opacity: .7; }
  body.has-cart .sales-dock { bottom: 5.2rem; }
  #sales-support { top: 60px; right: 0; left: 0; bottom: 0; width: 100%; height: auto; max-height: none; }
}
.lead { font-size: 1.12rem; max-width: 38rem; line-height: 1.7; }
.muted { color: var(--muted); }
.hero { display: grid; gap: 2.2rem; }
.hero.page { padding-bottom: 1.15rem; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.4fr 0.8fr; align-items: end; } .quote { display: grid; grid-template-columns: 1fr 18rem; gap: 3rem; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } }
.card { background: var(--card); border: 1px solid var(--border); padding: 1.25rem 1.35rem; font-style: normal; }
.card.block { display: block; text-decoration: none; color: inherit; }
.card.block:hover { border-color: var(--vat); }
.big { font-size: 1.6rem; margin: 0.3rem 0; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0; list-style: none; padding: 0; border: 1px solid var(--border); background: var(--card); }
.path li { padding: 1.1rem; border-right: 1px solid var(--border); }
.path li:last-child { border-right: 0; }
table.prices { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
table.prices th, table.prices td { border-bottom: 1px solid #d5cbb8; padding: 6px 8px; text-align: left; }
table.prices td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
button.add, a.add { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 0.85rem; line-height: 1; padding: 4px 10px; margin: 0; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 4px; cursor: pointer; white-space: nowrap; text-decoration: none; }
input.kg { width: 6.5rem; max-width: 100%; font: inherit; padding: 4px 6px; }
@media (max-width: 600px) { table.prices { font-size: 0.85rem; } table.prices th, table.prices td { padding: 5px 4px; } input.kg { width: 4.5rem; } }
.num { color: var(--madder); font-family: Georgia, "Noto Serif", serif; font-size: 1.75rem; margin: 0 0 0.4rem; }
.path-strip { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0.95rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid var(--border); gap: 0; font-weight: 600; font-size: 0.98rem; }
.path-strip li { display: flex; align-items: center; color: var(--vat); }
.path-strip a { color: var(--vat); text-decoration: none; }
.path-strip a:hover { text-decoration: underline; }
.path-strip li:not(:last-child)::after { content: "→"; margin: 0 0.8rem; color: var(--madder); font-weight: 400; }
.path-band { background: #1a3348; color: #f3eee4; }
.path-band-inner { padding-top: 2.25rem; padding-bottom: 2.4rem; }
.path-band h2 { color: #fbf7ef; margin-top: 0; }
.path-lead { max-width: 44rem; color: #e8e0d2; font-size: 1.18rem; line-height: 1.7; margin: 0.85rem 0 1.75rem; }
.path-flow { display: grid; grid-template-columns: 1fr; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.path-flow li { background: #fbf7ef; color: #1c2430; padding: 1.25rem 1.3rem; position: relative; }
.path-flow .muted { color: #3f382f; }
.path-flow h3 { color: #1a3348; }
@media (min-width: 800px) {
  .path-flow { grid-template-columns: 1fr 1fr 0.95fr 0.95fr; gap: 0.85rem 1.15rem; }
  .path-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.95rem;
    top: 50%;
    transform: translateY(-50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid #c4a574;
  }
  /* Tighter visual pair for the first two steps (enquiry + proforma = the order). */
  .path-flow li:nth-child(1)::after { right: -0.75rem; }
  .path-flow { column-gap: 1.35rem; }
  .path-flow li:nth-child(1) { margin-right: -0.4rem; }
}
.path-side-lead { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin: 0.6rem 0 1.1rem; }
.path-side { list-style: none; padding: 0; display: grid; gap: 0; border: 1px solid var(--border); background: var(--card); }
.path-side li { padding: 0.95rem 1rem; border-bottom: 1px solid var(--border); }
.path-side li:nth-child(2) { border-bottom-width: 2px; }
.path-side li:last-child { border-bottom: 0; }
.range { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; }
.range ul { list-style: none; padding: 0; }
.range li { border-top: 1px solid var(--border); padding: 1rem 0; }
.stack { list-style: none; padding: 0; display: grid; gap: 1rem; }
/* footer colours are set with the redesign tokens above */
.form { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--c-text); font-weight: 500; }
.form input, .form textarea { font: inherit; font-size: 16px; height: 48px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; color: var(--c-ink); width: 100%; }
.form textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.form details.opt, form#quote-form details.opt, form#order-form details { margin: 0 0 20px; background: rgba(255,255,255,.55); border: 1px solid rgba(228,231,235,.9); border-radius: var(--r-md); padding: 0 16px; }
.form details.opt summary, form#quote-form summary, form#order-form summary { list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.form details.opt summary::-webkit-details-marker, form#quote-form summary::-webkit-details-marker { display: none; }
.hint { font-size: 0.9rem; }
.result { margin-top: 1rem; padding: 0.9rem 1rem; border-left: 3px solid var(--madder); background: var(--card); white-space: pre-wrap; }
.result.error { border-color: #8a1f16; }
.draft-panel { margin-top: 1.5rem; }
.draft-panel h2 { margin-bottom: 0.4rem; }
.draft-frame { width: 100%; height: 720px; border: 1px solid var(--c-line); background: #fff; }
#sales-fab, #sales-fab.typing, body.has-cart #sales-fab { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.35rem; }
.site-header nav .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 1rem 0 0.25rem; }
.filters label { display: grid; gap: 0.25rem; font-size: 0.9rem; }
.filters input, .filters select { font: inherit; min-height: 44px; padding: 0.4rem 0.6rem; border: 1px solid var(--border); background: #fffdf8; min-width: 14rem; }
table.plist th { position: sticky; top: 0; background: var(--bg); z-index: 2; }
table.plist th.amt, table.prices th.amt { text-align: right; }
table.plist th.amt, table.plist td.amt { width: 6.5rem; }
table.plist th.act, table.plist td.act { width: 7.5rem; text-align: right; }
table.plist tr.group th { position: static; background: #e9e1d2; font-weight: 600; font-size: 0.9rem; padding-top: 0.55rem; }
table.plist .pname .en { display: block; font-weight: 600; }
table.plist .pname .zh { display: block; font-size: 0.8rem; color: var(--muted); }
table.plist .usd-m { display: none; }
.inrow { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.4rem; }
.inrow-kg { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; }
.inrow-kg input { width: 6.5rem; min-height: 44px; }
.inrow button { min-height: 44px; }
button.add { min-height: 44px; min-width: 44px; }
button.add.added { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
input.kg { min-height: 40px; }
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 1.25rem; background: var(--card); border-top: 2px solid var(--vat); box-shadow: 0 -4px 16px rgba(26,51,72,0.12); }
.cart-bar[hidden] { display: none; }
body.has-cart { padding-bottom: 7.5rem; }
html:has(body.has-cart) { scroll-padding-bottom: 8rem; }
#prices, [data-series-prices], #series-prices { scroll-margin-bottom: 8rem; scroll-margin-top: calc(var(--header-h) + 16px); }
body.has-cart #prices, body.has-cart [data-series-prices] { padding-bottom: 7.5rem; }
button.wide { min-height: 44px; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0 0.9rem; }
.draft-actions a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
#sales-support { position: fixed; right: 1.2rem; bottom: 4.8rem; z-index: 41; width: min(23rem, calc(100vw - 1.5rem)); height: 38rem; max-height: calc(100vh - 6rem); background: var(--card); border: 1px solid var(--border); box-shadow: 0 8px 28px rgba(26,51,72,0.15); display: flex; flex-direction: column; }
#sales-support[hidden] { display: none; }
#sales-support header { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); }
#sales-support .log { flex: 1; overflow: auto; padding: 1rem; display: grid; gap: 0.7rem; align-content: start; }
#sales-support .user { margin-left: 2rem; background: #e7dfd0; padding: 0.5rem 0.75rem; font-size: 0.92rem; white-space: pre-wrap; }
#sales-support .support { margin-right: 1.5rem; border-left: 2px solid var(--madder); padding: 0.5rem 0.75rem; font-size: 0.92rem; white-space: pre-wrap; }
#sales-support form { border-top: 1px solid var(--border); padding: 0.75rem; display: grid; gap: 0.45rem; }
#sales-support textarea { font: inherit; width: 100%; min-height: 4.5rem; }
#sales-support div.support p { margin: 0; }
#sales-support .chat-links { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; margin-top: 0.45rem !important; white-space: normal; }
#sales-support .chat-links a { color: var(--madder); font-weight: 600; overflow-wrap: anywhere; }
#sales-support .chat-vote { display: flex; gap: 0.4rem; margin-top: 0.45rem !important; white-space: normal; }
#sales-support .chat-vote .vote { font: inherit; font-size: 0.75rem; line-height: 1.2; padding: 0.2rem 0.55rem; border: 1px solid var(--border); background: transparent; color: var(--muted, #5b6670); border-radius: 999px; cursor: pointer; }
#sales-support .chat-vote .vote.on { border-color: var(--madder); color: var(--madder); }
#sales-support .chat-tools { padding: 0 0.75rem 0.5rem; display: flex; justify-content: flex-end; }
#sales-support .chat-tools .btn-ghost { font-size: 0.82rem; padding: 0.3rem 0.7rem; }
#sales-support .chat-fraud { margin: 0; font-size: 0.72rem; line-height: 1.4; }
@media (max-width: 640px) {
  .site-header, .site-footer { flex-direction: column; }
  #sales-fab, #sales-fab.typing, body.has-cart #sales-fab { display: none !important; }
  table.plist .usd { display: none; }
  table.plist .usd-m { display: block; font-size: 0.78rem; color: var(--muted); }
  table.plist th.amt, table.plist td.amt { width: 5.4rem; }
  table.plist th.act, table.plist td.act { width: 5.2rem; }
  .filters input, .filters select { min-width: 0; width: 100%; }
  .filters label { flex: 1 1 100%; }
  .draft-panel { padding: 0 0.25rem; }
  .draft-actions a { flex: 1 1 100%; }
  .draft-frame { height: 640px; }
  .cart-bar { padding: 0.5rem 0.9rem; }
  .range { grid-template-columns: 1fr; }
  #sales-support { inset: 60px 0 0; right: 0; bottom: 0; width: 100%; height: auto; max-height: none; }
}
.mm-banner { margin: 0.75rem 0 0; max-width: 40rem; }
.mm-banner img { width: 100%; height: auto; display: block; border: 1px solid var(--border); background: #fff; }
.mm-banner figcaption { font-size: 0.95rem; color: var(--muted); margin: 0.6rem 0 0; }
.mm-in-row { margin-top: 0.6rem; }
.product-range .sel-table, table.fastness { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 1rem 0; }
.sel-table th, .sel-table td, table.fastness th, table.fastness td { border-bottom: 1px solid #d5cbb8; padding: 0.45rem 0.5rem; text-align: left; vertical-align: top; }
.sel-table th, table.fastness th { color: var(--vat); }
.sel-table td:last-child { min-width: 10rem; }
.eco-note { max-width: 46rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0.75rem; list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.swatch { background: var(--card); border: 1px solid var(--border); padding: 0.4rem 0.4rem 0.7rem; display: flex; flex-direction: column; gap: 0.25rem; }
.swatch img { width: 100%; height: 3.2rem; object-fit: cover; display: block; border: 1px solid #ece4d4; }
.swatch p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.swatch .zh, table.fastness .zh { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.badge, .cert-badge { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 8px; margin: 0; border-radius: var(--r-sm); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; border: 1px solid var(--c-line); background: var(--c-bg-soft); color: var(--c-ink); width: fit-content; text-decoration: none; white-space: nowrap; }
.badge.priced { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.badge.enquiry, .badge.request { background: var(--c-bg-soft); color: var(--c-ink); border-color: var(--c-line); }
a.cert-badge:hover { border-color: var(--c-navy); color: var(--c-navy); }
.swatch-price { font-size: 0.85rem; margin: 0 !important; }
.swatch-act { margin-top: 0.35rem !important; }
.swatch-act .add, .swatch-quote { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.swatch-link { display: block; }
table.fastness { font-variant-numeric: tabular-nums; font-size: 0.875rem; }
table.fastness td { vertical-align: middle; text-align: center; padding: 0.4rem 0.35rem; min-width: 2.7rem; }
table.fastness thead th { font-weight: 600; min-width: 2.7rem; background: var(--bg); position: sticky; z-index: 2; white-space: nowrap; line-height: 1.2; }
table.fastness thead tr:first-child th { top: 0; height: 2.6rem; }
table.fastness thead tr:nth-child(2) th { top: 2.6rem; height: 2.4rem; }
table.fastness tbody th, table.fastness thead th.dye-head { position: sticky; left: 0; background: var(--card); z-index: 3; min-width: 12rem; max-width: 14rem; box-shadow: 4px 0 8px rgba(26,51,72,0.06); text-align: left; }
table.fastness thead th.dye-head { z-index: 5; background: var(--bg); top: 0; vertical-align: middle; white-space: nowrap; box-shadow: 4px 0 8px rgba(26,51,72,0.06), 0 1px 0 #d5cbb8; }
table.fastness tbody th { font-weight: 600; vertical-align: middle; }
.dye-cell { display: flex; align-items: center; gap: 0.5rem; }
.dye-cell img { width: 3.2rem; height: 1.6rem; object-fit: cover; flex: 0 0 auto; border: 1px solid #ece4d4; }
.dye-names { display: flex; flex-direction: column; min-width: 0; }
.dye-jump { font-weight: 400; font-size: 0.8rem; }
.scroll-hint { font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0; }
.legend { max-width: 46rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.table-wrap.fade-x { background: linear-gradient(to right, var(--bg) 0, var(--bg) 12rem, transparent 12.5rem), linear-gradient(to left, var(--bg) 0, rgba(243,238,228,0) 1.25rem); background-attachment: local, scroll; }
.shade-block .methods { max-width: 46rem; }
.range-cards { display: none; }
.range-card { background: var(--card); border: 1px solid var(--border); padding: 1rem 1.1rem; }
.range-card h3 { margin-top: 0; }
.range-points { margin: 0.4rem 0 0.6rem; padding-left: 1.1rem; }
.range-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 0; }
.certs { margin-top: 2.5rem; }
.certs > p { max-width: 42rem; }
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1.25rem; }
.cert-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; background: var(--card); border: 1px solid var(--border); padding: 1rem; min-width: 0; }
.cert-card > div { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 800px) { .cert-card { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; } }
.cert-thumb img { width: 100%; height: auto; display: block; border: 1px solid #ece4d4; background: #fff; }
.cert-card .holder { margin: 0.2rem 0 0.8rem; }
.cert-card h3 { margin-top: 0; }
.cert-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cert-links a.btn-ghost { white-space: normal; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; line-height: 1.3; text-align: center; max-width: 100%; }
.about-next { margin-top: 2.5rem; }
@media (max-width: 700px) {
  table.fastness { font-size: 0.875rem; }
  table.fastness tbody th, table.fastness thead th.dye-head { min-width: 9.5rem; max-width: 11rem; }
  .product-range .range-table-wrap, .range-scroll-hint, .product-range > .mm-banner { display: none; }
  .range-cards { display: grid; gap: 1rem; margin-top: 1rem; }
}
.supply-terms { max-width: 46rem; }
.supply-terms h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.supply-terms .provisional { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vat); font-weight: 600; border: 1px solid var(--border); padding: 0.1rem 0.4rem; }
.supply-terms dl { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0.9rem 0 0; }
.supply-terms dt { color: var(--vat); font-weight: 600; }
.supply-terms dd { margin: 0; }
@media (max-width: 640px) { .supply-terms dl { grid-template-columns: 1fr; gap: 0.15rem 0; } .supply-terms dd { margin-bottom: 0.65rem; } }
.quote-layout aside .supply-terms dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem 0; }
.quote-layout aside .supply-terms dd { margin-bottom: 0.65rem; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; padding: 0; margin: 0.35rem 0 0; }

.cert-coverage-note { max-width: 46rem; }
.swatch .cert-badges { margin-top: 0.3rem; }
td.pname .cert-badges { margin-top: 0.25rem; }

#cart input.kg { width: 7rem; max-width: 100%; }
#cart input.kg[aria-invalid="true"] { border-color: #8c3324; }
.kg-error, .cart-limit { color: #8c3324; font-size: 0.85rem; margin: 0.35rem 0 0; max-width: 46rem; }
#cart td:last-child { position: sticky; right: 0; background: var(--card); }
.cart-bar { flex-wrap: wrap; }
@media (max-width: 700px) {
  #cart input.kg { width: 5.5rem; }
}


.site-header .nav-link { min-height: 0; display: inline-flex; }
table.prices, table.plist, table.fastness, .sel-table { background: #fff; }
table.plist th { background: var(--c-bg); }
table.plist tr.group th { background: var(--c-bg-soft); }
.form input, .form textarea, .filters input, .filters select { background: #fff; border-color: var(--c-line); }
#sales-support { background: #fff; border-radius: var(--r-md); }
#sales-support .user { background: var(--c-bg-soft); }
.card { background: #fff; border-color: var(--c-line); }
.cert-card { background: #fff; }
.swatch { background: #fff; }
.draft-frame { background: #fff; border-color: var(--c-line); }
.cart-bar { background: #fff; border-top-color: var(--c-navy); }

:root { --sh-card: 0 8px 24px rgba(16,32,48,.12); }
/* Shared sticky first-column / header rule for comparison, fastness and price tables */
.sheet-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.sheet { width: 100%; border-collapse: collapse; background: #fff; }
table.sheet thead th { position: sticky; top: 0; background: var(--c-bg-soft); z-index: 2; font-size: 14px; font-weight: 600; min-height: 48px; height: auto; padding: 8px; text-align: left; border-bottom: 1px solid var(--c-line); color: var(--c-ink); vertical-align: middle; }
table.sheet tbody th,
table.sheet .sheet-stub { position: sticky; left: 0; background: #fff; z-index: 3; box-shadow: 4px 0 8px rgba(26,51,72,0.06); }
table.sheet thead th.sheet-stub,
table.sheet thead th.dye-head { z-index: 5; background: var(--c-bg-soft); box-shadow: 4px 0 8px rgba(26,51,72,0.06); }
table.sheet tbody th,
table.sheet tbody td { height: 48px; padding: 6px 8px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
table.sheet tbody th { font-size: 16px; font-weight: 500; color: var(--c-ink); text-align: left; }
table.fastness thead tr:first-child th { top: 0; height: 2.6rem; }
table.fastness thead tr:nth-child(2) th { top: 2.6rem; height: 2.4rem; }
.cmp-table { table-layout: fixed; width: 100%; min-width: calc(11rem + var(--cmp-cols, 6) * 7.5rem); }
.cmp-table col.cmp-stub-col { width: 11rem; }
.cmp-table thead th:not(.sheet-stub), .cmp-table td.cmp-cell { text-align: center; padding-left: 4px; padding-right: 4px; }
.cmp-table thead th:not(.sheet-stub) .badge { display: inline-flex; padding-left: 6px; padding-right: 6px; letter-spacing: .02em; max-width: 100%; }
.cmp-dash { color: var(--c-muted); opacity: .7; }
.cmp-table td.cmp-cell { font-variant-numeric: tabular-nums; }
.cmp-ns-text { color: var(--c-muted); font-size: 13px; }
.cmp-legend-foot { margin: 0.75rem 0 0; font-size: 13px; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0.25rem 0 1rem; font-size: 14px; color: var(--c-muted); }
.cmp-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.cmp-scroll-hint { margin: 0 0 6px; text-align: right; }
.scroll-hint[data-overflow-hint][data-fits] { display: none; }
.cmp-table thead th { font-weight: 600; height: auto; white-space: normal; line-height: 1.3; }
.cmp-table thead th a { color: inherit; text-decoration: none; display: block; }
.cmp-table thead th .badge { margin-top: 6px; }

.cmp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c-ok); vertical-align: middle; }
.cmp-acc { border: 1px solid var(--c-line); border-radius: var(--r-sm); margin: 0.75rem 0; background: #fff; }
.cmp-acc summary { height: 48px; display: flex; align-items: center; padding: 0 1rem; cursor: pointer; font-weight: 600; color: var(--c-ink); list-style: none; border-left: 3px solid transparent; }
.cmp-acc summary::-webkit-details-marker { display: none; }
.cmp-acc[open] summary { border-left-color: var(--c-accent); }
.cmp-acc .cmp-body { padding: 0 1rem 1.25rem; }
.cmp-sub { font-size: 16px; margin: 1rem 0 0.35rem; }
.product-compare { padding-bottom: 1.5rem; }
.series-cta { margin: 1.25rem 0 1.5rem; }
.cart-empty { margin: 1rem 0 1.5rem; }
.cart-empty .acts { margin-top: 0.75rem; }
.series-card .badge, .other-card .badge, .preview-copy .badge { margin: 0.5rem 1rem 0; }
.other-card .badge { margin-bottom: 0; }
.preview-copy .badge { margin: 0 0 0.5rem; }
/* Series quick-view tabs on /products */
.series-preview { margin: 2.5rem 0 0; background: var(--c-bg-soft); border-radius: var(--r-lg); padding: 0 0 1.5rem; overflow: hidden; }
.series-preview-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; background: #fff; border-bottom: 1px solid var(--c-line); }
.series-preview-tabs::-webkit-scrollbar { display: none; }
.series-preview-tabs button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--c-muted); font: inherit; font-size: 15px; padding: 16px 20px; height: 56px; cursor: pointer; white-space: nowrap; }
.series-preview-tabs button[aria-selected="true"] { color: var(--c-accent); border-bottom-color: var(--c-accent); font-weight: 500; }
.preview-panel { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding: 2rem 1.5rem 0.5rem; }
.preview-panel[hidden] { display: none; }
.preview-copy h3 { font-size: 28px; margin: 0 0 0.6rem; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.preview-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: 12px; color: var(--c-ink); }
.preview-media { min-width: 0; }
.preview-media a { display: block; }
.preview-media .series-cover { width: 100%; height: auto; border-radius: var(--r-md); display: block; object-fit: cover; aspect-ratio: 16/9; }
/* Desktop Products mega menu; header stays 72px */
.nav-caret { display: inline-flex; vertical-align: middle; }
.nav-caret .icon { width: 16px; height: 16px; }
.nav-caret-plus { display: none; }
@media (min-width: 769px) {
  .site-header { overflow: visible; }
  .nav-products { position: static; }
  /* Hover bridge: the trigger fills the full header height, so there is no gap between it and the panel. */
  .nav-products > summary { display: flex; align-items: center; gap: 4px; height: var(--header-h); line-height: 1; }
  .nav-products-panel { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0 0 12px 12px; box-shadow: var(--sh-card); min-width: 0; padding: 0; z-index: 31; }
  .nav-products[open] .nav-products-panel { display: block; }
  .mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }
  /* Keep the floating sales dock off the open menu. */
  body:has(.nav-products[open]) .sales-dock { opacity: 0; pointer-events: none; }
  .sales-dock.dock-tucked:not(:hover):not(:focus-within) { transform: translate(64px, -50%); opacity: .55; }
  .sales-dock { transition: transform .2s ease, opacity .2s ease; }
  .mega-list { display: grid; gap: 0; align-content: start; }
  .mega-list a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; }
  .mega-list a:hover, .mega-list a:focus { background: var(--c-bg-soft); }
  .mega-item .mega-name { display: block; font-size: 15px; font-weight: 600; color: var(--c-ink); }
  .mega-item .mega-use { display: block; font-size: 13px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
  .mega-aside { min-width: 0; }
  .mega-aside .series-cover { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-md); display: block; background: var(--c-bg-soft); }
  .mega-links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; align-items: stretch; }
  .mega-links .btn, .mega-links .btn-ghost { width: 100%; }
}
@media (max-width: 768px) {
  .nav-caret-down { display: none; }
  .nav-caret-plus { display: inline-flex; }
  .nav-products[open] .nav-caret-plus { transform: rotate(45deg); }
  .mega-aside { display: none; }
  .mega-use { display: none; }
  .mega-inner { display: block; padding: 0; max-width: none; }
  body.nav-open .site-header nav {
    height: calc(100dvh - var(--header-h)) !important;
    min-height: calc(100vh - var(--header-h));
    max-height: none !important;
    width: 100% !important;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
  }
  body.nav-open .site-header .nav-link,
  body.nav-open .site-header nav a.nav-link {
    min-height: 44px !important;
    height: auto !important;
    line-height: 1.4;
  }
  body.nav-open .nav-products-panel { position: static !important; width: auto; inset: auto; }
  body.nav-open .nav-quote-mobile { z-index: 2; }
  .preview-panel { grid-template-columns: 1fr; gap: 24px; padding: 1.25rem 1rem 0.25rem; }
  .preview-copy h3 { font-size: 22px; }
  .series-preview-tabs button { height: 52px; }
  .cmp-table thead th { height: auto; font-size: 13px; line-height: 1.25; overflow: visible; word-break: break-word; }
  .cmp-table { min-width: calc(8.5rem + var(--cmp-cols, 6) * 7.25rem); }
  .cmp-table col.cmp-stub-col { width: 8.5rem; }
  .cmp-table tbody th.sheet-stub { font-size: 14px; }
}

