/* Mini cart drawer (Sylveco look: flat, sharp, black/white) */
.site-header .tools a.sq-cartlink { position: relative; }
.site-header .sq-cartn { position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; background: #0e0e0e; color: #fff; font-weight: 500 !important; font-size: 10px !important; line-height: 16px !important; font-family: inherit; text-align: center; text-shadow: none; letter-spacing: 0; pointer-events: none; }
.site-header .sq-cartn[hidden] { display: none; }
.site-header:not(.solid) .sq-cartn { background: #fff; color: #0e0e0e; }
.sq-mc-lock { overflow: hidden; }
.sq-mc-wrap { --sq-paper: #fff; --sq-soft: #f4f3f1; --sq-ink: #0e0e0e; --sq-muted: #6b6a68; --sq-line: #e4e3e0; position: fixed; inset: 0; z-index: 200; font-family: inherit; color: #0e0e0e; }
.sq-mc-wrap * { box-sizing: border-box; border-radius: 0; }
.sq-mc-back { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s; }
.sq-mc-wrap.is-open .sq-mc-back { background: rgba(0,0,0,.4); }
.sq-mc { position: absolute; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; outline: 0; }
.sq-mc-wrap.is-open .sq-mc { transform: none; }
.sq-mc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #e4e3e0; }
.sq-mc-head h2 { margin: 0; font-size: 1.25rem; font-weight: 500; }
.sq-mc-x { width: 48px; height: 48px; margin: -8px -8px -8px 0; background: none; border: 0; cursor: pointer; color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.sq-mc-list { list-style: none; margin: 0; padding: 0 16px; overflow-y: auto; flex: 1 1 auto; }
.sq-mc-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e4e3e0; align-items: start; }
.sq-mc-img img { display: block; width: 64px; height: 64px; object-fit: cover; background: #f4f3f1; }
.sq-mc-name { color: inherit; text-decoration: none; font-size: 16px; line-height: 1.3; font-weight: 500; display: block; }
.sq-mc-price { display: flex; gap: 8px; align-items: baseline; margin: 4px 0 8px; font-size: 16px; }
.sq-mc-price s { color: #6b6a68; }
.sq-mc-qty { display: inline-flex; align-items: center; border: 1px solid #e4e3e0; }
.sq-mc-qty button { width: 40px; height: 40px; background: none; border: 0; font: inherit; font-size: 20px; cursor: pointer; color: inherit; }
.sq-mc-qty span { min-width: 32px; text-align: center; }
.sq-mc-rm { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; color: #6b6a68; display: inline-flex; align-items: center; justify-content: center; }
.sq-mc-rm:hover { color: #0e0e0e; }
.sq-mc-foot { padding: 16px calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) 16px; border-top: 1px solid #e4e3e0; display: grid; gap: 8px; }
.sq-mc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.sq-mc-total { font-size: 1.125rem; margin-bottom: 8px; }
.sq-mc-empty { padding: 32px 16px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.sq-mc-wrap .sq-btn { text-decoration: none; }
a.is-loading, button.is-loading { opacity: .55; pointer-events: none; }
@media (max-width: 480px) { .sq-mc { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sq-mc, .sq-mc-back { transition: none; } }

.sq-mc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sq-mc-btns .sq-btn { padding-left: 8px; padding-right: 8px; text-align: center; justify-content: center; }
