/* ManaKlade — slide-out cart drawer (Phase 6a). Unique #mkc/.mkc selectors. */
#mkc-overlay{position:fixed;inset:0;background:rgba(31,29,26,.42);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .28s,visibility .28s;z-index:200;}
#mkc-overlay.open{opacity:1;visibility:visible;}
#mkc-drawer{position:fixed;top:0;right:0;height:100%;width:420px;max-width:92vw;background:#fbfaf7;box-shadow:-18px 0 50px -18px rgba(31,29,26,.35);transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);z-index:201;display:flex;flex-direction:column;font-family:'Rubik',system-ui,sans-serif;}
#mkc-drawer.open{transform:none;}
.mkc-head{display:flex;align-items:center;gap:10px;padding:20px 22px;border-bottom:1px solid #e7e3d9;background:#fff;}
.mkc-head h3{margin:0;font-size:18px;font-weight:700;letter-spacing:-.01em;color:#1f1d1a;display:flex;align-items:center;gap:9px;}
.mkc-head .mkc-count{font-size:12.5px;font-weight:700;color:#fff;background:#1b7a8c;border-radius:999px;min-width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;}
.mkc-close{margin-left:auto;width:38px;height:38px;border-radius:9px;border:0;background:#f4f2ec;color:#46423c;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.13s;}
.mkc-close:hover{background:#ece9e1;color:#1f1d1a;}
.mkc-close svg{width:18px;height:18px;}
.mkc-free{display:flex;align-items:center;gap:10px;padding:13px 22px;background:rgba(95,158,67,.1);border-bottom:1px solid #e7e3d9;font-size:13px;color:#558f3b;font-weight:500;}
.mkc-free svg{width:17px;height:17px;flex-shrink:0;}
.mkc-free .bar{flex:1;height:5px;border-radius:3px;background:#e2e7da;overflow:hidden;margin-left:2px;}
.mkc-free .bar i{display:block;height:100%;background:linear-gradient(90deg,#1b7a8c,#5f9e43);border-radius:3px;}
.mkc-items{flex:1;overflow-y:auto;padding:8px 14px;}
.mkc-item{display:flex;gap:14px;padding:16px 8px;border-bottom:1px solid #ece9e1;}
.mkc-item:last-child{border-bottom:0;}
.mkc-thumb{width:60px;height:82px;border-radius:5px;flex-shrink:0;overflow:hidden;box-shadow:0 3px 8px rgba(31,29,26,.18);background:#cabfa6;}
.mkc-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.mkc-info{flex:1;min-width:0;}
.mkc-title{font-size:14.5px;font-weight:600;color:#1f1d1a;line-height:1.3;margin-bottom:3px;}
.mkc-variant{font-size:12.5px;color:#8a847a;margin-bottom:4px;}
.mkc-badge-design{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#0f5666;background:rgba(27,122,140,.12);border-radius:999px;padding:2px 9px;margin-bottom:8px;}
.mkc-row{display:flex;align-items:center;gap:12px;}
.mkc-qty{display:flex;align-items:center;border:1px solid #d9d4c7;border-radius:8px;overflow:hidden;background:#fff;}
.mkc-qty button{width:28px;height:30px;border:0;background:none;color:#46423c;cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center;}
.mkc-qty button:hover{background:#f4f2ec;}
.mkc-qty button[disabled]{opacity:.4;cursor:default;}
.mkc-qty span{min-width:26px;text-align:center;font-size:13.5px;font-weight:600;color:#1f1d1a;}
.mkc-price{margin-left:auto;font-size:15px;font-weight:700;color:#1f1d1a;}
.mkc-remove{border:0;background:none;color:#a8a294;cursor:pointer;font-size:12px;padding:2px 0;transition:.12s;margin-top:8px;}
.mkc-remove:hover{color:#c0473f;}
.mkc-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8a847a;padding:40px;}
.mkc-empty svg{width:46px;height:46px;color:#d9d4c7;margin-bottom:14px;}
.mkc-empty h4{margin:0 0 6px;font-size:16px;color:#1f1d1a;}
.mkc-empty p{margin:0 0 20px;font-size:14px;}
.mkc-foot{border-top:1px solid #e7e3d9;background:#fff;padding:18px 22px 22px;}
.mkc-sub{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;font-size:14px;color:#46423c;}
.mkc-tot{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;margin-top:10px;}
.mkc-tot .l{font-size:16px;font-weight:600;color:#1f1d1a;}
.mkc-tot .v{font-size:22px;font-weight:700;color:#1f1d1a;letter-spacing:-.01em;text-align:right;}
.mkc-tot .v small{font-size:12px;color:#8a847a;font-weight:500;display:block;text-align:right;}
.mkc-actions{display:flex;flex-direction:column;gap:9px;}
.mkc-btn{height:50px;border-radius:11px;border:0;font-size:15px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;font-family:inherit;transition:.15s;text-decoration:none;}
.mkc-btn svg{width:18px;height:18px;}
.mkc-btn-primary{background:linear-gradient(100deg,#0f5666,#1b7a8c 42%,#5f9e43);color:#fff !important;box-shadow:0 6px 16px -6px rgba(15,86,102,.5);}
.mkc-btn-primary:hover{filter:brightness(1.05);}
.mkc-btn-ghost{background:#fff;color:#46423c;border:1px solid #d9d4c7;}
.mkc-btn-ghost:hover{background:#f4f2ec;}
.mkc-note{margin-top:13px;text-align:center;font-size:12px;color:#a8a294;display:flex;align-items:center;justify-content:center;gap:6px;}
.mkc-note svg{width:14px;height:14px;}
.mkc-loading{opacity:.55;pointer-events:none;}
@media (max-width:480px){#mkc-drawer{width:100%;}}
