/**
 * Shop / carousel add-to-cart — light red bar, red border, black label, icon + text left.
 */

:root {
	--kelmendi-loop-atc-bg: #fdf3f4;
	--kelmendi-loop-atc-bg-hover: #fbe8ea;
	--kelmendi-loop-atc-text: #000000;
}

/* Wrapper: full width like product title */
.elementor-widget-the7-wc-products-carousel .woo-list-buttons,
.elementor-widget-the7-products .woo-list-buttons,
.woocommerce:not(.single-product) .woo-list-buttons,
.woocom-project .woo-buttons,
.woocom-project .woo-buttons-on-img {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	justify-content: stretch !important;
	box-sizing: border-box;
}

/* Button shell — full width, icon then label on the left */
.elementor-widget-the7-wc-products-carousel .woo-list-buttons .box-button,
.elementor-widget-the7-wc-products-carousel .box-hover:hover .woo-list-buttons .box-button,
.elementor-widget-the7-products .woo-list-buttons .box-button,
.elementor-widget-the7-products .box-hover:hover .woo-list-buttons .box-button,
.woocommerce:not(.single-product) .woo-list-buttons .box-button,
.woocommerce:not(.single-product) .box-hover:hover .woo-list-buttons .box-button,
.elementor-widget-the7-wc-products-carousel article .box-button,
.elementor-widget-the7-products article .box-button,
.woocommerce:not(.single-product) article .box-button,
.woocom-project .woo-buttons a.box-button,
.woocom-project .woo-buttons-on-img a.box-button {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 0.4rem;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 38px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0.45em 0.75em !important;
	padding-left: 0.75em !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	box-sizing: border-box;
	background: var(--kelmendi-loop-atc-bg) !important;
	border: 1px solid var(--kelmendi-accent, #e20813) !important;
	border-radius: 8px !important;
	color: var(--kelmendi-loop-atc-text) !important;
	box-shadow: none !important;
	white-space: nowrap;
}

.elementor-widget-the7-wc-products-carousel .woo-list-buttons .box-button:hover,
.elementor-widget-the7-wc-products-carousel .woo-list-buttons .box-button:focus,
.elementor-widget-the7-products .woo-list-buttons .box-button:hover,
.woocommerce:not(.single-product) .woo-list-buttons .box-button:hover,
.elementor-widget-the7-wc-products-carousel article .box-button:hover,
.elementor-widget-the7-products article .box-button:hover,
.woocommerce:not(.single-product) article .box-button:hover,
.woocom-project .woo-buttons a.box-button:hover {
	background: var(--kelmendi-loop-atc-bg-hover) !important;
	border-color: var(--kelmendi-accent-hover, #c00710) !important;
	color: var(--kelmendi-loop-atc-text) !important;
}

/* Bag / cart icon — first, tight to label */
.elementor-widget-the7-wc-products-carousel .box-button .elementor-button-icon,
.elementor-widget-the7-wc-products-carousel .box-button i,
.elementor-widget-the7-wc-products-carousel .box-button svg,
.elementor-widget-the7-wc-products-carousel .box-button .popup-icon,
.elementor-widget-the7-products .box-button .elementor-button-icon,
.elementor-widget-the7-products .box-button i,
.elementor-widget-the7-products .box-button svg,
.elementor-widget-the7-products .box-button .popup-icon,
.woocommerce:not(.single-product) .box-button .elementor-button-icon,
.woocommerce:not(.single-product) .box-button i,
.woocommerce:not(.single-product) .box-button svg,
.woocommerce:not(.single-product) .box-button .popup-icon,
.woocom-project .woo-buttons a.box-button .popup-icon,
.woocom-project .woo-buttons a.box-button i,
.woocom-project .woo-buttons a.box-button svg {
	order: -1 !important;
	flex: 0 0 auto;
	margin: 0 !important;
	position: static !important;
	width: auto !important;
	min-height: 0 !important;
	line-height: 1 !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 16px !important;
	color: var(--kelmendi-accent, #e20813) !important;
	fill: var(--kelmendi-accent, #e20813) !important;
}

.elementor-widget-the7-wc-products-carousel .box-button svg,
.elementor-widget-the7-products .box-button svg,
.woocommerce:not(.single-product) .box-button svg,
.woocom-project .woo-buttons a.box-button svg {
	width: 16px !important;
	height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
}

/* Label (text node is auto flex item; filter-popup when used) */
.elementor-widget-the7-wc-products-carousel .box-button .filter-popup,
.elementor-widget-the7-products .box-button .filter-popup,
.woocommerce:not(.single-product) .box-button .filter-popup {
	order: 0 !important;
	flex: 0 1 auto;
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: baseline !important;
	font-size: 0.875rem !important;
	line-height: 1.25 !important;
	color: var(--kelmendi-loop-atc-text) !important;
}

.elementor-widget-the7-wc-products-carousel .box-button:hover .filter-popup,
.elementor-widget-the7-products .box-button:hover .filter-popup,
.woocommerce:not(.single-product) .box-button:hover .filter-popup {
	color: var(--kelmendi-loop-atc-text) !important;
}

.elementor-widget-the7-wc-products-carousel .box-button:hover i,
.elementor-widget-the7-wc-products-carousel .box-button:hover svg,
.elementor-widget-the7-products .box-button:hover i,
.woocommerce:not(.single-product) .box-button:hover svg {
	color: var(--kelmendi-accent-hover, #c00710) !important;
	fill: var(--kelmendi-accent-hover, #c00710) !important;
}

/* Product card price — black (not Elementor gray) */
.elementor-widget-the7-wc-products-carousel .price,
.elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-amount,
.elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-amount bdi,
.elementor-widget-the7-wc-products-carousel .price .woocommerce-Price-currencySymbol,
.elementor-widget-the7-wc-products-carousel .price > span.woocommerce-Price-amount.amount,
.elementor-widget-the7-wc-products-carousel .price > span.woocommerce-Price-amount span,
.elementor-widget-the7-products .price,
.elementor-widget-the7-products .price .woocommerce-Price-amount,
.elementor-widget-the7-products .price .woocommerce-Price-amount bdi,
.elementor-widget-the7-products .price .woocommerce-Price-currencySymbol,
.woocommerce:not(.single-product) ul.products .price,
.woocommerce:not(.single-product) ul.products .price .woocommerce-Price-amount,
.woocommerce:not(.single-product) ul.products .price .woocommerce-Price-amount bdi,
.woocommerce:not(.single-product) ul.products .price .woocommerce-Price-currencySymbol {
	color: #000000 !important;
}

/* Sale price on cards — black as well (was accent pink in Elementor) */
.elementor-widget-the7-wc-products-carousel .price ins,
.elementor-widget-the7-wc-products-carousel .price ins span,
.elementor-widget-the7-wc-products-carousel .price ins .woocommerce-Price-amount,
.elementor-widget-the7-products .price ins,
.elementor-widget-the7-products .price ins span,
.woocommerce:not(.single-product) ul.products .price ins,
.woocommerce:not(.single-product) ul.products .price ins span {
	color: #000000 !important;
}
