/**
 * Modal „Dodano do koszyka” + produkty uzupełniające.
 * Kolory przez zmienne Elementora — bazowy #F7BD01, hover #E3AC00.
 */

.stwb-modal {
	--stwb-accent: var( --e-global-color-primary, #f7bd01 );
	--stwb-accent-hover: var( --e-global-color-48a4e19, #e3ac00 );
	--stwb-ink: var( --e-global-color-594e3db, #111 );
	--stwb-text: var( --e-global-color-text, #444 );
	--stwb-line: var( --e-global-color-accent, #d3cec7 );
	--stwb-surface: var( --e-global-color-d7ce02d, #fff );

	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
}

.stwb-modal[hidden] {
	display: none;
}

body.stwb-modal-open {
	overflow: hidden;
}

.stwb-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
}

.stwb-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: auto;
	background: var( --stwb-surface );
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.3 );
}

.stwb-modal__dialog.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

/* --- nagłówek --- */

.stwb-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-bottom: 1px solid var( --stwb-line );
}

.stwb-modal__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-size: 24px;
	color: var( --stwb-ink );
}

.stwb-modal__check {
	width: 28px;
	height: 28px;
	border: 2px solid var( --stwb-accent );
	border-radius: 50%;
	position: relative;
	flex: 0 0 auto;
}

.stwb-modal__check::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 4px;
	width: 7px;
	height: 12px;
	border: solid var( --stwb-accent );
	border-width: 0 2px 2px 0;
	transform: rotate( 45deg );
}

.stwb-modal__close {
	background: none;
	border: 0;
	padding: 0 4px;
	font-size: 30px;
	line-height: 1;
	color: var( --stwb-ink );
	cursor: pointer;
}

/* --- pozycje --- */

.stwb-modal__body {
	padding: 24px;
}

/* Lista pozycji, nie tabela — układ trzyma grid. */
.stwb-modal__items {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.stwb-modal__item {
	position: relative;
	display: grid;
	grid-template-columns: 100px minmax( 0, 1fr ) auto auto auto;
	align-items: center;
	gap: 4px 16px;
	padding: 16px 32px 16px 0;
	border-top: 1px solid var( --stwb-line );
}

.stwb-modal__items .stwb-modal__item:first-child {
	border-top: 0;
}

/*
 * Etykieta stoi przy wartości, a nie w nagłówku kolumny. Dzięki temu „Cena”,
 * „Ilość” i „Suma” czytają się tak samo na desktopie i na telefonie, gdzie
 * kolumny i tak schodzą pod siebie.
 */
.stwb-modal__label {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var( --stwb-text );
}

.stwb-modal__value {
	white-space: nowrap;
}

.stwb-modal__items .is-price,
.stwb-modal__items .is-total {
	text-align: right;
}

/* Krzyżyk w rogu pozycji — poza siatką, żeby nie zabierał kolumny. */
.stwb-modal__item .stwb-modal__remove {
	position: absolute;
	top: 12px;
	right: 0;
}

.stwb-modal__items img {
	display: block;
	width: 80px;
	max-width: none;
	height: auto;
	border-radius: 4px;
}

.stwb-modal__name {
	display: block;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: var( --stwb-ink );
}

.stwb-modal__remove {
	background: none;
	border: 0;
	font-size: 22px;
	line-height: 1;
	color: var( --stwb-text );
	cursor: pointer;
}

.stwb-modal__remove:hover {
	color: var( --stwb-ink );
}

/* --- stepper ilości --- */

.stwb-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var( --stwb-line );
	border-radius: 4px;
	overflow: hidden;
}

.stwb-qty__btn {
	width: 34px;
	height: 38px;
	background: none;
	border: 0;
	font-size: 18px;
	line-height: 1;
	color: var( --stwb-ink );
	cursor: pointer;
}

.stwb-qty__input {
	width: 46px;
	height: 38px;
	border: 0;
	border-left: 1px solid var( --stwb-line );
	border-right: 1px solid var( --stwb-line );
	border-radius: 0;
	padding: 0;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

/* --- podsumowanie i akcje --- */

.stwb-modal__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid var( --stwb-line );
}

.stwb-modal__clear {
	background: none;
	border: 0;
	padding: 0;
	text-decoration: underline;
	color: var( --stwb-ink );
	cursor: pointer;
}

.stwb-modal__total {
	margin: 0;
	font-size: 18px;
	color: var( --stwb-ink );
}

.stwb-modal__total strong {
	color: var( --stwb-accent );
	font-size: 22px;
	margin-left: 6px;
}

.stwb-modal__actions {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 12px;
	margin-top: 20px;
}

/* --- przyciski --- */

.stwb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 20px;
	border: 1px solid transparent;
	/* 6px jak pola i przyciski w woo-base.css — jedna skala na całej stronie. */
	border-radius: 6px;
	font-family: "Barlow", sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
}

.stwb-btn--primary {
	background: var( --stwb-accent );
	border-color: var( --stwb-accent );
	color: var( --e-global-color-secondary, #000 );
}

.stwb-btn--primary:hover,
.stwb-btn--primary:focus {
	background: var( --stwb-accent-hover );
	border-color: var( --stwb-accent-hover );
	color: var( --e-global-color-secondary, #000 );
}

.stwb-btn--dark {
	background: var( --stwb-ink );
	border-color: var( --stwb-ink );
	color: var( --stwb-surface );
}

.stwb-btn--dark:hover,
.stwb-btn--dark:focus {
	background: var( --stwb-accent );
	border-color: var( --stwb-accent );
	color: var( --e-global-color-secondary, #000 );
}

/* --- produkty uzupełniające --- */

.stwb-crosssell {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var( --e-global-color-accent, #d3cec7 );
}

.stwb-crosssell .stwb-crosssell__heading {
	margin: 0 0 18px;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-size: 22px;
	color: var( --e-global-color-594e3db, #111 );
}

.stwb-crosssell__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stwb-crosssell__item {
	display: flex;
	gap: 14px;
	padding: 16px;
	border: 1px solid var( --e-global-color-accent, #d3cec7 );
	border-radius: 8px;
	/* Bez tła kafle były dziurami w szarym tle strony, podczas gdy tabela
	   i box kuponu obok są białe. */
	background: var( --e-global-color-d7ce02d, #fff );
}

.stwb-crosssell__thumb {
	flex: 0 0 auto;
	width: 84px;
}

.stwb-crosssell__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.stwb-crosssell__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.stwb-crosssell__name {
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.2;
	color: var( --e-global-color-594e3db, #111 );
	text-decoration: none;
}

.stwb-crosssell__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	/* Kolor tekstu, nie akcentu — żółty na białym dawał kontrast 1.7:1. */
	color: var( --e-global-color-text, #444 );
}

.stwb-crosssell__price {
	font-weight: 600;
	color: var( --e-global-color-594e3db, #111 );
}

.stwb-crosssell__cta {
	margin-top: auto;
	padding: 10px 14px;
	border: 1px solid var( --e-global-color-primary, #f7bd01 );
	border-radius: 4px;
	background: none;
	font-family: "Barlow", sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	color: var( --e-global-color-594e3db, #111 );
	cursor: pointer;
	transition: all 0.2s;
}

.stwb-crosssell__cta:hover {
	background: var( --e-global-color-primary, #f7bd01 );
}

.stwb-crosssell__cta.loading {
	opacity: 0.5;
	pointer-events: none;
}

/* --- mobile --- */

@media ( max-width: 767px ) {
	.stwb-modal {
		padding: 0;
	}

	.stwb-modal__dialog {
		border-radius: 0;
		min-height: 100%;
	}

	.stwb-modal__body {
		padding: 16px;
	}

	/* Pozycja staje się kartą: miniatura po lewej, reszta w słupku po prawej. */
	.stwb-modal__item {
		grid-template-columns: 72px minmax( 0, 1fr );
		align-items: start;
		gap: 4px 12px;
		padding: 16px 32px 16px 0;
	}

	.stwb-modal__items .is-thumb {
		grid-row: 1 / span 4;
	}

	.stwb-modal__items img {
		width: 72px;
	}

	.stwb-modal__items .is-price,
	.stwb-modal__items .is-total {
		text-align: left;
	}

	.stwb-modal__actions,
	.stwb-crosssell__grid {
		grid-template-columns: 1fr;
	}
}

/* =====================================================================
 * STRONA KOSZYKA
 * ===================================================================== */

.stwb-cart {
	--stwb-accent: var( --e-global-color-primary, #f7bd01 );
	--stwb-accent-hover: var( --e-global-color-48a4e19, #e3ac00 );
	--stwb-ink: var( --e-global-color-594e3db, #111 );
	--stwb-text: var( --e-global-color-text, #444 );
	--stwb-line: var( --e-global-color-accent, #d3cec7 );
	--stwb-surface: var( --e-global-color-d7ce02d, #fff );

	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 400px;
	gap: 32px;
	align-items: start;
}

.stwb-cart__main {
	min-width: 0;
}

/* --- tabela pozycji --- */

/*
 * `separate`, nie `collapse`. Przy `collapse` przeglądarka nie rysuje ramki
 * tabeli ani nie honoruje `border-radius` — computed style dalej raportuje
 * `1px solid`, ale w layoucie nie zajmuje miejsca, więc box stał bez ramki
 * i z ostrymi rogami obok zaokrąglonych sąsiadów.
 * `border-spacing: 0` zachowuje stykające się komórki.
 */
/*
 * Koszyk to lista pozycji, nie tabela — stąd grid zamiast wierszy i komórek.
 * Zysk jest podwójny: znika cała wojna ze specyficznością reguł
 * `.woocommerce table.shop_table th/td` z woo-base (0,2,2), przez którą
 * paddingi tabeli trzeba było pisać trzyczłonowymi selektorami, i znika
 * przełączanie `display: table-row` → `block` na telefonie.
 *
 * Kolumny: krzyżyk | miniatura | nazwa (rośnie) | kwota.
 */
.stwb-cart__list {
	background: var( --stwb-surface );
	border: 1px solid var( --stwb-line );
	border-radius: 8px;
	overflow: hidden;
}

.stwb-cart__head,
.stwb-cart__item {
	display: grid;
	grid-template-columns: 24px 130px minmax( 0, 1fr ) auto;
	align-items: center;
	gap: 0 16px;
}

/* Pasek etykiet — ciaśniej niż pozycje, bo to podpis, nie treść. */
.stwb-cart__head {
	padding: 12px 24px;
	border-bottom: 1px solid var( --stwb-line );
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --stwb-text );
}

/* Etykieta „Produkt” obejmuje krzyżyk, miniaturę i nazwę. */
.stwb-cart__head-product {
	grid-column: 1 / 4;
}

.stwb-cart__head-amount {
	text-align: right;
}

.stwb-cart__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stwb-cart__item {
	/* Więcej powietrza w pionie: w wierszu stoi miniatura 110px. */
	padding: 20px 24px;
	border-top: 1px solid var( --stwb-line );
}

/*
 * Pierwsza pozycja nie potrzebuje własnej kreski — oddziela ją już
 * dolna krawędź paska etykiet. Bez tego linie podwajałyby się.
 */
.stwb-cart__items .stwb-cart__item:first-child {
	border-top: 0;
}

.stwb-cart__col-amount {
	text-align: right;
	white-space: nowrap;
}

/* Audyt: większe miniaturki. Reset Hello daje img { max-width: 100% }. */
.stwb-cart__col-thumb img {
	display: block;
	width: 110px;
	max-width: none;
	height: auto;
	border-radius: 4px;
}

.stwb-cart__name {
	display: block;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.25;
	color: var( --stwb-ink );
	text-decoration: none;
}

.stwb-cart__col-product .variation,
.stwb-cart__col-product dl {
	margin: 4px 0 0;
	font-size: 14px;
	color: var( --stwb-text );
}

.stwb-cart__col-product .stwb-qty {
	margin-top: 10px;
}

.stwb-cart__remove {
	display: inline-block;
	font-size: 22px;
	line-height: 1;
	color: var( --stwb-text );
	text-decoration: none;
}

.stwb-cart__remove:hover {
	color: var( --stwb-ink );
}

/* Fallback bez JS — przy działającym stepperze niepotrzebny. */
.stwb-cart__update {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	border: 0;
	padding: 0;
}

/* --- kupon --- */

.stwb-cart__coupon {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	padding: 16px;
	background: var( --stwb-surface );
	border: 1px solid var( --stwb-line );
	border-radius: 8px;
}

.stwb-cart__coupon input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid var( --stwb-line );
	border-radius: 6px;
	padding: 14px 16px;
}

/* Audyt: kupon miał wyższy kontrast niż „Przejdź do kasy”. */
.stwb-btn--outline {
	background: none;
	border-color: var( --stwb-accent );
	color: var( --stwb-ink );
	flex: 0 0 auto;
}

.stwb-btn--outline:hover,
.stwb-btn--outline:focus {
	background: var( --stwb-accent );
	color: var( --e-global-color-secondary, #000 );
}

/* --- ciemny box podsumowania --- */

.stwb-cart__aside {
	position: sticky;
	top: 24px;
}

.stwb-summary {
	/* 24px jak boksy sekcji na checkoucie — ten sam poziom hierarchii. */
	padding: 24px;
	border-radius: 8px;
	background: var( --e-global-color-594e3db, #111 );
	color: var( --e-global-color-d7ce02d, #fff );
}

.stwb-summary__heading {
	margin: 0 0 20px;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-weight: 700;
	font-size: 20px;
}

/* Sumy: <dl> z parami <dt>/<dd>, każda para w swoim <div>. */
.stwb-summary__rows {
	margin: 0;
}

.stwb-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 0;
}

.stwb-summary__rows dt,
.stwb-summary__rows dd {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	color: var( --e-global-color-d7ce02d, #fff );
}

.stwb-summary__rows dd {
	text-align: right;
}

.stwb-summary__row--total {
	padding-top: 12px;
}

.stwb-summary__row--total dt,
.stwb-summary__row--total dd {
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-size: 22px;
	font-weight: 700;
}

.stwb-summary__row--total dd,
.stwb-summary__row--total .amount {
	color: var( --e-global-color-primary, #f7bd01 );
	font-size: 28px;
}

.stwb-summary__tax {
	margin: 2px 0 20px;
	font-size: 13px;
	opacity: 0.65;
}

/* CTA w ciemnym boxie. Flex, nie block — inaczej strzałka w „Przejdź do kasy”
   nie ma się jak ustawić obok tekstu (ta reguła bije .stwb-btn--arrow). */
.stwb-summary__cta .checkout-button,
.stwb-summary__cta .button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 18px 24px;
	border: 0;
	/* Ta reguła bije .stwb-btn (0,2,0 > 0,1,0), więc promień trzeba powtórzyć,
	   inaczej CTA zostaje na starych 4px, gdy reszta przycisków ma 6px. */
	border-radius: 6px;
	background: var( --e-global-color-primary, #f7bd01 );
	color: var( --e-global-color-secondary, #000 );
	font-family: "Barlow", sans-serif;
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
}

.stwb-summary__cta .checkout-button:hover,
.stwb-summary__cta .button:hover {
	background: var( --e-global-color-48a4e19, #e3ac00 );
	color: var( --e-global-color-secondary, #000 );
}

.stwb-summary__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.stwb-summary__logos img {
	max-height: 24px;
	width: auto;
	opacity: 0.9;
}

.stwb-summary__checkpoints {
	margin: 20px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
	list-style: none;
}

.stwb-summary__checkpoints li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.4;
}

.stwb-summary__checkpoints li:last-child {
	margin-bottom: 0;
}

.stwb-summary__checkpoints li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var( --e-global-color-primary, #f7bd01 );
	font-weight: 700;
}

/* --- pusty koszyk --- */

.stwb-cart-empty {
	max-width: 520px;
	margin: 0 auto;
	padding: 48px 24px;
	text-align: center;
}

.stwb-cart-empty__title {
	margin: 0 0 12px;
	font-family: var( --e-global-typography-text-font-family, "Golos Text" ), sans-serif;
	font-size: 32px;
	color: var( --e-global-color-594e3db, #111 );
}

.stwb-cart-empty__text {
	margin: 0 0 24px;
	color: var( --e-global-color-text, #444 );
}

/* --- koszyk: mobile --- */

@media ( max-width: 1024px ) {
	.stwb-cart {
		grid-template-columns: 1fr;
	}

	.stwb-cart__aside {
		position: static;
	}
}

@media ( max-width: 767px ) {
	/* Etykiety kolumn nie mają sensu, gdy pozycja staje się kartą. */
	.stwb-cart__head {
		display: none;
	}

	/*
	 * Karta: miniatura po lewej przez całą wysokość, treść po prawej,
	 * krzyżyk w rogu. Bez przełączania display — to dalej ten sam grid,
	 * tylko z innym układem kolumn.
	 */
	.stwb-cart__item {
		position: relative;
		grid-template-columns: 90px minmax( 0, 1fr );
		align-items: start;
		gap: 4px 14px;
		padding: 16px;
	}

	.stwb-cart__col-thumb {
		grid-row: 1 / span 2;
	}

	.stwb-cart__col-thumb img {
		width: 90px;
	}

	.stwb-cart__col-remove {
		position: absolute;
		top: 12px;
		right: 12px;
	}

	.stwb-cart__col-amount {
		text-align: left;
		font-weight: 600;
		font-size: 18px;
		color: var( --stwb-ink );
	}

	.stwb-cart__coupon {
		flex-direction: column;
	}
}

.stwb-cart.is-busy,
.stwb-cart-empty.is-busy {
	opacity: 0.55;
	pointer-events: none;
}

/* =====================================================================
 * NADPISANIA — tylko to, czego nie da się usunąć
 *
 * woocommerce-layout i woocommerce-smallscreen są wyłączone globalnie,
 * a woocommerce-general nie ładuje się na koszyku (STWB_Assets).
 * Zostaje walka z Global Kitem Elementora, którego wyłączyć nie można,
 * bo trzyma całą resztę strony.
 *
 *   .elementor-kit-7 h2   (0,1,1)   font-size: 44px
 * ===================================================================== */

/*
 * Nagłówki — Kit narzuca h2 rozmiar 44px ORAZ kolor #111.
 * Kolor jest groźniejszy: box podsumowania też jest #111, więc nagłówek
 * znikał jako czarny na czarnym.
 */
.stwb-summary .stwb-summary__heading {
	font-size: 20px;
	line-height: 1.2;
	color: var( --e-global-color-d7ce02d, #fff );
	overflow-wrap: anywhere;
}

.stwb-cart-empty .stwb-cart-empty__title {
	font-size: 32px;
	line-height: 1.15;
}

.stwb-crosssell .stwb-crosssell__heading,
.stwb-modal .stwb-modal__title {
	font-size: 22px;
	line-height: 1.2;
}

/* Modal żyje też na stronach produktu, gdzie woocommerce-general nadal działa. */
.stwb-modal a.remove {
	color: var( --stwb-text ) !important;
}

/* Komunikaty i reset a11y przeniesione do assets/woo-base.css. */

/* --- strzałka w CTA koszyka --- */

.stwb-btn--arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.stwb-btn__arrow {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: currentColor;
	transition: transform 0.15s ease;
}

.stwb-btn--arrow:hover .stwb-btn__arrow,
.stwb-btn--arrow:focus .stwb-btn__arrow {
	transform: translateX( 3px );
}

/* Ruch strzałki to ozdoba — wyłączamy, gdy system prosi o mniej animacji. */
@media ( prefers-reduced-motion: reduce ) {
	.stwb-btn__arrow {
		transition: none;
	}

	.stwb-btn--arrow:hover .stwb-btn__arrow,
	.stwb-btn--arrow:focus .stwb-btn__arrow {
		transform: none;
	}
}

/* --- linki-przyciski --- */

/*
 * To samo `.stwb-btn--dark` dawało biały tekst na <button> i czarny na <a>:
 * w modalu „Zobacz koszyk” było czarne na czarnym tle, a stojące obok
 * „Kontynuuj zakupy” wyglądało poprawnie. Motyw koloruje linki regułą o
 * specyficzności (0,1,1), która bije pojedynczą klasę (0,1,0) — ale tylko
 * tam, gdzie przyciskiem jest <a>.
 *
 * Stąd `a.stwb-btn.stwb-btn--*` (0,2,1): wystarcza, żeby wygrać, i nie zależy
 * od tego, w którym kontekście przycisk stoi (modal, koszyk, podziękowanie).
 */
a.stwb-btn.stwb-btn--primary {
	color: var( --e-global-color-secondary, #000 );
}

a.stwb-btn.stwb-btn--dark {
	color: var( --stwb-surface, #fff );
}

a.stwb-btn.stwb-btn--outline {
	color: var( --stwb-ink, #111 );
}

a.stwb-btn.stwb-btn--primary:hover,
a.stwb-btn.stwb-btn--primary:focus,
a.stwb-btn.stwb-btn--dark:hover,
a.stwb-btn.stwb-btn--dark:focus,
a.stwb-btn.stwb-btn--outline:hover,
a.stwb-btn.stwb-btn--outline:focus {
	color: var( --e-global-color-secondary, #000 );
}

/*
 * Podgląd koszyka z menu: zielony ptaszek potwierdza dodanie produktu,
 * więc przy zwykłym zaglądaniu do koszyka nie ma czego potwierdzać.
 */
.stwb-modal.is-cart-view .stwb-modal__check {
	display: none;
}
