.kscart{--kc-ink:#142d24;--kc-cream:#f5f0e6;--kc-paper:#fffdf8;--kc-line:#dce3d9;--kc-muted:#58685e;--kc-red:#c5333d;color:var(--kc-ink)}
.kscart *{box-sizing:border-box}.kscart [hidden]{display:none!important}
.kscart__dialog{position:fixed;inset:0;margin:0;padding:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;background:transparent;color:var(--kc-ink);overflow:hidden}
.kscart__dialog::backdrop{background:rgba(7,25,19,.48)}.kscart__dialog[open]{display:flex;justify-content:flex-end}
.kscart__panel{width:min(100%,480px);height:100%;display:flex;flex-direction:column;min-height:0;background:var(--kc-paper);box-shadow:-10px 0 35px #07191326;animation:kscart-enter .23s ease-out}
.kscart__header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:14px 20px;background:var(--kc-cream);border-bottom:1px solid var(--kc-line)}
.kscart__header p{margin:0 0 3px;font-size:9px;letter-spacing:.16em;font-weight:750;line-height:1.3;color:var(--kc-muted)}
.kscart__header h2{display:flex;align-items:center;gap:9px;margin:0;font-size:25px;font-family:inherit;text-transform:none;letter-spacing:-.035em;line-height:1.2;color:inherit;font-weight:750}
.kscart__header h2 span{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;border-radius:50%;background:var(--kc-ink);color:var(--kc-cream);font-size:12px;letter-spacing:0}
.kscart button,.kscart input{font:inherit}.kscart a{color:inherit;text-decoration:none}.kscart button{cursor:pointer;color:inherit}.kscart button:disabled{opacity:.45;cursor:not-allowed}
.kscart :is(a,button,input):focus-visible{outline:3px solid var(--kc-red);outline-offset:2px}
.kscart .ksm-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.kscart__close{width:44px;height:44px;border:1px solid #c9d2c6;border-radius:50%;display:grid;place-items:center;background:transparent;padding:9px;flex:0 0 auto}
.kscart__notice,.kscart__error{margin:0;padding:10px 20px;font-size:13px;line-height:1.4;border-bottom:1px solid var(--kc-line);flex-shrink:0}.kscart__notice{background:#eaf1e5}.kscart__error{background:#fff0ed;color:#912a31}
.kscart__content{display:flex;flex-direction:column;flex:1;min-height:0}.kscart__scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 20px 18px}
.kscart__items{margin:0;padding:0;list-style:none}.kscart__item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:15px;padding:20px 0;border-bottom:1px solid var(--kc-line)}
.kscart__image{height:102px;border-radius:12px;border:1px solid var(--kc-line);background:white;padding:7px;overflow:hidden}.kscart__image img{width:100%;height:100%;object-fit:contain;display:block}
.kscart__item h3{font-family:inherit;font-size:17px;line-height:1.25;font-weight:750;color:inherit;text-transform:none;letter-spacing:-.02em;margin:1px 0 5px;overflow-wrap:anywhere}
.kscart__variant{font-size:12px;line-height:1.45;color:var(--kc-muted);margin:3px 0;overflow-wrap:anywhere}.kscart__line-price{display:flex;gap:9px;align-items:center;font-size:16px;line-height:1.3;margin:10px 0}.kscart__line-price strong{font-weight:750}.kscart__line-price s{font-size:12px;color:var(--kc-muted)}
.kscart__line-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.kscart__quantity{display:flex;border:1px solid #bfcbbb;border-radius:9px;background:white;overflow:hidden;min-width:130px;height:44px}.kscart__quantity button{border:0;background:transparent;width:42px;font-size:21px;padding:0}.kscart__quantity input{width:44px;min-width:0;text-align:center;font-size:15px;border:0;border-inline:1px solid var(--kc-line);border-radius:0;background:transparent;padding:0;-moz-appearance:textfield;appearance:textfield;color:var(--kc-ink)}.kscart__quantity input::-webkit-inner-spin-button{appearance:none}
.kscart__remove{padding:8px 0;min-height:44px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-size:12px!important;color:var(--kc-muted)!important}.kscart__unit-note{font-size:11px;color:var(--kc-muted);margin:7px 0 0;line-height:1.4}
.kscart__discount{font-size:11px;color:#34602c;margin:4px 0}.kscart__discount-total{display:flex;justify-content:space-between;font-size:12px;gap:12px;margin-bottom:7px;color:#34602c}
.kscart__footer{flex-shrink:0;background:var(--kc-cream);border-top:1px solid var(--kc-line);padding:16px 20px max(14px,env(safe-area-inset-bottom))}.kscart__total{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:15px}.kscart__total strong{font-size:25px;letter-spacing:-.025em;font-weight:750}.kscart__shipping{font-size:11px;line-height:1.4;color:var(--kc-muted);margin:5px 0 12px}.kscart__primary{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;min-height:50px;border:0;border-radius:10px;padding:12px 16px;background:var(--kc-red);color:#fff!important;font-size:15px!important;font-weight:750!important;line-height:1.3}.kscart__primary .ksm-icon{width:20px}
.kscart__footer-links{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px}.kscart__footer-links a,.kscart__footer-links button{font-size:12px;text-decoration:underline;text-underline-offset:3px;border:0;padding:9px 0;background:transparent;color:var(--kc-muted);line-height:1.3}.kscart__secure{display:flex;justify-content:center;align-items:center;gap:5px;font-size:10px;color:var(--kc-muted);line-height:1.4;margin:3px 0 0}.kscart__secure .ksm-icon{width:13px;height:13px}
.kscart__recommendations{padding-top:20px}.kscart__recommendations h3{margin:0 0 12px;font-family:inherit;font-size:16px;font-weight:750;text-transform:none;color:inherit;line-height:1.3}.kscart__recs{display:flex;gap:10px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:0 0 8px}.kscart__rec{flex:0 0 146px;border:1px solid var(--kc-line);border-radius:12px;background:white;overflow:hidden;scroll-snap-align:start;display:flex;flex-direction:column}.kscart__rec-image{height:99px;padding:9px}.kscart__rec img{display:block;width:100%;height:100%;object-fit:contain}.kscart__rec-info{padding:0 10px 10px;display:flex;flex-direction:column;gap:6px;flex:1}.kscart__rec-name{font-size:12px;line-height:1.3;font-weight:750;min-height:31px}.kscart__rec-price{font-size:13px;font-weight:750}.kscart__rec .kscart__rec-link{font-size:11px;line-height:1.3;font-weight:700;text-align:center;padding:10px 4px;margin-top:auto;border-radius:7px;background:var(--kc-ink);color:#fff;min-height:38px;display:grid;place-items:center}
.kscart__empty{text-align:center;padding:30px 0 20px}.kscart__empty-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;background:#eaf1e5}.kscart__empty-icon .ksm-icon{width:30px;height:30px}.kscart__empty .kscart__eyebrow{font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:750;color:var(--kc-muted);margin-bottom:8px}.kscart__empty h3{font-family:inherit;font-size:29px;line-height:1.1;letter-spacing:-.035em;color:inherit;text-transform:none;margin:0 0 12px;font-weight:750}.kscart__empty>p{font-size:14px;line-height:1.5;color:var(--kc-muted);margin:0 0 20px}.kscart__text-link{display:inline-block;font-size:13px!important;text-decoration:underline!important;text-underline-offset:3px;padding:15px 0 0}
.kscart-form-status{font-size:13px;line-height:1.4;color:#912a31;margin:10px 0}.kscart-form-status a{text-decoration:underline;color:inherit}.kscart-pending{opacity:.8}
@keyframes kscart-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(max-width:359px){.kscart__header{padding:12px 16px}.kscart__scroll{padding-inline:16px}.kscart__item{grid-template-columns:70px minmax(0,1fr);gap:12px;padding:16px 0}.kscart__image{height:84px}.kscart__item h3{font-size:16px}.kscart__line-actions{gap:7px}.kscart__quantity{min-width:116px}.kscart__quantity button{width:36px}.kscart__quantity input{width:42px}.kscart__footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}}
@media(max-height:540px){.kscart__header{padding-block:7px}.kscart__header p{display:none}.kscart__footer{padding-block:8px}.kscart__secure{display:none}.kscart__shipping{margin:3px 0 7px}.kscart__primary{min-height:44px;padding-block:9px}.kscart__footer-links{min-height:30px}.kscart__footer-links a,.kscart__footer-links button{padding-block:6px}.kscart__notice,.kscart__error{padding-block:6px}}
@media(prefers-reduced-motion:reduce){.kscart__panel{animation:none}}

.kscart__error a{text-decoration:underline;text-underline-offset:3px;font-weight:700}
