/**
 * Shop grid — Flatsome Products element + WooCommerce [products] shortcode.
 * Add class `agora-shop-grid` to the UX Builder row wrapping the block.
 *
 * Flatsome outputs: div.woocommerce > div.products.row > div.product-small.col (NOT ul.products).
 * Shortcode often outputs: ul.products > li.product — both supported below.
 */

/* ---- Full width UX column ---- */
.row.agora-shop-grid,
.agora-shop-grid.row {
	max-width: none !important;
	width: 100% !important;
}

.row.agora-shop-grid > .col,
.agora-shop-grid > .col {
	flex: 1 1 100% !important;
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent !important;
}

/* Column divider / hover border — reads as a white or grey line around the block */
.row.agora-shop-grid > .col::before,
.row.agora-shop-grid > .col::after,
.agora-shop-grid > .col::before,
.agora-shop-grid > .col::after {
	display: none !important;
	content: none !important;
	border: none !important;
}

.row.agora-shop-grid > .col.col-divided,
.agora-shop-grid > .col.col-divided {
	border: none !important;
	box-shadow: none !important;
}

/*
 * Only the UX Builder column wrapper (.col > .col-inner) around .woocommerce —
 * NOT .product-small .col-inner (product cards). Flatsome adds padding on .col-inner.
 */
.row.agora-shop-grid > .col > .col-inner,
.agora-shop-grid.row > .col > .col-inner,
.agora-shop-grid > .row > .col > .col-inner {
	flex: 1 1 100% !important;
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent !important;
}

.agora-shop-grid .woocommerce {
	margin: 0 !important;
	padding: 0 !important;
}

.agora-shop-grid {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	/* Desktop product tile columns. Override this when a product grid is constrained. */
	--agora-shop-desktop-cols: 5;
	--agora-shop-mobile-cols: 2;
}

.agora-shop-grid .woocommerce.columns-4,
.agora-shop-grid .woocommerce.columns-3,
.agora-shop-grid .woocommerce.columns-5 {
	width: 100% !important;
	max-width: none !important;
}

/* ---- Grid container: Flatsome div.products.row OR Woo ul.products ---- */
.agora-shop-grid .woocommerce ul.products,
.agora-shop-grid .woocommerce .products.row {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	grid-template-columns: repeat(var(--agora-shop-desktop-cols, 5), minmax(0, 1fr));
	gap: 0 !important;
	box-sizing: border-box;
	/* Flatsome .row uses flex; kill side margins from row-small */
	margin-left: 0 !important;
	margin-right: 0 !important;
	flex-wrap: unset !important;
	grid-auto-flow: row dense;
}

.agora-shop-grid .woocommerce ul.products::before,
.agora-shop-grid .woocommerce ul.products::after {
	display: none !important;
}

/* Flatsome .row-small adds column padding → white gutters; strip inside grid */
.agora-shop-grid .woocommerce .products.row.row-small {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.agora-shop-grid .woocommerce .products.row > .col,
.agora-shop-grid .woocommerce .products.row > .product-small.col {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
}


@media screen and (max-width: 849px) {
	.agora-shop-grid .woocommerce ul.products,
	.agora-shop-grid .woocommerce .products.row {
		grid-template-columns: repeat(var(--agora-shop-mobile-cols, 2), minmax(0, 1fr));
	}
}

/* ---- Grid cell: li.product (shortcode) OR .product-small.col (Flatsome) ---- */
.agora-shop-grid .woocommerce ul.products li.product,
.agora-shop-grid .woocommerce .products.row > .product-small.col {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	flex: none !important;
	box-sizing: border-box;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	position: relative;
	z-index: 0;
	overflow: hidden;
}

.agora-shop-grid .woocommerce ul.products li.product:hover,
.agora-shop-grid .woocommerce .products.row > .product-small.col:hover {
	z-index: 2;
}

/* ---- Inner layout (both markup types) ---- */
.agora-shop-grid .woocommerce ul.products li.product .col-inner,
.agora-shop-grid .woocommerce .products.row .product-small.col .col-inner {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.agora-shop-grid .woocommerce ul.products li.product .product-small.box,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-small.box {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

.agora-shop-grid .woocommerce ul.products li.product .box-image,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-image {
	margin: 0 !important;
	padding: 0 !important;
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: transparent !important;
	border: none !important;
	min-width: 0 !important;
}

.agora-shop-grid .woocommerce .products.row .product-small.col .box-image .image-none {
	margin: 0 !important;
	padding: 0 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .box-image img,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
}

/* Badges (sit in col-inner, outside .box) */
.agora-shop-grid .woocommerce ul.products li.product .badge,
.agora-shop-grid .woocommerce ul.products li.product .badge-container,
.agora-shop-grid .woocommerce ul.products li.product .onsale,
.agora-shop-grid .woocommerce .products.row .product-small.col .badge,
.agora-shop-grid .woocommerce .products.row .product-small.col .badge-container,
.agora-shop-grid .woocommerce .products.row .product-small.col .onsale {
	opacity: 0;
	transition: opacity 0.2s ease;
}

.agora-shop-grid .woocommerce ul.products li.product:hover .badge,
.agora-shop-grid .woocommerce ul.products li.product:hover .badge-container,
.agora-shop-grid .woocommerce ul.products li.product:hover .onsale,
.agora-shop-grid .woocommerce .products.row .product-small.col:hover .badge,
.agora-shop-grid .woocommerce .products.row .product-small.col:hover .badge-container,
.agora-shop-grid .woocommerce .products.row .product-small.col:hover .onsale {
	opacity: 1;
}

/* Title / price: below image (default Flatsome / theme typography) */
.agora-shop-grid .woocommerce ul.products li.product .box-text,
.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products {
	position: relative !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0.65rem 0.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	align-items: center !important;
	text-align: center !important;
	background: transparent !important;
	backdrop-filter: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: auto !important;
}

.agora-shop-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.agora-shop-grid .woocommerce ul.products li.product .product-title,
.agora-shop-grid .woocommerce ul.products li.product .title-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .woocommerce-loop-product__title,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title,
.agora-shop-grid .woocommerce .products.row .product-small.col .title-wrapper {
	color: inherit !important;
	font-size: 0.9rem !important;
	line-height: 1.25 !important;
	margin: 0 0 0.35rem !important;
	padding: 0 !important;
	text-shadow: none !important;
	text-align: center !important;
	width: 100% !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer,
.woocommerce-shop .category-page-row .products.row .product-small.col .agora-product-designer {
	width: 100%;
	margin: 0 0 0.2rem;
	line-height: 1.2;
	text-align: center;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
.woocommerce-shop .category-page-row .products.row .product-small.col .agora-product-designer__link {
	display: inline-block;
	font-size: var(--agora-card-designer-size, 0.98rem);
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	color: inherit;
	opacity: 0.72;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link:hover,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link:hover,
.woocommerce-shop .category-page-row .products.row .product-small.col .agora-product-designer__link:hover {
	opacity: 1;
	text-decoration: underline;
}

.agora-shop-grid .woocommerce ul.products li.product .price,
.agora-shop-grid .woocommerce ul.products li.product .price-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .price,
.agora-shop-grid .woocommerce .products.row .product-small.col .price-wrapper {
	color: inherit !important;
	margin: 0 !important;
	text-shadow: none !important;
	text-align: center !important;
	width: 100% !important;
}

.agora-shop-grid .woocommerce ul.products li.product .price del,
.agora-shop-grid .woocommerce .products.row .product-small.col .price del {
	opacity: 0.75;
}

.agora-shop-grid .woocommerce ul.products li.product .add-to-cart-button,
.agora-shop-grid .woocommerce ul.products li.product .add_to_cart_button,
.agora-shop-grid .woocommerce ul.products li.product .cart-icon,
.agora-shop-grid .woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
.agora-shop-grid .woocommerce .products.row .product-small.col .add-to-cart-button,
.agora-shop-grid .woocommerce .products.row .product-small.col .add_to_cart_button,
.agora-shop-grid .woocommerce .products.row .product-small.col .cart-icon,
.agora-shop-grid .woocommerce .products.row .product-small.col .yith-wcwl-add-to-wishlist {
	margin-top: 0.5rem;
}

.agora-shop-grid .woocommerce ul.products li.product .star-rating,
.agora-shop-grid .woocommerce .products.row .product-small.col .star-rating {
	margin: 0 0 0.35rem !important;
}

/* Pagination / load-more */
.agora-shop-grid .woocommerce-pagination,
.agora-shop-grid .woocommerce-load-more,
.agora-shop-grid .berocket_load_more,
.agora-shop-grid .yith-infs-wrapper,
.agora-shop-grid .infinite-scroll-trigger {
	width: 100%;
	text-align: center;
	padding: 1.5rem 1rem 0;
}

/* -------------------------------------------------------------------------
 * Native Woo archive fallback (no .agora-shop-grid class needed)
 * Targets: body.woocommerce-shop / product archive layout
 * ------------------------------------------------------------------------- */
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) #main.dark-page-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) #main .row.category-page-row {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row {
	display: grid !important;
	grid-template-columns: repeat(var(--agora-shop-desktop-cols, 5), minmax(0, 1fr)) !important;
	width: 100% !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Remove only product-area padding (keep page wrapper centering intact) */
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row > .col,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row > .col > .shop-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row.row-small {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row > .product-small.col {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col > .col-inner {
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-small.box {
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	position: relative !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-image {
	position: relative !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: none !important;
	min-width: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
}

/* Title / price below image — inherit theme colors */
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products {
	position: relative !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0.65rem 0.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	align-items: center !important;
	text-align: center !important;
	background: transparent !important;
	backdrop-filter: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	text-shadow: none !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: auto !important;
	transform: none !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text .title-wrapper,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products .title-wrapper {
	margin-top: 0 !important;
}

:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .woocommerce-loop-product__title,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .title-wrapper,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .price,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .price-wrapper {
	color: inherit !important;
	margin: 0 !important;
	text-shadow: none !important;
	text-align: center !important;
	width: 100% !important;
}

@media screen and (max-width: 849px) {
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row {
		grid-template-columns: repeat(var(--agora-shop-mobile-cols, 2), minmax(0, 1fr)) !important;
	}
}

/* Designer + price on one row above title */
.agora-shop-grid .woocommerce ul.products li.product .box-text .title-wrapper,
.agora-shop-grid .woocommerce ul.products li.product .box-text-products .title-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text .title-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products .title-wrapper,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text .title-wrapper,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products .title-wrapper {
	display: contents !important;
}

.agora-shop-grid .woocommerce ul.products li.product .box-text,
.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products {
	--agora-card-meta-color: #ffffff;
	--agora-card-price-color: #ffffff;
	--agora-card-title-color: #ffffff;
	--agora-card-title-size: 0.9rem;
	--agora-card-meta-size: 0.76rem;
	--agora-card-designer-size: 0.98rem;
	--agora-card-price-size: 0.82rem;
	display: flex !important;
	flex-direction: column !important;
	row-gap: 0 !important;
	column-gap: 0 !important;
	align-items: stretch !important;
	text-align: left !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer {
	margin: 0 !important;
	text-align: left;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta {
	margin: 0 !important;
	font-size: var(--agora-card-meta-size) !important;
	font-weight: 500 !important;
	color: var(--agora-card-meta-color) !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta__link {
	color: var(--agora-card-meta-color) !important;
	text-decoration: none;
	font-size: inherit !important;
	font-weight: inherit !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta__link:hover,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link:hover,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta__link:hover {
	text-decoration: underline;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta__sep,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__sep,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta__sep {
	display: inline-block;
	width: auto;
	margin: 0 0.18rem;
}

.agora-shop-grid .woocommerce ul.products li.product .price-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .price-wrapper,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .price-wrapper {
	display: none !important;
}

.agora-shop-grid .woocommerce ul.products li.product .woocommerce-loop-product__title,
.agora-shop-grid .woocommerce ul.products li.product .product-title,
.agora-shop-grid .woocommerce .products.row .product-small.col .woocommerce-loop-product__title,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .woocommerce-loop-product__title,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title {
	text-align: left !important;
	margin: 0 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 0.38rem;
	margin: 0 0 0.22rem;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline-price {
	text-align: right;
	justify-self: end;
	white-space: nowrap;
	color: var(--agora-card-price-color) !important;
	font-size: var(--agora-card-price-size) !important;
	font-weight: 500 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price .price,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price .price,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline-price .price {
	color: inherit !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline .agora-product-designer::after,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline .agora-product-designer::after,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline .agora-product-designer::after {
	content: "";
	margin-left: 0;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline .agora-product-meta::after,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline .agora-product-meta::after,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline .agora-product-meta::after {
	content: "";
	margin-left: 0;
}

/* Keep typography consistent between main shop and brand archives */
.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer__link,
.agora-shop-grid .woocommerce ul.products li.product .product-title a,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title a {
	font-family: inherit !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer__link {
	font-size: var(--agora-card-designer-size) !important;
	font-weight: 600 !important;
	color: var(--agora-card-meta-color) !important;
	opacity: 1 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .product-title a,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title a {
	font-size: var(--agora-card-title-size) !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	color: var(--agora-card-title-color) !important;
}

.agora-shop-grid .woocommerce ul.products li.product .price,
.agora-shop-grid .woocommerce .products.row .product-small.col .price,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .price {
	font-size: var(--agora-card-price-size) !important;
	font-weight: 500 !important;
	color: var(--agora-card-price-color) !important;
	line-height: 1.2 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline-price {
	line-height: 1.1 !important;
	font-variant-numeric: tabular-nums;
}

.agora-grid-columns-toolbar {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0 0.45rem;
}

.agora-grid-columns-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.24);
	color: inherit;
	line-height: 1;
	padding: 0.25rem 0.48rem;
	cursor: pointer;
	transition: transform 220ms ease;
}

.agora-grid-columns-toggle.is-rotating {
	transform: rotate(24deg);
}

.agora-grid-columns-toggle__icon {
	display: inline-flex;
	align-items: flex-end;
	gap: 2px;
	width: 16px;
	height: 14px;
}

.agora-grid-columns-toggle__bar {
	display: inline-block;
	width: 4px;
	border-radius: 999px;
	background: currentColor;
}

.agora-grid-columns-toggle__bar:nth-child(1) {
	height: 6px;
}
.agora-grid-columns-toggle__bar:nth-child(2) {
	height: 10px;
}
.agora-grid-columns-toggle__bar:nth-child(3) {
	height: 14px;
}

.agora-grid-columns-toggle[data-value="3"] .agora-grid-columns-toggle__bar:nth-child(1),
.agora-grid-columns-toggle[data-value="1"] .agora-grid-columns-toggle__bar:nth-child(1) {
	height: 12px;
}
.agora-grid-columns-toggle[data-value="3"] .agora-grid-columns-toggle__bar:nth-child(2),
.agora-grid-columns-toggle[data-value="1"] .agora-grid-columns-toggle__bar:nth-child(2) {
	height: 8px;
}
.agora-grid-columns-toggle[data-value="3"] .agora-grid-columns-toggle__bar:nth-child(3),
.agora-grid-columns-toggle[data-value="1"] .agora-grid-columns-toggle__bar:nth-child(3) {
	height: 5px;
}

.agora-grid-columns-toggle[data-value="7"] .agora-grid-columns-toggle__bar:nth-child(1) {
	height: 4px;
}
.agora-grid-columns-toggle[data-value="7"] .agora-grid-columns-toggle__bar:nth-child(2) {
	height: 7px;
}
.agora-grid-columns-toggle[data-value="7"] .agora-grid-columns-toggle__bar:nth-child(3) {
	height: 10px;
}

.agora-grid-columns-toggle[data-value="2"] .agora-grid-columns-toggle__bar:nth-child(1) {
	height: 8px;
}
.agora-grid-columns-toggle[data-value="2"] .agora-grid-columns-toggle__bar:nth-child(2) {
	height: 11px;
}
.agora-grid-columns-toggle[data-value="2"] .agora-grid-columns-toggle__bar:nth-child(3) {
	height: 8px;
}

.agora-grid-columns-toggle__value {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

body.agora-grid-desktop-3 {
	--agora-shop-desktop-cols: 3;
}
body.agora-grid-desktop-5 {
	--agora-shop-desktop-cols: 5;
}
body.agora-grid-desktop-7 {
	--agora-shop-desktop-cols: 7;
}
body.agora-grid-mobile-1 {
	--agora-shop-mobile-cols: 1;
}
body.agora-grid-mobile-2 {
	--agora-shop-mobile-cols: 2;
}
body.agora-grid-mobile-3 {
	--agora-shop-mobile-cols: 3;
}

/* Narrow desktop grid modes: keep topline stacked and legible */
body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products {
	--agora-card-title-size: 0.82rem;
	--agora-card-meta-size: 0.69rem;
	--agora-card-designer-size: 0.84rem;
	--agora-card-price-size: 0.72rem;
	padding: 0.5rem 0.42rem !important;
}

body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products {
	--agora-card-title-size: 0.77rem;
	--agora-card-meta-size: 0.64rem;
	--agora-card-designer-size: 0.78rem;
	--agora-card-price-size: 0.67rem;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline {
	grid-template-columns: minmax(0, 1fr) auto !important;
	grid-template-areas:
		"designer price"
		"meta meta";
	align-items: start !important;
	row-gap: 0.12rem;
	column-gap: 0.24rem;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer {
	grid-area: designer;
	min-width: 0;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price {
	grid-area: price;
	align-self: start;
	justify-self: end;
	white-space: nowrap;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta {
	grid-area: meta;
	justify-content: flex-start;
	text-align: left;
	white-space: normal;
	flex-wrap: wrap;
	min-width: 0;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link {
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

@media screen and (min-width: 850px) {
	body.agora-grid-desktop-3 .category-page-row .products.row .agora-product-topline-price,
	body.agora-grid-desktop-5 .category-page-row .products.row .agora-product-topline-price,
	body.agora-grid-desktop-7 .category-page-row .products.row .agora-product-topline-price {
		font-size: clamp(0.72rem, 1vw, 0.86rem) !important;
	}
}

@media screen and (max-width: 849px) {
	.agora-grid-columns-toolbar {
		margin-left: 0.3rem;
	}
	.agora-grid-columns-toggle__value {
		font-size: 0.68rem;
	}

	/* Mobile card hierarchy:
	 * row 1 = Brand (full width),
	 * row 2 = Meta (left) + Price (right).
	 */
	.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline {
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-areas:
			"designer designer"
			"meta price";
		align-items: center !important;
		row-gap: 0.12rem;
		column-gap: 0.3rem;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer {
		grid-area: designer;
		min-width: 0;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer__link {
		display: block;
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta {
		grid-area: meta;
		justify-content: flex-start;
		text-align: left;
		white-space: nowrap;
		flex-wrap: nowrap;
		min-width: 0;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products {
		--agora-card-title-size: 0.72rem;
		--agora-card-meta-size: 0.62rem;
		--agora-card-designer-size: 0.74rem;
		--agora-card-price-size: 0.65rem;
		padding: 0.42rem 0.34rem !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline {
		row-gap: 0.1rem;
		column-gap: 0.22rem;
	}

	body.agora-grid-mobile-2 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
	body.agora-grid-mobile-2 .agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products {
		--agora-card-title-size: 0.8rem;
		--agora-card-meta-size: 0.68rem;
		--agora-card-designer-size: 0.82rem;
		--agora-card-price-size: 0.72rem;
	}

	body.agora-grid-mobile-2 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link {
		font-size: 0.82rem !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link {
		font-size: 0.72rem !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a {
		-webkit-line-clamp: 4;
		line-clamp: 4;
	}

	.agora-shop-grid .woocommerce ul.products li.product .box-text,
	.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products {
		height: auto !important;
		min-height: 0 !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .box-text .title-wrapper,
	.agora-shop-grid .woocommerce ul.products li.product .box-text-products .title-wrapper,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text .title-wrapper,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products .title-wrapper,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text .title-wrapper,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products .title-wrapper {
		display: block !important;
		height: auto !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline {
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-areas:
			"designer designer"
			"meta price";
		align-items: center !important;
		row-gap: 0.15rem;
		column-gap: 0.35rem;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer {
		grid-area: designer;
		min-width: 0;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-topline-price {
		grid-area: price;
		align-self: center;
		justify-self: end;
		white-space: nowrap;
		font-size: clamp(0.68rem, 2.35vw, 0.82rem) !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta {
		grid-area: meta;
		justify-content: flex-start;
		text-align: left;
		white-space: nowrap;
		flex-wrap: nowrap;
		min-width: 0;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
	.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta__link,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-designer__link,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .agora-product-meta__link {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.agora-shop-grid .woocommerce ul.products li.product .woocommerce-loop-product__title a,
	.agora-shop-grid .woocommerce ul.products li.product .product-title a,
	.agora-shop-grid .woocommerce .products.row .product-small.col .woocommerce-loop-product__title a,
	.agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .woocommerce-loop-product__title a,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title a {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
		overflow: hidden;
	}
}

/* -------------------------------------------------------------------------
 * Adaptive card text flow
 * - Remove fixed heights injected inline by JS/theme equalizers
 * - Make topline resilient to long brand/meta/price combinations
 * ------------------------------------------------------------------------- */
.agora-shop-grid .woocommerce ul.products li.product .box-text,
.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
.agora-shop-grid .woocommerce ul.products li.product .title-wrapper,
.agora-shop-grid .woocommerce .products.row .product-small.col .title-wrapper,
.agora-shop-grid .woocommerce ul.products li.product .product-title,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title {
	height: auto !important;
	min-height: 0 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	grid-template-areas:
		"designer price"
		"meta meta" !important;
	align-items: start !important;
	row-gap: 0.18rem !important;
	column-gap: 0.38rem !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer {
	grid-area: designer;
	min-width: 0;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link {
	display: block;
	max-width: 100%;
	font-size: clamp(0.74rem, 0.6vw + 0.58rem, 0.96rem) !important;
	line-height: 1.18 !important;
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-wrap: pretty;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta {
	grid-area: meta;
	display: inline-flex !important;
	align-items: baseline;
	justify-content: flex-start;
	flex-wrap: wrap !important;
	gap: 0.08rem 0.24rem;
	min-width: 0;
	max-width: 100%;
	white-space: normal !important;
	text-align: left !important;
	font-size: clamp(0.64rem, 0.36vw + 0.52rem, 0.78rem) !important;
	line-height: 1.2 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta__link,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta__link {
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price {
	grid-area: price;
	align-self: start;
	justify-self: end;
	padding-inline-start: 0.2rem;
	white-space: nowrap;
	font-size: clamp(0.66rem, 0.32vw + 0.56rem, 0.84rem) !important;
	line-height: 1.15 !important;
}

.agora-shop-grid .woocommerce ul.products li.product .product-title a,
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

@media screen and (max-width: 849px) {
	.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline {
		grid-template-columns: minmax(0, 1fr) auto !important;
		grid-template-areas:
			"designer designer"
			"meta price" !important;
		row-gap: 0.14rem !important;
		column-gap: 0.3rem !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link {
		font-size: clamp(0.68rem, 0.9vw + 0.42rem, 0.84rem) !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta {
		font-size: clamp(0.58rem, 0.8vw + 0.34rem, 0.72rem) !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
	.agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price {
		font-size: clamp(0.62rem, 0.9vw + 0.34rem, 0.78rem) !important;
	}
}

/* 7-col desktop: enforce full stacking to prevent text collisions */
@media screen and (min-width: 850px) {
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .agora-product-topline {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas:
			"designer"
			"meta"
			"price" !important;
		row-gap: 0.12rem !important;
		column-gap: 0 !important;
	}

	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .agora-product-designer__link {
		font-size: clamp(0.66rem, 0.32vw + 0.52rem, 0.78rem) !important;
		line-height: 1.14 !important;
	}

	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .agora-product-meta {
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
		white-space: normal !important;
		font-size: clamp(0.58rem, 0.24vw + 0.48rem, 0.68rem) !important;
		line-height: 1.16 !important;
	}

	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .agora-product-topline-price {
		justify-self: start !important;
		align-self: start !important;
		padding-inline-start: 0 !important;
		font-size: clamp(0.58rem, 0.26vw + 0.5rem, 0.72rem) !important;
		line-height: 1.14 !important;
	}

	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .product-title a {
		-webkit-line-clamp: 3 !important;
		line-clamp: 3 !important;
	}
}

/* 3-col mobile: keep meta and price on separate rows */
@media screen and (max-width: 849px) {
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce ul.products li.product .agora-product-topline,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline,
	body.agora-grid-mobile-3 .category-page-row .products.row .product-small.col .agora-product-topline {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas:
			"designer"
			"meta"
			"price" !important;
		row-gap: 0.11rem !important;
		column-gap: 0 !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce ul.products li.product .agora-product-designer__link,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-designer__link,
	body.agora-grid-mobile-3 .category-page-row .products.row .product-small.col .agora-product-designer__link {
		font-size: clamp(0.64rem, 0.8vw + 0.42rem, 0.74rem) !important;
		line-height: 1.14 !important;
		white-space: normal !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce ul.products li.product .agora-product-meta,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-meta,
	body.agora-grid-mobile-3 .category-page-row .products.row .product-small.col .agora-product-meta {
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
		white-space: normal !important;
		font-size: clamp(0.56rem, 0.8vw + 0.32rem, 0.66rem) !important;
		line-height: 1.15 !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce ul.products li.product .agora-product-topline-price,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .agora-product-topline-price,
	body.agora-grid-mobile-3 .category-page-row .products.row .product-small.col .agora-product-topline-price {
		justify-self: start !important;
		align-self: start !important;
		padding-inline-start: 0 !important;
		font-size: clamp(0.56rem, 0.8vw + 0.3rem, 0.7rem) !important;
		white-space: nowrap !important;
		line-height: 1.12 !important;
	}
}

/* Mode-aware title scaling: visible size changes per column count */
@media screen and (min-width: 850px) {
	body.agora-grid-desktop-3 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-desktop-3 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-desktop-3 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.9rem, 0.42vw + 0.74rem, 1.02rem) !important;
		line-height: 1.28 !important;
	}

	body.agora-grid-desktop-5 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-desktop-5 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-desktop-5 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.78rem, 0.34vw + 0.62rem, 0.9rem) !important;
		line-height: 1.24 !important;
	}

	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-desktop-7 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-desktop-7 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.66rem, 0.24vw + 0.54rem, 0.76rem) !important;
		line-height: 1.18 !important;
	}
}

@media screen and (max-width: 849px) {
	body.agora-grid-mobile-1 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-mobile-1 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-mobile-1 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.88rem, 1.2vw + 0.6rem, 1rem) !important;
		line-height: 1.28 !important;
	}

	body.agora-grid-mobile-2 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-mobile-2 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-mobile-2 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.76rem, 1vw + 0.46rem, 0.86rem) !important;
		line-height: 1.24 !important;
	}

	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce ul.products li.product .product-title a,
	body.agora-grid-mobile-3 .agora-shop-grid .woocommerce .products.row .product-small.col .product-title a,
	body.agora-grid-mobile-3 .category-page-row .products.row .product-small.col .product-title a {
		font-size: clamp(0.62rem, 0.88vw + 0.34rem, 0.72rem) !important;
		line-height: 1.16 !important;
	}
}

/* Resize-safe clipping guard:
 * prevent text blocks from being cut when switching column modes. */
.agora-shop-grid .woocommerce ul.products,
.agora-shop-grid .woocommerce .products.row,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row {
	overflow: visible !important;
	padding-bottom: 0.4rem !important;
	align-content: start !important;
}

.agora-shop-grid .woocommerce ul.products li.product,
.agora-shop-grid .woocommerce .products.row > .product-small.col,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row > .product-small.col {
	overflow: visible !important;
}

.agora-shop-grid .woocommerce ul.products li.product .box-text,
.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text,
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products {
	overflow: visible !important;
	max-height: none !important;
	padding-bottom: 0.52rem !important;
}

@media screen and (max-width: 849px) {
	.agora-shop-grid .woocommerce ul.products,
	.agora-shop-grid .woocommerce .products.row,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row {
		padding-bottom: 0.5rem !important;
	}

	.agora-shop-grid .woocommerce ul.products li.product .box-text,
	.agora-shop-grid .woocommerce ul.products li.product .box-text-products,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text,
	.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products {
		padding-bottom: 0.6rem !important;
	}
}

/* Inline height sanitizer:
 * Flatsome/third-party equalizers inject fixed inline heights while resizing.
 * Force key card wrappers back to content height so text cannot overlap below. */
.agora-shop-grid .woocommerce ul.products li.product[style*="height"],
.agora-shop-grid .woocommerce .products.row > .product-small.col[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .col-inner[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .col-inner[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .product-small.box[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .product-small.box[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .box-text[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .box-text-products[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .box-text-products[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .title-wrapper[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .title-wrapper[style*="height"],
.agora-shop-grid .woocommerce ul.products li.product .product-title[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .product-title[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row > .product-small.col[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col > .col-inner[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-small.box[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .box-text-products[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .title-wrapper[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .product-title[style*="height"] {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
}

/* Keep duplicate fallback price row collapsed even if scripts write height. */
.agora-shop-grid .woocommerce ul.products li.product .price-wrapper[style*="height"],
.agora-shop-grid .woocommerce .products.row .product-small.col .price-wrapper[style*="height"],
:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"]) .category-page-row .products.row .product-small.col .price-wrapper[style*="height"] {
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
}

/* -------------------------------------------------------------------------
 * WOOF / Husky — top panel (orderby chips, Clear All, empty content shell)
 * Hidden: layout uses Agora sidebar chips + catalog ordering via AJAX in
 * agora-layered-filters.js. Inline display from JS is overridden here.
 * ------------------------------------------------------------------------- */
.woocommerce .woof_products_top_panel,
.woocommerce .woof_products_top_panel_content,
body.woocommerce .woof_products_top_panel,
body.woocommerce .woof_products_top_panel_content {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	line-height: 0 !important;
}

/* -------------------------------------------------------------------------
 * Layered nav UX enhancement
 * - Desktop: layered list in multiple columns
 * - Mobile: smooth accordion panels
 * ------------------------------------------------------------------------- */
.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel {
	border-top: 0;
	padding-top: 0.25rem;
}

.widget_layered_nav.agora-filter-enhanced > .widget-title,
.widget_layered_nav.agora-filter-enhanced > .is-divider {
	display: none !important;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-trigger {
	display: block;
	width: 100%;
	padding: 0 0 0.45rem;
	background: transparent;
	border: 0;
	color: #111;
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: left;
	cursor: default;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-body {
	max-height: none;
	overflow: visible;
	transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.38rem 0.8rem;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
	margin: 0;
	font-size: 0.82rem;
	color: #111;
	line-height: 1.2;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check.is-unavailable {
	opacity: 0.35;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check__input {
	width: 0.92rem;
	height: 0.92rem;
	margin: 0;
	accent-color: #111;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check__input:disabled {
	cursor: not-allowed;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check__text {
	color: #111;
}

.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check__count {
	color: rgba(0, 0, 0, 0.58);
	font-size: 0.74rem;
}

/* Shop title-bar filter trigger: clean rounded button on all breakpoints */
.shop-page-title .category-filter-row .filter-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0 !important;
	padding: 0.38rem 0.84rem !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	background: rgba(10, 10, 10, 0.52) !important;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.shop-page-title .category-filter-row .filter-button i {
	display: none !important;
}

.shop-page-title .category-filter-row .filter-button strong {
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.agora-active-filters {
	position: static;
	z-index: auto;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(3px);
	padding: 0.55rem 0 0.4rem;
	margin-top: 0.7rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.agora-active-filters.is-empty .agora-active-filters__chips {
	display: none;
}

.agora-active-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-bottom: 0.42rem;
}

.agora-active-filters__chip {
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: #fff;
	color: #111;
	font-size: 0.72rem;
	line-height: 1.2;
	padding: 0.2rem 0.42rem;
	cursor: pointer;
}

.agora-active-filters__actions {
	display: flex;
	gap: 0.42rem;
	align-items: center;
}

.agora-active-filters__clear,
.agora-active-filters__apply {
	border: 1px solid #111;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.32rem 0.62rem;
	cursor: pointer;
}

.agora-active-filters__clear {
	background: #fff;
	color: #111;
}

.agora-active-filters__clear:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.agora-active-filters__apply {
	background: #111;
	color: #fff;
}

.agora-active-filters__status {
	font-size: 0.72rem;
	color: rgba(0, 0, 0, 0.62);
}

.agora-active-filters.is-loading .agora-active-filters__status {
	color: #111;
}

.agora-active-filters.is-loading .agora-active-filters__status::before {
	content: "";
	display: inline-block;
	width: 0.72rem;
	height: 0.72rem;
	margin-right: 0.38rem;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-top-color: #111;
	border-radius: 50%;
	vertical-align: -0.12rem;
	animation: agora-filter-spin 0.7s linear infinite;
}

@keyframes agora-filter-spin {
	to {
		transform: rotate(360deg);
	}
}

body.agora-filtering .category-page-row .products.row,
body.agora-filtering .sidebar-inner {
	opacity: 0.45;
	transition: opacity 180ms ease;
	pointer-events: none;
}

@media screen and (min-width: 1300px) {
	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-options {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 849px) {
	.shop-page-title .category-filter-row .filter-button {
		padding: 0.4rem 0.88rem !important;
		font-size: 0.8rem !important;
	}

	.agora-active-filters {
		padding-top: 0.45rem;
		margin-top: 0.55rem;
	}

	.agora-active-filters__actions {
		flex-wrap: wrap;
	}

	.widget_layered_nav.agora-filter-enhanced > .widget-title,
	.widget_layered_nav.agora-filter-enhanced > .is-divider {
		display: none !important;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel {
		border-top: 0;
		padding-top: 0;
		margin: 0;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-trigger {
		width: 100%;
		padding: 0.68rem 0;
		background: transparent;
		border: 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.14);
		color: #111;
		font-size: 0.79rem;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		text-align: left;
		cursor: pointer;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-trigger::after {
		content: "+";
		float: right;
		opacity: 0.8;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel.is-open .agora-filter-trigger::after {
		content: "-";
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-body {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel.is-open .agora-filter-body {
		padding: 0.5rem 0 0.72rem;
		opacity: 1;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-options {
		grid-template-columns: 1fr;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check {
		gap: 0.55rem;
		font-size: 0.9rem;
	}

	.widget_layered_nav.agora-filter-enhanced > .agora-filter-panel .agora-filter-check__input {
		width: 1.1rem;
		height: 1.1rem;
	}
}

/* Brand widget fallback (if JS enhancement has not attached yet) */
.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) > .widget-title.shop-sidebar {
	display: block;
	color: #111;
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 0.45rem;
}

.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) > .is-divider.small {
	display: none !important;
}

.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) .wc-brand-list-layered-nav-product_brand {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.38rem 0.8rem;
}

.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) .wc-brand-list-layered-nav-product_brand li {
	margin: 0 !important;
}

.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) .wc-brand-list-layered-nav-product_brand a {
	color: #111 !important;
	font-size: 0.82rem;
	text-decoration: none;
}

.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) .wc-brand-list-layered-nav-product_brand .count {
	color: rgba(0, 0, 0, 0.58);
	font-size: 0.74rem;
}

@media screen and (max-width: 849px) {
	.widget_brand_nav.widget_layered_nav:not(.agora-filter-enhanced) .wc-brand-list-layered-nav-product_brand {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
 * Desktop filter overlay
 * - Keep Filter button behavior
 * - When opened, render #shop-sidebar as full-screen overlay
 * ------------------------------------------------------------------------- */
@media screen and (min-width: 850px) {
	.mfp-wrap.off-canvas.off-canvas-left {
		width: 100vw !important;
		background: rgba(235, 235, 235, 0.58) !important;
		backdrop-filter: blur(3px);
	}

	.mfp-wrap.off-canvas.off-canvas-left .mfp-container {
		padding: 0 !important;
		align-items: flex-start;
	}

	.mfp-wrap.off-canvas.off-canvas-left .mfp-content {
		width: 100vw !important;
		max-width: 100vw !important;
		max-height: calc(100vh - 56px) !important;
		margin-bottom: 56px;
		transform: none !important;
		animation: agora-filter-drop-in 240ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar {
		width: 100vw !important;
		max-width: 100vw !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 4.25rem 2rem 2rem !important;
		max-height: calc(100vh - 56px) !important;
		overflow-y: auto !important;
		background: rgba(250, 250, 250, 0.92);
		color: #111 !important;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .sidebar-inner {
		display: grid;
		grid-template-columns: minmax(220px, 280px) repeat(4, minmax(140px, 1fr));
		gap: 1rem 1.4rem;
		align-items: start;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-active-filters {
		position: static;
		grid-column: 1 / -1;
		margin-bottom: 0;
		background: rgba(255, 255, 255, 0.86);
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .sidebar-inner > .widget_media_image {
		grid-column: 1;
		grid-row: 2 / span 20;
		position: sticky;
		top: 1rem;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .sidebar-inner > aside:not(.widget_media_image) {
		grid-column: auto;
		min-width: 0;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-panel {
		border-top: 0;
		padding-top: 0;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-trigger {
		color: #111 !important;
		padding-bottom: 0.35rem;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-body {
		opacity: 1 !important;
		max-height: none !important;
		overflow: visible !important;
	}

	/* Force options under each heading (vertical stack). */
	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-options {
		display: grid;
		grid-template-columns: 1fr !important;
		gap: 0.35rem;
	}

	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-check,
	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-check__text,
	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-filter-check__count,
	.mfp-wrap.off-canvas.off-canvas-left #shop-sidebar .agora-active-filters__status {
		color: #111 !important;
	}

	.mfp-wrap.off-canvas.off-canvas-left .mfp-close {
		top: 1rem;
		right: 1rem;
		opacity: 1;
		color: #111 !important;
	}

	.mfp-wrap.off-canvas.off-canvas-left .mfp-close svg,
	.mfp-wrap.off-canvas.off-canvas-left .mfp-close svg * {
		stroke: #111 !important;
		color: #111 !important;
	}
}

@keyframes agora-filter-drop-in {
	from {
		transform: translateY(-26px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* -------------------------------------------------------------------------
 * Shop header dropdown tuning (loaded after style.css on shop archives)
 * ------------------------------------------------------------------------- */
@media screen and (min-width: 850px) {
	/* Base compact sizing for full-width header dropdowns on product archives. */
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead .header-nav.header-nav-main .menu-item-design-full-width.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark {
		padding: 0.6rem 0.72rem !important;
		gap: 0.12rem 0.64rem !important;
		max-height: min(520px, calc(100vh - 130px)) !important;
		overflow-y: auto !important;
	}

	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead .header-nav.header-nav-main .menu-item-design-full-width.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li > a,
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead .header-nav.header-nav-main .menu-item-design-full-width.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li > .sub-menu.nav-column > li > a {
		font-size: 0.82rem !important;
		line-height: 1.2 !important;
		padding: 0.2rem 0 !important;
	}

	/* Categories dropdown: left-aligned, with "All Products" at top-left. */
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead #menu-item-1465.menu-item-design-full-width.menu-item-has-children
	> .sub-menu.nav-dropdown.nav-dropdown-simple.dark {
		width: min(72vw, 940px) !important;
		max-width: 72vw !important;
		min-width: 560px !important;
		min-height: 250px !important;
		grid-template-columns: 170px repeat(3, minmax(140px, 1fr)) !important;
		justify-items: start !important;
		align-items: start !important;
		align-content: start !important;
		padding-left: 0.42rem !important;
	}

	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead #menu-item-1465.menu-item-design-full-width.menu-item-has-children
	> .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li:first-child {
		grid-column: 1 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: start !important;
	}

	/* Designers dropdown: compact fixed panel with vertical scroll. */
	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead #menu-item-1469.menu-item-design-full-width.menu-item-has-children
	> .sub-menu.nav-dropdown.nav-dropdown-simple.dark {
		width: min(34vw, 520px) !important;
		max-width: 34vw !important;
		min-width: 360px !important;
		min-height: 240px !important;
		max-height: min(420px, calc(100vh - 140px)) !important;
		grid-template-columns: 1fr !important;
		display: block !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead #menu-item-1469.menu-item-design-full-width.menu-item-has-children
	> .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar {
		width: 8px;
	}

	:is(.woocommerce-shop, .tax-product_cat, .tax-product_tag, .tax-product_brand, .tax-pwb-brand, .tax-yith_product_brand, .tax-pa_brand, body[class*="tax-pa_"], body[class*="tax-gender"])
	#masthead #menu-item-1469.menu-item-design-full-width.menu-item-has-children
	> .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar-thumb {
		background: rgba(255, 255, 255, 0.28);
		border-radius: 999px;
	}
}

/* -------------------------------------------------------------------------
 * Header dropdown hard overrides (conflict-proof, global desktop)
 * ------------------------------------------------------------------------- */
@media screen and (min-width: 850px) {
	/* Categories: force left-aligned layout and keep All Products in top-left. */
	#masthead .header-nav-main #menu-item-1465.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark {
		display: grid !important;
		grid-template-columns: 170px repeat(3, minmax(135px, 1fr)) !important;
		justify-items: start !important;
		align-items: start !important;
		align-content: start !important;
		gap: 0.12rem 0.62rem !important;
		padding: 0.55rem 0.68rem !important;
		padding-left: 0.4rem !important;
		width: min(72vw, 940px) !important;
		max-width: 72vw !important;
		min-width: 560px !important;
		min-height: 250px !important;
		max-height: min(520px, calc(100vh - 130px)) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}

	#masthead .header-nav-main #menu-item-1465.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li {
		justify-self: start !important;
		align-self: start !important;
	}

	#masthead .header-nav-main #menu-item-1465.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li:first-child {
		grid-column: 1 !important;
		grid-row: 1 !important;
	}

	#masthead .header-nav-main #menu-item-1465.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li > a,
	#masthead .header-nav-main #menu-item-1465.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark > li > .sub-menu.nav-column > li > a {
		font-size: 0.82rem !important;
		line-height: 1.2 !important;
		padding: 0.2rem 0 !important;
		text-align: left !important;
	}

	/* Designers: keep compact panel and apply smooth black scrollbar. */
	#masthead .header-nav-main #menu-item-1469.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark {
		display: block !important;
		width: min(34vw, 520px) !important;
		max-width: 34vw !important;
		min-width: 360px !important;
		max-height: min(420px, calc(100vh - 140px)) !important;
		overflow-y: scroll !important;
		overflow-x: hidden !important;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(14, 14, 14, 0.95) rgba(0, 0, 0, 0.92);
	}

	#masthead .header-nav-main #menu-item-1469.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar {
		width: 9px;
	}

	#masthead .header-nav-main #menu-item-1469.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar-track {
		background: rgba(0, 0, 0, 0.92);
		border-left: 1px solid rgba(255, 255, 255, 0.06);
	}

	#masthead .header-nav-main #menu-item-1469.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar-thumb {
		background: linear-gradient(180deg, rgba(34, 34, 34, 0.98), rgba(8, 8, 8, 0.98));
		border: 1px solid rgba(255, 255, 255, 0.08);
		border-radius: 999px;
	}

	#masthead .header-nav-main #menu-item-1469.menu-item-has-children > .sub-menu.nav-dropdown.nav-dropdown-simple.dark::-webkit-scrollbar-thumb:hover {
		background: linear-gradient(180deg, rgba(46, 46, 46, 0.98), rgba(12, 12, 12, 0.98));
	}
}

