/* Empire Factory Store — V23 Cart & Checkout visual layer
   - UI only: no payment, shipping, cart-update or AJAX logic changed.
   - Scoped to checkout-cart / checkout-checkout and Zeexo add-to-cart modal.
   - Load AFTER empire-checkout-hotfix.css and AFTER empire-v22-cyan-home.css.
   Colors: charcoal #1B252D, cyan #00AEEF, pale gray #EEF3F7.
*/
:root{--em23-ink:#1B252D;--em23-slate:#344A58;--em23-cyan:#00AEEF;--em23-blue:#008CC7;--em23-pale:#EEF3F7;--em23-border:#D9E4EA;--em23-muted:#526777}
body.checkout-cart .main-content,body.checkout-checkout .main-content{background:#F8FAFC!important}
body.checkout-cart .em23-cart,body.checkout-checkout .em23-checkout-intro{font-family:'IBM Plex Sans',Arial,sans-serif;color:var(--em23-ink)}
body.checkout-cart .em23-cart *{box-sizing:border-box}
body.checkout-cart .em23-cart{padding:16px 0 46px;max-width:1260px;margin:auto}
body.checkout-cart .em23-cart-intro,body.checkout-checkout .em23-checkout-intro{background:var(--em23-ink);padding:30px 34px;margin:0 0 24px;border-top:4px solid var(--em23-cyan);color:#fff!important}
body.checkout-cart .em23-eyebrow,body.checkout-checkout .em23-eyebrow{display:block;color:#74D9FC!important;font-size:10px;font-weight:900;letter-spacing:.16em;line-height:1.5}
body.checkout-cart .em23-cart-intro h2,body.checkout-checkout .em23-checkout-intro h2{margin:8px 0;color:#fff!important;font-size:clamp(28px,3.4vw,44px)!important;line-height:1.08;font-weight:900;letter-spacing:-.02em}
body.checkout-cart .em23-cart-intro p,body.checkout-checkout .em23-checkout-intro p{max-width:660px;color:#D4E1E9!important;font-size:13px;line-height:1.65;margin:0}
body.checkout-cart .em23-cart-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr);gap:20px;align-items:start}
body.checkout-cart .em23-cart-main{min-width:0;display:grid;gap:20px}
body.checkout-cart .em23-panel{background:#fff!important;border:1px solid var(--em23-border)!important;padding:25px;box-shadow:0 8px 24px rgba(26,47,59,.045)}
body.checkout-cart .em23-panel-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:20px}
body.checkout-cart .em23-panel-title h3{font-size:17px!important;color:var(--em23-ink)!important;font-weight:900;line-height:1.3;letter-spacing:.04em;margin:0}
body.checkout-cart .em23-panel-title span{font-size:11px;color:var(--em23-muted);line-height:1.4}
body.checkout-cart .em23-cart-items .table-responsive{border:0!important;overflow-x:auto}
body.checkout-cart .em23-cart-table{margin:0;width:100%;border:0!important;border-collapse:collapse!important;background:#fff!important}
body.checkout-cart .em23-cart-table thead th{background:#F0F5F8!important;border:0!important;border-bottom:1px solid var(--em23-border)!important;font-size:10px!important;letter-spacing:.055em;color:#566E7E!important;font-weight:900!important;padding:13px 10px!important;text-transform:uppercase}
body.checkout-cart .em23-cart-table tbody td{padding:18px 10px!important;border:0!important;border-bottom:1px solid var(--em23-border)!important;font-size:13px!important;color:var(--em23-ink)!important;vertical-align:middle!important;background:#fff!important}
body.checkout-cart .em23-cart-table tr:last-child td{border-bottom:0!important}
body.checkout-cart .em23-image-cell{width:95px;min-width:75px;text-align:left}
body.checkout-cart .em23-image-cell img{display:block;max-width:80px;max-height:88px;width:80px;height:80px;object-fit:contain;background:#EEF3F7;border:1px solid #E0E8ED;padding:3px}
body.checkout-cart .em23-image-fallback{display:flex;width:80px;height:80px;align-items:center;justify-content:center;color:#5B7483!important;background:#E6EEF3;border:1px dashed #9EB1BE;font-size:10px!important;font-weight:900;letter-spacing:.12em}
body.checkout-cart .em23-product-link{font-weight:800!important;color:#162933!important;font-size:13px!important;line-height:1.5;display:block}
body.checkout-cart .em23-product-link:hover{color:var(--em23-blue)!important;text-decoration:underline}
body.checkout-cart .em23-model-col{font-size:11px!important;color:#647785!important;word-break:break-word}
body.checkout-cart .em23-product-options{list-style:none;margin:8px 0 0;padding:0}
body.checkout-cart .em23-product-options li,body.checkout-cart .em23-meta{display:block;margin:3px 0;font-size:11px;color:#586D7C!important;line-height:1.35}
body.checkout-cart .em23-mobile-model{display:none;color:#667D8A!important}
body.checkout-cart .em23-qty-cell{white-space:nowrap}
body.checkout-cart .em23-qty-tools{display:flex;align-items:center;justify-content:center;gap:8px}
body.checkout-cart .em23-qty-cell input[type=text]{display:inline-block;width:49px!important;max-width:49px!important;height:40px!important;min-height:40px;padding:0 8px!important;text-align:center;border:1px solid #C9D6DE!important;background:#F5F8FA!important;color:#1B252D!important;font-size:14px!important;font-weight:800}
body.checkout-cart .em23-qty-cell input[type=image],body.checkout-cart .em23-qty-cell a{display:inline-flex;align-items:center;justify-content:center;max-width:24px;flex:0 0 auto}
body.checkout-cart .em23-qty-cell input[type=image]{width:17px;height:17px;object-fit:contain;cursor:pointer}
body.checkout-cart .em23-qty-cell a img{width:17px;height:17px;object-fit:contain}
body.checkout-cart .em23-price-cell,body.checkout-cart .em23-line-total{white-space:nowrap;text-align:right;font-weight:700}
body.checkout-cart .em23-line-total{font-size:14px!important;font-weight:900!important}
body.checkout-cart .em23-shipping-intro{display:flex;gap:15px;padding:19px;background:#EAF7FC;border-left:4px solid var(--em23-cyan);margin-bottom:16px}
body.checkout-cart .em23-ship-icon{color:var(--em23-blue)!important;font-size:24px;line-height:1}
body.checkout-cart .em23-shipping-intro strong{font-size:12px!important;color:var(--em23-ink)!important;font-weight:900;letter-spacing:.035em}
body.checkout-cart .em23-shipping-intro p{margin:5px 0 0;color:#39596C!important;font-size:12px;line-height:1.6}
body.checkout-cart .em23-cart-tools #accordion{margin:0}
body.checkout-cart .em23-cart-tools #accordion>.panel{border:1px solid var(--em23-border)!important;box-shadow:none!important;border-radius:0!important;margin:0 0 9px}
body.checkout-cart .em23-cart-tools #accordion .panel-heading{background:#F5F8FA!important;padding:0!important}
body.checkout-cart .em23-cart-tools #accordion .panel-title a{display:block;padding:15px 17px;color:var(--em23-ink)!important;font-size:12px!important;font-weight:900;letter-spacing:.025em;text-decoration:none}
body.checkout-cart .em23-cart-tools #accordion .panel-title a:hover{background:#EAF7FC!important;color:#007DAF!important}
body.checkout-cart .em23-cart-tools #accordion .panel-body{padding:18px;background:#fff!important}
body.checkout-cart .em23-cart-tools #accordion input,body.checkout-cart .em23-cart-tools #accordion select{background:#fff!important;color:#1B252D!important;border-color:#C6D7E0!important}
body.checkout-cart .em23-no-estimate{font-size:12px;color:var(--em23-muted)!important}
body.checkout-cart .em23-order-summary{position:sticky;top:18px}
body.checkout-cart .em23-order-summary .cart-total{width:100%!important;float:none!important;margin:0 0 12px!important;padding:0!important;box-shadow:none!important}
body.checkout-cart .em23-order-summary .cart-total table{width:100%;margin:0;border:0;border-collapse:collapse}
body.checkout-cart .em23-order-summary .cart-total th,body.checkout-cart .em23-order-summary .cart-total td{padding:12px 4px!important;border:0!important;border-bottom:1px solid #E4EBF0!important;text-align:left!important;font-size:13px!important;color:#39505D!important;background:transparent!important}
body.checkout-cart .em23-order-summary .cart-total th{font-weight:600!important}
body.checkout-cart .em23-order-summary .cart-total td{text-align:right!important;color:var(--em23-ink)!important;font-weight:900!important;white-space:nowrap}
body.checkout-cart .em23-order-summary .cart-total tr:last-child th,body.checkout-cart .em23-order-summary .cart-total tr:last-child td{font-size:18px!important;font-weight:900!important;color:var(--em23-ink)!important;border-bottom:0!important;padding-top:18px!important}
body.checkout-cart .em23-total-note{padding:13px 14px!important;margin:8px 0 20px!important;background:#F0F7FA;color:#486273!important;font-size:11px;line-height:1.6}
body.checkout-cart .em23-total-note i{color:var(--em23-blue)!important;margin-right:4px}
body.checkout-cart .em23-total-note b{color:#1B252D!important}
body.checkout-cart .em23-summary-buttons{display:flex;flex-direction:column;gap:10px;clear:both}
body.checkout-cart .em23-summary-buttons a{display:flex!important;justify-content:center;align-items:center;gap:9px;width:100%!important;min-height:49px;padding:12px 13px!important;border-radius:0!important;float:none!important;font-size:12px!important;font-weight:900!important;letter-spacing:.04em;text-decoration:none!important}
body.checkout-cart .em23-checkout-button{background:var(--em23-cyan)!important;border-color:var(--em23-cyan)!important;color:#071923!important}
body.checkout-cart .em23-checkout-button:hover{background:#008CC7!important;border-color:#008CC7!important;color:#fff!important}
body.checkout-cart .em23-checkout-button i{color:inherit!important}
body.checkout-cart .em23-continue-button{background:#fff!important;border:1px solid #A8BBC7!important;color:var(--em23-ink)!important}
body.checkout-cart .em23-continue-button:hover{background:#EAF7FC!important;color:var(--em23-ink)!important}
body.checkout-cart .em23-secure-note{text-align:center;font-size:11px;color:#6C7F8A!important;margin:15px 0 0;line-height:1.5}
body.checkout-cart .em23-secure-note i{color:#008CC7!important}
/* Checkout: only the layout and controls; preserve every AJAX accordion ID and payment form. */
body.checkout-checkout .em23-checkout-intro{max-width:1180px;margin:8px auto 24px}
body.checkout-checkout .em23-checkout-steps{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
body.checkout-checkout .em23-checkout-steps span{display:inline-flex;padding:9px 14px;border:1px solid #547082;background:#273B48;color:#D9EFF8!important;font-size:10px;font-weight:800;letter-spacing:.06em}
body.checkout-checkout #accordion{max-width:1180px;margin:0 auto 45px}
body.checkout-checkout #accordion>.panel{border:1px solid #D9E4EA!important;box-shadow:0 5px 17px rgba(15,43,63,.04)!important;border-radius:0!important;margin-bottom:12px!important;overflow:hidden}
body.checkout-checkout #accordion>.panel>.panel-heading{background:#F0F6F9!important;padding:17px 22px!important;border-left:4px solid var(--em23-cyan)!important}
body.checkout-checkout #accordion>.panel>.panel-heading .panel-title,body.checkout-checkout #accordion>.panel>.panel-heading .panel-title a{font-size:14px!important;font-weight:900!important;letter-spacing:.015em;color:var(--em23-ink)!important;text-decoration:none!important;line-height:1.5}
body.checkout-checkout #accordion .panel-body{background:#fff!important;padding:25px!important}
body.checkout-checkout #accordion label,body.checkout-checkout #accordion p,body.checkout-checkout #accordion strong{color:#203541!important}
body.checkout-checkout #accordion input.form-control,body.checkout-checkout #accordion select.form-control,body.checkout-checkout #accordion textarea.form-control{background:#fff!important;border:1px solid #BFCFD9!important;color:#162F40!important;box-shadow:none!important;min-height:43px;border-radius:2px!important}
body.checkout-checkout #accordion .form-control:focus{border-color:#008CC7!important;box-shadow:0 0 0 3px rgba(0,174,239,.14)!important}
body.checkout-checkout #accordion .btn-primary,body.checkout-checkout #accordion button[id^=button-]{background:var(--em23-cyan)!important;border-color:var(--em23-cyan)!important;color:#0B2531!important;font-size:12px!important;font-weight:900!important;border-radius:2px!important;min-height:43px}
body.checkout-checkout #accordion .btn-primary:hover,body.checkout-checkout #accordion button[id^=button-]:hover{background:#008CC7!important;border-color:#008CC7!important;color:#fff!important}
body.checkout-checkout #accordion .btn-default{background:#E9F1F5!important;color:#1B252D!important;border-color:#BECFD8!important}
body.checkout-checkout #accordion .alert-danger,body.checkout-checkout #accordion .text-danger{color:#8D1726!important}
/* The original Zeexo popup and UPS quote remain functional; adjust presentation only. */
#modalAddToCartProduct .modal-dialog{max-width:710px;width:calc(100% - 28px);margin-left:auto;margin-right:auto}
#modalAddToCartProduct .modal-content{background:#fff!important;border:0!important;box-shadow:0 25px 70px rgba(8,26,39,.24)!important}
#modalAddToCartProduct .modal-header{border-top:5px solid var(--em23-cyan)!important;border-bottom:0!important;min-height:16px;padding:13px 18px 0!important;background:#fff!important}
#modalAddToCartProduct .modal-body{padding:16px 22px 26px!important;background:#fff!important}
#modalAddToCartProduct .tt-modal-messages{color:var(--em23-ink)!important;font-weight:900!important;font-size:18px!important;line-height:1.2!important;letter-spacing:-.01em}
#modalAddToCartProduct .tt-modal-messages i{color:var(--em23-cyan)!important}
#modalAddToCartProduct .tt-title a,#modalAddToCartProduct .tt-qty{color:var(--em23-ink)!important}
#modalAddToCartProduct .desctope .left{background:#fff!important}
#modalAddToCartProduct .desctope .right{background:#EEF3F7!important;padding:21px!important;border:1px solid #DAE4EA}
#modalAddToCartProduct .em23-popup-cart-summary{color:var(--em23-ink)!important;font-size:12px!important;font-weight:900!important;letter-spacing:.07em}
#modalAddToCartProduct .desctope .right .btn{display:flex;justify-content:center;align-items:center;min-height:43px;margin:8px 0!important;font-weight:900!important;font-size:11px!important;letter-spacing:.04em}
#modalAddToCartProduct .desctope .right .btn:not(.btn-border){background:var(--em23-cyan)!important;color:#081E27!important;border-color:var(--em23-cyan)!important}
#modalAddToCartProduct .desctope .right .btn:not(.btn-border):hover{background:#008CC7!important;color:#fff!important}
#modalAddToCartProduct .desctope .right .btn.btn-border{background:#fff!important;color:var(--em23-ink)!important;border:1px solid #AEBFC9!important}
#modalAddToCartProduct .empire-quick-ship{background:#fff!important;border:1px solid #CEDDE5!important;padding:15px!important;margin:13px 0!important}
#modalAddToCartProduct .empire-ship-title{font-size:12px!important;font-weight:900!important;color:#1B252D!important;letter-spacing:.04em;text-transform:uppercase}
#modalAddToCartProduct .empire-ship-label,#modalAddToCartProduct .empire-ship-caption,#modalAddToCartProduct .empire-ship-summary{color:#395564!important}
#modalAddToCartProduct .empire-ship-go{background:var(--em23-cyan)!important;color:#071923!important;font-size:11px!important;font-weight:900!important;border:0!important}
#modalAddToCartProduct .empire-ship-zip{color:#1B252D!important;background:#fff!important;border:1px solid #AFC5D0!important}
#modalAddToCartProduct .empire-ship-status{color:#38546A!important}
#modalAddToCartProduct .empire-ship-status.error{color:#A12430!important}
#modalAddToCartProduct .empire-ship-summary strong{color:#152B39!important}
@media(max-width:1050px){body.checkout-cart .em23-cart-layout{grid-template-columns:minmax(0,1fr)}body.checkout-cart .em23-order-summary{position:static}body.checkout-cart .em23-cart{max-width:900px}}
@media(max-width:700px){
 body.checkout-cart .em23-panel{padding:17px 14px}
 body.checkout-cart .em23-cart-intro,body.checkout-checkout .em23-checkout-intro{padding:25px 20px}
 body.checkout-cart .em23-panel-title{flex-direction:column;gap:5px}
 body.checkout-cart .em23-cart-table{display:block!important;min-width:0!important;width:100%!important}
 body.checkout-cart .em23-cart-table thead{display:none!important}
 body.checkout-cart .em23-cart-table tbody{display:block!important;width:100%}
 body.checkout-cart .em23-cart-table tr{display:grid!important;grid-template-columns:84px minmax(0,1fr);gap:7px 15px;padding:15px 0;border-bottom:1px solid #DCE5EB!important}
 body.checkout-cart .em23-cart-table tbody td{display:block!important;border:0!important;padding:0!important;text-align:left!important;min-width:0}
 body.checkout-cart .em23-image-cell{grid-column:1;grid-row:1 / span 4;width:84px}
 body.checkout-cart .em23-image-cell img,body.checkout-cart .em23-image-fallback{width:82px;height:82px}
 body.checkout-cart .em23-name-cell{grid-column:2;grid-row:1}
 body.checkout-cart .em23-model-col{display:none!important}
 body.checkout-cart .em23-mobile-model{display:block;margin-top:6px;font-size:10px}
 body.checkout-cart .em23-qty-cell{grid-column:2;grid-row:2}
 body.checkout-cart .em23-qty-tools{justify-content:flex-start}
 body.checkout-cart .em23-price-cell{grid-column:2;grid-row:3;font-size:12px!important}
 body.checkout-cart .em23-line-total{grid-column:2;grid-row:4;font-size:16px!important}
 body.checkout-cart .em23-price-cell:before{content:'UNIT PRICE  ';color:#657D8A!important;font-size:10px;font-weight:700;margin-right:8px}
 body.checkout-cart .em23-line-total:before{content:'LINE TOTAL  ';color:#657D8A!important;font-size:10px;font-weight:700;margin-right:8px}
 body.checkout-checkout #accordion>.panel>.panel-heading{padding:16px!important}
 body.checkout-checkout #accordion .panel-body{padding:17px!important}
 body.checkout-checkout .em23-checkout-steps span{font-size:9px;padding:7px 9px}
 #modalAddToCartProduct .modal-dialog{width:calc(100% - 20px);margin:10px auto}
 #modalAddToCartProduct .modal-body{padding:14px!important}
}
@media(prefers-reduced-motion:reduce){body.checkout-cart .em23-cart a,body.checkout-checkout .em23-checkout-intro *{transition:none!important}}
