.kh-drawer[hidden]{display:none}
.kh-drawer{position:fixed;inset:0;z-index:10000;color:var(--kh-ink);font-family:KupraBody,Arial,sans-serif}
.kh-drawer-backdrop{position:absolute;inset:0;background:rgba(6,32,25,.55);animation:kh-drawer-fade .24s ease-out both}
.kh-drawer-panel{position:absolute;inset:0 0 0 auto;display:flex;flex-direction:column;width:min(100%,440px);height:100%;height:100dvh;overflow:hidden;background:var(--kh-cream);box-shadow:-16px 0 40px rgba(5,27,21,.18);animation:kh-drawer-slide .28s ease-out both}
.kh-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 25px 20px;border-bottom:1px solid var(--kh-line);background:var(--kh-cream)}
.kh-drawer-header p{margin:0 0 5px;color:var(--kh-copper);font-size:10px;font-weight:700;letter-spacing:.14em}
.kh-drawer-header h2{display:flex;align-items:center;gap:11px;margin:0;font:400 31px/1 Kupra,Impact,sans-serif}
.kh-drawer-header h2 span{display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border-radius:50%;background:var(--kh-sage);font:700 12px/1 KupraBody,Arial,sans-serif}
.kh-drawer-close{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:1px solid var(--kh-line);border-radius:50%;background:transparent;color:var(--kh-ink);font:400 28px/1 Arial,sans-serif;cursor:pointer}
.kh-drawer-close:hover{background:var(--kh-sage)}
.kh-drawer-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 25px 28px}
.kh-drawer-status{margin:24px 0;color:#496054;font-size:14px;line-height:1.5}
.kh-drawer-status:empty{display:none}
.kh-drawer-status[data-error]{color:#9b261c}
.kh-drawer-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:15px;padding:19px 0;border-bottom:1px solid var(--kh-line)}
.kh-drawer-item-image{width:72px;height:86px;object-fit:contain;border-radius:3px;background:#eee9dc}
.kh-drawer-item-main{min-width:0}
.kh-drawer-item-title{margin:0;font:400 19px/1.1 Kupra,Impact,sans-serif;overflow-wrap:anywhere}
.kh-drawer-item-variant{margin:4px 0 0;color:#607064;font-size:11px}
.kh-drawer-item-prices{display:flex;align-items:baseline;gap:8px;margin-top:7px;font-size:14px}
.kh-drawer-item-prices strong{font-weight:700}
.kh-drawer-item-prices s{color:#859087;font-size:12px}
.kh-drawer-item-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.kh-drawer-quantity{display:inline-flex;align-items:center;height:34px;border:1px solid var(--kh-line);border-radius:3px}
.kh-drawer-quantity button{display:grid;place-items:center;width:34px;height:32px;padding:0;border:0;background:transparent;color:var(--kh-green);font:700 19px/1 Arial,sans-serif;cursor:pointer}
.kh-drawer-quantity span{min-width:28px;text-align:center;font-size:13px;font-weight:700}
.kh-drawer-remove{padding:5px 0;border:0;background:transparent;color:#a93827;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.kh-drawer-item-actions button:disabled{opacity:.45;cursor:wait}
.kh-drawer-footer{padding:20px 25px max(24px,env(safe-area-inset-bottom));border-top:1px solid var(--kh-line);background:var(--kh-sage)}
.kh-drawer-footer[hidden]{display:none}
.kh-drawer-total{display:flex;justify-content:space-between;gap:12px;font-size:17px;font-weight:700}
.kh-drawer-footer p{margin:5px 0 17px;color:#496054;font-size:11px}
.kh-drawer-checkout{display:flex;align-items:center;justify-content:center;gap:17px;min-height:52px;padding:12px 18px;border:1px solid var(--kh-green);border-radius:3px;background:var(--kh-green);color:#fff!important;font:400 21px/1.1 Kupra,Impact,sans-serif;text-align:center;text-decoration:none;text-transform:uppercase}
.kh-drawer-checkout:hover{background:#245540}
.kh-drawer-checkout .kh-icon{width:18px;height:18px}
.kh-drawer-continue{display:block;width:100%;margin-top:11px;padding:8px;border:0;background:transparent;color:var(--kh-green);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.kh-drawer-open{overflow:hidden}
@keyframes kh-drawer-slide{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes kh-drawer-fade{from{opacity:0}to{opacity:1}}
@media(max-width:440px){.kh-drawer-header{padding:22px 20px 18px}.kh-drawer-body{padding:8px 20px 24px}.kh-drawer-footer{padding:18px 20px max(18px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.kh-drawer-panel,.kh-drawer-backdrop{animation:none}}
