/* LEGACY Expert Appliance R4-R16: scoped cart, shipping, and mobile form polish. */
.eap-r16-shipping-selected[hidden],#eap-r14-shipping-choices[hidden]{display:none!important}
.eap-r16-shipping-selected{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #bad3e2;border-radius:10px;background:#f1f8fc;margin:8px 0}
.eap-r16-shipping-selected p{margin:0!important;font-size:15px;line-height:1.5;overflow-wrap:anywhere;min-width:0}
.eap-r16-shipping-selected button{flex:0 0 auto;border:1px solid #aac8d9;border-radius:7px;padding:10px 14px;background:#fff;color:#145376;font:inherit;font-weight:700;cursor:pointer;min-height:44px}
form.secureform .eap-r16-remove,.eap-r16-cart .eap-r16-remove{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 12px!important;border:1px solid #c5d7e0!important;border-radius:8px;background:#fff!important;color:#914048!important;font:inherit;font-size:14px!important;font-weight:700!important;cursor:pointer;white-space:nowrap}
.eap-r16-remove:hover,.eap-r16-remove:focus-visible{background:#fff5f5!important;border-color:#ac5259!important;outline:2px solid transparent;box-shadow:0 0 0 3px rgba(172,82,89,.13)}
.eap-r16-cart-header{text-align:center;color:#143e53;margin:0 0 20px}.eap-r16-cart-header h1{color:#143e53!important;font-size:30px;font-weight:750;margin:0 0 10px}.eap-r16-cart-header p{font:inherit!important;color:#365667!important;line-height:1.5}
#content .eap-r16-cart{box-sizing:border-box;max-width:1180px;width:calc(100% - 24px);margin:20px auto 32px!important;padding:22px!important;background:#fff;border:1px solid #cbdfe9;border-radius:14px}
#content .eap-r16-cart form{width:100%;min-width:0;margin:0}
#content .eap-r16-cart .cart-new-table{width:100%!important;max-width:100%!important;table-layout:auto}
#content .eap-r16-cart .cart-new-table tr.eap-r16-item-row{display:table-row!important;visibility:visible!important}
#content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td{display:table-cell!important;visibility:visible!important;padding:12px 10px!important;vertical-align:middle;overflow-wrap:anywhere}
.eap-r16-cart .eap-cart-qty{width:88px!important;max-width:100%!important;min-height:44px;font-size:16px!important}
.eap-r16-cart-actions{margin:18px 0 0}.eap-r16-cart-actions .buttons-table{margin:0;width:100%}
/* Keep the promo notice within the border, even with old nested table rules. */
form.secureform #eap028-promo-card{display:block!important;box-sizing:border-box!important;max-width:100%!important;min-width:0!important;padding:16px!important;overflow-wrap:anywhere}
form.secureform #eap028-promo-card .eap028-promo-controls{min-width:0!important;max-width:100%!important}
form.secureform #eap028-promo-card input{box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
form.secureform #eap028-promo-card .eap-r15-promo-status{padding:0!important;margin:10px 0 0!important;line-height:1.5!important;white-space:normal!important}
form.secureform #payment-echeck img.eap-r16-obsolete-check-art{display:none!important}
form.secureform .eap-r14-echeck-image-button{display:block!important;margin:10px 0!important;padding:6px!important;max-width:185px!important;background:white!important;border:1px solid #c4dce9!important;border-radius:9px!important;cursor:pointer}
form.secureform .eap-r14-echeck-image-button img{display:block!important;margin:0!important;width:100%!important;max-width:170px!important;height:auto!important}
form.secureform .eap-r14-how-link{display:inline-block!important;margin:4px 0 8px!important;min-height:36px;color:#126b9c!important;font-size:15px!important}
.eap-pr40,.eap-pr40 *,.eap-filter-request,.eap-filter-request *{box-sizing:border-box}
.eap-pr40{width:calc(100% - 24px)!important;max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important}
.eap-pr40-card,.eap-pr40-form,.eap-pr40-section,.eap-pr40-grid,.eap-pr40-grid>label,.eap-pr40-upload,.eap-pr40-consent,.eap-filter-review-banner{max-width:100%!important;min-width:0!important}
.eap-pr40 input:not([type=checkbox]):not([type=radio]),.eap-pr40 select,.eap-pr40 textarea{width:100%!important;max-width:100%!important;min-width:0!important}
.eap-pr40-upload input[type=file]{white-space:normal;overflow:hidden;font-size:14px}
.eap-pr40 .eap-pr40-trap{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);opacity:0;pointer-events:none}
.eap-pr40-head>div,.eap-pr40-consent span{min-width:0!important;overflow-wrap:anywhere}
.eap-filter-review-banner strong{display:block;margin-bottom:5px;color:#143e53}.eap-pr40-head h1{overflow-wrap:anywhere}
@media(max-width:767px){
 .eap-r16-shipping-selected{align-items:flex-start;flex-direction:column}.eap-r16-shipping-selected button{width:100%}
 #content .eap-r16-cart{width:calc(100% - 20px)!important;padding:16px!important}
 #content .eap-r16-cart .cart-new-table,#content .eap-r16-cart .cart-new-table tbody{display:block!important;width:100%!important;min-width:0!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row{display:block!important;width:100%!important;margin:0 0 12px!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td{display:block!important;width:100%!important;box-sizing:border-box!important;text-align:left!important;padding:10px 12px!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td::before{position:static!important;display:block!important;font-weight:700!important;margin-bottom:5px!important;width:auto!important;padding:0!important;color:#193f54!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(1)::before{content:'Remove'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(2)::before{content:'EA Part Number'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(3)::before{content:'Part'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(4)::before{content:'Description'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(5)::before{content:'Quantity'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(6)::before{content:'Unit price'!important}
 #content .eap-r16-cart .cart-new-table tr.eap-r16-item-row td:nth-child(7)::before{content:'Line total'!important}
 #content .eap-r16-cart .cart-header-row{display:none!important}
 form.secureform .eap-r14-final-summary{padding:15px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 form.secureform .eap-r14-final-summary .shopping-cart-table-two{width:100%!important;max-width:100%!important;table-layout:fixed!important}
 form.secureform .eap-r14-final-summary .shopping-cart-table-two td:first-child{width:58%!important;overflow-wrap:anywhere}
 form.secureform .eap-r14-final-summary .shopping-cart-table-two td:last-child{width:42%!important;min-width:0!important}
 form.secureform .eap-r14-final-summary .shopping-cart-table-two input.form-control{width:100%!important;min-width:0!important;max-width:100%!important;padding:8px!important}
 .eap-pr40 .eap-pr40-grid{grid-template-columns:minmax(0,1fr)!important}
 .eap-pr40 .eap-pr40-head{flex-direction:column;align-items:flex-start}
 .eap-pr40 input,.eap-pr40 select,.eap-pr40 textarea{font-size:16px!important}
}
