.vksa-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: 100%;
	margin: 8px 0;
	padding: 0;
	color: #172033;
	background: transparent;
	font-size: 14px;
	line-height: 1.35;
	box-sizing: border-box;
}

.vksa-status-line {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	font-weight: 700;
}

.vksa-status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #18a058;
	flex: 0 0 auto;
}

.vksa-status-unavailable .vksa-status-dot {
	background: #c43d3d;
}

.vksa-status-preorder .vksa-status-dot {
	background: #2f65d8;
}

.vksa-status-estimate .vksa-status-dot {
	background: #9c670e;
}

.vksa-label {
	color: inherit;
	overflow-wrap: anywhere;
}

.vksa-details {
	display: block;
	padding-left: 15px;
	color: #4b5565;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.vksa-badge-compact {
	margin: 5px 0;
	font-size: 13px;
}

.vksa-badge-compact .vksa-details {
	font-size: 12px;
}

.woocommerce ul.products li.product .product-category-listing,
.woocommerce ul.products li.product-item .product-category-listing {
	display: none !important;
}

.woocommerce ul.products li.product .category-price-grid-list .availability,
.woocommerce ul.products li.product .category-price-grid .availability,
.woocommerce ul.products li.product-item .category-price-grid-list .availability,
.woocommerce ul.products li.product-item .category-price-grid .availability {
	display: none !important;
}

.woocommerce ul.products li.product .category-discription-grid .vksa-badge,
.woocommerce ul.products li.product .category-discription-grid-list .vksa-badge,
.woocommerce ul.products li.product-item .category-discription-grid .vksa-badge,
.woocommerce ul.products li.product-item .category-discription-grid-list .vksa-badge {
	margin: 7px 0 10px;
}

.woocommerce ul.products li.product .category-price-grid .vksa-shop-card-badge,
.woocommerce ul.products li.product .category-price-grid-list .vksa-shop-card-badge,
.woocommerce ul.products li.product-item .category-price-grid .vksa-shop-card-badge,
.woocommerce ul.products li.product-item .category-price-grid-list .vksa-shop-card-badge {
	margin: 8px 0 10px;
}

.woocommerce ul.products li.product.vksa-shop-card-reordered .image-container > .vksa-badge:not(.vksa-shop-card-badge),
.woocommerce ul.products li.product-item.vksa-shop-card-reordered .image-container > .vksa-badge:not(.vksa-shop-card-badge) {
	display: none !important;
}

.woocommerce ul.products li.product .vksa-shop-card-badge,
.woocommerce ul.products li.product-item .vksa-shop-card-badge {
	display: inline-flex;
}

.woocommerce ul.products li.product .category-discription-grid h4,
.woocommerce ul.products li.product .category-discription-grid-list h4,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product-item .category-discription-grid h4,
.woocommerce ul.products li.product-item .category-discription-grid-list h4,
.woocommerce ul.products li.product-item .woocommerce-loop-product__title {
	margin-bottom: 0;
}

.vksa-split-shipment-option {
	margin: 16px 0;
	padding: 14px 16px;
	border: 1px solid #d8dee8;
	border-radius: 6px;
	background: #f8fafc;
	color: #172033;
	box-sizing: border-box;
}

.woocommerce-cart .product-name > .amount,
.woocommerce-cart .product-name > .woocommerce-Price-amount,
.woocommerce-cart .product-name .product-price,
.woocommerce-cart .product-name .wc-block-components-product-price,
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price,
.woocommerce-checkout .product-name > .amount,
.woocommerce-checkout .product-name > .woocommerce-Price-amount,
.woocommerce-checkout .product-name .product-price,
.woocommerce-checkout .product-name .wc-block-components-product-price,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price {
	display: none !important;
}

.woocommerce-cart .product-name a,
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-name a,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	color: #172033;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.woocommerce-cart .product-subtotal,
.woocommerce-cart .product-subtotal .amount,
.woocommerce-cart .product-subtotal .woocommerce-Price-amount,
.woocommerce-cart .wc-block-cart-item__total,
.woocommerce-cart .wc-block-components-product-price__value,
.woocommerce-checkout .product-total,
.woocommerce-checkout .product-total .amount,
.woocommerce-checkout .product-total .woocommerce-Price-amount,
.woocommerce-checkout .wc-block-components-order-summary-item__total-price,
.woocommerce-checkout .wc-block-components-formatted-money-amount {
	color: #172033;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details {
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description .vksa-cart-delivery-led {
	margin-top: 0;
}

.woocommerce-checkout .product-name,
.woocommerce-checkout .product-name a,
.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-weight: 400;
}

.woocommerce-checkout .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	column-gap: 16px;
	align-items: start;
	padding-top: 14px;
	padding-bottom: 14px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
	grid-column: 1;
	margin: 0;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description {
	grid-column: 2;
	padding-top: 1px;
}

.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	grid-column: 3;
	justify-self: end;
	padding-top: 1px;
	white-space: nowrap;
}

.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	display: block;
	margin: 0 0 2px;
	line-height: 1.22;
}

.woocommerce-checkout .wc-block-components-product-details,
.woocommerce-checkout .wc-block-components-product-details li,
.woocommerce-checkout .wc-block-components-product-metadata,
.woocommerce-checkout .wc-block-components-product-metadata p {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.woocommerce-checkout .wc-block-components-product-details li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.vksa-delivery-panel {
	--vksa-delivery-accent: #4054d6;
	--vksa-delivery-ink: #20243b;
	--vksa-delivery-muted: #515a70;
	--vksa-delivery-line: #d9dfeb;
	--vksa-delivery-soft: #f4f6fc;
	min-inline-size: 0;
	margin-block: 14px;
	padding-block: 13px 3px;
	border-block-start: 1px solid var(--vksa-delivery-line);
	color: var(--vksa-delivery-ink);
	box-sizing: border-box;
}

.woocommerce-checkout-review-order-table .vksa-delivery-review > td {
	padding: 0;
	border: 0;
	text-align: start;
}

.vksa-delivery-review .vksa-delivery-panel {
	margin-block: 0 12px;
}

.vksa-delivery-panel-head {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.vksa-delivery-panel-head strong {
	display: block;
	margin: 0 0 2px;
	color: #343a46;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.vksa-delivery-panel-head p {
	margin: 0;
	color: var(--vksa-delivery-muted);
	font-size: 13px;
	line-height: 1.45;
}

.vksa-delivery-dot {
	width: 6px;
	height: 6px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--vksa-delivery-accent);
	flex: 0 0 auto;
}

.vksa-delivery-panel .vksa-delivery-date {
	margin: 5px 0 0;
	padding-inline-start: 14px;
	color: var(--vksa-delivery-muted);
	font-size: 12px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.vksa-delivery-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 11px;
}

.vksa-delivery-split > div {
	padding: 10px 11px;
	border: 1px solid var(--vksa-delivery-line);
	border-radius: 6px;
	background: #fff;
	color: #343a46;
	font-size: 12px;
	line-height: 1.4;
}

.vksa-delivery-split strong {
	display: block;
	margin-bottom: 5px;
	color: var(--vksa-delivery-ink);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
}

.vksa-shipment-items {
	margin: 0;
	padding-left: 16px;
	color: var(--vksa-delivery-muted);
	font-size: 12px;
	line-height: 1.45;
}

.vksa-shipment-items li {
	margin: 1px 0 0;
}

.vksa-split-in-panel {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 11px;
	margin-bottom: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.vksa-split-in-panel legend {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.vksa-delivery-choice {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 8px;
	row-gap: 2px;
	align-items: start;
	margin: 0;
	padding: 10px 11px;
	border: 1px solid var(--vksa-delivery-line);
	border-radius: 6px;
	background: #fff;
	color: var(--vksa-delivery-ink);
	font-size: 13px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.vksa-delivery-choice input {
	grid-row: span 2;
	margin-top: 2px;
	accent-color: var(--vksa-delivery-accent);
}

.vksa-delivery-choice span {
	color: var(--vksa-delivery-ink);
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.vksa-delivery-choice small {
	min-width: 0;
	overflow-wrap: anywhere;
	color: var(--vksa-delivery-muted);
	font-size: 12px;
	line-height: 1.35;
	text-transform: none;
}

.vksa-split-shipment-option label:not(.vksa-delivery-choice) {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-weight: 700;
	cursor: pointer;
}

.vksa-split-shipment-option input {
	margin: 0;
}

.vksa-delivery-choice:has(input:checked) {
	border-color: var(--vksa-delivery-accent);
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(79, 99, 246, 0.18);
}

.vksa-split-shipment-option p {
	margin: 6px 0 0;
	color: var(--vksa-delivery-muted);
	font-size: 12px;
	line-height: 1.45;
}

.vksa-order-delivery {
	display: inline-block;
	color: #334155;
	font-size: 13px;
	line-height: 1.45;
}
.vksa-cart-delivery-led {
	--vksa-cart-stock-color: #14623c;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	max-width: 100%;
	margin-block-start: 3px;
	color: #515a70;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
	vertical-align: middle;
}

.vksa-cart-delivery-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vksa-cart-stock-color);
	flex: 0 0 auto;
}

.vksa-delivery-led-yellow { --vksa-cart-stock-color: #9c670e; }
.vksa-delivery-led-red { --vksa-cart-stock-color: #a72c39; }

html[data-vk-theme="dark"] .vksa-cart-delivery-led {
	color: var(--vk3-text-muted, #c3c8d5);
	--vksa-cart-stock-color: #80d9ac;
}

html[data-vk-theme="dark"] .vksa-delivery-led-yellow { --vksa-cart-stock-color: #f3ce87; }
html[data-vk-theme="dark"] .vksa-delivery-led-red { --vksa-cart-stock-color: #ffacb4; }

@media (max-width: 640px) {
	.vksa-delivery-split {
		grid-template-columns: 1fr;
	}

	.vksa-split-in-panel {
		grid-template-columns: 1fr;
	}
}

/* Override the shared stock card surface only on customer-facing delivery summaries. */
.vk-stock-delivery.vksa-delivery-panel:is(.vksa-delivery-panel-cart, .vksa-delivery-panel-checkout) {
	border: 0;
	border-block-start: 1px solid var(--vksa-delivery-line);
	border-radius: 0;
	background: transparent;
}

.vk-stock-delivery.vksa-delivery-panel .vksa-delivery-date {
	background: transparent;
}
