/* Product listing pages — empty state, toolbar, quick view, swatches, sale badges */

:root {
	--ax-shop-lime: #bad531;
	--ax-shop-lime-dark: #a8c02e;
	--ax-shop-ink: #13160b;
	--ax-shop-muted: #697068;
	--ax-shop-line: #dde2d8;
	--ax-shop-soft: #f3f4f2;
}

/* —— Empty state (all PLPs + New Arrivals) —— */
.axonfit-plp-empty,
.axonfit-new-arrivals-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 2rem 0 2.5rem;
	padding: 2.5rem 1.5rem;
	text-align: center;
	border: 1px solid var(--ax-shop-line);
	border-radius: 24px;
	background: var(--ax-shop-soft);
	color: var(--ax-shop-ink);
	list-style: none;
}

.axonfit-plp-empty::before,
.axonfit-new-arrivals-empty::before {
	content: none !important;
	display: none !important;
}

.axonfit-plp-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: rgba(186, 213, 49, 0.22);
	color: var(--ax-shop-ink);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.axonfit-plp-empty__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.axonfit-plp-empty__title {
	margin: 0;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ax-shop-ink);
}

.axonfit-plp-empty__text {
	margin: 0;
	max-width: none;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ax-shop-muted);
}

.axonfit-plp-empty__actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-top: 6px;
}

.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__actions .button,
.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__btn {
	margin-left: 0;
	white-space: nowrap;
}

.axonfit-plp-empty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--ax-shop-lime);
	color: var(--ax-shop-ink) !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.axonfit-plp-empty__btn:hover {
	background: var(--ax-shop-lime-dark);
	transform: translateY(-1px);
}

.axonfit-plp-empty__btn--ghost {
	background: #fff;
	border: 1px solid var(--ax-shop-line);
}

body.axonfit-new-arrivals-empty-state .kitify-products__list,
body.axonfit-new-arrivals-empty-state ul.products {
	display: none !important;
}

/* —— Sort by / catalog ordering —— */
.woocommerce-ordering select,
.woocommerce-archive-toolbar select,
.nova-custom-view select {
	border-color: var(--ax-shop-line) !important;
	border-radius: 12px !important;
	color: var(--ax-shop-ink) !important;
}

.woocommerce-ordering select:focus,
.woocommerce-archive-toolbar select:focus {
	border-color: var(--ax-shop-lime) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(186, 213, 49, 0.35) !important;
}

.woocommerce-ordering select option:checked,
.woocommerce-ordering select option:hover {
	background: var(--ax-shop-lime) linear-gradient(0deg, var(--ax-shop-lime), var(--ax-shop-lime));
	color: var(--ax-shop-ink);
}

/* —— Hide product tags filter in shop sidebar —— */
#sidebar_primary .widget_product_tag_cloud,
#sidebar_primary .widget[class*="product_tag"],
.kitify-sidebar .widget_product_tag_cloud,
#sidebar_primary .kitify-sidebar-widget[data-widget-id*="product_tag"],
#sidebar_primary .kitify-sidebar-item:has(.tagcloud),
#sidebar_primary .nova-sidebar__container .widget:has(.tagcloud) {
	display: none !important;
}

/* —— Sale / discount on product cards —— */
ul.products li.product .onsale,
.kitify-products__list .product .onsale,
.kitify-wc-product-badge.onsale {
	background: var(--ax-shop-lime) !important;
	color: var(--ax-shop-ink) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
}

ul.products li.product .price del,
.kitify-products__list .price del {
	opacity: 0.55;
	font-size: 0.92em;
}

ul.products li.product .price ins,
.kitify-products__list .price ins {
	text-decoration: none;
	color: var(--ax-shop-ink);
	font-weight: 700;
}

/* —— Quick view modal —— */
#nova_wc_quickview.styling__quickview,
#nova_wc_quickview .nova_wc_quickview__content {
	background: #fff;
}

#nova_wc_quickview .nova_wc_quickview__content {
	border-radius: 20px;
	overflow: hidden;
}

#nova_wc_quickview .close-button {
	z-index: 5;
}

#nova_wc_quickview .product .summary {
	padding: 1.25rem 1.5rem 1.5rem;
}

#nova_wc_quickview .product_title {
	font-size: clamp(18px, 2.5vw, 22px);
	font-weight: 700;
	color: var(--ax-shop-ink);
}

#nova_wc_quickview .woocommerce-product-gallery__image img,
#nova_wc_quickview .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

#nova_wc_quickview .product_meta .tagged_as,
#nova_wc_quickview .product_meta .sku_wrapper {
	display: none !important;
}

/* Stock (Natsy paints .stock as a green/red pill with icon) */
#nova_wc_quickview .stock,
#nova_wc_quickview .woocommerce-variation-availability .stock {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.4 !important;
	color: #13160b !important;
}

#nova_wc_quickview .stock::before {
	display: none !important;
	content: none !important;
	margin: 0 !important;
}

#nova_wc_quickview .stock.out-of-stock {
	color: #c10000 !important;
}

#nova_wc_quickview .single_add_to_cart_button,
#nova_wc_quickview .button.alt {
	background: var(--ax-shop-lime) !important;
	border-color: var(--ax-shop-lime) !important;
	color: var(--ax-shop-ink) !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
}

#nova_wc_quickview .single_add_to_cart_button:hover {
	background: var(--ax-shop-lime-dark) !important;
}

/* Variation swatches — quick view + archive */
#nova_wc_quickview .woo-variation-swatches,
.tax-product_cat .woo-variation-swatches,
.post-type-archive-product .woo-variation-swatches {
	--wvs-selected-item-box-shadow: 0 0 0 2px #bad531;
	--wvs-selected-item-background-color: #f3f8e3;
	--wvs-selected-item-text-color: #13160b;
	--wvs-item-box-shadow: 0 0 0 1px #dde2d8;
	--wvs-tooltip-background-color: #13160b;
	--wvs-tooltip-text-color: #ffffff;
}

#nova_wc_quickview .variable-item.button-variable-item.selected,
.tax-product_cat .variable-item.button-variable-item.selected,
#nova_wc_quickview .variable-item.color-variable-item.selected,
.tax-product_cat .variable-item.color-variable-item.selected {
	box-shadow: 0 0 0 2px var(--ax-shop-lime) !important;
}

/* Duplicate native title tooltip on color swatches (WVS + title attr) */
#nova_wc_quickview .variable-item.color-variable-item[title],
.tax-product_cat .variable-item.color-variable-item[title] {
	pointer-events: auto;
}

#nova_wc_quickview .wvs-tooltip,
#nova_wc_quickview .data-wvstooltip-out {
	z-index: 20;
}

@media (min-width: 768px) {
	.tax-product_cat .woocommerce-info.axonfit-plp-empty,
	.archive .woocommerce-info.axonfit-plp-empty,
	.woocommerce-info.axonfit-plp-empty {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		gap: 16px 20px;
		padding: 22px 24px;
		text-align: left;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__icon {
		flex: 0 0 48px;
		width: 48px;
		height: 48px;
		font-size: 22px;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__content {
		flex: 1 1 auto;
		align-items: flex-start;
		text-align: left;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__title {
		font-size: 20px;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__text {
		max-width: 42rem;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__actions {
		flex: 0 0 auto;
		margin-top: 0;
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	#nova_wc_quickview .product .row.collapse > .columns {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.axonfit-plp-empty,
	.axonfit-new-arrivals-empty {
		margin: 1.25rem 0 2rem;
		padding: 2rem 1.25rem;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__text {
		white-space: normal;
	}

	.woocommerce-info.axonfit-plp-empty .axonfit-plp-empty__actions {
		flex-wrap: wrap;
	}
}
