/* SibLight approved local visual theme. Load after sales and widget styles.
   Scoped to existing body.sales pages; semantic warning/error/success colors stay intact. */
body.sales {
  --navy-900: #08244c;
  --navy-800: #08244c;
  --navy-700: #075dcc;
  --navy-600: #075dcc;
  --navy-100: #edf5ff;
  --ink: #263b55;
  --ink-soft: #58708e;
  --line: #d5e2f1;
  --bg: #f5f7fa;
  --surface: #fff;
  --info-bg: #edf5ff;
  --radius: 14px;
  --shadow: 0 4px 22px rgba(8, 36, 76, .045);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sl-font-family, "Rubik", Arial, sans-serif);
  font-size: 16px;
  line-height: 1.6;
}
body.sales :is(button, input, select, textarea) { font-family: inherit; }
body.sales a { color: #075dcc; }
body.sales a:hover { color: #08244c; }
body.sales :focus-visible { outline: 3px solid #075dcc; outline-offset: 3px; }
body.sales .wrap { max-width: 1360px; padding-right: 28px; padding-left: 28px; }

/* White navigation and strong navy headings match the approved home page. */
body.sales .head { background: #fff; color: #08244c; border-bottom: 1px solid #d5e2f1; }
body.sales .head__row { min-height: 88px; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; }
body.sales .brand { color: #08244c; gap: 12px; }
body.sales .brand:hover { color: #075dcc; }
body.sales .brand__mark { width: 38px; height: 38px; border-radius: 9px; background: #075dcc; color: #fff; }
body.sales .brand__name { font-size: 25px; font-weight: 700; letter-spacing: -.025em; }
body.sales .brand { position: relative; }
body.sales .brand__mark { width: 174px; height: 40px; border-radius: 0; background: transparent url('/assets/img/logo-mark.png') center / contain no-repeat; color: transparent; }
body.sales .brand__name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.sales .nav { gap: 6px 18px; align-items: center; }
body.sales .nav__link { color: #08244c; font-size: 14px; font-weight: 500; padding: 8px 0; }
body.sales .nav__link:hover { color: #075dcc; border-bottom-color: #075dcc; }
body.sales .site-note { color: #58708e; font-size: 12px; }
body.sales .skip-link { color: #fff; background: #075dcc; }
body.sales .skip-link:focus { color: #fff; }
body.sales .main { padding-top: 40px; padding-bottom: 56px; }
body.sales .page-title { color: #08244c; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.16; letter-spacing: -.025em; font-weight: 700; margin-bottom: 16px; }
body.sales .page-lead { color: #58708e; font-size: 17px; line-height: 1.6; max-width: 80ch; }
body.sales .layout { gap: 24px; }
body.sales .card { padding: 24px; border-color: #d5e2f1; border-radius: 14px; box-shadow: var(--shadow); }
body.sales .card__head { margin-bottom: 18px; }
body.sales .card__title { color: #08244c; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
body.sales :is(.empty__title, .quote__title, .detail__title, .bundle-preview__title, .delivery-guide__title, .contractor-guide__title) { color: #08244c; line-height: 1.3; font-weight: 700; }

/* Brand actions are blue; warning, dirty-item, success and error states keep their meaning. */
body.sales .btn { min-height: 46px; padding: 11px 18px; border-radius: 9px; font-weight: 600; line-height: 1.25; }
body.sales :is(.btn--primary, .btn--accent) { background: #075dcc; border-color: #075dcc; color: #fff; }
body.sales :is(.btn--primary, .btn--accent):hover:not(:disabled):not([aria-disabled="true"]) { background: #08244c; border-color: #08244c; color: #fff; }
body.sales :is(a.btn--primary, a.btn--accent):hover { color: #fff; }
body.sales .btn--ghost { border-color: #cbdcf1; background: #fff; color: #075dcc; }
body.sales .btn--ghost:hover:not(:disabled):not([aria-disabled="true"]) { border-color: #075dcc; background: #edf5ff; color: #08244c; }
body.sales .btn--sm { min-height: 38px; padding: 7px 12px; font-size: 14px; }
body.sales :is(.alert, .note-line, .cart-clarity-note, .offer, .quote, .more, .bundle-preview, .project-item, .request-item, .detail) { border-radius: 12px; }
body.sales :is(.note-line, .cart-clarity-note, .offer, .busy, .bundle-preview__line) { background: #edf5ff; }
body.sales :is(.cart-clarity-note, .offer__text, .busy) { color: #08244c; }
body.sales .alert--info { background: #edf5ff; border-color: #cbdcf1; }
body.sales .alert__title { color: #08244c; font-weight: 700; }
body.sales .offer { border: 1px solid #cbdcf1; padding: 16px; }

/* Fields remain real inputs and preserve their validation styling. */
body.sales .form { gap: 16px; }
body.sales .field { gap: 6px; }
body.sales :is(.field__label, .fieldset__legend, .more__summary) { color: #08244c; font-weight: 600; }
body.sales .input { min-height: 48px; padding: 11px 14px; border-color: #cbdcf1; border-radius: 9px; background: #fff; color: #263b55; font-size: 16px; }
body.sales .input:focus { border-color: #075dcc; }
body.sales .input[aria-invalid="true"] { border-color: var(--error); background: #fffafa; }
body.sales .textarea { min-height: 110px; }
body.sales .radio { border-color: #cbdcf1; border-radius: 9px; min-height: 46px; }
body.sales .radio:hover { border-color: #075dcc; }
body.sales .radio input { accent-color: #075dcc; }
body.sales .quote { border-color: #cbdcf1; background: #f5f9ff; padding: 16px; }
body.sales .quote__amount { font-size: 24px; }
body.sales .form__note { line-height: 1.55; }

/* Basket, account, receipt and specification cards use the same surface treatment. */
body.sales .cart-row { padding-top: 20px; padding-bottom: 20px; gap: 14px; }
body.sales .cart-row__img { background: #edf5ff; border: 1px solid #d5e2f1; border-radius: 10px; object-fit: contain; }
body.sales .cart-row__title { font-weight: 600; line-height: 1.4; }
body.sales .cart-row__link { color: #08244c; border-bottom-color: #cbdcf1; }
body.sales .cart-row__link:hover { color: #075dcc; border-bottom-color: #075dcc; }
body.sales .cart-row__total { font-size: 18px; }
body.sales .qty { border-color: #cbdcf1; border-radius: 10px; }
body.sales .qty__btn { background: #edf5ff; color: #075dcc; }
body.sales .qty__btn:hover:not(:disabled) { background: #dcecff; }
body.sales .qty__input { border-color: #cbdcf1; font-size: 16px; }
body.sales .totals { gap: 12px; margin-top: 18px; }
body.sales .totals__row--total { padding-top: 16px; }
body.sales .totals__row--total :is(dt, dd) { font-size: 20px; font-weight: 700; }
body.sales .cart-mobile { border-color: #cbdcf1; box-shadow: 0 -5px 20px rgba(8, 36, 76, .07); }
body.sales .cart-mobile__amount { color: #08244c; }
body.sales :is(.project-item, .request-item, .detail, .spec-picked, .spec-check) { background: #f9fbff; border-color: #d5e2f1; }
body.sales :is(.project-item, .request-item) { padding: 16px; }
body.sales :is(.project-item__name, .request-item__number, .bundle-preview__name) { font-size: 16px; }
body.sales .receipt-table { color: #263b55; }
body.sales .receipt-table thead { background: #edf5ff; }
body.sales .receipt-table th { color: #08244c; }
body.sales :is(.receipt-table td, .receipt-table th) { border-color: #d5e2f1; }

/* Existing widgets define their own colors and fonts; remap only neutral/brand tokens. */
body.sales .sales-files { --sf-border: #d5e2f1; --sf-surface-alt: #f5f7fa; --sf-muted: #58708e; --sf-accent: #075dcc; }
body.sales .sales-files__label { min-height: 44px; border-radius: 9px; color: #075dcc; font-weight: 500; }
body.sales .sales-files__item { border-radius: 9px; padding: 12px; }
body.sales .spec-sheet { --ss-line: #d5e2f1; --ss-line-strong: #a9c2e1; --ss-ink: #263b55; --ss-muted: #58708e; --ss-soft: #f5f7fa; --ss-accent: #075dcc; font-family: inherit; }
body.sales .spec-sheet__title { color: #08244c; font-size: 22px; font-weight: 700; }
body.sales :is(.spec-sheet__bulk, .spec-sheet__row) { border-radius: 10px; padding: 14px; }
body.sales .spec-sheet :is(input, select, textarea) { font-family: inherit; font-size: 16px; }
body.sales .spec-offer-view { --sov-border: #d5e2f1; --sov-muted: #58708e; --sov-fg: #263b55; --sov-accent: #075dcc; --sov-row-bg: #f9fbff; font-family: inherit; }
body.sales .dealer-projects { --dp-border: #d5e2f1; --dp-muted: #58708e; --dp-accent: #075dcc; color: #263b55; font-family: inherit; }
body.sales .dealer-projects :is(.dp-input, .dp-select, .dp-btn) { font-family: inherit; }
body.sales .dealer-projects .dp-btn { min-height: 44px; border-radius: 9px; }
body.sales .som-root { color: #263b55; font-family: inherit; }
body.sales .som-root .som-btn-primary { background: #075dcc; border-color: #075dcc; }
body.sales :is(.cart-review__inner, .cart-review__excluded-item, .cart-review__pending) { border-color: #d5e2f1; border-radius: 12px; }
body.sales .cart-review__inner { box-shadow: var(--shadow); padding: 20px; }
body.sales :is(.cart-review__title, .cart-review__subtitle, .cart-review__item-title, .cart-review__price-new, .cart-review__pending-text) { color: #08244c; }
body.sales .cart-review__qty:focus-visible { outline-color: #075dcc; }
body.sales .cart-review__note--info { background: #edf5ff; color: #08244c; }

body.sales .foot { background: #08244c; border-top-color: #08244c; color: #c6dcf8; }
body.sales .foot__row { gap: 14px 24px; padding-top: 26px; padding-bottom: 26px; }
body.sales .foot a { color: #9dcfff; }
body.sales .foot a:hover { color: #fff; }
body.sales .foot .muted { color: #c6dcf8; }

@media (min-width: 920px) {
  body.sales .layout:not(.layout--single) { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 760px) {
  body.sales .wrap { padding-right: 20px; padding-left: 20px; }
  body.sales .head__row { gap: 8px 18px; padding-top: 14px; padding-bottom: 14px; }
  body.sales .nav { flex: 1 1 100%; margin-left: 0; gap: 6px 16px; }
  body.sales .nav__link { min-height: 40px; display: inline-flex; align-items: center; font-size: 13px; }
  body.sales .main { padding-top: 28px; padding-bottom: 40px; }
  body.sales .layout { gap: 18px; }
  body.sales .card { padding: 20px; }
  body.sales .card__title { font-size: 20px; }
  body.sales .page-lead { font-size: 16px; }
  body.sales .cart-row { gap: 12px; }
  body.sales .cart-row__price { flex: 1 1 100%; text-align: left; }
  body.sales .cart-mobile__link { width: auto; max-width: 100%; white-space: normal; }
}
@media (max-width: 400px) {
  body.sales .wrap { padding-right: 14px; padding-left: 14px; }
  body.sales .card { padding: 18px 16px; }
  body.sales .brand__name { font-size: 23px; }
  body.sales .cart-mobile__inner { gap: 6px; }
  body.sales .cart-mobile__amount { font-size: 14px; }
  body.sales .cart-mobile__link { font-size: 13px; padding-right: 12px; padding-left: 12px; }
}

/* Two existing standalone sales pages receive an explicit body class on integration. */
body.sl-sales-special {
  --navy: #08244c;
  --navy2: #075dcc;
  --navy-900: #08244c;
  --navy-800: #08244c;
  --navy-700: #075dcc;
  --navy-600: #075dcc;
  --navy-100: #edf5ff;
  --orange: #075dcc;
  --orange2: #08244c;
  --ink: #263b55;
  --ink-soft: #58708e;
  --muted: #58708e;
  --line: #d5e2f1;
  --bg: #f5f7fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 4px 22px rgba(8, 36, 76, .045);
  margin: 0;
  min-width: 320px;
  background: #f5f7fa;
  color: #263b55;
  font: 400 16px/1.6 var(--sl-font-family, "Rubik", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}
body.sl-sales-special :is(button, input, select, textarea) { font-family: inherit; }
body.sl-sales-special :focus-visible { outline: 3px solid #075dcc; outline-offset: 3px; }
body.sl-sales-special .wrap { width: 100%; max-width: 1360px; padding-right: 28px; padding-left: 28px; }
body.sl-sales-special > .wrap { padding-top: 32px; padding-bottom: 48px; }
body.sl-sales-special > .wrap > .card + .card { margin-top: 24px; }
body.sl-sales-special a { color: #075dcc; }
body.sl-sales-special a:hover { color: #08244c; }
body.sl-sales-special :is(h1, h2, h3) { color: #08244c; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }
body.sl-sales-special h1 { font-size: clamp(30px, 3.1vw, 44px); }
body.sl-sales-special h2 { font-size: clamp(22px, 2.1vw, 30px); }
body.sl-sales-special .card { border: 1px solid #d5e2f1; border-radius: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
body.sl-sales-special p.note { color: #58708e; font-size: 14px; }
body.sl-sales-special .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 9px; border: 1px solid #cbdcf1; background: #edf5ff; color: #075dcc; font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
body.sl-sales-special .btn:hover { background: #dcecff; border-color: #075dcc; color: #08244c; }
body.sl-sales-special :is(.btn--primary, .actions > .btn:not(.alt)) { background: #075dcc; border-color: #075dcc; color: #fff; }
body.sl-sales-special :is(.btn--primary, .actions > .btn:not(.alt)):hover { background: #08244c; border-color: #08244c; color: #fff; }
body.sl-sales-special .field { gap: 6px; margin-bottom: 14px; }
body.sl-sales-special .input { min-height: 48px; padding: 11px 14px; border-color: #cbdcf1; border-radius: 9px; background: #fff; color: #263b55; font-size: 16px; }
body.sl-sales-special .input:focus { border-color: #075dcc; }
body.sl-sales-special .input[aria-invalid="true"] { border-color: var(--error, #a92b23); background: #fffafa; }
body.sl-sales-special .sales-files { --sf-border: #d5e2f1; --sf-surface-alt: #f5f7fa; --sf-muted: #58708e; --sf-accent: #075dcc; }
body.sl-sales-special .spec-sheet { --ss-line: #d5e2f1; --ss-line-strong: #a9c2e1; --ss-ink: #263b55; --ss-muted: #58708e; --ss-soft: #f5f7fa; --ss-accent: #075dcc; font-family: inherit; }
body.sl-sales-special .spec-offer-view { --sov-border: #d5e2f1; --sov-muted: #58708e; --sov-fg: #263b55; --sov-accent: #075dcc; --sov-row-bg: #f9fbff; font-family: inherit; }
body.sl-sales-special .som-root { color: #263b55; font-family: inherit; }
body.sl-sales-special .som-root .som-btn-primary { background: #075dcc; border-color: #075dcc; }

/* The festive landing keeps its section links, hero, selection steps and caution note. */
body.sl-sales-special .site-header { color: #08244c; background: #fff; border-bottom: 1px solid #d5e2f1; }
body.sl-sales-special .header-inner { min-height: 88px; gap: 14px 24px; padding-top: 18px; padding-bottom: 18px; }
body.sl-sales-special .brand { color: #08244c; font-size: 23px; letter-spacing: -.02em; }
body.sl-sales-special .brand img { width: 154px; padding: 0; background: transparent; border-radius: 0; }
body.sl-sales-special .header-note { color: #58708e; font-size: 14px; }
body.sl-sales-special .section-nav { background: #fff; border-top-color: #d5e2f1; }
body.sl-sales-special .pills { gap: 8px; padding: 12px 0; }
body.sl-sales-special .pills a { min-height: 42px; display: inline-flex; align-items: center; background: #edf5ff; color: #075dcc; border: 1px solid #d5e2f1; border-radius: 9px; font-weight: 500; }
body.sl-sales-special .pills a:hover { color: #fff; background: #075dcc; border-color: #075dcc; }
body.sl-sales-special .hero { background: linear-gradient(120deg, #08244c, #123d72); color: #fff; padding: 48px 0 56px; }
body.sl-sales-special .hero h1 { color: #fff; }
body.sl-sales-special .hero p { color: #d7e7fa; font-size: 18px; }
body.sl-sales-special .hero .btn.alt { background: transparent; color: #fff; border-color: #9dcfff; }
body.sl-sales-special .hero .btn.alt:hover { background: #163f70; color: #fff; }
body.sl-sales-special main { padding-top: 40px; padding-bottom: 56px; }
body.sl-sales-special .grid { gap: 20px; }
body.sl-sales-special .tag { color: #075dcc; }
body.sl-sales-special .checklist li::before { color: #075dcc; }
body.sl-sales-special .links a { color: #075dcc; background: #edf5ff; border-color: #d5e2f1; border-radius: 9px; }
body.sl-sales-special .links a:hover { color: #08244c; border-color: #075dcc; }
body.sl-sales-special .card.note { background: #fff6ee; border-left: 4px solid #e8761a; color: #4a3524; }
body.sl-sales-special .site-footer { background: #08244c; color: #c6dcf8; padding: 32px 0; }
body.sl-sales-special .site-footer a { color: #9dcfff; }
body.sl-sales-special .site-footer a:hover { color: #fff; }
@media (max-width: 760px) {
  body.sl-sales-special .wrap { padding-right: 20px; padding-left: 20px; }
  body.sl-sales-special .card { padding: 20px; }
  body.sl-sales-special .header-note { margin-left: 0; flex: 1 1 100%; }
  body.sl-sales-special .hero { padding-top: 32px; padding-bottom: 40px; }
  body.sl-sales-special .hero p { font-size: 16px; }
  body.sl-sales-special .actions { gap: 10px; }
  body.sl-sales-special .actions .btn { width: 100%; }
  body.sl-sales-special main { padding-top: 28px; padding-bottom: 40px; }
}
@media (max-width: 400px) {
  body.sl-sales-special .wrap { padding-right: 14px; padding-left: 14px; }
  body.sl-sales-special .card { padding: 18px 16px; }
  body.sl-sales-special .grid { grid-template-columns: minmax(0, 1fr); }
}
