/* CartPro is scoped to the native PHP cart; native prices, options and submit remain authoritative. */
body.checkout-cart-index .homie-cart-policy-strip{font-size:14px;line-height:1.5;margin-block:12px 16px;color:#435563;}
body.checkout-cart-index .homie-cart-policy-strip p{margin:0 0 6px;}
body.checkout-cart-index .homie-cart-policy-strip a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;}
body.checkout-cart-index .homie-cart-edit{display:inline-flex;align-items:center;min-height:44px;padding:8px;text-decoration:underline;font-size:14px;line-height:1.4;}
body.checkout-cart-index .homie-cart-configure-dialog{box-sizing:border-box;width:min(960px,94vw);max-width:94vw;max-height:calc(var(--homie-cart-viewport-height,100dvh) * .94);padding:12px;border:1px solid #dce3e8;border-radius:12px;background:#fff;color:#17394c;overflow:hidden;}
body.checkout-cart-index .homie-cart-configure-dialog[open]{display:flex;flex-direction:column;gap:8px;}
body.checkout-cart-index .homie-cart-configure-dialog::backdrop{background:rgb(0 0 0 / .55);}
body.checkout-cart-index .homie-cart-configure-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:0 0 auto;}
body.checkout-cart-index .homie-cart-configure-head h2{font-size:20px;line-height:1.3;margin:0;}
body.checkout-cart-index .homie-cart-configure-head button{width:44px;height:44px;flex:0 0 44px;font-size:28px;border:1px solid #dce3e8;border-radius:50%;background:#fff;color:#17394c;}
body.checkout-cart-index .homie-cart-configure-dialog iframe{display:block;width:100%;height:calc(var(--homie-cart-viewport-height,100dvh) * .94 - 140px);min-height:0;border:0;flex:1 1 auto;}
body.checkout-cart-index .homie-cart-configure-dialog [data-homie-configure-status]{margin:0;font-size:14px;line-height:1.4;}
body.checkout-cart-index .homie-cart-configure-dialog [data-homie-configure-fallback]{min-height:44px;display:inline-flex;align-items:center;font-size:14px;text-decoration:underline;flex:0 0 auto;}
body.checkout-cart-index .homie-cart-configure-dialog :is(a,button):focus-visible{outline:3px solid #28607f;outline-offset:2px;}
@media(width < 768px){
 body.checkout-cart-index #maincontent.page-main{padding-bottom:calc(112px + env(safe-area-inset-bottom));}
 body.checkout-cart-index .homie-cart-checkout-action{position:fixed;left:0;right:0;bottom:0;z-index:80;display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,1.4fr);gap:12px;align-items:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce3e8;box-shadow:0 -2px 10px #17394c0a;min-height:80px;}
 body.checkout-cart-index .homie-cart-mobile-total{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.4;}
 body.checkout-cart-index .homie-cart-mobile-total strong{font-size:20px;font-weight:700;}
 body.checkout-cart-index #checkout-link-button{margin:0;min-height:48px;}
 body.checkout-cart-index:has(.homie-cart-configure-dialog[open]) .homie-cart-checkout-action{visibility:hidden;}
}

/* Cart sticky checkout leaves both existing mobile support controls above its native total. */
@media(width < 768px){
 body.checkout-cart-index div.fixed:has(> div > a[aria-label="פתיחת שיחה בוואטסאפ"]),
 body.checkout-cart-index #accessflow-toggle{bottom:calc(96px + env(safe-area-inset-bottom))!important;}
}

/* Nov18 cart clarity only; native item pricing/tax and quantity behavior retained. */
body.checkout-cart-index .homie-cart-column-headings{display:none;}
body.checkout-cart-index .homie-cart-prices{margin-block:8px;gap:16px;font-size:18px;line-height:1.4;}
body.checkout-cart-index .homie-cart-prices>span{display:flex;flex-direction:column;gap:4px;min-width:0;}
body.checkout-cart-index .homie-cart-price-label{font-size:14px;font-weight:400;color:#4b5563;}
body.checkout-cart-index .homie-cart-row-total{font-weight:700;}
body.checkout-cart-index .homie-cart-continue-top{display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px;font-size:16px;font-weight:500;text-decoration:underline;}
body.checkout-cart-index .coupon-form>summary{display:flex;align-items:center;min-height:44px;font-size:15px!important;font-weight:400!important;text-decoration:none!important;color:#4b5563;}
body.checkout-cart-index .coupon-form>summary:hover{text-decoration:underline!important;}
body.checkout-cart-index .coupon-form>summary svg{width:16px;height:16px;color:#4b5563;}
body.checkout-cart-index .homie-cart-policy-strip{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;font-size:14px;}
body.checkout-cart-index .homie-cart-policy-strip p{margin:0;}
@media(min-width:1100px){
 body.checkout-cart-index .homie-cart-column-headings{display:grid;grid-template-columns:minmax(0,1fr) 100px 132px 100px;gap:16px;padding-block:12px;border-bottom:1px solid #dce3e8;font-size:14px;font-weight:500;}
 body.checkout-cart-index article.cart.item{display:grid;grid-template-columns:104px minmax(0,1fr) 100px 132px 100px;column-gap:16px;row-gap:8px;align-items:start;}
 body.checkout-cart-index article.cart.item>.product-item-photo{grid-column:1;grid-row:1/3;width:104px;}
 body.checkout-cart-index article.cart.item>.product-item-photo img{width:104px;height:128px;object-fit:contain;}
 body.checkout-cart-index article.cart.item>.homie-cart-product-body,body.checkout-cart-index .homie-cart-item-controls,body.checkout-cart-index .homie-cart-prices{display:contents;}
 body.checkout-cart-index .homie-cart-product-body>.product-item-details{grid-column:2;grid-row:1;min-width:0;}
 body.checkout-cart-index .homie-cart-unit-price{grid-column:3;grid-row:1;}
 body.checkout-cart-index .homie-cart-quantity{grid-column:4;grid-row:1;}
 body.checkout-cart-index .homie-cart-row-total{grid-column:5;grid-row:1;}
 body.checkout-cart-index .homie-cart-item-controls>.item-actions{grid-column:2;grid-row:2;}
}
@media(max-width:1099px){body.checkout-cart-index article.cart.item{flex-wrap:wrap;}body.checkout-cart-index article.cart.item>.homie-cart-prices{flex-basis:100%;padding-inline-start:100px;}}
@media(max-width:359px){body.checkout-cart-index article.cart.item>.homie-cart-prices{padding-inline-start:0;}}
