/* Native PHP cart only; product/category/media styles are outside this release. */
body.checkout-cart-index #maincontent.page-main{padding-top:32px!important;padding-bottom:32px;}
body.checkout-cart-index #maincontent h1.page-title{margin-top:0!important;margin-bottom:24px!important;text-align:right;}
body.checkout-cart-index .homie-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:32px;align-items:start;direction:rtl;}
body.checkout-cart-index .homie-cart-items{min-width:0;}
body.checkout-cart-index .homie-cart-summary{position:sticky;top:24px;align-self:start;border:1px solid #dce3e8;border-radius:10px;padding:20px;background:#fff;min-width:0;}
body.checkout-cart-index .homie-cart-summary>h2{margin:0 0 16px;font-size:20px;line-height:1.4;font-weight:700;}
body.checkout-cart-index :is(input,select,textarea){font-size:16px;min-height:44px;}
body.checkout-cart-index .item-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;}
body.checkout-cart-index .homie-cart-coupon{margin-top:16px;}
body.checkout-cart-index .coupon-form>summary{font-size:16px;line-height:1.4;min-height:44px;align-items:center;}
body.checkout-cart-index .coupon-form :is(input,button){min-height:44px;font-size:16px;}
body.checkout-cart-index .coupon-form button{border-radius:7px;background:#6e9fb7;color:#fff;font-weight:600;}
body.checkout-cart-index .homie-cart-free-progress{margin-top:20px;padding:16px;border-radius:8px;background:#f0f6f9;font-size:16px;line-height:1.5;min-height:84px;}
body.checkout-cart-index .homie-cart-free-progress p{margin:0 0 8px;}
body.checkout-cart-index .homie-cart-free-progress progress{width:100%;height:8px;accent-color:#6e9fb7;border:0;border-radius:999px;overflow:hidden;}
body.checkout-cart-index .homie-cart-mobile-total{display:none;}
body.checkout-cart-index #checkout-link-button{min-height:48px;background:#6e9fb7;color:#fff;border:0;border-radius:7px;font-size:17px;font-weight:600;}
body.checkout-cart-index #checkout-link-button:hover{background:#5688a1;}
body.checkout-cart-index :is(button,a,input):focus-visible{outline:2px solid #28607f;outline-offset:3px;}
@media(max-width:767px){
 body.checkout-cart-index #maincontent.page-main{padding-top:24px!important;padding-bottom:calc(112px + env(safe-area-inset-bottom));}
 body.checkout-cart-index .homie-cart-layout{grid-template-columns:minmax(0,1fr);gap:24px;}
 body.checkout-cart-index .homie-cart-summary{position:static;padding:16px;}
 body.checkout-cart-index #shopping-cart-table>ul>li{padding:8px 0!important;border:0!important;}
 body.checkout-cart-index article.cart.item{gap:12px;padding:12px;border:1px solid #dce3e8;border-radius:10px;background:#fff;}
 body.checkout-cart-index .product-item-photo{width:88px;flex:0 0 88px;}
 body.checkout-cart-index .product-item-photo img{width:88px;height:112px;object-fit:contain;}
 body.checkout-cart-index article.cart.item>.grow{min-width:0;}
 body.checkout-cart-index .product-item-details>.sm\:flex{display:block!important;}
 body.checkout-cart-index .product-item-name{font-size:16px!important;line-height:1.4;word-break:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;}
 body.checkout-cart-index .price-box{font-size:16px;margin-top:6px;line-height:1.4;}
 body.checkout-cart-index .item-options{font-size:14px;line-height:1.45;}
 body.checkout-cart-index .item-actions{gap:8px;}
 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(180px,1.4fr);gap:16px;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;}
}
@media(prefers-reduced-motion:reduce){body.checkout-cart-index *{scroll-behavior:auto!important;transition:none!important;}}

/* Native cart price amounts remain unchanged; suppress redundant tax captions. */
.checkout-cart-index main article.cart.item .price-excluding-tax::after { content: none !important; }

/* Nov12 cart feedback: one focus treatment and aligned coupon/progress. */
body.checkout-cart-index .coupon-form>summary{font-size:18px;}
body.checkout-cart-index .coupon-form button{font-weight:400;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.4;}
body.checkout-cart-index .coupon-form input#coupon_code:focus,
body.checkout-cart-index .coupon-form input#coupon_code:focus-visible{outline:0!important;box-shadow:none!important;border:2px solid #28607f!important;}
body.checkout-cart-index .homie-cart-coupon,
body.checkout-cart-index .homie-cart-free-progress{box-sizing:border-box;width:100%;margin-left:0!important;margin-right:0!important;}
body.checkout-cart-index .homie-cart-free-progress{margin-top:16px;background:#edf4f8;color:#23475d;}
body.checkout-cart-index .homie-cart-free-progress progress::-webkit-progress-bar{background:#dce8ef;}
body.checkout-cart-index .homie-cart-free-progress progress::-webkit-progress-value{background:#6e9fb7;}
body.checkout-cart-index .homie-cart-free-progress progress::-moz-progress-bar{background:#6e9fb7;}
body.checkout-cart-index .homie-cart-coupon .coupon-form,
body.checkout-cart-index .homie-cart-coupon #discount-coupon-form{box-sizing:border-box;width:100%;max-width:none;}
body.checkout-cart-index .homie-cart-coupon #discount-coupon-form{margin-bottom:0!important;}

/* Nov14 cart request: native prices/actions/coupon and real shipping data retained. */
body.checkout-cart-index #maincontent.page-main{max-width:1240px;margin-inline:auto;font-size:16px;line-height:1.5;}
body.checkout-cart-index .homie-cart-summary{padding:30px;}
body.checkout-cart-index #shopping-cart-table>ul>li{padding-block:28px;}
body.checkout-cart-index article.cart.item{gap:28px;}
body.checkout-cart-index .product-item-photo{width:140px;flex:0 0 140px;}
body.checkout-cart-index .product-item-photo img{width:140px;height:auto;max-height:180px;object-fit:contain;}
body.checkout-cart-index .price-box{flex-wrap:wrap;align-items:start;font-size:16px;}
body.checkout-cart-index .price-box>span:is(.text-fg-secondary,.font-medium){display:flex;flex-direction:column;gap:4px;}
body.checkout-cart-index .homie-cart-price-label{display:block;font-size:14px;line-height:1.5;color:#526675;font-weight:400;}
body.checkout-cart-index .homie-cart-free-progress{min-height:0;padding:12px 16px;font-size:16px;}
body.checkout-cart-index .homie-cart-free-progress progress{height:5px;}
body.checkout-cart-index .homie-cart-summary>.homie-cart-coupon{margin-top:0;margin-bottom:20px;}
body.checkout-cart-index #checkout-link-button{width:100%;min-height:54px;font-size:18px;font-weight:600;background:#47778e;}
body.checkout-cart-index #checkout-link-button:hover{background:#3b657b;}
@media(max-width:767px){
 body.checkout-cart-index #maincontent.page-main{padding-bottom:32px;}
 body.checkout-cart-index .homie-cart-summary{padding:28px;}
 body.checkout-cart-index article.cart.item{padding:24px;gap:24px;flex-wrap:wrap;}
 body.checkout-cart-index .product-item-photo{width:120px;flex:0 0 120px;}
 body.checkout-cart-index .product-item-photo img{width:120px;height:auto;max-height:160px;}
 body.checkout-cart-index article.cart.item>.grow{flex-basis:140px;}
 body.checkout-cart-index .homie-cart-checkout-action{position:static;display:block;padding:0;border:0;box-shadow:none;min-height:0;}
 body.checkout-cart-index .homie-cart-mobile-total{display:none;}
}

/* One common RTL container; remove item-list padding without changing native form/actions. */
body.checkout-cart-index #shopping-cart-table{padding:0;margin:0;min-width:0;}
body.checkout-cart-index #shopping-cart-table>ul{list-style:none;margin:0;padding:0;}
body.checkout-cart-index .homie-cart-layout{align-items:start;}
body.checkout-cart-index .homie-cart-items,body.checkout-cart-index .homie-cart-summary{text-align:right;}
body.checkout-cart-index .price-box{direction:rtl;}
body.checkout-cart-index .price-box .price{unicode-bidi:isolate;direction:ltr;display:inline-block;}
body.checkout-cart-index .homie-cart-coupon{margin-top:0;}

/* Summary coupon/progress share the same native content edge. */
body.checkout-cart-index .homie-cart-summary .homie-cart-free-progress{margin-top:0;margin-bottom:12px;}
body.checkout-cart-index .homie-cart-summary #cart-totals{margin-block:0;}
body.checkout-cart-index .homie-cart-summary #cart-totals .homie-cart-coupon{margin:8px 0 4px;}
body.checkout-cart-index .homie-cart-summary .homie-cart-free-progress{padding-inline:0;background:transparent;}
body.checkout-cart-index .homie-cart-summary .homie-cart-coupon .coupon-form>summary{font-size:16px;}
body.checkout-cart-index .homie-cart-remove{border:0;background:transparent;box-shadow:none;font:inherit;color:inherit;text-decoration:underline;min-height:44px;min-width:44px;padding:8px;}
body.checkout-cart-index .homie-cart-trust{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px;line-height:1.5;margin-top:8px;}
body.checkout-cart-index .homie-cart-payment-icons{display:inline-flex;align-items:center;gap:4px;}
body.checkout-cart-index .homie-cart-trust a,body.checkout-cart-index .homie-cart-continue{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;}
body.checkout-cart-index .homie-cart-continue{font-size:14px;color:#526675;}

/* The first native product row shares the summary's grid start; retain later row spacing. */
@media (min-width: 768px) {
 body.checkout-cart-index #shopping-cart-table > ul > li:first-child {
  padding-block-start:0;
 }
}
