/*
 * Westmoor Modern — the ONE global stylesheet.
 * Storefront, accounts, admin, installer, invoice, and responsive states.
 * All design tokens and component styles live here. No page-local CSS.
 */

/* 01 — Foundations */
:root {
  --ink: #16343b;
  --text: #314b52;
  --muted: #62767b;
  --primary: #087369;
  --primary-hover: #07594f;
  --primary-soft: #edf7f3;
  --surface: #ffffff;
  --soft: #f5f8f8;
  --tint: #edf4f5;
  --border: #dce7e7;
  --green: #167145;
  --blue: #226596;
  --amber: #8a600f;
  --danger: #ad3535;
  --radius: 12px;
  --shadow: 0 14px 45px rgb(22 52 59 / 7%);
  --container: 1460px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; color-scheme: light; }
body { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, input, select, textarea, button { font-family: var(--font); }
body.dialog-open { overflow: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.3em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5vw, 76px); }
h2 { font-size: clamp(32px, 3.2vw, 48px); }
h3 { font-size: 24px; letter-spacing: -.025em; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { border-radius: 0; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; opacity: .65; }
::selection { background: #d4eee4; color: var(--ink); }
:focus-visible { outline: 3px solid #7bbfb0; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 96px; }
.section-bottom { padding-bottom: 96px; }
.section-tint { background: var(--tint); }
.eyebrow { margin-bottom: 22px; color: var(--primary); font-size: 11px; font-weight: 750; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; color: var(--muted); }
.icon { width: 22px; height: 22px; flex: 0 0 22px; }
.button, .icon-button, .text-link, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; }
.button { min-height: 54px; padding: 15px 23px; border: 1px solid var(--primary); border-radius: 7px; background: var(--primary); color: white; font-size: 14px; font-weight: 650; line-height: 1.4; text-align: center; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); }
.button-small { min-height: 43px; padding: 10px 16px; font-size: 13px; }
.button-block { width: 100%; }
.button-outline { background: white; border-color: var(--border); color: var(--ink); }
.button-outline:hover { background: var(--primary-soft); border-color: #abcabf; }
.button-danger { background: #fff3f1; border-color: #efc4be; color: var(--danger); }
.button-danger:hover { background: #ffe9e5; border-color: #dea8a0; }
.button-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.text-link { justify-content: flex-start; color: var(--primary); font-size: 14px; font-weight: 650; line-height: 1.5; }
.text-link:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 5px; }
.text-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
.text-button { border: 0; background: none; color: var(--primary); padding: 0; font-weight: 650; font-size: 13px; line-height: 1.5; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-button { width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); border-radius: 50%; }
.icon-button:hover { background: var(--primary-soft); }
.round-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.round-link:hover { background: #d8eee4; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-160%); border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }
.subtle, .muted { color: var(--muted); }
.subtle { font-size: 13px; }
.danger { color: var(--danger); }
.nowrap { white-space: nowrap; }
.align-right { text-align: right; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 7px; }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 5px; font-size: 11px; line-height: 1.4; font-weight: 650; white-space: nowrap; letter-spacing: .01em; }
.badge-green { color: #196643; background: #e9f5ed; }
.badge-blue { color: #255e8b; background: #edf4fb; }
.badge-amber { color: #865b13; background: #fff5df; }
.badge-muted { color: #627279; background: #eef2f3; }
.notice { padding: 16px 20px; margin: 0 0 20px; border: 1px solid var(--border); border-radius: 7px; background: var(--soft); font-size: 14px; line-height: 1.6; }
.notice-success { background: #eef8f0; border-color: #c8e4cd; color: #23613b; }
.notice-error { background: #fff1ed; border-color: #efd0c7; color: #96392a; }
.notice-info { background: #f0f6fa; border-color: #d1e2ed; color: #315975; }
.flash-container:not(:empty) { padding-top: 24px; }
.toast { position: fixed; z-index: 500; bottom: 28px; left: 50%; transform: translateX(-50%); padding: 13px 22px; background: var(--ink); color: white; border-radius: 8px; box-shadow: var(--shadow); }

/* 02 — Shared forms */
label { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--ink); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-width: 0; min-height: 50px; margin-top: 8px; padding: 12px 14px; border: 1px solid #d3e0e1; border-radius: 6px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.5; box-shadow: none; transition: border-color .2s; }
input::placeholder, textarea::placeholder { color: #718388; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px #08736912; }
input[type="file"] { padding: 11px; font-size: 13px; }
textarea { resize: vertical; }
select { padding-right: 30px; }
label small, .optional { color: var(--muted); font-weight: 400; font-size: 12px; }
label small { display: block; margin-top: 7px; }
.optional { margin-left: 5px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid > *, .form-stack > * { min-width: 0; }
.full { grid-column: 1 / -1; }
.form-stack { display: grid; gap: 22px; }
.form-stack .full { grid-column: auto; }
.form-footer { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.form-footer small { color: var(--muted); max-width: 280px; font-size: 12px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 400; }
.checkbox input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 17px; accent-color: var(--primary); }
.checkbox a, .prose a, .auth-form p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 15px; top: 23px; color: var(--muted); width: 19px; height: 19px; }
.input-icon input:not([type="checkbox"]) { padding-left: 45px; }
.password-input { position: relative; }
.password-input input:not([type="checkbox"]) { padding-right: 55px; }
.password-input .icon-button { position: absolute; top: 12px; right: 5px; border: 0; width: 40px; height: 40px; background: transparent; }
.honeypot { position: absolute; width: 1px; height: 1px; left: -10000px; overflow: hidden; }
.panel-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.panel-card > h2 { font-size: 26px; margin-bottom: 24px; }
.panel-card > h3 { font-size: 20px; margin-bottom: 20px; }
.panel-card > p { color: var(--muted); font-size: 15px; }
.panel-card + .panel-card { margin-top: 24px; }
.card-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 25px; }
.card-heading h2 { font-size: 24px; }
.empty-state { padding: 70px 25px; text-align: center; border-radius: 10px; background: var(--soft); }
.empty-state > .icon { width: 44px; height: 44px; margin: 0 auto 22px; color: var(--primary); }
.empty-state h2, .empty-state h3 { margin-bottom: 16px; font-size: 30px; }
.empty-state p { color: var(--muted); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pagination a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 5px; font-size: 14px; font-weight: 600; }
.pagination .current { color: white; background: var(--primary); border-color: var(--primary); }

/* 03 — Storefront shell */
.announcement {
  --announcement-bg: #143e35;
  --announcement-edge: #0c2d29;
  --announcement-ink: #fffaf0;
  --announcement-accent: #edc789;
  --announcement-muted: #dcccae;
  --announcement-border: #ffffff30;
  --announcement-button: #f3d6a6;
  --announcement-button-ink: #233e31;
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(ellipse at 5% 100%, #9c774524, transparent 44%), linear-gradient(110deg, var(--announcement-edge), var(--announcement-bg) 55%, var(--announcement-edge));
  color: var(--announcement-ink); border-top: 2px solid var(--announcement-accent); border-bottom: 1px solid var(--announcement-border);
}
.announcement--winter { --announcement-bg: #193f53; --announcement-edge: #102d3f; --announcement-accent: #bfdfec; --announcement-muted: #c4d8e2; --announcement-button: #e2f0f6; --announcement-button-ink: #193f53; }
.announcement--spring { --announcement-bg: #284d40; --announcement-edge: #173c34; --announcement-accent: #f0c9d5; --announcement-muted: #d6e0cc; --announcement-button: #ecedd3; --announcement-button-ink: #284d40; }
.announcement--summer { --announcement-bg: #16534e; --announcement-edge: #123c39; --announcement-accent: #ffe19a; --announcement-muted: #e5d9b6; --announcement-button: #ffe19a; --announcement-button-ink: #19473d; }
.announcement::after { content: ''; position: absolute; z-index: 0; width: 400px; height: 400px; top: -290px; right: 10%; border: 1px solid #ffffff09; border-radius: 50%; box-shadow: 0 0 0 35px #ffffff03, 0 0 0 75px #ffffff02; pointer-events: none; }
.announcement-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; min-height: 98px; padding-block: 17px; }
.announcement-offer { display: flex; align-items: center; gap: 21px; min-width: 0; }
.announcement-emblem { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; color: var(--announcement-accent); border: 1px solid var(--announcement-border); border-radius: 50%; background: #ffffff05; box-shadow: inset 0 0 0 5px #ffffff03; }
.announcement-emblem .announcement-symbol { width: 31px; height: 31px; transform: rotate(-10deg); }
.announcement-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.announcement-label { display: inline-flex; align-items: center; gap: 9px; color: var(--announcement-accent); font-size: 10px; line-height: 1.45; font-weight: 650; text-transform: uppercase; letter-spacing: .2em; overflow-wrap: anywhere; }
.announcement-label::before { content: ''; width: 22px; height: 1px; flex: 0 0 22px; background: currentColor; opacity: .7; }
.announcement-message { display: block; min-width: 0; max-width: 800px; font-size: clamp(21px, 1.9vw, 28px); line-height: 1.25; font-weight: 650; letter-spacing: -.025em; text-wrap: pretty; overflow-wrap: anywhere; }
.announcement-meta { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-width: 0; flex: 0 1 auto; }
.announcement-detail { display: flex; align-items: center; gap: 13px; min-width: 0; max-width: 280px; padding-left: 28px; border-left: 1px solid var(--announcement-border); }
.announcement-detail > .icon { width: 19px; height: 19px; flex-basis: 19px; color: var(--announcement-accent); }
.announcement-detail-copy { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.announcement-detail-label { color: var(--announcement-muted); font-size: 10px; line-height: 1.5; letter-spacing: .06em; }
.announcement-detail-value { color: var(--announcement-ink); font-size: 14px; line-height: 1.5; font-weight: 550; }
.announcement-link { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-width: 0; padding: 12px 18px; border: 1px solid transparent; border-radius: 5px; background: var(--announcement-button); color: var(--announcement-button-ink); font-size: 12px; font-weight: 700; line-height: 1.5; text-align: center; overflow-wrap: anywhere; transition: background .2s, box-shadow .2s; }
.announcement-link:hover { background: #fffaf0; box-shadow: 0 3px 18px #00000020; }
.announcement-link:focus-visible { outline-color: var(--announcement-accent); }
.announcement-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
.announcement-art { position: absolute; z-index: 0; top: 50%; width: 190px; height: 120px; color: var(--announcement-accent); opacity: .12; pointer-events: none; }
.announcement-art--left { left: -72px; transform: translateY(-50%) rotate(-22deg); }
.announcement-art--right { right: -52px; transform: translateY(-50%) rotate(156deg); }
.announcement-art .announcement-symbol:first-child { position: absolute; width: 94px; height: 94px; top: 3px; left: 8px; }
.announcement-art .announcement-symbol:nth-child(2) { position: absolute; width: 48px; height: 48px; top: -5px; left: 120px; transform: rotate(44deg); }
.announcement-art .announcement-symbol:last-child { position: absolute; width: 35px; height: 35px; top: 78px; left: 102px; transform: rotate(-20deg); }
@media (max-width: 1100px) {
  .announcement-inner { gap: 20px 28px; }
  .announcement-meta { gap: 20px; }
  .announcement-offer { gap: 16px; }
  .announcement-detail { padding-left: 20px; gap: 10px; max-width: 220px; }
  .announcement-link { padding-inline: 13px; gap: 9px; }
}
@media (max-width: 820px) {
  .announcement-inner { flex-wrap: wrap; gap: 15px; padding-block: 17px; }
  .announcement-offer { flex: 1 1 100%; }
  .announcement-emblem { width: 45px; height: 45px; flex-basis: 45px; }
  .announcement-emblem .announcement-symbol { width: 26px; height: 26px; }
  .announcement-message { font-size: 23px; }
  .announcement-meta { flex: 1 1 100%; justify-content: space-between; margin-left: 61px; }
  .announcement-detail { border-left: 0; padding-left: 0; max-width: 60%; }
}
@media (max-width: 480px) {
  .announcement-inner { gap: 13px; padding-block: 15px; }
  .announcement-offer { gap: 12px; }
  .announcement-emblem { width: 39px; height: 39px; flex-basis: 39px; }
  .announcement-emblem .announcement-symbol { width: 24px; height: 24px; }
  .announcement-copy { gap: 4px; }
  .announcement-label { font-size: 9px; letter-spacing: .16em; gap: 7px; }
  .announcement-label::before { width: 15px; flex-basis: 15px; }
  .announcement-message { font-size: clamp(16px, 4.9vw, 19px); line-height: 1.3; }
  .announcement-meta { gap: 10px; margin-left: 0; padding-top: 11px; border-top: 1px solid var(--announcement-border); }
  .announcement-detail { flex: 1 1 50%; gap: 9px; max-width: none; }
  .announcement-detail > .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .announcement-detail-label { font-size: 9px; }
  .announcement-detail-value { font-size: 11px; }
  .announcement-link { flex: 0 1 48%; gap: 6px; min-height: 44px; padding: 9px 8px; font-size: 10px; }
  .announcement-link .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .announcement-art { opacity: .08; }
}
@media (max-width: 359px) {
  .announcement-detail-value { font-size: 10px; }
  .announcement-detail { gap: 7px; }
  .announcement-link .icon { display: none; }
}
.site-header { position: sticky; top: 0; z-index: 50; background: #fffffffa; border-bottom: 1px solid #e8efef; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 99px; }
.brand { display: inline-flex; gap: 13px; align-items: center; min-width: 0; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.brand-symbol { display: grid; place-items: center; width: 47px; height: 47px; color: var(--primary); background: var(--primary-soft); border-radius: 11px; flex: 0 0 47px; }
.brand-symbol .icon { width: 28px; height: 28px; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { color: var(--ink); font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.035em; max-width: 280px; overflow-wrap: anywhere; }
.brand-copy small { color: var(--muted); font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .09em; }
.desktop-nav { display: flex; align-items: center; gap: 29px; }
.desktop-nav a { padding: 8px 0; font-size: 13px; color: var(--text); white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav [aria-current="page"] { color: var(--primary); }
.desktop-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-contact { white-space: nowrap; }
.menu-toggle { display: none; }
.mobile-nav { position: fixed; top: 99px; bottom: 0; left: 0; right: 0; padding: 26px; background: white; z-index: 49; overflow-y: auto; }
.mobile-nav nav { max-width: 680px; margin-inline: auto; }
.mobile-nav a { display: flex; justify-content: space-between; gap: 15px; padding: 18px 6px; border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 600; color: var(--ink); }
.site-footer { background: #f3f7f7; border-top: 1px solid var(--border); padding-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.1fr; gap: 60px; padding-bottom: 60px; }
.footer-grid > * { min-width: 0; }
.footer-brand > p { color: var(--muted); font-size: 14px; max-width: 330px; margin-top: 24px; line-height: 1.85; }
.footer-grid h2 { font-size: 13px; font-weight: 700; margin-bottom: 24px; letter-spacing: 0; }
.footer-grid > div > a:not(.brand):not(.text-link) { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--primary); }
.footer-grid > div > p { font-size: 13px; color: var(--muted); }
.footer-grid small { font-size: 12px; color: var(--muted); }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.page-intro { padding-top: 78px; padding-bottom: 65px; }
.page-intro h1 { max-width: 1000px; }
.page-intro .lead { max-width: 680px; margin: 25px 0 0; }
.page-intro.compact { padding-top: 60px; padding-bottom: 45px; }
.page-intro.compact h1 { font-size: clamp(38px,4vw,60px); }

/* 04 — Homepage */
.hero { padding-top: 68px; }
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; align-items: center; margin-bottom: 45px; }
.hero h1 { font-size: clamp(56px, 6.2vw, 96px); letter-spacing: -.055em; line-height: 1.05; }
.hero .eyebrow { margin-bottom: 24px; }
.hero-copy { padding-top: 36px; max-width: 520px; }
.hero-copy .lead { max-width: 480px; }
.hero-copy .button-row { gap: 23px; }
.live-label { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.hero-photo { position: relative; height: clamp(280px,27vw,410px); overflow: hidden; border-radius: 10px; background: var(--tint); }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-caption { position: absolute; bottom: 26px; left: 26px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 16px 20px; background: #fffffff2; border-radius: 5px; color: var(--ink); font-size: 14px; font-weight: 600; }
.hero-search { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 24px; align-items: center; margin: -2px 32px 0; padding: 26px 32px; background: white; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 10px 10px; box-shadow: var(--shadow); }
.hero-search label { min-width: 0; }
.hero-search label > span { color: var(--muted); font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.hero-search select, .hero-search input { border: 0; margin: 2px 0 0; padding: 7px 0; min-height: 34px; font-size: 14px; background: transparent; }
.hero-search-query { border-left: 1px solid var(--border); padding-left: 28px; }
.assurance-strip { display: grid; grid-template-columns: repeat(3,1fr); padding: 37px 15px 0; gap: 35px; }
.assurance-strip > div { display: flex; align-items: center; gap: 17px; }
.assurance-strip .icon { color: var(--primary); width: 29px; height: 29px; flex-basis: 29px; }
.assurance-strip strong { display: block; font-size: 13px; color: var(--ink); }
.assurance-strip small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 35px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p:not(.eyebrow) { color: var(--muted); margin: 17px 0 0; font-size: 15px; }
.section-head > .text-link { padding-bottom: 7px; flex-shrink: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.product-card { min-width: 0; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card-image { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.product-card-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-image > img { transform: scale(1.035); }
.product-card-image > .badge { position: absolute; top: 15px; left: 15px; background: #fffffff0; box-shadow: 0 3px 7px #16343b0a; }
.product-card-body { padding: 21px; }
.product-kicker { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.product-kicker > span { min-width: 0; overflow-wrap: anywhere; }
.product-card h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; min-height: 3.9em; }
.product-meta { color: var(--muted); font-size: 11px; margin: 14px 0 0; }
.product-meta span { margin-inline: 5px; }
.product-card-bottom { border-top: 1px solid var(--border); margin-top: 19px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card-bottom strong { font-size: 20px; color: var(--ink); letter-spacing: -.03em; }
.photo-placeholder { height: 100%; min-height: 170px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #f1f6f7; color: #697f85; text-align: center; padding: 35px 20px; }
.photo-placeholder > .icon { width: 67px; height: 67px; color: #c0d1d5; flex: 0 0 67px; stroke-width: 1.2; }
.photo-placeholder > span { font-size: 12px; font-weight: 500; }
.photo-placeholder small { font-size: 9px; letter-spacing: .08em; }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.category-card { display: flex; flex-direction: column; background: white; border-radius: 9px; overflow: hidden; }
.category-card:hover .text-link { text-decoration: underline; text-underline-offset: 4px; }
.category-image { height: 220px; background: white; display: grid; place-items: center; overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: contain; padding: 15px; }
.category-image .icon { width: 70px; height: 70px; color: var(--primary); }
.category-body { padding: 27px; border-top: 1px solid var(--border); }
.category-count { color: var(--primary); font-size: 10px; font-weight: 650; }
.category-body h3 { font-size: 23px; margin: 10px 0 13px; }
.category-body p { color: var(--muted); font-size: 13px; min-height: 3.2em; }
.process-section { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.process-section h2 { font-size: clamp(38px, 4vw, 56px); }
.process-section .lead { margin-top: 24px; max-width: 510px; font-size: 17px; }
.process-list { padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 50px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.process-list li:first-child { border-top: 1px solid var(--border); }
.step-number { font-size: 13px; color: var(--primary); font-weight: 650; padding-top: 4px; }
.process-list h3 { font-size: 23px; margin-bottom: 13px; }
.process-list p { color: var(--muted); font-size: 14px; max-width: 440px; margin: 0; }
.delivery-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--tint); border-radius: 10px; }
.delivery-photo { min-height: 430px; }
.delivery-photo img { width: 100%; height: 100%; object-fit: cover; }
.delivery-copy { align-self: center; padding: 55px 60px; }
.delivery-copy h2 { font-size: clamp(35px,3.4vw,49px); }
.delivery-copy > p:not(.eyebrow) { font-size: 16px; color: var(--muted); margin-top: 23px; }
.closing-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.closing-cta h2 { font-size: clamp(32px,3.4vw,49px); }
.closing-cta p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 660px; margin: 20px 0 0; }
.closing-cta .button { flex-shrink: 0; }

/* 05 — Inventory */
.inventory-shell { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 40px; align-items: start; }
.filter-panel { padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-heading h2 { font-size: 20px; }
.filter-heading a { color: var(--primary); font-size: 11px; }
.filter-form { display: grid; gap: 23px; }
.filter-form input, .filter-form select { font-size: 13px; }
.filter-form .form-grid { gap: 10px; }
.filter-help { margin-top: 34px; border-top: 1px solid var(--border); padding-top: 25px; }
.filter-help > .icon { color: var(--primary); margin-bottom: 15px; }
.filter-help h3 { font-size: 19px; line-height: 1.3; }
.filter-help p { color: var(--muted); font-size: 12px; margin-top: 15px; }
.filter-help .text-link { font-size: 12px; }
.inventory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.inventory-results { min-width: 0; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; font-size: 13px; }
.results-heading p { margin: 0; }
.results-heading > span { color: var(--muted); font-size: 11px; }
.mobile-filter-toggle { display: none; }

/* 06 — Product detail & galleries */
.product-page { padding-bottom: 40px; }
.breadcrumb { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 38px 0; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { color: var(--primary); }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 40px 0; }
.product-heading h1 { font-size: clamp(32px,3.3vw,51px); max-width: 1040px; }
.product-heading .eyebrow { margin-bottom: 16px; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(340px,1fr); gap: 50px; align-items: start; }
.product-layout > * { min-width: 0; }
.product-gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; border-radius: 10px; }
.gallery-image-button { width: 100%; height: 100%; border: 0; padding: 0; background: var(--soft); cursor: zoom-in; }
.gallery-image-button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .photo-placeholder { min-height: 100%; }
.gallery-main .photo-placeholder .icon { width: 100px; height: 100px; }
.gallery-main .photo-placeholder span { font-size: 16px; }
.gallery-count { position: absolute; left: 20px; bottom: 20px; padding: 8px 13px; background: #ffffffed; border-radius: 4px; font-size: 11px; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); background: #fffffff2; }
.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }
.gallery-prev .icon { transform: rotate(180deg); }
.gallery-thumbs { display: flex; gap: 12px; overflow-x: auto; padding: 18px 2px 4px; }
.gallery-thumbs button { padding: 3px; border: 1px solid var(--border); border-radius: 5px; flex: 0 0 95px; width: 95px; height: 70px; background: white; }
.gallery-thumbs button.active { border-color: var(--primary); outline: 1px solid var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.purchase-card { padding: 30px; border: 1px solid var(--border); border-radius: 10px; position: sticky; top: 128px; }
.purchase-price { border-bottom: 1px solid var(--border); padding-bottom: 23px; }
.purchase-price span { display: block; color: var(--muted); font-size: 12px; }
.purchase-price strong { display: block; color: var(--ink); font-size: 39px; letter-spacing: -.04em; font-weight: 650; }
.spec-list { margin: 18px 0 25px; }
.spec-list > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 11px 0; border-bottom: 1px solid #eef2f2; font-size: 13px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.purchase-note { text-align: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.purchase-note a { color: var(--primary); text-decoration: underline; }
.purchase-contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.purchase-contact .button { padding: 13px 8px; font-size: 12px; gap: 8px; }
.purchase-contact .icon { width: 18px; height: 18px; flex-basis: 18px; }
.purchase-assurance { display: flex; gap: 13px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.purchase-assurance .icon { color: var(--primary); }
.purchase-assurance p { margin: 0; font-size: 11px; color: var(--muted); }
.purchase-card > .text-link { font-size: 11px; }
.save-form { margin-top: 20px; text-align: center; }
.product-description { padding-top: 50px; }
.product-description h2 { font-size: 34px; margin-bottom: 30px; }
.product-description .prose h2 { font-size: 23px; }
.question-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 75px; align-items: start; border-top: 1px solid var(--border); margin-top: 80px; padding-top: 65px; }
.question-section > div > p:not(.eyebrow) { margin-top: 23px; color: var(--muted); font-size: 15px; }
dialog { border: 0; border-radius: 12px; padding: 40px; color: var(--text); box-shadow: 0 30px 100px #16343b33; max-height: calc(100dvh - 48px); overflow-y: auto; }
dialog::backdrop { background: #122f39b0; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 18px; top: 18px; z-index: 1; }
.form-dialog { width: min(620px,calc(100% - 32px)); }
.form-dialog h2 { font-size: 33px; margin: 0 35px 20px 0; }
.form-dialog .eyebrow { margin-right: 35px; }
.form-dialog p { font-size: 14px; }
.photo-dialog { width: min(1250px,calc(100% - 30px)); padding: 20px; background: white; }
.photo-dialog > img { width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; }
.lightbox-controls { display: flex; gap: 20px; justify-content: center; margin-top: 18px; }

/* 07 — Content, contact, and FAQ */
.content-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,1fr); gap: 110px; }
.prose { color: var(--text); font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.prose h2 { font-size: 30px; margin-top: 45px; margin-bottom: 22px; }
.prose h3 { font-size: 22px; margin-top: 34px; margin-bottom: 18px; }
.prose h4 { font-size: 18px; margin-block: 28px 14px; }
.prose h2:first-child, .prose > div > h2:first-child { margin-top: 0; }
.prose hr { border: 0; height: 1px; background: var(--border); margin-block: 28px; }
.prose li { margin-bottom: 8px; }
.prose ul, .prose ol { padding-left: 23px; }
.prose blockquote { border-left: 3px solid var(--primary); margin: 25px 0; padding: 8px 23px; background: var(--soft); }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose-large { font-size: 17px; line-height: 1.95; }
.content-aside { align-self: start; position: sticky; top: 135px; }
.content-aside > img { width: 100%; height: 260px; object-fit: cover; border-radius: 9px; margin-bottom: 25px; }
.content-aside .text-link { margin-top: 20px; }
.service-highlights { display: flex; flex-wrap: wrap; gap: 18px 38px; padding: 0 0 36px; border-bottom: 1px solid var(--border); }
.service-highlights > span { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.service-highlights .icon { width: 20px; height: 20px; flex-basis: 20px; color: var(--primary); }
.service-section-head { margin-top: 54px; margin-bottom: 32px; }
.service-section-head h2 { font-size: 34px; }
.service-card-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
.service-card-heading > .icon { width: 26px; height: 26px; flex-basis: 26px; color: var(--primary); margin-top: 3px; }
.service-card-heading > div { min-width: 0; }
.service-card-heading h2 { font-size: 27px; margin-bottom: 12px; }
.service-card-heading p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.service-help { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 38px; padding: 38px; border-radius: var(--radius); background: var(--primary-soft); }
.service-help > div { min-width: 0; }
.service-help h2 { font-size: 28px; margin-bottom: 15px; }
.service-help p { max-width: 680px; font-size: 15px; color: var(--muted); margin: 0; }
.service-help .button-row { flex-shrink: 0; gap: 12px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 32px; align-items: start; }
.contact-detail { display: flex; gap: 24px; margin-bottom: 34px; }
.contact-detail > .icon { width: 25px; height: 25px; flex-basis: 25px; color: var(--primary); }
.contact-detail h3 { font-size: 13px; margin-bottom: 9px; letter-spacing: 0; }
.contact-detail a, .contact-detail p { font-size: 17px; color: var(--muted); overflow-wrap: anywhere; }
.contact-detail a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.contact-detail p { margin: 0; }
.contact-detail small { color: var(--muted); font-size: 12px; }
.contact-company h2 { font-size: 24px; margin-bottom: 18px; }
.contact-company .eyebrow { margin-bottom: 16px; }
.contact-company address { font-size: 16px; font-style: normal; color: var(--muted); }
.contact-company > p:last-child { margin: 12px 0 0; }
.contact-location { overflow: hidden; }
.contact-map { position: relative; height: 425px; overflow: hidden; border-radius: 9px; background: var(--tint); }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.contact-map-blocker { position: absolute; inset: 0; z-index: 1; }
.contact-map-label { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: calc(100% - 36px); border-radius: 6px; padding: 12px 16px; background: white; color: var(--ink); font-weight: 650; font-size: 13px; box-shadow: var(--shadow); }
.contact-location-address { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.contact-location-address .icon { color: var(--primary); }
.product-contact-links { display: grid; align-content: center; gap: 24px; }
.product-contact-links > a { display: flex; align-items: center; gap: 18px; min-width: 0; }
.product-contact-links > a + a { border-top: 1px solid var(--border); padding-top: 24px; }
.product-contact-links > a > .icon { color: var(--primary); }
.product-contact-links > a > .icon:last-child { margin-left: auto; width: 18px; height: 18px; flex-basis: 18px; }
.product-contact-links span { min-width: 0; }
.product-contact-links small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.product-contact-links strong { font-size: 16px; font-weight: 600; color: var(--primary); overflow-wrap: anywhere; }
.product-contact-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.tracking-product-photo { aspect-ratio: 4 / 2.8; overflow: hidden; border-radius: 8px; margin-bottom: 25px; background: var(--soft); }
.tracking-product-photo > img { width: 100%; height: 100%; object-fit: cover; }
.tracking-product-photo > .photo-placeholder { min-height: 0; height: 100%; }
.tracking-admin-product { display: grid; grid-template-columns: minmax(0,260px) minmax(0,1fr); gap: 28px; align-items: center; margin-bottom: 26px; }
.tracking-admin-product .tracking-product-photo { margin: 0; }
.tracking-admin-product h2 { font-size: 25px; margin-bottom: 14px; }
.tracking-admin-product p { margin-bottom: 0; color: var(--muted); }
.tracking-admin-product .eyebrow { margin-bottom: 18px; }
.delivery-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 32px; align-items: start; }
.delivery-introduction .prose h2 { margin: 0 0 20px; font-size: 26px; }
.delivery-introduction .notice { margin: 25px 0 0; }
.delivery-calculator { background: var(--soft); }
.delivery-calculator label { font-size: 14px; }
.calculator-origin { margin: 18px 0 0; font-size: 12px; }
.delivery-result { padding: 24px; margin-top: 24px; background: white; border: 1px solid #badbcf; border-radius: 9px; }
.delivery-result-heading { display: flex; align-items: center; gap: 10px; color: var(--primary); margin-bottom: 13px; }
.delivery-result > p { font-size: 14px; margin-bottom: 0; overflow-wrap: anywhere; }
.delivery-result > p.subtle { font-size: 12px; }
.delivery-result-totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 25px 0; padding-block: 22px; border-block: 1px solid var(--border); }
.delivery-result-totals dt { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.delivery-result-totals dd { margin: 0; font-size: 29px; font-weight: 650; color: var(--ink); letter-spacing: -.03em; overflow-wrap: anywhere; }
.delivery-result-totals dd small { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.delivery-result.is-error { border-color: #efd0c7; background: #fff1ed; color: var(--danger); }
.delivery-result.is-loading { border-color: var(--border); }
.delivery-gallery { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); }
.delivery-gallery figure { margin: 0; }
.delivery-gallery figure + figure { margin-top: 24px; }
.delivery-gallery img { width: 100%; aspect-ratio: 4 / 2.8; object-fit: cover; border-radius: 8px; }
.delivery-gallery figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }
.delivery-process { margin-top: 65px; }
.delivery-process > h2 { font-size: 34px; margin-bottom: 30px; }
.delivery-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.delivery-steps article { padding: 28px; border-top: 1px solid var(--border); background: var(--soft); border-radius: 0 0 9px 9px; }
.delivery-steps .step-number { display: block; margin-bottom: 20px; }
.delivery-steps h3 { font-size: 23px; margin-bottom: 16px; }
.delivery-steps p { font-size: 14px; color: var(--muted); margin: 0; }
.delivery-border { margin-top: 36px; }
.delivery-border .service-card-heading { margin-bottom: 0; }
.delivery-border .service-card-heading p { margin-bottom: 18px; }
.calculator-admin { margin-bottom: 40px; align-items: start; }
.calculator-admin > .panel-card { position: static; }
.calculator-rates-heading { font-size: 24px; margin-bottom: 24px; }
.archived-invoice-name { display: flex; align-items: center; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
.archived-invoice-name .icon { width: 18px; height: 18px; flex-basis: 18px; color: var(--primary); }
.archived-invoice-row .table-actions { flex-wrap: wrap; flex-shrink: 0; }
.terms-notice { margin-top: 36px; padding: 25px 30px; background: var(--primary-soft); border-radius: 8px; border-left: 3px solid var(--primary); }
.terms-notice strong { display: block; color: var(--ink); margin-bottom: 10px; font-size: 15px; }
.terms-notice p { margin: 0; font-size: 14px; color: var(--muted); }
.terms-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 42px; align-items: start; margin-top: 45px; }
.terms-layout .service-section-head { margin-top: 0; }
.terms-sections details { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 13px; overflow: hidden; }
.terms-sections summary { display: flex; align-items: center; gap: 18px; list-style: none; cursor: pointer; padding: 25px; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.45; }
.terms-sections summary::-webkit-details-marker { display: none; }
.terms-sections summary .step-number { padding: 0; width: 22px; flex: 0 0 22px; }
.terms-sections summary .faq-plus { margin-left: auto; color: var(--primary); font-size: 25px; font-weight: 400; }
.terms-sections details[open] summary { background: var(--soft); }
.terms-sections details[open] .faq-plus { transform: rotate(45deg); }
.terms-answer { padding: 26px; font-size: 15px; }
.terms-answer p:last-child { margin-bottom: 0; }
.terms-safety { position: sticky; top: 130px; }
.terms-safety > h2 { font-size: 26px; margin-bottom: 18px; }
.terms-safety-item { display: flex; gap: 15px; margin-bottom: 24px; }
.terms-safety-item > .icon { color: var(--primary); margin-top: 3px; }
.terms-safety-item h3 { font-size: 15px; letter-spacing: 0; margin-bottom: 9px; }
.terms-safety-item p { font-size: 13px; color: var(--muted); margin: 0; }
.terms-safety .notice { font-size: 12px; }
.faq-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; }
.faq-search { margin-bottom: 35px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 26px 0; font-size: 18px; color: var(--ink); line-height: 1.5; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { flex-shrink: 0; color: var(--primary); font-size: 24px; font-weight: 350; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 15px; font-size: 15px; line-height: 1.85; max-width: 670px; }
.faq-aside { align-self: start; background: var(--primary-soft); border: 0; padding: 38px; }
.faq-aside > .icon { color: var(--primary); margin-bottom: 30px; }
.faq-aside > h2 { font-size: 33px; }

/* 08 — Customer account */
.auth-shell { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; padding-block: 75px 90px; align-items: start; }
.auth-story h1 { font-size: clamp(45px,5vw,73px); }
.auth-story .lead { margin-top: 28px; max-width: 420px; font-size: 18px; }
.auth-image { margin-top: 38px; border-radius: 8px; overflow: hidden; }
.auth-image img { width: 100%; height: 230px; object-fit: cover; }
.auth-form { padding: 38px; }
.auth-form h2 { font-size: 31px; }
.auth-form > p { font-size: 13px; }
.auth-form .form-grid, .auth-form .form-stack { margin-top: 30px; }
.auth-help { margin-top: 25px; }
.account-nav { display: flex; gap: 32px; align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 35px; padding: 20px 0; flex-wrap: wrap; }
.account-nav a { font-size: 13px; color: var(--muted); }
.account-nav [aria-current="page"] { color: var(--primary); font-weight: 650; }
.account-nav form { margin-left: auto; }
.account-details-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: start; }
.company-details summary { cursor: pointer; font-size: 13px; color: var(--primary); }
.company-details .form-grid { padding-top: 22px; }
.order-list { display: grid; gap: 25px; }
.order-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--soft); padding: 19px 26px; font-size: 13px; font-weight: 650; }
.order-card-head small { color: var(--muted); font-weight: 400; margin-left: 22px; }
.order-card-content { padding: 30px; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 45px; }
.order-card-content h2 { font-size: 27px; margin-bottom: 18px; }
.order-card-content p { color: var(--muted); font-size: 13px; }
.order-card-content .eyebrow { margin-bottom: 13px; }
.order-card-content .button-row { gap: 12px; }
.order-product-summary { display: flex; align-items: flex-start; gap: 22px; min-width: 0; }
.order-product-thumb { display: block; flex: 0 0 128px; width: 128px; height: 96px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--soft); }
.order-product-thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.order-product-thumb[href]:hover > img { transform: scale(1.04); }
.order-product-thumb .photo-placeholder { min-height: 0; height: 100%; padding: 12px; gap: 3px; }
.order-product-thumb .photo-placeholder .icon { width: 38px; height: 34px; }
.order-product-thumb .photo-placeholder span, .order-product-thumb .photo-placeholder small { display: none; }
.order-product-copy { min-width: 0; flex: 1; }
.order-product-copy h2 a { color: inherit; }
.order-product-copy h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.order-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; font-size: 13px; padding-left: 25px; border-left: 1px solid var(--border); }
.order-totals span { color: var(--muted); }
.order-totals strong { color: var(--ink); text-align: right; font-weight: 600; }
.tracking-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.tracking-story { background: var(--tint); border-radius: 10px; padding: 55px; min-height: 350px; display: flex; flex-direction: column; justify-content: center; }
.tracking-story > .icon { width: 50px; height: 50px; color: var(--primary); margin-bottom: 22px; }
.tracking-story h2 { margin-bottom: 24px; }
.tracking-story p { color: var(--muted); max-width: 450px; }
.tracking-card h2 { font-size: 29px; }
.tracking-card h3 { font-size: 18px; margin: 30px 0 18px; }
.timeline { padding: 0; margin: 0; list-style: none; }
.timeline li { border-left: 1px solid #bed9d0; padding: 0 0 28px 27px; position: relative; font-size: 13px; }
.timeline li::before { content: ""; width: 9px; height: 9px; background: var(--primary); border: 2px solid #e9f5ee; border-radius: 50%; position: absolute; left: -5px; top: 5px; }

/* 09 — Admin workspace; same shared design tokens and components */
.admin-body { background: #f5f8f9; font-size: 14px; }
.admin-shell { display: grid; grid-template-columns: 256px minmax(0,1fr); min-height: 100vh; }
.admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; overflow-y: auto; background: white; border-right: 1px solid var(--border); padding: 27px 18px; display: flex; flex-direction: column; z-index: 70; }
.admin-sidebar > .brand { padding: 0 8px 28px; }
.admin-sidebar .brand-copy strong { font-size: 15px; }
.admin-sidebar .brand-copy small { font-size: 9px; text-transform: none; letter-spacing: 0; }
.admin-sidebar .brand-symbol { width: 40px; height: 40px; flex-basis: 40px; border-radius: 8px; }
.admin-sidebar nav { display: grid; gap: 3px; }
.admin-sidebar nav > a { padding: 11px 14px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); border-radius: 5px; }
.admin-sidebar nav .icon { width: 19px; height: 19px; flex-basis: 19px; }
.admin-sidebar nav > a:hover { background: var(--soft); color: var(--primary); }
.admin-sidebar nav [aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.nav-count { margin-left: auto; border-radius: 4px; background: var(--primary); color: white; padding: 0 6px; font-size: 10px; }
.sidebar-label { color: #839196; font-size: 9px; letter-spacing: .13em; padding: 25px 14px 8px; }
.sidebar-bottom { margin-top: auto; padding: 30px 15px 0; display: grid; gap: 20px; }
.sidebar-bottom .text-link { font-size: 11px; }
.sidebar-bottom .text-button { color: var(--muted); font-size: 11px; }
.admin-main { grid-column: 2; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; gap: 25px; align-items: center; height: 79px; padding: 0 42px; background: white; border-bottom: 1px solid var(--border); }
.admin-topbar > div { display: flex; align-items: center; gap: 15px; }
.admin-topbar-label { font-size: 13px; color: var(--muted); }
.staff-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.staff-green { color: var(--green); }
.staff-blue { color: var(--blue); }
.staff-blue .status-dot { background: var(--blue); }
.admin-menu-toggle { display: none; }
.admin-content { width: min(1500px,100%); padding: 42px; margin-inline: auto; }
.admin-back-row { margin-bottom: 26px; }
.admin-back-row .icon { transform: rotate(180deg); }
.admin-login .admin-back-row { margin: 24px 0 0; }
.admin-page-intro { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-bottom: 30px; }
.admin-page-intro .eyebrow { margin-bottom: 12px; font-size: 9px; }
.admin-page-intro h1 { font-size: clamp(30px,3vw,43px); }
.admin-page-intro p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin: 15px 0 0; max-width: 680px; }
.admin-page-intro > .button { font-size: 12px; min-height: 45px; padding: 12px 16px; flex-shrink: 0; }
.admin-footer { margin-top: 55px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; color: var(--muted); font-size: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.stat-card { border: 1px solid var(--border); border-radius: 10px; background: white; padding: 25px; }
.stat-card > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: var(--muted); font-size: 11px; }
.stat-card .icon { color: var(--primary); width: 20px; height: 20px; }
.stat-card > strong { display: block; margin: 16px 0 22px; color: var(--ink); font-size: 42px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.stat-card > small { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 10px; }
.stat-card > small .icon { width: 15px; height: 15px; }
.dashboard-presence { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding: 24px 0 36px; font-size: 11px; color: var(--muted); }
.dashboard-presence > span { display: flex; gap: 7px; align-items: center; }
.dashboard-presence strong { color: var(--ink); }
.admin-two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; align-items: start; }
.admin-two-columns > *, .admin-editor-grid > * { min-width: 0; }
.admin-two-columns > .panel-card + .panel-card { margin-top: 0; }
.admin-editor-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(270px,1fr); gap: 26px; align-items: start; }
.admin-body .panel-card { padding: 28px; }
.admin-body .panel-card h2 { font-size: 23px; }
.admin-body .panel-card h3 { font-size: 19px; }
.admin-body .panel-card p { font-size: 12px; }
.admin-body .panel-card .eyebrow { font-size: 10px; }
.admin-body .form-grid { gap: 21px 18px; }
.admin-body label { font-size: 11px; }
.admin-body input:not([type="checkbox"]), .admin-body select, .admin-body textarea { font-size: 13px; min-height: 45px; }
.admin-body .button { font-size: 12px; min-height: 45px; padding: 12px 18px; }
.admin-body .text-link, .admin-body .text-button { font-size: 11px; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-toolbar input:not([type="checkbox"]), .admin-toolbar select { margin-top: 0; width: auto; min-height: 42px; }
.admin-toolbar input[type="search"] { flex: 1 1 260px; }
.admin-toolbar select { flex: 1 1 145px; max-width: 220px; }
.admin-toolbar button { flex-shrink: 0; }
.table-wrap { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 13px 14px; background: #f7fafb; font-size: 10px; letter-spacing: .035em; color: var(--muted); font-weight: 600; text-align: left; white-space: nowrap; }
td { padding: 18px 14px; vertical-align: middle; border-bottom: 1px solid #eaf0f1; color: var(--text); }
td small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
td strong { color: var(--ink); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdfd; }
.row-active { background: #f4faf6; }
.table-caption { font-size: 11px; color: var(--muted); padding-block: 4px 18px; }
.table-product { display: flex; align-items: center; gap: 15px; min-width: 220px; max-width: 430px; }
.table-product > span:last-child { min-width: 0; }
.table-product strong { line-height: 1.5; }
.table-thumb { flex: 0 0 76px; width: 76px; height: 58px; border-radius: 6px; overflow: hidden; }
.table-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.inventory-no-photo { display: grid; place-items: center; width: 100%; height: 100%; background: var(--soft); color: var(--muted); font-size: 11px; }
.customer-active-row > td { padding-top: 6px; background: #f7fbfa; }
.active-orders-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.customer-active-orders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.active-order-card { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.active-order-item > a, .active-order-item > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.active-order-item > a:hover strong { color: var(--green); }
.active-order-item .eyebrow { margin: 0; font-size: 11px; }
.active-order-item strong { overflow-wrap: anywhere; }
.active-order-price { font-size: 19px; font-weight: 700; }
.active-order-item small { display: flex; align-items: center; gap: 6px; color: var(--green); }
.active-order-item small .icon { width: 15px; height: 15px; }
.active-order-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.active-order-meta .text-link { font-size: 12px; }
.admin-readonly-details { margin: 0; }
.admin-readonly-details > div { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.admin-readonly-details dt { color: var(--muted); font-size: 13px; }
.admin-readonly-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.readonly-note { white-space: normal; overflow-wrap: anywhere; }
.form-help { margin: 0; color: var(--muted); font-size: 13px; }
.customer-password-card label { display: grid; gap: 10px; }
.customer-password-card input { font-family: var(--font-mono, monospace); }
.table-thumb .photo-placeholder { min-height: 0; padding: 8px; gap: 0; }
.table-thumb .photo-placeholder > .icon { width: 33px; height: 28px; flex-basis: 28px; }
.table-thumb .photo-placeholder > span, .table-thumb .photo-placeholder > small { display: none; }
.table-actions { display: flex; gap: 15px; align-items: center; white-space: nowrap; }
.inline-form { display: inline-flex; }
.list-rows > a, .list-rows > div { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.list-rows > :last-child { border-bottom: 0; padding-bottom: 0; }
.list-rows > :first-child { padding-top: 0; }
.list-rows strong { display: block; font-size: 12px; color: var(--ink); line-height: 1.6; font-weight: 600; }
.list-rows small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; overflow-wrap: anywhere; }
.list-rows > a > span, .list-rows > div > span { min-width: 0; }
.row-tail { margin-left: auto; flex-shrink: 0; }
.row-tail .icon { width: 17px; height: 17px; }
.avatar { width: 39px; height: 39px; flex: 0 0 39px; background: var(--tint); color: var(--primary); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 650; }
.avatar-blue { background: #edf4fb; color: var(--blue); }
.avatar-green { background: #eef8f0; color: var(--green); }
.quick-links { display: grid; gap: 13px; margin-top: 25px; }
.quick-links a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--primary); font-size: 12px; }
.quick-links a .icon:last-child { margin-left: auto; }
.detail-toolbar { display: flex; gap: 15px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.detail-toolbar .subtle { margin-left: auto; font-size: 11px; }
.team-conversation { max-height: 450px; overflow-y: auto; margin-bottom: 25px; }
.team-bubble { padding: 16px; border-radius: 7px; margin-bottom: 15px; border: 1px solid transparent; }
.team-green { background: #f0f8f1; border-color: #d4e9d5; }
.team-blue { background: #eef5fb; border-color: #d3e3f1; }
.team-bubble > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 10px; }
.team-bubble small { color: var(--muted); font-size: 9px; }
.team-bubble p { margin: 12px 0 0; white-space: normal; overflow-wrap: anywhere; }
.message-content { padding-block: 25px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 28px; line-height: 1.9; overflow-wrap: anywhere; }
.stock-preview { padding: 14px; background: var(--soft); border-radius: 6px; margin: 0; }
.editor-wide { max-width: 1000px; }
.form-section-title { font-size: 25px; margin: 12px 0 6px; padding-top: 10px; }
.content-image-field { display: flex; align-items: center; gap: 25px; padding: 20px; border: 1px solid var(--border); border-radius: 7px; }
.content-image-field img { width: 230px; height: 140px; object-fit: cover; border-radius: 4px; }
.content-image-field label { flex: 1; }
.admin-gallery-item { margin-bottom: 22px; }
.admin-gallery-item img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 6px; background: var(--soft); }
.admin-gallery-item > div { display: flex; justify-content: space-between; padding-top: 12px; }
.legacy-gallery-image { width: 100%; height: 180px; object-fit: contain; margin-bottom: 15px; border-radius: 6px; background: var(--soft); }
.editor-image { width: 100%; height: 230px; object-fit: cover; border-radius: 6px; margin-bottom: 22px; }
.category-mini { width: 60px; height: 45px; flex: 0 0 60px; }
.category-mini img { width: 100%; height: 100%; object-fit: contain; }
.category-admin-row { flex-wrap: wrap; }
.category-admin-link { display: flex; align-items: center; gap: 12px; flex: 1 1 200px; min-width: 0; }
.category-admin-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.category-admin-actions { display: flex; align-items: center; gap: 15px; margin-left: auto; }
.category-admin-actions .text-link, .category-admin-actions .text-button { font-size: 12px; }
.category-image-form { flex: 1 1 100%; display: flex; align-items: end; gap: 12px; padding: 12px 0 2px 72px; }
.category-image-form label { flex: 1; margin: 0; font-size: 11px; }
.category-image-form input[type="file"] { margin-top: 6px; padding: 8px 10px; font-size: 11px; }
.category-image-form .button { flex: 0 0 auto; margin: 0; }
.category-help { margin-top: 24px; font-size: 13px; }
.customer-row-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-bank-source { position: fixed; top: -10000px; left: -10000px; }
.admin-login { background: var(--tint); }
.admin-login .auth-shell { display: block; max-width: 510px; margin-inline: auto; width: calc(100% - 40px); padding-block: 70px; }
.admin-login .auth-form h1 { font-size: 42px; margin-bottom: 15px; }
.admin-login .brand { margin-bottom: 40px; }
.admin-login .text-link { margin-top: 28px; }

/* 10 — Installer & invoice */
.install-body { background: var(--tint); }
.install-shell { width: min(950px,calc(100% - 40px)); margin: 60px auto; }
.install-shell > .brand { margin-bottom: 28px; }
.install-shell h1 { font-size: 44px; margin-bottom: 20px; }
.install-shell .panel-card { padding: 40px; }
.install-checks { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.install-checks span { padding: 7px 10px; background: var(--primary-soft); color: var(--primary); border-radius: 4px; font-size: 11px; }
.invoice-wrap { max-width: 1120px; }
.invoice-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 25px; }
.invoice-sheet { border: 1px solid var(--border); border-radius: 14px; padding: 50px; background: white; box-shadow: var(--shadow); }
.invoice-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; padding-bottom: 36px; border-bottom: 2px solid var(--primary); }
.invoice-company-name { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; margin-bottom: 22px; border-radius: 999px; background: var(--primary-soft); color: var(--ink); font-weight: 750; letter-spacing: .02em; }
.invoice-contact-list, .invoice-meta, .invoice-payment-list, .invoice-summary dl { margin: 0; }
.invoice-contact-list div, .invoice-meta div, .invoice-payment-list div, .invoice-summary dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 4px 0; }
.invoice-contact-list dt, .invoice-meta dt, .invoice-payment-list dt, .invoice-summary dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.invoice-contact-list dd, .invoice-meta dd, .invoice-payment-list dd, .invoice-summary dd { margin: 0; color: var(--text); font-size: 12px; overflow-wrap: anywhere; }
.invoice-heading { text-align: right; }
.invoice-heading h1 { margin-bottom: 22px; color: var(--ink); font-size: 52px; text-transform: uppercase; letter-spacing: .08em; }
.invoice-heading .invoice-meta div { grid-template-columns: 110px 1fr; }
.invoice-heading .invoice-meta dt { text-align: left; }
.invoice-heading .invoice-meta dd { color: var(--ink); font-weight: 700; }
.invoice-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 30px; }
.invoice-addresses section { padding: 24px; border: 1px solid var(--border); border-radius: 10px; background: var(--soft); }
.invoice-addresses .eyebrow { margin-bottom: 13px; }
.invoice-addresses h3 { font-size: 18px; margin-bottom: 8px; }
.invoice-addresses p { margin-bottom: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.invoice-addresses p:last-child { margin-bottom: 0; }
.invoice-items { border: 1px solid var(--border); border-radius: 10px 10px 0 0; }
.invoice-items table { min-width: 720px; }
.invoice-items thead { background: var(--ink); color: white; }
.invoice-items thead th { background: var(--ink); color: white; }
.invoice-items th { color: white; border-color: rgb(255 255 255 / 15%); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.invoice-items td { font-size: 12px; }
.invoice-items small { color: var(--muted); }
.invoice-items .invoice-item-note { display: block; margin-top: 5px; color: var(--ink); font-weight: 650; line-height: 1.45; }
.invoice-balance-lines { width: min(480px,100%); margin-left: auto; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 10px 10px; overflow: hidden; }
.invoice-balance-lines > div { display: grid; grid-template-columns: 1fr 145px; border-top: 1px solid var(--border); }
.invoice-balance-lines > div:first-child { border-top: 0; }
.invoice-balance-lines span, .invoice-balance-lines strong { padding: 10px 14px; font-size: 12px; }
.invoice-balance-lines span { text-align: right; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.invoice-balance-lines strong { border-left: 1px solid var(--border); text-align: right; color: var(--text); }
.invoice-balance-lines .invoice-balance-total { background: var(--primary-soft); }
.invoice-balance-lines .invoice-balance-total span, .invoice-balance-lines .invoice-balance-total strong { color: var(--ink); font-size: 15px; font-weight: 750; }
.invoice-lower-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; margin-top: 30px; }
.invoice-payment, .invoice-summary { padding: 26px; border-radius: 11px; break-inside: avoid; }
.invoice-payment { border: 1px solid #bcded4; border-left: 5px solid var(--primary); background: linear-gradient(145deg,#f8fcfb 0%,#edf7f3 100%); color: var(--text); box-shadow: 0 12px 28px rgb(18 64 59 / 7%); }
.invoice-payment .eyebrow { color: var(--primary); }
.invoice-payment dt { color: var(--muted); }
.invoice-payment dd { color: var(--ink); }
.invoice-payment .eyebrow { padding-bottom: 15px; border-bottom: 1px solid #cfe5de; }
.invoice-payment-list div { grid-template-columns: 125px 1fr; }
.invoice-payment-list dd { font-weight: 650; }
.invoice-summary { border: 1px solid var(--border); background: white; }
.invoice-summary .eyebrow { margin-bottom: 14px; }
.invoice-summary dl > div { grid-template-columns: 1fr auto; padding: 7px 0; }
.invoice-summary dt { text-transform: none; letter-spacing: 0; font-weight: 500; }
.invoice-summary dd { text-align: right; font-weight: 700; }
.invoice-summary .invoice-summary-total { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--border); }
.invoice-summary .invoice-summary-total dt, .invoice-summary .invoice-summary-total dd { color: var(--ink); font-size: 17px; font-weight: 750; text-transform: uppercase; }
.invoice-summary .invoice-amount-due { align-items: center; margin-top: 12px; padding: 14px; border-radius: 8px; background: var(--primary); }
.invoice-summary .invoice-amount-due dt, .invoice-summary .invoice-amount-due dd { color: white; font-size: 15px; font-weight: 750; text-transform: uppercase; }
.invoice-after-payment { margin-top: 26px; padding: 24px; border: 1px solid #bcded4; border-radius: 10px; background: var(--primary-soft); break-inside: avoid; }
.invoice-after-payment h2 { margin-bottom: 10px; font-size: 20px; }
.invoice-after-payment p { margin-bottom: 8px; color: var(--text); font-size: 12px; }
.invoice-after-payment p:last-child { margin-bottom: 0; color: var(--primary); }
.invoice-thanks { display: grid; gap: 2px; justify-items: center; margin-top: 24px; text-align: center; }
.invoice-thanks strong { color: var(--ink); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.invoice-thanks span { color: var(--muted); font-size: 11px; }
.admin-body .invoice-wrap { width: 100%; padding-top: 0; }

/* 11 — Tablet */
@media (min-width: 1750px) {
  .container { width: min(var(--container),calc(100% - 140px)); }
}
@media (max-width: 1250px) {
  .container { width: calc(100% - 64px); }
  .desktop-nav { gap: 20px; }
  .header-inner { gap: 20px; }
  .brand-copy strong { font-size: 18px; }
  .header-contact { display: none; }
  .hero-top { gap: 45px; }
  .hero-copy .button-row { gap: 18px; }
  .hero-copy .text-link { font-size: 12px; }
  .product-grid { gap: 20px; }
  .product-card-body { padding: 18px; }
  .inventory-shell { grid-template-columns: 245px minmax(0,1fr); gap: 28px; }
  .inventory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-layout { gap: 30px; grid-template-columns: minmax(0,1.4fr) minmax(320px,1fr); }
  .purchase-card { padding: 24px; }
  .content-layout, .contact-layout { gap: 60px; }
  .process-section { gap: 60px; }
  .footer-grid { gap: 35px; }
  .auth-shell { gap: 55px; }
  .admin-content { padding: 32px; }
  .admin-topbar { padding-inline: 32px; }
  .stat-grid { gap: 15px; }
  .stat-card { padding: 20px; }
  .stat-card > div { align-items: flex-start; font-size: 10px; }
  .admin-editor-grid { grid-template-columns: minmax(0,1.3fr) minmax(250px,1fr); }
  .admin-body .panel-card { padding: 23px; }
}
@media (max-width: 1000px) {
  .service-help { align-items: flex-start; flex-direction: column; gap: 26px; }
  .header-inner { min-height: 88px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-contact { display: inline-flex; }
  .mobile-nav { top: 88px; }
  .hero-top { gap: 35px; grid-template-columns: 1.2fr 1fr; }
  .hero h1 { font-size: clamp(50px,6.3vw,72px); }
  .hero-copy { padding-top: 25px; }
  .hero-copy .lead { font-size: 17px; }
  .hero-search { padding: 22px; margin-inline: 20px; gap: 18px; }
  .hero-search .button { padding-inline: 16px; font-size: 12px; }
  .hero-search-query { padding-left: 18px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card h3 { min-height: 2.8em; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card:last-child { grid-column: auto; }
  .assurance-strip { gap: 20px; padding-inline: 0; }
  .assurance-strip > div { gap: 12px; }
  .assurance-strip small { font-size: 10px; }
  .assurance-strip strong { font-size: 12px; }
  .process-section { gap: 40px; }
  .delivery-copy { padding: 40px; }
  .delivery-photo { min-height: 390px; }
  .content-layout { gap: 40px; grid-template-columns: 1.4fr 1fr; }
  .question-section { gap: 40px; }
  .purchase-contact { grid-template-columns: 1fr; }
  .purchase-price strong { font-size: 33px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 40px 60px; }
  .faq-layout { gap: 35px; }
  .account-details-grid { grid-template-columns: 1.5fr 1fr; gap: 20px; }
  .panel-card { padding: 25px; }
  .order-card-content { grid-template-columns: 1fr; gap: 30px; }
  .order-totals { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; max-width: 380px; }
  .admin-shell { grid-template-columns: 210px minmax(0,1fr); }
  .admin-sidebar { width: 210px; padding: 24px 12px; }
  .admin-sidebar > .brand { gap: 8px; padding-inline: 3px; }
  .admin-sidebar .brand-copy strong { font-size: 12px; }
  .admin-sidebar .brand-symbol { width: 35px; height: 35px; flex-basis: 35px; }
  .admin-sidebar nav > a { font-size: 11px; padding-inline: 10px; gap: 10px; }
  .admin-content { padding: 28px; }
  .admin-topbar { padding-inline: 28px; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-two-columns, .admin-editor-grid { grid-template-columns: 1fr; }
  .admin-two-columns > .panel-card + .panel-card { margin-top: 0; }
  .admin-page-intro { align-items: flex-start; }
}

/* 12 — Mobile */
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 60px; }
  .section-bottom { padding-bottom: 60px; }
  .eyebrow { font-size: 9px; margin-bottom: 17px; }
  h1 { font-size: 43px; }
  h2 { font-size: 33px; }
  .lead { font-size: 17px; }
  .header-inner { min-height: 77px; gap: 10px; }
  .brand-logo { width: 43px; height: 43px; }
  .brand { gap: 9px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 8px; letter-spacing: .03em; }
  .header-actions { gap: 9px; flex-shrink: 0; }
  .header-contact { display: none; }
  .header-actions .icon-button { width: 38px; height: 38px; padding: 9px; }
  .header-actions .icon { width: 19px; height: 19px; }
  .desktop-account { display: inline-flex; }
  .mobile-nav { top: 77px; padding: 18px 20px; }
  .mobile-nav a { font-size: 17px; }
  .hero { padding-top: 44px; }
  .hero-top { grid-template-columns: 1fr; gap: 26px; margin-bottom: 30px; }
  .hero h1 { font-size: clamp(47px,10vw,69px); letter-spacing: -.05em; }
  .hero-copy { padding-top: 0; max-width: 100%; }
  .hero-copy .lead { font-size: 17px; max-width: 520px; margin-bottom: 24px; }
  .hero-copy .button-row { gap: 20px; }
  .hero-copy .text-link { font-size: 13px; }
  .hero .live-label { margin-top: 21px; }
  .hero-photo { height: 245px; border-radius: 8px; }
  .hero-photo img { object-position: 60% center; }
  .hero-photo-caption { left: 14px; bottom: 14px; padding: 12px 14px; font-size: 11px; gap: 25px; }
  .hero-photo-caption .icon { width: 17px; height: 17px; }
  .hero-search { grid-template-columns: 1fr; gap: 19px; margin: 0; padding: 23px; border-radius: 0 0 8px 8px; }
  .hero-search-query { padding-left: 0; border: 0; border-top: 1px solid var(--border); padding-top: 18px; }
  .hero-search label > span { font-size: 9px; }
  .hero-search select, .hero-search input { font-size: 15px; padding-bottom: 2px; }
  .hero-search .button { font-size: 14px; }
  .assurance-strip { grid-template-columns: 1fr; gap: 22px; padding-top: 32px; }
  .assurance-strip > div { gap: 16px; }
  .assurance-strip strong { font-size: 13px; }
  .assurance-strip small { font-size: 11px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 23px; margin-bottom: 29px; }
  .section-head p:not(.eyebrow) { font-size: 14px; }
  .section-head h2 { font-size: 34px; }
  .product-grid { gap: 18px; }
  .product-card-body { padding: 18px; }
  .product-card h3 { font-size: 17px; min-height: 2.8em; }
  .product-card-bottom strong { font-size: 20px; }
  .product-kicker { font-size: 8px; }
  .category-grid { gap: 18px; }
  .category-image { height: 180px; }
  .category-body { padding: 23px; }
  .category-body h3 { font-size: 21px; }
  .process-section { grid-template-columns: 1fr; gap: 35px; }
  .process-section h2 { font-size: 38px; }
  .process-list li { grid-template-columns: 32px 1fr; gap: 19px; padding-block: 27px; }
  .delivery-feature { grid-template-columns: 1fr; }
  .delivery-photo { min-height: 0; height: 280px; }
  .delivery-copy { padding: 35px 28px; }
  .delivery-copy h2 { font-size: 36px; }
  .closing-cta { align-items: flex-start; flex-direction: column; gap: 28px; }
  .page-intro { padding-top: 47px; padding-bottom: 40px; }
  .page-intro .lead { margin-top: 22px; }
  .page-intro.compact { padding-top: 43px; padding-bottom: 30px; }
  .page-intro.compact h1 { font-size: 38px; }
  .inventory-shell { grid-template-columns: 1fr; gap: 24px; }
  .mobile-filter-toggle { display: flex; }
  .js .inventory-shell .filter-panel { display: none; }
  .js .inventory-shell.filters-open .filter-panel { display: block; }
  .filter-help { display: none; }
  .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .filter-form > :first-child, .filter-form > .button, .filter-form > .form-grid { grid-column: 1 / -1; }
  .filter-panel { padding: 20px; }
  .results-heading { padding-bottom: 18px; }
  .product-heading { flex-direction: column; align-items: flex-start; gap: 24px; margin-block: 30px; }
  .product-heading h1 { font-size: 35px; }
  .breadcrumb { margin-block: 26px; gap: 8px; font-size: 10px; }
  .product-layout { grid-template-columns: 1fr; gap: 35px; }
  .product-layout > div { display: contents; }
  .product-layout .product-gallery { order: 1; }
  .product-layout .purchase-card { order: 2; }
  .product-layout .product-description { order: 3; }
  .purchase-card { position: static; padding: 27px; }
  .purchase-contact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchase-price strong { font-size: 38px; }
  .product-description { padding-top: 38px; }
  .product-description h2 { font-size: 29px; }
  .question-section { grid-template-columns: 1fr; gap: 30px; margin-top: 55px; padding-top: 42px; }
  .question-section h2 { font-size: 33px; }
  .question-section .panel-card { padding: 24px; }
  .related-section { padding-bottom: 10px; }
  .content-layout, .contact-layout, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .content-aside { position: static; }
  .content-aside > img { height: 250px; }
  .prose-large { font-size: 16px; }
  .prose h2 { font-size: 26px; }
  .service-highlights { gap: 18px 25px; padding-bottom: 28px; }
  .service-highlights > span { font-size: 12px; }
  .service-section-head { margin-top: 38px; margin-bottom: 25px; }
  .service-section-head h2 { font-size: 29px; }
  .service-card-heading { gap: 15px; margin-bottom: 25px; }
  .service-card-heading h2 { font-size: 24px; }
  .service-help { padding: 26px; }
  .service-help h2 { font-size: 26px; }
  .service-help .button-row { width: 100%; flex-shrink: 1; }
  .contact-layout, .delivery-layout { grid-template-columns: 1fr; gap: 25px; }
  .tracking-admin-product { grid-template-columns: 1fr; gap: 20px; }
  .terms-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 35px; }
  .terms-notice { padding: 23px; }
  .terms-safety { position: static; }
  .terms-sections summary { padding: 20px; gap: 13px; font-size: 16px; }
  .terms-answer { padding: 22px; font-size: 14px; }
  .contact-team, .contact-company, .contact-location, .delivery-introduction, .delivery-calculator, .delivery-gallery { padding: 24px; }
  .contact-map { height: 290px; }
  .delivery-steps { grid-template-columns: 1fr; gap: 18px; }
  .delivery-steps article { padding: 24px; }
  .delivery-process { margin-top: 45px; }
  .delivery-process > h2 { font-size: 29px; }
  .delivery-result { padding: 20px; }
  .delivery-result-totals { gap: 15px; }
  .delivery-result-totals dd { font-size: 25px; }
  .contact-detail { gap: 18px; margin-bottom: 28px; }
  .contact-detail a, .contact-detail p { font-size: 15px; }
  .faq-list summary { font-size: 17px; padding-block: 24px; }
  .faq-aside { padding: 30px; }
  .auth-shell { grid-template-columns: 1fr; gap: 34px; padding-block: 40px 55px; }
  .auth-story h1 { font-size: 47px; }
  .auth-story .lead { margin-top: 23px; max-width: 100%; font-size: 16px; }
  .auth-image { display: none; }
  .auth-form { padding: 27px; }
  .auth-form h2 { font-size: 28px; }
  .account-nav { gap: 18px 25px; padding-block: 18px; }
  .account-nav a { font-size: 12px; }
  .account-nav form { margin-left: 0; }
  .account-details-grid { grid-template-columns: 1fr; }
  .account-details-grid > .panel-card + .panel-card { margin-top: 0; }
  .order-card-head { padding: 19px 20px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .order-card-head small { display: block; margin: 6px 0 0; font-size: 11px; }
  .order-card-content { padding: 24px; }
  .order-card-content h2 { font-size: 25px; }
  .order-product-summary { gap: 16px; }
  .order-product-thumb { flex-basis: 96px; width: 96px; height: 76px; }
  .tracking-layout { grid-template-columns: 1fr; gap: 26px; }
  .tracking-story { padding: 32px; }
  .site-footer { padding-top: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; padding-bottom: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid h2 { margin-bottom: 20px; }
  .footer-brand > p { max-width: 100%; font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 11px; font-size: 10px; }
  .admin-shell { display: block; }
  .admin-sidebar { transform: translateX(-100%); width: 265px; transition: transform .25s; box-shadow: var(--shadow); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar .brand-copy strong { font-size: 15px; }
  .admin-sidebar .brand-symbol { width: 42px; height: 42px; flex-basis: 42px; }
  .admin-sidebar nav > a { font-size: 13px; padding-block: 12px; }
  .admin-menu-toggle { display: inline-flex; width: 35px; height: 35px; }
  .admin-topbar { height: 68px; padding-inline: 20px; position: sticky; top: 0; z-index: 60; }
  .admin-topbar-label { font-size: 11px; }
  .admin-content { padding: 26px 20px; }
  .admin-page-intro { gap: 20px; flex-direction: column; margin-bottom: 27px; }
  .admin-page-intro h1 { font-size: 34px; }
  .admin-page-intro p:not(.eyebrow) { font-size: 12px; }
  .stat-card { padding: 20px; }
  .stat-card > strong { font-size: 35px; margin: 17px 0; }
  .stat-grid { gap: 14px; }
  .dashboard-presence { gap: 12px 20px; padding-block: 22px 29px; }
  .admin-body .panel-card { padding: 23px; }
  .admin-toolbar { gap: 10px; }
  .admin-toolbar select { max-width: none; flex: 1 1 130px; }
  .admin-toolbar .button { width: 100%; }
  .admin-body table { min-width: 690px; }
  .admin-two-columns, .admin-editor-grid { gap: 22px; }
  .card-heading { gap: 12px; }
  .admin-body .card-heading h2 { font-size: 20px; }
  .list-rows strong { font-size: 11px; }
  .list-rows .table-actions { gap: 10px; }
  .category-image-form { padding-left: 0; align-items: stretch; flex-direction: column; }
  .category-image-form .button { width: 100%; }
  .content-image-field { flex-direction: column; align-items: stretch; padding: 17px; gap: 18px; }
  .content-image-field img { width: 100%; height: 180px; }
  .detail-toolbar .subtle { margin-left: 0; }
  .invoice-sheet { padding: 27px; }
  .invoice-head { grid-template-columns: 1fr; gap: 20px; }
  .invoice-heading { text-align: left; }
  .invoice-heading h1 { font-size: 40px; }
  .invoice-addresses { grid-template-columns: 1fr; gap: 22px; }
  .invoice-lower-grid { grid-template-columns: 1fr; }
  .invoice-balance-lines { width: 100%; }
  .invoice-sheet table { min-width: 680px; }
  .install-shell { margin-block: 35px; }
  .install-shell .panel-card { padding: 27px; }
  .install-shell h1 { font-size: 36px; }
}
@media (max-width: 520px) {
  .delivery-result-totals { grid-template-columns: 1fr; gap: 18px; }
  .product-grid, .inventory-grid, .category-grid { grid-template-columns: 1fr; }
  .product-card h3 { min-height: 0; font-size: 20px; }
  .product-card-body { padding: 22px; }
  .product-kicker { font-size: 10px; }
  .product-meta { font-size: 12px; }
  .product-card-bottom strong { font-size: 24px; }
  .product-card-image { aspect-ratio: 4 / 2.85; }
  .photo-placeholder { min-height: 200px; }
  .photo-placeholder > span { font-size: 13px; }
  .category-image { height: 210px; }
  .category-body p { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-footer .button { width: 100%; }
  .filter-form { grid-template-columns: 1fr; }
  .filter-form .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-copy .button-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-photo { height: 215px; }
  .hero-photo-caption { max-width: calc(100% - 28px); }
  .hero-photo-caption span { min-width: 0; }
  .purchase-contact .button { font-size: 11px; }
  .gallery-thumbs button { flex-basis: 80px; width: 80px; height: 62px; }
  .dialog-close { right: 13px; top: 13px; width: 36px; height: 36px; }
  .form-dialog { padding: 30px 24px; }
  .form-dialog h2 { font-size: 30px; }
  .auth-form h2 { font-size: 26px; }
  .account-nav { gap: 17px; }
  .stat-card { padding: 17px; }
  .stat-card > div { font-size: 10px; gap: 9px; }
  .stat-card > div .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .stat-card > small { font-size: 9px; gap: 5px; }
  .admin-body .form-grid { grid-template-columns: 1fr; }
  .team-bubble > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .invoice-toolbar { align-items: flex-start; gap: 18px; flex-direction: column; }
  .staff-label { font-size: 10px; }
  .admin-topbar { gap: 12px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7px; }
  .hero h1 { font-size: 42px; }
  .page-intro h1 { font-size: 36px; }
  .purchase-contact { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* 13 — Accessibility and print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  @page { size: Letter portrait; margin: .3in; }
  html, body { width: auto; min-width: 0; height: auto; }
  body, .admin-body { background: white; color: #111; font-size: 9pt; }
  .site-header, .site-footer, .mobile-nav, .announcement, .skip-link, .flash-container, .invoice-toolbar, .admin-sidebar, .admin-topbar, .admin-back-row, .admin-footer, .toast { display: none !important; }
  .admin-shell, .admin-main { display: block; }
  .admin-content, .invoice-wrap, .container { width: 100%; max-width: none; margin: 0; padding: 0; }
  .invoice-sheet { width: 100%; box-sizing: border-box; border: 1px solid var(--border); padding: .18in; box-shadow: none; border-radius: 10px; zoom: 1; transform: none; }
  .invoice-head, .invoice-addresses { grid-template-columns: 1fr 1fr; }
  .invoice-head { gap: 28px; padding-bottom: 15px; }
  .invoice-heading { text-align: right; }
  .invoice-heading h1 { margin-bottom: 12px; font-size: 36px; }
  .invoice-company-name { min-height: 32px; margin-bottom: 12px; padding: 6px 11px; }
  .invoice-contact-list div, .invoice-meta div, .invoice-payment-list div, .invoice-summary dl > div { padding: 2.5px 0; }
  .invoice-contact-list dt, .invoice-meta dt, .invoice-payment-list dt, .invoice-summary dt,
  .invoice-contact-list dd, .invoice-meta dd, .invoice-payment-list dd, .invoice-summary dd { font-size: 10px; }
  .invoice-addresses { gap: 12px; padding-block: 13px; }
  .invoice-addresses section, .invoice-payment, .invoice-summary, .invoice-after-payment { padding: 12px 14px; }
  .invoice-addresses .eyebrow { margin-bottom: 7px; }
  .invoice-addresses h3 { margin-bottom: 5px; font-size: 15px; }
  .invoice-addresses p { margin-bottom: 4px; font-size: 10px; line-height: 1.4; }
  .invoice-items thead, .invoice-items thead tr, .invoice-items thead th { background: #edf4f5 !important; color: #16343b !important; border-color: #dce7e7 !important; }
  .invoice-items thead th { font-weight: 750; }
  .invoice-items th, .invoice-items td { padding: 7px 9px; font-size: 10px; }
  .invoice-balance-lines span, .invoice-balance-lines strong { padding: 7px 10px; font-size: 10px; }
  .invoice-balance-lines .invoice-balance-total span, .invoice-balance-lines .invoice-balance-total strong { font-size: 12px; }
  .invoice-lower-grid { grid-template-columns: 1.08fr .92fr; gap: 12px; margin-top: 13px; }
  .invoice-payment { box-shadow: none; }
  .invoice-payment .eyebrow { padding-bottom: 8px; }
  .invoice-summary .eyebrow { margin-bottom: 7px; }
  .invoice-summary .invoice-summary-total { margin-top: 4px; padding-top: 7px; }
  .invoice-summary .invoice-summary-total dt, .invoice-summary .invoice-summary-total dd { font-size: 12px; }
  .invoice-summary .invoice-amount-due { margin-top: 7px; padding: 9px; }
  .invoice-summary .invoice-amount-due dt, .invoice-summary .invoice-amount-due dd { font-size: 11px; }
  .invoice-after-payment { margin-top: 11px; }
  .invoice-after-payment h2 { margin-bottom: 5px; font-size: 15px; }
  .invoice-after-payment p { margin-bottom: 4px; font-size: 10px; line-height: 1.4; }
  .invoice-thanks { margin-top: 9px; }
  .invoice-thanks strong { font-size: 11px; }
  .invoice-thanks span { font-size: 9px; }
  .invoice-sheet table { min-width: 0; }
  .invoice-sheet .table-wrap { overflow: visible; }
  .invoice-sheet, .invoice-head, .invoice-addresses, .invoice-items, .invoice-balance-lines, .invoice-lower-grid, .invoice-payment, .invoice-summary, .invoice-after-payment, .invoice-thanks, tr { break-inside: avoid; page-break-inside: avoid; }
  .badge { border: 1px solid #b8c5c6; }
  a { text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Sales contracts: shared by customer and admin views. */
.contract-wrap { max-width: 1080px; }
.admin-body .contract-wrap { width: 100%; padding-top: 0; }
.contract-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.contract-page { display: flex; flex-direction: column; min-height: 1200px; margin-bottom: 28px; padding: 48px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: #15252d; box-shadow: 0 12px 40px rgb(16 51 59 / 5%); overflow-wrap: anywhere; }
.contract-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 25px; align-items: start; padding-bottom: 22px; border-bottom: 2px solid #16343b; }
.contract-company-name { margin-bottom: 8px; color: #16343b; font-size: 27px; line-height: 1.15; font-weight: 800; text-transform: uppercase; }
.contract-company-address { margin: 0 0 3px; font-size: 11px; line-height: 1.5; color: #53646d; }
.contract-heading { text-align: right; }
.contract-heading h1 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; }
.contract-heading p { margin-bottom: 3px; font-size: 11px; line-height: 1.5; }
.contract-body { padding-top: 27px; }
.contract-title { margin-bottom: 20px; text-align: center; font-size: 21px; line-height: 1.3; }
.contract-intro p, .contract-clause p { margin: 0 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 13px; line-height: 1.5; color: #15252d; }
.contract-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 25px; }
.contract-parties section { min-width: 0; padding: 15px; border: 1px solid #b6c7cd; border-radius: 6px; background: #f7faf9; }
.contract-parties h3, .contract-signatures h3 { margin-bottom: 7px; font-size: 11px; line-height: 1.4; text-transform: uppercase; }
.contract-parties strong { display: block; margin-bottom: 6px; font-size: 13px; }
.contract-parties p { margin-bottom: 5px; font-size: 11px; line-height: 1.45; }
.contract-clause { margin-bottom: 18px; }
.contract-clause h3 { margin-bottom: 7px; font-size: 12px; line-height: 1.4; text-transform: uppercase; }
.contract-items { margin-top: 12px; border: 1px solid #b6c7cd; border-radius: 5px; }
.contract-items table { min-width: 600px; table-layout: fixed; }
.contract-items th { background: #16343b; color: #fff; font-size: 9px; text-transform: uppercase; }
.contract-items th:first-child { width: 43%; }
.contract-items th:nth-child(2) { width: 16%; }
.contract-items th:nth-child(3) { width: 7%; }
.contract-items th:nth-child(4), .contract-items th:nth-child(5) { width: 17%; }
.contract-items th, .contract-items td { padding: 9px 10px; }
.contract-items td { font-size: 11px; line-height: 1.45; }
.contract-vin { color: #53646d; font-weight: 500; }
.contract-totals { width: min(340px,100%); margin: 0 0 18px auto; }
.contract-totals div { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 6px 10px; border-bottom: 1px solid #dce7e7; font-size: 11px; }
.contract-totals dt { font-weight: 500; }
.contract-totals dd { margin: 0; text-align: right; }
.contract-totals div:last-child { font-size: 13px; font-weight: 750; background: #edf6f3; }
.contract-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: auto; padding-top: 30px; break-inside: avoid; }
.contract-signatures section { min-width: 0; }
.contract-signature-images { display: flex; align-items: center; justify-content: center; gap: 4px; height: 116px; }
.contract-signature-image { width: 68%; max-width: 250px; height: 116px; object-fit: contain; }
.contract-stamp-image { width: 31%; max-width: 112px; height: 106px; object-fit: contain; }
.contract-buyer-space { height: 116px; }
.contract-signature-line { padding-top: 7px; border-top: 1px solid #16343b; font-size: 11px; line-height: 1.5; }
.contract-buyer-date, .contract-seller-date { margin-top: 24px; margin-bottom: 0; font-size: 12px; }
.contract-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dce7e7; font-size: 10px; line-height: 1.4; color: #53646d; }
.contract-page:last-child .contract-footer { margin-top: 36px; }
.contract-settings-card { max-width: 1080px; }
.contract-asset-previews { display: flex; flex-wrap: wrap; gap: 30px; }
.contract-asset-previews figure { margin: 0; padding: 10px 20px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.contract-asset-previews img { width: 200px; height: 110px; object-fit: contain; }
.contract-asset-previews figcaption { color: var(--muted); text-align: center; font-size: 12px; }
@media (max-width: 700px) {
  .contract-page { min-height: 0; padding: 24px 18px; }
  .contract-head { grid-template-columns: 1fr; gap: 18px; }
  .contract-heading { text-align: left; }
  .contract-company-name { font-size: 24px; }
  .contract-title { font-size: 18px; }
  .contract-parties, .contract-signatures { grid-template-columns: 1fr; gap: 20px; }
  .contract-footer { margin-top: 24px; font-size: 9px; }
  .contract-signature-images { justify-content: flex-start; }
  .contract-toolbar { align-items: flex-start; flex-direction: column; }
}
@media print {
  .contract-toolbar { display: none !important; }
  .contract-wrap { width: 100%; max-width: none; padding: 0; }
  .contract-page { box-sizing: border-box; min-height: 10.25in; margin: 0; padding: .25in; border-radius: 0; box-shadow: none; break-after: page; page-break-after: always; }
  .contract-page:last-child { break-after: auto; page-break-after: auto; }
  .contract-head { grid-template-columns: 1.1fr 1fr; gap: 18px; padding-bottom: 13px; }
  .contract-heading { text-align: right; }
  .contract-company-name { font-size: 20px; }
  .contract-company-address, .contract-heading p { font-size: 8px; }
  .contract-heading h1 { font-size: 17px; margin-bottom: 6px; }
  .contract-body { padding-top: 14px; }
  .contract-title { font-size: 15px; margin-bottom: 13px; }
  .contract-intro p, .contract-clause p { font-size: 9pt; line-height: 1.3; margin-bottom: 6px; }
  .contract-clause { margin-bottom: 9px; break-inside: avoid; }
  .contract-clause h3 { font-size: 9pt; margin-bottom: 5px; }
  .contract-parties { grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 12px; }
  .contract-parties section { padding: 10px; }
  .contract-parties h3, .contract-signatures h3 { font-size: 8pt; margin-bottom: 5px; }
  .contract-parties strong { font-size: 9pt; }
  .contract-parties p { font-size: 8pt; margin-bottom: 3px; }
  .contract-items { margin-top: 9px; overflow: visible; }
  .contract-items table { min-width: 0; }
  .contract-items th, .contract-items td { padding: 6px 7px; font-size: 8pt; }
  .contract-items th { background: #edf4f5 !important; color: #16343b !important; }
  .contract-totals { margin-bottom: 10px; width: 280px; }
  .contract-totals div { font-size: 8pt; padding: 4px 7px; }
  .contract-totals div:last-child { font-size: 9pt; }
  .contract-signatures { grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 18px; }
  .contract-buyer-space, .contract-signature-images { height: 100px; }
  .contract-signature-image { height: 100px; }
  .contract-stamp-image { height: 95px; }
  .contract-signature-line { font-size: 8pt; }
  .contract-buyer-date, .contract-seller-date { font-size: 9pt; margin-top: 20px; }
  .contract-footer { padding-top: 9px; font-size: 8pt; }
  .contract-head, .contract-body, .contract-signatures, .contract-footer { flex-shrink: 0; }
}

/* Optional down-payment plan; existing full-payment contracts keep their layout. */
.contract-totals .contract-payment-line { background: #f7faf9; }
.contract-totals .contract-payment-line dd { color: #16343b; font-weight: 700; }
@media print {
  .contract-page--down-payment .contract-clause { margin-bottom: 7px; }
  .contract-page--down-payment .contract-parties { margin-bottom: 9px; }
  .contract-page--down-payment .contract-totals div { padding-block: 3px; }
}

/* Invoices share the order's agreed contract down payment. */
.invoice-deposit-line dt, .invoice-deposit-line dd { color: var(--primary); font-weight: 750; }
.invoice-balance-condition { margin: 13px 0 0; padding-top: 11px; border-top: 1px solid var(--border); font-size: 11px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.invoice-balance-condition strong { color: var(--ink); }
@media print {
  .invoice-sheet--down-payment .invoice-summary dl > div { padding-block: 2px; }
  .invoice-sheet--down-payment .invoice-summary .invoice-amount-due { padding: 9px; }
  .invoice-balance-condition { margin-top: 7px; padding-top: 7px; font-size: 9px; line-height: 1.4; }
}

/* About Us — editable consignment story and seller information. */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 5vw, 88px); padding-block: 64px 68px; }
.about-hero-copy { min-width: 0; }
.about-hero h1 { font-size: clamp(44px, 4.7vw, 72px); line-height: 1.04; margin-bottom: 28px; }
.about-lead { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 20px; line-height: 1.65; }
.about-hero .button-row, .about-sell-section .button-row { gap: 12px; }
.about-hero-note { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; font-size: 12px; color: var(--muted); }
.about-hero-note .icon { width: 17px; height: 19px; flex-basis: 17px; color: var(--primary); }
.about-hero-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--tint); }
.about-hero-photo > img { width: 100%; height: 510px; object-fit: cover; object-position: 53% center; }
.about-hero-photo figcaption { position: absolute; right: 22px; bottom: 22px; left: 22px; display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-radius: 10px; background: white; box-shadow: var(--shadow); }
.about-photo-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.about-hero-photo figcaption strong, .about-hero-photo figcaption small { display: block; }
.about-hero-photo figcaption strong { color: var(--ink); font-size: 15px; font-weight: 650; }
.about-hero-photo figcaption small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.about-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 27px; border-block: 1px solid var(--border); }
.about-promises article { display: flex; gap: 18px; padding-inline: 36px; }
.about-promises article:first-child { padding-left: 0; }
.about-promises article:last-child { padding-right: 0; }
.about-promises article + article { border-left: 1px solid var(--border); }
.about-promise-icon { padding-top: 3px; color: var(--primary); }
.about-promise-icon .icon { width: 27px; height: 27px; }
.about-promises strong { display: block; color: var(--ink); font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
.about-promises p { max-width: 310px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 130px); padding-block: 100px; }
.about-story h2 { max-width: 460px; }
.about-story-copy { font-size: 17px; line-height: 1.8; }
.about-story-copy p:last-child { margin-bottom: 0; }
.about-process-section { padding-block: 88px; background: var(--soft); }
.about-process-section .section-head { margin-bottom: 40px; }
.about-process-section .section-head p:last-child { max-width: 630px; }
.about-process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.about-process-list li { min-width: 0; padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.about-process-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; color: var(--primary); }
.about-step-number { font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.about-process-top .icon { width: 25px; height: 25px; }
.about-process-list h3 { margin-bottom: 14px; font-size: 23px; line-height: 1.2; }
.about-process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.about-location { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 120px); padding-block: 94px; border-bottom: 1px solid var(--border); }
.about-location-icon { display: inline-flex; padding: 13px; margin-bottom: 24px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.about-location-heading .eyebrow { margin-bottom: 14px; }
.about-location h2 { max-width: 500px; }
.about-location > div > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; }
.about-location > div > .about-location-note { padding-left: 18px; border-left: 2px solid #aacfc2; color: var(--muted); font-size: 14px; }
.about-two-sides { padding-block: 88px; }
.about-two-sides .section-head { margin-bottom: 32px; }
.about-people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-people-grid article { padding: 34px; border: 1px solid var(--border); border-radius: 12px; }
.about-person-icon { display: inline-flex; margin-bottom: 22px; color: var(--primary); }
.about-people-grid h3 { margin-bottom: 14px; font-size: 28px; }
.about-people-grid p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.8; }
.about-warranty { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 50px; padding: 44px 52px; border-radius: 14px; background: var(--primary-soft); }
.about-warranty-mark { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--primary); text-align: center; }
.about-warranty-mark .icon { width: 54px; height: 54px; margin-bottom: 7px; }
.about-warranty-mark strong { color: var(--ink); font-size: 36px; font-weight: 650; line-height: 1; letter-spacing: -.04em; }
.about-warranty-mark span { max-width: 200px; font-size: 12px; }
.about-warranty .eyebrow { margin-bottom: 13px; }
.about-warranty h2 { margin-bottom: 18px; font-size: clamp(30px, 3vw, 42px); }
.about-warranty p:not(.eyebrow) { max-width: 810px; color: #46645e; line-height: 1.8; }
.about-sell-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 110px); align-items: start; padding-block: 100px; }
.about-sell-copy h2 { max-width: 600px; margin-bottom: 22px; }
.about-sell-lead { margin-bottom: 16px; color: var(--ink); font-size: 22px; line-height: 1.5; }
.about-sell-copy > p:not(.eyebrow):not(.about-sell-lead) { max-width: 610px; color: var(--muted); }
.about-sell-copy .button-row { margin-top: 28px; }
.about-sell-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 14px; color: var(--primary); overflow-wrap: anywhere; }
.about-sell-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-sell-copy > .about-sell-reassurance { display: flex; gap: 9px; margin: 24px 0 0; font-size: 12px; }
.about-sell-reassurance .icon { width: 17px; height: 19px; flex-basis: 17px; color: var(--primary); }
.about-sell-checklist { padding: 34px; border: 1px solid var(--border); border-radius: 12px; background: var(--soft); }
.about-checklist-icon { display: inline-flex; margin-bottom: 20px; color: var(--primary); }
.about-sell-checklist h3 { margin-bottom: 22px; font-size: 26px; }
.about-sell-checklist ul { display: grid; gap: 14px; padding: 0; margin: 0 0 25px; list-style: none; }
.about-sell-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.65; }
.about-sell-checklist li .icon { width: 18px; height: 21px; flex-basis: 18px; color: var(--primary); }
.about-sell-checklist > p { margin: 0; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 1199px) {
  .about-hero { gap: 36px; padding-top: 48px; }
  .about-hero-photo > img { height: 460px; }
  .about-hero .button { padding-inline: 18px; }
  .about-promises article { padding-inline: 24px; gap: 14px; }
  .about-process-list { gap: 16px; }
  .about-process-list li { padding: 24px 20px; }
  .about-process-list h3 { font-size: 21px; }
  .about-warranty { grid-template-columns: 180px minmax(0, 1fr); gap: 36px; padding: 38px; }
}
@media (max-width: 959px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; }
  .about-hero h1 { font-size: clamp(44px, 7vw, 64px); }
  .about-lead { max-width: 650px; }
  .about-hero-photo > img { height: 440px; }
  .about-promises { gap: 20px; }
  .about-promises article { flex-direction: column; gap: 10px; padding-inline: 0; }
  .about-promises article + article { padding-left: 20px; }
  .about-promises strong { font-size: 18px; }
  .about-story, .about-location { gap: 38px; padding-block: 68px; }
  .about-process-section, .about-two-sides { padding-block: 64px; }
  .about-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-process-list li { padding: 26px; }
  .about-process-top { margin-bottom: 22px; }
  .about-people-grid article { padding: 28px; }
  .about-warranty { grid-template-columns: 130px minmax(0, 1fr); gap: 28px; padding: 30px; }
  .about-sell-section { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 72px; }
  .about-sell-checklist { padding: 26px; }
}
@media (max-width: 639px) {
  .about-hero { padding-top: 34px; }
  .about-hero h1 { font-size: clamp(42px, 10.5vw, 58px); margin-bottom: 22px; }
  .about-hero .eyebrow { margin-bottom: 18px; }
  .about-lead { font-size: 18px; line-height: 1.7; }
  .about-hero .button-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .about-hero .button-row > .button { padding-inline: 12px; font-size: 13px; }
  .about-hero-note { margin-top: 18px; }
  .about-hero-photo { border-radius: 12px; }
  .about-hero-photo > img { height: 340px; }
  .about-hero-photo figcaption { right: 14px; bottom: 14px; left: 14px; gap: 10px; padding: 14px; }
  .about-hero-photo figcaption strong { font-size: 14px; }
  .about-hero-photo figcaption small { font-size: 11px; }
  .about-photo-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .about-promises { grid-template-columns: 1fr; gap: 0; padding-block: 4px; }
  .about-promises article { flex-direction: row; gap: 16px; padding-block: 22px; }
  .about-promises article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .about-promises strong { font-size: 20px; }
  .about-promises p { max-width: none; font-size: 14px; }
  .about-story, .about-location { grid-template-columns: 1fr; gap: 26px; padding-block: 56px; }
  .about-story h2 { max-width: 420px; }
  .about-story-copy { font-size: 16px; }
  .about-process-section, .about-two-sides { padding-block: 56px; }
  .about-process-section .section-head { margin-bottom: 28px; }
  .about-process-list { grid-template-columns: 1fr; gap: 14px; }
  .about-process-list li { padding: 25px; }
  .about-process-top { margin-bottom: 16px; }
  .about-process-list h3 { font-size: 24px; margin-bottom: 12px; }
  .about-process-list p { font-size: 15px; }
  .about-location-icon { margin-bottom: 18px; }
  .about-people-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-people-grid article { padding: 26px; }
  .about-people-grid h3 { font-size: 26px; }
  .about-warranty { grid-template-columns: 1fr; gap: 25px; padding: 30px 26px; }
  .about-warranty-mark { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 10px; text-align: left; }
  .about-warranty-mark .icon { width: 38px; height: 38px; margin: 0 4px 0 0; }
  .about-warranty-mark strong { font-size: 30px; }
  .about-warranty-mark span { max-width: none; flex-basis: 100%; }
  .about-warranty h2 { font-size: 32px; }
  .about-sell-section { grid-template-columns: 1fr; gap: 32px; padding-block: 60px; }
  .about-sell-copy .button-row { display: grid; grid-template-columns: 1fr; }
  .about-sell-lead { font-size: 20px; }
  .about-sell-checklist { padding: 26px; }
  .about-sell-contact { flex-direction: column; gap: 8px; }
}
