:root{--v331-navy:#15375f;--v331-cream:#faf6ed;--v331-line:rgba(16,36,58,.12);--v331-shadow:0 20px 44px rgba(10,26,46,.16)}

/* Drawer / hamburger fit */
.drawerTop{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;flex-wrap:nowrap!important}
.drawerBrandIconOnly{flex:0 0 auto!important;min-width:0!important}
.drawerBrandIconOnly .drawerBrandMark img{width:96px!important}
.drawerLang,.drawerCurrency,.langSwitch,.currencySwitch{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important}
.drawerLang .chip,.drawerCurrency .chip,.langSwitch .pill,.currencyChip{min-width:0!important;padding:7px 9px!important;font-size:12px!important;line-height:1!important;border-radius:14px!important}
.drawerTop .menuLang,.drawerTop .langSwitch{max-width:calc(100% - 110px)!important;justify-content:flex-end!important}
.drawerTop .menuLang .pill,.drawerTop .drawerLang .chip{min-width:44px!important;text-align:center!important}
.drawerTop .currencySwitch,.drawerTop .drawerCurrency{justify-content:flex-end!important}
@media (max-width:640px){
  .drawerBrandIconOnly .drawerBrandMark img{width:86px!important}
  .drawerLang .chip,.drawerCurrency .chip,.langSwitch .pill,.currencyChip{padding:6px 8px!important;font-size:11px!important}
}
@media (max-width:420px){
  .drawerTop{gap:8px!important}
  .drawerBrandIconOnly .drawerBrandMark img{width:78px!important}
  .drawerLang .chip,.drawerCurrency .chip,.langSwitch .pill,.currencyChip{padding:5px 7px!important;font-size:10.5px!important;border-radius:12px!important}
  .drawerTop .menuLang,.drawerTop .langSwitch{max-width:calc(100% - 92px)!important}
}

/* Build receipt stickiness */
body.buildPage .desktopReceiptShell{position:sticky!important;top:104px!important;align-self:start!important;height:auto!important}
body.buildPage .premiumReceiptPanel{position:sticky!important;top:104px!important;max-height:calc(100vh - 140px)!important;overflow:auto!important}
body.buildPage .premiumReceiptHint{position:sticky!important;top:calc(104px + 12px)!important;z-index:2!important}
body.buildPage .buildInlineEstimate.compactReceipt{position:sticky!important;top:74px!important;z-index:170!important;background:transparent!important;padding-top:2px!important}
body.buildPage .buildInlineEstimateButton{box-shadow:var(--v331-shadow)!important;background:#fff!important;border:1px solid var(--v331-line)!important}
body.buildPage .buildInlineEstimate{margin-bottom:14px!important}

.mobileStickyReceipt{display:none}
@media (max-width:900px){
  body.buildPage .buildInlineEstimate.compactReceipt{top:72px!important}
  body.buildPage .buildInlineEstimateButton{border-radius:22px!important}
  .mobileStickyReceipt{position:fixed;left:14px;right:14px;bottom:98px;z-index:4800;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border:1px solid var(--v331-line);border-radius:18px;box-shadow:0 16px 34px rgba(10,26,46,.18);transform:translateY(18px);opacity:0;pointer-events:none;transition:transform .18s ease,opacity .18s ease}
  .mobileStickyReceipt.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .mobileStickyReceipt strong{font-size:15px;color:var(--v331-navy)}
  .mobileStickyReceipt small{display:block;color:#64748b;font-size:12px;line-height:1.2;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56vw}
  .mobileStickyReceipt .total{font-weight:900;color:var(--v331-navy);font-size:20px;flex:0 0 auto}
  body.buildPage.buildSummaryOpen .mobileStickyReceipt{opacity:0!important;pointer-events:none!important;transform:translateY(18px)!important}
}
@media (max-width:420px){
  .mobileStickyReceipt{left:10px;right:10px;bottom:94px;padding:11px 12px}
  .mobileStickyReceipt strong{font-size:14px}
  .mobileStickyReceipt .total{font-size:18px}
  .mobileStickyReceipt small{max-width:52vw}
}

/* V33.2 active currency + clearer chip feedback */
.currencyChip,.drawerCurrency .currencyChip,.desktopUtility .currencyChip{transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
html[data-currency="EUR"] .currencyChip[data-currency="EUR"],
html[data-currency="USD"] .currencyChip[data-currency="USD"],
.currencyChip.is-current,
.currencyChip[aria-pressed="true"]{background:#15375f!important;color:#fff!important;border-color:#15375f!important;box-shadow:0 8px 18px rgba(21,55,95,.18)!important}
html[data-currency="EUR"] .currencyChip[data-currency="EUR"] *,
html[data-currency="USD"] .currencyChip[data-currency="USD"] *,
.currencyChip.is-current *,
.currencyChip[aria-pressed="true"] *{color:#fff!important}
