/**
 * Deportes Eli — archivo Tienda y categorías WooCommerce
 *
 * Ámbito: body.ast-woo-shop-archive / post-type-archive-product / tax-product_*
 * No afecta a la portada (body.de-portada), fichas single-product, cabecera ni footer.
 */

body.ast-woo-shop-archive,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag {
	--de-navy: #0b1f3a;
	--de-blue: #0755b5;
	--de-ink: #121212;
	--de-muted: #5b6573;
	--de-border: #e6ebf0;
	--de-bg: #ffffff;
	--de-bg-soft: #f4f6f8;
	--de-radius: 8px;
	--de-font: "Inter", system-ui, -apple-system, sans-serif;
}

/* -------------------------------------------------------------------------
   Cabecera de archivo + toolbar (contador / ordenación)
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
	margin-bottom: 0.75rem;
}

body.ast-woo-shop-archive .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_tag .woocommerce-products-header__title {
	font-family: var(--de-font);
	font-weight: 700;
	color: var(--de-navy);
	letter-spacing: -0.01em;
	margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------------------
   Subcategorías (chips) — solo archivos product_cat con hijas
   ------------------------------------------------------------------------- */

body.tax-product_cat .deportes-eli-subcategorias {
	margin: 0.15rem 0 0.15rem;
	padding: 0;
	max-width: 100%;
}

body.tax-product_cat .deportes-eli-subcategorias__label {
	margin: 0 0 0.5rem;
	padding: 0;
	font-family: var(--de-font);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--de-muted);
}

body.tax-product_cat .deportes-eli-subcategorias__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
}

body.tax-product_cat .deportes-eli-subcategorias__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tax-product_cat .deportes-eli-subcategorias__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
	padding: 0.4rem 0.7rem 0.4rem 0.75rem;
	border: 1px solid var(--de-border);
	border-radius: var(--de-radius);
	background: var(--de-bg);
	color: var(--de-navy);
	font-family: var(--de-font);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body.tax-product_cat .deportes-eli-subcategorias__chip:hover,
body.tax-product_cat .deportes-eli-subcategorias__chip:focus-visible {
	border-color: var(--de-blue);
	color: var(--de-blue);
	background: var(--de-bg);
	text-decoration: none;
}

body.tax-product_cat .deportes-eli-subcategorias__text {
	min-width: 0;
}

body.tax-product_cat .deportes-eli-subcategorias__arrow {
	flex: 0 0 auto;
	width: 0.7rem;
	height: 0.7rem;
	opacity: 0.55;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.tax-product_cat .deportes-eli-subcategorias__chip:hover .deportes-eli-subcategorias__arrow,
body.tax-product_cat .deportes-eli-subcategorias__chip:focus-visible .deportes-eli-subcategorias__arrow {
	opacity: 1;
	transform: translateX(1px);
}

@media (max-width: 544px) {
	body.tax-product_cat .deportes-eli-subcategorias {
		margin-top: 0.45rem;
	}

	body.tax-product_cat .deportes-eli-subcategorias__list {
		gap: 0.35rem;
	}

	body.tax-product_cat .deportes-eli-subcategorias__chip {
		padding: 0.35rem 0.55rem 0.35rem 0.6rem;
		font-size: 0.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tax-product_cat .deportes-eli-subcategorias__chip,
	body.tax-product_cat .deportes-eli-subcategorias__arrow {
		transition: none;
	}
}

body.ast-woo-shop-archive .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
	float: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	font-family: var(--de-font);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--de-muted);
	vertical-align: middle;
}

body.ast-woo-shop-archive .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	float: none;
	display: inline-block;
	margin: 0 0 1.25rem;
	vertical-align: middle;
}

body.ast-woo-shop-archive .woocommerce-ordering select.orderby,
body.post-type-archive-product .woocommerce-ordering select.orderby,
body.tax-product_cat .woocommerce-ordering select.orderby,
body.tax-product_tag .woocommerce-ordering select.orderby {
	min-width: 12rem;
	max-width: 100%;
	padding: 0.55rem 2rem 0.55rem 0.85rem;
	border: 1px solid var(--de-border);
	border-radius: var(--de-radius);
	background-color: var(--de-bg);
	font-family: var(--de-font);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--de-ink);
	line-height: 1.3;
	box-shadow: none;
}

/* Toolbar: contador a la izquierda, orden a la derecha */
body.ast-woo-shop-archive .premmerce-filter-ajax-container,
body.post-type-archive-product .premmerce-filter-ajax-container,
body.tax-product_cat .premmerce-filter-ajax-container,
body.tax-product_tag .premmerce-filter-ajax-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.25rem;
}

body.ast-woo-shop-archive .premmerce-filter-ajax-container .woocommerce-notices-wrapper,
body.post-type-archive-product .premmerce-filter-ajax-container .woocommerce-notices-wrapper,
body.tax-product_cat .premmerce-filter-ajax-container .woocommerce-notices-wrapper,
body.tax-product_tag .premmerce-filter-ajax-container .woocommerce-notices-wrapper {
	flex: 0 0 100%;
	margin: 0;
}

body.ast-woo-shop-archive .premmerce-filter-ajax-container .woocommerce-ordering,
body.post-type-archive-product .premmerce-filter-ajax-container .woocommerce-ordering,
body.tax-product_cat .premmerce-filter-ajax-container .woocommerce-ordering,
body.tax-product_tag .premmerce-filter-ajax-container .woocommerce-ordering {
	margin-bottom: 0;
	margin-left: auto;
}

/* -------------------------------------------------------------------------
   Cuadrícula — respeta columnas Astra (4 / 3 / 2)
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.35rem;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	width: 100%;
	max-width: 100%;
	list-style: none;
	box-sizing: border-box;
}

body.ast-woo-shop-archive ul.products::before,
body.ast-woo-shop-archive ul.products::after,
body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after {
	display: none !important;
	content: none !important;
}

/* -------------------------------------------------------------------------
   Tarjeta
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	background: var(--de-bg);
	border: 1px solid var(--de-border);
	border-radius: var(--de-radius);
	overflow: hidden;
	box-sizing: border-box;
	text-align: left;
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
	body.ast-woo-shop-archive ul.products li.product:hover,
	body.post-type-archive-product ul.products li.product:hover,
	body.tax-product_cat ul.products li.product:hover,
	body.tax-product_tag ul.products li.product:hover {
		border-color: #c9d4e0;
		box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
	}
}

/* -------------------------------------------------------------------------
   Imagen 1:1 — contain, sin deformar
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive ul.products li.product .astra-shop-thumbnail-wrap,
body.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap,
body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap,
body.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1;
	background: var(--de-bg-soft);
	overflow: hidden;
}

body.ast-woo-shop-archive ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link,
body.tax-product_tag ul.products li.product .astra-shop-thumbnail-wrap > a.woocommerce-LoopProduct-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
	padding: 0.75rem;
	box-sizing: border-box;
}

body.ast-woo-shop-archive ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center center;
}

/* Oferta — chip discreto */
body.ast-woo-shop-archive ul.products li.product .ast-onsale-card,
body.post-type-archive-product ul.products li.product .ast-onsale-card,
body.tax-product_cat ul.products li.product .ast-onsale-card,
body.tax-product_tag ul.products li.product .ast-onsale-card,
body.ast-woo-shop-archive ul.products li.product span.onsale,
body.post-type-archive-product ul.products li.product span.onsale,
body.tax-product_cat ul.products li.product span.onsale,
body.tax-product_tag ul.products li.product span.onsale {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	padding: 0.28rem 0.55rem;
	border: 0;
	border-radius: 999px;
	background: var(--de-navy) !important;
	color: #fff !important;
	font-family: var(--de-font);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: none;
}

/* Icono bolsa on-card: solo hover en desktop fino; oculto en tablet/móvil
   (el CTA inferior «Seleccionar opciones» / «Añadir al carrito» basta). */
body.ast-woo-shop-archive ul.products li.product .ast-select-options-trigger,
body.ast-woo-shop-archive ul.products li.product .ast-on-card-button.ast-select-options-trigger,
body.post-type-archive-product ul.products li.product .ast-select-options-trigger,
body.tax-product_cat ul.products li.product .ast-select-options-trigger,
body.tax-product_tag ul.products li.product .ast-select-options-trigger {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	body.ast-woo-shop-archive ul.products li.product:hover .ast-select-options-trigger,
	body.post-type-archive-product ul.products li.product:hover .ast-select-options-trigger,
	body.tax-product_cat ul.products li.product:hover .ast-select-options-trigger,
	body.tax-product_tag ul.products li.product:hover .ast-select-options-trigger {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
}

@media (max-width: 921px) {
	body.ast-woo-shop-archive ul.products li.product .ast-select-options-trigger,
	body.ast-woo-shop-archive ul.products li.product .ast-on-card-button.ast-select-options-trigger,
	body.post-type-archive-product ul.products li.product .ast-select-options-trigger,
	body.tax-product_cat ul.products li.product .ast-select-options-trigger,
	body.tax-product_tag ul.products li.product .ast-select-options-trigger {
		display: none !important;
	}
}

/* Ocultar tooltip textual del icono on-card para no duplicar “Seleccionar opciones” */
body.ast-woo-shop-archive ul.products li.product .ast-card-action-tooltip,
body.post-type-archive-product ul.products li.product .ast-card-action-tooltip,
body.tax-product_cat ul.products li.product .ast-card-action-tooltip,
body.tax-product_tag ul.products li.product .ast-card-action-tooltip {
	display: none !important;
}

/* -------------------------------------------------------------------------
   Resumen: categoría, título, precio, botón
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.35rem;
	padding: 0.85rem 0.9rem 1rem;
	box-sizing: border-box;
}

body.ast-woo-shop-archive ul.products li.product .ast-woo-product-category,
body.post-type-archive-product ul.products li.product .ast-woo-product-category,
body.tax-product_cat ul.products li.product .ast-woo-product-category,
body.tax-product_tag ul.products li.product .ast-woo-product-category {
	display: block;
	margin: 0;
	font-family: var(--de-font);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--de-muted);
	line-height: 1.3;
}

body.ast-woo-shop-archive ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--de-font);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35 !important;
	letter-spacing: 0;
	color: var(--de-navy);
	text-transform: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(1.35em * 2);
}

body.ast-woo-shop-archive ul.products li.product .woocommerce-loop-product__title a,
body.ast-woo-shop-archive ul.products li.product a.ast-loop-product__link,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title a,
body.post-type-archive-product ul.products li.product a.ast-loop-product__link,
body.tax-product_cat ul.products li.product a.ast-loop-product__link,
body.tax-product_tag ul.products li.product a.ast-loop-product__link {
	color: inherit;
	text-decoration: none;
}

body.ast-woo-shop-archive ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.tax-product_tag ul.products li.product .price {
	display: block;
	margin: 0.15rem 0 0.4rem;
	font-family: var(--de-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3 !important;
	color: var(--de-ink);
}

body.ast-woo-shop-archive ul.products li.product .price del,
body.post-type-archive-product ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del,
body.tax-product_tag ul.products li.product .price del {
	font-size: 0.85em;
	font-weight: 500;
	color: var(--de-muted);
	opacity: 0.9;
}

body.ast-woo-shop-archive ul.products li.product .price ins,
body.post-type-archive-product ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins,
body.tax-product_tag ul.products li.product .price ins {
	text-decoration: none;
	color: var(--de-navy);
	font-weight: 700;
}

/* Empujar CTA al fondo de la tarjeta para alinear botones en la fila */
body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap > .button,
body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap > a.button,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap > .button,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap > a.button,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap > .button,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap > a.button,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap > .button,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap > a.button {
	margin-top: auto;
}

body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap .button,
body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap a.button,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap .button,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap a.button,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap .button,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap a.button,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap .button,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	min-height: 2.65rem;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	padding: 0.65rem 0.85rem;
	box-sizing: border-box;
	border: 1px solid var(--de-navy) !important;
	border-radius: var(--de-radius) !important;
	background: var(--de-navy) !important;
	color: #fff !important;
	font-family: var(--de-font);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
	white-space: normal;
	transition: background-color 0.22s ease, border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap .button:hover,
	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap a.button:hover,
	body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap .button:hover,
	body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap a.button:hover,
	body.tax-product_cat ul.products li.product .astra-shop-summary-wrap .button:hover,
	body.tax-product_cat ul.products li.product .astra-shop-summary-wrap a.button:hover,
	body.tax-product_tag ul.products li.product .astra-shop-summary-wrap .button:hover,
	body.tax-product_tag ul.products li.product .astra-shop-summary-wrap a.button:hover {
		background: var(--de-blue) !important;
		border-color: var(--de-blue) !important;
		color: #fff !important;
	}
}

/* Ocultar texto auxiliar de variantes en la tarjeta (sigue en screen-reader) */
body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap > .screen-reader-text,
body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap > .screen-reader-text,
body.tax-product_cat ul.products li.product .astra-shop-summary-wrap > .screen-reader-text,
body.tax-product_tag ul.products li.product .astra-shop-summary-wrap > .screen-reader-text {
	/* no tocar: accesibilidad */
}

/* -------------------------------------------------------------------------
   Paginación
   ------------------------------------------------------------------------- */

body.ast-woo-shop-archive .woocommerce-pagination,
body.post-type-archive-product .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_tag .woocommerce-pagination {
	margin: 0.5rem 0 2rem;
	text-align: center;
}

body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers,
body.tax-product_cat .woocommerce-pagination ul.page-numbers,
body.tax-product_tag .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers li,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers li,
body.tax-product_cat .woocommerce-pagination ul.page-numbers li,
body.tax-product_tag .woocommerce-pagination ul.page-numbers li {
	margin: 0;
	border: 0;
}

body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers a,
body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers span,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers a,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers span,
body.tax-product_cat .woocommerce-pagination ul.page-numbers a,
body.tax-product_cat .woocommerce-pagination ul.page-numbers span,
body.tax-product_tag .woocommerce-pagination ul.page-numbers a,
body.tax-product_tag .woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	min-height: 2.25rem;
	padding: 0.35rem 0.55rem;
	border: 1px solid var(--de-border);
	border-radius: var(--de-radius);
	background: var(--de-bg);
	color: var(--de-ink);
	font-family: var(--de-font);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
}

body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers a:hover,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers a:hover,
body.tax-product_cat .woocommerce-pagination ul.page-numbers a:hover,
body.tax-product_tag .woocommerce-pagination ul.page-numbers a:hover {
	border-color: var(--de-navy);
	color: var(--de-navy);
}

body.ast-woo-shop-archive .woocommerce-pagination ul.page-numbers span.current,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers span.current,
body.tax-product_cat .woocommerce-pagination ul.page-numbers span.current,
body.tax-product_tag .woocommerce-pagination ul.page-numbers span.current {
	background: var(--de-navy);
	border-color: var(--de-navy);
	color: #fff;
}

/* -------------------------------------------------------------------------
   Responsive — columnas alineadas con Astra
   ------------------------------------------------------------------------- */

@media (max-width: 921px) {
	body.ast-woo-shop-archive ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.1rem;
	}
}

@media (max-width: 544px) {
	body.ast-woo-shop-archive ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap,
	body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
	body.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
	body.tax-product_tag ul.products li.product .astra-shop-summary-wrap {
		padding: 0.7rem 0.65rem 0.8rem;
		gap: 0.28rem;
	}

	body.ast-woo-shop-archive ul.products li.product .woocommerce-loop-product__title,
	body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
	body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
	body.tax-product_tag ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.8rem;
	}

	body.ast-woo-shop-archive ul.products li.product .price,
	body.post-type-archive-product ul.products li.product .price,
	body.tax-product_cat ul.products li.product .price,
	body.tax-product_tag ul.products li.product .price {
		font-size: 0.9rem;
	}

	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap .button,
	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap a.button,
	body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap .button,
	body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap a.button,
	body.tax-product_cat ul.products li.product .astra-shop-summary-wrap .button,
	body.tax-product_cat ul.products li.product .astra-shop-summary-wrap a.button,
	body.tax-product_tag ul.products li.product .astra-shop-summary-wrap .button,
	body.tax-product_tag ul.products li.product .astra-shop-summary-wrap a.button {
		min-height: 2.4rem;
		padding: 0.55rem 0.5rem;
		font-size: 0.68rem;
		letter-spacing: 0.02em;
	}

	body.ast-woo-shop-archive .premmerce-filter-ajax-container,
	body.post-type-archive-product .premmerce-filter-ajax-container,
	body.tax-product_cat .premmerce-filter-ajax-container,
	body.tax-product_tag .premmerce-filter-ajax-container {
		flex-direction: column;
		align-items: stretch;
	}

	body.ast-woo-shop-archive .premmerce-filter-ajax-container .woocommerce-ordering,
	body.post-type-archive-product .premmerce-filter-ajax-container .woocommerce-ordering,
	body.tax-product_cat .premmerce-filter-ajax-container .woocommerce-ordering,
	body.tax-product_tag .premmerce-filter-ajax-container .woocommerce-ordering {
		margin-left: 0;
		width: 100%;
	}

	body.ast-woo-shop-archive .woocommerce-ordering select.orderby,
	body.post-type-archive-product .woocommerce-ordering select.orderby,
	body.tax-product_cat .woocommerce-ordering select.orderby,
	body.tax-product_tag .woocommerce-ordering select.orderby {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ast-woo-shop-archive ul.products li.product,
	body.ast-woo-shop-archive ul.products li.product .astra-shop-summary-wrap .button,
	body.post-type-archive-product ul.products li.product,
	body.tax-product_cat ul.products li.product,
	body.tax-product_tag ul.products li.product {
		transition: none !important;
	}
}
