/**
 * Modern Checkout & Cart — wysuwany koszyk. Mobile-first.
 * Akcent ustawiany z konfiguracji przez --mcc-accent (JS).
 *
 * IZOLACJA: krytyczny layout z !important + jawne kolory/font, by motyw/Elementor
 * (sticky header, przełącznik języka, kontenery z transform/overflow) nie psuł drawera.
 */

.mcc-drawer,
.mcc-overlay,
.mcc-cart-toggle {
	--mcc-accent: #111111; /* akcent z ustawień (badge, pasek wysyłki, kupon, focus) */
	--mcc-cta: #111111; /* CTA „Do kasy" — zawsze prawie czarny, niezależnie od akcentu */
	--mcc-bg: #ffffff;
	--mcc-text: #1a1a1a;
	--mcc-muted: #6b7280;
	--mcc-border: #ececec;
	--mcc-soft: #f6f6f6;
	--mcc-success: #15803d;
	--mcc-radius: 10px;
	box-sizing: border-box !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	color: var(--mcc-text) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.mcc-drawer *,
.mcc-drawer *::before,
.mcc-drawer *::after {
	box-sizing: border-box;
}

/* ---------- Overlay ---------- */

.mcc-overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 999998 !important;
	background: rgba(17, 17, 17, 0.45) !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mcc-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* ---------- Panel ---------- */

.mcc-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 999999 !important;
	display: flex !important;
	flex-direction: column !important;
	width: 90% !important;
	width: min(92vw, 420px) !important;
	max-width: 420px !important;
	height: 100% !important;
	height: 100dvh !important;
	background: var(--mcc-bg) !important;
	color: var(--mcc-text) !important;
	box-shadow: -8px 0 40px rgba(0, 0, 0, 0.16) !important;
	transform: translateX(100%) !important;
	transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
	font-size: 15px !important;
	line-height: 1.45 !important;
}

.mcc-drawer.is-open {
	transform: translateX(0) !important;
}

.mcc-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 22px;
	padding-top: calc(20px + env(safe-area-inset-top));
	border-bottom: 1px solid var(--mcc-border);
	flex: 0 0 auto;
}

.mcc-drawer__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: var(--mcc-text) !important;
	letter-spacing: -0.01em;
}

.mcc-drawer__count {
	color: var(--mcc-muted);
	font-weight: 500;
}

.mcc-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: -8px -8px -8px 0;
	padding: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--mcc-muted);
	background: none;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.mcc-drawer__close:hover {
	color: var(--mcc-text);
	background: var(--mcc-soft);
}

/* ---------- Body ---------- */

.mcc-drawer__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

/* ---------- Pasek darmowej wysyłki ---------- */

.mcc-freeship {
	flex: 0 0 auto;
	padding: 14px 22px;
	background: var(--mcc-soft);
	border-bottom: 1px solid var(--mcc-border);
}

.mcc-freeship__text {
	margin: 0 0 9px;
	font-size: 13px;
	font-weight: 500;
	color: var(--mcc-text);
	text-align: center;
}

.mcc-freeship__text .amount,
.mcc-freeship__text bdi {
	font-weight: 700;
}

.mcc-freeship__icon {
	width: 18px;
	height: 18px;
	vertical-align: -4px;
	margin-right: 4px;
}

.mcc-freeship__track {
	height: 6px;
	border-radius: 99px;
	background: #e3e3e3;
	overflow: hidden;
}

.mcc-freeship__fill {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: var(--mcc-accent);
	transition: width 0.4s ease;
}

.mcc-freeship.is-reached .mcc-freeship__fill {
	background: var(--mcc-success);
}

.mcc-freeship.is-reached .mcc-freeship__text {
	color: var(--mcc-success);
	font-weight: 600;
}

/* ---------- Lista pozycji ---------- */

.mcc-drawer__items {
	list-style: none;
	margin: 0;
	padding: 4px 22px;
	overflow-y: auto;
	flex: 1 1 auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.mcc-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--mcc-border);
	transition: opacity 0.2s ease;
}

.mcc-item:last-child {
	border-bottom: 0;
}

.mcc-item.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

.mcc-item__media img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--mcc-radius);
	border: 1px solid var(--mcc-border);
	display: block;
}

.mcc-item__details {
	min-width: 0;
}

.mcc-item__name {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	margin-bottom: 4px;
}

.mcc-item__name a {
	color: inherit;
	text-decoration: none;
}

.mcc-item__name a:hover {
	text-decoration: underline;
}

.mcc-item__meta {
	font-size: 12.5px;
	color: var(--mcc-muted);
	margin-bottom: 8px;
}

.mcc-item__meta p {
	margin: 0;
}

.mcc-item__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}

.mcc-item__price {
	font-weight: 600;
	white-space: nowrap;
}

.mcc-item__remove {
	margin-top: 8px;
	padding: 0;
	font-size: 12.5px;
	color: var(--mcc-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.15s ease;
}

.mcc-item__remove:hover {
	color: #b91c1c;
}

/* ---------- Stepper ilości (smukły) ---------- */

.mcc-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--mcc-border);
	border-radius: 8px;
	background: var(--mcc-bg);
	transition: border-color 0.15s ease;
}

.mcc-qty:focus-within {
	border-color: var(--mcc-accent);
}

.mcc-qty__btn {
	width: 32px;
	height: 32px;
	font-size: 16px;
	line-height: 1;
	color: var(--mcc-text);
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.15s ease;
}

.mcc-qty__btn:hover {
	color: var(--mcc-accent);
}

.mcc-qty__input {
	width: 36px;
	height: 32px;
	text-align: center;
	font-size: 14px;
	color: var(--mcc-text);
	background: none;
	border: 0;
	border-left: 1px solid var(--mcc-border);
	border-right: 1px solid var(--mcc-border);
	-moz-appearance: textfield;
	appearance: textfield;
}

.mcc-qty__input::-webkit-outer-spin-button,
.mcc-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------- Stopka ---------- */

.mcc-drawer__footer {
	flex: 0 0 auto;
	padding: 18px 22px calc(20px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--mcc-border);
	background: var(--mcc-bg);
}

/* ---------- Kupon ---------- */

.mcc-coupon {
	margin-bottom: 14px;
}

.mcc-coupon__applied {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mcc-coupon__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 6px 5px 12px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--mcc-accent);
	background: var(--mcc-soft);
	background: color-mix(in srgb, var(--mcc-accent) 10%, #fff);
	border: 1px solid var(--mcc-border);
	border: 1px solid color-mix(in srgb, var(--mcc-accent) 30%, #fff);
	border-radius: 99px;
}

.mcc-coupon__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 16px;
	line-height: 1;
	color: var(--mcc-accent);
	background: none;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.mcc-coupon__remove:hover {
	background: var(--mcc-soft);
	background: color-mix(in srgb, var(--mcc-accent) 18%, #fff);
}

.mcc-coupon__summary {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--mcc-text);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.mcc-coupon__summary::-webkit-details-marker {
	display: none;
}

.mcc-coupon__summary::after {
	content: "+";
	font-size: 16px;
	color: var(--mcc-muted);
	line-height: 1;
}

.mcc-coupon__toggle[open] .mcc-coupon__summary::after {
	content: "\2212"; /* minus */
}

.mcc-coupon__form {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.mcc-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	font-size: 14px;
	color: var(--mcc-text);
	background: var(--mcc-bg);
	border: 1px solid var(--mcc-border);
	border-radius: 8px;
}

.mcc-coupon__input:focus {
	outline: none;
	border-color: var(--mcc-accent);
}

.mcc-coupon__apply {
	flex: 0 0 auto;
	height: 42px;
	padding: 0 16px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--mcc-text);
	background: var(--mcc-soft);
	border: 1px solid var(--mcc-border);
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mcc-coupon__apply:hover {
	background: #ececec;
}

.mcc-coupon__error {
	display: none;
	margin-top: 8px;
	font-size: 12.5px;
	color: #b91c1c;
}

.mcc-coupon__error.is-visible {
	display: block;
}

/* ---------- Suma + notka ---------- */

.mcc-drawer__subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-size: 17px;
	font-weight: 600;
	padding-top: 14px;
	border-top: 1px solid var(--mcc-border);
}

.mcc-drawer__note {
	margin: 6px 0 14px;
	font-size: 12.5px;
	color: var(--mcc-muted);
}

/* ---------- Przyciski ---------- */

.mcc-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: var(--mcc-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.mcc-btn--primary {
	color: #fff;
	background: var(--mcc-cta);
}

.mcc-btn--primary:hover {
	opacity: 0.88;
	color: #fff;
}

.mcc-btn--ghost {
	margin-top: 10px;
	min-height: 44px;
	font-size: 14px;
	color: var(--mcc-text);
	background: none;
	border-color: var(--mcc-border);
}

.mcc-btn--ghost:hover {
	background: var(--mcc-soft);
}

/* ---------- Stan pusty ---------- */

.mcc-drawer__empty {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 40px 24px;
	text-align: center;
}

.mcc-drawer__empty-text {
	margin: 0;
	color: var(--mcc-muted);
	font-size: 16px;
}

.mcc-drawer__empty .mcc-btn {
	width: auto;
	min-width: 200px;
}

/* ---------- Błędy ---------- */

.mcc-error {
	display: none;
	margin: 12px 22px 0;
	padding: 10px 14px;
	font-size: 13px;
	color: #991b1b;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: var(--mcc-radius);
}

.mcc-error.is-visible {
	display: block;
}

/* ---------- A11y: region live (ukryty wizualnie, czytany przez czytniki) ---------- */

.mcc-live {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Stany ładowania (spinner) ---------- */

.mcc-item.is-loading,
.mcc-coupon.is-loading,
.mcc-coupon__tag.is-loading {
	position: relative;
	opacity: 0.55;
	pointer-events: none;
}

.mcc-item.is-loading::after,
.mcc-coupon.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid rgba(0, 0, 0, 0.15);
	border-top-color: var(--mcc-accent);
	border-radius: 50%;
	animation: mcc-spin 0.6s linear infinite;
}

/* Przycisk „Dodaj" na karcie produktu w trakcie żądania */
.single_add_to_cart_button.loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
	opacity: 0.9;
}

.single_add_to_cart_button.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mcc-spin 0.6s linear infinite;
}

@keyframes mcc-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcc-item.is-loading::after,
	.mcc-coupon.is-loading::after,
	.single_add_to_cart_button.loading::after {
		animation: none;
	}
}

/* ---------- Pływający przycisk ---------- */

.mcc-cart-toggle {
	position: fixed !important;
	right: 18px !important;
	bottom: calc(18px + env(safe-area-inset-bottom)) !important;
	z-index: 999999 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	height: 56px !important;
	color: #fff !important;
	background: var(--mcc-accent) !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.mcc-cart-toggle:hover {
	transform: translateY(-2px);
}

.mcc-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	display: none;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	color: var(--mcc-accent);
	background: #fff;
	border-radius: 11px;
	box-shadow: 0 0 0 2px var(--mcc-accent);
}

.mcc-cart-count.is-visible {
	display: block;
}

.mcc-drawer-open {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	overflow: hidden !important;
}

/* ---------- Desktop ---------- */

@media (min-width: 768px) {
	.mcc-drawer {
		width: 410px !important;
	}
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.mcc-drawer,
	.mcc-overlay,
	.mcc-cart-toggle,
	.mcc-freeship__fill {
		transition: none;
	}
}

/* ============================================================
   TWARDY OVERRIDE — izolacja od motywu/Elementora + minimalizm.
   Motyw nadawał brązowe tła/uppercase przyciskom; tu zerujemy to na twardo.
   ============================================================ */

/* Wspólny reset wszystkich kontrolek w drawerze (zabija style motywu) */
.mcc-drawer button,
.mcc-drawer .mcc-btn,
.mcc-drawer .mcc-qty__btn,
.mcc-drawer .mcc-item__remove,
.mcc-drawer .mcc-coupon__apply,
.mcc-drawer .mcc-coupon__remove,
.mcc-drawer__close {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

/* Stepper +/- : bez tła, smukłe, lekki kontener */
.mcc-drawer .mcc-qty {
	border: 1px solid var(--mcc-border) !important;
	border-radius: 8px !important;
	background: transparent !important;
}
.mcc-drawer .mcc-qty__btn {
	border: 0 !important;
	color: var(--mcc-text) !important;
	font-weight: 400 !important;
}
.mcc-drawer .mcc-qty__input {
	background: transparent !important;
	border-top: 0 !important;
	border-bottom: 0 !important;
	border-left: 1px solid var(--mcc-border) !important;
	border-right: 1px solid var(--mcc-border) !important;
	color: var(--mcc-text) !important;
	font-weight: 500 !important;
}

/* „Usuń" : mały, szary link tekstowy — zero tła/ramki */
.mcc-drawer .mcc-item__remove {
	border: 0 !important;
	padding: 0 !important;
	color: var(--mcc-muted) !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	text-decoration: underline !important;
}

/* Kupon : pole + przycisk minimalnie, bez brązu */
.mcc-drawer .mcc-coupon__input {
	background: #fff !important;
	border: 1px solid var(--mcc-border) !important;
	color: var(--mcc-text) !important;
}
.mcc-drawer .mcc-coupon__apply {
	border: 1px solid var(--mcc-border) !important;
	color: var(--mcc-text) !important;
	font-weight: 500 !important;
}

/* CTA „Do kasy" : pełny, czarny, BIAŁY czytelny tekst — minimalistyczny (~10% niższy) */
.mcc-drawer .mcc-btn--primary {
	background: #111 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 9px !important;
	min-height: 42px !important;
	font-size: 14px !important;
	padding: 9px 16px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	text-decoration: none !important;
}
.mcc-drawer .mcc-btn--primary:hover {
	background: #000 !important;
	color: #fff !important;
}

/* „Kontynuuj zakupy" : sam tekst — bez tła, bez ramki, mniejszy */
.mcc-drawer .mcc-btn--ghost {
	min-height: 0 !important;
	margin-top: 12px !important;
	padding: 6px !important;
	border: 0 !important;
	color: var(--mcc-muted) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}
.mcc-drawer .mcc-btn--ghost:hover {
	color: var(--mcc-text) !important;
	background: transparent !important;
	text-decoration: underline !important;
}

/* × zamknięcia : szary, bez tła, idealnie wyśrodkowany SVG */
.mcc-drawer__close {
	color: var(--mcc-muted) !important;
	-webkit-tap-highlight-color: transparent !important;
}
.mcc-drawer__close:hover {
	color: var(--mcc-text) !important;
	background: var(--mcc-soft) !important;
}
/* Brak niebieskiego ringu po tapnięciu (mysz/dotyk); obrys TYLKO dla klawiatury (a11y) */
.mcc-drawer__close:focus {
	outline: none !important;
	box-shadow: none !important;
}
.mcc-drawer__close:focus-visible {
	outline: 2px solid var(--mcc-accent) !important;
	outline-offset: 2px !important;
}
/* × rysowany w CSS (dwie kreski) — zawsze widoczny, idealnie wyśrodkowany, bez fontu/SVG */
.mcc-drawer__close {
	position: relative !important;
	font-size: 0 !important; /* gdyby został jakiś tekst — nie pokazuj go */
}
.mcc-drawer__close::before,
.mcc-drawer__close::after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 17px !important;
	height: 2px !important;
	background-color: var(--mcc-muted) !important;
	border-radius: 2px !important;
	pointer-events: none !important;
	transition: background-color 0.15s ease !important;
}
.mcc-drawer__close::before {
	transform: translate(-50%, -50%) rotate(45deg) !important;
}
.mcc-drawer__close::after {
	transform: translate(-50%, -50%) rotate(-45deg) !important;
}
.mcc-drawer__close:hover::before,
.mcc-drawer__close:hover::after {
	background-color: var(--mcc-text) !important;
}

/* Pływający przycisk : czarny, minimalny (nigdy brąz) */
.mcc-cart-toggle {
	background: #111 !important;
}

/* Ukryj pływający przycisk, gdy drawer jest otwarty (nie nachodzi na panel) */
.mcc-drawer-open .mcc-cart-toggle {
	display: none !important;
}

/* Mobile: 88% szerokości (max 460px) — widać kawałek strony z boku, overlay przyciemnia resztę */
@media (max-width: 767px) {
	.mcc-drawer {
		width: 88% !important;
		max-width: 460px !important;
	}
}

/* Ikona koszyka w nagłówku (shortcode [mcc_cart], między lupką a menu) */
.mcc-cart-link {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	text-decoration: none !important;
	line-height: 0 !important;
	cursor: pointer;
}

.mcc-cart-link .mcc-cart-count {
	position: absolute !important;
	top: -7px !important;
	right: -9px !important;
	color: #fff !important;
	background: #111 !important;
	box-shadow: none !important;
}

/* ============ KOMPAKT + iOS (mniejszy, mieści więcej produktów) ============ */

/* iOS: input ≥16px → Safari NIE przybliża pola przy focusie (koniec dziwnego zoomu) */
.mcc-drawer .mcc-coupon__input,
.mcc-drawer .mcc-qty__input {
	font-size: 16px !important;
}

/* Mniejszy nagłówek + krzyżyk */
.mcc-drawer__header {
	padding: 13px 18px !important;
	padding-top: calc(13px + env(safe-area-inset-top)) !important;
}
.mcc-drawer__title { font-size: 16px !important; }
.mcc-drawer__close {
	width: 30px !important;
	height: 30px !important;
	font-size: 22px !important;
}

/* Ciaśniejsze pozycje + mniejsze miniatury (mieści więcej produktów bez scrolla) */
.mcc-drawer__items { padding: 2px 18px !important; }
.mcc-item {
	grid-template-columns: 54px 1fr !important;
	gap: 12px !important;
	padding: 11px 0 !important;
}
.mcc-item__media img {
	width: 54px !important;
	height: 54px !important;
}
.mcc-item__name { font-size: 13.5px !important; }
.mcc-item__meta { font-size: 12px !important; margin-bottom: 6px !important; }
.mcc-item__row { margin-top: 7px !important; }
.mcc-item__remove { margin-top: 6px !important; }

/* Mniejszy stepper ilości (input zostaje 16px dla iOS, ale węższy) */
.mcc-qty__btn { width: 30px !important; height: 32px !important; font-size: 15px !important; }
.mcc-qty__input { width: 36px !important; height: 32px !important; }

/* Zwarta stopka + mniejszy CTA */
.mcc-freeship { padding: 10px 18px !important; }
.mcc-freeship__text { margin-bottom: 7px !important; font-size: 12.5px !important; }
.mcc-drawer__footer {
	padding: 12px 18px calc(14px + env(safe-area-inset-bottom)) !important;
}
.mcc-coupon { margin-bottom: 10px !important; }
.mcc-drawer__subtotal { font-size: 15px !important; padding-top: 10px !important; }
.mcc-drawer__note { margin: 4px 0 10px !important; font-size: 12px !important; }
.mcc-btn {
	min-height: 46px !important;
	padding: 11px 16px !important;
	font-size: 14px !important;
}
.mcc-btn--ghost { min-height: 0 !important; margin-top: 8px !important; }

/* Ilość — WYMUŚ widoczność liczby (iOS potrafi wyzerować kolor tekstu inputu przez
   -webkit-text-fill-color, mimo ustawionego color). Plus sensowne wymiary. */
.mcc-drawer .mcc-qty__input {
	width: 36px !important;
	height: 32px !important;
	line-height: normal !important; /* reset dziedziczonego 1.45 z .mcc-drawer (powodował ucinanie) */
	padding: 0 !important;
	text-align: center !important;
	vertical-align: middle !important;
	font-size: 16px !important;
	color: #1a1a1a !important;
	-webkit-text-fill-color: #1a1a1a !important;
	opacity: 1 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	background: transparent !important;
	overflow: visible !important; /* cyfra nigdy nie ucięta */
}

/* ============ „Usuń" pod zdjęciem + drobny polish (0.2.5) ============ */

/* Pozycje równane do góry — „Usuń" siedzi tuż pod miniaturą, nie w pionie środka */
.mcc-drawer .mcc-item {
	align-items: start !important;
}

/* Kolumna zdjęcia: miniatura + „Usuń" pod spodem, wyśrodkowane */
.mcc-drawer .mcc-item__media {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 5px !important;
}

/* „Usuń" — dyskretny szary link pod miniaturą (zamiast pod ilością) */
.mcc-drawer .mcc-item__remove {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 11.5px !important;
	line-height: 1.2 !important;
	text-align: center !important;
	color: var(--mcc-muted) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}
.mcc-drawer .mcc-item__remove:hover {
	color: #b91c1c !important;
}

/* Wiersz ilość/cena: lekki oddech od nazwy/atrybutów */
.mcc-drawer .mcc-item__row {
	margin-top: 8px !important;
}
