/* ks24_QuickBuy · V016 / 0.14.0 */
html.ks24-cart-open{overflow:hidden}
.ks24-cart{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100%;height:100dvh;max-height:100%;border:0;padding:0;background:var(--ks24-cart-background,#fff);color:var(--ks24-cart-text,#303930);box-shadow:-10px 0 35px #0002;font:inherit;overflow:hidden}
.ks24-cart[open]{display:flex;flex-direction:column}
.ks24-cart::backdrop{background:#14201480}
.ks24-cart__header{display:flex;justify-content:space-between;align-items:start;padding:24px;border-bottom:1px solid var(--ks24-border,#e0e5dd);gap:16px;flex:none;background:var(--ks24-cart-background,#fff)}
.ks24-cart__header h2{font-size:23px;line-height:1.25;margin:0 0 5px;font-weight:700}
.ks24-cart__close{border:0;background:#f0f3ec;border-radius:50%;width:40px;height:40px;min-width:40px;font-size:28px;line-height:1;cursor:pointer}
.ks24-cart__status{padding:0 24px;margin:16px 0 0;flex:none}
.ks24-cart__status:empty{display:none}
.ks24-cart__content{padding:24px;overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;overflow-wrap:anywhere}
.ks24-cart__native .table-responsive{max-height:none!important;overflow:visible}
.ks24-cart__native table{width:100%}
.ks24-cart__native img{object-fit:contain;max-width:70px;max-height:70px}
.ks24-cart__native .dropdown-cart-items td{vertical-align:top}
.ks24-cart__native .dropdown-cart-items td:first-child{width:72%}
.ks24-cart__native .dropdown-cart-items td:last-child{white-space:nowrap}
.ks24-cart__native .btn{white-space:normal}
.ks24-cart__footer{padding:18px 24px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--ks24-border,#e0e5dd);display:grid;gap:12px;flex:none;position:sticky;bottom:0;z-index:1;background:var(--ks24-cart-background,#fff)}
.ks24-cart__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.ks24-cart__actions>.btn{display:flex;align-items:center;justify-content:center;min-width:0;padding:11px 8px;white-space:normal;text-align:center;font-size:14px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.ks24-cart__checkout{border:1px solid var(--ks24-border,#62755b);background:var(--ks24-button-background,#fff);color:var(--ks24-button-text,#263e28);border-radius:4px}
.ks24-cart__checkout[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}
.ks24-cart__continue{border:1px solid var(--ks24-border,#62755b);background:var(--ks24-button-background,#f0f3ec);color:var(--ks24-button-text,#263e28);border-radius:4px;padding:12px 16px;font:inherit;cursor:pointer;width:100%}
.ks24-cart :focus-visible{outline:2px solid var(--ks24-accent,#3b6d37);outline-offset:3px}
.ks24-cart-notice{padding:14px 18px;background:#f0f8ed;color:#315e2c;border:1px solid #d4e4cc;border-radius:4px}
@media(max-width:600px){.ks24-cart__header,.ks24-cart__content{padding:20px}.ks24-cart__footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px))}.ks24-cart__native .form-row{flex-wrap:wrap}}

.ks24-cart__close,.ks24-cart__native .btn{background:var(--ks24-button-background,#f0f3ec);color:var(--ks24-button-text,#263e28);border-color:var(--ks24-border,#62755b)}
.ks24-cart__header h2,.ks24-cart__native,.ks24-cart__native table{color:var(--ks24-cart-text,#303930)}

.ks24-cart__native a:not(.btn){color:var(--ks24-accent,#354b2d)}

/* HotBuy-style successful PDP purchase: clean visual copy morphs into the cart. */
.ks24-pdp-in-flight{visibility:hidden}
.ks24-cart-flight{position:fixed;z-index:10700;overflow:hidden;pointer-events:none;box-sizing:border-box;background:#fff;border-radius:8px;box-shadow:0 8px 28px #17202c33;contain:layout paint}
.ks24-cart-flight-content{transform-origin:top left}
.ks24-cart-flight-content>form{margin:0}
.ks24-cart-landing{position:fixed;z-index:10701;width:32px;height:32px;transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:none;border:1px solid var(--ks24-flight-accent,#de4815);border-radius:50%;color:var(--ks24-flight-accent,#de4815);background:#fff;box-shadow:0 2px 8px #17202c22}
.ks24-cart-landing svg{width:21px;height:21px}
@media(prefers-reduced-motion:reduce){.ks24-cart-flight,.ks24-cart-landing{display:none}.ks24-pdp-in-flight{visibility:visible}}

/* Owned drawer actions only. Independent color and motion settings; same preview CSS. */
.ks24-cart[data-ks24-hover-animation] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue){transition:none;animation:none;transform:none;filter:none}
.ks24-cart[data-ks24-hover-animation] :is(.ks24-cart__checkout,.ks24-cart__continue){background:var(--ks24-button-background,#fff);color:var(--ks24-button-text,#225c40);border-color:var(--ks24-border,#ccd3c6)}
.ks24-cart[data-ks24-hover-animation] .ks24-cart__basket{background:var(--ks24-shop-button-background);color:var(--ks24-shop-button-text);border-color:var(--ks24-shop-button-border);box-shadow:var(--ks24-shop-button-shadow,none)}
.ks24-cart[data-ks24-hover-animation] .ks24-cart__footer .ks24-cart__basket::before{content:none}
.ks24-cart[data-ks24-hover-color=true] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){background:var(--ks24-button-text,#225c40);color:var(--ks24-button-background,#fff);border-color:var(--ks24-button-text,#225c40)}
.ks24-cart[data-ks24-hover-animation=true] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue){transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.ks24-cart[data-ks24-hover-animation=true][data-ks24-hover-type=fade] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){opacity:.88}
.ks24-cart[data-ks24-hover-animation=true][data-ks24-hover-type=lift] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){transform:translateY(-3px)}
.ks24-cart[data-ks24-hover-animation=true][data-ks24-hover-type=scale] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){transform:scale(1.035)}
.ks24-cart[data-ks24-hover-animation=true][data-ks24-hover-type=glow] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){box-shadow:0 0 0 3px color-mix(in srgb,var(--ks24-accent,#225c40) 35%,transparent)}
.ks24-cart[data-ks24-hover-animation=true][data-ks24-hover-type=wiggle] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]):is(:hover,:focus-visible){animation:ks24-button-wiggle .45s ease 1}
@keyframes ks24-button-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.ks24-cart[data-ks24-hover-animation] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue){transition:none!important;animation:none!important;transform:none!important}.ks24-cart[data-ks24-hover-animation] .ks24-cart__footer :is(.ks24-cart__checkout,.ks24-cart__basket,.ks24-cart__continue):not([aria-disabled=true]){opacity:1!important}}
