/* 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-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sq-mc-list { list-style: none; margin: 0; padding: 0 16px; }
.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; }

/* monety z quizu w szufladzie */
.sq-mc-coinbar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; color: inherit; border-bottom: 1px solid #e4e3e0; }
.sq-mc-coinbar__sum { flex: 1; font-size: 1.1rem; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.sq-mc-left { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; font-variant-numeric: tabular-nums; }
.sq-mc-left .sq-ic { fill: none; stroke: currentColor; stroke-width: 1.4; }
.sq-mc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sq-mc-coinbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sq-mc-coinbtn:hover, .sq-mc-coinbtn:focus-visible { outline: 0; background: none; }
.sq-mc-coinbtn.is-offer .sq-coin__d { transition: fill .15s; }
.sq-mc-coinbtn.is-offer:hover .sq-coin__d, .sq-mc-coinbtn.is-offer:focus-visible .sq-coin__d { fill: #2b9a55; }
.sq-mc-coinbtn.is-offer:hover .sq-coin svg path:last-child, .sq-mc-coinbtn.is-offer:focus-visible .sq-coin svg path:last-child { stroke: #2b9a55; }
.sq-mc-coinbtn.is-used .sq-coin { animation: sq-coin-pop .3s ease-out; }
@keyframes sq-coin-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sq-mc-coinbtn.is-used .sq-coin { animation: none; } }

.sq-mc-imgc { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* ===== zwarty układ szuflady: jak najwięcej pozycji na ekranie (telefon i komputer) ===== */
.sq-mc-wrap .sq-mc-head { padding: 8px 14px; }
.sq-mc-wrap .sq-mc-head h2 { font-size: 1.05rem; }
.sq-mc-wrap .sq-mc-x { width: 40px; height: 40px; margin: -6px -8px -6px 0; }
.sq-mc-wrap .syup { padding: 6px 14px 8px; }
.sq-mc-wrap .syup .syup-t { margin: 0 0 3px; font-size: 13px; line-height: 1.25; }
.sq-mc-wrap .syup .syup-t + .syup-bar, .sq-mc-wrap .syup .syup-bar { margin: 0 0 6px; height: 3px; }
.sq-mc-wrap .syup .syup-bar:last-child { margin-bottom: 0; }
.sq-mc-wrap .sq-mc-coinbar { padding: 6px 14px; gap: 8px; }
.sq-mc-wrap .sq-mc-coinbar__sum { font-size: 1rem; }
.sq-mc-wrap .sq-mc-list { padding: 0 14px; }
.sq-mc-wrap .sq-mc-item { grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 4px 10px; padding: 8px 0; }
.sq-mc-wrap .sq-mc-img img { width: 52px; height: 52px; }
.sq-mc-wrap .sq-mc-imgc { gap: 0; }
.sq-mc-wrap .sq-mc-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; min-width: 0; }
.sq-mc-wrap .sq-mc-name { flex: 0 0 100%; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sq-mc-wrap .sq-mc-price { margin: 0; font-size: 14px; gap: 6px; }
.sq-mc-wrap .sq-mc-row { gap: 6px; }
.sq-mc-wrap .sq-mc-qty button { width: 30px; height: 30px; font-size: 18px; }
.sq-mc-wrap .sq-mc-qty span { min-width: 24px; font-size: 14px; }
.sq-mc-wrap .sq-mc-rm { width: 28px; height: 28px; }
.sq-mc-wrap .sq-mc-rm svg { width: 16px; height: 16px; }
.sq-mc-wrap .sq-mc-coinbtn { min-width: 40px; height: 34px; }
.sq-mc-wrap .sq-mc-foot { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 14px; gap: 4px; }
.sq-mc-wrap .sq-mc-line { font-size: 14px; }
.sq-mc-wrap .sq-mc-total { font-size: 1rem; margin-bottom: 2px; }
.sq-mc-wrap .sq-mc-note { margin: 0 0 4px; font-size: 12px; line-height: 1.3; }
.sq-mc-wrap .sq-mc-btns { gap: 6px; }
.sq-mc-wrap .sq-mc-foot .sq-btn { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; line-height: 1.2; }

/* ===== jeszcze mniejsze; moneta przed ceną ===== */
.sq-mc-wrap .sq-mc-head { padding: 6px 12px; }
.sq-mc-wrap .sq-mc-head h2 { font-size: 1rem; }
.sq-mc-wrap .sq-mc-x { width: 36px; height: 36px; margin: -6px -6px -6px 0; }
.sq-mc-wrap .syup { padding: 4px 12px 6px; }
.sq-mc-wrap .syup .syup-t { font-size: 12px; margin: 0 0 2px; }
.sq-mc-wrap .sq-mc-coinbar { padding: 4px 12px; }
.sq-mc-wrap .sq-mc-coinbar__sum { font-size: .9375rem; }
.sq-mc-wrap .sq-mc-list { padding: 0 12px; }
.sq-mc-wrap .sq-mc-item { grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 2px 8px; padding: 6px 0; }
.sq-mc-wrap .sq-mc-img img { width: 44px; height: 44px; }
.sq-mc-wrap .sq-mc-name { font-size: 13px; line-height: 1.2; }
.sq-mc-wrap .sq-mc-price { font-size: 13px; gap: 5px; align-items: center; }
.sq-mc-wrap .sq-mc-qty button { width: 26px; height: 26px; font-size: 16px; }
.sq-mc-wrap .sq-mc-qty span { min-width: 22px; font-size: 13px; }
.sq-mc-wrap .sq-mc-rm { width: 24px; height: 24px; }
.sq-mc-wrap .sq-mc-rm svg { width: 14px; height: 14px; }
.sq-mc-wrap .sq-mc-coinbtn { min-width: 26px; width: 26px; height: 26px; }
.sq-mc-wrap .sq-mc-foot { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 12px; gap: 3px; }
.sq-mc-wrap .sq-mc-line { font-size: 13px; }
.sq-mc-wrap .sq-mc-total { font-size: .9375rem; margin-bottom: 1px; }
.sq-mc-wrap .sq-mc-note { font-size: 11px; margin: 0 0 3px; }
.sq-mc-wrap .sq-mc-foot .sq-btn { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13px; }

/* licznik monet: podpis „dodaj do produktów” małą czcionką w jednym wierszu, mniejsza klepsydra */
.sq-mc-wrap .sq-mc-coinbar__sum { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.sq-mc-wrap .sq-mc-coinbar__hint { font-size: 10.5px; line-height: 1.2; font-weight: 400; color: #6b6a68; overflow: hidden; text-overflow: ellipsis; }
.sq-mc-wrap .sq-mc-left { font-size: 12px; gap: 3px; }
.sq-mc-wrap .sq-mc-left .sq-ic { width: 11px; height: 11px; }

/* szuflada: ceny i tytuł zwykłą czcionką (bez pogrubienia i kursywy) */
.sq-mc-wrap .sq-mc-head h2 { font-style: normal; font-weight: 400; }
.sq-mc-wrap .sq-mc-price strong, .sq-mc-wrap .sq-mc-price s { font-weight: 400; }
.sq-mc-wrap .sq-mc-line, .sq-mc-wrap .sq-mc-line *, .sq-mc-wrap .sq-mc-total, .sq-mc-wrap .sq-mc-total * { font-weight: 400; }
.sq-mc-wrap .sq-mc-name { font-weight: 400; }
.sq-mc-wrap .sq-mc-coinbar__sum b { font-weight: 400; }

/* One continue-shopping action: the contextual button lives in the drawer footer. */
.sq-mc-wrap .sq-mc .syup-more { display: none; }
/* dolna belka telefonu: licznik obok ikony koszyka */
.bottomnav a.sq-cartlink { position: relative; }
.bottomnav .sq-cartn { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; background: var(--sq-brand, #0e0e0e); color: var(--sq-on-brand, #fff); font-weight: 500; font-size: 10px; line-height: 16px; font-family: inherit; text-align: center; letter-spacing: 0; pointer-events: none; }
.bottomnav .sq-cartn[hidden] { display: none; }
