/* Tera cart usability 2026-10-27 */
.tera-qty{display:inline-flex!important;align-items:center;gap:5px;direction:rtl}.tera-qty button{min-width:44px!important;min-height:44px!important;border:1px solid #b8c8d1;background:#f4f8fa;color:#124f74;border-radius:6px;font:700 22px Arial;cursor:pointer}.tera-qty input{width:54px!important;height:44px!important;min-height:44px!important;text-align:center!important;font-size:16px!important;background:#fff!important;color:#222!important;border:1px solid #a4b7c2!important;border-radius:6px;appearance:textfield}.tera-qty input::-webkit-inner-spin-button{appearance:none}.tera-actions{display:flex!important;gap:8px!important;margin-top:10px}.tera-actions .btn{min-height:44px!important;padding:10px 14px!important;font-size:15px!important;border-radius:6px!important;position:relative!important;display:inline-flex!important;align-items:center;justify-content:center;gap:6px}.tera-actions button>*{pointer-events:none!important}.tera-actions i{position:static!important;transform:none!important;width:auto!important;height:auto!important}.tera-actions .btn-remove,.tera-actions .btn-danger{color:#9e2634!important;background:#fff5f5!important;border:1px solid #e2afb5!important}.tera-actions .btn-update,.tera-actions .btn-primary{color:#fff!important;background:#155d86!important}.tera-mini-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.tera-mini-remove{min-height:44px;min-width:64px;background:#fff5f5;color:#9e2634;border:1px solid #e2afb5;border-radius:6px;padding:6px 10px;font-size:15px}.tera-mini-controls button:disabled{opacity:.5}.tera-qty button:focus-visible,.tera-actions button:focus-visible,.tera-mini-remove:focus-visible{outline:3px solid #e4a200;outline-offset:2px}
@media(max-width:767px){
#checkout-cart .cart-table .table-responsive,.cart-section .table-responsive{overflow:visible!important;border:0!important}#checkout-cart .cart-table table,.cart-section table{display:block!important;width:100%!important}#checkout-cart .cart-table thead,.cart-section thead{display:none!important}#checkout-cart .cart-table tbody,.cart-section tbody{display:block!important}#checkout-cart .cart-table tbody>tr,.cart-section tbody>tr{display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:8px 12px;padding:16px!important;margin:0 0 14px!important;border:1px solid #dbe4e9!important;border-radius:12px;background:#fff!important;box-shadow:0 2px 6px #1232}#checkout-cart .cart-table td,.cart-section tbody>tr>td{display:block!important;width:auto!important;border:0!important;background:transparent!important;padding:0!important;color:#222!important;text-align:right!important;font-size:15px!important;min-width:0}#checkout-cart .cart-table .td-image,.cart-section .td-image{grid-column:1;grid-row:1/3}#checkout-cart .cart-table .td-image img,.cart-section .td-image img{width:64px!important;height:64px!important;object-fit:contain}#checkout-cart .cart-table .td-name,.cart-section .td-name{grid-column:2;font-size:16px!important;line-height:1.5!important}#checkout-cart .cart-table .td-name a,.cart-section .td-name a{color:#165a7d!important;font-weight:600}#checkout-cart .cart-table .td-model,.cart-section .td-model{grid-column:2;color:#64727c!important;font-size:13px!important}#checkout-cart .cart-table .td-qty,.cart-section .td-qty{grid-column:1/-1!important;display:block!important;padding-top:8px!important}#checkout-cart .td-qty:before,.cart-section .td-qty:before{content:'כמות';display:block;margin-bottom:6px;font-size:14px;color:#536671}#checkout-cart .td-qty .input-group,.cart-section .td-qty .input-group{display:block!important;width:100%!important;max-width:none!important}#checkout-cart .cart-table .td-price,.cart-section .td-price{grid-column:1/-1;display:flex!important;justify-content:space-between;padding-top:8px!important;border-top:1px solid #e5ebef!important}#checkout-cart .cart-table .td-price:before,.cart-section .td-price:before{content:'מחיר ליחידה';font-weight:400}#checkout-cart .cart-table .td-total,.cart-section .td-total{grid-column:1/-1;display:flex!important;justify-content:space-between;font-weight:700}#checkout-cart .cart-table .td-total:before,.cart-section .td-total:before{content:'סה״כ למוצר';font-weight:400}#checkout-cart .cart-bottom .buttons{display:flex;flex-direction:column-reverse;gap:12px}#checkout-cart .cart-bottom .buttons>div{float:none;width:100%}#checkout-cart .cart-bottom .buttons .btn{width:100%;min-height:48px;font-size:17px}.route-checkout-checkout input,.route-checkout-checkout select,.route-checkout-checkout textarea{font-size:16px!important}.route-checkout-cart .whatsapp-float,.route-checkout-checkout .whatsapp-float{bottom:calc(12px + env(safe-area-inset-bottom))!important;width:44px!important;height:44px!important;left:auto!important;right:12px!important}.route-checkout-cart .cart-bottom,.route-checkout-checkout .quick-checkout-wrapper{padding-bottom:68px}
.mobile-cart-content-container{width:calc(100vw - 24px)!important;max-width:440px!important;height:100vh!important;height:100dvh!important;display:flex!important;flex-direction:column!important;background:#fff!important}.mobile-cart-content-container>.mobile-wrapper-header{flex:0 0 56px!important}.mobile-cart-content-wrapper{flex:1!important;min-height:0!important;overflow:hidden!important}.mobile-cart-content-wrapper .cart-content{height:100%!important}.mobile-cart-content-wrapper .cart-content>ul{height:100%!important;display:flex!important;flex-direction:column!important;padding:0!important}.mobile-cart-content-wrapper .cart-products{flex:1!important;min-height:0!important;overflow:auto!important;padding:14px!important;background:#fff!important}.mobile-cart-content-wrapper .cart-products table,.mobile-cart-content-wrapper .cart-products tbody{display:block!important;width:100%!important}.mobile-cart-content-wrapper .cart-products tr{display:grid!important;grid-template-columns:62px minmax(0,1fr);gap:8px 10px;border-bottom:1px solid #dce5ea;padding:10px 0 16px!important;margin-bottom:12px}.mobile-cart-content-wrapper .cart-products td{display:block!important;border:0!important;background:#fff!important;color:#222!important;padding:0!important;width:auto!important;min-width:0}.mobile-cart-content-wrapper .td-image{grid-column:1;grid-row:1/3}.mobile-cart-content-wrapper .td-image img{width:58px!important;height:58px!important;object-fit:contain}.mobile-cart-content-wrapper .td-name{grid-column:2}.mobile-cart-content-wrapper .td-name a{color:#165a7d!important;font-size:16px!important;line-height:1.5!important}.mobile-cart-content-wrapper .td-qty{grid-column:1/-1!important}.mobile-cart-content-wrapper .td-total{grid-column:1/-1;text-align:right!important;font-size:17px!important;font-weight:700}.mobile-cart-content-wrapper .td-remove{display:none!important}.mobile-cart-content-wrapper .cart-totals{position:static!important;flex:0 0 auto!important;padding:14px 14px calc(14px + env(safe-area-inset-bottom))!important;background:#f3f7f9!important;border-top:1px solid #dae3e9}.mobile-cart-content-wrapper .cart-totals table,.mobile-cart-content-wrapper .cart-totals tbody,.mobile-cart-content-wrapper .cart-totals tr,.mobile-cart-content-wrapper .cart-totals td{background:#f3f7f9!important;color:#223440!important;font-size:15px!important;border:0!important;padding:6px 0!important}.mobile-cart-content-wrapper .cart-buttons{display:flex!important;flex-direction:column;gap:8px}.mobile-cart-content-wrapper .cart-buttons .btn{width:100%!important;min-height:48px!important;display:flex!important;align-items:center;justify-content:center;font-size:17px!important;border-radius:6px!important}.mobile-cart-content-wrapper .btn-cart{background:#fff!important;color:#155d86!important;border:1px solid #b9ceda!important}.mobile-cart-content-wrapper .btn-checkout{background:#155d86!important;color:#fff!important}.mobile-cart-content-container-open .whatsapp-float,.mobile-cart-content-container-open #tera-mobile-shopping-menu,.mobile-cart-content-container-open .userway_buttons_wrapper{visibility:hidden!important;pointer-events:none!important}
}

@media(max-width:767px){.mobile-cart-content-wrapper>ul{height:100%!important;display:flex!important;flex-direction:column!important;padding:0!important;margin:0!important}.route-checkout-cart .whatsapp-float,.route-checkout-checkout .whatsapp-float{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;margin:12px!important;width:48px!important;height:48px!important}.mobile-cart-content-wrapper .cart-totals td:last-child{text-align:left!important;white-space:nowrap}.mobile-cart-content-wrapper .cart-totals td:first-child{text-align:right!important}}
@media(max-width:767px){.mobile-cart-content-wrapper>#cart-content:empty{display:none!important;height:0!important}}
@media(max-width:767px){html .mobile-cart-content-wrapper>#cart-content{display:none!important;height:0!important}.mobile-cart-content-wrapper>ul{flex:1!important;min-height:0!important}.mobile-cart-content-container-open .userway_p1,.mobile-cart-content-container-open .uwy{visibility:hidden!important;pointer-events:none!important}}
@media(max-width:767px){html .mobile-cart-content-wrapper .cart-products td.td-remove{display:none!important}html .mobile-cart-content-wrapper .cart-buttons{background:transparent!important;padding:0!important}html .mobile-cart-content-wrapper{padding:0!important}html .mobile-cart-content-wrapper .cart-buttons .btn-cart{box-shadow:none!important}html .mobile-cart-content-wrapper .cart-buttons .btn i{display:none!important}}
/* TERA checkout compact controls 2026-10-30 */
.route-checkout-checkout .cart-section .td-qty .input-group{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;width:max-content!important;max-width:100%!important}
.route-checkout-checkout .cart-section .tera-qty{display:flex!important;flex:0 0 auto!important;gap:0!important;border:1px solid #c7d7e1!important;border-radius:9px!important;overflow:hidden;background:#f4f8fb}
.route-checkout-checkout .cart-section .tera-qty button{width:40px!important;min-width:40px!important;height:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:#f1f7fb!important;box-shadow:none!important;line-height:1!important}
.route-checkout-checkout .cart-section .tera-qty input{width:44px!important;min-width:0!important;border:0!important;border-inline:1px solid #dce5eb!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important}
.route-checkout-checkout .cart-section .tera-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:6px!important;margin:0!important;width:auto!important}
.route-checkout-checkout .cart-section .tera-actions .btn{min-height:44px!important;height:44px!important;min-width:44px!important;padding:0 10px!important;border-radius:9px!important;font-size:14px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important;text-shadow:none!important;margin:0!important}
.route-checkout-checkout .cart-section .tera-actions .btn-primary{border:1px solid #155d86!important;background:#155d86!important}
.route-checkout-checkout .cart-section .tera-actions .btn-danger{border:1px solid #e5c9ce!important;background:#fff6f7!important;color:#9e2634!important}
.route-checkout-checkout .cart-section .tera-actions .btn:hover{filter:brightness(.96)}
@media(max-width:767px){
.route-checkout-checkout .cart-section tbody>tr{padding:12px!important;gap:6px 10px!important;margin-bottom:10px!important;box-shadow:0 2px 6px #1231!important}
.route-checkout-checkout .cart-section .td-qty{padding-top:4px!important}
.route-checkout-checkout .cart-section .td-qty:before{display:none!important}
.route-checkout-checkout .cart-section .td-qty .input-group{width:100%!important;gap:6px!important;justify-content:space-between!important}
.route-checkout-checkout .cart-section .tera-actions .btn{padding:0 8px!important;gap:4px!important}
.route-checkout-checkout .cart-section .td-name a{text-decoration:none!important}
}
@media(max-width:359px){.route-checkout-checkout .cart-section .tera-actions .btn{padding:0 6px!important;font-size:13px!important}.route-checkout-checkout .cart-section .tera-actions i{display:none!important}.route-checkout-checkout .cart-section .tera-qty button{width:36px!important;min-width:36px!important}.route-checkout-checkout .cart-section .tera-qty input{width:38px!important}}
