/* =========================================================================
   PRODEST – WooCommerce
   ========================================================================= */

/* Okruszki ------------------------------------------------------------------ */
.woocommerce .woocommerce-breadcrumb,
.breadcrumb {
	margin: 0 0 24px;
	font-size: 12px;
	color: var(--muted);
}
.woocommerce .woocommerce-breadcrumb a { color: var(--ink-2); text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; color: #bdbdbd; }

/* Nagłówek listy ------------------------------------------------------------ */
.woocommerce-products-header { margin-bottom: 24px; }
.woocommerce-products-header__title.page-title { margin-bottom: 0; }
.term-description, .page-description { color: var(--muted); max-width: 720px; margin-top: 16px; }

.woocommerce .woocommerce-result-count { margin: 10px 0 24px; font-size: 13px; color: var(--muted); }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { min-height: 42px; width: auto; padding-right: 36px; font-size: 13px; }

/* Siatka książek ------------------------------------------------------------ */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3vw, 44px) clamp(16px, 2.2vw, 32px);
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	clear: both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { content: none; display: none; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
	float: none;
	clear: none;
	width: auto;
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	flex-direction: column;
}

@media (max-width: 1024px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kafelek książki */
.book-card__link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); flex: 1; }
.book-card__link:hover { color: var(--ink); }

.book-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: var(--soft);
	overflow: hidden;
	margin-bottom: 14px;
}
.book-card__cover img,
.woocommerce ul.products li.product .book-card__cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	padding: 6%;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .14));
	transition: transform .5s var(--ease);
}
.book-card__link:hover .book-card__cover img { transform: translateY(-4px) scale(1.02); }

.book-card__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 800;
	font-stretch: 100%;
	line-height: 1.25;
	letter-spacing: .01em;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.book-card__link:hover .book-card__title { color: var(--ink); }

.book-card__author {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 400;
	color: var(--ink-2);
}

.book-card__price.price,
.woocommerce ul.products li.product .price {
	display: block;
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; opacity: 1; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { color: var(--red); text-decoration: none; }

.woocommerce ul.products li.product .button { margin-top: 12px; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--red); }

/* Odznaka */
.badge,
.woocommerce span.onsale {
	display: inline-block;
	min-height: 0;
	min-width: 0;
	padding: 5px 10px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.book-card__cover .onsale,
.woocommerce ul.products li.product .book-card__cover .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	right: auto;
	margin: 0;
}

/* Paginacja */
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 44px; height: 44px; display: grid; place-items: center;
	padding: 0 12px; border: 1px solid var(--line); font-weight: 600; color: var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--soft); color: var(--red); }

/* Karta książki ------------------------------------------------------------- */
.book-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(28px, 4.5vw, 72px);
	align-items: start;
}
.book-single__grid > * { min-width: 0; }

/* Okładka: sticky, na jasnym tle z czerwoną poświatą */
.book-single__cover {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: clamp(24px, 3.4vw, 48px);
	background:
		radial-gradient(80% 55% at 50% 102%, rgba(208, 20, 44, .2), transparent 72%),
		linear-gradient(160deg, #f8f7f6, #e7e6e4);
}
.admin-bar .book-single__cover { top: calc(var(--header-h) + 56px); }
.woocommerce div.product .book-single__cover div.images,
.woocommerce-page div.product .book-single__cover div.images,
.book-single__cover .woocommerce-product-gallery {
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0;
}
.book-single__cover .woocommerce-product-gallery__wrapper { margin: 0; }
.book-single__cover .woocommerce-product-gallery__image:first-child img,
.book-single__cover .woocommerce-product-gallery__wrapper > div:first-child img {
	width: 100%;
	height: auto;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 30px 50px -22px rgba(0, 0, 0, .6);
	transition: transform .6s var(--ease);
}
.book-single__cover:hover .woocommerce-product-gallery__image:first-child img { transform: translateY(-4px) scale(1.01); }
.book-single__cover .woocommerce-product-gallery__image--placeholder img { box-shadow: none; }

/* Miniatury (gdy produkt ma kilka zdjęć) */
.woocommerce div.product .book-single__cover div.images .flex-control-thumbs,
.woocommerce div.product .book-single__cover .woocommerce-product-gallery__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.woocommerce div.product .book-single__cover .woocommerce-product-gallery__wrapper > div:first-child { flex: 1 0 100%; }
.woocommerce div.product .book-single__cover div.images .woocommerce-product-gallery__image:nth-child(n+2),
.woocommerce div.product .book-single__cover div.images .flex-control-thumbs li {
	width: 64px;
	display: block;
	float: none;
	margin: 6px 0 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--line);
	transition: border-color .2s;
}
.woocommerce div.product .book-single__cover div.images .woocommerce-product-gallery__image:nth-child(n+2):hover { border-color: var(--ink); }
.woocommerce div.product .book-single__cover div.images .woocommerce-product-gallery__image:nth-child(n+2) img { box-shadow: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: 12px; right: 12px;
	width: 40px; height: 40px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

/* Informacje */
.woocommerce div.product .book-single__info.summary,
.woocommerce-page div.product .book-single__info.summary {
	float: none;
	width: auto;
	margin: 0;
	padding-top: 2px;
}
.book-single__info > .badge { margin-bottom: 14px; }

.woocommerce div.product .product_title.book-single__title {
	font-size: clamp(29px, 3.4vw, 45px);
	font-weight: 800;
	font-stretch: 100%;
	line-height: 1.06;
	letter-spacing: -.02em;
	margin: 0 0 16px;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.book-single__author {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 0 20px;
	font-size: 16px;
	color: var(--ink-2);
}
.book-single__author-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.book-single__author a { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.book-single__author a:hover { color: var(--red); border-bottom-color: var(--red); }

.woocommerce div.product .book-single__info .woocommerce-product-rating { margin: -6px 0 18px; }
.woocommerce .star-rating span, .woocommerce p.stars a { color: var(--red); }

/* Krótki opis w ramce */
.book-single__excerpt {
	margin: 0 0 22px;
	padding: 16px 20px;
	border: 1px solid rgba(14, 14, 14, .14);
	border-radius: 12px;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--ink-2);
}
.book-single__excerpt > :first-child { margin-top: 0; }
.book-single__excerpt > :last-child { margin-bottom: 0; }

/* Ramka zakupu: panel z ceną, przyciskami i informacją o dostawie */
.buybox {
	margin: 0 0 6px;
	padding: 24px;
	border: 1px solid rgba(14, 14, 14, .08);
	border-radius: 14px;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(208, 20, 44, .1), transparent 72%),
		#f6f5f4;
}

.woocommerce div.product .buybox p.price,
.woocommerce div.product .buybox span.price {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: clamp(33px, 3.2vw, 41px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--ink);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	font-variant-numeric: tabular-nums;
}
.woocommerce div.product .buybox .price del { order: 2; font-size: 16px; font-weight: 500; color: var(--muted); opacity: 1; }
.woocommerce div.product .buybox .price ins { color: var(--red); text-decoration: none; font-weight: 800; }
.buybox .woocommerce-price-suffix { font-size: 12px; color: var(--muted); }
.save { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.save__pct { padding: 3px 8px; background: var(--grad-red); color: #fff; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.save__txt { font-size: 11.5px; color: var(--ink-2); }
.omnibus { margin: 0 0 16px; font-size: 11px; line-height: 1.4; color: var(--muted); }

.woocommerce div.product .buybox .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 18px;
	padding: 5px 12px 5px 10px;
	background: rgba(27, 138, 58, .1);
	color: #17702f;
	font-size: 11.5px;
	font-weight: 600;
}
.woocommerce div.product .buybox .stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.woocommerce div.product .buybox .stock.out-of-stock { background: rgba(208, 20, 44, .1); color: var(--red-dark); }

/* Formularz: [– 1 +][DODAJ DO KOSZYKA] a pod spodem [KUP TERAZ] */
.woocommerce div.product .buybox form.cart { margin: 0; }
.woocommerce div.product .buybox form.cart::before,
.woocommerce div.product .buybox form.cart::after { display: none; }
.woocommerce div.product .buybox form.cart:not(.variations_form),
.woocommerce div.product .buybox .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
}

.woocommerce div.product .buybox form.cart div.quantity,
.woocommerce .buybox .quantity {
	float: none;
	margin: 0;
	display: inline-flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid #cfcfcf;
	border-radius: var(--radius);
	background: #fff;
}
.woocommerce .buybox .quantity:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.woocommerce .buybox .quantity .qty,
.woocommerce div.product .buybox form.cart div.quantity .qty {
	width: 36px;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: transparent;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	-moz-appearance: textfield;
}
.woocommerce .buybox .quantity .qty::-webkit-outer-spin-button,
.woocommerce .buybox .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn {
	width: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.qty-btn:hover { background: var(--soft); color: var(--red); }

.woocommerce div.product .buybox form.cart .button,
.woocommerce div.product .buybox form.cart button.button { float: none; margin: 0; }

/* Dodaj do koszyka: ciemny przycisk obok pola ilości */
.woocommerce div.product .buybox form.cart .single_add_to_cart_button,
.woocommerce div.product .buybox form.cart button.single_add_to_cart_button.alt {
	flex: 1 1 160px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	min-height: 48px;
	padding: 0 16px;
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	white-space: nowrap;
}
.single_add_to_cart_button::before {
	content: ""; width: 17px; height: 17px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.8L21 7H6.2'/%3E%3Ccircle cx='9' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.8L21 7H6.2'/%3E%3Ccircle cx='9' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce div.product .buybox form.cart .single_add_to_cart_button:hover { background: var(--grad-red); border-color: var(--red-dark); color: #fff; }

/* Kup teraz: gradient na całą szerokość pod spodem */
.woocommerce div.product .buybox form.cart .buy-now-button,
.woocommerce div.product .buybox .buy-now-button {
	order: 2;
	flex: 1 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 46px;
	min-height: 46px;
	margin: 0;
	background: var(--grad-red);
	border: 0;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	box-shadow: 0 14px 24px -16px rgba(208, 20, 44, .85);
	transition: transform .25s var(--ease), filter .25s, box-shadow .25s;
}
.buy-now-button .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.buy-now-button:hover .icon { transform: translateX(4px); }
.woocommerce div.product .buybox .buy-now-button:hover { background: var(--grad-red); filter: brightness(1.08); transform: translateY(-1px); }

.woocommerce div.product .buybox form.cart .button.disabled,
.woocommerce div.product .buybox form.cart .button:disabled { opacity: .45; }

.woocommerce div.product .buybox table.variations { margin-bottom: 14px; }
.woocommerce div.product .buybox table.variations th,
.woocommerce div.product .buybox table.variations td { display: block; padding: 0; text-align: left; }
.woocommerce div.product .buybox table.variations label { font-size: 12px; font-weight: 600; }
.woocommerce div.product .buybox .single_variation_wrap .woocommerce-variation-price { margin-bottom: 12px; }

/* Realizacja, dostawa, płatność (jedna linia z małymi logotypami) */
.ship-info {
	list-style: none;
	margin: 22px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid rgba(14, 14, 14, .1);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
.ship-info li { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ship-info__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ship-info__value { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ship-info strong { font-size: 12px; line-height: 1.3; font-weight: 700; }
.ship-info small { font-size: 11px; color: var(--muted); }
.woocommerce .ship-info .ship-info__logo { width: auto; height: 28px; max-width: 100%; object-fit: contain; object-position: left center; }
.woocommerce .ship-info .ship-info__logo--paynow { height: 16px; margin: 6px 0; }

.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; font-size: 12px; color: var(--ink-2); }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks .icon { width: 18px; height: 18px; color: var(--red); }

/* Dane książki */
.book-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 26px 0 0;
	border-top: 1px solid var(--line);
}
.book-details > div { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.book-details > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.book-details dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.book-details dd { margin: 3px 0 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.book-details dd a { text-decoration: none; }
.book-details dd a:hover { color: var(--red); }

@media (max-width: 900px) {
	.book-single__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.book-single__cover { position: relative; top: auto; margin-inline: calc(var(--gutter) * -1); padding: 28px 22%; }
	.book-details { grid-template-columns: minmax(0, 1fr); }
	.book-details > div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
	.buybox { padding: 18px; border-radius: 12px; }
	.ship-info { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ship-info li { flex-direction: row; align-items: center; gap: 12px; }
	.ship-info__label { flex: 0 0 76px; }
	.ship-info__value { flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
}

/* Zakładki: Opis / Szczegóły / Opinie */
.book-single__tabs { margin-top: clamp(56px, 7vw, 96px); }
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 32px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--ink);
	overflow-x: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 0;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--muted);
	border-bottom: 4px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--red); }
.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 820px;
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: var(--ink-2);
}
.woocommerce table.shop_attributes { border-top: 0; max-width: 640px; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { border-bottom: 1px solid var(--line); padding: 12px 0; font-style: normal; background: none !important; }
.woocommerce table.shop_attributes th { width: 200px; text-align: left; font-weight: 600; }
.woocommerce table.shop_attributes td p { margin: 0; padding: 0; }

/* Opinie */
.woocommerce #reviews #comments h2,
.woocommerce #reviews .woocommerce-Reviews-title {
	font-size: 21px;
	text-transform: uppercase;
	margin: 0 0 12px;
}
.woocommerce #reviews #comments .woocommerce-noreviews { color: var(--muted); }
.woocommerce #review_form_wrapper { margin-top: 24px; }
.woocommerce #review_form #respond {
	max-width: 640px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--line);
	border-top: 4px solid var(--ink);
}
.woocommerce #review_form #respond .comment-reply-title {
	display: block;
	margin-bottom: 18px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 800;
	color: var(--ink);
}
.woocommerce #review_form #respond p { margin: 0 0 16px; }
.woocommerce #review_form #respond label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.woocommerce #review_form #respond textarea { min-height: 140px; }
.woocommerce p.stars a { width: 1.4em; height: 1.4em; font-size: 19px; }
.woocommerce #review_form #respond .form-submit input,
.woocommerce #review_form #respond .form-submit .submit { min-height: 48px; padding: 12px 28px; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; margin: 0 0 24px; }
.woocommerce #reviews #comments ol.commentlist li { padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border: 0; border-radius: 50%; background: var(--soft); padding: 0; width: 40px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin-left: 56px; border: 0; padding: 0; border-radius: 0; }

/* Pasek zakupu na telefonie */
.buybar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-top: 1px solid var(--line);
	box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .35);
	transform: translateY(110%);
	transition: transform .3s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar__price { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; min-width: 0; }
.buybar__price del { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.buybar__price ins { color: var(--red); text-decoration: none; }
.buybar button.button.buybar__btn { margin-left: auto; min-height: 48px; background: var(--grad-red); border-color: var(--red-dark); color: #fff; white-space: nowrap; }
@media (min-width: 1101px) { .buybar { display: none; } }

@media (max-width: 1100px) {
	.single-product .site-footer { padding-bottom: 80px; }
}

/* Pasy z propozycjami -------------------------------------------------------- */
.book-single__suggestions { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.product-row { min-width: 0; }
.book-single, .book-single__grid > * { min-width: 0; }

.product-row__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ink);
	position: relative;
}
.product-row__head::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 56px; height: 3px;
	background: var(--red);
}
.product-row__title {
	margin: 0;
	font-size: clamp(21px, 2.4vw, 29px);
	font-stretch: 106%;
	text-transform: uppercase;
}
.product-row__nav { display: flex; align-items: center; gap: 4px; }
.product-row__more { font-size: 13px; font-weight: 600; margin-right: 10px; text-decoration: none; color: var(--muted); }
.product-row__more:hover { color: var(--red); }
.row-prev .icon { transform: rotate(180deg); }
.row-prev, .row-next { border: 1px solid var(--line); width: 40px; height: 40px; }
.row-prev:disabled, .row-next:disabled { opacity: .3; cursor: default; background: none; color: var(--ink); }

.woocommerce ul.products.product-row__track,
ul.products.product-row__track {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - 5 * 24px) / 6);
	gap: 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin: 0;
	padding-bottom: 4px;
}
.product-row__track::-webkit-scrollbar { display: none; }
.product-row__track > li { scroll-snap-align: start; }
.product-row__track .book-card__title { font-size: 13px; }
.product-row__track .book-card__author { font-size: 13px; }

@media (max-width: 1100px) {
	.woocommerce ul.products.product-row__track { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; }
}
@media (max-width: 720px) {
	.woocommerce ul.products.product-row__track { grid-auto-columns: 42%; gap: 16px; }
	.row-prev, .row-next { display: none; }
}

/* Komunikaty ---------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
	border-radius: var(--radius);
}
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info {
	border-top-color: var(--ink);
	background: var(--soft);
	color: var(--ink);
}
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--ink); }
.woocommerce .woocommerce-error { border-top-color: var(--red); background: #fff4f5; }
.woocommerce .woocommerce-error::before { color: var(--red); }
.woocommerce .woocommerce-message .button { float: right; min-height: 38px; padding: 8px 16px; }

/* Przyciski WooCommerce (klasyczne) ------------------------------------------ */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 12px 22px;
	line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}
.woocommerce a.button.button--small,
.woocommerce ul.products li.product .button { padding: 8px 14px; font-size: 11px; min-height: 38px; }

/* Koszyk i zamówienie (bloki WooCommerce) ------------------------------------ */
.entry--wide { max-width: 1180px; margin-inline: auto; }
/* Klasyczny koszyk/zamówienie (gdy używasz shortcode) */
.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--line); }
.woocommerce table.shop_table th { font-family: var(--font-display); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.woocommerce-cart table.cart img { width: 64px; }
.woocommerce #payment { background: var(--soft); border-radius: var(--radius); }
.woocommerce #payment #place_order { background: var(--red); border-color: var(--red); width: 100%; min-height: 56px; font-size: 14px; }

/* Moje konto */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 12px 0; border-bottom: 1px solid var(--line);
	text-decoration: none; font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--red); }

/* Pusta półka ---------------------------------------------------------------- */
.empty-shelf {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 520px;
	margin: clamp(24px, 6vw, 72px) auto;
}
.empty-shelf__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 112px; height: 112px;
	margin-bottom: 28px;
	color: #fff;
	isolation: isolate;
}
.empty-shelf__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ink);
	clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}
.empty-shelf__icon::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -8px;
	height: 4px;
	background: var(--red);
	clip-path: polygon(14% 0, 100% 0, 92% 100%, 0 100%);
}
.empty-shelf__icon .icon, .empty-shelf__icon svg { width: 44px; height: 44px; }
.empty-shelf__title { margin: 0 0 10px; font-size: clamp(23px, 3.4vw, 33px); }
.empty-shelf__text { margin: 0 0 28px; color: var(--muted); max-width: 42ch; }
body .empty-shelf a.button { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.empty-shelf .button svg { width: 18px; height: 18px; flex: none; }

/* Wysuwany koszyk ------------------------------------------------------------ */
html.drawer-open { overflow: hidden; }

.cart-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .35s; }
.cart-drawer.is-open { visibility: visible; transition-delay: 0s; }
.cart-drawer__overlay {
	position: absolute; inset: 0;
	background: rgba(14, 14, 14, .6);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 100vw);
	display: flex; flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .25);
	transform: translateX(104%);
	transition: transform .35s var(--ease);
}
.cart-drawer.is-open .cart-drawer__panel { transform: none; }

.prodest-cart { display: flex; flex-direction: column; min-height: 0; flex: 1; position: relative; }
.prodest-cart.is-busy::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55); cursor: progress; }

.drawer__head {
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 12px 14px 24px;
	background: var(--ink); color: #fff;
}
.drawer__head::after {
	content: ""; position: absolute; left: 0; bottom: -4px;
	width: 140px; height: 4px; background: var(--red);
	clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.drawer__title { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.drawer__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--red); font-size: 12px; line-height: 24px; text-align: center; letter-spacing: 0; }
.drawer__head .icon-btn { color: #fff; }
.drawer__head .icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .14); }

.drawer__items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-item { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 28px 18px 0; border-bottom: 1px solid var(--line); }
.drawer-item:last-child { border-bottom: 0; }
.drawer-item__img { display: block; }
.drawer-item__img img { display: block; width: 76px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.drawer-item__info { display: flex; flex-direction: column; min-width: 0; }
.drawer-item__title { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1.25; text-decoration: none; color: var(--ink); }
a.drawer-item__title:hover { color: var(--red); }
.drawer-item__author { margin-top: 3px; font-size: 12px; color: var(--muted); }
.drawer-item__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.drawer-item__price { font-family: var(--font-display); font-weight: 800; font-size: 15px; white-space: nowrap; }
.drawer-item__remove { position: absolute; top: 12px; right: -8px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--muted); }
.drawer-item__remove:hover { color: var(--red); }
.drawer-item__remove svg { width: 18px; height: 18px; }

.drawer-qty { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; }
.drawer-qty__btn { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; font-size: 17px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-qty__btn:hover:not(:disabled) { background: var(--soft); color: var(--red); }
.drawer-qty__btn:disabled { opacity: .35; cursor: default; }
.drawer-qty__val { min-width: 32px; text-align: center; font-weight: 700; font-size: 14px; }

.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--soft); }
.drawer__ship-text { margin: 0 0 8px; font-size: 12px; }
.drawer__ship-bar { height: 6px; background: #dcdcdc; overflow: hidden; }
.drawer__ship-bar span { display: block; height: 100%; background: var(--red); transition: width .4s var(--ease); }
.drawer__ship.is-done .drawer__ship-bar span { background: #1b8a3a; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 14px; }
.drawer__total strong { font-family: var(--font-display); font-size: 23px; font-weight: 800; }
.drawer__note { margin: 4px 0 16px; font-size: 11px; color: var(--muted); }
body .drawer__foot a.button.drawer__checkout { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; }
.drawer__checkout svg { width: 18px; height: 18px; }
.drawer__links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
.drawer__links a, .drawer__links button { padding: 4px 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.drawer__links a:hover, .drawer__links button:hover { color: var(--red); }

.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; }
.drawer__empty-icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; background: var(--soft); clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); color: var(--ink); }
.drawer__empty-icon svg { width: 34px; height: 34px; }
.drawer__empty-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.drawer__empty-text { margin: 0 0 24px; color: var(--muted); }

@media (max-width: 480px) {
	.drawer__items, .drawer__head { padding-left: 16px; }
	.drawer__foot { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.cart-drawer__panel, .cart-drawer__overlay { transition: none; }
}

/* =========================================================================
   Gradienty (1.6) – sklep, tylko kolory marki.
   ========================================================================= */
.woocommerce ul.products li.product .book-card__cover { background: linear-gradient(160deg, #f7f6f5, #e8e7e5); }
.woocommerce span.onsale, .badge { background: var(--grad-red); }

.buybox { background: linear-gradient(180deg, rgba(208, 20, 44, .06) 0%, #fff 38%); }
.woocommerce div.product .buybox form.cart .buy-now-button,
.woocommerce div.product .buybox .buy-now-button {
	background: var(--grad-red);
	border-color: var(--red-dark);
	box-shadow: 0 16px 30px -18px rgba(208, 20, 44, .8);
}
.woocommerce div.product .buybox .buy-now-button:hover { background: var(--grad-red); filter: brightness(1.12); }

.empty-shelf__icon::before { background: radial-gradient(90% 90% at 100% 100%, rgba(208, 20, 44, .75), transparent 70%), var(--ink); }

.drawer__head { background: radial-gradient(70% 170% at 100% 0%, rgba(208, 20, 44, .5), transparent 70%), var(--ink); }
.drawer__count { background: var(--grad-red); }
.drawer__ship-bar span { background: var(--grad-red); }
.drawer__foot { background: radial-gradient(70% 90% at 100% 100%, rgba(208, 20, 44, .08), transparent 70%), var(--soft); }
.drawer__empty-icon { background: radial-gradient(90% 90% at 100% 100%, rgba(208, 20, 44, .18), transparent 70%), var(--soft); }

/* =========================================================================
   Filtry i lista książek (1.6)
   ========================================================================= */
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.shop-results { min-width: 0; transition: opacity .2s; }
.shop-results.is-loading { opacity: .45; pointer-events: none; }
.woocommerce .shop-results ul.products, .woocommerce-page .shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Panel */
.shop-filters {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	max-height: calc(100vh - var(--header-h) - 40px);
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
}
.shop-filters__overlay { display: none; }
.shop-filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.shop-filters__head .shop-filters__close { display: none; }
body .shop-filters button.shop-filters__apply { display: none; }
.shop-filters__title { margin: 0; font-size: 19px; }

.fsec { border-top: 1px solid var(--line); }
.fsec:last-of-type { border-bottom: 1px solid var(--line); }
.fsec__title {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 0;
	font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	cursor: pointer; list-style: none;
}
.fsec__title::-webkit-details-marker { display: none; }
.fsec__title::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.fsec[open] > .fsec__title::after { transform: rotate(-135deg) translate(-2px, -1px); }
.fsec__body { padding: 0 0 18px; }

.flist { display: flex; flex-direction: column; gap: 2px; }
.flist--scroll { max-height: 232px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.flist-search { min-height: 40px; margin-bottom: 10px; padding: 8px 12px; font-size: 13px; }

.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; line-height: 1.3; }
.fcheck[hidden] { display: none; }
.fcheck input, .fswitch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcheck__box { position: relative; flex: none; width: 18px; height: 18px; border: 1.5px solid #9a9a9a; background: #fff; transition: background .2s, border-color .2s; }
.fcheck__box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.fcheck:hover .fcheck__box { border-color: var(--ink); }
.fcheck input:checked + .fcheck__box { background: var(--grad-red); border-color: var(--red-dark); }
.fcheck input:checked + .fcheck__box::after { transform: rotate(45deg) scale(1); }
.fcheck input:focus-visible + .fcheck__box { outline: 2px solid var(--red); outline-offset: 2px; }
.fcheck__label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fcheck input:checked ~ .fcheck__label { font-weight: 600; }
.fcheck__count { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.fswitch { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.fswitch__track { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: #cfcfcf; transition: background .25s; }
.fswitch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.fswitch input:checked + .fswitch__track { background: var(--grad-red); }
.fswitch input:checked + .fswitch__track::after { transform: translateX(18px); }
.fswitch input:focus-visible + .fswitch__track { outline: 2px solid var(--red); outline-offset: 2px; }

.fprice { display: flex; align-items: center; gap: 8px; }
.fprice label { flex: 1; min-width: 0; }
.fprice input { min-height: 42px; padding: 8px 10px; font-size: 14px; text-align: center; -moz-appearance: textfield; }
.fprice input::-webkit-outer-spin-button, .fprice input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fprice__sep, .fprice__unit { color: var(--muted); font-size: 13px; }

.shop-filters__actions { padding-top: 14px; }
.shop-filters__reset { font-size: 13px; color: var(--muted); }
.shop-filters__reset:hover { color: var(--red); }

/* Pasek nad wynikami */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.shop-bar:empty { display: none; }
body .shop-bar button.shop-bar__filters { display: none; gap: 10px; }
.shop-bar__filters .icon { width: 18px; height: 18px; }
.shop-bar__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--grad-red); color: #fff; font-size: 11px; }
.shop-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shop-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 10px 6px 12px;
	border: 1px solid var(--ink);
	font-size: 11.5px; font-weight: 500; text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.shop-chip .icon { width: 14px; height: 14px; }
.shop-chip:hover { background: var(--grad-red); border-color: var(--red-dark); color: #fff; }
.shop-chips__clear { font-size: 11.5px; color: var(--muted); }
.shop-chips__clear:hover { color: var(--red); }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.shop-toolbar .woocommerce-result-count { margin: 0; }
.shop-toolbar .woocommerce-ordering { margin: 0; }

/* Kafelek książki: efekt najechania i szybkie „Do koszyka” */
.woocommerce ul.products li.product .book-card__cover { transition: box-shadow .4s var(--ease); background: linear-gradient(160deg, #f8f7f6, #e9e8e6); }
.book-card__cover::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(70% 55% at 50% 105%, rgba(208, 20, 44, .32), transparent 72%);
	opacity: 0; transition: opacity .45s var(--ease);
}
.book-card:hover .book-card__cover::after, .book-card:focus-within .book-card__cover::after { opacity: 1; }
.book-card:hover .book-card__cover { box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .55); }
.badge--muted { background: var(--ink-2); }
.book-card .added_to_cart { display: none; }
.book-card { container-type: inline-size; }
.woocommerce ul.products li.product .button.book-card__quick {
	position: absolute; left: 12px; right: 12px;
	top: calc(133.333cqw - 58px); /* dolna krawędź okładki (proporcje 3:4) */
	margin: 0; width: auto;
}
.book-card .book-card__quick {
	opacity: 0; transform: translateY(10px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s;
	z-index: 2; background: #fff; color: var(--ink); border-color: var(--ink);
	justify-content: center;
}
.book-card:hover .book-card__quick, .book-card:focus-within .book-card__quick { opacity: 1; transform: none; }
.book-card .book-card__quick.loading { opacity: .6; }
@media (hover: none) {
	/* Dotyk: zamiast paska – mały okrągły przycisk z ikoną koszyka w rogu okładki */
	.woocommerce ul.products li.product .button.book-card__quick {
		left: auto; right: 10px; width: 42px; height: 42px; min-height: 42px; padding: 0;
		top: calc(133.333cqw - 52px);
		border-radius: 50%; border: 0; background: var(--ink); color: #fff;
		font-size: 0; opacity: 1; transform: none;
		box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .55);
	}
	.woocommerce ul.products li.product .button.book-card__quick { display: grid; place-items: center; }
	.book-card .book-card__quick::before {
		content: ""; display: block; width: 20px; height: 20px; flex: none; background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.8L21 7H6.2'/%3E%3Ccircle cx='9' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11h10.8L21 7H6.2'/%3E%3Ccircle cx='9' cy='19.5' r='1.4'/%3E%3Ccircle cx='17' cy='19.5' r='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.book-card .book-card__quick.loading { opacity: .6; }
}

/* Telefon i tablet: panel filtrów wysuwa się z lewej */
@media (max-width: 960px) {
	.shop-layout { grid-template-columns: minmax(0, 1fr); }
	body .shop-bar button.shop-bar__filters { display: inline-flex; }
	.shop-filters {
		position: fixed; z-index: 210; top: 0; bottom: 0; left: 0;
		width: min(380px, 92vw); max-height: none;
		padding: 0 20px 20px;
		background: #fff;
		transform: translateX(-104%);
		transition: transform .35s var(--ease);
		box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .3);
	}
	.shop-filters.is-open { transform: none; }
	.shop-filters__head {
		position: sticky; top: 0; z-index: 2;
		display: flex; align-items: center; justify-content: space-between;
		margin: 0 -20px 4px; padding: 10px 12px 10px 20px;
		background: var(--ink); color: #fff;
	}
	.shop-filters__title { color: #fff; }
	.shop-filters__head .icon-btn { color: #fff; }
	.shop-filters__actions { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding: 14px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%); text-align: center; }

	.shop-filters__overlay { display: block; position: fixed; inset: 0; z-index: 205; background: rgba(14, 14, 14, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
	html.filters-open { overflow: hidden; }
	html.filters-open .shop-filters__overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (max-width: 720px) {
	.woocommerce .shop-results ul.products, .woocommerce-page .shop-results ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shop-toolbar { flex-wrap: wrap; }
}

/* =========================================================================
   Opis pod okładką na liście (1.7.3): autor nad tytułem nie, tytuł → autor → cena i oprawa
   ========================================================================= */
.woocommerce ul.products li.product .book-card__cover { margin-bottom: 16px; }

.book-card__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.28;
	letter-spacing: -.01em;
	text-transform: none;
	-webkit-line-clamp: 2;
}
.book-card__author {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 5px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--muted);
}

.book-card__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
}
.book-card__link > .book-card__title + .book-card__author + .book-card__foot,
.book-card__link > .book-card__title + .book-card__foot { margin-top: auto; }
.book-card__title { margin-bottom: 0; }
.book-card__link { gap: 0; }

.book-card__foot .book-card__price.price,
.woocommerce ul.products li.product .book-card__foot .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
}
.woocommerce ul.products li.product .book-card__foot .price ins { order: 1; color: var(--red); }
.woocommerce ul.products li.product .book-card__foot .price del { order: 2; margin: 0; font-size: 12px; font-weight: 400; color: var(--muted); }

.book-card__meta {
	flex: none;
	padding: 2px 8px;
	border: 1px solid var(--line);
	font-size: 11px;
	line-height: 1.5;
	color: var(--muted);
	white-space: nowrap;
	transition: border-color .25s, color .25s;
}
.book-card:hover .book-card__meta { border-color: var(--ink); color: var(--ink); }
/* Stała wysokość tytułu (2 linie) – ceny w rzędzie wyrównane do jednej linii */
.book-card__title, .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: calc(2 * 1.28em); }
.book-card__foot { margin-top: 0; padding-top: 12px; align-items: flex-start; }
.book-card__link > .book-card__title + .book-card__author + .book-card__foot,
.book-card__link > .book-card__title + .book-card__foot { margin-top: 0; }
.book-card__meta { margin-top: 2px; }

@media (max-width: 960px) {
	.shop-filters__head .shop-filters__close { display: inline-grid; }
	.shop-filters__head { align-items: center; }
	.shop-filters__head .shop-filters__reset { margin-left: auto; color: rgba(255, 255, 255, .8); }
	.shop-filters__head .shop-filters__reset:hover { color: #fff; }
	body .shop-filters button.shop-filters__apply { display: inline-flex; background: var(--grad-red); border-color: var(--red-dark); color: #fff; }
}
.book-card__cover .badge { z-index: 2; }

/* =========================================================================
   Koszyk, zamówienie, konto, kontakt (1.8)
   ========================================================================= */
:root { accent-color: var(--red); }

/* Panel boczny (podsumowanie) jak ramka zakupu */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	padding: 22px;
	border: 1px solid rgba(14, 14, 14, .08);
	border-radius: 14px;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(208, 20, 44, .09), transparent 72%),
		#f6f5f4;
}
.wc-block-components-order-summary, .wc-block-components-totals-wrapper { border-color: rgba(14, 14, 14, .1) !important; }

/* Nagłówki sekcji */
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-checkout__sidebar .wc-block-components-title {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.wc-block-components-checkout-step__title { font-size: 16px; letter-spacing: .02em; text-transform: none; font-weight: 800; }
.wc-block-cart-items__header th { font-size: 11px; letter-spacing: .14em; color: var(--muted); }

/* Pozycje */
.wc-block-components-product-name,
.entry-content a.wc-block-components-product-name { color: var(--ink); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.entry-content a.wc-block-components-product-name:hover { color: var(--red); }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img {
	box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55);
}
.wc-block-components-sale-badge {
	border: 0; border-radius: 0;
	background: rgba(208, 20, 44, .1);
	color: var(--red-dark);
	font-weight: 600;
}
.wc-block-components-product-price__regular { color: var(--muted); }
.wc-block-components-product-price__value.is-discounted { color: var(--red); font-weight: 800; }
.wc-block-components-quantity-selector { border-radius: var(--radius); border-color: #cfcfcf; background: #fff; }
.wc-block-components-quantity-selector::after { border-radius: var(--radius); }
.wc-block-cart-item__remove-link { color: var(--muted); }
.wc-block-cart-item__remove-link:hover { color: var(--red); }

/* Sumy */
.wc-block-components-totals-item__label { font-size: 13px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-display); font-weight: 700; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -.02em;
}

/* Przyciski: do kasy / złóż zamówienie z gradientem */
.entry-content .wc-block-cart__submit-button,
.entry-content .wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
	min-height: 52px;
	border: 0;
	border-radius: var(--radius);
	background: var(--grad-red);
	color: #fff;
	font-family: var(--font-display);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	box-shadow: 0 16px 28px -18px rgba(208, 20, 44, .85);
	transition: filter .25s, transform .25s var(--ease), box-shadow .25s;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff; }
.wc-block-components-button.outlined { border-radius: var(--radius); }
.wc-block-components-checkout-return-to-cart-button { color: var(--ink); }

/* Pola formularzy w blokach */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-select .wc-blocks-components-select__select {
	border-color: rgba(14, 14, 14, .22) !important;
	border-radius: var(--radius) !important;
	background: #fff;
}
.wc-block-components-text-input input:focus,
.wc-block-components-select .wc-blocks-components-select__select:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 1px var(--ink) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: var(--radius); }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked { border-color: var(--ink) !important; }

/* Powiadomienia */
.wc-block-components-notice-banner { border-radius: var(--radius); }

/* Klasyczne strony WooCommerce (moje konto, dziękujemy) */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 920px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a {
	display: block; padding: 13px 4px;
	font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; transition: padding .25s var(--ease), color .2s;
}
.woocommerce-MyAccount-navigation a:hover { color: var(--red); padding-left: 10px; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--red); box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon, .woocommerce form.lost_reset_password {
	padding: 24px; border: 1px solid rgba(14, 14, 14, .1); border-radius: 14px; background: #f6f5f4;
}
.woocommerce form .form-row label { font-size: 12px; font-weight: 600; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }
.woocommerce table.shop_table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.woocommerce-order-received .woocommerce-order { max-width: 860px; }
.woocommerce ul.order_details { padding: 18px 22px; border: 1px solid var(--line); background: #f6f5f4; }
@media (max-width: 800px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: minmax(0, 1fr); }
}

/* Kontakt */
.contact__card {
	border: 1px solid rgba(14, 14, 14, .08);
	border-top: 0;
	border-radius: 14px;
	background:
		radial-gradient(70% 70% at 100% 0%, rgba(208, 20, 44, .1), transparent 72%),
		#f6f5f4;
	overflow: hidden;
}
.contact__card::before { content: ""; display: block; height: 4px; margin: calc(clamp(32px, 5vw, 56px) * -1) calc(clamp(20px, 5vw, 56px) * -1) clamp(28px, 4vw, 44px); background: linear-gradient(90deg, #d0142c, #8f0c1e 55%, #0e0e0e); }

/* Krótkie opisy produktów w koszyku i podsumowaniu zamówienia tylko zaśmiecają widok */
.wc-block-components-product-metadata__description { display: none; }
.woocommerce-order-received .woocommerce-order > p:first-of-type { font-size: 16px; }
.woocommerce-order-received .woocommerce-order a { color: var(--ink); text-decoration-color: var(--red); }

@media (max-width: 520px) {
	.woocommerce div.product .buybox form.cart .single_add_to_cart_button,
	.woocommerce div.product .buybox form.cart button.single_add_to_cart_button.alt { padding: 0 10px; letter-spacing: .04em; font-size: 11px; gap: 8px; }
}

/* Najniższa cena z 30 dni (Omnibus) przy listach, pasku zakupu i w koszyku */
.omnibus { display: block; font-size: 11px; line-height: 1.4; color: var(--muted); }
.omnibus-wrap { margin: 0 0 16px; }
.omnibus--card { margin-top: 6px; font-size: 11.5px; }
.omnibus--bar { margin-top: 2px; font-size: 10.5px; font-weight: 400; font-family: var(--font-body); }
.omnibus--drawer { margin-top: 4px; font-size: 11.5px; }
.book-card .omnibus--card del, .omnibus del { text-decoration: none; }

/* =========================================================================
   Poprawki z audytu (1.8.1)
   ========================================================================= */
.fcheck { position: relative; }
.perks a { color: inherit; text-decoration: underline; text-decoration-color: rgba(14, 14, 14, .35); text-underline-offset: 3px; }
.perks a:hover { color: var(--red); text-decoration-color: var(--red); }

/* Błąd przy dodawaniu do koszyka */
.buybox__error { flex: 1 0 100%; margin: 0 0 4px; padding: 10px 12px; background: rgba(208, 20, 44, .1); color: var(--red-dark); font-size: 11.5px; font-weight: 600; order: -2; }
.buybox__error[hidden] { display: none; }

/* „Kup teraz” nieaktywne, dopóki nie wybrano wariantu */
.woocommerce-variation-add-to-cart-disabled .buy-now-button, .wc-variation-selection-needed ~ .buy-now-button { opacity: .45; pointer-events: none; }

/* Panele wysuwane: zamknięte nie biorą udziału w nawigacji klawiaturą i czytniku ekranu */
@media (max-width: 960px) {
	.shop-filters { visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
	.shop-filters.is-open { visibility: visible; transition-delay: 0s; }
}
/* Pasek administratora nie zasłania przycisków zamknięcia */
.admin-bar .cart-drawer__panel { top: 32px; }
@media (max-width: 960px) { .admin-bar .shop-filters { top: 32px; } }
@media (max-width: 782px) { .admin-bar .cart-drawer__panel, .admin-bar .shop-filters { top: 46px; } }

/* =========================================================================
   Karta książki: mniejsza okładka, dane wyżej, równa linia dostawy (1.8.2)
   ========================================================================= */
@media (min-width: 901px) {
	.book-single__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
	.book-single__cover { padding: clamp(16px, 2.2vw, 30px); }
}
.book-details { margin: 0 0 24px; }

/* Realizacja / dostawa / płatność: każda kolumna ma tę samą budowę (etykieta, ikona lub logo, tekst) */
.ship-info { align-items: start; gap: 14px 18px; }
.ship-info li { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.ship-info__label { margin-bottom: 8px; }
.ship-info__icon { display: flex; align-items: center; height: 30px; margin-bottom: 8px; color: var(--red); }
.ship-info__icon .icon { width: 24px; height: 24px; }
.woocommerce .ship-info .ship-info__logo { height: 28px; width: auto; max-width: 100%; }
.woocommerce .ship-info .ship-info__logo--paynow { height: 17px; margin: 0; }
.ship-info strong { font-size: 12px; line-height: 1.35; }
.ship-info small { margin-top: 2px; }
.perks { align-items: center; }
.perks li { gap: 8px; }
.perks .icon { width: 18px; height: 18px; flex: none; }

@media (max-width: 900px) {
	.book-single__cover { padding: 24px 28%; }
}
@media (max-width: 520px) {
	.ship-info li { flex-direction: row; align-items: center; gap: 12px; }
	.ship-info__label { flex: 0 0 74px; margin: 0; }
	.ship-info__icon { margin: 0; flex: none; width: 60px; height: 28px; }
	.ship-info strong { flex: 1; min-width: 0; }
	.ship-info small { display: none; }
}

/* =========================================================================
   Filtry: poziomy pasek nad produktami (1.11) – komputer.
   Telefon zostaje przy wysuwanym panelu z lewej (reguły powyżej).
   ========================================================================= */
.fradio { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.fradio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fradio__dot { flex: none; width: 18px; height: 18px; border: 1.5px solid #9a9a9a; border-radius: 50%; background: #fff; position: relative; transition: border-color .2s; }
.fradio__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--grad-red); transform: scale(0); transition: transform .2s var(--ease); }
.fradio input:checked + .fradio__dot { border-color: var(--red-dark); }
.fradio input:checked + .fradio__dot::after { transform: scale(1); }
.fradio input:checked ~ span:last-child { font-weight: 600; }
.fradio input:focus-visible + .fradio__dot { outline: 2px solid var(--red); outline-offset: 2px; }
.fsec__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 10px; background: var(--grad-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0; }

@media (min-width: 961px) {
	.shop-layout { display: block; }
	.shop-filters { position: static; max-height: none; overflow: visible; padding: 0; margin: 0 0 4px; }
	.shop-filters__head, .shop-filters .shop-filters__actions { display: none; }
	.shop-filters__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 30px; }
	.fsec, .fsec:last-of-type { position: relative; border: 0; }
	.fsec__title {
		padding: 16px 2px 13px;
		border-bottom: 1.5px solid var(--ink);
		font-family: var(--font-body);
		font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none;
		transition: border-color .2s;
	}
	.fsec__title:hover { border-bottom-color: var(--red); }
	.fsec[open] > .fsec__title { border-bottom-color: var(--red); }
	.fsec.has-active > .fsec__title .fsec__name { font-weight: 700; }
	.fsec__sortlabel { font-weight: 400; color: var(--muted); }
	.fsec__current { font-weight: 700; }
	.fsec__body {
		position: absolute; z-index: 30; left: 0; top: calc(100% + 8px);
		min-width: 280px; max-width: 360px; max-height: 380px; overflow-y: auto;
		padding: 16px 18px;
		background: #fff;
		border: 1px solid rgba(14, 14, 14, .12);
		box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .45);
		animation: pd-pop .18s var(--ease);
	}
	.fsec:nth-last-of-type(-n+2) .fsec__body { left: auto; right: 0; }
	@keyframes pd-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

	.shop-toolbar { padding-bottom: 0; margin-bottom: 20px; border-bottom: 0; }
	.shop-toolbar .woocommerce-result-count { font-size: 13px; color: var(--ink-2); }
	.shop-bar { margin-top: 14px; }

	.woocommerce .shop-results ul.products, .woocommerce-page .shop-results ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 961px) and (max-width: 1100px) {
	.woocommerce .shop-results ul.products, .woocommerce-page .shop-results ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Pasek filtrów w jednym rzędzie: sortowanie szersze, reszta po równo; zawija się dopiero na wąskim ekranie */
@media (min-width: 961px) {
	.shop-filters__form { display: flex; flex-wrap: wrap; gap: 0 22px; }
	.shop-filters__form > .fsec { flex: 1 1 104px; min-width: 0; }
	.shop-filters__form > .fsec--sort { flex: 1.7 1 168px; }
	.fsec__title { gap: 6px; }
	.fsec__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.fsec--sort .fsec__name { overflow: visible; }
}

/* Moje konto: układ, nawigacja, treść (1.12) ------------------------------------ */
.woocommerce-account.logged-in .woocommerce::before,
.woocommerce-account.logged-in .woocommerce::after { content: none; display: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; grid-column: 1; }
body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; grid-column: 2; min-width: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { color: var(--ink); }
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { color: var(--red); }
body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
@media (max-width: 800px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .woocommerce-MyAccount-content { grid-column: 1; }
}

.account-hello__title { margin: 0 0 6px; font-size: clamp(23px, 3vw, 31px); }
.account-hello__lead { margin: 0 0 24px; color: var(--muted); }
.account-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; }
.account-card {
	position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 20px 46px 18px 20px;
	border: 1px solid var(--line); border-radius: 14px; background: #f6f5f4; color: var(--ink); text-decoration: none;
	transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s;
}
.account-card strong { font-family: var(--font-display); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.account-card span { font-size: 11.5px; color: var(--muted); transition: color .3s; }
.account-card .icon { position: absolute; right: 18px; bottom: 18px; width: 20px; height: 20px; }
.account-card:hover { background: linear-gradient(135deg, #d0142c, #7a0a1a); border-color: transparent; color: #fff; transform: translateY(-2px); }
.account-card:hover span { color: rgba(255, 255, 255, .85); }
.account-card strong { color: inherit; }

/* Powiadomienia klasyczne (konto, koszyk, kasa): spokojna karta z czerwonym paskiem */
body .woocommerce-message, body .woocommerce-info, body .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
	margin: 0 0 22px; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-top-width: 1px; border-radius: 10px;
	background: #f6f5f4; color: var(--ink); font-size: 13.5px; list-style: none; width: auto;
}
body .woocommerce-message::before, body .woocommerce-info::before, body .woocommerce-error::before { content: none; display: none; }
body .woocommerce-error { border-left-color: #b00020; background: #fbf1f2; flex-direction: column; align-items: flex-start; }
body .woocommerce-message .button, body .woocommerce-info .button { float: none; margin: 0; order: 2; }
body .woocommerce-error li { margin: 0; }

/* Moje konto: treść */
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: clamp(17px, 2vw, 21px); margin: 0 0 14px; }
.woocommerce-MyAccount-content p { margin: 0 0 16px; }
.woocommerce-MyAccount-content mark { background: none; color: var(--ink); font-weight: 700; }
.woocommerce-MyAccount-content table.shop_table { width: 100%; border: 1px solid var(--line); border-collapse: collapse; }
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce-MyAccount-content table.shop_table thead th { background: #f6f5f4; }
.woocommerce-MyAccount-content table.shop_table td a:not(.button) { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); }
.woocommerce-MyAccount-content table.shop_table td a:not(.button):hover { color: var(--red); }
.woocommerce-MyAccount-content .woocommerce-orders-table .button { min-height: 38px; padding: 8px 16px; font-size: 11px; }
.woocommerce-MyAccount-content .woocommerce-pagination { margin-top: 18px; }
.woocommerce-MyAccount-content fieldset { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-MyAccount-content fieldset legend { padding: 0 8px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-MyAccount-content .form-row-first, .woocommerce-MyAccount-content .form-row-last { width: calc(50% - 10px); }
.woocommerce-MyAccount-content .form-row-first { float: left; }
.woocommerce-MyAccount-content .form-row-last { float: right; }
.woocommerce-MyAccount-content .form-row-wide, .woocommerce-MyAccount-content fieldset { clear: both; }
.woocommerce-MyAccount-content em { color: var(--muted); font-size: 12px; }
@media (max-width: 600px) {
	.woocommerce-MyAccount-content .form-row-first, .woocommerce-MyAccount-content .form-row-last { float: none; width: 100%; }
}

/* Adresy: dwie karty */
.woocommerce-MyAccount-content .woocommerce-Addresses, .woocommerce-account .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.woocommerce-MyAccount-content .woocommerce-Addresses::before, .woocommerce-MyAccount-content .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-columns--addresses::before, .woocommerce-account .woocommerce-columns--addresses::after { content: none; display: none; }
.woocommerce-account .woocommerce-Addresses .col-1, .woocommerce-account .woocommerce-Addresses .col-2,
.woocommerce-account .woocommerce-columns--addresses .col-1, .woocommerce-account .woocommerce-columns--addresses .col-2 { float: none; width: auto; max-width: none; margin: 0; }
.woocommerce-account .woocommerce-Address, .woocommerce-account .woocommerce-columns--addresses .woocommerce-column {
	display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #f6f5f4;
}
.woocommerce-account .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0 0 12px; }
.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-columns--addresses h2 { margin: 0 0 12px; font-size: 15px; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.woocommerce-account .woocommerce-Address-title h2 { margin: 0; }
.woocommerce-account .woocommerce-Address-title a.edit { color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--red); }
.woocommerce-account .woocommerce-Address-title a.edit:hover { color: var(--red); }
.woocommerce-account address { font-style: normal; line-height: 1.65; border: 0; padding: 0; }
.woocommerce-account .woocommerce-customer-details .woocommerce-column address { padding: 0; border: 0; }
body.woocommerce-account .woocommerce-Address-title { text-align: left; }
body.woocommerce-account .woocommerce-Address-title h2 { float: none; width: auto; text-align: left; }
body.woocommerce-account .woocommerce-Address-title a.edit { float: none; margin: 0; }
body.woocommerce-account .woocommerce-Address address { margin: 0; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title { text-align: left; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title h2,
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title a.edit { float: none; text-align: left; margin: 0; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title { display: block; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title h2 { display: block; margin: 0 0 8px; }
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title a.edit { display: inline-block; }

/* Logowanie / rejestracja / reset hasła */
body.woocommerce-account:not(.logged-in) .woocommerce { max-width: 980px; }
body.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
body.woocommerce-account #customer_login::before, body.woocommerce-account #customer_login::after { content: none; display: none; }
body.woocommerce-account #customer_login .u-column1, body.woocommerce-account #customer_login .u-column2 { float: none; width: auto; max-width: none; }
body.woocommerce-account #customer_login h2 { margin: 0 0 14px; font-size: clamp(19px, 2.2vw, 25px); }
body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register,
body.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password { margin: 0; padding: clamp(20px, 2.4vw, 30px); }
body.woocommerce-account:not(.logged-in) .woocommerce form.lost_reset_password { max-width: 560px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 11.5px; }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; }
.woocommerce form.login .form-row, .woocommerce form.register .form-row, .woocommerce form.lost_reset_password .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select { width: 100%; min-height: 46px; }
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 14px; font-size: 11.5px; font-weight: 500; vertical-align: middle; }
.woocommerce form.login .woocommerce-form-login__rememberme input { width: 16px; height: 16px; accent-color: var(--red); }
.woocommerce form.login .lost_password { margin: 6px 0 0; }
.woocommerce form.login .lost_password a { color: var(--ink); font-size: 11.5px; border-bottom: 1px solid var(--red); text-decoration: none; }
.woocommerce form.login .lost_password a:hover { color: var(--red); }
.woocommerce-privacy-policy-text p { margin: 0 0 16px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.woocommerce-privacy-policy-text a { color: var(--ink); }
.woocommerce form .show-password-input { right: 12px; }
@media (max-width: 760px) {
	body.woocommerce-account #customer_login { grid-template-columns: minmax(0, 1fr); }
}

body .woocommerce-MyAccount-content a.account-card, body .woocommerce-MyAccount-content a.account-card strong { color: var(--ink); text-decoration: none; }
body .woocommerce-MyAccount-content a.account-card span { color: var(--muted); }
body .woocommerce-MyAccount-content a.account-card:hover, body .woocommerce-MyAccount-content a.account-card:hover strong,
body .woocommerce-MyAccount-content a.account-card:hover span { color: #fff; }
@media (max-width: 800px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; overflow-x: auto; border-top: 0; padding-bottom: 4px; scrollbar-width: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; border: 0; }
	body.woocommerce-account .woocommerce-MyAccount-navigation a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; white-space: nowrap; box-shadow: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation a:hover { padding-left: 16px; }
	body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; padding-left: 16px; }
	.woocommerce-MyAccount-content table.shop_table_responsive tr td::before { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
}
@media (max-width: 600px) {
	body.woocommerce-account .woocommerce-MyAccount-content .form-row-first,
	body.woocommerce-account .woocommerce-MyAccount-content .form-row-last { float: none; width: 100%; }
}

/* Menu konta – spokojniejsze: stały odstęp od krawędzi, aktywna pozycja z czerwonym paskiem */
@media (min-width: 801px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul { border-top: 1px solid var(--line); }
	body.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line); }
	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		position: relative; padding: 14px 16px; border: 0; box-shadow: none; color: var(--ink);
		transition: background .2s, color .2s;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { padding: 14px 16px; background: #f6f5f4; color: var(--ink); }
	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { padding: 14px 16px; background: #f6f5f4; color: var(--ink); box-shadow: none; }
	body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
		content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--muted); }
	body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: var(--red); }
}

/* Pola formularzy: delikatny obrys wszędzie (1.12) --------------------------------- */
/* Obrys pól ≥ 3:1 do białego tła (WCAG 1.4.11), fokus pełną czerwienią. */
:root { --field-line: #8f8a87; --field-line-hover: #5f5a57; --field-ring: rgba(208, 20, 44, .22); }
body input[type="text"], body input[type="email"], body input[type="search"], body input[type="tel"], body input[type="url"],
body input[type="password"], body input[type="number"], body textarea, body select,
body .woocommerce form .form-row input.input-text, body .woocommerce form .form-row textarea, body .woocommerce form .form-row select,
body .woocommerce-MyAccount-content input.input-text,
body .wc-block-components-text-input input, body .wc-block-components-textarea,
body .wc-block-components-combobox .components-combobox-control__input,
body .wc-block-components-select .wc-blocks-components-select__select,
body .wc-block-components-quantity-selector {
	border: 1px solid var(--field-line) !important;
	border-radius: 10px !important;
	background-color: #fff;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
body input[type="text"]:hover, body input[type="email"]:hover, body input[type="search"]:hover, body input[type="tel"]:hover,
body input[type="password"]:hover, body input[type="number"]:hover, body textarea:hover, body select:hover,
body .wc-block-components-text-input input:hover, body .wc-block-components-select .wc-blocks-components-select__select:hover { border-color: var(--field-line-hover) !important; }
body input[type="text"]:focus, body input[type="email"]:focus, body input[type="search"]:focus, body input[type="tel"]:focus,
body input[type="password"]:focus, body input[type="number"]:focus, body textarea:focus, body select:focus,
body .woocommerce form .form-row input.input-text:focus, body .woocommerce form .form-row textarea:focus,
body .wc-block-components-text-input input:focus, body .wc-block-components-textarea:focus,
body .wc-block-components-select .wc-blocks-components-select__select:focus,
body .wc-block-components-combobox .components-combobox-control__input:focus {
	border-color: var(--red) !important;
	box-shadow: 0 0 0 3px var(--field-ring) !important;
	outline: none;
}
/* Pola w ciemnym nagłówku / wyszukiwarce nie dziedziczą jasnego obrysu */
.site-header input, .header-search input[type="search"] { box-shadow: none; }
.woocommerce-MyAccount-content fieldset { border-color: var(--field-line); }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control-accordion-option { border-color: var(--field-line) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked { border-color: rgba(14, 14, 14, .55) !important; }
.wc-block-components-text-input label, .wc-block-components-select label { color: var(--muted); }

/* Paczkomat InPost: przycisk wyboru punktu (wtyczka InPost) */
body .wc-block-checkout .easypack_show_geowidget, body button.easypack_show_geowidget, body #easypack_block_type_geowidget {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; margin: 12px 0 4px; padding: 0 22px;
	border: 0; border-radius: 0; background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2; text-align: center; white-space: nowrap; cursor: pointer;
	transition: background .2s, transform .2s var(--ease);
}
body #easypack_block_type_geowidget:hover { background: linear-gradient(135deg, #d0142c, #7a0a1a); color: #fff; transform: translateY(-1px); }
body #easypack_block_type_geowidget::before { content: ""; width: 14px; height: 14px; margin-right: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/></svg>") center/contain no-repeat; }
body #easypack_block_type_geowidget { width: 100%; max-width: 340px; white-space: normal; box-sizing: border-box; }

/* Telefon w kasie: stały prefiks +48 */
.wc-block-components-text-input:has(input[type="tel"]) { position: relative; }
.wc-block-components-text-input:has(input[type="tel"]) input[type="tel"] { padding-left: 52px !important; }
.wc-block-components-text-input:has(input[type="tel"]) label { left: 52px !important; }
.wc-block-components-text-input:has(input[type="tel"]).is-active label { left: 52px !important; }
.prodest-phone-prefix { position: absolute; left: 16px; bottom: 11px; padding-right: 10px; border-right: 1px solid var(--field-line, #e4e2e0); font-weight: 600; font-size: 14px; color: var(--ink); pointer-events: none; line-height: 1.6; }


/* =========================================================================
   Kasa – porządki (1.12)
   ========================================================================= */
body .wc-block-checkout { counter-reset: pd-step; }
body .wc-block-components-checkout-step { margin: 0 0 6px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
body .wc-block-components-checkout-step:last-of-type { border-bottom: 0; }
body .wc-block-components-checkout-step__heading { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
body .wc-block-components-checkout-step__heading::before {
	counter-increment: pd-step; content: counter(pd-step);
	display: inline-grid; place-items: center; flex: 0 0 auto; width: 28px; height: 26px;
	background: linear-gradient(135deg, #d0142c, #7a0a1a); color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700;
	clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
body .wc-block-components-checkout-step__title, body .wc-block-components-checkout-step__heading .wc-block-components-title {
	margin: 0; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
body .wc-block-components-checkout-step__description { margin: -8px 0 14px; color: var(--muted); font-size: 13px; }
body .wc-block-components-checkout-step__content { padding-left: 0; }

/* Podsumowanie po prawej: czysta karta, przyklejona przy przewijaniu */
body .wc-block-checkout__sidebar, body .wc-block-components-sidebar.wc-block-checkout__sidebar {
	background: #fff !important; border: 1px solid var(--line) !important; border-top: 3px solid var(--red) !important; border-radius: 0 !important;
	box-shadow: 0 16px 40px rgba(14, 14, 14, .07) !important; padding: 8px 22px 22px !important;
}
body .wc-block-checkout__sidebar .wc-block-components-order-summary, body .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body .wc-block-checkout__sidebar .wc-block-components-order-summary__button-text, body .wc-block-checkout__sidebar .wc-block-components-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body .wc-block-checkout__sidebar .wc-block-components-totals-footer-item { padding-top: 16px; border-top: 2px solid var(--ink); }
body .wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
body .wc-block-components-order-summary-item__image > img { border-radius: 0; }
body .wc-block-components-order-summary-item__quantity { background: var(--ink); color: #fff; border: 2px solid #fff; box-shadow: none; }

/* Opcje wysyłki i płatności jako karty */
body .wc-block-components-radio-control__option { padding: 16px 18px 16px 52px; transition: border-color .2s, background .2s; }
body .wc-block-components-radio-control__option:hover { background: #faf9f8; }
body .wc-block-components-radio-control__option-checked, body .wc-block-components-radio-control__option--checked-option-highlighted { background: #faf9f8; }
body .wc-block-components-radio-control__input { accent-color: var(--red); }
body .wc-block-components-radio-control__label { font-weight: 600; }
body .wc-block-components-radio-control__secondary-label { font-weight: 700; }
body .wc-block-checkout__shipping-option--free { color: #1b7a39; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
body .wc-block-components-radio-control-accordion-content { padding: 4px 18px 16px 52px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Znaczek InPost (wtyczka daje białe logo – pokazujemy je na ciemnym polu) */
body .inpost_pl-block-shipping-method-meta-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
body .inpost_pl_method_logo { display: inline-flex; align-items: center; padding: 5px 12px; background: var(--ink); }
body .inpost_pl_method_logo img.inpost_icon { height: 20px !important; width: auto; }
body #inpost_pl_block_delivery_terms { padding: 0; border: 0 !important; background: none !important; color: var(--muted); font-size: 12.5px; font-weight: 500; }

/* Przycisk zamówienia i stopka kasy */
body .wc-block-components-checkout-place-order-button, body .wc-block-checkout__actions_row .wc-block-components-button { min-height: 58px; font-size: 13px; letter-spacing: .12em; }
body .wc-block-checkout__actions::after { content: "Po złożeniu zamówienia wyślemy potwierdzenie na Twój adres e-mail."; display: block; margin-top: 14px; text-align: center; color: var(--muted); font-size: 12.5px; }
body .wc-block-checkout__terms { margin: 4px 0 18px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
body .wc-block-checkout__terms a { color: var(--ink); }
body .wc-block-components-checkout-return-to-cart-button { font-size: 13px; font-weight: 600; }
body .wc-block-components-checkbox label, body .wc-block-checkout__use-address-for-billing label { font-size: 13.5px; }

@media (max-width: 760px) {
	body .wc-block-checkout__sidebar, body .wc-block-components-sidebar.wc-block-checkout__sidebar { padding: 6px 16px 18px !important; }
	body .wc-block-components-radio-control__option { padding: 14px 14px 14px 46px; }
}
body .wc-block-checkout .wc-block-components-checkout-step { margin: 0 0 30px !important; padding: 0 0 30px !important; border-bottom: 1px solid var(--line); }
body .wc-block-checkout .wc-block-components-checkout-step:last-of-type, body .wc-block-checkout .wc-block-checkout__order-notes { border-bottom: 0; margin-bottom: 8px !important; padding-bottom: 0 !important; }
body .wc-block-components-radio-control-accordion-option { border: 1px solid var(--field-line) !important; overflow: hidden; }
body .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; box-shadow: none !important; }
body .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control-accordion-content { border: 0 !important; box-shadow: none !important; padding-top: 0; }
body .wc-block-components-radio-control-accordion-option--checked-option-highlighted, body .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) { border-color: rgba(14, 14, 14, .55) !important; background: #faf9f8; }
body #easypack_block_type_geowidget { width: auto; min-width: 230px; white-space: nowrap; }
body .wc-block-components-radio-control-accordion-option, body .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body .wc-block-components-radio-control__option, body .wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: none !important; }
body .wc-block-components-radio-control__input:not(:focus-visible) { outline: 0 !important; }
body .wc-block-components-radio-control-accordion-option--checked-option-highlighted, body .wc-block-components-radio-control__option--checked-option-highlighted { border-color: var(--ink) !important; }

/* Telefon: prefiks +48 w linii z wpisanym numerem */
.prodest-phone-prefix { left: 16px; bottom: 8px; padding: 0 12px 0 0; line-height: 19px; font-size: 16px; font-weight: 500; letter-spacing: 0; border-right: 0; }
.prodest-phone-prefix::after { content: ""; position: absolute; right: 0; top: -9px; bottom: -9px; width: 1px; background: var(--field-line, #e4e2e0); }
.wc-block-components-text-input:has(input[type="tel"]):not(.is-active) .prodest-phone-prefix { top: 50%; bottom: auto; transform: translateY(-50%); }
.wc-block-components-text-input:has(input[type="tel"]):not(.is-active) .prodest-phone-prefix::after { top: -14px; bottom: -14px; }
.wc-block-components-text-input:has(input[type="tel"]) input[type="tel"] { padding-left: 62px !important; }
.wc-block-components-text-input:has(input[type="tel"]) label, .wc-block-components-text-input:has(input[type="tel"]).is-active label { left: 62px !important; }

/* Telefon: placeholder tylko po kliknięciu w pole (inaczej nachodzi na etykietę) */
.wc-block-components-text-input input[type="tel"]::placeholder { color: transparent; }
.wc-block-components-text-input input[type="tel"]:focus::placeholder { color: #9b9895; }

/* Telefon: prefiks +48 – ta sama czcionka i linia co wpisany numer */
.prodest-phone-prefix { top: 24px; bottom: auto; height: 18px; line-height: 18px; font-size: 16px; font-weight: 400; color: var(--ink); padding: 0 11px 0 0; }
.prodest-phone-prefix::after { top: -6px; bottom: -6px; background: var(--field-line-hover, #cfcbc8); }
.wc-block-components-text-input:has(input[type="tel"]):not(.is-active) .prodest-phone-prefix { top: 50%; bottom: auto; height: 18px; transform: translateY(-50%); }
.wc-block-components-text-input:has(input[type="tel"]):not(.is-active) .prodest-phone-prefix::after { top: -10px; bottom: -10px; }
body #easypack_block_type_geowidget { font-size: 12.5px !important; letter-spacing: .08em !important; min-height: 46px; padding: 0 20px; }

/* =========================================================================
   Kasa: dostawa i płatność w jednym stylu kart (1.12)
   ========================================================================= */
/* Logo InPost: ciemny napis na jasnej karcie (wtyczka podaje białe logo) */
body .inpost_pl_method_logo { padding: 0; background: none; }
body .inpost_pl_method_logo img.inpost_icon { content: url("../img/brands/inpost-logo-dark.svg"); height: 26px !important; width: auto !important; max-width: none; display: block; }
body .inpost_pl-block-shipping-method-meta-wrap { margin-top: 10px; gap: 4px 14px; }

/* Przycisk „Wybierz punkt odbioru” w karcie Paczkomatu: karta obejmuje opcję dostawy i przycisk */
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content {
	border: 1px solid var(--field-line); border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .2s, background .2s;
}
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content:has(input[type="radio"]:checked) { border-color: var(--ink); background: #faf9f8; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option { border: 0 !important; background: transparent !important; border-radius: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control { margin: 0; }
body #easypack_block_type_geowidget {
	display: inline-flex; width: auto; min-height: 42px; margin: 0 18px 18px 52px; padding: 0 18px;
	font-size: 12px !important; letter-spacing: .08em !important; box-shadow: none; position: static;
}
body #easypack_block_type_geowidget:hover { box-shadow: none; transform: none; }
@media (max-width: 760px) { body #easypack_block_type_geowidget { margin: 0 14px 16px 46px; } }
body .inpost_pl_selected_point_data_wrap { margin: 0 0 18px; padding: 14px 16px; background: #faf9f8; border: 1px solid var(--field-line); border-left: 3px solid var(--red); font-size: 13.5px; line-height: 1.5; }

/* Płatności: karty jak przy dostawie */
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { margin: 0 0 10px; border-radius: 10px; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control__option { padding: 16px 18px 16px 52px; }
body .wc-block-components-payment-method-label--with-icon { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
body .wc-block-components-payment-method-label--with-icon img { flex: 0 0 auto; width: 52px; height: 26px; max-width: 52px; margin: 0; object-fit: contain; object-position: left center; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content { padding: 0 18px 18px 52px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content p { margin: 12px 0 10px; color: var(--ink); font-weight: 600; font-size: 13px; }
body .paynow-payment-option-pbls { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
body .paynow-payment-option-pbl { margin: 0 !important; width: auto !important; float: none !important; }
body .paynow-payment-option-pbl label, body .paynow-payment-option-pbl .paynow-payment-option-pbl__label { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px; border: 1px solid var(--field-line); border-radius: 8px; background: #fff; transition: border-color .2s; }
body .paynow-payment-option-pbl label:hover { border-color: var(--field-line-hover); }
body .paynow-payment-option-pbl img { max-width: 100%; max-height: 36px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 760px) {
	body .wc-block-checkout__payment-method .wc-block-components-radio-control__option { padding: 14px 14px 14px 46px; }
	body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content { padding: 0 14px 16px 14px; }
}
body .inpost_pl-block-shipping-method-meta-wrap { justify-content: flex-start; align-items: center; text-align: left; }
body .inpost_pl_block_shipping_meta { text-align: left; margin-left: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content { text-align: left; }
body #easypack_block_type_geowidget { margin-right: auto; }
body .inpost_pl-block-shipping-method-meta-wrap, body .inpost_pl_block_shipping_meta { display: flex; justify-content: flex-start; margin: 0 !important; padding: 0; width: auto; }
body .inpost_pl-block-shipping-method-meta-wrap { flex-direction: row; flex-wrap: wrap; width: 100%; }
body .inpost_pl_method_logo img.inpost_icon { margin: 0 !important; }

/* Płatności: ramka tylko przy wybranej metodzie, pozostałe oddzielone cienką linią */
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { margin: 0; border-color: transparent !important; border-radius: 10px; background: transparent; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-bottom-color: var(--line) !important; border-radius: 0; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted):hover { background: #faf9f8; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color: var(--ink) !important; background: #faf9f8; margin: 6px 0; }

/* WooCommerce rysuje dodatkową ramkę wokół całej listy opcji (::after) – wyłączamy, ramkę ma tylko wybrana opcja */
body .wc-block-components-radio-control--highlight-checked::after,
body .wc-block-components-radio-control--highlight-checked::before { display: none !important; border: 0 !important; box-shadow: none !important; }
body .wc-block-components-radio-control--highlight-checked { border: 0 !important; box-shadow: none !important; }

/* Dostawa i płatność: jeden styl bez ramek – wybrana opcja to jasne pole, pozostałe oddzielone linią (1.12) */
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content,
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content:has(input[type="radio"]:checked),
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	border: 0 !important; border-radius: 10px; background: #f6f5f4 !important; box-shadow: none !important;
}
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { border-color: transparent !important; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted { margin: 4px 0; border-bottom-color: transparent !important; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-bottom: 1px solid var(--line) !important; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-bottom: 0 !important; }
/* ten sam krój i grubość napisów w obu listach */
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__label,
body .wc-block-checkout__payment-method .wc-block-components-radio-control__label { font-size: 14px; font-weight: 600; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-label { font-size: 14px; font-weight: 700; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option, body .wc-block-checkout__payment-method .wc-block-components-radio-control__option { border-radius: 10px !important; }

/* Dostawa z wieloma metodami: każda opcja jak w płatnościach, przycisk punktu odbioru pod Paczkomatem w tym samym polu */
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content,
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content:has(input[type="radio"]:checked) { background: transparent !important; border: 0 !important; border-radius: 10px; overflow: hidden; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option { background: transparent !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option:last-of-type { border-bottom: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-checked { background: #f6f5f4 !important; border-bottom-color: transparent !important; }
body #easypack_block_type_geowidget {
	position: relative; margin: 14px 18px 18px 52px;
	box-shadow: 0 0 0 100vmax #f6f5f4; clip-path: inset(-14px -100vmax -18px -100vmax);
}
body #easypack_block_type_geowidget:hover { box-shadow: 0 0 0 100vmax #f6f5f4; }
@media (max-width: 760px) { body #easypack_block_type_geowidget { margin: 14px 14px 16px 46px; clip-path: inset(-14px -100vmax -16px -100vmax); } }

/* Dostawa = płatności: te same odstępy, wysokość, linie i zaznaczenie (1.12) */
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
body .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
	min-height: 56px; padding: 16px 18px 16px 52px; display: flex; align-items: center; box-sizing: border-box;
}
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option { margin: 0 !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option:last-of-type { border-bottom: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-checked {
	background: #f6f5f4 !important; border-bottom-color: transparent !important; border-radius: 10px !important; margin: 4px 0 !important;
}
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content:has(#easypack_block_type_geowidget) .wc-block-components-radio-control__option-checked:has(input[value^="easypack_parcel_machines"]) { border-radius: 10px 10px 0 0 !important; margin-bottom: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-layout, body .wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout { width: 100%; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__input, body .wc-block-checkout__payment-method .wc-block-components-radio-control__input { top: 50%; transform: translateY(-50%); }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__label-group { align-items: center; width: 100%; }
body #easypack_block_type_geowidget, body #easypack_block_type_geowidget:hover, body #easypack_block_type_geowidget:focus { box-shadow: 0 0 0 100vmax #f6f5f4 !important; }
body #easypack_block_type_geowidget { clip-path: inset(-26px -100vmax -18px -100vmax); }
@media (max-width: 760px) { body #easypack_block_type_geowidget { clip-path: inset(-26px -100vmax -16px -100vmax); } }

/* Bez kresek między metodami dostawy i płatności – odstęp zamiast linii */
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option,
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option:last-of-type,
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted),
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted) { border-bottom: 0 !important; border-top: 0 !important; box-shadow: none !important; }
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { margin: 2px 0 !important; border-radius: 10px !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option { margin: 2px 0 !important; border-radius: 10px !important; }
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content:has(#easypack_block_type_geowidget) .wc-block-components-radio-control__option-checked:has(input[value^="easypack_parcel_machines"]) { border-radius: 10px 10px 0 0 !important; margin-bottom: 0 !important; }
body .wc-block-checkout__shipping-option .wc-block-components-radio-control__option:hover, body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:not(.wc-block-components-radio-control-accordion-option--checked-option-highlighted):hover { background: #faf9f8 !important; }

/* WooCommerce rysuje kreski między opcjami jako ::after (1 px) – ukrywamy je w dostawie i płatnościach */
body .wc-block-checkout .wc-block-components-radio-control__option::after,
body .wc-block-checkout .wc-block-components-radio-control-accordion-option::after,
body .wc-block-checkout .wc-block-components-radio-control__option::before,
body .wc-block-checkout .wc-block-components-radio-control-accordion-option::before { content: none !important; display: none !important; }
/* Szare pole Paczkomatu bez białej szczeliny nad przyciskiem */
body .wc-block-checkout__shipping-option .wc-block-components-checkout-step__content > div:has(.wc-block-components-shipping-rates-control) { margin-bottom: 0 !important; }
body #easypack_block_type_geowidget { clip-path: inset(-15px -100vmax -18px -100vmax) !important; }
@media (max-width: 760px) { body #easypack_block_type_geowidget { clip-path: inset(-15px -100vmax -16px -100vmax) !important; } }
/* Płatności: jeden odcień zaznaczenia i logotypy także na telefonie */
body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { background: transparent !important; }
body .wc-block-checkout__payment-method .wc-block-components-payment-method-label--with-icon img { display: block !important; }
@media (max-width: 760px) {
	body .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content { padding: 0 14px 16px 46px; }
	body .wc-block-components-payment-method-label--with-icon { gap: 10px; }
	body .wc-block-components-payment-method-label--with-icon img { width: 44px; max-width: 44px; height: 22px; }
}
