/* =========================================================
   Świąteczne Cuda – global theme colors & typography
   (Kadence + WooCommerce + TI Wishlist + My Account)
   ========================================================= */

:root {
	--sc-green: #1f4d3a;
	--sc-green-dark: #16382a;
	--sc-green-top: #1a4534;
	--sc-red: #c45c4a;
	--sc-red-hover: #a84a3b;
	--sc-beige: #e8dfd0;
	--sc-beige-dark: #d4c7b2;
	--sc-cream: #f7f4ef;
	--sc-text: #2a2a2a;
	--sc-muted: #5c5c5c;
	--sc-white: #ffffff;
	--sc-font-serif: "Cormorant Garamond", Georgia, serif;
	--sc-font-sans: "Source Sans 3", system-ui, sans-serif;
	--sc-font-script: "Caveat", cursive;

	/* Kadence global palette override (zamiast niebieskiego) */
	--global-palette1: #1f4d3a;
	--global-palette2: #16382a;
	--global-palette3: #1a4534;
	--global-palette4: #2a2a2a;
	--global-palette5: #5c5c5c;
	--global-palette6: #8a8a8a;
	--global-palette7: #e8dfd0;
	--global-palette8: #f7f4ef;
	--global-palette9: #ffffff;
	--global-palette10: #c45c4a;
	--global-palette-highlight: #1f4d3a;
	--global-palette-highlight-alt: #16382a;
	--global-palette-highlight-alt2: #ffffff;
	--global-palette-btn-bg: #1f4d3a;
	--global-palette-btn-bg-hover: #16382a;
	--global-palette-btn: #ffffff;
	--global-palette-btn-hover: #ffffff;
	--global-palette-btn-sec-bg: #e8dfd0;
	--global-palette-btn-sec-bg-hover: #1f4d3a;
	--global-palette-btn-sec: #1f4d3a;
	--global-palette-btn-sec-hover: #ffffff;
	--global-body-font-family: "Source Sans 3", system-ui, sans-serif;
	--global-heading-font-family: "Cormorant Garamond", Georgia, serif;
}

body,
body.kadence-elementor-colors {
	font-family: var(--sc-font-sans);
	color: var(--sc-text);
	background: var(--sc-cream);
}

body.kadence-elementor-colors {
	--e-global-color-kadence1: var(--sc-green);
	--e-global-color-kadence2: var(--sc-green-dark);
	--e-global-color-kadence10: var(--sc-red);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.woocommerce-products-header__title,
.woocommerce-MyAccount-navigation-link a,
.product_title {
	font-family: var(--sc-font-serif);
	color: var(--sc-green);
	font-weight: 600;
}

a {
	color: var(--sc-green);
}

a:hover,
a:focus {
	color: var(--sc-red);
}

.content-bg,
body.content-style-unboxed .site,
.entry.single-entry,
.entry.loop-entry {
	background: var(--sc-white);
}

/* ----- Buttons (site-wide) ----- */
/* Exclude account mobile tools button from global green button reset conflicts */
button:not(.tinvwl_add_to_wishlist_button):not(.sc-loop-cart-btn):not(.sc-login-modal__tab):not(.sc-login-modal__close):not(.sc-login-modal__toggle-pass):not(.sc-actions__login):not(.sc-actions__btn):not(.sc-nav-toggle):not(.sc-search-drawer__close):not(.sc-cart-drawer__close):not(.sc-cart-drawer__qty-btn):not(.sc-cart-drawer__remove):not(.sc-shop-drawer__close):not(.sc-shop-filters-toggle):not(.sc-toast__close):not(.sc-toast__undo):not(.sc-mobile-dock__search):not(.sc-mobile-dock__btn):not(.sc-account-mobile-tools__btn):not(.sc-about-gallery__nav):not(.sc-about-ornaments__nav):not(.sc-about-hero__nav):not(.sc-about-hero__dot):not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(.sc-stand-drawer__close):not(.sc-stand-status__action):not(.sc-stand-drawer__pick):not(.sc-stand-picked__qty-btn):not(.sc-stand-picked__change):not(.sc-stand-picked__clear):not(.wc-block-components-button):not(.sc-address-edit-btn):not(.sc-lightbox__close):not(.sc-lightbox__nav):not(.sc-lightbox__thumb),
.button:not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button):not(.sc-loop-cart-btn):not(.wc-block-components-button),
.wp-block-button__link:not(.sc-loop-cart-btn),
input[type="button"]:not(.easypack-search-button),
input[type="reset"],
input[type="submit"],
.woocommerce a.button:not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button):not(.sc-loop-cart-btn),
.woocommerce button.button:not(.tinvwl_add_to_wishlist_button):not(.sc-loop-cart-btn):not(.wc-block-components-button),
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt:not(.sc-loop-cart-btn),
.woocommerce button.button.alt:not(.sc-loop-cart-btn):not(.wc-block-components-button),
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page .button:not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button):not(.sc-loop-cart-btn):not(.wc-block-components-button),
.tinv-wishlist button:not(.tinvwl_add_to_wishlist_button),
.tinv-wishlist input[type="submit"],
.tinv-wishlist .button:not(.tinvwl_add_to_wishlist_button),
.wp-element-button:not(.tinvwl_add_to_wishlist_button):not(.sc-loop-cart-btn):not(.wc-block-components-button) {
	background: var(--sc-green) !important;
	border-color: var(--sc-green) !important;
	color: var(--sc-white) !important;
	border-radius: 4px !important;
	font-family: var(--sc-font-sans) !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

button:hover:not(.tinvwl_add_to_wishlist_button):not(.sc-loop-cart-btn):not(.sc-login-modal__tab):not(.sc-login-modal__close):not(.sc-login-modal__toggle-pass):not(.sc-actions__login):not(.sc-actions__btn):not(.sc-nav-toggle):not(.sc-search-drawer__close):not(.sc-cart-drawer__close):not(.sc-cart-drawer__qty-btn):not(.sc-cart-drawer__remove):not(.sc-shop-drawer__close):not(.sc-shop-filters-toggle):not(.sc-toast__close):not(.sc-toast__undo):not(.sc-mobile-dock__search):not(.sc-mobile-dock__btn):not(.sc-account-mobile-tools__btn):not(.sc-about-gallery__nav):not(.sc-about-ornaments__nav):not(.sc-about-hero__nav):not(.sc-about-hero__dot):not(.sc-stand-drawer__close):not(.sc-stand-status__action):not(.sc-stand-drawer__pick):not(.sc-stand-picked__qty-btn):not(.sc-stand-picked__change):not(.sc-stand-picked__clear):not(.wc-block-components-button):not(.sc-address-edit-btn):not(.sc-lightbox__close):not(.sc-lightbox__nav):not(.sc-lightbox__thumb),
.button:hover:not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button):not(.sc-loop-cart-btn):not(.wc-block-components-button),
.wp-block-button__link:hover:not(.sc-loop-cart-btn),
input[type="submit"]:hover,
.woocommerce a.button:hover:not(.tinvwl_add_to_wishlist_button):not(.tinvwl-button):not(.sc-loop-cart-btn),
.woocommerce button.button:hover:not(.tinvwl_add_to_wishlist_button):not(.sc-loop-cart-btn):not(.wc-block-components-button),
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover:not(.sc-loop-cart-btn),
.woocommerce button.button.alt:hover:not(.sc-loop-cart-btn):not(.wc-block-components-button),
.tinv-wishlist .button:hover:not(.tinvwl_add_to_wishlist_button),
.tinv-wishlist button:hover:not(.tinvwl_add_to_wishlist_button),
.tinv-wishlist input[type="submit"]:hover {
	background: var(--sc-green-dark) !important;
	border-color: var(--sc-green-dark) !important;
	color: var(--sc-white) !important;
}

/* Secondary / outline feel for some WC links */
.woocommerce a.button.disabled,
.woocommerce button.button.disabled {
	opacity: 0.55;
}

/* ----- Forms ----- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page .select2-container .select2-selection--single {
	border: 1px solid #d8d0c4 !important;
	border-radius: 4px !important;
	background: var(--sc-cream) !important;
	color: var(--sc-text) !important;
	font-family: var(--sc-font-sans);
}

input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--sc-green);
	outline-offset: 1px;
	border-color: var(--sc-green) !important;
}

/* ----- Page titles / heroes ----- */
.entry-hero,
.page-hero-section,
.woocommerce-products-header {
	background: var(--sc-white);
}

.entry-hero .entry-header,
.page-title-wrap {
	text-align: center;
}

/* ----- WooCommerce My Account (base; full panel in account.css) ----- */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	color: var(--sc-green);
}

/* Login / register */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-form-login,
.woocommerce-form-register {
	background: var(--sc-white);
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 10px;
	padding: 1.5rem;
}

/* ----- Shop / product loops ----- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--sc-green);
	font-weight: 600;
}

.woocommerce span.onsale {
	background: var(--sc-red) !important;
	color: var(--sc-white) !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-color: var(--sc-beige-dark);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--sc-green) !important;
	border-color: var(--sc-green) !important;
	color: var(--sc-white) !important;
}

/* ----- Cart / checkout ----- */
.woocommerce-cart table.cart,
.woocommerce-checkout #order_review,
.woocommerce table.shop_table {
	border-color: rgba(31, 77, 58, 0.12);
}

.sc-checkout-invoice {
	margin: 1.25rem 0 0.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(31, 77, 58, 0.14);
	border-radius: 8px;
	background: var(--sc-cream, #f7f4ef);
}

.sc-checkout-invoice__row {
	margin: 0 0 0.65rem !important;
}

.sc-checkout-invoice__row:last-of-type {
	margin-bottom: 0 !important;
}

.sc-checkout-invoice__label {
	display: flex !important;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0 !important;
	font-weight: 500;
	color: var(--sc-text, #2a2a2a);
	cursor: pointer;
}

.sc-checkout-invoice__label input {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.sc-checkout-invoice__nip {
	display: none;
	margin: 0.85rem 0 0 !important;
}

.sc-checkout-invoice__nip.is-visible {
	display: block;
}

.sc-checkout-invoice__nip label {
	font-weight: 600;
	color: var(--sc-green, #1f4d3a);
}

.sc-checkout-invoice--blocks {
	margin: 1rem 0 1.25rem;
}

.sc-checkout-invoice--blocks .wc-block-components-checkbox,
.sc-checkout-invoice--blocks .wc-block-components-text-input {
	margin: 0 0 0.65rem;
}

.sc-checkout-invoice--blocks .wc-block-components-checkbox:last-child,
.sc-checkout-invoice--blocks .wc-block-components-text-input:last-child {
	margin-bottom: 0;
}

/* VAT-exempt note under "Łącznie" in checkout order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-totals-block::after {
	content: "Sprzedaż zwolniona z VAT";
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0.75rem 0 0.35rem;
	padding: 0 1rem;
	color: var(--sc-red, #c45c4a);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	letter-spacing: 0.01em;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td::after {
	content: "Sprzedaż zwolniona z VAT";
	display: block;
	width: 100%;
	margin-top: 0.75rem;
	color: var(--sc-red, #c45c4a);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	letter-spacing: 0.01em;
}

/* ----- Checkout section cards ----- */
body.woocommerce-checkout .wc-block-checkout__main {
	--sc-checkout-card-gap: 1.35rem;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__form {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--sc-checkout-card-gap) !important;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-terms-block {
	margin: 0 !important;
	padding: 1.15rem 1.25rem 1.2rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.55));
	box-shadow: 0 4px 16px rgba(31, 77, 58, 0.05);
	box-sizing: border-box;
}

/* Invoice fields: keep inner style, don't add a second outer card when nested */
body.woocommerce-checkout .wc-block-checkout__main .sc-checkout-invoice--blocks {
	margin: 0.85rem 0 0 !important;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(31, 77, 58, 0.1);
	border-radius: 8px;
	background: rgba(247, 244, 239, 0.65);
	box-shadow: none;
}

/* Merge "Dodatkowe informacje" + order note into one card */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block:has(+ .wp-block-woocommerce-checkout-order-note-block) {
	margin: 0 !important;
	padding: 1.15rem 1.25rem 0.55rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.55));
	box-shadow: none;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block:has(+ .wp-block-woocommerce-checkout-order-note-block) .wc-block-components-checkout-step {
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block + .wp-block-woocommerce-checkout-order-note-block {
	margin: calc(var(--sc-checkout-card-gap) * -1) 0 0 !important;
	padding: 0.35rem 1.25rem 1.2rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.55));
	box-shadow: 0 4px 16px rgba(31, 77, 58, 0.05);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block + .wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step {
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__heading {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__title {
	display: inline-flex;
	align-items: center;
	gap: 0;
	margin: 0;
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif);
	color: var(--sc-green, #1f4d3a);
	font-weight: 700;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	letter-spacing: 0.01em;
	line-height: 1.25;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__heading::before {
	content: "";
	flex: 0 0 2.55rem;
	width: 2.55rem;
	height: 2.55rem;
	margin-top: -0.1rem;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	-webkit-mask-image: none;
	mask-image: none;
}

/* Contact */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__heading::before {
	background-image: url("../images/checkout-icon-contact.png");
}

/* Shipping / billing address */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__heading::before,
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__heading::before {
	background-image: url("../images/checkout-icon-address.png");
}

/* Shipping methods – fragile glass box */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__heading::before,
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-shipping-method-block .wc-block-components-checkout-step__heading::before {
	background-image: url("../images/checkout-fragile-box.png");
}

/* Payment */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__heading::before {
	background-image: url("../images/checkout-icon-payment.png");
}

/* Additional info / order note */
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__heading::before,
body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkout-step__heading::before {
	background-image: url("../images/checkout-icon-notes.png");
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__description {
	color: var(--sc-muted, #5c5c5c);
}

/* Address card "Edytuj" – positioning handled in checkout-layout.css */
body.woocommerce-checkout .wc-block-components-address-card {
	position: relative;
}

body.woocommerce-checkout .wc-block-components-address-card__address {
	min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number {
	padding-left: 2.85rem;
}

body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-actions-block {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	padding: 1.05rem 0.85rem 1.1rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.55));
	box-shadow: 0 4px 16px rgba(31, 77, 58, 0.05);
	box-sizing: border-box;
}

/* Mobile: order summary under form fields, above terms + place-order */
@media (max-width: 781px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		display: flex !important;
		flex-direction: column !important;
	}

	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main {
		order: 1 !important;
	}

	/* Top sidebar summary is handled in checkout-layout.css */
}

/* Classic shortcode checkout sections */
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review,
body.woocommerce-checkout form.checkout.woocommerce-checkout #payment {
	margin: 0 0 1.35rem;
	padding: 1.15rem 1.25rem 1.2rem;
	border: 1px solid rgba(31, 77, 58, 0.12);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.55));
	box-shadow: 0 4px 16px rgba(31, 77, 58, 0.05);
	box-sizing: border-box;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading {
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif);
	color: var(--sc-green, #1f4d3a);
	font-weight: 600;
}

@media (max-width: 600px) {
	body.woocommerce-checkout .wc-block-checkout__main {
		--sc-checkout-card-gap: 1.15rem;
	}

	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-express-payment,
	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-terms-block,
	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block:has(+ .wp-block-woocommerce-checkout-order-note-block),
	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block + .wp-block-woocommerce-checkout-order-note-block,
	body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-shipping-fields,
	body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review,
	body.woocommerce-checkout form.checkout.woocommerce-checkout #payment {
		padding-left: 0.95rem;
		padding-right: 0.95rem;
		border-radius: 10px;
	}

	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block:has(+ .wp-block-woocommerce-checkout-order-note-block) {
		border-radius: 10px 10px 0 0;
		padding-bottom: 0.45rem;
	}

	body.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-additional-information-block + .wp-block-woocommerce-checkout-order-note-block {
		border-radius: 0 0 10px 10px;
		padding-top: 0.3rem;
		padding-bottom: 1.05rem;
	}

	body.woocommerce-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number {
		padding-left: 0.95rem;
		padding-top: 2.6rem;
	}
}

/* ----- Free shipping progress bar ----- */
.sc-fs-bar {
	--sc-fs-accent: #c45c4a;
	--sc-fs-green: var(--sc-green, #1f4d3a);
	margin: 0 0 1.25rem;
	padding: 1rem 1.05rem 0.95rem;
	border: 2px solid rgba(196, 92, 74, 0.35);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 239, 0.98)),
		radial-gradient(120% 80% at 100% 0%, rgba(196, 92, 74, 0.12), transparent 55%);
	box-shadow: 0 8px 22px rgba(31, 77, 58, 0.08);
	box-sizing: border-box;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sc-fs-bar.is-pulse {
	animation: sc-fs-pulse 0.65s ease;
}

@keyframes sc-fs-pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 8px 22px rgba(31, 77, 58, 0.08);
	}
	40% {
		transform: scale(1.015);
		box-shadow: 0 10px 28px rgba(196, 92, 74, 0.22);
		border-color: rgba(196, 92, 74, 0.55);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 8px 22px rgba(31, 77, 58, 0.08);
	}
}

.sc-fs-bar__top {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 0.7rem;
}

.sc-fs-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: rgba(196, 92, 74, 0.12);
	color: var(--sc-fs-accent);
}

.sc-fs-bar__copy {
	min-width: 0;
	flex: 1;
}

.sc-fs-bar__eyebrow {
	margin: 0 0 0.2rem;
	font-family: var(--sc-font-sans, "Source Sans 3", system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sc-fs-accent);
}

.sc-fs-bar__msg {
	margin: 0;
	font-family: var(--sc-font-sans, "Source Sans 3", system-ui, sans-serif);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--sc-fs-green);
}

.sc-fs-bar__amount {
	display: inline-block;
	padding: 0.05em 0.28em;
	border-radius: 0.35em;
	background: rgba(196, 92, 74, 0.14);
	color: var(--sc-fs-accent);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.sc-fs-bar__track {
	height: 0.72rem;
	border-radius: 999px;
	background: rgba(31, 77, 58, 0.12);
	overflow: hidden;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.sc-fs-bar__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--sc-fs-accent), #d4783f 55%, #2f6b52);
	transition: width 0.45s ease;
}

.sc-fs-bar.is-unlocked {
	border-color: rgba(47, 107, 82, 0.4);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 246, 240, 0.98)),
		radial-gradient(120% 80% at 100% 0%, rgba(47, 107, 82, 0.14), transparent 55%);
}

.sc-fs-bar.is-unlocked .sc-fs-bar__icon {
	background: rgba(47, 107, 82, 0.14);
	color: #2f6b52;
}

.sc-fs-bar.is-unlocked .sc-fs-bar__eyebrow {
	color: #2f6b52;
}

.sc-fs-bar.is-unlocked .sc-fs-bar__fill {
	background: linear-gradient(90deg, #2f6b52, #3d8a68);
}

.sc-fs-bar.is-unlocked .sc-fs-bar__msg {
	color: #2f6b52;
}

.sc-fs-bar__ratio {
	margin: 0.5rem 0 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35rem;
	font-family: var(--sc-font-sans, "Source Sans 3", system-ui, sans-serif);
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--sc-muted, #5c5c5c);
	font-variant-numeric: tabular-nums;
}

.sc-fs-bar__ratio-sep {
	opacity: 0.55;
	font-weight: 500;
}

.sc-fs-bar__ratio [data-sc-fs-current] {
	color: var(--sc-fs-green);
}

.sc-fs-bar--search {
	margin: 0.75rem 0 0.35rem;
}

.sc-search-drawer__fs {
	padding: 0 1.1rem;
}

.sc-fs-bar--drawer {
	margin: 0;
}

.sc-cart-drawer__fs {
	margin: 0 0 0.75rem;
}

.sc-fs-bar--summary {
	margin: 0 0 1rem;
}

.sc-fs-bar-fragment-source {
	display: none !important;
}

/* ----- Empty cart (festive) ----- */
.sc-empty-cart,
body.woocommerce-cart .sc-empty-cart {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 0.35rem;
	padding: 2.25rem 1.25rem 1.75rem;
	margin: 0 auto 0.5rem;
	max-width: 28rem;
}

.sc-empty-cart__media {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.85rem;
}

.sc-empty-cart__halo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 7.5rem;
	height: 7.5rem;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(232, 223, 208, 0.65) 62%, rgba(31, 77, 58, 0.08) 100%);
	border: 1px solid rgba(31, 77, 58, 0.12);
	color: var(--sc-green, #1f4d3a);
	box-shadow: 0 10px 28px rgba(31, 77, 58, 0.08);
}

.sc-empty-cart__tree {
	width: 3.6rem;
	height: auto;
	display: block;
}

.sc-empty-cart__title {
	margin: 0 !important;
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif) !important;
	font-size: clamp(1.85rem, 3.2vw, 2.35rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.01em;
	color: var(--sc-green, #1f4d3a) !important;
}

.sc-empty-cart__sub {
	margin: 0.15rem 0 0 !important;
	font-family: var(--sc-font-script, "Caveat", cursive) !important;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: var(--sc-green, #1f4d3a) !important;
	opacity: 0.92;
}

.sc-empty-cart__cta {
	margin: 1.15rem 0 0 !important;
}

.sc-empty-cart__btn.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.85rem 1.5rem;
	border-radius: 4px;
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif) !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	background: var(--sc-green, #1f4d3a) !important;
	border: 0 !important;
	color: #fff !important;
	transition: background 0.2s ease;
}

.sc-empty-cart__btn.sc-btn:hover {
	background: var(--sc-green-dark, #16382a) !important;
	color: #fff !important;
}

button.sc-empty-cart__btn.sc-btn {
	cursor: pointer;
	border: 0;
	appearance: none;
	-webkit-appearance: none;
}

/* ----- Error / 404 / empty search (same layout as empty cart) ----- */
.sc-error-page {
	min-height: min(70vh, 40rem);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 0 3.25rem;
	box-sizing: border-box;
}

.sc-error-page__inner {
	width: 100%;
	max-width: 40rem;
	margin: 0 auto;
}

/* Header logo clone – centered + larger on coded error pages (not 404) */
.sc-error-state--logo .sc-logo--error {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 auto 2rem;
	text-decoration: none;
	color: var(--sc-green, #1f4d3a);
	pointer-events: none;
}

.sc-error-state--logo .sc-logo--error .sc-logo__mark {
	width: 5.25rem;
	height: 5.25rem;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 50%;
}

.sc-error-state--logo .sc-logo--error .sc-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-align: left;
}

.sc-error-state--logo .sc-logo--error .sc-logo__name {
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(2.1rem, 4.5vw, 2.85rem);
	font-weight: 700;
	color: var(--sc-green, #1f4d3a);
}

.sc-error-state--logo .sc-logo--error .sc-logo__tag {
	margin-top: 0.35rem;
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	font-size: clamp(0.7rem, 1.4vw, 0.82rem);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-muted, #5c5c5c);
}

.sc-error-state--logo {
	max-width: 36rem;
	gap: 0.35rem;
}

.sc-error-state--logo .sc-empty-cart__title {
	margin-top: 0.35rem !important;
}

.sc-error-state--logo .sc-empty-cart__btn.sc-btn,
.sc-error-state--logo button.sc-empty-cart__btn {
	cursor: pointer;
	border: 0;
	appearance: none;
	-webkit-appearance: none;
}

@media (max-width: 520px) {
	.sc-error-state--logo .sc-logo--error {
		flex-direction: column;
		gap: 0.75rem;
	}

	.sc-error-state--logo .sc-logo--error .sc-logo__text {
		align-items: center;
		text-align: center;
	}

	.sc-error-state--logo .sc-logo--error .sc-logo__mark {
		width: 4.5rem;
		height: 4.5rem;
	}
}

/* legacy class cleanup if old markup cached */
.sc-error-brand { display: none !important; }

body.sc-error-page-body .entry-hero,
body.sc-error-page-body .entry-header.page-header,
body.sc-error-page-body .kadence-breadcrumbs,
body.sc-error-page-body .wp-site-blocks > .entry-content > .wp-block-post-title,
body.sc-error-page-body .content-wrap > .entry > .entry-content > *:not(.sc-error-page):not(main),
body.sc-error-page-body #error-page {
	display: none !important;
}

body.sc-error-page-body--standalone {
	margin: 0;
	min-height: 100vh;
	background: var(--sc-cream, #f7f4ef);
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	color: var(--sc-text, #2a2a2a);
}

body.sc-error-page-body--standalone .sc-error-page {
	min-height: 100vh;
}

.sc-search-page__header {
	text-align: center;
	margin: 0 0 1.75rem;
}

.sc-search-page__title {
	margin: 0;
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 600;
	color: var(--sc-green, #1f4d3a);
}

.sc-search-page__item {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(31, 77, 58, 0.12);
}

.sc-search-page__item-title {
	margin: 0 0 0.35rem;
	font-family: var(--sc-font-serif, "Cormorant Garamond", Georgia, serif);
	font-size: 1.25rem;
	font-weight: 600;
}

.sc-search-page__item-title a {
	color: var(--sc-green, #1f4d3a);
	text-decoration: none;
}

.sc-search-page__item-title a:hover {
	color: var(--sc-red, #c45c4a);
}

/* Hide default Woo empty-cart sad-face (::before) and leftovers */
body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before,
body.woocommerce-cart .with-empty-cart-icon::before,
body.woocommerce-cart h1.with-empty-cart-icon::before,
body.woocommerce-cart h2.with-empty-cart-icon::before {
	content: none !important;
	display: none !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .with-empty-cart-icon:not(.sc-empty-cart__title) {
	display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > hr.wp-block-separator,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .is-style-dots,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots {
	display: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-message-block:has(.sc-empty-cart),
body.woocommerce-cart .wc-block-cart__empty-cart__:has(.sc-empty-cart) {
	border: 0 !important;
	background: transparent !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__ > *:not(.sc-empty-cart),
body.woocommerce-cart .wp-block-woocommerce-empty-cart-message-block > *:not(.sc-empty-cart) {
	display: none !important;
}

/* ----- InPost / Paczkomat map modal (EasyPack + Geowidget) ----- */
/* Overlay tylko gdy body ma klasę z JS (znika po zamknięciu okna). */
body.sc-inpost-modal-open::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(15, 30, 24, 0.58);
	pointer-events: none;
}

#widget-modal,
.easypack-widget {
	position: relative;
	z-index: 100000 !important;
	border-radius: 14px !important;
	overflow: hidden !important;
	border: 1px solid rgba(26, 69, 52, 0.22) !important;
	box-shadow:
		0 28px 80px rgba(0, 0, 0, 0.38),
		0 0 0 1px rgba(255, 255, 255, 0.35) inset !important;
	background: #fff !important;
}

#widget-modal {
	isolation: isolate;
	padding: 0 !important;
}

/* Więcej oddechu: nagłówek / wyszukiwarka */
#widget-modal > div:first-child,
#widget-modal .easypack-search,
#widget-modal form,
.easypack-widget .easypack-search,
.easypack-widget form {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
	padding: 1rem 1.15rem !important;
	box-sizing: border-box !important;
	background: #f4f1ec !important;
	border-bottom: 1px solid rgba(26, 69, 52, 0.1) !important;
}

#widget-modal input[type="text"],
#widget-modal input[type="search"],
.easypack-widget input[type="text"],
.easypack-widget input[type="search"] {
	background: #fff !important;
	color: #1a1a1a !important;
	border: 1px solid #cfd6d2 !important;
	min-height: 2.85rem !important;
	padding: 0.65rem 0.9rem !important;
	font-size: 0.98rem !important;
	line-height: 1.35 !important;
	flex: 1 1 auto !important;
}

/* Nie nadpisuj kontrolek mapy globalnym zielonym buttonem */
#widget-modal button,
#widget-modal input[type="button"],
#widget-modal input[type="submit"],
#widget-modal .button,
.easypack-widget button,
.easypack-widget input[type="button"],
.easypack-widget input[type="submit"],
[class*="easypack"] button,
[class*="inpost"] button,
[class*="geowidget"] button,
.leaflet-bar a,
.leaflet-control a,
.leaflet-control button,
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	background: #fff !important;
	border: 1px solid #cfd6d2 !important;
	color: #1a4534 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
	text-shadow: none !important;
	font-weight: 600 !important;
	min-width: 2.5rem;
	min-height: 2.5rem;
}

#widget-modal button:hover,
.easypack-widget button:hover,
.leaflet-bar a:hover,
.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
	background: #f3f6f4 !important;
	border-color: #1a4534 !important;
	color: #1a4534 !important;
}

/* Przycisk wyszukiwania w nagłówku mapy */
#widget-modal .easypack-search-button,
#widget-modal button[class*="search"],
#widget-modal .search-button,
.easypack-widget .easypack-search-button,
.easypack-widget button[type="submit"],
#widget-modal form button {
	background: var(--sc-green, #1f4d3a) !important;
	border-color: var(--sc-green, #1f4d3a) !important;
	color: #fff !important;
	width: 2.85rem !important;
	min-width: 2.85rem !important;
	min-height: 2.85rem !important;
	border-radius: 8px !important;
	position: relative;
	flex: 0 0 auto !important;
}

#widget-modal .easypack-search-button::before,
#widget-modal button[class*="search"]::before,
#widget-modal form button::before,
.easypack-widget .easypack-search-button::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1.05rem;
	height: 1.05rem;
	border: 2px solid #fff;
	border-radius: 50%;
	box-sizing: border-box;
	transform: translate(-2px, -2px);
	pointer-events: none;
}

#widget-modal .easypack-search-button::after,
#widget-modal button[class*="search"]::after,
#widget-modal form button::after,
.easypack-widget .easypack-search-button::after {
	content: "";
	position: absolute;
	width: 0.55rem;
	height: 2px;
	background: #fff;
	right: 0.55rem;
	bottom: 0.7rem;
	transform: rotate(45deg);
	pointer-events: none;
}

/* Przycisk zamykania */
#widget-modal .easypack-close,
#widget-modal [class*="close"],
#widget-modal button[aria-label*="Zamkn"],
#widget-modal button[title*="Zamkn"] {
	margin-left: 0.35rem !important;
	min-width: 2.5rem !important;
	min-height: 2.5rem !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
}

/* Mapa – odstęp od krawędzi kontrolek */
#widget-modal .leaflet-container,
.easypack-widget .leaflet-container {
	min-height: 360px;
}

#widget-modal .leaflet-top.leaflet-left,
.easypack-widget .leaflet-top.leaflet-left {
	top: 14px !important;
	left: 14px !important;
}

#widget-modal .leaflet-bar,
.easypack-widget .leaflet-bar {
	border: 0 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

#widget-modal .leaflet-bar a,
.easypack-widget .leaflet-bar a {
	width: 2.35rem !important;
	height: 2.35rem !important;
	line-height: 2.35rem !important;
	font-size: 1.2rem !important;
	color: #1a4534 !important;
	background: #fff !important;
}

/* Stopka MAPA / LISTA */
#widget-modal [class*="tab"],
#widget-modal .easypack-switch,
.easypack-widget .easypack-switch {
	background: #1a4534 !important;
	color: #fff !important;
	padding: 0.85rem 1rem !important;
	gap: 0.5rem !important;
	min-height: 3.25rem !important;
}

#widget-modal [class*="tab"] > *,
#widget-modal .easypack-switch > * {
	padding: 0.55rem 1rem !important;
}

/* Checkout topper: crumbs on top + centered circle progress */
.sc-site-header .sc-checkout-topper,
.sc-checkout-topper {
	width: 100%;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 239, 0.96));
	border-bottom: 1px solid rgba(31, 77, 58, 0.1);
	box-shadow: 0 6px 18px rgba(31, 77, 58, 0.05);
}

.sc-checkout-crumbs {
	width: 100%;
	background: transparent;
	border-bottom: 0;
}

.sc-checkout-crumbs__inner {
	width: min(100% - 2rem, var(--sc-container, 1180px));
	margin: 0 auto;
	padding: 0.7rem 0 0.15rem;
	box-sizing: border-box;
}

.sc-checkout-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--sc-muted, #5c5c5c);
}

.sc-checkout-crumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
}

.sc-checkout-crumbs__item:not(:last-child)::after {
	content: "›";
	color: var(--sc-green, #1f4d3a);
	font-size: 1em;
	font-weight: 700;
	line-height: 1;
	opacity: 0.55;
}

.sc-checkout-crumbs__link {
	color: var(--sc-green, #1f4d3a);
	text-decoration: none;
	font-weight: 600;
}

.sc-checkout-crumbs__link:hover {
	color: var(--sc-green-dark, #16382a);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.sc-checkout-crumbs__current {
	color: var(--sc-text, #2a2a2a);
	font-weight: 700;
}

.sc-checkout-steps {
	width: 100%;
	background: transparent;
	color: var(--sc-text, #2a2a2a);
}

.sc-checkout-steps__list {
	list-style: none;
	margin: 0 auto;
	padding: 1.15rem 1rem 1.35rem;
	width: min(100%, 34rem);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
	box-sizing: border-box;
}

.sc-checkout-steps__item {
	position: relative;
	flex: 1 1 0;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.sc-checkout-steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 1.05rem;
	left: calc(50% + 1.25rem);
	right: calc(-50% + 1.25rem);
	height: 2px;
	background: rgba(31, 77, 58, 0.18);
	z-index: 0;
}

.sc-checkout-steps__item.is-done:not(:last-child)::after,
.sc-checkout-steps__item.is-current:not(:last-child)::after {
	background: var(--sc-green, #1f4d3a);
}

.sc-checkout-steps__node {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 7.5rem;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.sc-checkout-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 999px;
	border: 2px solid rgba(31, 77, 58, 0.28);
	background: #fff;
	color: rgba(31, 77, 58, 0.55);
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(31, 77, 58, 0.08);
}

.sc-checkout-steps__text {
	font-family: var(--sc-font-sans, "Source Sans 3", sans-serif);
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	color: var(--sc-muted, #5c5c5c);
}

.sc-checkout-steps__item.is-done .sc-checkout-steps__num {
	background: var(--sc-green, #1f4d3a);
	border-color: var(--sc-green, #1f4d3a);
	color: transparent;
	position: relative;
}

.sc-checkout-steps__item.is-done .sc-checkout-steps__num::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 0.42rem;
	height: 0.78rem;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: translate(-50%, -55%) rotate(45deg);
}

.sc-checkout-steps__item.is-done .sc-checkout-steps__text {
	color: var(--sc-green, #1f4d3a);
	font-weight: 700;
}

.sc-checkout-steps__item.is-current .sc-checkout-steps__num {
	background: var(--sc-green, #1f4d3a);
	border-color: var(--sc-green, #1f4d3a);
	color: #fff;
	box-shadow: 0 4px 14px rgba(31, 77, 58, 0.22);
}

.sc-checkout-steps__item.is-current .sc-checkout-steps__text {
	color: var(--sc-green, #1f4d3a);
	font-weight: 700;
}

a.sc-checkout-steps__node:hover .sc-checkout-steps__text {
	color: var(--sc-green-dark, #16382a);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

/* Checkout flow: hide site header chrome + footer; keep only topper */
body.sc-has-checkout-steps .sc-topbar,
body.sc-has-checkout-steps .sc-mainbar,
body.sc-has-checkout-steps .sc-search-overlay,
body.sc-has-checkout-steps .sc-search-drawer {
	display: none !important;
}

body.sc-has-checkout-steps .sc-site-header {
	top: auto !important;
	position: relative !important;
	background: transparent;
	box-shadow: none;
	transform: none !important;
}

body.sc-has-checkout-steps .sc-site-footer,
body.sc-has-checkout-steps #sc-site-footer {
	display: none !important;
}

/* Hide default page title hero on checkout flow (progress bar replaces it) */
body.sc-has-checkout-steps .entry-hero,
body.sc-has-checkout-steps .page-hero-section,
body.sc-has-checkout-steps .entry-header .entry-title,
body.sc-has-checkout-steps .kadence-title-container,
body.sc-has-checkout-steps .woocommerce-products-header {
	display: none !important;
}

body.sc-has-checkout-steps .content-area {
	margin-top: 1.25rem;
}

/* Contact CTA on cart / checkout / order (same as homepage) */
body.sc-has-checkout-steps .sc-account-cta {
	width: 100vw;
	max-width: 100vw;
	margin: 2.75rem 0 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-bottom: 0 !important;
	background: var(--sc-green);
	color: var(--sc-white);
}

body.sc-has-checkout-steps .sc-account-cta__inner {
	width: min(1180px, calc(100% - 2.5rem));
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr) minmax(140px, 0.55fr);
	align-items: center;
	gap: 1.75rem;
	padding: 2.25rem 0;
}

body.sc-has-checkout-steps .sc-account-cta__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: cover;
	border-radius: 10px;
}

body.sc-has-checkout-steps .sc-account-cta__title {
	margin: 0 0 0.55rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 600;
	color: var(--sc-white) !important;
}

body.sc-has-checkout-steps .sc-account-cta__text {
	margin: 0 0 1.25rem;
	max-width: 40ch;
	font-size: 1.02rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

body.sc-has-checkout-steps .sc-account-cta__script {
	margin: 0;
	font-family: var(--sc-font-script);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	line-height: 1.2;
	color: var(--sc-beige);
	transform: rotate(-8deg);
	text-align: right;
}

body.sc-has-checkout-steps .sc-account-cta .sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.85rem 1.35rem;
	border-radius: 4px;
	font-family: var(--sc-font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
}

body.sc-has-checkout-steps .sc-account-cta .sc-btn--beige {
	background: var(--sc-beige) !important;
	color: var(--sc-green) !important;
}

body.sc-has-checkout-steps .sc-account-cta .sc-btn--beige:hover {
	background: var(--sc-beige-dark, #d4c7b2) !important;
	color: var(--sc-green-dark) !important;
}

@media (max-width: 1100px) {
	body.sc-has-checkout-steps .sc-account-cta__inner {
		grid-template-columns: 1fr 1.2fr;
	}

	body.sc-has-checkout-steps .sc-account-cta__script {
		display: none;
	}
}

@media (max-width: 640px) {
	.sc-checkout-crumbs__inner {
		padding: 0.55rem 0 0.1rem;
	}

	.sc-checkout-crumbs__list {
		font-size: 0.72rem;
	}

	.sc-checkout-steps__list {
		width: min(100%, 22rem);
		padding: 0.85rem 0.65rem 1.1rem;
	}

	.sc-checkout-steps__item:not(:last-child)::after {
		top: 0.9rem;
		left: calc(50% + 1.05rem);
		right: calc(-50% + 1.05rem);
	}

	.sc-checkout-steps__num {
		width: 1.85rem;
		height: 1.85rem;
		font-size: 0.8rem;
	}

	.sc-checkout-steps__text {
		font-size: 0.72rem;
		max-width: 5.5rem;
	}

	.sc-checkout-steps__item.is-done .sc-checkout-steps__num::after {
		width: 0.34rem;
		height: 0.62rem;
	}

	body.sc-has-checkout-steps .sc-account-cta__inner {
		grid-template-columns: 1fr;
		text-align: center;
		width: calc(100% - 1.5rem);
	}

	body.sc-has-checkout-steps .sc-account-cta__text {
		margin-inline: auto;
	}
}

.woocommerce table.shop_table th {
	background: var(--sc-cream);
	color: var(--sc-green);
	font-family: var(--sc-font-serif);
}

.woocommerce-info,
.woocommerce-message {
	border-top-color: var(--sc-green);
	background: var(--sc-cream);
	color: var(--sc-text);
}

.woocommerce-error {
	border-top-color: var(--sc-red);
}

.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--sc-green);
}

/* ----- TI Wishlist page ----- */
.tinv-wishlist,
.tinv-wishlist .tinvwl-table-manage-list,
.woocommerce.tinv-wishlist {
	font-family: var(--sc-font-sans);
	color: var(--sc-text);
}

.tinv-wishlist .tinv-header-title,
.tinv-wishlist h2 {
	font-family: var(--sc-font-serif);
	color: var(--sc-green);
}

/* Standalone wishlist page: hide duplicate page/plugin title under account hero. */
body.sc-account-wishlist-page .tinv-header,
body.sc-account-wishlist-page .tinv-header-title,
body.sc-account-wishlist-page .tinv-wishlist > h1,
body.sc-account-wishlist-page .tinv-wishlist > h2,
body.sc-account-wishlist-page .sc-wishlist-body > h1:first-child,
body.sc-account-wishlist-page .sc-wishlist-body > h2:first-child,
body.sc-account-wishlist-page .sc-account-hero + h1,
body.sc-account-wishlist-page .sc-account-hero + h2 {
	display: none !important;
}

/* Wishlist page = account hero + white boxed content (TI + Nasze nowości) */
body.sc-wishlist-like-cart .sc-wishlist-like-cart__wrap {
	width: min(100% - 2.5rem, var(--sc-container, 1180px));
	margin-inline: auto;
	margin-top: 1.75rem;
	margin-bottom: 2.5rem;
	padding: 2rem 1.5rem 2.5rem;
	background: var(--sc-white, #ffffff);
	border-radius: 8px;
	box-sizing: border-box;
	overflow: visible;
}

/* Wishlist white card sits above account CTA / newsletter bands */
body.sc-account-wishlist-page .sc-account-hero + .sc-wishlist-like-cart__wrap {
	margin-top: 2rem;
}

body.sc-account-wishlist-page .sc-wishlist-like-cart__wrap {
	margin-bottom: 0;
}

body.sc-account-wishlist-page .sc-account-cta {
	margin-top: 2.5rem;
}

body.sc-wishlist-like-cart .sc-wishlist-inject {
	display: block !important;
	margin: 0 0 1.75rem;
	padding: 0 0 1.25rem;
	visibility: visible !important;
	opacity: 1 !important;
	text-align: left;
}

/* Empty wishlist notice stays centered */
body.sc-wishlist-like-cart .sc-wishlist-inject:not(:has(table.tinvwl-table-manage-list)) {
	text-align: center;
	padding: 2rem 1rem 1.25rem;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .sc-wishlist-empty-msg,
body.sc-wishlist-like-cart .sc-wishlist-inject .cart-empty,
body.sc-wishlist-like-cart .sc-wishlist-inject .woocommerce-info,
body.sc-wishlist-like-cart .sc-wishlist-inject .return-to-shop {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
	font-size: 1.05rem !important;
	line-height: 1.5 !important;
	text-align: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sc-text, #2a2a2a) !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .return-to-shop .button,
body.sc-wishlist-like-cart .sc-wishlist-inject .return-to-shop a.button {
	display: inline-flex !important;
	margin-top: 0.85rem;
	visibility: visible !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	text-align: left;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sc-text, #2a2a2a);
}

/* Bulk actions row – NEVER display:flex on <td> (breaks whole table columns). */
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot td,
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot td.sc-wishlist-actions-cell {
	display: table-cell !important;
	overflow: visible;
	padding-top: 1rem;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .sc-wishlist-actions-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	width: 100%;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-left:not(:empty),
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-right {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-left:not(:empty) {
	display: flex;
	align-items: center;
	text-align: left !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-right {
	margin-left: auto !important;
	text-align: right !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-right > * {
	margin: 0 !important;
	vertical-align: middle;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist .tinvwl-input-group {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.65rem;
	width: auto !important;
	border-collapse: separate;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist .tinvwl-input-group .form-control,
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist .tinvwl-input-group-btn {
	display: block !important;
	vertical-align: middle;
	float: none !important;
	width: auto !important;
	padding-left: 0 !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist .tinvwl-input-group .form-control {
	min-width: 10rem;
	height: 2.65rem;
	margin: 0;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist .tinvwl-input-group .form-control + .tinvwl-input-group-btn {
	padding-left: 0;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .button,
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-top: 0 !important;
	white-space: nowrap;
	width: auto !important;
	min-height: 2.65rem;
	padding: 0.65rem 1.1rem !important;
	gap: 0.25rem;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .button .tinvwl-mobile,
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot button .tinvwl-mobile {
	display: inline !important;
	font-size: inherit !important;
}

/* Keep wishlist product table columns readable */
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list {
	width: 100% !important;
	table-layout: auto !important;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-name,
body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist th.product-name {
	min-width: 12rem;
	width: auto;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
}

body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-name a {
	display: inline !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	width: auto !important;
	max-width: none !important;
}

body.sc-wishlist-like-cart .entry-header,
body.sc-wishlist-like-cart .entry-title,
body.sc-wishlist-like-cart .page-title,
body.sc-wishlist-like-cart .kadence-title-container {
	display: none !important;
}

/* Hide only Woo cart block leftovers – never TI empty state inside inject */
body.sc-wishlist-like-cart .sc-wishlist-like-cart__wrap > .wc-block-cart,
body.sc-wishlist-like-cart .sc-wishlist-like-cart__wrap > .wp-block-woocommerce-cart,
body.sc-wishlist-like-cart .wp-block-woocommerce-empty-cart-block,
body.sc-wishlist-like-cart .wp-block-woocommerce-filled-cart-block,
body.sc-wishlist-like-cart .wc-block-cart__empty-cart__,
body.sc-wishlist-like-cart .wc-block-components-empty-cart,
body.sc-wishlist-like-cart .woocommerce-cart-form {
	display: none !important;
}

.tinv-wishlist table th {
	background: var(--sc-cream);
	color: var(--sc-green);
	font-family: var(--sc-font-serif);
	border-color: rgba(31, 77, 58, 0.12);
}

.tinv-wishlist table td {
	border-color: rgba(31, 77, 58, 0.1);
}

.tinv-wishlist .product-remove button,
.tinv-wishlist button[name="tinvwl-remove"] {
	background: transparent !important;
	color: var(--sc-muted) !important;
	border: 0 !important;
}

.tinv-wishlist .product-remove button:hover {
	color: var(--sc-red) !important;
}

.tinv-wishlist .product-stock .stock.in-stock,
.tinv-wishlist .tinvwl-txt-stock {
	color: var(--sc-green);
}

/* Wishlist row: add to cart = cart icon only */
.tinv-wishlist .product-action button[name="tinvwl-add-to-cart"],
.tinv-wishlist td.product-action .button.alt {
	width: 2.6rem;
	height: 2.6rem;
	min-width: 2.6rem;
	padding: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	position: relative;
	border-radius: 4px !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

.tinv-wishlist .product-action button[name="tinvwl-add-to-cart"] .tinvwl-txt,
.tinv-wishlist td.product-action .button .tinvwl-txt {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tinv-wishlist .product-action button[name="tinvwl-add-to-cart"] .ftinvwl,
.tinv-wishlist td.product-action .button .ftinvwl {
	display: none;
}

.tinv-wishlist .product-action button[name="tinvwl-add-to-cart"]::before,
.tinv-wishlist td.product-action .button.alt::before {
	content: "";
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	background: currentColor;
	mask: no-repeat center / contain;
	-webkit-mask: no-repeat center / contain;
	mask-image: 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'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6L5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
	-webkit-mask-image: 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'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6L5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
}

/* =========================================================
   Product loop cards live in assets/css/products.css
   (do not draw hearts / absolute cart icons here – caused doubles)
   ========================================================= */

/* Single product / elsewhere: keep icon, no green CTA chrome */
.tinv-wraper,
.tinv-wraper.tinv-wishlist,
.woocommerce .tinv-wraper.woocommerce.tinv-wishlist {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

a.tinvwl_add_to_wishlist_button,
a.tinvwl-button,
.product .tinvwl-button,
.tinv-wishlist .tinvwl_add_to_wishlist_button {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--sc-green) !important;
}

a.tinvwl_add_to_wishlist_button:hover,
a.tinvwl-button:hover,
.tinvwl-product-in-list.tinvwl_add_to_wishlist_button,
.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
	background: transparent !important;
	color: var(--sc-red) !important;
}

/* ----- Wishlist table: mobile card layout ----- */
@media (max-width: 900px) {
	body.sc-wishlist-like-cart .sc-wishlist-like-cart__wrap {
		width: calc(100% - 1.5rem);
		padding: 1.15rem 0.9rem 1.5rem;
		margin-top: 1.15rem;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list tbody,
	.tinv-wishlist table.tinvwl-table-manage-list,
	.tinv-wishlist table.tinvwl-table-manage-list tbody {
		display: block !important;
		width: 100% !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list thead,
	.tinv-wishlist table.tinvwl-table-manage-list thead {
		display: none !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list tbody tr,
	.tinv-wishlist table.tinvwl-table-manage-list tbody tr {
		position: relative;
		display: grid !important;
		grid-template-columns: 5rem minmax(0, 1fr);
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb meta"
			"action action";
		gap: 0.35rem 0.85rem;
		align-items: start;
		width: 100% !important;
		margin: 0 0 0.85rem !important;
		padding: 0.95rem 2.6rem 0.95rem 0.85rem !important;
		border: 1px solid rgba(31, 77, 58, 0.12) !important;
		border-radius: 10px !important;
		background: #faf8f4 !important;
		box-sizing: border-box;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list tbody td,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td {
		display: block !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist table.tinvwl-table-manage-list tbody td::before,
	.tinv-wishlist table.tinvwl-table-manage-list tbody td::before {
		display: none !important;
		content: none !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-thumbnail,
	.tinv-wishlist td.product-thumbnail {
		grid-area: thumb;
		align-self: center;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-thumbnail img,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-thumbnail a,
	.tinv-wishlist td.product-thumbnail img,
	.tinv-wishlist td.product-thumbnail a {
		display: block;
		width: 5rem !important;
		max-width: 5rem !important;
		height: 5rem !important;
		margin: 0 !important;
		border-radius: 8px;
		object-fit: cover;
		overflow: hidden;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-name,
	.tinv-wishlist td.product-name {
		grid-area: name;
		min-width: 0 !important;
		padding-right: 0.25rem !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-name a,
	.tinv-wishlist td.product-name a {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		word-break: break-word;
		overflow-wrap: anywhere;
		font-family: var(--sc-font-serif);
		font-size: 1.05rem;
		font-weight: 600;
		line-height: 1.25;
		color: var(--sc-green, #1f4d3a) !important;
		text-decoration: none !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-price,
	.tinv-wishlist td.product-price {
		grid-area: price;
		font-weight: 700;
		color: var(--sc-green, #1f4d3a);
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-date,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-date_added,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-stock,
	.tinv-wishlist td.product-date,
	.tinv-wishlist td.product-date_added,
	.tinv-wishlist td.product-stock {
		grid-area: meta;
		font-size: 0.82rem;
		color: var(--sc-muted, #5c5c5c);
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-action,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-quantity,
	.tinv-wishlist td.product-action,
	.tinv-wishlist td.product-quantity {
		grid-area: action;
		margin-top: 0.35rem;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-action .button,
	.tinv-wishlist td.product-action .button,
	.tinv-wishlist td.product-action button {
		width: 100% !important;
		justify-content: center;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-remove,
	.tinv-wishlist td.product-remove {
		position: absolute !important;
		top: 0.65rem;
		right: 0.65rem;
		grid-area: unset;
		width: auto !important;
		z-index: 2;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-cb,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-checkbox,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist td.product-cb input,
	.tinv-wishlist td.product-cb,
	.tinv-wishlist td.product-checkbox {
		display: none !important;
	}

	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot tr,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot td,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .sc-wishlist-actions-row,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-left,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-to-right,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .tinvwl-input-group,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot .button,
	body.sc-wishlist-like-cart .sc-wishlist-inject .tinv-wishlist tfoot button,
	.tinv-wishlist table.tinvwl-table-manage-list tfoot {
		display: none !important;
	}
}

/* Content area spacing under custom sticky header */
.content-area {
	margin-top: 2rem;
}

body.home .content-area,
body.sc-account-page .content-area,
body.sc-account-wishlist-page .content-area {
	margin-top: 0;
}

/* Boxed content on inner pages */
body:not(.home) .content-container .entry-content-wrap,
body:not(.home) .woocommerce {
	border-radius: 8px;
}

/* Sklep w budowie: komunikat zamiast produktów + ukrycie koszyka */
.sc-shop-construction {
	margin: 0.35rem 0 1.5rem;
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 244, 239, 0.98) 100%);
	border: 1px solid rgba(196, 165, 116, 0.35);
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(22, 56, 42, 0.06);
}

.sc-shop-construction__title {
	margin: 0 0 0.75rem;
	font-family: var(--sc-font-serif);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--sc-green, #1f4d3a);
}

.sc-shop-construction__text {
	margin: 0;
	font-family: var(--sc-font-sans);
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--sc-text, #2a2a2a);
	white-space: pre-line;
}

.sc-shop-construction__text p:last-child {
	margin-bottom: 0;
}

.sc-shop-construction--search {
	margin: 0.5rem 0.25rem 1rem;
}

body.sc-shop-under-construction a.sc-loop-cart-btn,
body.sc-shop-under-construction a.add_to_cart_button,
body.sc-shop-under-construction a.ajax_add_to_cart,
body.sc-shop-under-construction button.single_add_to_cart_button,
body.sc-shop-under-construction .single_add_to_cart_button,
body.sc-shop-under-construction form.cart,
body.sc-shop-under-construction .cart .quantity,
body.sc-shop-under-construction .woocommerce-variation-add-to-cart,
body.sc-shop-under-construction .sc-product-card__actions,
body.sc-shop-under-construction .sc-search-item__cart,
body.sc-shop-under-construction .tinv-wishlist .product-action button[name="tinvwl-add-to-cart"],
body.sc-shop-under-construction .tinv-wishlist td.product-action .button.alt,
body.sc-shop-under-construction .wc-block-components-product-button,
body.sc-shop-under-construction .wp-block-button__link.add_to_cart_button,
body.sc-shop-under-construction .product_type_simple,
body.sc-shop-under-construction .product_type_variable,
body.sc-shop-under-construction li.product .button,
body.sc-shop-under-construction .woocommerce ul.products li.product .button {
	display: none !important;
}

body.sc-shop-under-construction .sc-home .sc-bestsellers .woocommerce ul.products,
body.sc-shop-under-construction .cross-sells ul.products,
body.sc-shop-under-construction .related ul.products,
body.sc-shop-under-construction .upsells ul.products {
	display: none !important;
}

/* ----- Admin bar: auto-hide (Customizer) ----- */
html.sc-admin-bar-autohide {
	margin-top: 0 !important;
}

html.sc-admin-bar-autohide.wp-toolbar {
	padding-top: 0 !important;
}

body.sc-admin-bar-autohide #wpadminbar {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	min-width: 0 !important;
	transform: translateY(-100%);
	transition: transform 0.22s ease;
	z-index: 999999 !important;
}

body.sc-admin-bar-autohide.sc-admin-bar-visible #wpadminbar,
body.sc-admin-bar-autohide #wpadminbar:focus-within {
	transform: translateY(0);
}

.sc-admin-bar-hotzone {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 12px;
	z-index: 999998;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

body.sc-admin-bar-autohide.sc-admin-bar-visible .sc-admin-bar-hotzone {
	pointer-events: none;
}

@media screen and (max-width: 782px) {
	html.sc-admin-bar-autohide {
		margin-top: 0 !important;
	}

	html.sc-admin-bar-autohide.wp-toolbar {
		padding-top: 0 !important;
	}

	/* WP mobile admin bar is taller / sometimes absolute — keep it fixed + hidden */
	body.sc-admin-bar-autohide #wpadminbar {
		position: fixed !important;
		top: 0 !important;
		height: auto !important;
	}

	.sc-admin-bar-hotzone {
		height: 28px;
	}
}
