/* Quotation journey — quietly functional, aligned with Division 02. */
[hidden] { display: none !important; }
.header-cart { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: .4rem; color: var(--navy-800); font-size: .76rem; font-weight: 700; white-space: nowrap; min-width: 44px; min-height: 44px; }
.header-cart svg { flex-shrink: 0; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.header-cart [data-cart-count] { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 4px; border-radius: 30px; background: var(--d2-bg); color: var(--d2); font-size: .68rem; }
.site-nav ul { gap: clamp(.6rem, 1.1vw, 1.2rem); }
.site-nav .nav-link { font-size: .76rem; }
.header-inner { gap: 1rem; }
/* Three focused stages: items, contact details, then review and sharing. */
.quote-page { background: #f5f8fa; }
.quote-page :focus-visible { outline: 3px solid var(--d2-strong); outline-offset: 3px; }
.quote-heading { background: #fff; border-bottom: 1px solid var(--border); padding: 1.4rem 0 0; scroll-margin-top: var(--header-h); }
.quote-back { font-size: .8rem; display: inline-flex; align-items: center; min-height: 44px; margin-bottom: .65rem; }
.quote-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.quote-heading-row > div { min-width: 0; }
.quote-heading h1 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin-bottom: .5rem; }
.quote-heading p { font-size: .9rem; max-width: 660px; margin-bottom: 0; }
.quote-no-payment { font-size: .72rem; padding: .65rem .85rem; border: 1px solid var(--d2-line); border-radius: 8px; background: var(--d2-bg); color: var(--d2); white-space: nowrap; }
.quote-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 700px; gap: 1rem; list-style: none; padding: 0; margin: 1.3rem 0 0; }
.quote-steps li { border-bottom: 3px solid transparent; min-width: 0; }
.quote-steps button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 58px; border: 0; padding: .7rem 0; background: none; color: #647486; font: 600 .8rem var(--font-body); cursor: pointer; text-align: left; }
.quote-steps button:disabled { cursor: default; }
.quote-steps li.active { border-bottom-color: var(--d2); }
.quote-steps li.active button { color: var(--navy-800); }
.quote-steps b { flex: none; font-size: .72rem; display: grid; place-items: center; width: 27px; height: 27px; background: #eef2f5; border-radius: 50%; }
.quote-steps .active b { background: var(--d2); color: #fff; }
.quote-steps .complete b { background: var(--d2-bg); color: var(--d2); }
.quote-content { padding-block: 2rem 4rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1.6rem; align-items: start; }
.quote-main, .quote-review, .quote-line-info { min-width: 0; }
.quote-panel { padding: 1.6rem; border: 1px solid var(--border); background: #fff; border-radius: 8px; margin-bottom: 1.4rem; }
.quote-panel h2 { font-size: 1.18rem; margin-bottom: .6rem; }
.quote-panel h3 { font-size: 1rem; }
.quote-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.quote-panel-heading h2 { margin: 0; }
.quote-panel-heading [data-cart-count] { color: var(--d2); background: var(--d2-bg); padding: .2rem .5rem; font-family: var(--font-body); border-radius: 4px; font-size: .75rem; vertical-align: middle; }
.quote-small { font-size: .8rem; color: #5c6b7c; line-height: 1.6; }
.quote-panel-heading + .quote-small { margin-block: .6rem 1rem; }
.quote-text-button { border: 0; padding: .55rem .2rem; background: none; font-family: inherit; color: #345570; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .8rem; min-height: 44px; }
.quote-text-button:hover { color: var(--d2); }
.quote-line { padding: 1.1rem 0; border-top: 1px solid var(--border); contain: layout style; }
.quote-line-top { display: flex; gap: 1rem; align-items: start; }
.quote-line-info { flex: 1; }
.quote-line-image { flex: 0 0 64px; width: 64px; height: 64px; padding: 4px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.quote-reference { color: #5e6d7c; font-size: .66rem; font-weight: 600; letter-spacing: .04em; }
.quote-line h3 { margin: .2rem 0 .3rem; font-size: .96rem; line-height: 1.45; overflow-wrap: anywhere; }
.quote-brand-model { color: var(--d2); font-size: .76rem; font-weight: 600; margin: 0 0 .2rem; overflow-wrap: anywhere; }
.quote-unit { font-size: .76rem; margin: 0; color: #5e6d7c; }
.quote-line-controls { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.quote-quantity-group { display: flex; align-items: center; gap: .7rem; }
.quote-quantity-group label { margin: 0; }
.quote-stepper { display: flex; align-items: stretch; height: 44px; border: 1px solid #c5d0db; border-radius: 6px; overflow: visible; }
.quote-stepper button { width: 44px; min-height: 44px; background: #f4f7f9; border: 0; color: var(--navy-800); font: 1.2rem var(--font-body); cursor: pointer; border-radius: 6px; touch-action: manipulation; }
.quote-stepper button:disabled { color: #82909d; cursor: default; }
.quote-stepper input { width: 56px; min-width: 0; text-align: center; border: 0; border-inline: 1px solid var(--border); font: 16px var(--font-body); border-radius: 0; padding: 0 .1rem; appearance: textfield; -moz-appearance: textfield; }
.quote-stepper input::-webkit-inner-spin-button, .quote-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.quote-remove { flex: none; color: #647486; }
.quote-item-details { margin-top: .2rem; }
.quote-item-details summary, .quote-transcript summary, .quote-optional-fields summary { min-height: 44px; padding-block: .75rem; cursor: pointer; color: #345570; font-size: .8rem; font-weight: 600; }
.quote-line-specs { font-size: .76rem; color: #5c6b7c; margin: .3rem 0 .7rem; line-height: 1.7; overflow-wrap: anywhere; }
.quote-spec-list > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid #e4ebed; }
.quote-spec-list dt, .quote-spec-list dd { min-width: 0; }
.quote-spec-list dd { margin: 0; color: #263f4d; }
.quote-line-note label { display: block; margin-bottom: .4rem; }
.quote-line-note input { width: 100%; min-height: 44px; border: 1px solid #c5d0db; border-radius: 6px; padding: .65rem .75rem; font: 16px var(--font-body); }
.quote-more { display: inline-flex; align-items: center; min-height: 48px; font-size: .85rem; color: var(--d2); font-weight: 600; }
.quote-stage-action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; margin-top: .8rem; border-top: 1px solid var(--border); }
.quote-stage-action > div { min-width: 0; font-size: .85rem; }
.quote-stage-action strong, .quote-stage-action > div > span { display: block; }
.quote-stage-action > div > span { color: #657486; font-size: .73rem; margin-top: .15rem; }
.quote-stage-action .btn { flex: none; min-height: 48px; padding-inline: 1.5rem; }
.quote-stage-back { margin: -.4rem 0 .7rem; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1.2rem; }
.quote-fields .field { min-width: 0; }
.quote-fields .field label { font-size: .83rem; }
.quote-fields input, .quote-fields textarea { width: 100%; min-width: 0; font-size: 16px; min-height: 48px; background: #fff; }
.quote-fields .field-note { font-size: .73rem; }
.quote-wide { grid-column: 1 / -1; }
.quote-optional-fields { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-block: .25rem 1rem; }
.quote-optional-fields .quote-fields { padding-top: .4rem; }
.quote-privacy { font-size: .73rem; line-height: 1.7; color: #657486; margin: .3rem 0 1.1rem; }
.quote-summary-card { border-radius: 8px; border: 1px solid var(--d2-line); background: #edf6f5; padding: 1.4rem; position: sticky; top: calc(var(--header-h) + 20px); }
.quote-summary-card .eyebrow { font-size: .63rem; letter-spacing: .12em; }
.quote-summary-card h2 { font-size: 1.4rem; }
.quote-summary-card h3 { font-size: .9rem; }
.quote-summary-card p { font-size: .8rem; line-height: 1.9; }
.quote-summary-rule { border-top: 1px solid #c4dcda; margin: 1.4rem 0; }
.quote-summary-card a { display: block; font-size: .9rem; font-weight: 700; margin-top: 1.3rem; }
.quote-empty { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 3rem 1.8rem; text-align: center; }
.quote-empty p { max-width: 550px; margin: 0 auto 1.5rem; font-size: .92rem; }
.quote-empty h2 { font-size: 1.4rem; }
.quote-empty-icon { display: grid; place-items: center; height: 60px; width: 60px; margin: 0 auto 1.5rem; background: var(--d2-bg); color: var(--d2); border-radius: 50%; font-size: 1.6rem; }
.quote-review { scroll-margin-top: calc(var(--header-h) + 16px); }
.quote-review > p { font-size: .9rem; margin-top: .8rem; }
#quote-review-title { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.quote-review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
.quote-review-grid > * { min-width: 0; }
.quote-review-content { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.quote-review-overview { padding: 1.1rem 1.4rem .5rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.quote-review-overview h3 { font-size: 1.05rem; margin: .4rem 0 .5rem; }
.quote-review-overview p { font-size: .83rem; overflow-wrap: anywhere; margin-bottom: .2rem; }
.quote-review-items { padding-inline: 1.4rem; }
.quote-review-item { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--border); }
.quote-review-item > div { min-width: 0; }
.quote-review-item h4 { font-size: .9rem; margin: 0 0 .25rem; overflow-wrap: anywhere; }
.quote-review-item p { font-size: .76rem; color: #607184; margin: .15rem 0 0; overflow-wrap: anywhere; }
.quote-review-quantity { flex: none; font-size: .85rem; color: var(--d2); }
.quote-transcript { padding: .4rem 1.4rem; }
#quote-preview { font: .8rem/1.8 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: var(--ink); padding-block: .6rem 1rem; }
.quote-send-panel { position: sticky; top: calc(var(--header-h) + 20px); padding: 1.15rem; }
.quote-send-panel > h3 { font-size: 1rem; margin: 0 0 1rem; line-height: 1.5; overflow-wrap: break-word; }
.quote-send-panel .btn { width: 100%; margin-bottom: .65rem; font-size: .8rem; min-height: 48px; white-space: normal; text-align: center; }
#quote-delivery-note:empty { display: none; }
.quote-channel { border: 1px solid #d9e3e9; border-radius: 8px; padding: 1rem; background: #fff; margin-bottom: .85rem; min-width: 0; }
.quote-email-channel { border-color: #bddbd7; background: #f5fbfa; }
.quote-channel-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.quote-channel-heading h4 { font-size: .93rem; line-height: 1.4; margin: 0; color: var(--navy-800); }
.quote-channel-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; background: #e7f2f0; color: #086765; border-radius: 8px; }
.quote-channel-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quote-channel .quote-small { margin: 0 0 .9rem; font-size: .79rem; line-height: 1.6; overflow-wrap: anywhere; }
.quote-channel .btn { margin-bottom: 0; gap: .45rem; }
.quote-channel .btn:disabled { cursor: default; opacity: .65; }
.quote-email-channel:has(.btn[aria-busy="true"]) { border-color: #bdced9; }
.quote-email-channel .btn[aria-busy="true"] { cursor: progress; }
.quote-email-status { margin-top: .9rem; padding: .8rem; border: 1px solid #bddbd7; border-radius: 6px; background: #eaf5f2; color: #214d45; overflow-wrap: anywhere; }
.quote-email-status strong { display: block; font-size: .82rem; line-height: 1.5; }
.quote-email-status p { font-size: .76rem; line-height: 1.6; margin: .35rem 0 0; }
.quote-email-status[data-state="error"] { background: #fff3ee; border-color: #e7c4b6; color: #813b2d; }
.quote-email-status[data-state="pending"], .quote-email-status[data-state="sending"] { background: #edf3f7; border-color: #c9d8e2; color: #345570; }
.quote-email-status[data-state="success"] { background: #eaf5f2; border-color: #bddbd7; color: #214d45; }
.quote-email-receipt { padding-top: .5rem; border-top: 1px solid #bddbd7; font-weight: 600; }
.quote-export-tools { margin-top: .2rem; border-top: 1px solid var(--border); }
.quote-export-tools > summary { min-height: 48px; padding-block: .85rem; cursor: pointer; color: #345570; font-size: .8rem; font-weight: 600; }
.quote-export-actions { padding-bottom: .5rem; }
.quote-export-actions .quote-text-button { width: 100%; text-align: center; }
.quote-send-assurance { margin: .65rem 0 0; font-size: .72rem; }
.quote-page .btn-outline { background: #fff; border: 1px solid #bdcad6; color: var(--navy-800); }
.quote-page .btn-outline:hover { background: #edf3f7; border-color: #879faf; }
.quote-wa { color: #fff; background: var(--d2); }
.quote-wa:hover { background: #086765; color: #fff; }
.quote-notice { padding: 1rem 1.25rem; border-radius: 8px; background: #fff7e6; color: #614d21; font-size: .82rem; margin-bottom: 1.5rem; }
.quote-status { font-size: .86rem; color: var(--d2); margin-top: 1rem; }
.quote-status:empty { margin: 0; }
.quote-confirm { width: min(500px, calc(100% - 32px)); border: 1px solid var(--border); border-radius: 8px; padding: 1.8rem; color: var(--body); }
.quote-confirm::backdrop { background: rgb(8 31 53 / 55%); }
.quote-confirm h2 { font-size: 1.25rem; }
.quote-confirm p { font-size: .9rem; }
.quote-confirm > div { display: flex; justify-content: flex-end; gap: .75rem; flex-wrap: wrap; }
.quote-confirm .btn { font-size: .78rem; min-height: 44px; }
.quote-page ~ .float-wa { display: none; }
@media (min-width: 961px) and (max-width: 1190px) {
  .header-inner { gap: .65rem; }
  .site-nav ul { gap: .65rem; }
  .site-nav .nav-link { font-size: .68rem; }
  .brand-name { font-size: .94rem; }
  .header-cta { font-size: .65rem; padding: .65rem; }
}
@media (max-width: 960px) {
  .quote-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 1rem; }
  .quote-summary-card { padding: 1.2rem; }
  .quote-heading-row { align-items: start; flex-direction: column; gap: .8rem; }
  .quote-no-payment { padding: .4rem .6rem; }
  .quote-review-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; }
  .site-nav .nav-link { font-size: .9rem; }
}
@media (max-width: 800px) {
  /* Catalogue and quotation get a compact, shared mobile header. */
  body.commerce-page { --header-h: 64px; --topbar-h: 0px; }
  .commerce-page .topbar { display: none; }
  .commerce-page .header-inner { height: 64px; gap: .35rem; }
  .commerce-page .header-cta { display: none; }
  .commerce-page .header-inner .brand { margin-right: auto; gap: .45rem; min-height: 44px; }
  .commerce-page .header-inner .brand-mark { width: 32px; height: 32px; }
  .commerce-page .header-inner .brand-name { font-size: .83rem; }
  .commerce-page .header-inner .brand-tag { font-size: .46rem; }
  .commerce-page .header-inner > .lang-switch { display: flex; gap: 0; flex: none; font-size: .65rem; }
  .commerce-page .header-inner > .lang-switch a { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #647486; }
  .commerce-page .header-inner > .lang-switch a.active { color: var(--navy-800); background: #eef4f6; }
  .commerce-page .header-cart { min-width: 44px; gap: .2rem; }
  .commerce-page .header-cart svg { width: 20px; }
  .commerce-page .nav-toggle { min-width: 44px; min-height: 44px; width: 44px; padding: 10px; }
  .commerce-page .site-nav { top: 64px; max-height: calc(100dvh - 64px); overflow-y: auto; }
  .commerce-page .float-wa { display: none; }
  .quote-content { padding-block: 1rem 2.5rem; }
  .quote-layout { display: block; }
  .quote-summary-card { display: none; }
  .quote-heading { padding-top: .4rem; }
  .quote-back { margin-bottom: .3rem; font-size: .77rem; }
  .quote-heading h1 { font-size: 1.5rem; margin: 0; }
  .quote-heading p { display: none; }
  .quote-heading-row { gap: .4rem; }
  .quote-no-payment { border: 0; background: transparent; color: #567369; padding: 0; font-size: .7rem; }
  .quote-steps { margin-top: .55rem; gap: .5rem; }
  .quote-steps button { gap: .4rem; font-size: .7rem; min-height: 48px; }
  .quote-steps b { width: 22px; height: 22px; font-size: .65rem; }
  .quote-steps button span { line-height: 1.3; }
  .quote-panel { padding: 1rem; margin-bottom: 1rem; }
  .quote-panel h2 { font-size: 1.05rem; }
  .quote-panel-heading { gap: .5rem; }
  .quote-panel-heading .quote-text-button { font-size: .75rem; white-space: nowrap; }
  .quote-line { padding-block: 1rem .7rem; }
  .quote-line-top { gap: .7rem; }
  .quote-line-image { width: 56px; height: 56px; flex-basis: 56px; }
  .quote-line h3 { font-size: .9rem; }
  .quote-brand-model { font-size: .72rem; }
  .quote-reference { font-size: .62rem; }
  .quote-quantity-group label { font-size: .75rem; }
  .quote-line-controls { gap: .5rem; }
  .quote-item-details summary { font-size: .76rem; }
  .quote-line-note input, .quote-fields input, .quote-fields textarea { font-size: 16px; }
  .quote-stage-action { position: fixed; bottom: 0; left: 0; right: 0; padding: .75rem 1rem max(.75rem, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #d3dfe6; box-shadow: 0 -4px 18px #0a2a4a08; z-index: 45; margin: 0; }
  .quote-stage-action .btn { min-height: 48px; min-width: 132px; font-size: .85rem; padding-inline: 1rem; }
  .quote-stage-action strong { font-size: .82rem; }
  .quote-stage-action > div > span { font-size: .68rem; }
  .quote-page:has(#quote-workspace:not([hidden])) { padding-bottom: 82px; }
  .commerce-page[data-quote-stage="review"] .quote-page { padding-bottom: 0; }
  .quote-fields { grid-template-columns: 1fr; gap: 0; }
  .quote-fields .field { margin-bottom: .85rem; }
  .quote-privacy { font-size: .7rem; }
  .quote-review-grid { display: flex; flex-direction: column; gap: 0; }
  .quote-review-grid > * { width: 100%; }
  .quote-send-panel { position: static; order: -1; padding: 1rem; }
  .quote-channel { padding: .9rem; }
  .quote-channel .btn { font-size: .84rem; }
  .quote-review > .quote-panel-heading { align-items: start; }
  #quote-review-title { font-size: 1.2rem; }
  .quote-review-overview { padding: 1rem 1rem .5rem; }
  .quote-review-items, .quote-transcript { padding-inline: 1rem; }
  .quote-review-item { padding-block: .8rem; gap: .65rem; }
  .quote-review-item h4 { font-size: .84rem; }
  .quote-review-item p { font-size: .72rem; }
  .quote-confirm { padding: 1.2rem; }
  .quote-confirm > div { flex-direction: column; }
  .quote-empty { padding: 2rem 1.1rem; }
  .quote-empty h2 { font-size: 1.25rem; }
  .quote-empty p { font-size: .85rem; }
}
@media (max-width: 370px) {
  .commerce-page .site-header .brand-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .quote-steps button { font-size: .63rem; gap: .3rem; }
  .quote-steps b { width: 20px; height: 20px; }
  .quote-quantity-group { gap: .4rem; }
  .quote-stepper input { width: 44px; }
  .quote-stage-action > div > span { font-size: .62rem; }
}
@media print {
  body:has(.quote-page) > .site-header, body:has(.quote-page) > .site-footer, .quote-heading, .quote-send-panel, .quote-review > .quote-panel-heading, .quote-review > p, .quote-status, #quote-edit, .quote-empty, .quote-back, #quote-review .quote-text-button, .quote-review-overview, .quote-review-items, .quote-transcript > summary { display: none !important; }
  .quote-page, .quote-content { background: white; padding: 0 !important; }
  .quote-review-grid, .quote-review-content, .quote-transcript { display: block; border: 0; padding: 0; }
  #quote-preview { color: #000; font-size: 10pt; }
}
.catalogue-entry { background: #edf6f5; padding: 3rem 0; border-top: 1px solid #c7ddda; }
.catalogue-entry > .container { display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.catalogue-entry .eyebrow { margin-bottom: .5rem; }
.catalogue-entry h2 { font-size: 1.6rem; }
.catalogue-entry p { max-width: 650px; font-size: .9rem; }
.catalogue-entry .btn { flex: none; }
@media(max-width: 700px) { .catalogue-entry > .container { align-items: start; flex-direction: column; gap: 1.2rem; } }


/* The shared cart must also fit the existing marketing-page header. */
@media (max-width: 700px) {
  body:not(.commerce-page) .header-cta,
  body:not(.commerce-page) .nav-toggle { min-height: 44px; }
  body:not(.commerce-page) .nav-toggle { min-width: 44px; }
}
@media (max-width: 420px) {
  body:not(.commerce-page) .header-cart { gap: .1rem; }
  body:not(.commerce-page) .header-cart svg { width: 18px; }
  body:not(.commerce-page) .header-inner { gap: .45rem; }
  body:not(.commerce-page) .header-cta { font-size: .59rem; padding-inline: .45rem; }
}
@media (max-width: 360px) {
  body:not(.commerce-page) .site-header .brand-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
