/* Header mini-cart drawer, slides in from the right (javascript/minicart.js) */
.mk-mini { position: fixed; z-index: 1001; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: #fff; color: #1D1D1B; box-shadow: -12px 0 32px rgba(0,0,0,.18); font-size: 14px; text-align: left; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.mk-mini.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.mk-mini-shade { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.mk-mini-shade.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
html.mk-mini-lock, html.mk-mini-lock body { overflow: hidden; }
.mk-mini.is-busy { cursor: progress; }
.mk-mini.is-busy .mk-mini-list, .mk-mini.is-busy .mk-mini-btns { pointer-events: none; }
.mk-mini-head { display: flex; align-items: center; gap: 6px; padding: 16px; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid #E6E6E6; flex: none; }
.mk-mini-x { margin-left: auto; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #1D1D1B; }
.mk-mini-x:hover { color: #E20612; }
.mk-mini-head span { color: #565656; font-weight: 400; }
/* list scrolls with the wheel/touch, scrollbar hidden */
.mk-mini-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 16px; }
.mk-mini-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.mk-mini-row { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 0; }
.mk-mini-row img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.mk-mini-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; font-size: 13px; line-height: 1.3; }
.mk-mini-name:hover { color: #E20612; }
.mk-mini-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: nowrap; min-width: 0; }
.mk-mini-qty { flex: none; flex-wrap: nowrap; }
.mk-mini-qty .btn { min-height: 26px; height: 26px; width: 26px; padding: 0; border: 1px solid #E6E6E6; background: #fff; font-size: 14px; }
.mk-mini-qty span { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; border: 1px solid #E6E6E6; border-left: 0; border-right: 0; font-size: 13px; }
.mk-mini-price { color: #565656; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-mini-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mk-mini-end b { white-space: nowrap; }
.mk-mini-del { color: #1D1D1B; padding: 2px 4px; line-height: 1; }
.mk-mini-del:hover { color: #E20612; }
.mk-mini-total { flex: none; margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #E6E6E6; font-size: 16px; }
.mk-mini-total b { color: #E20612; white-space: nowrap; }
.mk-mini-btns { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.mk-mini-btns .btn { height: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--rounded-btn, .5rem); border-width: 1px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.mk-mini-btns .btn-primary { border-color: #E20612; }
.mk-mini-empty { padding: 28px 16px; text-align: center; }
.mk-mini-empty i { font-size: 36px; color: #E20612; }
.mk-mini-empty p { margin: 10px 0 14px; font-weight: 700; }
