body.kdmc-enabled #astra-mobile-cart-drawer{width:600px!important;max-width:100vw!important;box-sizing:border-box;background:#fff;color:#273029}
body.kdmc-enabled #astra-mobile-cart-drawer *{box-sizing:border-box}
body.kdmc-enabled #astra-mobile-cart-drawer .astra-cart-drawer-content{padding:26px 32px 22px!important;height:100%;min-height:0;overflow:hidden!important}
body.kdmc-enabled #astra-mobile-cart-drawer .widget_shopping_cart{height:100%!important;min-height:0;padding:0!important}
body.kdmc-enabled #astra-mobile-cart-drawer .widget_shopping_cart_content{padding:0!important;display:flex!important;flex-direction:column;min-height:0;height:100%!important;overflow:hidden}
body.kdmc-enabled #astra-mobile-cart-drawer .widget_shopping_cart_content>h3{flex:none;margin:0 44px 18px 0!important;padding:0 0 16px!important;font-family:inherit!important;font-size:28px!important;line-height:1.3!important;letter-spacing:normal!important;text-transform:none!important;text-align:left!important;font-weight:500!important;color:#273029!important}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart{flex:1 1 0!important;min-height:64px;margin:0!important;padding:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;padding:20px 0!important;border-bottom:1px solid #e2e6df;column-gap:18px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item>a,body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item>img{width:108px!important;height:120px!important;margin:0!important}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item>a>img{width:100%!important;height:100%!important;object-fit:contain!important;position:static!important;transform:none!important;top:auto!important}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-top{min-width:0;overflow-wrap:anywhere}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-top .ast-product-name{width:100%!important;font-family:inherit!important;font-size:17px!important;line-height:1.45!important;font-weight:500!important}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom{gap:8px;flex-wrap:wrap;align-items:center!important}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom .quantity{display:flex;flex:none}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom .quantity :is(.minus,.plus,input){width:36px!important;height:40px!important;min-width:0;padding:0!important;text-align:center;font-size:16px;line-height:38px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .ast-mini-cart-price-wrap{margin:0!important;white-space:nowrap}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom>a.remove{flex:none;margin:0!important}
body.kdmc-enabled #astra-mobile-cart-drawer .variation{font-size:13px!important;line-height:1.4;margin-top:6px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .variation :is(dt,dd){margin-bottom:3px}
/* Keep the original subtotal unless the replacement actually rendered. */
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-ready>.woocommerce-mini-cart__total{display:none!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-summary{margin-top:0;color:#273029;font-family:inherit;font-size:16px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-shipping-box{background:#ecf0ec;border:0;border-radius:5px;padding:0 16px;margin:0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-shipping-box>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:52px;padding:14px 0;font-size:17px;line-height:1.4;font-weight:500;cursor:pointer}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-shipping-box>summary::-webkit-details-marker{display:none}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-chevron{display:flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;position:static!important;margin:0!important;padding:0!important;line-height:0;transform-origin:center}.kdmc-chevron svg{display:block;width:20px;height:20px;position:static!important;margin:0!important;transform:none}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-shipping-box[open] .kdmc-chevron{transform:rotate(180deg)}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-postcode-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 0 16px;margin:0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-postcode-form label{font-size:12px;line-height:1.4;margin:0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-postcode-form input{display:block;width:100%;min-width:0;margin:6px 0 0;padding:10px 12px;height:44px;font-size:16px;color:#273029;background:#fff;border:1px solid #a6b09f;border-radius:4px;box-shadow:none}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-postcode-form button{align-self:end;height:44px;min-height:44px;padding:10px 14px;margin:0;font-family:inherit;font-size:14px;line-height:1.4;letter-spacing:normal;text-transform:none;border:0;border-radius:4px;color:#fff;background:#53634f;cursor:pointer}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-status{font-size:13px;line-height:1.5;margin:8px 0;color:#53634f}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-status:empty{display:none}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals{margin:20px 0 14px;padding:0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals>div{display:flex;justify-content:space-between;gap:12px;margin:10px 0;line-height:1.5}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals dt{font-weight:400;margin:0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total{display:flex;justify-content:space-between;gap:12px;align-items:start;border-top:1px solid #ccd5c7;padding-top:17px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total strong{font-size:22px;line-height:1.4;font-weight:500}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total>strong{white-space:nowrap;font-variant-numeric:tabular-nums}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total small{display:block;color:#687061;font-size:12px;line-height:1.5;margin-top:4px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-coupon{color:#687061;font-size:14px;line-height:1.5;margin:14px 0 0}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons{position:static!important;inset:auto!important;width:100%!important;margin:20px 0 0!important;padding:0!important;display:block!important;flex:none!important}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons>a.checkout{display:block!important;width:100%!important;min-height:56px;padding:16px 20px!important;border:0!important;border-radius:4px!important;background:#53634f!important;color:#fff!important;text-align:center;font-family:inherit;font-size:18px;line-height:1.4;letter-spacing:normal;text-transform:none;font-weight:500}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons>a.checkout:hover{background:#43533e!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-payments{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:6px;margin:14px auto 0;width:100%;max-width:460px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-payments img{display:block;width:100%!important;min-width:0!important;height:36px!important;object-fit:contain;margin:0!important;position:static!important;transform:none!important}
body.kdmc-enabled #astra-mobile-cart-drawer[aria-busy=true] :is(.kdmc-postcode-form button,.mini-cart-bottom){opacity:.6;pointer-events:none}
@media(max-width:600px){
body.kdmc-enabled #astra-mobile-cart-drawer{width:100vw!important}
body.kdmc-enabled #astra-mobile-cart-drawer .astra-cart-drawer-content{padding:24px 16px 20px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total strong{font-size:18px}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item{grid-template-columns:72px minmax(0,1fr)!important;column-gap:12px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item>a,body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart-item>img{width:72px!important;height:86px!important;min-width:72px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-postcode-form button{padding:10px;font-size:13px}
}
@media(max-width:359px){body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom .quantity :is(.minus,.plus,input){width:28px!important}}

/* Keep totals and checkout anchored; only the item list uses remaining space. */
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-footer{flex:0 0 auto;min-height:0;max-height:calc(100% - 130px);overflow-y:auto;overscroll-behavior:contain;padding-top:18px;border-top:1px solid #e2e6df;background:#fff}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-bottom .amount{font-size:16px!important}
@media(max-width:600px){
body.kdmc-enabled #astra-mobile-cart-drawer .widget_shopping_cart_content>h3{font-size:24px!important;margin-bottom:10px!important;padding-bottom:10px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-summary{font-size:14px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-shipping-box>summary{font-size:15px;min-height:48px;padding:12px 0}
body.kdmc-enabled #astra-mobile-cart-drawer .mini-cart-top .ast-product-name{font-size:15px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-coupon{font-size:12px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-payments img{height:30px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-footer{max-height:calc(100% - 110px);padding-top:12px}
}
@media(max-height:650px){
body.kdmc-enabled #astra-mobile-cart-drawer .astra-cart-drawer-content{padding-top:16px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals{margin:12px 0 10px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-totals>div{margin:6px 0}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-total{padding-top:10px}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-coupon{margin-top:8px}
body.kdmc-enabled #astra-mobile-cart-drawer .woocommerce-mini-cart__buttons{margin-top:12px!important}
body.kdmc-enabled #astra-mobile-cart-drawer .kdmc-payments{margin-top:8px}
}
