/*
 * Jasny interfejs koszyka i zamówienia NAVIGEO.
 * Wszystkie reguły są ograniczone do stron WooCommerce oznaczonych klasą wtyczki.
 */

body.svs-commerce-page {
	--svs-commerce-ink: #0b1220;
	--svs-commerce-muted: #5c6678;
	--svs-commerce-line: #dfe4ec;
	--svs-commerce-surface: #f5f7fa;
	--svs-commerce-blue-soft: #f2f7ff;
	--svs-commerce-brand: #075fe8;
	--svs-commerce-brand-dark: #064ebc;
	background: #fff !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page *,
body.svs-commerce-page *::before,
body.svs-commerce-page *::after {
	box-sizing: border-box;
}

body.svs-commerce-page #page,
body.svs-commerce-page #content,
body.svs-commerce-page .site-content,
body.svs-commerce-page .content-area,
body.svs-commerce-page .site-main,
body.svs-commerce-page article,
body.svs-commerce-page .entry-content {
	background: #fff !important;
	color: var(--svs-commerce-ink) !important;
}

/* Jasny nagłówek jest wspólny dla całej ścieżki zakupowej. */
body.svs-commerce-page .site-header,
body.svs-commerce-page #masthead,
body.svs-commerce-page .ast-primary-header-bar,
body.svs-commerce-page .main-header-bar {
	position: relative !important;
	z-index: 20 !important;
	min-height: 68px;
	border-bottom: 1px solid #e6eaf0 !important;
	background: #f5f7fa !important;
	box-shadow: none !important;
}

/* Nagłówek ma własną szerokość i nie dziedziczy wąskiej kolumny koszyka. */
body.svs-commerce-page .site-header .ast-container,
body.svs-commerce-page #masthead .ast-container,
body.svs-commerce-page .site-primary-header-wrap,
body.svs-commerce-page .site-header .ast-builder-grid-row,
body.svs-commerce-page #masthead .ast-builder-grid-row {
	width: min(1680px, calc(100% - 48px)) !important;
	max-width: 1680px !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

body.svs-commerce-page .site-header .site-branding,
body.svs-commerce-page .site-header .ast-site-identity,
body.svs-commerce-page .site-header .custom-logo-link,
body.svs-commerce-page #masthead .site-branding,
body.svs-commerce-page #masthead .ast-site-identity,
body.svs-commerce-page #masthead .custom-logo-link {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: inline-flex !important;
	max-width: 220px !important;
	align-items: center;
	margin: 0 !important;
	padding: 6px 0 !important;
	transform: none !important;
}

body.svs-commerce-page .site-header .custom-logo,
body.svs-commerce-page #masthead .custom-logo {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 210px !important;
	max-height: 32px !important;
	margin: 0 !important;
	object-fit: contain;
	transform: none !important;
}

body.svs-commerce-page .site-header a,
body.svs-commerce-page .site-header .menu-link,
body.svs-commerce-page #masthead a,
body.svs-commerce-page #masthead .menu-link {
	color: #0b1220 !important;
}

body.svs-commerce-page .site-header a:hover,
body.svs-commerce-page .site-header a:focus-visible,
body.svs-commerce-page .site-header .current-menu-item > .menu-link,
body.svs-commerce-page #masthead a:hover,
body.svs-commerce-page #masthead a:focus-visible,
body.svs-commerce-page #masthead .current-menu-item > .menu-link {
	color: #075ff0 !important;
}

body.svs-commerce-page #content,
body.svs-commerce-page .site-content {
	clear: both;
	padding: clamp(30px, 4vw, 46px) 0 88px !important;
}

body.svs-commerce-page #content > .ast-container,
body.svs-commerce-page .site-content > .ast-container,
body.svs-commerce-page .content-area,
body.svs-commerce-page .site-main {
	width: min(1180px, calc(100% - 48px)) !important;
	max-width: 1180px !important;
	margin-inline: auto !important;
	padding-inline: 0 !important;
}

body.svs-commerce-page .entry-header,
body.svs-commerce-page .entry-title,
body.svs-commerce-page .woocommerce h1,
body.svs-commerce-page .woocommerce h2,
body.svs-commerce-page .woocommerce h3,
body.svs-commerce-page .wc-block-components-title,
body.svs-commerce-page .wc-block-cart__totals-title,
body.svs-commerce-page .wc-block-checkout__shipping-method-option-title {
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .entry-header {
	position: relative !important;
	z-index: 1;
	clear: both;
	margin: 0 0 34px !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.svs-commerce-page .entry-title {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	font-size: clamp(34px, 5vw, 54px) !important;
	font-weight: 800 !important;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

body.svs-commerce-page .entry-header::before,
body.svs-commerce-page .entry-header::after,
body.svs-commerce-page .entry-title::before,
body.svs-commerce-page .entry-title::after {
	display: none !important;
	background: none !important;
	box-shadow: none !important;
	content: none !important;
}

/* Dyskretna nawigacja pomiędzy sklepem, koszykiem i zamówieniem. */
body.svs-commerce-page .svs-back-navigation {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	margin: 0 0 32px !important;
}

body.svs-commerce-page .svs-back-navigation .svs-back-link,
body.svs-commerce-page .svs-back-navigation .svs-back-link:visited {
	display: inline-flex !important;
	width: fit-content;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 16px;
	border: 1px solid #d8e1ef;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(19, 43, 79, 0.07);
	color: var(--svs-commerce-ink) !important;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.svs-commerce-page .svs-back-navigation .svs-back-link svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: var(--svs-commerce-brand);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

body.svs-commerce-page .svs-back-navigation .svs-back-link:hover,
body.svs-commerce-page .svs-back-navigation .svs-back-link:focus-visible {
	border-color: #9fc2f8;
	box-shadow: 0 9px 22px rgba(7, 95, 232, 0.12);
	color: var(--svs-commerce-brand) !important;
	transform: translateX(-2px);
}

body.svs-commerce-page .svs-back-navigation .svs-back-link:focus-visible {
	outline: 3px solid rgba(7, 95, 232, 0.24);
	outline-offset: 3px;
}

body.svs-commerce-page p,
body.svs-commerce-page label,
body.svs-commerce-page th,
body.svs-commerce-page td,
body.svs-commerce-page legend,
body.svs-commerce-page .woocommerce,
body.svs-commerce-page .wc-block-components-formatted-money-amount,
body.svs-commerce-page .wc-block-components-product-name,
body.svs-commerce-page .wc-block-components-totals-item__label,
body.svs-commerce-page .wc-block-components-totals-item__value {
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page a:not(.button):not(.wc-block-components-button) {
	color: var(--svs-commerce-brand);
}

body.svs-commerce-page .woocommerce-notices-wrapper,
body.svs-commerce-page .woocommerce-form-coupon-toggle,
body.svs-commerce-page .woocommerce-form-login-toggle {
	clear: both;
}

body.svs-commerce-page .woocommerce-message,
body.svs-commerce-page .woocommerce-info,
body.svs-commerce-page .woocommerce-error,
body.svs-commerce-page .wc-block-components-notice-banner {
	margin: 0 0 28px !important;
	padding: 18px 22px 18px 54px !important;
	border: 1px solid #cbdcf8 !important;
	border-radius: 14px !important;
	background: var(--svs-commerce-blue-soft) !important;
	box-shadow: none !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .woocommerce-error {
	border-color: #fecaca !important;
	background: #fff7f7 !important;
}

/*
 * WooCommerce blokuje formularz na czas przeliczania koszyka. Zachowujemy tę
 * ochronę przed kolejnymi kliknięciami, ale bez wizualnego przyciemniania.
 */
body.svs-commerce-page .blockUI.blockOverlay,
body.svs-commerce-page .woocommerce .blockUI.blockOverlay,
body.svs-commerce-page .woocommerce .blockOverlay {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	opacity: 1 !important;
	cursor: wait !important;
}

body.svs-commerce-page .blockUI.blockOverlay::before,
body.svs-commerce-page .blockUI.blockOverlay::after,
body.svs-commerce-page .woocommerce .blockUI.blockOverlay::before,
body.svs-commerce-page .woocommerce .blockUI.blockOverlay::after,
body.svs-commerce-page .woocommerce .blockOverlay::before,
body.svs-commerce-page .woocommerce .blockOverlay::after,
body.svs-commerce-page .woocommerce .loader::before,
body.svs-commerce-page .woocommerce .loader::after {
	display: none !important;
	content: none !important;
	animation: none !important;
}

body.svs-commerce-page .blockUI.blockMsg,
body.svs-commerce-page .woocommerce .blockUI.blockMsg {
	display: none !important;
}

/* Klasyczny koszyk WooCommerce. */
body.svs-commerce-page .woocommerce-cart-form,
body.svs-commerce-page .cart-collaterals,
body.svs-commerce-page .woocommerce-checkout-review-order,
body.svs-commerce-page .woocommerce-billing-fields,
body.svs-commerce-page .woocommerce-shipping-fields,
body.svs-commerce-page .woocommerce-additional-fields {
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page table.shop_table,
body.svs-commerce-page .woocommerce table.shop_table {
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--svs-commerce-line) !important;
	border-collapse: separate !important;
	border-spacing: 0;
	border-radius: 18px !important;
	background: #fff !important;
	box-shadow: 0 18px 55px rgba(19, 43, 79, 0.07);
}

body.svs-commerce-page table.shop_table thead,
body.svs-commerce-page table.shop_table tbody,
body.svs-commerce-page table.shop_table tfoot,
body.svs-commerce-page table.shop_table tr,
body.svs-commerce-page table.shop_table th,
body.svs-commerce-page table.shop_table td {
	border-color: var(--svs-commerce-line) !important;
	background: #fff !important;
}

body.svs-commerce-page table.shop_table th,
body.svs-commerce-page table.shop_table td {
	padding: 20px 18px !important;
	vertical-align: middle !important;
}

body.svs-commerce-page table.shop_table th {
	font-size: 13px;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
}

body.svs-commerce-page table.shop_table .product-thumbnail img {
	width: 82px !important;
	height: 82px !important;
	padding: 6px;
	border: 1px solid var(--svs-commerce-line);
	border-radius: 12px;
	background: #fff;
	object-fit: contain;
}

body.svs-commerce-page .svs-cart-thumbnail {
	display: inline-grid;
	box-sizing: border-box;
	width: 82px;
	height: 82px;
	min-width: 82px;
	min-height: 82px;
	place-items: center;
	overflow: hidden;
	border: 1px solid var(--svs-commerce-line);
	border-radius: 12px;
	background: #fff;
	vertical-align: middle;
}

body.svs-commerce-page .svs-cart-thumbnail .svs-cart-thumbnail__image {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 7px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	object-fit: contain !important;
	object-position: center !important;
}

body.svs-commerce-page .svs-cart-text-thumbnail {
	padding: 8px;
	background: #fff;
	color: var(--svs-commerce-brand);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	letter-spacing: 0.08em;
}

body.svs-commerce-page .svs-subscription-thumbnail {
	background: #fff;
	letter-spacing: 0;
}

body.svs-commerce-page .svs-sent-thumbnail {
	background: #fff;
}

body.svs-commerce-page .svs-cart-item-note {
	display: block;
	margin-top: 6px;
	color: var(--svs-commerce-muted) !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

/*
 * WooCommerce appends a non-breaking space after a real cart-item name. When
 * SENT changes from the zero-value selector into a cart item, that technical
 * text node must not create a third line and make the whole row jump.
 */
body.svs-cart-page .svs-sent-placeholder-row .product-name,
body.svs-cart-page .svs-sent-cart-item .product-name {
	font-size: 0 !important;
	line-height: 0 !important;
}

body.svs-cart-page .svs-sent-cart-name {
	display: block;
	color: var(--svs-commerce-ink) !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
}

/* Managed items are changed or reset as a bundle, not removed line by line. */
body.svs-cart-page .woocommerce-cart-form th.product-remove,
body.svs-cart-page .woocommerce-cart-form td.product-remove {
	display: none !important;
}

body.svs-commerce-page table.shop_table .product-name a,
body.svs-commerce-page table.shop_table .product-price,
body.svs-commerce-page table.shop_table .product-subtotal,
body.svs-commerce-page table.shop_table .amount {
	color: var(--svs-commerce-ink) !important;
	font-weight: 650;
}

body.svs-commerce-page table.shop_table .product-remove a {
	display: inline-grid !important;
	width: 34px !important;
	height: 34px !important;
	place-items: center;
	border: 1px solid #d5dbe5;
	border-radius: 50%;
	background: #fff !important;
	color: #64748b !important;
	font-size: 22px !important;
	line-height: 1 !important;
}

body.svs-commerce-page table.shop_table .product-remove a:hover {
	border-color: #fecaca;
	background: #fff1f2 !important;
	color: #b42318 !important;
}

body.svs-commerce-page .cart-collaterals {
	margin-top: 42px;
}

body.svs-commerce-page .cart-collaterals .cart_totals {
	float: none !important;
	width: min(600px, 100%) !important;
	margin-right: 0;
	margin-left: auto;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--svs-commerce-line);
	border-radius: 20px;
	background: var(--svs-commerce-surface) !important;
}

body.svs-commerce-page .cart_totals h2 {
	margin: 0 0 22px !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	color: var(--svs-commerce-ink) !important;
	font-size: clamp(26px, 3vw, 36px) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
}

body.svs-commerce-page .cart_totals h2::before,
body.svs-commerce-page .cart_totals h2::after {
	display: none !important;
	background: none !important;
	box-shadow: none !important;
	content: none !important;
}

body.svs-commerce-page .cart_totals table.shop_table {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none;
}

body.svs-commerce-page .cart_totals table.shop_table th,
body.svs-commerce-page .cart_totals table.shop_table td {
	padding: 15px 18px !important;
	background: transparent !important;
}

body.svs-commerce-page .cart_totals table.shop_table tr {
	padding: 0 !important;
	background: transparent !important;
}

body.svs-commerce-page .cart_totals table.shop_table th {
	text-align: left !important;
}

body.svs-commerce-page .cart_totals table.shop_table td {
	text-align: right !important;
}

@media (min-width: 641px) {
	body.svs-commerce-page .cart_totals table.shop_table th {
		width: 40% !important;
	}

	body.svs-commerce-page .cart_totals table.shop_table td {
		width: 60% !important;
	}
}

body.svs-commerce-page .cart_totals table.shop_table td .svs-selected-shipping-method {
	display: inline-block;
	max-width: 100%;
	text-align: right;
}

body.svs-cart-page .svs-shipping-section {
	box-sizing: border-box;
	width: min(600px, 100%);
	margin: 42px 0 0 auto;
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--svs-commerce-line);
	border-radius: 20px;
	background: var(--svs-commerce-surface) !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-cart-page .svs-shipping-section h2 {
	margin: 0 0 24px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #111827;
	background: transparent !important;
	color: var(--svs-commerce-ink) !important;
	font-size: clamp(26px, 3vw, 36px) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
}

body.svs-cart-page .svs-shipping-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}

body.svs-cart-page .svs-shipping-table tr,
body.svs-cart-page .svs-shipping-table th,
body.svs-cart-page .svs-shipping-table td {
	border: 0 !important;
	background: transparent !important;
}

body.svs-cart-page .svs-shipping-table .woocommerce-shipping-totals > th {
	display: none !important;
}

body.svs-cart-page .svs-shipping-table .woocommerce-shipping-totals > td {
	width: 100% !important;
	padding: 0 !important;
	text-align: left !important;
}

body.svs-cart-page .svs-shipping-section .woocommerce-shipping-methods {
	width: 100%;
	max-width: none;
}

body.svs-cart-page .svs-selected-shipping-method {
	display: inline-block;
	color: var(--svs-commerce-ink);
	font-weight: 600;
}

body.svs-cart-page .woocommerce-shipping-calculator,
body.svs-cart-page .shipping-calculator-button,
body.svs-cart-page .shipping-calculator-form,
body.svs-cart-page .woocommerce-shipping-destination {
	display: none !important;
}

body.svs-commerce-page .woocommerce-shipping-methods {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.svs-commerce-page .woocommerce ul#shipping_method li,
body.svs-commerce-page .cart_totals ul#shipping_method li,
body.svs-commerce-page .woocommerce-shipping-methods li {
	display: grid !important;
	grid-template-columns: 32px minmax(0, 1fr) !important;
	column-gap: 16px !important;
	align-items: start !important;
	position: relative !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .woocommerce ul#shipping_method li input[type="radio"],
body.svs-commerce-page .cart_totals ul#shipping_method li input[type="radio"],
body.svs-commerce-page .woocommerce-shipping-methods input[type="radio"] {
	position: static !important;
	grid-column: 1 !important;
	justify-self: start !important;
	align-self: start !important;
	display: block !important;
	width: 17px !important;
	height: 17px !important;
	min-width: 17px !important;
	min-height: 17px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	clip: auto !important;
	opacity: 1 !important;
	accent-color: var(--svs-commerce-brand);
}

body.svs-commerce-page .woocommerce ul#shipping_method li input[type="radio"]:focus,
body.svs-commerce-page .woocommerce ul#shipping_method li input[type="radio"]:focus-visible,
body.svs-commerce-page .cart_totals ul#shipping_method li input[type="radio"]:focus,
body.svs-commerce-page .cart_totals ul#shipping_method li input[type="radio"]:focus-visible,
body.svs-commerce-page .woocommerce-shipping-methods input[type="radio"]:focus,
body.svs-commerce-page .woocommerce-shipping-methods input[type="radio"]:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
	background-color: transparent !important;
}

body.svs-commerce-page .woocommerce ul#shipping_method li label,
body.svs-commerce-page .cart_totals ul#shipping_method li label,
body.svs-commerce-page .woocommerce-shipping-methods label {
	position: static !important;
	grid-column: 2 !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
	transform: none !important;
	line-height: 1.5 !important;
	color: var(--svs-commerce-ink) !important;
}

/* Pola i przyciski — wysoki kontrast także przy agresywnych stylach motywu. */
body.svs-commerce-page input[type="text"],
body.svs-commerce-page input[type="email"],
body.svs-commerce-page input[type="tel"],
body.svs-commerce-page input[type="number"],
body.svs-commerce-page input[type="password"],
body.svs-commerce-page select,
body.svs-commerce-page textarea,
body.svs-commerce-page .select2-container .select2-selection,
body.svs-commerce-page .wc-block-components-text-input input,
body.svs-commerce-page .wc-block-components-combobox-control input {
	min-height: 48px;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page textarea {
	min-height: 110px;
}

body.svs-commerce-page input::placeholder,
body.svs-commerce-page textarea::placeholder {
	color: #7b8798 !important;
	opacity: 1;
}

/* Astra can configure a white selection background; keep editable text visibly selected. */
body.svs-commerce-page input::selection,
body.svs-commerce-page textarea::selection {
	background-color: #bcd7ff !important;
	color: #0b1220 !important;
	-webkit-text-fill-color: #0b1220 !important;
}

body.svs-commerce-page input:focus,
body.svs-commerce-page select:focus,
body.svs-commerce-page textarea:focus,
body.svs-commerce-page .select2-container--focus .select2-selection {
	border-color: var(--svs-commerce-brand) !important;
	box-shadow: 0 0 0 3px rgba(7, 95, 232, 0.13) !important;
	outline: 0 !important;
}

/* Formularz zamówienia zawsze pozostaje jasny, także przy fokusie i autouzupełnianiu. */
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea,
body.svs-checkout-page form.checkout.woocommerce-checkout select,
body.svs-checkout-page form.checkout.woocommerce-checkout .select2-selection,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:hover,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea:hover,
body.svs-checkout-page form.checkout.woocommerce-checkout select:hover,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout select:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:focus-visible,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea:focus-visible,
body.svs-checkout-page form.checkout.woocommerce-checkout select:focus-visible {
	background: #fff !important;
	background-color: #fff !important;
	color: var(--svs-commerce-ink) !important;
	-webkit-text-fill-color: var(--svs-commerce-ink) !important;
	caret-color: var(--svs-commerce-ink) !important;
	color-scheme: light !important;
}

body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout select:focus,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:focus-visible,
body.svs-checkout-page form.checkout.woocommerce-checkout textarea:focus-visible,
body.svs-checkout-page form.checkout.woocommerce-checkout select:focus-visible {
	border-color: var(--svs-commerce-brand) !important;
	box-shadow: 0 0 0 3px rgba(7, 95, 232, 0.13) !important;
	outline: 0 !important;
}

body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:-webkit-autofill,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:-webkit-autofill:hover,
body.svs-checkout-page form.checkout.woocommerce-checkout input.input-text:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset !important;
	-webkit-text-fill-color: var(--svs-commerce-ink) !important;
	caret-color: var(--svs-commerce-ink) !important;
}

body.svs-cart-page .woocommerce-cart-form td.product-quantity {
	text-align: center !important;
	vertical-align: middle !important;
}

body.svs-cart-page .woocommerce-cart-form td.product-quantity .quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 76px !important;
	min-width: 76px !important;
	margin: 0 auto !important;
	vertical-align: middle !important;
}

body.svs-commerce-page .quantity .qty,
body.svs-commerce-page .svs-locked-quantity {
	box-sizing: border-box !important;
	width: 76px !important;
	min-width: 76px !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 auto !important;
	padding: 0 10px !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-align: center !important;
	vertical-align: middle !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .quantity .qty {
	padding-right: 10px !important;
	padding-left: 22px !important;
	color-scheme: light !important;
	background-color: #fff !important;
	color: var(--svs-commerce-ink) !important;
	-webkit-text-fill-color: var(--svs-commerce-ink) !important;
	caret-color: var(--svs-commerce-ink) !important;
	opacity: 1 !important;
}

body.svs-commerce-page .svs-locked-quantity {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.svs-cart-page .woocommerce-cart-form td.actions {
	display: none !important;
}

body.svs-commerce-page .woocommerce table.shop_table .quantity input.qty:focus,
body.svs-commerce-page .woocommerce table.shop_table .quantity input.qty:active,
body.svs-commerce-page .woocommerce table.shop_table .quantity input.qty:focus-visible {
	background-color: #fff !important;
	color: var(--svs-commerce-ink) !important;
	-webkit-text-fill-color: var(--svs-commerce-ink) !important;
	box-shadow: 0 0 0 3px rgba(7, 95, 232, 0.13) !important;
}

@media (min-width: 641px) {
	body.svs-cart-page .woocommerce-cart-form table.shop_table {
		table-layout: fixed !important;
	}

	body.svs-cart-page .woocommerce-cart-form th.product-thumbnail,
	body.svs-cart-page .woocommerce-cart-form td.product-thumbnail {
		width: 138px !important;
		text-align: center !important;
	}

	body.svs-cart-page .woocommerce-cart-form td.product-thumbnail {
		padding-right: 18px !important;
		padding-left: 38px !important;
	}

	body.svs-cart-page .woocommerce-cart-form th.product-price,
	body.svs-cart-page .woocommerce-cart-form td.product-price,
	body.svs-cart-page .woocommerce-cart-form th.product-quantity,
	body.svs-cart-page .woocommerce-cart-form td.product-quantity,
	body.svs-cart-page .woocommerce-cart-form th.product-subtotal,
	body.svs-cart-page .woocommerce-cart-form td.product-subtotal {
		text-align: center !important;
	}

	body.svs-cart-page .woocommerce-cart-form th.product-price,
	body.svs-cart-page .woocommerce-cart-form td.product-price {
		width: 14%;
	}

	body.svs-cart-page .woocommerce-cart-form th.product-quantity,
	body.svs-cart-page .woocommerce-cart-form td.product-quantity {
		width: 14%;
	}

	body.svs-cart-page .woocommerce-cart-form th.product-subtotal,
	body.svs-cart-page .woocommerce-cart-form td.product-subtotal {
		width: 14%;
	}

	body.svs-cart-page .woocommerce-cart-form td.product-price,
	body.svs-cart-page .woocommerce-cart-form td.product-subtotal {
		white-space: nowrap;
	}
}

body.svs-commerce-page .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.svs-commerce-page .coupon #coupon_code {
	width: 190px !important;
	margin: 0 !important;
	padding-inline: 14px !important;
}

body.svs-commerce-page .woocommerce a.button,
body.svs-commerce-page .woocommerce button.button,
body.svs-commerce-page .woocommerce input.button,
body.svs-commerce-page .woocommerce #respond input#submit,
body.svs-commerce-page .wc-block-components-button,
body.svs-commerce-page .wp-element-button {
	display: inline-flex !important;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px !important;
	border: 1px solid var(--svs-commerce-brand) !important;
	border-radius: 11px !important;
	background: var(--svs-commerce-brand) !important;
	box-shadow: none !important;
	color: #fff !important;
	font: inherit !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-shadow: none !important;
}

body.svs-commerce-page .woocommerce a.button *,
body.svs-commerce-page .woocommerce button.button *,
body.svs-commerce-page .wc-block-components-button * {
	color: #fff !important;
}

body.svs-commerce-page .woocommerce a.button:hover,
body.svs-commerce-page .woocommerce button.button:hover,
body.svs-commerce-page .woocommerce input.button:hover,
body.svs-commerce-page .wc-block-components-button:hover,
body.svs-commerce-page .wp-element-button:hover {
	border-color: var(--svs-commerce-brand-dark) !important;
	background: var(--svs-commerce-brand-dark) !important;
	color: #fff !important;
}

body.svs-commerce-page .woocommerce a.button:disabled,
body.svs-commerce-page .woocommerce button.button:disabled,
body.svs-commerce-page .woocommerce button.button:disabled[disabled],
body.svs-commerce-page .woocommerce input.button:disabled,
body.svs-commerce-page .wc-block-components-button:disabled {
	border-color: #cbd5e1 !important;
	background: #e2e8f0 !important;
	color: #475569 !important;
	opacity: 1 !important;
}

body.svs-commerce-page .woocommerce button.button:disabled *,
body.svs-commerce-page .wc-block-components-button:disabled * {
	color: #475569 !important;
}

body.svs-commerce-page .checkout-button,
body.svs-commerce-page #place_order,
body.svs-commerce-page .wc-block-cart__submit-button {
	width: 100% !important;
	min-height: 56px !important;
	font-size: 16px !important;
}

/* Klasyczny formularz zamówienia. */
body.svs-commerce-page form.checkout.woocommerce-checkout {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
	grid-template-rows: auto auto;
	column-gap: 40px;
	row-gap: 0;
	align-items: start;
}

body.svs-commerce-page form.checkout.woocommerce-checkout > #customer_details {
	float: none !important;
	grid-row: 1 / span 2;
	grid-column: 1;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 !important;
}

body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading,
body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
	float: none !important;
	grid-column: 2;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading {
	grid-row: 1;
	margin: 0 !important;
	padding: 28px 28px 18px !important;
	border: 1px solid var(--svs-commerce-line) !important;
	border-bottom: 0 !important;
	border-radius: 18px 18px 0 0 !important;
	background: var(--svs-commerce-surface) !important;
	font-size: clamp(24px, 2.7vw, 34px) !important;
	line-height: 1.15 !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
	grid-row: 2;
	padding: 0 28px 28px !important;
	border: 1px solid var(--svs-commerce-line) !important;
	border-top: 0 !important;
	border-radius: 0 0 18px 18px !important;
	background: var(--svs-commerce-surface) !important;
}

/* Every row uses the full card width. Mixing grid rows with table-row groups
 * creates anonymous table cells and traps shipping in the product column. */
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table > thead,
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table > tbody,
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table > tfoot {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) max-content;
	width: 100% !important;
	border: 0 !important;
	border-top: 1px solid var(--svs-commerce-line) !important;
	align-items: center;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table thead tr {
	border-top: 0 !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > th,
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > td {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	border: 0 !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > :first-child {
	text-align: left !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > :last-child {
	text-align: right !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table .amount {
	white-space: nowrap !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table th.product-name,
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table td.product-name {
	white-space: normal !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table .svs-checkout-name-line {
	display: inline !important;
	white-space: normal !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table .product-quantity {
	display: inline !important;
	margin: 0 !important;
	white-space: nowrap !important;
}

body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table th.product-total,
body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table td.product-total {
	white-space: nowrap !important;
}

body.svs-checkout-page #order_review ul#shipping_method {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
}

body.svs-checkout-page #order_review ul#shipping_method li {
	display: grid !important;
	/* WooCommerce offsets inline radios with a negative indent. Our grid already
	 * reserves their column, so the inherited indent must be cleared. */
	text-indent: 0 !important;
	grid-template-columns: 17px minmax(0, 1fr) !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	align-items: center !important;
	gap: 12px !important;
}

body.svs-checkout-page #order_review ul#shipping_method li:last-child {
	margin-bottom: 0 !important;
}

body.svs-checkout-page #order_review ul#shipping_method input[type="radio"] {
	align-self: center !important;
}

body.svs-checkout-page #order_review ul#shipping_method label {
	/* Reserve the price while allowing only the name to wrap on narrow screens.
	 * Two max-content tracks can overflow inside the mobile card's padding. */
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) max-content !important;
	justify-content: space-between !important;
	align-items: baseline !important;
	gap: 6px !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	text-align: left !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

/* Alsendo leaves this row in the DOM for couriers. Hide the entire row only
 * when neither the picker nor the selected pickup-point details are shown. */
body.svs-checkout-page #order_review tr.alsendo-connect-checkout-locker-point {
	grid-template-columns: minmax(0, 1fr);
}

body.svs-checkout-page #order_review tr.alsendo-connect-checkout-locker-point > th {
	display: none !important;
}

body.svs-checkout-page #order_review tr.alsendo-connect-checkout-locker-point:has(.alsendo_geowidget_show_map_classic_checkout.alsendo-hidden):not(:has(#alsendo-selected-parcel-machine:not(.apaczka-hidden))) {
	display: none !important;
}

body.svs-checkout-page #order_review #alsendo_geowidget_show_map_classic_checkout {
	box-sizing: border-box !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 0 0 auto !important;
	white-space: normal !important;
}

body.svs-checkout-page #order_review #alsendo-selected-parcel-machine {
	min-width: 0 !important;
	max-width: 100% !important;
	margin-top: 16px;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}

body.svs-checkout-page #customer_details,
body.svs-checkout-page #customer_details .col-1,
body.svs-checkout-page #customer_details .col-2,
body.svs-checkout-page #customer_details .woocommerce-billing-fields,
body.svs-checkout-page #customer_details .woocommerce-shipping-fields,
body.svs-checkout-page #customer_details .woocommerce-additional-fields {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
}

body.svs-checkout-page #customer_details .col-1,
body.svs-checkout-page #customer_details .col-2 {
	margin: 0 0 24px !important;
}

body.svs-checkout-page #customer_details .woocommerce-billing-fields,
body.svs-checkout-page #customer_details .woocommerce-shipping-fields,
body.svs-checkout-page #customer_details .woocommerce-additional-fields {
	padding: 28px !important;
	border: 1px solid var(--svs-commerce-line) !important;
	border-radius: 18px !important;
	background: var(--svs-commerce-surface) !important;
}

body.svs-checkout-page #ship-to-different-address label,
body.svs-checkout-page #ship-to-different-address label span {
	font-weight: 700 !important;
}

/*
 * Keep the order summary in one desktop grid cell. When the optional shipping
 * address expands the left column, separate automatic rows would otherwise
 * create a large gap between the summary heading and its contents.
 */
@media (min-width: 921px) {
	body.svs-commerce-page form.checkout.woocommerce-checkout {
		grid-template-rows: auto;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #customer_details,
	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading,
	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
		grid-row: 1;
		align-self: start;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading {
		position: relative;
		z-index: 2;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
		position: relative;
		z-index: 1;
		padding-top: 86px !important;
		border-top: 1px solid var(--svs-commerce-line) !important;
		border-radius: 18px !important;
	}

}

body.svs-checkout-page #customer_details h3,
body.svs-checkout-page #order_review h3,
body.svs-checkout-page #order_review #payment,
body.svs-checkout-page #order_review .woocommerce-checkout-payment,
body.svs-checkout-page #order_review .place-order {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	word-break: normal !important;
}

body.svs-checkout-page #order_review table {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	word-break: normal !important;
}

body.svs-checkout-page #order_review,
body.svs-checkout-page #order_review th,
body.svs-checkout-page #order_review td,
body.svs-checkout-page #order_review p,
body.svs-checkout-page #order_review label,
body.svs-checkout-page #order_review span,
body.svs-checkout-page #order_review a {
	word-break: normal !important;
	overflow-wrap: break-word !important;
}

body.svs-checkout-page #billing_country_field,
body.svs-checkout-page #shipping_country_field {
	display: none !important;
}

body.svs-commerce-page #payment,
body.svs-commerce-page .woocommerce-checkout-payment {
	width: 100% !important;
	border-radius: 14px !important;
	background: #fff !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page #payment div.payment_box {
	background: var(--svs-commerce-blue-soft) !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page #payment div.payment_box::before {
	border-bottom-color: var(--svs-commerce-blue-soft) !important;
}

/* Checkout payment card: use the same inner gutter as the order table.
 * Scope to classic checkout; do not restyle account/payment-provider forms.
 * These selectors also apply after WooCommerce replaces checkout fragments. */
body.svs-checkout-page #order_review #payment {
	--svs-payment-gutter: 18px;
	margin: 20px 0 0 !important;
	padding: 20px var(--svs-payment-gutter) !important;
	border: 1px solid var(--svs-commerce-line) !important;
	border-radius: 18px !important;
}

body.svs-checkout-page #order_review #payment ul.payment_methods {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

body.svs-checkout-page #order_review #payment ul.payment_methods > li {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.6 !important;
	text-indent: 0 !important;
}

body.svs-checkout-page #order_review #payment ul.payment_methods > li + li {
	margin-top: 18px !important;
	padding-top: 18px !important;
	border-top: 1px solid var(--svs-commerce-line);
}

body.svs-checkout-page #order_review #payment .wc_payment_method > label {
	display: inline !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 700;
	line-height: 1.6 !important;
	vertical-align: middle;
	cursor: pointer;
}

body.svs-checkout-page #order_review #payment .wc_payment_method > label img {
	float: none !important;
	display: inline-block !important;
	width: auto;
	height: auto;
	max-width: 96px;
	max-height: 28px;
	margin: 0 0 0 8px !important;
	object-fit: contain;
	vertical-align: middle;
}

body.svs-checkout-page #order_review #payment div.payment_box {
	margin: 16px 0 0 !important;
	padding: 14px 16px !important;
	border-radius: 10px !important;
	font-size: 14px;
	line-height: 1.65 !important;
}

body.svs-checkout-page #order_review #payment div.payment_box::before {
	display: none !important;
	content: none !important;
}

body.svs-checkout-page #order_review #payment div.payment_box p,
body.svs-checkout-page #order_review #payment .woocommerce-privacy-policy-text p {
	margin: 0 !important;
}

body.svs-checkout-page #order_review #payment .place-order {
	float: none !important;
	clear: both;
	margin: 20px 0 0 !important;
	padding: 20px 0 0 !important;
	border-top: 1px solid var(--svs-commerce-line);
}

body.svs-checkout-page #order_review #payment .woocommerce-terms-and-conditions-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px;
	line-height: 1.65;
}

body.svs-checkout-page #order_review #payment .woocommerce-terms-and-conditions-wrapper .form-row {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

/* Keep all wrapped lines beside the native checkbox. The required asterisk is
 * a separate WooCommerce child, so a two-column grid would orphan it. */
body.svs-checkout-page #order_review #payment .woocommerce-form__label-for-checkbox {
	position: relative;
	display: block !important;
	margin: 0 !important;
	padding: 2px 0 2px 30px !important;
	font-weight: 700;
	line-height: 1.65 !important;
	cursor: pointer;
}

body.svs-checkout-page #order_review #payment .woocommerce-form__label-for-checkbox .input-checkbox {
	position: absolute !important;
	top: 5px !important;
	left: 0 !important;
	float: none !important;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	accent-color: var(--svs-commerce-brand);
}

body.svs-checkout-page #order_review #payment .input-checkbox:focus,
body.svs-checkout-page #order_review #payment .input-checkbox:focus-visible {
	outline: 2px solid var(--svs-commerce-brand) !important;
	outline-offset: 3px !important;
}

body.svs-checkout-page #order_review #payment .svs-checkout-privacy {
	margin: 16px 0 0 !important;
	font-size: 14px;
	line-height: 1.65;
}

body.svs-checkout-page #order_review #payment #place_order {
	float: none !important;
	margin: 20px 0 0 !important;
}

@media (max-width: 360px) {
	body.svs-checkout-page #order_review #payment {
		--svs-payment-gutter: 12px;
	}
}
/* End checkout payment card. */

/* Koszyk i zamówienie oparte na blokach WooCommerce. */
body.svs-commerce-page .wp-block-woocommerce-cart,
body.svs-commerce-page .wp-block-woocommerce-checkout,
body.svs-commerce-page .wc-block-cart,
body.svs-commerce-page .wc-block-checkout,
body.svs-commerce-page .wc-block-components-sidebar,
body.svs-commerce-page .wc-block-components-main {
	background: #fff !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .wc-block-components-sidebar {
	padding: 26px !important;
	border: 1px solid var(--svs-commerce-line);
	border-radius: 18px;
	background: var(--svs-commerce-surface) !important;
}

body.svs-commerce-page .wc-block-components-product-metadata,
body.svs-commerce-page .wc-block-components-totals-shipping__change-address__link,
body.svs-commerce-page .wc-block-components-totals-shipping__via,
body.svs-commerce-page .wc-block-components-address-card__address-section,
body.svs-commerce-page .wc-block-components-checkout-step__description {
	color: var(--svs-commerce-muted) !important;
}

body.svs-commerce-page .wc-block-components-radio-control__option,
body.svs-commerce-page .wc-block-checkout__shipping-method-option,
body.svs-commerce-page .wc-block-components-order-summary-item,
body.svs-commerce-page .wc-block-components-totals-wrapper {
	border-color: var(--svs-commerce-line) !important;
	background: transparent !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .wc-block-components-radio-control__input {
	accent-color: var(--svs-commerce-brand);
}

body.svs-commerce-page .wc-block-components-quantity-selector {
	border-color: #cbd5e1 !important;
	border-radius: 9px !important;
	background: #fff !important;
}

body.svs-commerce-page .wc-block-components-quantity-selector input,
body.svs-commerce-page .wc-block-components-quantity-selector button {
	background: transparent !important;
	color: var(--svs-commerce-ink) !important;
}

body.svs-commerce-page .wc-block-components-validation-error,
body.svs-commerce-page .wc-block-components-validation-error p {
	color: #b42318 !important;
}

@media (max-width: 920px) {
	body.svs-commerce-page .site-header,
	body.svs-commerce-page #masthead {
		min-height: 82px;
	}

	body.svs-commerce-page #content,
	body.svs-commerce-page .site-content {
		padding-block: 34px 68px !important;
	}

	body.svs-commerce-page #content > .ast-container,
	body.svs-commerce-page .site-content > .ast-container,
	body.svs-commerce-page .content-area,
	body.svs-commerce-page .site-main {
		width: min(100% - 32px, 760px) !important;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 0;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #customer_details {
		grid-row: auto;
		grid-column: 1;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading,
	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
		grid-column: 1;
		grid-row: auto;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading {
		margin-top: 8px !important;
	}
}

@media (max-width: 640px) {
	/* Give delivery methods the full row on small screens. The radio, name and
	 * price then remain on one line without squeezing the product column. */
	body.svs-checkout-page #order_review tr.woocommerce-shipping-totals.shipping {
		grid-template-columns: minmax(0, 1fr);
	}

	body.svs-checkout-page #order_review tr.woocommerce-shipping-totals.shipping > th {
		padding-bottom: 0 !important;
	}

	body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table th.product-name,
	body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table td.product-name,
	body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table .svs-checkout-name-line {
		white-space: normal !important;
	}

	body.svs-commerce-page .site-header .custom-logo-link,
	body.svs-commerce-page #masthead .custom-logo-link {
		max-width: 172px !important;
	}

	body.svs-commerce-page .site-header .custom-logo,
	body.svs-commerce-page #masthead .custom-logo {
		max-width: 168px !important;
		max-height: 24px !important;
	}

	body.svs-commerce-page #content > .ast-container,
	body.svs-commerce-page .site-content > .ast-container,
	body.svs-commerce-page .content-area,
	body.svs-commerce-page .site-main {
		width: min(100% - 24px, 560px) !important;
	}

	body.svs-commerce-page .entry-header {
		margin-bottom: 24px !important;
	}

	body.svs-commerce-page .svs-back-navigation {
		margin-bottom: 24px !important;
	}

	body.svs-commerce-page .svs-back-navigation .svs-back-link,
	body.svs-commerce-page .svs-back-navigation .svs-back-link:visited {
		min-height: 40px;
		padding-inline: 14px;
	}

	body.svs-commerce-page table.shop_table_responsive,
	body.svs-commerce-page table.shop_table_responsive tbody,
	body.svs-commerce-page table.shop_table_responsive tr,
	body.svs-commerce-page table.shop_table_responsive td {
		display: block !important;
		width: 100% !important;
	}

	body.svs-commerce-page table.shop_table_responsive thead {
		display: none !important;
	}

	body.svs-commerce-page table.shop_table_responsive tr {
		padding: 16px !important;
		border-bottom: 1px solid var(--svs-commerce-line) !important;
	}

	body.svs-commerce-page table.shop_table_responsive td {
		padding: 10px 0 !important;
		text-align: right !important;
	}

	body.svs-commerce-page table.shop_table_responsive td::before {
		float: left;
		margin-right: 16px;
		color: var(--svs-commerce-muted) !important;
		font-weight: 700;
	}

	body.svs-commerce-page table.shop_table_responsive td.product-remove,
	body.svs-commerce-page table.shop_table_responsive td.product-thumbnail,
	body.svs-commerce-page table.shop_table_responsive td.product-name {
		text-align: left !important;
	}

	body.svs-commerce-page table.shop_table_responsive td.product-remove::before,
	body.svs-commerce-page table.shop_table_responsive td.product-thumbnail::before,
	body.svs-commerce-page table.shop_table_responsive td.product-name::before {
		display: none;
	}

	body.svs-commerce-page table.shop_table td.actions {
		padding: 18px 16px !important;
	}

	body.svs-commerce-page .coupon,
	body.svs-commerce-page .coupon #coupon_code,
	body.svs-commerce-page .coupon .button,
	body.svs-commerce-page table.shop_table td.actions > .button {
		float: none !important;
		width: 100% !important;
	}

	body.svs-commerce-page .cart-collaterals {
		margin-top: 26px;
	}

	body.svs-cart-page .svs-shipping-section {
		margin-top: 26px;
		padding: 20px;
	}

	body.svs-commerce-page .cart-collaterals .cart_totals,
	body.svs-commerce-page .woocommerce-checkout-review-order,
	body.svs-commerce-page .wc-block-components-sidebar {
		padding: 20px;
	}

	body.svs-checkout-page #customer_details .woocommerce-billing-fields,
	body.svs-checkout-page #customer_details .woocommerce-shipping-fields,
	body.svs-checkout-page #customer_details .woocommerce-additional-fields {
		padding: 20px !important;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review_heading {
		padding: 22px 20px 16px !important;
	}

	body.svs-commerce-page form.checkout.woocommerce-checkout > #order_review {
		padding: 0 20px 20px !important;
	}
}

@media (max-width: 360px) {
	body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > th,
	body.svs-checkout-page #order_review .woocommerce-checkout-review-order-table tr > td {
		padding-inline: 12px !important;
	}

	body.svs-checkout-page #order_review ul#shipping_method li {
		gap: 8px !important;
	}

	body.svs-checkout-page #order_review ul#shipping_method label {
		font-size: 14px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.svs-commerce-page *,
	body.svs-commerce-page *::before,
	body.svs-commerce-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
