/* Canonical public cart + quote flow. Loaded last to neutralize legacy patches. */
html.ath-cart-open,html.ath-cart-open body{overflow:hidden!important}
.ath-cart-fab,.ath28-header-cart,.ath251-cart-overlay,.ath252-cart-overlay,.ath25-cart-overlay{display:none!important}
[data-cart-overlay]{position:fixed;inset:0;z-index:99990;background:rgba(22,15,11,.52);opacity:0;transition:opacity .2s ease}
[data-cart-overlay].is-open{display:block!important;opacity:1}
[data-cart-drawer]{position:fixed!important;z-index:99991!important;inset-block:0!important;inset-inline-end:0!important;inset-inline-start:auto!important;width:min(400px,100vw)!important;max-width:100vw!important;display:flex!important;flex-direction:column!important;background:#fff!important;box-shadow:0 0 45px rgba(25,16,10,.22)!important;transform:translateX(105%)!important;visibility:hidden!important;pointer-events:none!important;transition:transform .24s ease,visibility .24s!important}
html[dir="rtl"] [data-cart-drawer]{transform:translateX(-105%)!important}
[data-cart-drawer].is-open{transform:translateX(0)!important;visibility:visible!important;pointer-events:auto!important}
html[dir="rtl"] [data-cart-drawer].is-open{transform:translateX(0)!important}
[data-cart-drawer] .ath-cart-drawer-head{min-height:64px;align-items:center}
[data-cart-close]{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#f5efe6;color:#2f241b;font-size:1.7rem;cursor:pointer}
[data-cart-drawer] button,[data-cart-drawer] a{min-height:44px}
.ath-cart-toast-v14{position:fixed;z-index:100000;inset-block-end:24px;inset-inline-start:50%;translate:-50% 16px;max-width:min(420px,calc(100vw - 32px));padding:12px 18px;border-radius:12px;background:#213b2c;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:.2s}
.ath-cart-toast-v14.is-open{opacity:1;translate:-50% 0}
.ath-quote-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:.45rem;margin:0 0 1.25rem;padding:0;list-style:none}
.ath-quote-progress button{width:100%;min-height:48px;padding:.55rem;border:1px solid #dfd1b9;border-radius:12px;background:#fff;color:#56483c;font-weight:700;cursor:pointer}
.ath-quote-progress button[aria-current="step"]{border-color:#9a712c;background:#fff8e8;color:#61450d;box-shadow:0 0 0 2px rgba(154,113,44,.12)}
.ath-quote-step{display:grid;gap:1rem;border:0;padding:0;margin:0;min-width:0}
.ath-quote-step[hidden]{display:none!important}
.ath-quote-step>legend{width:100%;margin-bottom:.75rem;font-size:1.3rem;font-weight:800;color:#33271f}
.ath-quote-actions{display:flex;justify-content:space-between;gap:.75rem;margin-top:1.25rem}
.ath-quote-actions button{min-height:48px;min-width:120px}
.ath-quote-summary{display:grid;gap:.6rem;padding:1rem;border:1px solid #e3d6c1;border-radius:14px;background:#fffaf1;margin-bottom:1rem}
.ath-quote-summary div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #eee3d2;padding-bottom:.45rem}
.ath-other-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:.5rem;margin-bottom:.55rem}
.ath-other-remove,.ath-other-add{min-height:44px;border:1px solid #d8c9b2;border-radius:10px;background:#fff;cursor:pointer}
.ath-other-remove:disabled{opacity:.45;cursor:not-allowed}
.ath-cart-info h2{margin:.4rem 0;font-size:1.15rem}
.ath-field-client-error{display:block;margin-top:.3rem;color:#a32121;font-size:.82rem}
:is(a,button,input,select,textarea):focus-visible{outline:3px solid #1267a5!important;outline-offset:3px!important}
.ath-mobile-cart{display:none;position:relative;place-items:center;min-width:44px;min-height:44px;border:1px solid #dfd1b9;border-radius:50%;background:#fff;text-decoration:none}
.ath-mobile-cart b{position:absolute;inset-block-start:-4px;inset-inline-end:-4px;display:grid;place-items:center;min-width:21px;height:21px;padding-inline:4px;border-radius:999px;background:#8d2525;color:#fff;font-size:.7rem}
@media(max-width:700px){.ath-mobile-cart{display:grid}.ath-quote-progress{grid-template-columns:1fr 1fr}.ath-quote-progress button{font-size:.78rem}.ath-quote-actions{position:sticky;bottom:0;z-index:5;padding:.65rem;background:rgba(255,255,255,.96)}.ath-cart-drawer-foot{padding-bottom:max(14px,env(safe-area-inset-bottom))!important}}
@media(min-width:701px){.ath-header-cart{display:inline-flex!important}.ath-mobile-cart{display:none!important}}
@media(prefers-reduced-motion:reduce){[data-cart-overlay],[data-cart-drawer],.ath-cart-toast-v14{transition:none!important}}
