/* SHARPI – poprawki 1.3.0: Promocje, menu na telefonie, ceny netto dla firm z zagranicy, komunikat o dostawie. */

/* ---------- mobile_menu_promo ---------- */
/* Na komputerze ukryte – reguły menu motywu (li { display: block !important }) są mocniejsze niż sama klasa. */
html body .sap-nav-extra,
html body .main-navigation .nav-menu > li.sap-nav-extra,
html body .main-navigation ul li.sap-nav-extra { display: none !important; }
@media (max-width: 992px) {
	html body.sap-f-mobile-menu-promo .main-navigation .nav-menu > li.sap-nav-extra { display: block !important; }
	html body.sap-f-mobile-menu-promo .main-navigation .nav-menu > li.sap-nav-extra > a {
		display: flex !important;
		align-items: center !important;
		gap: 10px !important;
		color: #fff !important;
		font-weight: 800 !important;
	}
	html body.sap-f-mobile-menu-promo .main-navigation .nav-menu > li.sap-nav-extra .sap-nav-tag {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-width: 38px !important;
		height: 22px !important;
		padding: 0 6px !important;
		border-radius: 999px !important;
		background: #F7941D !important;
		color: #111 !important;
		font-size: 11px !important;
		font-weight: 900 !important;
		letter-spacing: .04em !important;
		line-height: 1 !important;
	}
	html body.sap-f-mobile-menu-promo .main-navigation .nav-menu > li.sap-nav-extra--new .sap-nav-tag { background: #fff !important; }
	html body.sap-f-mobile-menu-promo .main-navigation .nav-menu > li.sap-nav-extra--new { border-bottom: 2px solid rgba(247, 148, 29, .55) !important; margin-bottom: 4px !important; }
}

/* ---------- b2b_net_prices ---------- */
.sap-net-tag { margin-left: .25em; font-size: .72em; font-weight: 700; text-transform: none; color: #5b6270; }
ins.sap-net-price { text-decoration: none; }
del.sap-retail { opacity: .75; margin-right: .3em; }

/* ---------- shipping_rules ---------- */
.sap-ship-progress__rule { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: #5b6270; font-weight: 500; }
tr.sap-ship-row td { padding: 6px 0 10px !important; border: 0 !important; }
.sap-ship-note { display: block !important; padding: 10px 12px !important; border-radius: 10px !important; background: #fff7ec !important; color: #1f2328 !important; font-size: 13.5px !important; line-height: 1.4 !important; text-align: left !important; }
.sap-ship-note.is-free { background: #ecfdf3 !important; }
.sap-ship-note strong { color: #111214 !important; }

/* ---------- promo_page: /promocje/ ----------
 * Strona to zwykła strona WordPressa: style treści stron (akapity z pomarańczową kreską, podkreślone linki,
 * listy z wcięciem) nie mogą trafić na listę produktów – stąd html body i !important. Karty jak w kategoriach. */
html body .sap-promo { margin: 0 0 40px !important; }
html body .sap-promo p, html body .sap-promo ul, html body .sap-promo li { border-left: 0 !important; background: none !important; padding-left: 0 !important; }
html body .sap-promo p { padding: 0 !important; }
html body .sap-promo a { text-decoration: none !important; }
html body .sap-promo .sap-promo__lead { margin: 2px 0 16px !important; color: #3d434c !important; font-size: 16px !important; text-align: center !important; }
html body .sap-promo .sap-promo__lead strong { color: #111214 !important; }
html body .sap-promo .sap-promo__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
html body .sap-promo a.sap-chip { display: inline-flex !important; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px !important; border: 1.5px solid #e2e5ea !important; border-radius: 999px !important; background: #fff !important; color: #111214 !important; font-size: 15px; font-weight: 700; }
html body .sap-promo a.sap-chip span { padding: 1px 7px; border-radius: 999px; background: #f1f3f6; color: #5b6270; font-size: 12.5px; font-weight: 700; }
html body .sap-promo a.sap-chip:hover { border-color: #F7941D !important; }
html body .sap-promo a.sap-chip.is-on { background: #111214 !important; border-color: #111214 !important; color: #fff !important; }
html body .sap-promo a.sap-chip.is-on span { background: #F7941D; color: #111214; }
html body .sap-promo .sap-promo__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #eceef2; }
html body .sap-promo .sap-promo__count { color: #5b6270; font-size: 14.5px; }
html body .sap-promo .sap-promo__sort { margin: 0 !important; }
html body .sap-promo .sap-promo__sort select { min-height: 40px; padding: 6px 34px 6px 12px; border: 1.5px solid #e2e5ea; border-radius: 10px; background-color: #fff; font-size: 14.5px; }
html body .sap-promo ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body .sap-promo ul.products::before, html body .sap-promo ul.products::after { display: none !important; }
html body .sap-promo ul.products li.product {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 16px !important;
	border: 1px solid rgba(0, 0, 0, .08) !important;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06) !important;
	list-style: none !important;
}
html body .sap-promo ul.products li.product::before, html body .sap-promo ul.products li.product::marker { content: none !important; display: none !important; }
html body .sap-promo ul.products li.product a.woocommerce-LoopProduct-link { display: block !important; color: #0f172a !important; }
html body .sap-promo ul.products li.product img { display: block !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; margin: 4px 0 12px !important; padding: 10px !important; border: 1px solid rgba(0, 0, 0, .06) !important; border-radius: 14px !important; background: #f8f9fa !important; }
html body .sap-promo ul.products li.product .woocommerce-loop-product__title { margin: 4px 0 8px !important; padding: 0 !important; color: #0f172a !important; font-size: 15px !important; font-weight: 800 !important; line-height: 1.3 !important; }
html body .sap-promo ul.products li.product .price { display: block !important; margin: auto 0 12px !important; color: #0f172a !important; font-size: 17px !important; font-weight: 800 !important; }
html body .sap-promo ul.products li.product .price del { margin-right: 6px; color: #8a919c !important; font-size: 14px !important; font-weight: 600 !important; opacity: 1 !important; }
html body .sap-promo ul.products li.product .price ins { color: #dc2626 !important; text-decoration: none !important; font-weight: 800 !important; }
html body .sap-promo ul.products li.product .button { display: block !important; margin: 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: 999px !important; background: #F7941D !important; color: #fff !important; font-size: 15px !important; font-weight: 800 !important; text-align: center !important; }
html body .sap-promo ul.products li.product .added_to_cart { display: block; margin-top: 6px; text-align: center; font-size: 13.5px; font-weight: 700; color: #111214 !important; }
html body .sap-promo .sap-off {
	position: absolute;
	z-index: 3;
	top: 24px;
	left: 24px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #dc2626;
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .01em;
	box-shadow: 0 6px 14px -8px rgba(220, 38, 38, .9);
}
html body .sap-promo .sap-promo__pages { margin: 24px 0 0; text-align: center; }
html body .sap-promo .sap-promo__pages ul { display: inline-flex !important; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important; border: 0 !important; }
html body .sap-promo .sap-promo__pages li { border: 0 !important; margin: 0 !important; }
html body .sap-promo .sap-promo__pages .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 10px; border-radius: 10px; border: 1.5px solid #e2e5ea; background: #fff; color: #111214 !important; font-weight: 700; }
html body .sap-promo .sap-promo__pages .page-numbers.current { background: #111214; border-color: #111214; color: #fff !important; }
html body .sap-promo .sap-promo__more { margin: 22px 0 0 !important; text-align: center; font-size: 15px; }
html body .sap-promo .sap-promo__more a { color: #111214 !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 3px; }
html body .sap-promo .sap-promo__empty { text-align: center; }
@media (max-width: 1100px) {
	html body .sap-promo ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
	html body .sap-promo ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	html body .sap-promo ul.products li.product { padding: 10px !important; border-radius: 14px !important; }
	html body .sap-promo ul.products li.product img { aspect-ratio: 4 / 3 !important; padding: 6px !important; margin: 0 0 8px !important; border-radius: 10px !important; }
	html body .sap-promo ul.products li.product .woocommerce-loop-product__title { font-size: 13.5px !important; display: -webkit-box !important; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden !important; }
	html body .sap-promo ul.products li.product .price { font-size: 15px !important; margin-bottom: 8px !important; }
	html body .sap-promo ul.products li.product .price del { display: block; font-size: 12.5px !important; }
	html body .sap-promo ul.products li.product .button { padding: 9px 8px !important; font-size: 13.5px !important; }
	html body .sap-promo .sap-off { top: 14px; left: 14px; font-size: 12.5px; padding: 3px 8px; }
}
@media (max-width: 640px) {
	html body .sap-promo .sap-promo__lead { font-size: 14.5px !important; text-align: left !important; }
	html body .sap-promo .sap-promo__chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; }
	html body .sap-promo .sap-promo__chips::-webkit-scrollbar { display: none; }
	html body .sap-promo a.sap-chip { flex: 0 0 auto; min-height: 36px; padding: 4px 12px !important; font-size: 14px; }
	html body .sap-promo .sap-promo__bar { padding: 8px 10px; }
	html body .sap-promo .sap-promo__count { font-size: 13px; }
	html body .sap-promo .sap-promo__sort select { font-size: 14px; }
}
