/**
 * Mobilet WooCommerce
 * Warstwa stylów należąca do motywu (domyślny CSS wtyczki WooCommerce jest wyłączony w PHP).
 * Zakres: nagłówek sklepu, archiwum produktów, karta produktu (single), koszyk, checkout.
 */

/* =========================================================
   01. BAZA / NORMALIZACJA
   ========================================================= */

/* padding-top – dopasowany do fixed #header (--header-height z nowymobilet.css, breakpointy 3.5rem/4rem/6.4rem) */
/* font-size: 1rem – zgodność z mobilet.pl: 16px mobile, 18px od 768px (html z nowymobilet.css) */
body.mobilet-woocommerce #content.woocommerce-page {
	padding-top: var(--header-height);
	padding-bottom: 0;
	font-size: 1rem;
}

/* Widżet rat (zewnętrzny skrypt bramki) — czasem ignoruje ustawienia wtyczki przy wysokich kwotach */
body.mobilet-woocommerce .widget-mini {
	display: none !important;
}

body.mobilet-woocommerce .section {
	padding-top: 2.5rem;
}

body.mobilet-woocommerce #content.woocommerce-page ul,
body.mobilet-woocommerce #content.woocommerce-page ol {
	margin: 0;

}

body.mobilet-woocommerce #content.woocommerce-page li {
	margin: 0;
	padding: 0;
}

body.mobilet-woocommerce #content.woocommerce-page li::before {
	display: none;
	content: none;
}

body.mobilet-woocommerce input {
	margin-bottom: 0;
}

body.mobilet-woocommerce a {
	text-decoration: none;
}

body.mobilet-woocommerce a:hover {
	text-decoration: none;
}

body.mobilet-woocommerce img {
	display: block;
	max-width: 100%;
	height: auto;
}

body.mobilet-woocommerce .screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* Nagłówki: równomierne łamanie wielowierszowych tytułów (text-wrap: balance) */
body.mobilet-woocommerce :is(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

/* =========================================================
   01a. REGULAMIN SKLEPU (page-regulamin-sklepu.php, slug regulamin-sklepu)
   Szerokość kolumn jak page-regulamin.php (has-toc + pusty #toc).
   Listy bloków: bez text-indent / „ozdobnych” punktorów .section li z nowymobilet.css
   (globalne wcześniej wyłącza li::before; tu domykamy typografię list).
   ========================================================= */

body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content :is(ul, ol).wp-block-list {
	margin: 0 0 1.1rem;
	padding-left: 1.5rem;
	text-indent: 0;
	list-style-position: outside;
}

body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content ul.wp-block-list {
	list-style-type: disc;
}

body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content ol.wp-block-list {
	list-style-type: decimal;
	padding-left: 1.75rem;
}

body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content .wp-block-list li {
	text-indent: 0;
	margin-left: 0;
	padding-left: 0.35rem;
}

/* Jak akcent punktorów w .section li (nowymobilet) – tylko listy nieuporządkowane */
body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content ul.wp-block-list li::marker {
	color: var(--red);
	font-weight: 600;
}

@media (min-width: 992px) {
	body.mobilet-woocommerce.page-regulamin-sklepu #main-content .entry-content :is(ul, ol).wp-block-list {
		margin-bottom: 1.4rem;
	}
}

/* =========================================================
   01b. STRONA KOSZYKA (pusty koszyk)
   ========================================================= */

/* Ikona pustego koszyka – leniwiec z wózkiem (pod nagłówkiem, ::after zamiast ::before) */
body.mobilet-woocommerce .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	display: none !important;
}

body.mobilet-woocommerce .wc-block-cart__empty-cart__title.with-empty-cart-icon::after {
	content: "";
	display: block;
	height: 10rem;
	width: 10rem;
	margin: 2em auto 0;
	background-color: transparent;
	background-image: url(../images/empty-cart-sloth.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

/* Nagłówek pustego koszyka – karta z paddingiem, radius, białe tło; font-size jak h2 (nadpisuje cart.css font-size: inherit) */
body.mobilet-woocommerce .wc-block-cart__empty-cart__title {
	padding: 1.5rem;
	margin-bottom: 2rem;
	border-radius: var(--radius);
	background: var(--white);
	font-weight: 400;
	color: var(--blue);
	line-height: 1.1;
	letter-spacing: -0.05rem;
}

/* Tabela koszyka – nazwa produktu, miniaturki */
body.mobilet-woocommerce .wc-block-cart-items .wc-block-components-product-name {
	font-size: 1.125rem;
	font-weight: 600;
}

body.mobilet-woocommerce .wc-block-cart-items .wc-block-cart-item__image img {
	border-radius: 0.5rem;
}

/* =========================================================
   02. NAGŁÓWEK SKLEPU
   ========================================================= */

body.mobilet-woocommerce #header.header-store {
	background: var(--white);
	border-bottom: 1px solid var(--lightgray);
}

/* Widok desktopowy (≥992px): logo | linki | koszyk (order nadpisuje DOM: navi, logo, cart-bar) */
@media (min-width: 992px) {
	body.mobilet-woocommerce #header.header-store>div {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	body.mobilet-woocommerce #header.header-store #navi {
		order: 2;
	}

	body.mobilet-woocommerce #header.header-store #logo {
		order: 1;
	}

	body.mobilet-woocommerce #header.header-store .store-header-cart-bar {
		order: 3;
	}
}

body.mobilet-woocommerce #header.header-store .store-header-links a,
body.mobilet-woocommerce #header.header-store .mobilet-cart-trigger {
	color: var(--black);
}

body.mobilet-woocommerce #header .store-header-links {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.mobilet-woocommerce #header .store-header-links li {
	margin: 0;
	padding: 0;
}

body.mobilet-woocommerce #header .store-header-links li::before {
	display: none;
	content: none;
}

/* Tekst jak w serwisie: font-size inherit (16px z body), font-weight 400, brak line-height override */
body.mobilet-woocommerce #header .store-header-links a {
	font-size: inherit;
	font-weight: 400;
	line-height: inherit;
	letter-spacing: inherit;
	color: var(--black);
	text-decoration: none;
	transition: color 0.18s ease;
}

body.mobilet-woocommerce #header .store-header-links a:hover {
	color: var(--black);
}

@media (max-width: 767px) {
	body.mobilet-woocommerce #header .store-header-links {
		gap: 1rem;
	}

	body.mobilet-woocommerce #header .store-header-links a {
		font-size: 1rem;
	}
}

/* =========================================================
   NAGŁÓWEK MOBILNY SKLEPU (≤991px): hamburger | logo | koszyk
   ========================================================= */
@media (max-width: 991px) {
	body.mobilet-woocommerce #header.header-store>div {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		overflow: visible;
	}

	body.mobilet-woocommerce #header.header-store #navi {
		order: 1;
		flex: 0 0 auto;
		min-width: 2.75rem;
	}

	body.mobilet-woocommerce #header.header-store #logo {
		order: 2;
		flex: 1;
		display: flex;
		justify-content: center;
		min-width: 0;
	}

	body.mobilet-woocommerce #header.header-store #logo img {
		height: 0.9rem;
		width: auto;
	}

	body.mobilet-woocommerce #header.header-store .store-header-cart-bar {
		order: 3;
		flex: 0 0 auto;
		flex-shrink: 0;
		position: relative;
		min-width: 2.75rem;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		visibility: visible;
	}

	body.mobilet-woocommerce #header.header-store .store-header-cart-bar .mobilet-cart-trigger {
		display: inline-flex;
		min-height: 2.5rem;
		min-width: 2.5rem;
	}

	/* Logo czarne przy rozwiniętym menu – jak w serwisie */
	body.mobilet-woocommerce.menu-mobile #header.header-store #logo img {
		filter: brightness(0%);
	}

	/* Menu rozwinięte: układ jak w serwisie – belka na górze, menu w kolumnie poniżej */
	body.mobilet-woocommerce.menu-mobile #header.header-store>div {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	/* display: contents – dzieci #navi (menu-icon, main-menu-container) stają się flex-childami #header>div */
	body.mobilet-woocommerce.menu-mobile #header.header-store #navi {
		display: contents;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #menu-icon {
		order: 1;
		flex: 0 0 auto;
		min-width: 2.75rem;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #logo {
		order: 2;
		flex: 1;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store .store-header-cart-bar {
		order: 3;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #main-menu-container {
		order: 4;
		flex: 0 0 100%;
		width: 100%;
		display: block;
		padding: 1rem 0 0 0;
	}

	/* Linki menu w kolumnie – jak w serwisie */
	body.mobilet-woocommerce.menu-mobile #header.header-store #main-menu.store-header-links {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #main-menu.store-header-links li {
		padding: 0.25rem 0;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #main-menu.store-header-links a {
		display: inline-block;
		padding: 0.25rem 2rem 0.25rem 0;
		font-weight: 400;
		font-size: 1.2rem;
		color: var(--black);
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		user-select: none;
	}

	/* CTA Pobierz Mobilet – przycisk jak w serwisie */
	body.mobilet-woocommerce.menu-mobile #header.header-store #buttons-menu.store-mobile-buttons {
		display: inline-flex;
		flex-direction: column;
		padding-top: 1.7rem;
		padding-bottom: 1.3rem;
		margin: 0;
		list-style: none;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #buttons-menu.store-mobile-buttons li {
		margin-bottom: 0.75rem;
		width: 100%;
	}

	body.mobilet-woocommerce.menu-mobile #header.header-store #buttons-menu.store-mobile-buttons li.download a {
		display: block;
		width: 100%;
		padding: 0.75rem 1.25rem;
		border: 1px solid var(--white);
		background-color: var(--black);
		color: var(--white);
		font-weight: 300;
		font-size: 1rem;
		text-transform: uppercase;
		border-radius: calc(0.75 * var(--radius));
		text-align: center;
		white-space: nowrap;
		text-decoration: none;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		user-select: none;
	}
}

/* Ukrycie przycisku Pobierz w belce sklepu na desktopie (≥992px) */
@media (min-width: 992px) {
	body.mobilet-woocommerce #header.header-store #buttons-menu.store-mobile-buttons {
		display: none;
	}
}

/* Mini-koszyk (dropdown) w nagłówku */
body.mobilet-woocommerce .mobilet-header-cart {
	position: relative;
}

body.mobilet-woocommerce .store-header-cart-bar {
	position: relative;
}

body.mobilet-woocommerce .mobilet-cart-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0.375rem;
	color: var(--black);
	text-decoration: none;
	transition: filter 0.18s ease;
}

body.mobilet-woocommerce .mobilet-cart-trigger:hover {
	text-decoration: none;
}

body.mobilet-woocommerce #main-menu>li.mobilet-header-cart>a.mobilet-cart-trigger::after,
body.mobilet-woocommerce #main-menu>li.mobilet-header-cart>a.mobilet-cart-trigger:hover::after {
	display: none;
}

body.mobilet-woocommerce .mobilet-cart-trigger:hover .mobilet-cart-icon {
	filter: brightness(0.55);
}

body.mobilet-woocommerce .mobilet-cart-icon {
	width: 1.5rem;
	height: 1.4rem;
	transition: filter 0.18s ease;
}

body.mobilet-woocommerce .mobilet-cart-badge {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	min-width: 1.125rem;
	height: 1.125rem;
	padding: 0 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--red);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1;
	border-radius: 50%;
}

body.mobilet-woocommerce .mobilet-cart-badge--empty {
	display: none;
}

body.mobilet-woocommerce .mobilet-mini-cart-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.5rem;
	min-width: 18rem;
	max-width: 22rem;
	max-height: 24rem;
	overflow-y: auto;
	background: var(--white);
	border: 1px solid var(--lightgray);
	border-radius: 0.75rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.5rem);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	z-index: 100;
	display: flex;
	flex-direction: column;
}

body.mobilet-woocommerce .mobilet-mini-cart-dropdown .mobilet-mini-cart__total {
	order: 1;
}

body.mobilet-woocommerce .mobilet-mini-cart-dropdown .mobilet-mini-cart__buttons {
	order: 2;
}

body.mobilet-woocommerce .mobilet-mini-cart-dropdown .mobilet-mini-cart__list {
	order: 3;
}

body.mobilet-woocommerce .mobilet-mini-cart-dropdown--open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

body.mobilet-woocommerce .mobilet-mini-cart__empty {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	color: var(--gray);
}

body.mobilet-woocommerce .mobilet-mini-cart__list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

body.mobilet-woocommerce .mobilet-mini-cart__item {
	margin: 0 0 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--lightgray);
}

body.mobilet-woocommerce .mobilet-mini-cart__item:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

body.mobilet-woocommerce .mobilet-mini-cart__item-link {
	display: flex;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--black);
}

body.mobilet-woocommerce .mobilet-mini-cart__item-link:hover {
	color: var(--darkblue);
}

body.mobilet-woocommerce .mobilet-mini-cart__item-thumb {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
}

body.mobilet-woocommerce .mobilet-mini-cart__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0.375rem;
}

body.mobilet-woocommerce .mobilet-mini-cart__item-details {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

body.mobilet-woocommerce .mobilet-mini-cart__item-name {
	font-size: 0.875rem;
	font-weight: 500;
}

body.mobilet-woocommerce .mobilet-mini-cart__item-qty {
	font-size: 0.8125rem;
	color: var(--gray);
}

body.mobilet-woocommerce .mobilet-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--lightgray);
}

body.mobilet-woocommerce .mobilet-mini-cart__total {
	margin: 0 0 1rem;
	padding: 0 0 1rem;
	border: none;
	border-bottom: 1px solid var(--lightgray);
	font-size: 1rem;
}

/* Przyciski mini-koszyka — wyższa specyficzność niż linki w .store-header-links */
body.mobilet-woocommerce #header.header-store .mobilet-mini-cart-dropdown .mobilet-mini-cart__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0.75rem 1rem;
	font-size: 0.875rem !important;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0.03rem;
	word-spacing: 0.15rem;
	border-radius: var(--radius);
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

body.mobilet-woocommerce #header.header-store .mobilet-mini-cart-dropdown .mobilet-mini-cart__btn--primary {
	background: var(--blue);
	color: var(--white) !important;
	border: 1px solid var(--blue);
}

body.mobilet-woocommerce #header.header-store .mobilet-mini-cart-dropdown .mobilet-mini-cart__btn--primary:hover {
	background: var(--darkblue);
	color: var(--white) !important;
	border-color: var(--darkblue);
}

body.mobilet-woocommerce #header.header-store .mobilet-mini-cart-dropdown .mobilet-mini-cart__btn--secondary {
	background: var(--white);
	color: var(--blue) !important;
	border: 1px solid var(--blue);
}

body.mobilet-woocommerce #header.header-store .mobilet-mini-cart-dropdown .mobilet-mini-cart__btn--secondary:hover {
	background: var(--darkblue);
	color: var(--white) !important;
	border-color: var(--darkblue);
}

@media (max-width: 767px) {
	body.mobilet-woocommerce .mobilet-mini-cart-dropdown {
		min-width: 16rem;
		max-width: calc(100vw - 2rem);
	}
}

/* Ukrycie domyślnego linku „Zobacz koszyk” pod przyciskiem */
body.mobilet-woocommerce ul.products li.product .added_to_cart {
	display: none;
}

/* Toast (powiadomienie) — pasek po dodaniu do koszyka, wysuwa się od dołu ekranu */
.mobilet-toast {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 1rem 1.5rem;
	padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	background: var(--darkgreen);
	color: #fff;
	box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(100%);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.mobilet-toast--visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Na single product ukryj równoległy toast motywu — używany jest komunikat WooCommerce */
body.single-product.mobilet-woocommerce .mobilet-toast {
	display: none;
}

.mobilet-toast__text {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
}

.mobilet-toast__actions {
	display: flex;
	gap: 0.75rem;
}

.mobilet-toast__btn {
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.mobilet-toast__btn--primary {
	background: var(--white);
	color: var(--darkgreen);
}

.mobilet-toast__btn--primary:hover {
	background: var(--light);
	color: var(--darkgreen);
}

.mobilet-toast__btn--secondary {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.mobilet-toast__btn--secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* =========================================================
   02b. HERO SKLEPU (główna strona sklepu)
   ========================================================= */

body.mobilet-woocommerce .image-header.shop-hero {
	overflow: hidden;
	position: relative;
	height: 350px;
	min-height: 350px;
}

body.mobilet-woocommerce .image-header.shop-hero .section {
	position: absolute;
	display: block;
	min-height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
}

body.mobilet-woocommerce .image-header.shop-hero * {
	color: var(--white);
}

body.mobilet-woocommerce .image-header.shop-hero h1,
body.mobilet-woocommerce .image-header.shop-hero .shop-hero-subline {
	margin: 0;
	color: var(--white);
}

body.mobilet-woocommerce .image-header.shop-hero .shop-hero-subline {
	margin-top: 0.75rem;
	font-size: 1.25rem;
	line-height: 1.4;
	font-weight: 300;
	text-wrap: balance;
}

/* Zdjęcie wypełnia image-header (jak w mobilet.pl) */
body.mobilet-woocommerce .image-header.shop-hero img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 1.5s ease;
}

/* Tylko mobile: lekki overlay pod tekstem (lepszy kontrast na jaśniejszej części zdjęcia) */
@media (max-width: 575px) {
	body.mobilet-woocommerce .image-header.shop-hero:has(> img)::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(0, 0, 0, 0.3);
		pointer-events: none;
	}
}

/* Powiększenie przy najechaniu (jak w mobilet.pl) */
body.mobilet-woocommerce .image-header.shop-hero:hover img {
	transition: transform 5s ease;
	transform: scale(1.3);
}

/* Wysokość 500px */
@media (min-width: 576px) {
	body.mobilet-woocommerce .image-header.shop-hero {
		height: 500px;
		min-height: 500px;
	}
}

@media (min-width: 992px) {
	body.mobilet-woocommerce .image-header.shop-hero {
		height: 500px;
		min-height: 500px;
	}
}

@media (min-width: 1400px) {
	body.mobilet-woocommerce .image-header.shop-hero {
		height: 500px;
		min-height: 500px;
	}
}

/* Mobile — wysokość 350px jak mobilet.pl */

/* Gdy brak zdjęcia – ciemne tło dla białego tekstu */
body.mobilet-woocommerce .shop-hero.back-img {
	background-color: var(--darkblue, #1a365d);
}

/* =========================================================
   02c. BANNER STOPKI SKLEPU (przed stopką, na stronach WooCommerce)
   Tło: pierwszy <img> — themes/.../images/footer-jungle.jpg (PHP).
   ========================================================= */

body.mobilet-woocommerce .image-header.shop-footer-banner {
	overflow: hidden;
	position: relative;
	height: 350px;
	min-height: 350px;
}

body.mobilet-woocommerce .image-header.shop-footer-banner .section {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	width: 100%;
}

body.mobilet-woocommerce .image-header.shop-footer-banner .section .wrapper {
	width: 100%;
	text-align: center;
}

body.mobilet-woocommerce .shop-footer-banner-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

/* Maskotka (footer-sloth.svg): nadpisanie .image-header img z nowymobilet.css (height:100%, width:auto) */
body.mobilet-woocommerce .image-header.shop-footer-banner .shop-footer-banner-mascot {
	display: block;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	width: 80px !important;
	max-width: 100%;
	height: auto !important;
	object-fit: contain;
	object-position: center center;
	margin: 0 0 1.5rem;
	transition: none;
}

@media (min-width: 992px) {
	body.mobilet-woocommerce .image-header.shop-footer-banner .shop-footer-banner-mascot {
		width: 150px !important;
		margin-bottom: 1.5rem;
	}
}

/* Tło banerowe: wyłącznie pierwszy <img> (featured shop) — NIE .shop-footer-banner-mascot wewnątrz .section */
body.mobilet-woocommerce .image-header.shop-footer-banner > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.5);
}

body.mobilet-woocommerce .image-header.shop-footer-banner:hover > img {
	transform: none;
}

/* Zoom hover z nowymobilet (.image-header:hover img) — nie dotyczy maskotki */
body.mobilet-woocommerce .image-header.shop-footer-banner:hover .shop-footer-banner-mascot {
	transform: none !important;
}

body.mobilet-woocommerce .shop-footer-banner-link {
	color: var(--white);
	text-decoration: none;
	font-size: 1.25rem;
	display: inline-block;
	margin: 0;
	text-align: center;
}

body.mobilet-woocommerce .shop-footer-banner-link:hover {
	text-decoration: underline;
	color: var(--white);
}

/* =========================================================
   03. NAGŁÓWEK STRONY / INTRO
   ========================================================= */

body.mobilet-woocommerce .woocommerce-page-header {
	margin-bottom: 1.75rem;
}

body.mobilet-woocommerce .woocommerce-page-header h1 {
	margin: 0;
	font-size: 3rem;
	line-height: 1.04;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--black);
}

body.mobilet-woocommerce .page-description {
	max-width: 85ch;
	margin: 0 auto 4rem auto;
	text-align: left;
}

/* Strona sklepu (archiwum główne): intro .page-description nachodzi na hero — tylko desktop */
@media (min-width: 992px) {
	body.mobilet-woocommerce.woocommerce-shop #main-content .page-description {
		background: var(--white);
		color: var(--gray);
		padding: 2rem 3rem 1.7rem 3rem;
		border-radius: calc(var(--radius) * 2);
		margin: -12rem auto 4rem auto;
		box-shadow: 0 12px 30px -12px var(--transgray), 0 2px 8px -4px var(--transgray);
		position: relative;
		z-index: 1;
		text-align: center;
	}
	body.mobilet-woocommerce.woocommerce-shop #main-content .page-description * {
		color: inherit;
	}
}

body.mobilet-woocommerce .page-description h2 {
	margin: 0 0 1.125rem;
	font-size: 2rem;
	line-height: 1.15;
	font-weight: 300;
	letter-spacing: -0.03em;
	color: var(--blue);
}

body.mobilet-woocommerce .page-description p {
	margin: 0 0 0.625rem;
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 300;
	color: var(--black);
}

/* Nadpisanie wyrównania bloków Gutenberga – zawsze do lewej */
body.mobilet-woocommerce .page-description [class*="has-text-align-center"],
body.mobilet-woocommerce .page-description [class*="has-text-align-right"] {
	text-align: left !important;
}

@media (max-width: 991px) {
	body.mobilet-woocommerce .woocommerce-page-header h1 {
		font-size: 2.375rem;
	}

	body.mobilet-woocommerce .page-description h2 {
		font-size: 1.75rem;
	}

}

/* =========================================================
   04. WSPÓLNE PRZYCISKI + KOMUNIKATY
   ========================================================= */

body.mobilet-woocommerce a.button,
body.mobilet-woocommerce button.button,
body.mobilet-woocommerce input.button,
body.mobilet-woocommerce .button,
body.mobilet-woocommerce .single_add_to_cart_button,
body.mobilet-woocommerce a.checkout-button,
body.mobilet-woocommerce #place_order,
body.mobilet-woocommerce .wc-block-cart__submit-button,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--blue);
	border-radius: 0.5rem;
	background: var(--blue);
	color: var(--white);
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.mobilet-woocommerce .wc-block-cart__submit-button .wc-block-components-button__text,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button .wc-block-components-button__text {
	color: var(--white);
}

body.mobilet-woocommerce a.button:hover,
body.mobilet-woocommerce button.button:hover,
body.mobilet-woocommerce input.button:hover,
body.mobilet-woocommerce .button:hover,
body.mobilet-woocommerce .single_add_to_cart_button:hover,
body.mobilet-woocommerce a.checkout-button:hover,
body.mobilet-woocommerce #place_order:hover,
body.mobilet-woocommerce .wc-block-cart__submit-button:hover,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button:hover {
	background: var(--darkblue);
	border-color: var(--darkblue);
	color: var(--white);
	transform: translateY(-1px);
}

body.mobilet-woocommerce .wc-block-cart__submit-button:hover .wc-block-components-button__text,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button:hover .wc-block-components-button__text {
	color: var(--white);
}

/*
 * nowymobilet.css: * { color: var(--black) } ustawia kolor na każdym elemencie — potomkowie
 * przycisków (np. span w blokach WC) dostają czarny zamiast dziedziczyć z rodzica.
 * Na urządzeniach dotykowych przy :active przeglądarki potrafią to jeszcze uwypuklić.
 */
body.mobilet-woocommerce a.button *,
body.mobilet-woocommerce button.button *,
body.mobilet-woocommerce input.button *,
body.mobilet-woocommerce .single_add_to_cart_button *,
body.mobilet-woocommerce a.checkout-button *,
body.mobilet-woocommerce #place_order *,
body.mobilet-woocommerce .wc-block-cart__submit-button *,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button * {
	color: inherit;
}

body.mobilet-woocommerce a.button:active,
body.mobilet-woocommerce a.button:focus,
body.mobilet-woocommerce button.button:active,
body.mobilet-woocommerce button.button:focus,
body.mobilet-woocommerce input.button:active,
body.mobilet-woocommerce input.button:focus,
body.mobilet-woocommerce .single_add_to_cart_button:active,
body.mobilet-woocommerce .single_add_to_cart_button:focus,
body.mobilet-woocommerce a.checkout-button:active,
body.mobilet-woocommerce a.checkout-button:focus,
body.mobilet-woocommerce #place_order:active,
body.mobilet-woocommerce #place_order:focus,
body.mobilet-woocommerce .wc-block-cart__submit-button:active,
body.mobilet-woocommerce .wc-block-cart__submit-button:focus,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button:active,
body.mobilet-woocommerce .wc-block-checkout__actions .wc-block-components-button:focus {
	color: var(--white);
}

body.mobilet-woocommerce .woocommerce-message .button:active,
body.mobilet-woocommerce .woocommerce-message .button:focus {
	color: var(--darkgreen);
}

/* --- Blokowy koszyk i checkout: max. szerokość kolumn + sticky sidebar (poniżej) --- */

/* Koszyk i checkout: max. szerokość layoutu na desktopie (czytelność pól) */
/* Breakpoint 992px — spójny z motywem (nowymobilet.css: large devices, wrapper 980px+) */
@media (min-width: 992px) {
	body.mobilet-woocommerce .wc-block-checkout .wc-block-components-sidebar-layout,
	body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout,
	body.mobilet-woocommerce .wc-block-cart .wc-block-components-sidebar-layout,
	body.mobilet-woocommerce .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Sticky sidebar — offset pod fixed header (--header-height z nowymobilet.css: 3.5rem/4rem/6.4rem) */
/* Checkout: podsumowanie zamówienia | Koszyk: podsumowanie z cenami */
@media (min-width: 700px) {
	body.mobilet-woocommerce .wc-block-checkout .wc-block-checkout__sidebar,
	body.mobilet-woocommerce .wc-block-cart .wc-block-cart__sidebar,
	body.mobilet-woocommerce .wc-block-cart .wc-block-components-sidebar {
		top: calc(var(--header-height) + 0.5rem) !important;
	}
}

/* =========================================================
   CHECKOUT: REFAKTOR FORMULARZA
   ========================================================= */

/* Ukryj powiadomienie „Składasz zamówienie jako gość" */
body.mobilet-woocommerce #wc-guest-checkout-notice {
	display: none !important;
}

/* B2C + Paczkomat: ukryj blok adresu rozliczeniowego i checkbox „Użyj tego samego adresu” */
body.mobilet-woocommerce .wc-block-checkout__use-address-for-billing,
body.mobilet-woocommerce #billing-fields,
body.mobilet-woocommerce .wp-block-woocommerce-checkout-billing-address-block {
	display: none !important;
}

/* Ukryj tylko nagłówek „Dane do wysyłki" – dane kontaktowe i adresowe mają jeden wspólny nagłówek „Dane kontaktowe i do wysyłki InPost" */
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-checkout-step__heading-container {
	display: none !important;
}

/* Blok kontaktowy – zeruj margin-bottom (unikalny: wp-block-woocommerce-checkout-contact-information-block) */
body.mobilet-woocommerce .wc-block-checkout__contact-fields.wp-block-woocommerce-checkout-contact-information-block {
	margin-bottom: 0;
}
body.mobilet-woocommerce .wc-block-checkout #contact {
	margin-bottom: 0 !important;
}

/* 1. Ujednolicenie odstępu między nagłówkiem h2 a polami formularza */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-step__content {
	margin-top: 0.75rem;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-step__content > .wc-block-components-notices {
	margin-bottom: 0.75rem;
}

/* Wysyłka: usuń nadmiarowy odstęp z address-card-wrapper / address-form-wrapper */
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-address-wrapper {
	margin-top: 0;
}

body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form-wrapper {
	margin-top: 0;
}

body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form {
	margin-top: 0;
}

/* Pole shipping-phone: prefiks +48 (wstrzyknięty przez JS), padding, label przesunięta */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__phone {
	position: relative;
}
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__phone .mobilet-phone-prefix {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	font-size: 16px;
	line-height: inherit;
	color: inherit;
	z-index: 1;
}
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__phone input {
	padding-left: 3rem !important;
}
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__phone label {
	left: 3rem !important;
}

/* 2a. Przycisk Kupuję i płacę: disabled + grayscale/contrast gdy checkbox regulaminu niezaznaczony */

body.mobilet-woocommerce .wc-block-components-checkout-place-order-button.terms-not-accepted {
	filter: grayscale(100%) contrast(0.2) brightness(1.7);
	cursor: not-allowed;
	pointer-events: none;

}

/* 2. Checkbox: kwadrat – nadpisanie nowymobilet.css (input width:100%, padding) oraz pseudo-elementów */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox label,
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox label {
	position: relative;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox__input,
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox input[type="checkbox"],
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox__input,
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox input[type="checkbox"] {
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	max-width: 1.25rem !important;
	max-height: 1.25rem !important;
	aspect-ratio: 1 / 1 !important;
	flex: 0 0 1.25rem !important;
	flex-shrink: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* Pseudo-elementy – wymuszenie kwadratu (WooCommerce używa ::before/::after) */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox__input::before,
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox__input::after,
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox__input::before,
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox__input::after {
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	max-width: 1.25rem !important;
	max-height: 1.25rem !important;
	aspect-ratio: 1 / 1 !important;
	box-sizing: border-box !important;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkbox__mark,
body.mobilet-woocommerce .wp-block-woocommerce-checkout .wc-block-components-checkbox__mark {
	width: 0.75rem !important;
	height: 0.75rem !important;
	position: absolute !important;
	left: 0.25rem !important;
	top: 0.25rem !important;
	margin: 0 !important;
}

/* 3. Radio: proporcje 1:1 – nadpisanie globalnych stylów input */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-radio-control__input {
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	max-width: 1.25rem !important;
	max-height: 1.25rem !important;
	aspect-ratio: 1 / 1 !important;
	flex: 0 0 1.25rem !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* 4. Przycisk Kupuję i płacę: biały napis, padding tylko na button */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-place-order-button,
body.mobilet-woocommerce .wc-block-checkout .wc-block-checkout__actions .wc-block-components-button.wc-block-components-checkout-place-order-button {
	color: var(--white) !important;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
	color: var(--white) !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-checkout__actions .wc-block-components-button .wc-block-components-button__text,
body.mobilet-woocommerce .wc-block-checkout .wc-block-checkout__actions .wc-block-components-button .wc-block-components-checkout-place-order-button__text {
	color: var(--white) !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* 5. Link Wróć do koszyka: jak przycisk, białe tło, czarny napis, strzałka */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.75rem 1.5rem !important;
	border: 1px solid var(--blue);
	border-radius: 0.5rem;
	background: var(--white) !important;
	color: var(--black) !important;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 500;
	text-decoration: none !important;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-return-to-cart-button:hover {
	background: var(--light) !important;
	border-color: var(--blue);
	color: var(--black) !important;
	transform: translateY(-1px);
}

body.mobilet-woocommerce .wc-block-checkout .wc-block-components-checkout-return-to-cart-button svg {
	position: static !important;
	left: auto !important;
	transform: none !important;
	fill: currentColor;
	flex-shrink: 0;
}

/* Checkout: ukryj pole kraju (PL) oraz pole firmy — Paczkomat InPost */
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-country-input,
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__country,
body.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__company {
	display: none !important;
}

/* Pola adresu — domyślnie ukryte (Paczkomat). Przy przesyłce listowej: klasa body + reguły niżej. */
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_1,
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_2-toggle,
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_2-hidden-input,
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__city,
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__state,
body.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__postcode {
	display: none;
}

/* Przesyłka listowa: widoczne pola + layout (klasa body — przeżywa re-render Reacta; nie inline JS) */
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_1,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__city,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__postcode {
	display: block !important;
}

body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout .wc-block-components-address-form__company {
	display: block !important;
}

/* Ukryte zawsze przy liście: kraj, województwo, linia adresu 2 */
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__country,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-country-input,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__state,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_2-toggle,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields .wc-block-components-address-form__address_2-hidden-input {
	display: none !important;
}

/* Układ flex: miasto i kod obok siebie */
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: flex-start;
}

body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__first_name,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__last_name {
	flex: 1 1 calc(50% - 0.5rem);
	max-width: calc(50% - 0.5rem);
	min-width: 0;
	box-sizing: border-box;
}

body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__phone,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__company,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__address_1 {
	flex: 1 1 100%;
	min-width: 0;
}

body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__city,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout #shipping-fields #shipping > .wc-block-components-address-form__postcode {
	flex: 1 1 calc(50% - 0.5rem);
	max-width: calc(50% - 0.5rem);
	min-width: 0;
	box-sizing: border-box;
}

body.mobilet-woocommerce .woocommerce-message,
body.mobilet-woocommerce .woocommerce-info,
body.mobilet-woocommerce .woocommerce-error {
	margin-bottom: 1.75rem;
	padding: 1rem 1.125rem;
	border-radius: 0.75rem;
	border-left: 4px solid;
}

body.mobilet-woocommerce .woocommerce-message {
	background: var(--darkgreen);
	border-color: var(--darkgreen);
	color: #fff;
}

body.mobilet-woocommerce .woocommerce-message a {
	color: #fff;
}

body.mobilet-woocommerce .woocommerce-message .button {
	margin-left: 1rem;
	background: #fff;
	color: var(--darkgreen);
	border: none;
}

body.mobilet-woocommerce .woocommerce-message .button:hover {
	background: var(--light);
	color: var(--darkgreen);
}

/* Single product: komunikat sukcesu (woocommerce-message) — fixed u dołu jak toast */
body.single-product.mobilet-woocommerce .woocommerce-message {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.5rem;
	padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	border-left: none;
	border-radius: 0;
	box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.15);
	animation: mobilet-toast-slide-up 0.25s ease;
	font-size: 1rem;
	font-weight: 400;
}

body.single-product.mobilet-woocommerce .woocommerce-message .button {
	margin: 0;
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 0.5rem;
}

@keyframes mobilet-toast-slide-up {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

body.mobilet-woocommerce .woocommerce-info {
	background: var(--offwhiteblue);
	border-color: var(--blue);
	color: var(--darkblue);
}

body.mobilet-woocommerce .woocommerce-error {
	background: #ffebee;
	border-color: var(--red);
	color: var(--darkred);
}

/* Single product: błąd — ten sam układ co komunikat sukcesu (fixed u dołu), czerwone tło */
body.single-product.mobilet-woocommerce .woocommerce-error {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.5rem;
	padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
	border-left: none;
	border-radius: 0;
	box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.15);
	animation: mobilet-toast-slide-up 0.25s ease;
	font-size: 1rem;
	font-weight: 400;
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

body.single-product.mobilet-woocommerce .woocommerce-error a {
	color: var(--white);
}

body.single-product.mobilet-woocommerce .woocommerce-error .button {
	margin: 0;
	padding: 0.5rem 1rem;
	font-size: 0.9375rem;
	font-weight: 500;
	border-radius: 0.5rem;
}

/* =========================================================
   05. ARCHIWUM SKLEPU (lista produktów)
   ========================================================= */

body.mobilet-woocommerce #content.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.75rem;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* 2 kolumny: od 480px – karty czytelne jeszcze w 2 kolumnach */
@media (min-width: 480px) {

	body.mobilet-woocommerce #content.woocommerce-page ul.products.columns-2,
	body.mobilet-woocommerce #content.woocommerce-page ul.products.columns-3,
	body.mobilet-woocommerce #content.woocommerce-page ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 4 kolumny: od 992px (l – desktop, zgodnie z breakpointem mobilet.pl) */
@media (min-width: 992px) {
	body.mobilet-woocommerce #content.woocommerce-page ul.products.columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.mobilet-woocommerce #content.woocommerce-page ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-left: 0;
	text-indent: 0;
	background: var(--light);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow:
		0 12px 30px -12px var(--transgray),
		0 2px 8px -4px var(--transgray);
	min-height: 100%;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product:hover {
	transform: translateY(-4px) scale(1.02);
	transform: translateY(-4px);
	box-shadow:
		0 22px 50px -18px var(--shadow),
		0 10px 24px -12px var(--shadow);
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	color: var(--black);
	text-decoration: none;
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:hover {
	color: var(--black);
}

/*
 * Cała karta = jeden <a>. Na telefonie WebKit/Android przy dotyku :active/:focus
 * potrafią nadpisać kolor tekstu domyślnym kolorem linku — wymuszamy te same kolory co normalnie.
 */
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:active,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:focus,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:active,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:focus {
	color: var(--black);
	-webkit-tap-highlight-color: transparent;
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:active .woocommerce-loop-product__title,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:focus .woocommerce-loop-product__title,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:active .woocommerce-loop-product__title,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:focus .woocommerce-loop-product__title {
	color: var(--gray);
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:active .price,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:focus .price,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:active .price *,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link:focus .price *,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:active .price,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:focus .price,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:active .price *,
body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-loop-product__link:focus .price * {
	color: var(--black);
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
	width: calc(100% + 3rem);
	max-width: none;
	/* nadpisuje globalne max-width: 100%, aby obrazek sięgał do krawędzi karty */
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
	background: var(--light);
	border-radius: 0.75rem 0.75rem 0 0;
	padding: 0;
	margin: -1.5rem -1.5rem 1.125rem -1.5rem;
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 0.625rem;
	padding: 0;
	text-indent: 0;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 600;
	color: var(--gray);
	min-height: 2.4em;
	overflow-wrap: break-word;
	text-wrap: balance;
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product .price {
	display: block;
	margin: 0 0 0.875rem;
	padding: 0;
	text-indent: 0;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 500;
	color: var(--black);
}

body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.button {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	width: 100% !important;
	min-width: 0;
	min-height: 2.75rem;
	margin-top: auto;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0.625rem 1rem;
	font-size: 0.9375rem;
	border-radius: 0.5rem;
	align-self: stretch;
}

@media (max-width: 767px) {
	body.mobilet-woocommerce #content.woocommerce-page ul.products {
		gap: 1.5rem;
	}

	body.mobilet-woocommerce #content.woocommerce-page ul.products li.product {
		padding: 1rem;
	}

	body.mobilet-woocommerce #content.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img {
		margin: -1rem -1rem 1.125rem -1rem;
		width: calc(100% + 2rem);
		border-radius: 0.75rem 0.75rem 0 0;
	}

	body.mobilet-woocommerce #content.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.25rem;
	}

	body.mobilet-woocommerce #content.woocommerce-page ul.products li.product .price {
		font-size: 1rem;
	}
}

/* =========================================================
   MOBILET WOO — DOPRACOWANIE (karta produktu + mobile)
   ========================================================= */

/* ---------- Karta produktu: układ i dopieszczenie ---------- */

body.single-product.mobilet-woocommerce div.product {
	display: block;
}

/* Kolumna obok long description – ukryta na mobile */
body.single-product.mobilet-woocommerce .woocommerce-product-details__sidebar-column {
	display: none;
}

@media (min-width: 992px) {
	body.single-product.mobilet-woocommerce div.product {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
		gap: 2.5rem;
		align-items: start;
	}

	/* Long description – ta sama szerokość co galeria (kolumna 1) */
	body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description {
		grid-column: 1 / 2;
	}

	/* Kolumna obok long description – tylko desktop */
	body.single-product.mobilet-woocommerce .woocommerce-product-details__sidebar-column {
		display: flex;
		justify-content: center;
		align-items: center;
		grid-column: 2;
		grid-row: 2;
		align-self: stretch;
		width: 100%;
		margin-top: 1.5rem;
		box-sizing: border-box;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-details__sidebar-column-img {
		height: 60%;
		width: auto;
		max-width: 100%;
		object-fit: contain;
	}
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery {
	padding: 0;
	background: transparent;
	border-radius: 0;
}

/* Galeria – miniatury pionowo po lewej (desktop), poziomo na dole (mobile) */
@media (min-width: 992px) {
	body.single-product.mobilet-woocommerce .woocommerce-product-gallery {
		display: flex;
		flex-direction: row;
		gap: 1rem;
		align-items: flex-start;
		max-width: calc(680px + 4.5rem + 1rem);
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs {
		order: -1;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		width: 4.5rem;
		min-width: 4.5rem;
		margin: 0;
		padding: 0;
		list-style: none;
		flex-shrink: 0;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li {
		margin: 0;
		padding: 0;
		width: 100%;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li img {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
		object-fit: cover;
		border-radius: 0.5rem;
		border: 2px solid transparent;
		cursor: pointer;
		opacity: 0.6;
		transition: opacity 0.18s ease, border-color 0.18s ease;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li img:hover,
	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li.flex-active img {
		opacity: 1;
		border-color: var(--blue);
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport {
		flex: 1;
		min-width: 0;
		width: auto !important;
		height: auto !important;
		max-height: none !important;
		aspect-ratio: 1 / 1;
		overflow: hidden;
		border-radius: 0.75rem;
	}
}

@media (max-width: 991px) {
	body.single-product.mobilet-woocommerce .woocommerce-product-gallery {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 3rem;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs {
		order: 1;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.5rem;
		width: 100%;
		margin: 0;
		padding: 0;
		list-style: none;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	/* 5+ thumbnails: wrap into rows; row gap = column gap (0.5rem) */
	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs:has(li:nth-child(5)) {
		flex-wrap: wrap;
		overflow-x: visible;
		overflow-y: visible;
		-webkit-overflow-scrolling: auto;
		align-content: flex-start;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li {
		margin: 0;
		padding: 0;
		flex-shrink: 0;
		width: 4.5rem;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li img {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
		object-fit: cover;
		border-radius: 0.5rem;
		border: 2px solid transparent;
		cursor: pointer;
		opacity: 0.6;
		transition: opacity 0.18s ease, border-color 0.18s ease;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li img:hover,
	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-control-thumbs li.flex-active img {
		opacity: 1;
		border-color: var(--blue);
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport {
		order: 0;
	}
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	width: 100% !important;
	transform: none !important;
	left: 0 !important;
	transition: none !important;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
	width: 100% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide {
	position: relative !important;
	opacity: 1;
	pointer-events: auto;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery .flex-viewport img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain;
	border-radius: 0;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 0.75rem;
}

body.single-product.mobilet-woocommerce .summary {
	padding-top: 0;
}

body.single-product.mobilet-woocommerce .product_title {
	margin: 0 0 1.125rem;
	font-size: 2.5rem;
	line-height: 1.02;
	font-weight: 600;
	color: var(--gray);
	max-width: 18ch;
}

body.single-product.mobilet-woocommerce .price {
	margin: 0 0 1.125rem;
	font-size: 2rem;
	line-height: 1.1;
	font-weight: 400;
	color: var(--black);
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__short-description {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 300;
	color: var(--gray);
	max-width: 50ch;
}

body.single-product.mobilet-woocommerce #content .woocommerce-product-details__short-description ul {
	list-style: none;
	margin-bottom: 1.1rem;
}

body.single-product.mobilet-woocommerce #content .woocommerce-product-details__short-description li {
	margin-left: 1.5rem;
	text-indent: -0.75rem;
	line-height: 1.3;
}

body.single-product.mobilet-woocommerce #content .woocommerce-product-details__short-description li::before {
	font-weight: 600;
	font-size: 2rem;
	padding-right: .75rem;
	display: inline-block;
	content: "\02022";
	position: relative;
	top: 0.25rem;
	color: var(--red);
}

/* Stock status – kolorowe labele */
body.mobilet-woocommerce .stock {
	display: inline-block;
	margin: 0 0.5rem 1rem 0;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
}

body.mobilet-woocommerce .stock.in-stock {
	background: var(--darkgreen);
	color: var(--white);
}

body.mobilet-woocommerce .mobilet-max-qty-badge {
	display: inline-block;
	margin: 0 0.5rem 1rem 0;
	padding: 0.375rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.3;
	background: var(--white);
	color: var(--black);
}

/* --yellow zdefiniowana w nowymobilet.css */
body.mobilet-woocommerce .mobilet-max-qty-badge--yellow {
	background: var(--yellow);
	color: var(--black);
}

body.mobilet-woocommerce .mobilet-max-qty-badge--yellow .woocommerce-Price-amount {
	color: inherit;
}

body.mobilet-woocommerce .stock.out-of-stock {
	background: var(--red);
	color: var(--white);
}

body.mobilet-woocommerce .stock.available-on-backorder {
	background: var(--yellow);
	color: var(--black);
}

body.single-product.mobilet-woocommerce form.cart {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 0;
	background: transparent;
	border: 0;
}

@media (max-width: 991px) {
	body.single-product.mobilet-woocommerce form.cart {
		flex-wrap: wrap;
	}

	body.single-product.mobilet-woocommerce .single_add_to_cart_button {
		width: 100%;
		min-width: 0;
	}
}

body.single-product.mobilet-woocommerce .quantity {
	margin: 0;
}

body.single-product.mobilet-woocommerce .quantity input.qty {
	width: 3.625rem;
	min-height: 2.75rem;
	padding: 0.625rem 0.5rem;
	border: 1px solid var(--lightblue);
	border-radius: 0.5rem;
	background: var(--white);
	font-size: 0.9375rem;
	text-align: center;
}

body.single-product.mobilet-woocommerce .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-width: 12.5rem;
	min-height: 2.75rem;
	padding: 0.625rem 1.125rem;
	font-size: 0.9375rem;
	border-radius: 0.5rem;
}

/* ---------- Długi opis: czytelny blok „editorial” ---------- */

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description {
	margin-top: 1.5rem;
	padding: 1.5rem;
	background: var(--white);
	border-radius: var(--radius);
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description h2 {
	margin: 0 0 1.125rem;
	font-size: 2rem;
	line-height: 1.08;
	font-weight: 300;
	color: var(--blue);
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description h3 {
	margin: 0 0 0.875rem;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 400;
	color: var(--black);
	max-width: 34ch;
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description p {
	margin: 0 0 0.875rem;
	font-size: 1rem;
	line-height: 1.75;
	font-weight: 300;
	color: var(--black);
	max-width: 70ch;
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description ul {
	list-style: none;
	margin-bottom: 1.1rem;
}

body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description li {
	margin-left: 1.5rem;
	text-indent: -0.75rem;
	line-height: 1.3;
}

body.single-product.mobilet-woocommerce #content .woocommerce-product-details__long-description li::before {
	font-weight: 600;
	font-size: 2rem;
	padding-right: .75rem;
	display: inline-block;
	content: "\02022";
	position: relative;
	top: 0.25rem;
	color: var(--red);
}

@media (min-width: 992px) {

	body.single-product.mobilet-woocommerce #content .woocommerce-product-details__short-description ul,
	body.single-product.mobilet-woocommerce #content .woocommerce-product-details__long-description ul {
		margin-bottom: 1.4rem;
		padding-left: 1rem;
	}
}

/* ---------- Ikona lupy — sygnał, że klik w główny obrazek otwiera galerię ---------- */

body.single-product.mobilet-woocommerce .woocommerce-product-gallery {
	position: relative;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery::before {
	content: "";
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	width: 1.75rem;
	height: 1.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	pointer-events: none;
}

body.single-product.mobilet-woocommerce .woocommerce-product-gallery__image a {
	cursor: pointer;
}

/* ---------- Dopracowanie na wąskim ekranie (≤991px) ---------- */

@media (max-width: 991px) {
	body.mobilet-woocommerce #content.woocommerce-page ul.products {
		gap: 1.25rem;
	}

	body.single-product.mobilet-woocommerce .product_title {
		font-size: 1.875rem;
		max-width: none;
	}

	body.single-product.mobilet-woocommerce .price {
		font-size: 1.75rem;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-details__short-description {
		font-size: 1rem;
		max-width: none;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description {
		margin-top: 1.75rem;
		padding-top: 1.375rem;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description h2 {
		font-size: 1.75rem;
	}

	body.single-product.mobilet-woocommerce .woocommerce-product-details__long-description h3 {
		font-size: 1.125rem;
	}
}

/* =========================================================
   PHOTOSWIPE LIGHTBOX — większe przyciski nawigacji na desktopie
   ========================================================= */

@media (min-width: 992px) {
	body.mobilet-woocommerce .pswp__button {
		width: 56px;
		height: 56px;
	}

	body.mobilet-woocommerce .pswp__button--arrow--left,
	body.mobilet-woocommerce .pswp__button--arrow--right {
		width: 90px;
		height: 120px;
		margin-top: -60px;
	}

	body.mobilet-woocommerce .pswp__button--arrow--left:before,
	body.mobilet-woocommerce .pswp__button--arrow--right:before {
		width: 44px;
		height: 44px;
		top: 38px;
		background-color: rgba(0, 0, 0, 0.4);
	}

	body.mobilet-woocommerce .pswp__button--arrow--left:before {
		left: 12px;
	}

	body.mobilet-woocommerce .pswp__button--arrow--right:before {
		right: 12px;
	}

	body.mobilet-woocommerce .pswp--svg .pswp__button,
	body.mobilet-woocommerce .pswp--svg .pswp__button--arrow--left:before,
	body.mobilet-woocommerce .pswp--svg .pswp__button--arrow--right:before {
		width: 56px;
		height: 56px;
	}

	body.mobilet-woocommerce .pswp__counter {
		font-size: 1rem;
		padding: 0.5rem 0;
	}
}













/* =========================================================
   COMING SOON — tymczasowe dostosowanie (usuń przed produkcją)
   ========================================================= */

body.mobilet-woocommerce .woocommerce-coming-soon-store-only .wp-block-heading.has-cardo-font-family {
	padding-top: 4rem;
	font-size: 0;
	line-height: 0;
	font-family: 'Commissioner', sans-serif !important;
}

body.mobilet-woocommerce .woocommerce-coming-soon-store-only .wp-block-heading.has-cardo-font-family::after {
	font-family: 'Commissioner', sans-serif !important;
	content: "Zapraszamy wkrótce";
	display: block;
	font-size: 3rem;
	line-height: 1.04;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: var(--black);
}

@media (max-width: 991px) {
	body.mobilet-woocommerce .woocommerce-coming-soon-store-only .wp-block-heading.has-cardo-font-family::after {
		font-size: 2.375rem;
	}
}

body.mobilet-woocommerce .woocommerce-coming-soon-store-only .wp-block-paragraph.has-inter-font-family {
	display: none;
}

/* =========================================================
   tło stron sklepu
   ========================================================= */

body.mobilet-woocommerce {
	background: var(--light);
}

/* InPost w checkout: domyślnie widoczny; przy przesyłce listowej nadpisuje blok niżej */
body.mobilet-woocommerce .wc-block-checkout .inpost-button,
body.mobilet-woocommerce .wc-block-checkout [class*="inpost"],
body.mobilet-woocommerce .wc-block-checkout [id*="inpost"],
body.mobilet-woocommerce .wc-block-checkout inpost-geowidget {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

/* Przesyłka listowa: brak Paczkomatu — ukryj geowidget InPost (nadpisuje reguły powyżej przy zmianie miasta/kodu) */
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout .inpost-button,
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout [class*="inpost"],
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout [id*="inpost"],
body.mobilet-checkout-letter-shipping.mobilet-woocommerce .wc-block-checkout inpost-geowidget {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

body.mobilet-checkout-letter-shipping .inpost-geowidget-modal,
body.mobilet-checkout-letter-shipping [class*="inpost-geowidget"] {
	display: none !important;
	visibility: hidden !important;
}

inpost-geowidget,
.inpost-geowidget-modal,
[class*="inpost-geowidget"] {
	z-index: 999999 !important;
}

/* Przycisk „Wybierz punkt odbioru" – InPost: czarny tekst na żółtym tle */
body.mobilet-woocommerce button.button.alt.easypack_show_geowidget,
#inp_pl_close_modal_button {
	color: var(--black) !important;
}


.wc-block-components-totals-wrapper.slot-wrapper {
	padding: 1rem;
}


/* =========================================================
   EKRAN POTWIERDZENIA ZAMÓWIENIA (order-received / thank you)
   ========================================================= */

/* Szerokość jak koszyk/checkout (sekcja „Koszyk i Checkout” powyżej – 960px od 992px) */
@media (min-width: 992px) {
	body.mobilet-woocommerce #content.woocommerce-page .woocommerce-order {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* --- Komunikat sukcesu --- */
body.mobilet-woocommerce .woocommerce-order .woocommerce-notice--success {
	background: var(--darkgreen);
	color: var(--white);
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	font-size: 1.05rem;
	font-weight: 400;
	margin-bottom: 2rem;
	line-height: 1.4;
}

/* --- Podsumowanie zamówienia (nr, data, razem, metoda) --- */
body.mobilet-woocommerce .woocommerce-order .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	padding: 1.25rem 1.5rem;
	margin: 0 0 2rem 0;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--offwhiteblue);
	font-size: 0.95rem;
}

body.mobilet-woocommerce .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	margin-bottom: 1.5rem !important;
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-order-overview li {
	margin: 0;
	padding: 0.25rem 0;
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-order-overview li::before {
	display: none;
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-order-overview li strong {
	font-weight: 600;
}

/* --- Nagłówki sekcji (h2) — mniejsze, kompaktowe --- */
body.mobilet-woocommerce .woocommerce-order h2,
body.mobilet-woocommerce .woocommerce-order .woocommerce-order-details__title,
body.mobilet-woocommerce .woocommerce-order .woocommerce-column__title {
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: -0.01rem;
	margin-bottom: 0.75rem;
	color: var(--black);
	text-transform: none;
	border-bottom: 2px solid var(--offwhiteblue);
	padding-bottom: 0.5rem;
}

/* --- Tabela zamówienia --- */
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--offwhiteblue);
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details thead {
	background: var(--offwhiteblue);
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details th,
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details td {
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--offwhiteblue);
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details thead th {
	font-weight: 600;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.03rem;
	color: var(--gray);
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details tfoot th {
	font-weight: 400;
	color: var(--gray);
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details tfoot td {
	font-weight: 500;
}

/* Wiersz "Razem" — wyróżniony */
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details tfoot tr:last-of-type th,
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details tfoot tr:last-of-type td {
	font-weight: 600;
	font-size: 1rem;
	border-top: 2px solid var(--blue);
	border-bottom: none;
}

/* Kwota VAT — mniejszy tekst */
body.mobilet-woocommerce .woocommerce-order .includes_tax {
	font-size: 0.8rem;
	color: var(--gray);
	font-weight: 400;
}

/* Link do produktu w tabeli */
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details .product-name a {
	color: var(--blue);
	font-weight: 400;
}

body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details .product-name a:hover {
	text-decoration: underline;
}

/* Ilość produktu */
body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details .product-quantity {
	font-weight: 500;
	color: var(--gray);
}

/* --- Wysyłka: InPost logo i paczkomat --- */

/* Ukryj białe logo InPost (niewidoczne na białym tle, brzydkie) */
body.mobilet-woocommerce .woocommerce-order .easypack-shipping-method-logo > img {
	display: none !important;
}

/* Paczkomat badge — wyróżniony */
body.mobilet-woocommerce .woocommerce-order .ep-chosen-parcel-machine {
	display: inline-block;
	background: var(--yellow);
	color: var(--black);
	font-weight: 600;
	padding: 0.15rem 0.5rem;
	border-radius: 4px;
	font-size: 0.9rem;
}

/* "przez InPost Paczkomat 24/7" — styl */
body.mobilet-woocommerce .woocommerce-order .shipped_via {
	color: var(--gray);
	font-size: 0.85rem;
}

/* --- UKRYWANIE ZBĘDNYCH SEKCJI --- */

/* Ukryj "Adres rozliczeniowy" i "Adres do wysyłki" — placeholdery, nie prawdziwe adresy */
body.mobilet-woocommerce .woocommerce-order .woocommerce-columns--addresses {
	display: none !important;
}

/* Ukryj sekcję dodatkowych pól blokowego potwierdzenia (duplikat / "Chcę fakturę: Nie") */
body.mobilet-woocommerce .woocommerce-order .wc-block-order-confirmation-additional-fields-wrapper {
	display: none !important;
}

/* --- Sekcja danych klienta (wyświetlana przez PHP) --- */
body.mobilet-woocommerce .woocommerce-order .mobilet-order-customer-info {
	background: var(--white);
	border: 1px solid var(--offwhiteblue);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

body.mobilet-woocommerce .woocommerce-order .mobilet-order-customer-info p {
	margin: 0.2rem 0;
}

body.mobilet-woocommerce .woocommerce-order .mobilet-order-customer-info .label {
	color: var(--gray);
	font-size: 0.85rem;
}

/* --- Sekcja danych do faktury (widoczna tylko gdy klient chce fakturę) --- */
body.mobilet-woocommerce .woocommerce-order .mobilet-order-invoice-info {
	background: var(--white);
	border: 1px solid var(--offwhiteblue);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	font-size: 0.95rem;
	line-height: 1.6;
}

body.mobilet-woocommerce .woocommerce-order .mobilet-order-invoice-info p {
	margin: 0.2rem 0;
}

/* --- Przycisk "Wróć do sklepu" --- */
body.mobilet-woocommerce .woocommerce-order .mobilet-order-back-to-shop {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: var(--blue);
	color: var(--white) !important;
	border-radius: 0.5rem;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	transition: background 0.18s ease, transform 0.18s ease;
	margin-top: 1rem;
}

body.mobilet-woocommerce .woocommerce-order .mobilet-order-back-to-shop:hover {
	background: var(--darkblue);
	transform: translateY(-1px);
}

/* --- Responsywność --- */
@media (max-width: 575px) {
	body.mobilet-woocommerce .woocommerce-order .woocommerce-order-overview {
		flex-direction: column;
		gap: 0.15rem;
	}

	body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details th,
	body.mobilet-woocommerce .woocommerce-order .woocommerce-table--order-details td {
		padding: 0.6rem 0.75rem;
	}
}

/* =========================================================
   SCROLL REVEAL — wejście w viewport (Intersection Observer)
   Lekki translateY + opacity; wyjątek: img leniwca (własna animacja w events.js)
   ========================================================= */

body.mobilet-woocommerce {
	--mobilet-reveal-shift: 16px;
	--mobilet-reveal-duration: 0.52s;
	--mobilet-reveal-duration-move: 0.58s;
	/* cubic-bezier: ease-out „nowoczesny”, bez przesady (UI 2024–2026) */
	--mobilet-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
	body.mobilet-woocommerce .mobilet-scroll-reveal {
		opacity: 0;
		transform: translate3d(0, var(--mobilet-reveal-shift), 0);
		transition:
			opacity var(--mobilet-reveal-duration) var(--mobilet-reveal-ease),
			transform var(--mobilet-reveal-duration-move) var(--mobilet-reveal-ease);
	}

	body.mobilet-woocommerce .mobilet-scroll-reveal.mobilet-scroll-reveal--inview {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.mobilet-woocommerce .mobilet-scroll-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Ten obrazek ma osobną animację transform (parallax) — nie łączymy z reveal */
body.mobilet-woocommerce img.woocommerce-product-details__sidebar-column-img.mobilet-scroll-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}
