/* Затемнення сторінки при відкритті панелі міні-кошика (Soleil / TRX) */

:root {
	--st-text: rgba(99, 105, 123, 0.8);
	--st-heading: rgba(3, 16, 54, 1);
	--st-border-card: #ebe4dc;
	--st-card-radius: 14px;
	--st-img-radius: 10px;
	--st-card-shadow: 0 8px 30px rgba(239, 83, 63, 0.22);
	--st-brand: var(--st-color-blue, #2090f0);
	--st-brand-hover: var(--st-color-blue-hover, #1578d4);
	--st-brand-soft: var(--st-color-blue-soft, rgba(32, 144, 240, 0.12));
	--st-accent: var(--st-color-primary, #ef533f);
	--st-accent-hover: var(--st-color-primary-hover, #d94432);
	--st-accent-active: var(--st-color-primary-active, #c23a28);
	--st-highlight-soft: var(--st-color-yellow-soft, rgba(255, 208, 0, 0.2));
	--st-header-offset: 88px;
	--st-mobile-gutter: 14px;
}

/* Затемнення панелей — лише в site-ui.css, не дублювати тут */

/* ——— Кошик і чекаут: типографіка ——— */

body.woocommerce-cart .page_content_wrap,
body.woocommerce-checkout .page_content_wrap,
body.woocommerce-order-received .page_content_wrap,
.elementor-widget-woocommerce-cart-page .page_content_wrap,
.elementor-widget-woocommerce-checkout-page .page_content_wrap {
	padding-top: 100px !important;
}

/* Кошик і чекаут: без зайвих внутрішніх відступів зверху (як на кошику) */
body.woocommerce-cart .page_content_wrap > .content_wrap,
body.woocommerce-checkout .page_content_wrap > .content_wrap,
body.woocommerce-order-received .page_content_wrap > .content_wrap,
body.woocommerce-cart .content,
body.woocommerce-checkout .content,
body.woocommerce-order-received .content,
body.woocommerce-cart article:not(.suntime-cart-order-card),
body.woocommerce-checkout article:not(.suntime-checkout-order-card),
body.woocommerce-order-received article,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-order-received .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-order-received .woocommerce {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.woocommerce-cart .page_title,
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .page_title,
body.woocommerce-checkout .entry-header,
body.woocommerce-order-received .page_title,
body.woocommerce-order-received .entry-header {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .woocommerce > .woocommerce_status_bar,
body.woocommerce-checkout .woocommerce > .woocommerce_status_bar,
body.woocommerce-order-received .woocommerce > .woocommerce_status_bar {
	margin-top: 0 !important;
}

.woocommerce-cart,
.woocommerce-checkout,
.elementor-widget-woocommerce-cart-page,
.elementor-widget-woocommerce-checkout-page {
	color: rgba(99, 105, 123, 0.8);
}

.woocommerce-cart h1,
.woocommerce-cart h2,
.woocommerce-cart h3,
.woocommerce-cart h4,
.woocommerce-cart h5,
.woocommerce-cart h6,
.woocommerce-checkout h1,
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-checkout h4,
.woocommerce-checkout h5,
.woocommerce-checkout h6 {
	color: rgba(3, 16, 54, 1);
}

.woocommerce-cart h3,
.woocommerce-checkout h3 {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
}

/* ——— Панелі як у калькулятора (.map / .filter / .chart-panel / .results) ——— */

form.woocommerce-checkout #customer_details,
.woocommerce-checkout .suntime-checkout-sidebar,
.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form,
.woocommerce-cart .suntime-cart-layout > .cart-collaterals .cart_totals,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > form.woocommerce-cart-form,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > .cart-collaterals .cart_totals {
	background: #fff;
	border: 1px solid #ebe4dc;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(239, 83, 63, 0.22);
	padding: 24px 26px;
	box-sizing: border-box;
}

form.woocommerce-checkout #customer_details .col2-set {
	margin-bottom: 0;
}

.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form {
	overflow-x: auto;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals > h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 12px !important;
	padding: 0 !important;
	color: rgba(3, 16, 54, 1);
}

.woocommerce-cart .suntime-cart-layout > .cart-collaterals .cart_totals,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > .cart-collaterals .cart_totals {
	padding: 18px 22px !important;
}

.woocommerce-cart .cart_totals > h2 {
	margin: 0 0 12px !important;
	padding: 0 !important;
}

/* ——— Кошик: список карток товарів ——— */

.suntime-cart-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.suntime-cart-order-card {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 12px;
	padding: 14px !important;
	background: rgba(3, 16, 54, 0.02);
	border: 1px solid rgba(3, 16, 54, 0.08);
	border-radius: 12px;
	box-sizing: border-box;
}

.suntime-cart-order-card__media img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--st-img-radius, 10px);
}

.suntime-cart-order-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.suntime-cart-order-card__title,
.suntime-cart-order-card__title a {
	color: rgba(3, 16, 54, 1);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
}

.suntime-cart-order-card__title a:hover {
	color: var(--st-brand);
}

.suntime-cart-order-card__remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 22px;
	line-height: 1;
	color: rgba(3, 16, 54, 0.45);
	text-decoration: none;
	border-radius: 50%;
	transition: color 0.18s ease, background-color 0.18s ease;
}

.suntime-cart-order-card__remove a:hover {
	color: #ef533f;
	background: rgba(239, 83, 63, 0.08);
}

.suntime-cart-order-card__meta .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 8px;
	font-size: 13px;
	line-height: 1.35;
}

.suntime-cart-order-card__meta .variation dt {
	margin: 0;
	font-weight: 600;
}

.suntime-cart-order-card__meta .variation dd {
	margin: 0;
}

.suntime-cart-order-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dotted rgba(3, 16, 54, 0.16);
}

.suntime-cart-order-card__price,
.suntime-cart-order-card__qty {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.suntime-cart-order-card__price-label,
.suntime-cart-order-card__qty-label {
	font-size: 13px;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.65);
}

.suntime-cart-order-card__price-value {
	font-size: 15px;
	font-weight: 700;
	color: rgba(3, 16, 54, 1);
	white-space: nowrap;
}

.suntime-cart-form-actions {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px dotted rgba(3, 16, 54, 0.16);
}

.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form {
	overflow-x: visible;
}

@media (max-width: 767px) {
	.suntime-cart-order-card {
		grid-template-columns: 64px minmax(0, 1fr);
		padding: 14px 12px 12px !important;
	}

	.suntime-cart-order-card__media img {
		width: 64px;
		height: 64px;
	}

	.suntime-cart-order-card__footer {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-end;
		justify-content: space-between;
	}
}

/* ——— Кошик: підсумок (div, без table) ——— */

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__row + .suntime-cart-totals__row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dotted rgba(3, 16, 54, 0.16) !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__label {
	font-size: 14px;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.85);
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__value {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	font-size: 15px;
	color: rgba(3, 16, 54, 1);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__row.order-total {
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__row.order-total .suntime-cart-totals__label,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__row.order-total .suntime-cart-totals__value {
	font-size: 17px;
	font-weight: 700;
	color: rgba(3, 16, 54, 1);
	width: auto;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary .woocommerce-shipping-methods,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary .woocommerce-shipping-methods li,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary #shipping_method li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .suntime-cart-totals__summary .woocommerce-shipping-destination {
	margin: 8px 0 0;
	padding: 0;
	font-size: 13px;
	color: rgba(3, 16, 54, 0.65);
}

/* Fallback: старий table у підсумках (тема / кеш) — без рамок */
body.woocommerce-cart .cart_totals > table.shop_table,
body.woocommerce-cart .cart_totals > table.shop_table tbody,
body.woocommerce-cart .cart_totals > table.shop_table tr,
body.woocommerce-cart .cart_totals > table.shop_table th,
body.woocommerce-cart .cart_totals > table.shop_table td,
body.woocommerce-cart .elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table,
body.woocommerce-cart .elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tbody,
body.woocommerce-cart .elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tr,
body.woocommerce-cart .elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table th,
body.woocommerce-cart .elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table td,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tbody,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tr,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table th,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table td {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	background-image: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.woocommerce-cart .cart_totals > table.shop_table td::before,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table td::before {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart .cart_totals > table.shop_table tr.order-total,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tr.order-total {
	display: flex !important;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	width: 100% !important;
}

body.woocommerce-cart .cart_totals > table.shop_table tr.order-total th,
body.woocommerce-cart .cart_totals > table.shop_table tr.order-total td,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tr.order-total th,
.elementor-widget-woocommerce-cart-page .cart_totals > table.shop_table tr.order-total td {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 17px;
	font-weight: 700;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals .wc-proceed-to-checkout {
	margin-top: 18px;
	padding-top: 0;
}

/* ——— Кошик: таблиці (fallback теми) ——— */
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr.suntime-cart-summary-title-row,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr:first-child:has(th[colspan="2"]:not(:has(.amount))) {
	display: none !important;
}

.woocommerce-cart .woo-actions-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) a.continue_shopping,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .woo-actions-inner a.continue_shopping,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .woo-actions-inner {
	display: none !important;
}

.woocommerce-cart form.woocommerce-cart-form {
	margin-top: 0 !important;
}

.woocommerce-cart .suntime-cart-layout > .cart-collaterals,
.woocommerce-cart .suntime-cart-layout > .cart-collaterals .cart_totals {
	margin-top: 0 !important;
}

/* ——— Кошик: таблиці на всю ширину блоку, лише пунктир між рядками ——— */

.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form,
.woocommerce-cart .suntime-cart-layout > .cart-collaterals .cart_totals {
	width: 100%;
	max-width: 100%;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart.shop_table_responsive {
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	border: none !important;
	border-collapse: collapse;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart-collaterals {
	float: none !important;
	width: auto !important;
	clear: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart.shop_table_responsive td::before {
	content: none !important;
	display: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table.shop_table_responsive,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tbody,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table td {
	width: 100% !important;
	max-width: 100%;
	margin: 0;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	outline: 0 !important;
	border-collapse: collapse;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	table-layout: auto;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table .woocommerce-shipping-totals th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table .woocommerce-shipping-totals td,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr.shipping th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr.shipping td {
	border: 0 !important;
	border-width: 0 !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table td {
	border: none !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart thead th {
	border-bottom: 1px dotted rgba(3, 16, 54, 0.22) !important;
	padding: 0 12px 14px !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: rgba(3, 16, 54, 0.85);
	text-align: left;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart tbody tr:not(:last-child) th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart tbody tr:not(:last-child) td {
	border-bottom: 1px dotted rgba(3, 16, 54, 0.22) !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart tbody td,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart tbody th {
	padding: 16px 12px !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-thumbnail img {
	width: 80px;
	height: 80px;
	max-width: 80px;
	object-fit: cover;
	border-radius: var(--st-img-radius, 10px);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-name a {
	color: rgba(3, 16, 54, 1);
	font-weight: 500;
	text-decoration: none;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-name a:hover {
	color: var(--st-brand);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-price,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-subtotal {
	font-weight: 600;
	color: rgba(3, 16, 54, 1);
	white-space: nowrap;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-quantity .quantity:not(.suntime-qty-ready) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-quantity .quantity:not(.suntime-qty-ready) .qty {
	width: 64px;
	min-height: 40px;
	margin: 0;
	padding: 8px 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: rgba(3, 16, 54, 1);
	background: #fff;
	border: 1px solid rgba(3, 16, 54, 0.16);
	border-radius: 8px;
	box-sizing: border-box;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 22px;
	line-height: 1;
	color: rgba(3, 16, 54, 0.45);
	text-decoration: none;
	border-radius: 50%;
	transition: color 0.18s ease, background-color 0.18s ease;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-remove a:hover {
	color: #ef533f;
	background: rgba(239, 83, 63, 0.08);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tbody tr:not(:last-child) th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tbody tr:not(:last-child) td {
	border-bottom: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table td {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table td {
	padding: 0 !important;
	vertical-align: top;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tbody tr + tr th,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tbody tr + tr td {
	padding-top: 14px !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table .woocommerce-shipping-destination {
	margin: 8px 0 0;
	padding: 0;
}

/* ——— Кошик: ширини колонок таблиці товарів ——— */

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-quantity > * {
	margin-left: auto;
	margin-right: auto;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-thumbnail,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-thumbnail {
	width: 80px !important;
	min-width: 80px !important;
	max-width: 80px !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-name,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-name {
	width: auto !important;
	max-width: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-subtotal,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-subtotal {
	display: none !important;
	visibility: collapse !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-price,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-price {
	width: 14% !important;
	min-width: 110px !important;
	max-width: none !important;
	text-align: right;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-quantity,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-quantity {
	width: 136px !important;
	min-width: 136px !important;
	max-width: 136px !important;
	text-align: center;
	padding-left: 8px !important;
	padding-right: 8px !important;
	overflow: hidden;
	vertical-align: middle !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart th.product-remove,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.product-remove {
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	text-align: center;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.actions,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart td.cart-coupon {
	width: auto !important;
	max-width: none !important;
}

.suntime-cart-update-hidden,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) button[name="update_cart"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ——— Кошик: qty +/− (перебиваємо стилі теми / Elementor) ——— */

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	flex-shrink: 0 !important;
	gap: 0 !important;
	width: 124px !important;
	max-width: 124px !important;
	min-width: 124px !important;
	height: 40px !important;
	border: 1px solid rgba(3, 16, 54, 0.16) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	background: #fff !important;
	vertical-align: middle;
	position: relative !important;
	box-sizing: border-box !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty-ready ~ .quantity,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty-ready ~ button,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty-ready ~ a,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity button:not(.suntime-qty-minus):not(.suntime-qty-plus),
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .plus,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .minus,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .q_inc,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .q_dec {
	display: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-minus,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-plus {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 36px !important;
	width: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	color: var(--st-heading) !important;
	background: rgba(3, 16, 54, 0.04) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	position: static !important;
	float: none !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-minus:hover,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-plus:hover {
	background: var(--st-brand-soft) !important;
	color: var(--st-brand) !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty .qty {
	display: block !important;
	flex: 0 0 52px !important;
	width: 52px !important;
	min-width: 52px !important;
	max-width: 52px !important;
	min-height: 40px !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 8px 2px !important;
	border: 0 !important;
	border-left: 1px solid rgba(3, 16, 54, 0.1) !important;
	border-right: 1px solid rgba(3, 16, 54, 0.1) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #fff !important;
	text-align: center !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: var(--st-heading) !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty .qty::-webkit-outer-spin-button,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty .qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .product-quantity .quantity:not(.suntime-qty-ready) .qty {
	width: 64px;
	min-height: 40px;
	margin: 0;
	padding: 8px 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--st-heading);
	background: #fff;
	border: 1px solid rgba(3, 16, 54, 0.16);
	border-radius: 8px;
	box-sizing: border-box;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 10px;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.35;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .variation dt {
	margin: 0;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.75);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .variation dd {
	margin: 0;
	color: var(--st-text);
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart .variation dd p {
	display: inline;
	margin: 0;
}

@media (min-width: 768px) {
	/* Картки товарів — завжди, без класичної table на desktop */
	.woocommerce-cart-form .suntime-cart-items {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	/* Legacy Soleil table.cart → картки і на desktop */
	.woocommerce-cart-form:not(:has(.suntime-cart-items)) table.cart thead {
		display: none !important;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item {
		display: grid !important;
		grid-template-columns: 80px 1fr auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price qty";
		gap: 8px 12px;
		padding: 14px;
		margin-bottom: 12px;
		background: rgba(3, 16, 54, 0.02);
		border: 1px solid rgba(3, 16, 54, 0.08) !important;
		border-radius: 12px;
		box-sizing: border-box;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item td {
		display: block !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		text-align: left !important;
		border: 0 !important;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item td::before {
		display: none !important;
		content: none !important;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item .product-thumbnail {
		grid-area: thumb;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item .product-name {
		grid-area: name;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item .product-remove {
		grid-area: remove;
		text-align: right !important;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item .product-price {
		grid-area: price;
		align-self: center;
	}

	.woocommerce-cart-form:not(:has(.suntime-cart-items)) tbody tr.cart_item .product-quantity {
		grid-area: qty;
		justify-self: end;
		align-self: center;
	}
}

@media (max-width: 767px) {
	:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart,
	:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) table.cart tbody {
		display: block !important;
	}

	.woocommerce-cart-form table.shop_table_responsive thead {
		display: none !important;
	}

	.woocommerce-cart-form tbody tr.cart_item {
		display: grid !important;
		grid-template-columns: 80px 1fr auto;
		grid-template-areas:
			"thumb name remove"
			"thumb price qty";
		gap: 8px 12px;
		padding: 16px;
		margin-bottom: 12px;
		background: #fff;
		border: 1px solid var(--st-border-card);
		border-radius: var(--st-card-radius);
		box-sizing: border-box;
	}

	.woocommerce-cart-form tbody tr.cart_item td {
		display: block !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		text-align: left !important;
		border: 0 !important;
	}

	.woocommerce-cart-form tbody tr.cart_item td::before {
		display: none !important;
		content: none !important;
	}

	.woocommerce-cart-form tbody tr.cart_item .product-thumbnail {
		grid-area: thumb;
	}

	.woocommerce-cart-form tbody tr.cart_item .product-name {
		grid-area: name;
	}

	.woocommerce-cart-form tbody tr.cart_item .product-remove {
		grid-area: remove;
		text-align: right !important;
	}

	.woocommerce-cart-form tbody tr.cart_item .product-price {
		grid-area: price;
		align-self: center;
	}

	.woocommerce-cart-form tbody tr.cart_item .product-quantity {
		grid-area: qty;
		justify-self: end;
		align-self: center;
	}

	.woocommerce-cart-form tbody tr:not(.cart_item) {
		display: block !important;
	}

	.woocommerce-cart-form tbody tr:not(.cart_item) td {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
	}
}

/* ——— Кошик: без рядка cart-subtotal у підсумках ——— */

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .cart_totals table.shop_table tr.cart-subtotal,
.woocommerce-cart table.shop_table tr.cart-subtotal {
	display: none !important;
}

/* ——— Кошик: форма + підсумки (лише .suntime-cart-layout, status bar не чіпаємо) ——— */

.woocommerce-cart .suntime-cart-layout,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(16px, 2vw, 24px);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: start;
}

.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form,
.woocommerce-cart .suntime-cart-layout > .cart-collaterals,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > form.woocommerce-cart-form,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > .cart-collaterals {
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.woocommerce-cart .suntime-cart-layout > .cart-collaterals .cart_totals,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout > .cart-collaterals .cart_totals {
	width: 100%;
	float: none !important;
}

@media (max-width: 767px) {
	.woocommerce-cart .suntime-cart-layout,
	.elementor-widget-woocommerce-cart-page .suntime-cart-layout {
		grid-template-columns: 1fr;
	}

	.woocommerce-cart .suntime-cart-layout > form.woocommerce-cart-form,
	.woocommerce-cart .suntime-cart-layout > .cart-collaterals,
	.elementor-widget-woocommerce-cart-page .suntime-cart-layout > form.woocommerce-cart-form,
	.elementor-widget-woocommerce-cart-page .suntime-cart-layout > .cart-collaterals {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* ——— Чекаут: форма + sidebar (товари + оплата) ——— */

.woocommerce-checkout form.checkout,
.woocommerce-checkout .woocommerce form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
	grid-template-areas: "checkout-details checkout-sidebar";
	gap: clamp(16px, 2vw, 24px);
	align-items: start !important;
	align-content: start !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	float: none !important;
	clear: both !important;
}

.woocommerce-checkout form.checkout > * {
	align-self: start !important;
	min-height: 0;
}

.woocommerce-checkout form.checkout::before,
.woocommerce-checkout form.checkout::after,
.woocommerce-checkout .woocommerce form.checkout::before,
.woocommerce-checkout .woocommerce form.checkout::after {
	display: none !important;
	content: none !important;
}

.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout .woocommerce form.checkout #customer_details {
	grid-area: checkout-details;
	grid-column: 1;
	grid-row: 1;
	align-self: start !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: auto !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding-top: 22px !important;
}

.woocommerce-checkout form.checkout #customer_details .col2-set,
.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	align-self: start !important;
}

.woocommerce-checkout form.checkout #customer_details .col2-set {
	display: block !important;
	align-items: flex-start !important;
	align-content: flex-start !important;
}

.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3,
.woocommerce-checkout #customer_details .woocommerce-shipping-fields > h3,
.woocommerce-checkout #customer_details .woocommerce-additional-fields > h3 {
	margin-top: 0 !important;
	margin-bottom: 18px !important;
}

.woocommerce-checkout form.checkout > #order_review_heading,
.woocommerce-checkout .woocommerce form.checkout > #order_review_heading {
	grid-area: checkout-sidebar;
	grid-column: 2;
	grid-row: 1;
	float: none !important;
	width: 100% !important;
	clear: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 20px;
	font-weight: 700;
	color: var(--st-heading);
	align-self: start !important;
}

.woocommerce-checkout form.checkout #order_review_heading,
.woocommerce-checkout .woocommerce form.checkout #order_review_heading {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 20px;
	font-weight: 700;
	color: var(--st-heading);
}

.woocommerce-checkout .suntime-checkout-sidebar {
	grid-area: checkout-sidebar;
	grid-column: 2;
	grid-row: 1;
	align-self: start !important;
	min-width: 0 !important;
	max-width: 100% !important;
	width: auto !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding-top: 22px !important;
	position: sticky;
	top: calc(var(--st-header-offset) + 16px);
	box-sizing: border-box;
}

.woocommerce-checkout .suntime-checkout-sidebar > #order_review_heading:first-child {
	margin-top: 0 !important;
}

.woocommerce-checkout .suntime-checkout-sidebar #order_review {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	box-sizing: border-box;
}

.woocommerce-checkout .suntime-checkout-sidebar #payment {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 20px 0 0 !important;
	padding: 20px 0 0 !important;
	background: transparent !important;
	border: none !important;
	border-top: 1px dotted rgba(3, 16, 54, 0.16) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	box-sizing: border-box;
}

.woocommerce-checkout .suntime-checkout-sidebar #payment .payment_methods {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.woocommerce-checkout .suntime-checkout-sidebar #payment .place-order {
	margin: 0;
	padding: 0;
}

.woocommerce-checkout .suntime-checkout-sidebar #payment .place-order .button,
.woocommerce-checkout .suntime-checkout-sidebar #payment .place-order #place_order {
	width: 100%;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center !important;
}

.woocommerce-checkout .suntime-checkout-sidebar #payment h3,
.woocommerce-checkout .suntime-checkout-sidebar #payment .woocommerce-checkout-payment h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--st-heading);
}

.elementor-widget-woocommerce-checkout-page form.checkout,
.elementor-widget-woocommerce-cart-page .suntime-cart-layout,
.elementor-widget-woocommerce-cart-page .woocommerce {
	max-width: 100%;
}

/* Elementor / legacy markup: grid без .suntime-cart-layout (status bar — на всю ширину) */
.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)),
.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(16px, 2vw, 24px);
	align-items: start;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)) > .woocommerce_status_bar,
.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) > .woocommerce_status_bar {
	grid-column: 1 / -1;
}

.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)) > form.woocommerce-cart-form,
.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) > form.woocommerce-cart-form {
	grid-column: 1;
	float: none !important;
	min-width: 0;
}

.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)) > .cart-collaterals,
.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) > .cart-collaterals {
	grid-column: 2;
	float: none !important;
	min-width: 0;
}

@media (max-width: 767px) {
	.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)),
	.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) {
		grid-template-columns: 1fr;
	}

	.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)) > form.woocommerce-cart-form,
	.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)) > .cart-collaterals,
	.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) > form.woocommerce-cart-form,
	.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) > .cart-collaterals {
		grid-column: 1;
	}
}

/* ——— Чекаут: картки товарів у review ——— */

.suntime-checkout-order__items {
	display: flex;
		flex-direction: column;
	gap: 12px;
	margin-bottom: 0;
}

.suntime-checkout-order-card {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 12px;
	padding: 14px;
	background: rgba(3, 16, 54, 0.02);
	border: 1px solid rgba(3, 16, 54, 0.08);
	border-radius: 12px;
	box-sizing: border-box;
}

.suntime-checkout-order-card__media img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--st-img-radius);
}

.suntime-checkout-order-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.suntime-checkout-order-card__head a {
	color: var(--st-heading);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.35;
}

.suntime-checkout-order-card__head a:hover {
	color: var(--st-brand);
}

.suntime-checkout-order-card__qty {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.65);
	white-space: nowrap;
}

.suntime-checkout-order-card__meta .variation {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 8px;
	font-size: 13px;
	line-height: 1.35;
}

.suntime-checkout-order-card__meta .variation dt {
	margin: 0;
	font-weight: 600;
}

.suntime-checkout-order-card__meta .variation dd {
	margin: 0;
}

.suntime-checkout-order-card__sum {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dotted rgba(3, 16, 54, 0.16);
}

.suntime-checkout-order-card__sum-label {
	font-size: 13px;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.65);
}

.suntime-checkout-order-card__sum-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--st-heading);
	white-space: nowrap;
}

.suntime-checkout-order__summary {
	display: flex;
	flex-direction: column;
	gap: 0;
		width: 100%;
	margin: 0;
	padding: 18px 0 0;
	border: 0 !important;
	border-top: 1px dotted rgba(3, 16, 54, 0.16) !important;
	background: transparent !important;
	box-shadow: none !important;
}

.suntime-checkout-order__summary-row,
.suntime-checkout-order__summary .suntime-cart-totals__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.suntime-checkout-order__summary-row + .suntime-checkout-order__summary-row,
.suntime-checkout-order__summary-row + .suntime-cart-totals__row,
.suntime-checkout-order__summary .suntime-cart-totals__row + .suntime-checkout-order__summary-row,
.suntime-checkout-order__summary .suntime-cart-totals__row + .suntime-cart-totals__row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dotted rgba(3, 16, 54, 0.16) !important;
}

.suntime-checkout-order__summary-label,
.suntime-checkout-order__summary .suntime-cart-totals__label {
	font-size: 14px;
	font-weight: 600;
	color: rgba(3, 16, 54, 0.85);
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.suntime-checkout-order__summary-value,
.suntime-checkout-order__summary .suntime-cart-totals__value {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	font-size: 15px;
	color: rgba(3, 16, 54, 1);
	line-height: 1.45;
}

.suntime-checkout-order__summary-row.order-total,
.suntime-checkout-order__summary .suntime-cart-totals__row.order-total {
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.suntime-checkout-order__summary-row.order-total .suntime-checkout-order__summary-label,
.suntime-checkout-order__summary-row.order-total .suntime-checkout-order__summary-value {
	font-size: 17px;
	font-weight: 700;
	color: var(--st-heading);
	width: auto;
}

.suntime-checkout-order__summary #shipping_method,
.suntime-checkout-order__summary .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.suntime-checkout-order__summary #shipping_method li,
.suntime-checkout-order__summary .woocommerce-shipping-methods li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
}

.suntime-checkout-order__summary #shipping_method li:last-child,
.suntime-checkout-order__summary .woocommerce-shipping-methods li:last-child {
	margin-bottom: 0;
}

.suntime-checkout-order__summary #shipping_method li label,
.suntime-checkout-order__summary .woocommerce-shipping-methods li label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	line-height: 1.4;
	font-weight: 500;
	color: rgba(3, 16, 54, 0.9);
	cursor: pointer;
}

.suntime-checkout-order__summary .woocommerce-shipping-destination {
	margin: 8px 0 0;
	padding: 0;
	font-size: 13px;
	color: rgba(3, 16, 54, 0.65);
}

.suntime-checkout-order__summary .amount,
.suntime-checkout-order__summary .woocommerce-Price-amount {
	white-space: nowrap;
}

/* Fallback: старий table у checkout summary */
.woocommerce-checkout .suntime-checkout-order__summary table.shop_table,
.woocommerce-checkout .suntime-checkout-order__summary table.shop_table tbody,
.woocommerce-checkout .suntime-checkout-order__summary table.shop_table tr,
.woocommerce-checkout .suntime-checkout-order__summary table.shop_table th,
.woocommerce-checkout .suntime-checkout-order__summary table.shop_table td {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

@media (max-width: 991px) {
	.woocommerce-checkout form.checkout,
	.woocommerce-checkout .woocommerce form.checkout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"checkout-details"
			"checkout-sidebar";
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout .woocommerce form.checkout #customer_details,
	.woocommerce-checkout form.checkout > #order_review_heading,
	.woocommerce-checkout .suntime-checkout-sidebar {
		grid-column: 1;
		grid-row: auto;
		max-width: 100% !important;
	}

	form.woocommerce-checkout #customer_details,
	.woocommerce-checkout .suntime-checkout-sidebar {
		padding-left: var(--st-mobile-gutter) !important;
		padding-right: var(--st-mobile-gutter) !important;
	}

	.woocommerce-checkout .suntime-checkout-sidebar {
		position: static !important;
		top: auto !important;
	}

	.woocommerce-checkout .suntime-checkout-order-card {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.woocommerce-checkout .suntime-checkout-order-card__media img {
		width: 64px;
		height: 64px;
	}
}

/* ——— Чекаут: Zen UI select як інші поля ——— */

.woocommerce-checkout .zen-ui-select,
.woocommerce-checkout .zen-ui-select__control {
	width: 100%;
}

.woocommerce-checkout .zen-ui-select__value,
.woocommerce-checkout .zen-ui-select__trigger,
.woocommerce-checkout .zen-ui-select__single-value {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 13px 28px 13px 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.5em;
	color: var(--theme-color-input_text, inherit);
	background-color: var(--theme-color-input_bg_color, transparent) !important;
	border: none !important;
	border-bottom: 1px solid var(--theme-color-input_bd_color, #e0e0e0) !important;
	border-radius: 0 !important;
	box-shadow: 0 15px 15px -14px rgba(0, 0, 0, 0.025) !important;
	box-sizing: border-box;
	outline: none;
}

.woocommerce-checkout .zen-ui-select:focus-within .zen-ui-select__value,
.woocommerce-checkout .zen-ui-select.is-open .zen-ui-select__value,
.woocommerce-checkout .zen-ui-select__value:focus {
	color: var(--theme-color-input_dark, inherit);
	border-bottom-color: var(--theme-color-text_dark, #0f172a) !important;
	background-color: var(--theme-color-input_bg_hover, transparent) !important;
}

.woocommerce-checkout .zen-ui-select__arrow,
.woocommerce-checkout .zen-ui-select__chevron {
	color: var(--theme-color-text_light, #64748b);
}

/* ——— Чекаут: підсумок замовлення без рядка cart-subtotal ——— */

.woocommerce-checkout .shop_table tr.cart-subtotal,
.woocommerce-checkout-review-order-table tr.cart-subtotal {
	display: none !important;
}

/* ——— Чекаут: відступи полів форми ——— */

.woocommerce-checkout form .form-row,
.woocommerce-checkout.woocommerce-page form .form-row {
	padding: 0;
	margin-bottom: 20px;
}

.woocommerce-checkout form .form-row label,
.woocommerce-checkout.woocommerce-page form .form-row label {
	line-height: 1.5em;
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 5px;
	color: rgba(3, 16, 54, 1);
}

/* Чекаут: без подвійних бокових inset у колонках полів */
.woocommerce-checkout #customer_details .woocommerce-account-fields,
.woocommerce-checkout #customer_details .woocommerce-billing-fields,
.woocommerce-checkout #customer_details .woocommerce-shipping-fields,
.woocommerce-checkout #customer_details .woocommerce-additional-fields,
.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout #customer_details .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.woocommerce-checkout #customer_details .create-account label.checkbox {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#billing_phone_field label .optional {
	display: none !important;
}

/* ——— Замовлення отримано: одна колонка, панелі як на чекауті ——— */

.woocommerce-order-received,
.woocommerce-order-received .woocommerce-order,
.woocommerce-checkout .woocommerce-order {
	color: rgba(99, 105, 123, 0.8);
}

.woocommerce-order-received h2,
.woocommerce-order-received h3,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details__title,
.woocommerce-checkout .woocommerce-order .woocommerce-column__title {
	color: rgba(3, 16, 54, 1);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 18px;
}

.woocommerce-order-received .woocommerce-order {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

/* Блок етапів — без змін оформлення */
.woocommerce-order-received .woocommerce-order > .woocommerce_status_bar {
	margin: 0;
	flex-shrink: 0;
}

/* Подяка */
.woocommerce-order-received p.woocommerce-thankyou-order-received {
	margin: 0;
	padding: 28px 30px;
	background: linear-gradient(135deg, var(--st-brand-soft) 0%, #fff 55%);
	border: 1px solid #ebe4dc;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(239, 83, 63, 0.18);
	box-sizing: border-box;
}

.woocommerce-order-received .suntime-order-received__title {
	display: block;
	margin: 0 0 10px;
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 600;
	line-height: 1.25;
	color: rgba(3, 16, 54, 1);
}

.woocommerce-order-received .suntime-order-received__subtitle {
	display: block;
	margin: 0;
	max-width: 52em;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	color: rgba(99, 105, 123, 0.95);
}

/* Короткі дані замовлення */
.woocommerce-order-received ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px 24px;
	margin: 0;
	padding: 24px 26px;
	list-style: none;
	background: #fff;
	border: 1px solid #ebe4dc;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(239, 83, 63, 0.22);
	box-sizing: border-box;
}

.woocommerce-order-received ul.woocommerce-order-overview::before,
.woocommerce-order-received ul.woocommerce-order-overview::after {
	content: none;
	display: none;
}

.woocommerce-order-received ul.woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(99, 105, 123, 0.9);
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	font-weight: 600;
	color: rgba(3, 16, 54, 1);
}

/* Секції: товари та адреса */
.woocommerce-order-received .woocommerce-order,
.woocommerce-checkout .woocommerce-order {
	min-width: 0;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details,
.woocommerce-checkout .woocommerce-order .woocommerce-customer-details {
	margin: 0;
	padding: 22px 20px;
	background: #fff;
	border: 1px solid #ebe4dc;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(239, 83, 63, 0.22);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.woocommerce-order-received .woocommerce-order-details .suntime-order-details-table-wrap,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details .suntime-order-details-table-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
}

.woocommerce-order-received .woocommerce-order-details .shop_table_order_details,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details .shop_table_order_details {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
}

.woocommerce-order-received .woocommerce-order-details table.order_details,
.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.woocommerce-table--order-details {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	table-layout: fixed !important;
	border: none !important;
	border-collapse: collapse !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details tbody,
.woocommerce-order-received .woocommerce-order-details table.order_details tr,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tbody,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tr {
	display: table-row-group;
	width: 100%;
	max-width: 100%;
}

.woocommerce-order-received .woocommerce-order-details table.order_details tr,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tr {
	display: table-row !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details td,
.woocommerce-order-received .woocommerce-order-details table.order_details th,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details td,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details th {
	display: table-cell !important;
	border: none !important;
	background: transparent !important;
	padding: 12px 0 !important;
	vertical-align: top;
	box-sizing: border-box !important;
	min-width: 0 !important;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: manual;
}

.woocommerce-order-received .woocommerce-order-details table.order_details tbody tr:not(:last-child) td,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tbody tr:not(:last-child) td {
	border-bottom: 1px dotted rgba(3, 16, 54, 0.22) !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details td:first-child,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details td:first-child {
	width: 58% !important;
	max-width: 58% !important;
	padding-right: 10px !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details td:last-child,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details td:last-child {
	width: 42% !important;
	max-width: 42% !important;
	padding-left: 6px !important;
	text-align: right !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details .product-name,
.woocommerce-order-received .woocommerce-order-details table.order_details .woocommerce-table__product-name,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .product-name,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .woocommerce-table__product-name {
	color: rgba(3, 16, 54, 1);
}

.woocommerce-order-received .woocommerce-order-details table.order_details .product-name a,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .product-name a {
	color: rgba(3, 16, 54, 1);
	text-decoration: none;
	word-break: normal;
	overflow-wrap: break-word;
}

.woocommerce-order-received .woocommerce-order-details table.order_details .product-name a:hover,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .product-name a:hover {
	color: var(--st-brand);
}

.woocommerce-order-received .woocommerce-order-details table.order_details .product-total,
.woocommerce-order-received .woocommerce-order-details table.order_details .woocommerce-table__product-total,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .product-total,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .woocommerce-table__product-total {
	color: rgba(3, 16, 54, 1);
	font-weight: 600;
	white-space: normal !important;
}

.woocommerce-order-received .woocommerce-order-details table.order_details .product-quantity,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .product-quantity {
	display: block;
	margin-top: 4px;
	font-weight: 600;
}

.woocommerce-order-received .woocommerce-order-details table.order_details .amount,
.woocommerce-order-received .woocommerce-order-details table.order_details .woocommerce-Price-amount,
.woocommerce-order-received .woocommerce-order-details table.order_details bdi,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .amount,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details .woocommerce-Price-amount,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details bdi {
	white-space: normal !important;
	word-break: normal;
	overflow-wrap: break-word;
}

.woocommerce-order-received .woocommerce-order-details table.order_details tr:not(.order_item) td:first-child,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tr:not(.order_item) td:first-child {
	font-weight: 500;
	color: rgba(3, 16, 54, 0.85);
}

.woocommerce-order-received .woocommerce-order-details table.order_details tr:not(.order_item) td:last-child,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tr:not(.order_item) td:last-child {
	color: rgba(3, 16, 54, 1);
}

/* Вимкнути responsive-режим таблиці (ламає ширину на десктопі) */
.woocommerce-order-received .woocommerce-order-details table.shop_table_responsive td::before,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.shop_table_responsive td::before {
	content: none !important;
	display: none !important;
}

.woocommerce-order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: none;
	font-style: normal;
	line-height: 1.6;
	color: rgba(99, 105, 123, 0.95);
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
	margin: 12px 0 0;
}

@media (max-width: 767px) {
	.woocommerce-order-received ul.woocommerce-order-overview {
		grid-template-columns: 1fr;
	}

	.woocommerce-order-received .woocommerce-order-details table.order_details td:first-child,
	.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details td:first-child {
		width: 100% !important;
		max-width: 100% !important;
		display: block !important;
		padding-bottom: 4px !important;
	}

	.woocommerce-order-received .woocommerce-order-details table.order_details td:last-child,
	.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details td:last-child {
		width: 100% !important;
		max-width: 100% !important;
		display: block !important;
		text-align: left !important;
		padding-top: 0 !important;
	}

	.woocommerce-order-received .woocommerce-order-details table.order_details tr,
	.woocommerce-checkout .woocommerce-order .woocommerce-order-details table.order_details tr {
		display: block !important;
	}
}

/* ——— Кошик / чекаут: повідомлення про помилку (напр. сесія скінчилася) ——— */

.woocommerce-cart .woocommerce > .woocommerce-error,
.woocommerce-checkout .woocommerce > .woocommerce-error,
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-error,
.elementor-widget-woocommerce-cart-page .woocommerce-error,
.elementor-widget-woocommerce-checkout-page .woocommerce-error {
	list-style: none !important;
	margin: 0 0 24px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-cart .woocommerce-error li,
.woocommerce-checkout .woocommerce-error li,
.elementor-widget-woocommerce-cart-page .woocommerce-error li,
.elementor-widget-woocommerce-checkout-page .woocommerce-error li {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin: 0 !important;
	padding: 20px 22px !important;
	background: linear-gradient(135deg, rgba(239, 83, 63, 0.1) 0%, #fff 58%) !important;
	border: 1px solid rgba(239, 83, 63, 0.28) !important;
	border-radius: 14px !important;
	box-shadow: 0 8px 24px rgba(239, 83, 63, 0.12) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	color: var(--st-heading) !important;
}

.woocommerce-cart .woocommerce-error li::before,
.woocommerce-checkout .woocommerce-error li::before,
.elementor-widget-woocommerce-cart-page .woocommerce-error li::before,
.elementor-widget-woocommerce-checkout-page .woocommerce-error li::before {
	content: none !important;
	display: none !important;
}

.woocommerce-cart .woocommerce-error a,
.woocommerce-checkout .woocommerce-error a,
.woocommerce-cart .woocommerce-error .button,
.woocommerce-checkout .woocommerce-error .button,
.woocommerce-cart .woocommerce-error .wc-backward,
.woocommerce-checkout .woocommerce-error .wc-backward,
.elementor-widget-woocommerce-cart-page .woocommerce-error a,
.elementor-widget-woocommerce-checkout-page .woocommerce-error a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 !important;
	padding: 11px 24px !important;
	background: var(--st-accent) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #fff !important;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.woocommerce-cart .woocommerce-error a:hover,
.woocommerce-checkout .woocommerce-error a:hover,
.woocommerce-cart .woocommerce-error .button:hover,
.woocommerce-checkout .woocommerce-error .button:hover,
.elementor-widget-woocommerce-cart-page .woocommerce-error a:hover,
.elementor-widget-woocommerce-checkout-page .woocommerce-error a:hover {
	background: var(--st-accent-hover) !important;
	color: #fff !important;
	text-decoration: none !important;
}

@media (max-width: 767px) {
	.woocommerce-cart .woocommerce-error li,
	.woocommerce-checkout .woocommerce-error li,
	.elementor-widget-woocommerce-cart-page .woocommerce-error li,
	.elementor-widget-woocommerce-checkout-page .woocommerce-error li {
		padding: 16px 18px !important;
		font-size: 15px !important;
	}

	.woocommerce-cart .woocommerce-error a,
	.woocommerce-checkout .woocommerce-error a,
	.elementor-widget-woocommerce-cart-page .woocommerce-error a,
	.elementor-widget-woocommerce-checkout-page .woocommerce-error a {
		width: 100%;
		box-sizing: border-box;
	}
}

/* ——— Кошик: порожній стан ——— */

body.suntime-cart-is-empty .entry-content > .woocommerce,
body.woocommerce-cart .entry-content > .woocommerce:has(.suntime-cart-empty),
.elementor-widget-woocommerce-cart-page .entry-content > .woocommerce:has(.suntime-cart-empty) {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.suntime-cart-is-empty .entry-content > .woocommerce > .woocommerce_status_bar,
body.woocommerce-cart .entry-content > .woocommerce:has(.suntime-cart-empty) > .woocommerce_status_bar,
.elementor-widget-woocommerce-cart-page .entry-content > .woocommerce:has(.suntime-cart-empty) > .woocommerce_status_bar {
	align-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 20px !important;
}

body.suntime-cart-is-empty .entry-content .suntime-cart-empty,
body.woocommerce-cart .entry-content .suntime-cart-empty,
.elementor-widget-woocommerce-cart-page .suntime-cart-empty {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	flex: 0 0 auto !important;
	width: min(440px, 100%) !important;
	max-width: 440px !important;
	margin: 0 auto !important;
	float: none !important;
	clear: both !important;
	padding: 40px 32px 36px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--st-border-card);
	border-radius: var(--st-card-radius);
	box-shadow: var(--st-card-shadow);
	box-sizing: border-box;
}

.suntime-cart-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin: 0 0 18px;
	border-radius: 50%;
	background: var(--st-brand-soft);
	color: var(--st-brand);
}

.suntime-cart-empty__icon svg {
	display: block;
	width: 56px;
	height: 56px;
}

.suntime-cart-empty__title {
	margin: 0 0 10px;
	font-size: clamp(22px, 2.4vw, 26px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--st-heading);
}

.suntime-cart-empty__text {
	margin: 0 0 22px;
	max-width: 32ch;
	font-size: 16px;
	line-height: 1.5;
	color: var(--st-text);
}

.suntime-cart-empty__button,
.suntime-cart-empty .button.wc-backward {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin: 0 !important;
	padding: 12px 28px !important;
	background: var(--st-accent) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: #fff !important;
	transition: background-color 0.18s ease;
}

.suntime-cart-empty__button:hover,
.suntime-cart-empty .button.wc-backward:hover {
	background: var(--st-accent-hover) !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* Fallback: стандартний WC empty cart */
.woocommerce-cart .woocommerce:has(.cart-empty):not(:has(.suntime-cart-empty)),
.elementor-widget-woocommerce-cart-page .woocommerce:has(.cart-empty):not(:has(.suntime-cart-empty)) {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: clamp(280px, 42vh, 420px);
	gap: 16px;
}

.woocommerce-cart .cart-empty.woocommerce-info,
.elementor-widget-woocommerce-cart-page .cart-empty.woocommerce-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 440px;
	margin: 0 !important;
	padding: 40px 32px 24px !important;
	text-align: center;
	background: #fff !important;
	border: 1px solid var(--st-border-card) !important;
	border-radius: var(--st-card-radius) !important;
	box-shadow: var(--st-card-shadow) !important;
	font-size: clamp(22px, 2.4vw, 26px) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: var(--st-heading) !important;
}

.woocommerce-cart .cart-empty.woocommerce-info::before,
.elementor-widget-woocommerce-cart-page .cart-empty.woocommerce-info::before {
	content: "";
	display: block;
	width: 96px;
	height: 96px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background-color: var(--st-brand-soft);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 24 24' fill='none' stroke='%232090f0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 56px 56px;
}

.woocommerce-cart .return-to-shop,
.elementor-widget-woocommerce-cart-page .return-to-shop {
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}

.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .return-to-shop a,
.elementor-widget-woocommerce-cart-page .return-to-shop .button,
.elementor-widget-woocommerce-cart-page .return-to-shop a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 28px !important;
	background: var(--st-accent) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #fff !important;
	text-decoration: none !important;
}

@media (max-width: 767px) {
	.suntime-cart-empty {
		padding: 32px 22px 28px;
	}

	.suntime-cart-empty__button,
	.suntime-cart-empty .button.wc-backward {
		width: 100%;
		box-sizing: border-box;
	}
}

/* ——— Моб: сторінка на 100% ширини, gutter на внутрішній сітці (тіні карток) ——— */

@media (max-width: 767px) {
	body.woocommerce-cart .page_content_wrap,
	body.woocommerce-checkout .page_content_wrap,
	body.woocommerce-order-received .page_content_wrap,
	body.woocommerce-cart .page_content_wrap > .content_wrap,
	body.woocommerce-checkout .page_content_wrap > .content_wrap,
	body.woocommerce-order-received .page_content_wrap > .content_wrap,
	body.woocommerce-cart .content,
	body.woocommerce-checkout .content,
	body.woocommerce-order-received .content,
	body.woocommerce-cart .entry-content,
	body.woocommerce-checkout .entry-content,
	body.woocommerce-order-received .entry-content,
	body.woocommerce-cart article.page,
	body.woocommerce-checkout article.page,
	body.woocommerce-order-received article.page,
	body.woocommerce-cart .elementor.e-con > .e-con-inner,
	body.woocommerce-checkout .elementor.e-con > .e-con-inner,
	body.woocommerce-order-received .elementor.e-con > .e-con-inner,
	.elementor-widget-woocommerce-cart-page .elementor-widget-container,
	.elementor-widget-woocommerce-checkout-page .elementor-widget-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
		overflow: visible !important;
		box-sizing: border-box;
	}

	body.woocommerce-cart .e-con-boxed,
	body.woocommerce-checkout .e-con-boxed,
	body.woocommerce-order-received .e-con-boxed {
		--padding-left: 0px !important;
		--padding-right: 0px !important;
		--padding-inline-start: 0px !important;
		--padding-inline-end: 0px !important;
	}

	body.woocommerce-cart .woocommerce,
	body.woocommerce-checkout .woocommerce,
	body.woocommerce-order-received .woocommerce {
		padding-left: 0 !important;
		padding-right: 0 !important;
		overflow: visible !important;
	}

	body.woocommerce-cart .woocommerce > .woocommerce_status_bar,
	body.woocommerce-checkout .woocommerce > .woocommerce_status_bar,
	body.woocommerce-order-received .woocommerce > .woocommerce_status_bar,
	body.woocommerce-cart .woocommerce-notices-wrapper,
	body.woocommerce-checkout .woocommerce-notices-wrapper,
	body.woocommerce-order-received .woocommerce-notices-wrapper {
		padding-left: var(--st-mobile-gutter) !important;
		padding-right: var(--st-mobile-gutter) !important;
		box-sizing: border-box;
	}

	.woocommerce-cart .suntime-cart-layout,
	.elementor-widget-woocommerce-cart-page .suntime-cart-layout,
	.woocommerce-cart .woocommerce:not(:has(> .suntime-cart-layout)),
	.elementor-widget-woocommerce-cart-page .woocommerce:not(:has(> .suntime-cart-layout)) {
		padding-left: var(--st-mobile-gutter) !important;
		padding-right: var(--st-mobile-gutter) !important;
		box-sizing: border-box;
		overflow: visible !important;
	}

	.woocommerce-cart .cart-empty,
	.woocommerce-cart .return-to-shop,
	.suntime-cart-empty {
		margin-left: var(--st-mobile-gutter);
		margin-right: var(--st-mobile-gutter);
	}
}

/* ——— Кнопки кошика / чекауту: hover + active ——— */

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.suntime-cart-empty__button,
.suntime-cart-empty .button.wc-backward,
.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .return-to-shop a,
.woocommerce-cart .woocommerce-error .button,
.woocommerce-checkout .woocommerce-error .button {
	background: var(--st-accent) !important;
	border: 0 !important;
	color: #fff !important;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .wc-proceed-to-checkout a.checkout-button:hover,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:focus,
.suntime-cart-empty__button:hover,
.suntime-cart-empty .button.wc-backward:hover,
.woocommerce-cart .return-to-shop .button:hover,
.woocommerce-cart .return-to-shop a:hover,
.woocommerce-cart .woocommerce-error .button:hover,
.woocommerce-checkout .woocommerce-error .button:hover {
	background: var(--st-accent-hover) !important;
	color: #fff !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout #payment #place_order:active,
.suntime-cart-empty__button:active,
.suntime-cart-empty .button.wc-backward:active,
.woocommerce-cart .return-to-shop .button:active,
.woocommerce-cart .return-to-shop a:active {
	background: var(--st-accent-active) !important;
	color: #fff !important;
}

:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-minus:active,
:is(.woocommerce-cart, .elementor-widget-woocommerce-cart-page) form.woocommerce-cart-form .product-quantity .suntime-qty button.suntime-qty-plus:active {
	background: var(--st-highlight-soft) !important;
	color: var(--st-color-navy, #031036) !important;
}

/* ——— Міні-кошик (панель хедера) ——— */
.sc_layouts_cart_panel .widget_shopping_cart_content {
	min-height: 180px;
}

.sc_layouts_cart_panel .suntime-mini-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: clamp(220px, 42vh, 360px);
	padding: 28px 24px 32px;
	text-align: center;
	box-sizing: border-box;
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	margin: 0 0 16px;
	border-radius: 50%;
	background: var(--st-brand-soft, rgba(32, 144, 240, 0.12));
	color: var(--st-brand, #2090f0);
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--st-heading, rgba(3, 16, 54, 1));
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__text {
	margin: 0 0 20px;
	max-width: 30ch;
	font-size: 15px;
	line-height: 1.5;
	color: var(--st-text, rgba(3, 16, 54, 0.78));
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__text a {
	color: var(--st-accent, #ef533f);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__close.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 !important;
	padding: 10px 24px !important;
	border: 2px solid var(--st-accent, #ef533f) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--st-accent, #ef533f) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sc_layouts_cart_panel .suntime-mini-cart-empty__close.button:hover,
.sc_layouts_cart_panel .suntime-mini-cart-empty__close.button:focus {
	background: var(--st-accent, #ef533f) !important;
	border-color: var(--st-accent, #ef533f) !important;
	color: #fff !important;
}
