/* The logo's ink blue anchors navigation and buying actions. */
:root {
  --bsg-ink: #172f43;
  --bsg-action: #173d59;
  --bsg-hover: #102e45;
  --bsg-text: #263947;
  --bsg-muted: #485f6d;
  --bsg-paper: #faf9f5;
  --bsg-white: #fffefb;
  --bsg-soft: #eeeee8;
  --bsg-rule: #d4dad9;
  --bsg-info: #e1f0f7;
  --bsg-info-ink: #245169;
  --bsg-accent: #946b45;
}
body.luxe, body.luxe.lx-home {
  --lx-ink: var(--bsg-text); --lx-navy: var(--bsg-action); --lx-blue: var(--bsg-info-ink);
  --lx-bg: var(--bsg-paper); --lx-mist: var(--bsg-soft); --lx-line: var(--bsg-rule);
  --lx-muted: var(--bsg-muted); --lx-gold: var(--bsg-accent);
  --home-paper: var(--bsg-white); --home-linen: var(--bsg-soft);
  --home-deep: var(--bsg-ink); --home-pale: #eaf0f0;
  background: var(--bsg-paper); color: var(--bsg-text);
}
body.luxe :is(.lx-header,.lx-mobile-bar,.lx-dialog,.lx-mobile-menu.lx-enhanced-menu) {
  background: var(--bsg-white); color: var(--bsg-ink); border-color: var(--bsg-rule);
}
body.luxe .lx-header { box-shadow: 0 1px 0 var(--bsg-rule); }
body.luxe .lx-header .lx-cart-entry, body.luxe .lx-mobile-bar > a:last-child,
body.luxe .lx-btn:not(.lx-btn-outline), body.luxe .lx-buy-actions a[href*="guest-order"],
body.luxe.product-page .lx-buy-actions a[href="#aurora-estimate"],
body.luxe.product-page .lx-mobile-bar .aurora-buy, body.luxe #lx-compare .lx-compare-primary {
  background:var(--bsg-action)!important; color:#fff!important; border-color:var(--bsg-action)!important;
}
body.luxe :is(.lx-buy-actions,.lx-mobile-bar) > button[data-cart-add],
body.luxe #lx-compare .lx-compare-cart {
  background:var(--bsg-white)!important; color:var(--bsg-action)!important;
  border:1px solid var(--bsg-action)!important;
}
body.luxe .lx-header .lx-cart-entry:hover, body.luxe .lx-buy-actions a[href*="guest-order"]:hover,
body.luxe .lx-actions .lx-btn:hover { background:var(--bsg-hover)!important; }
body.luxe :focus-visible { outline:3px solid #347198; outline-offset:3px; }
body.luxe.lx-home .lx-hero {
  background:var(--bsg-paper); border-bottom:1px solid var(--bsg-rule);
  padding-block:clamp(1.5rem,4.4vw,4.75rem) 0;
}
body.luxe.lx-home .lx-hero-copy > h1.lx-hero-heading { color:var(--bsg-ink); margin-block:.8rem 1rem; }
body.luxe.lx-home .lx-hero-heading .lx-hero-brand-name {
  color:var(--bsg-muted); font-size:clamp(1.12rem,1.7vw,1.55rem);
  font-weight:600; letter-spacing:.065em; line-height:1.45;
}
body.luxe.lx-home .lx-hero-heading .lx-hero-series-name {
  font-family:"Noto Serif TC","Source Han Serif TC","Songti TC","PMingLiU",serif;
  font-size:clamp(2.18rem,4.2vw,4.85rem); font-weight:700; line-height:1.17; letter-spacing:.008em;
}
body.luxe.lx-home .lx-hero-copy > .lx-kicker { color:var(--bsg-muted); letter-spacing:.06em; }
body.luxe.lx-home .lx-hero-copy > p.lx-hero-endorsement {
  color:var(--bsg-info-ink)!important; background:var(--bsg-info)!important;
  padding:.32em .72em; border:0; border-inline-start:2px solid #7095a6; border-radius:0 4px 4px 0;
  font-weight:650; line-height:1.55;
}
body.luxe.lx-home .lx-hero-copy .aurora-intro { color:var(--bsg-muted); max-width:32em; }
body.luxe.lx-home .lx-lifestyle-scene { border-radius:clamp(10px,1vw,18px); box-shadow:none; }
body.luxe.lx-home .lx-lifestyle-scene img { display:block; width:100%; height:auto; aspect-ratio:1672/941; object-fit:contain; }
body.luxe.lx-home .aurora-routes { border-color:var(--bsg-rule); }
body.luxe.lx-home .aurora-routes a { color:var(--bsg-action); }
body.luxe.lx-home .aurora-routes span { color:var(--bsg-muted); }
body.luxe.lx-home :is(.lx-finder,.lx-contact,.lx-partner) { background:var(--bsg-soft); color:var(--bsg-text); }
body.luxe.lx-home :is(.lx-knowledge,.lx-nationwide,.lx-footer) { background:var(--bsg-paper); color:var(--bsg-text); }
body.luxe.lx-home :is(.lx-section-head,.lx-finder-inner,.lx-payment-explainer) h2,
body.luxe .catalog-head h1, body.luxe .decision-info h1, body.luxe .search-block h2 { color:var(--bsg-ink); text-wrap:balance; }
body.luxe.lx-home .lx-section-head { border-top:1px solid var(--bsg-rule); padding-top:clamp(1.1rem,2vw,2rem); }
body.luxe.lx-home :is(.lx-product,.lx-offer,.lx-guide,.lx-service-benefits > div,.lx-region-grid > div),
body.luxe :is(.catalog-card,.decision-fit,.decision-mini,.cart-row) {
  color:var(--bsg-text); background-color:var(--bsg-white); border-color:var(--bsg-rule); box-shadow:none;
}
body.luxe.lx-home .lx-product-copy .lx-product-price, body.luxe .decision-price .bsg-price-final-amount { color:var(--bsg-action)!important; font-variant-numeric:tabular-nums; }
body.luxe.lx-home .lx-service-benefits > div > .lx-service-icon { background:var(--bsg-info); color:var(--bsg-info-ink); }
body.luxe.lx-home :is(.lx-product-photo,.lx-product-badge) { background-color:var(--bsg-soft); color:var(--bsg-ink); }
body.luxe.lx-home :is(.lx-dark-section,.lx-collection.aurora) { background:var(--bsg-ink); color:#fff; }
body.luxe.lx-home :is(.lx-dark-section,.lx-collection.aurora) :is(a,h2,h3,strong) { color:#fff!important; }
body.luxe.lx-home :is(.lx-dark-section,.lx-collection.aurora) :is(.lx-kicker,.lx-case-type,p) { color:#e1eaed!important; }
body.luxe .catalog-head, body.luxe .search-guide .catalog-head { background:var(--bsg-soft); color:var(--bsg-text); }
body.luxe .search-guide-content { color:var(--bsg-text); }
body.luxe .search-guide .search-block, body.luxe .search-region-grid article, body.luxe .decision-price {
  background-color:var(--bsg-white); border-color:var(--bsg-rule);
}
body.luxe :is(#all-screen-sizes,#service-by-county,#size-options) { scroll-margin-top:4.5rem; }
body.luxe :is(.spec-table,.service-policy-table) th { background-color:var(--bsg-info); color:var(--bsg-info-ink); }
body.luxe #all-screen-sizes tbody th { background:var(--bsg-white); }
body.luxe :is(#all-screen-sizes,#service-by-county,#size-options) a {
  color:var(--bsg-action); text-decoration:underline; text-underline-offset:.2em;
}
body.luxe .search-region-grid article h3 { color:var(--bsg-ink); }
body.luxe .lx-gallery-stage img, body.luxe .lx-product-photo img { object-fit:scale-down; }
body.luxe .lx-gallery-stage { background:#fff; border-color:var(--bsg-rule); }
body.luxe #cases .lx-case-image {
  display:grid; place-items:center; overflow:hidden; width:100%;
  height:auto!important; aspect-ratio:4 / 3!important; background:#e9e6df;
}
body.luxe #cases .lx-case-image img { display:block; width:100%; height:100%; object-fit:contain; }
body.luxe #case-xizhi > a:first-child { display:grid; place-items:center; height:auto; aspect-ratio:4/3; background:#eeece6; }
body.luxe #case-xizhi > a:first-child img, body.luxe #featured .featured-installation img {
  display:block; height:auto!important; width:100%; max-width:554px; aspect-ratio:554/415!important; object-fit:contain!important;
}
body.luxe :is(.cart-progress,.shop-flow) [aria-current="step"] { color:var(--bsg-action); font-weight:700; }
@media(min-width:901px) {
  body.luxe.lx-home .lx-hero-layout { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:clamp(2rem,5vw,6rem); }
}
@media(min-width:1200px) and (max-width:1599px) {
  body.luxe .lx-header .lx-desktop { display:flex!important; align-items:center; gap:clamp(.65rem,1.25vw,1.2rem)!important; }
  body.luxe .lx-header .lx-desktop a { white-space:nowrap; }
  body.luxe .lx-header .lx-desktop :is([href="/screen-replacement.htm"],[href="/dealers.htm"],[href="/contact-bsg.htm"]) { display:none!important; }
}
@media(max-width:680px) {
  body.luxe.lx-home .lx-hero-layout { gap:1rem; }
  body.luxe.lx-home .lx-hero-copy > h1.lx-hero-heading { margin-block:.5rem .7rem; }
  body.luxe.lx-home .lx-section-head h2 { line-height:1.33; }
  body.luxe .service-policy-table :is(th,td) { padding:.55em .65em; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}

/* Storefront purchasing and installation records */
body.luxe .lx-hero-copy .lx-actions {display:flex; flex-wrap:wrap; align-items:center; gap:.4rem 1.1rem;}
body.luxe .lx-hero-copy .width-entry {display:inline-flex; align-items:center; min-height:44px; font-size:1rem; font-weight:600; color:var(--bsg-action); text-decoration:underline; text-underline-offset:.25em;}
#aurora-width-filter {scroll-margin-top:5rem;}
body.luxe :is(.lx-product-photo,.lx-gallery-stage,.q-product-proof img,.q-case > a:first-child,.q-case > a:first-child img) {border-radius:8px; overflow:hidden;}
body.luxe .fee-example {margin:.7rem 0; padding:.65rem .9rem; background:var(--bsg-info); color:var(--bsg-ink); border-inline-start:3px solid #7698a8; border-radius:0 8px 8px 0; font-size:.96rem; line-height:1.55;}
body.luxe .fee-example p {margin:.2rem 0; color:inherit; font:inherit;}
body.luxe .fee-example strong {font-variant-numeric:tabular-nums;}

#aurora-estimate { margin: 1rem 0; background: #f2f6f1; border: 1px solid #c9d7cb; color: #233e33; border-radius: 10px; }
#aurora-estimate summary { padding: .85rem 1rem; cursor: pointer; font-weight: 650; font-size: 1rem; }
#aurora-estimate .estimate-body { display: grid; gap: .85rem; padding: 0 1rem 1rem; }
#aurora-estimate p, #aurora-estimate label { margin: 0; font-size: 1rem; line-height: 1.6; }
#aurora-estimate label { display: grid; gap: .3rem; }
#aurora-estimate select { width: 100%; min-width: 0; min-height: 44px; padding: .45rem; border: 1px solid #859989; border-radius: 5px; color: #233e33; background: white; font: inherit; }
#aurora-estimate .estimate-check { display: flex; align-items: center; gap: .55rem; min-height: 44px; }
#aurora-estimate output { display: block; padding-top: .75rem; border-top: 1px solid #cad7cc; font-size: 1rem; }
#aurora-estimate output strong { display: block; margin-top: .25rem; font-size: 1.25rem; }
#aurora-estimate .estimate-review, #aurora-estimate .estimate-reset { width: fit-content; color: #294c3f; text-decoration: underline; font: inherit; cursor: pointer; }
#aurora-estimate .estimate-reset { background: transparent; border: 0; padding: .35rem 0; }
#aurora-estimate [hidden] { display:none; }

body.luxe #aurora-estimate {color:var(--bsg-text); background:var(--bsg-white);border-color:var(--bsg-rule);}

body.luxe .lx-lifestyle-scene {position:relative; display:block; isolation:isolate; container-type:inline-size;}
body.luxe .lx-lifestyle-scene .hero-photo-caption {position:absolute; inset:6% auto auto 4.4%; display:grid; gap:.18em; text-align:left; color:#173449; background:rgba(249,248,242,.93); padding:.5em .72em; border-inline-start:2px solid #6a8994; border-radius:0 5px 5px 0; line-height:1.45; font-size:clamp(14px,3.05cqw,23px); letter-spacing:0; pointer-events:none;}
body.luxe .hero-photo-caption strong {font-size:1.12em; font-weight:750;}
body.luxe .hero-photo-caption > span {font-size:.96em; font-weight:600;}
