/* ==========================================================================
   Catálogo 7K — barra de filtros, panel lateral y tarjetas de producto
   Paleta: negro, rojo y blanco. Sin sombras: la profundidad se construye
   con bordes y contraste.

   Se encola DESPUÉS de shop-archive.css. Ojo: el bloque "BARRA DE FILTROS"
   de ese archivo usa !important en casi todo (display:flex, position:relative,
   width fija de los dropdowns…), así que dentro del panel hay que repetirlo
   con mayor especificidad para deshacer el tratamiento de barra horizontal.
   ========================================================================== */

:root {
	--oz-black: #111111;
	--oz-black-soft: #1f1f1f;
	--oz-red: #e20613;
	--oz-red-dark: #b30410;
	--oz-grey-900: #333333;
	--oz-grey-600: #666666;
	--oz-grey-400: #9a9a9a;
	--oz-line: #e2e2e2;
	--oz-line-soft: #f0f0f0;
	--oz-bg: #f7f7f7;
	--oz-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--oz-fd-width: 380px;
}

/* ==========================================================================
   1. REJILLA DE PRODUCTOS — 5 columnas en escritorio
   ========================================================================== */
@media (min-width: 1400px) {
	.oz-shop-layout__main ul.products,
	body.ozc-loops--replace .oz-shop-layout__main ul.products {
		grid-template-columns: repeat(var(--oz-shop-grid-columns, 5), minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1200px) and (max-width: 1399px) {
	.oz-shop-layout__main ul.products,
	body.ozc-loops--replace .oz-shop-layout__main ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.oz-shop-layout__main ul.products,
	body.ozc-loops--replace .oz-shop-layout__main ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.oz-shop-layout.oz-shop-archive__container--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

/* Fuera sombras heredadas en el contenedor del catálogo */
.site-main--woo-archive .oz-shop-layout,
.site-main--woo-archive .oz-shop-archive__shell {
	box-shadow: none !important;
}

.oz-shop-archive__cat-desc {
	margin: 0 0 1.25rem;
	max-width: 80ch;
	color: var(--oz-grey-600);
	line-height: 1.6;
}

.oz-shop-archive__cat-desc > *:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   2. BARRA SUPERIOR: botón "Filtros" + ordenación
   ========================================================================== */
.oz-filterbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.6rem;
	flex-wrap: wrap;
	border: 0;

	/* Se queda fija bajo la cabecera al hacer scroll. El offset reutiliza la
	   variable que define la altura del header (assets/css/site-header.css),
	   así no hay dos números que sincronizar a mano.
	   El espaciado va como padding y no como margin para que la banda blanca
	   tape las tarjetas que pasan por debajo; el margen negativo compensa ese
	   padding y mantiene el hueco del diseño anterior.
	   Requiere que ningún ancestro tenga overflow != visible (ver la nota en
	   shop-archive.css). */
	position: sticky;
	top: var(--hdr-h, 96px);
	z-index: 300;
	background: #ffffff;
	padding: 0.85rem 0;
	margin: -0.85rem 0 0.9rem;
}

/* El `position: sticky` de arriba NO funciona si el padre es un contenedor grid:
   el bloque contenedor de un grid item es su área de grid, que aquí es una fila
   de su misma altura, así que a la barra no le queda recorrido para desplazarse
   y se comporta como estática.
   `.oz-shop-archive__results` se declara `display: grid; gap: 1.5rem` en
   shop-archive.css (líneas 21-25). Se pasa a bloque y el `gap` se reproduce con
   margen entre hijos, con lo que el bloque contenedor de la barra pasa a ser
   toda la sección de resultados y sí puede fijarse mientras se hace scroll.
   Si algún día se vuelve a poner grid aquí, la barra deja de fijarse. */
.site-main--woo-archive .oz-shop-archive__results {
	display: block;
}

.site-main--woo-archive .oz-shop-archive__results > * + * {
	margin-top: 1.5rem;
}

/* Separación sutil respecto a las tarjetas que pasan por debajo. */
.oz-filterbar::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--oz-line, #e6e6e6);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.oz-filterbar.is-stuck::after {
	opacity: 1;
}

@media (max-width: 991px) {
	.oz-filterbar {
		top: var(--hdr-h-mobile, 66px);
	}
}

/* Con la barra de administración de WordPress todo arranca más abajo. Sólo
   afecta a usuarios logueados (a 782px la barra pasa de 32px a 46px). */
body.admin-bar .oz-filterbar {
	top: calc(var(--hdr-h, 96px) + 32px);
}

@media (max-width: 991px) {
	body.admin-bar .oz-filterbar {
		top: calc(var(--hdr-h-mobile, 66px) + 32px);
	}
}

@media (max-width: 782px) {
	body.admin-bar .oz-filterbar {
		top: calc(var(--hdr-h-mobile, 66px) + 46px);
	}
}

.oz-filterbar__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1.2rem;
	/* Mismo borde gris que el select de orden (.orderby), para que los dos
	   controles de la barra de filtros se lean como un par. */
	border: 1px solid var(--oz-line);
	border-radius: 4px;
	background: #ffffff;
	color: var(--oz-black);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.18s var(--oz-ease), color 0.18s var(--oz-ease), border-color 0.18s var(--oz-ease);
}

.oz-filterbar__toggle:hover,
.oz-filterbar__toggle[aria-expanded="true"] {
	/* Al rellenarse de negro el borde acompana, si no queda un halo gris. */
	border-color: var(--oz-black);
	background: var(--oz-black);
	color: #ffffff;
}

.oz-filterbar__toggle:focus-visible {
	outline: 2px solid var(--oz-red);
	outline-offset: 2px;
}

/* Con filtros aplicados el botón se marca en rojo */
.oz-filterbar__toggle.has-active {
	border-color: var(--oz-red);
	background: var(--oz-red);
	color: #ffffff;
}

.oz-filterbar__toggle.has-active:hover {
	background: var(--oz-red-dark);
	border-color: var(--oz-red-dark);
}

.oz-filterbar__icon {
	flex: 0 0 auto;
}

.oz-filterbar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 2px;
	background: #ffffff;
	color: var(--oz-red);
	font-size: 12px;
	font-weight: 800;
}

/* ——— Ordenación del catálogo */
.oz-filterbar__sort {
	display: flex;
	align-items: center;
}

.oz-filterbar .woocommerce-ordering {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.oz-filterbar .woocommerce-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	max-width: 100%;
	min-height: 42px;
	padding: 0.6rem 2.4rem 0.6rem 1rem;
	border: 1px solid var(--oz-line);
	border-radius: 4px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	color: var(--oz-black);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: border-color 0.18s var(--oz-ease);
}

.oz-filterbar .woocommerce-ordering select.orderby:hover,
.oz-filterbar .woocommerce-ordering select.orderby:focus {
	border-color: var(--oz-black);
	box-shadow: none;
}

.oz-filterbar .woocommerce-ordering select.orderby:focus-visible {
	outline: 2px solid var(--oz-red);
	outline-offset: 2px;
}

.oz-filterbar__clear {
	margin-left: auto;
	color: var(--oz-grey-600);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.18s var(--oz-ease);
}

.oz-filterbar__clear:hover {
	color: var(--oz-red);
	text-decoration: underline;
}

/* ==========================================================================
   3. PANEL LATERAL — entra desde la izquierda
   El JS lo mueve a <body> al arrancar para que `fixed` se mida contra el
   viewport aunque algún contenedor del catálogo cree bloque contenedor.
   ========================================================================== */
.oz-filters-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
}

/* Sin esto, los elementos a `width: 100%` suman su padding y su borde al ancho
   y se salen del panel (le pasaba al botón "Borrar filtros"). */
.oz-filters-drawer,
.oz-filters-drawer *,
.oz-filters-drawer *::before,
.oz-filters-drawer *::after,
.oz-filterbar,
.oz-filterbar * {
	box-sizing: border-box;
}

.oz-filters-drawer.is-open {
	visibility: visible;
}

.oz-filters-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.3s var(--oz-ease);
}

.oz-filters-drawer.is-open .oz-filters-drawer__overlay {
	opacity: 1;
}

.oz-filters-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: min(var(--oz-fd-width), 92vw);
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-right: 1px solid var(--oz-line);
	box-shadow: none;
	transform: translateX(-100%);
	transition: transform 0.34s var(--oz-ease);
	will-change: transform;
}

.oz-filters-drawer.is-open .oz-filters-drawer__panel {
	transform: translateX(0);
}

body.admin-bar .oz-filters-drawer__panel {
	top: 32px;
	height: calc(100% - 32px);
}

@media (max-width: 782px) {
	body.admin-bar .oz-filters-drawer__panel {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* Cabecera negra rematada con un filete rojo de marca */
.oz-filters-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex: 0 0 auto;
	padding: 1.1rem 1.25rem;
	background: var(--oz-black);
	border-bottom: 3px solid var(--oz-red);
	color: #ffffff;
}

.oz-filters-drawer__title {
	font-family: var(--OZ-Font-Headings, inherit);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #ffffff;
}

.oz-filters-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.18s var(--oz-ease), border-color 0.18s var(--oz-ease);
}

.oz-filters-drawer__close:hover {
	background: var(--oz-red);
	border-color: var(--oz-red);
}

/* Único contenedor con scroll del panel */
.oz-filters-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	padding: 0 1.25rem 1.5rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #cfcfcf transparent;
}

/* Barra de desplazamiento fina y discreta: gris sobre riel transparente */
.oz-filters-drawer__body::-webkit-scrollbar {
	width: 5px;
}

.oz-filters-drawer__body::-webkit-scrollbar-track {
	background: transparent;
}

.oz-filters-drawer__body::-webkit-scrollbar-thumb {
	background: #cfcfcf;
	border-radius: 999px;
}

.oz-filters-drawer__body::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

body.oz-filters-drawer-open {
	overflow: hidden;
}

/* ==========================================================================
   4. LOS FILTROS DENTRO DEL PANEL — acordeón vertical
   ========================================================================== */
html body .oz-filters-drawer .oz-filters--bar {
	display: block !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
}

/* El icono decorativo de la barra ya vive en el botón "Filtros" */
html body .oz-filters-drawer .oz-filters--bar::before {
	content: none !important;
	display: none !important;
}

html body .oz-filters-drawer .oz-filters__inner {
	display: block !important;
	flex: none !important;
	gap: 0 !important;
}

html body .oz-filters-drawer .oz-filter {
	position: static !important;
	display: block !important;
	border-bottom: 1px solid var(--oz-line-soft);
}

html body .oz-filters-drawer .oz-filter:last-child {
	border-bottom: 0;
}

/* shop-archive.css oculta "Categorías" en escritorio porque antes vivían en la
   barra lateral. Esa barra ya no existe: dentro del panel se muestran siempre. */
html body .oz-filters-drawer .oz-filters--bar .oz-filter--categorias {
	display: block !important;
}

html body .oz-filters-drawer .oz-filter__title {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1rem 0 !important;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--oz-black) !important;
	white-space: normal !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	user-select: none;
}

html body .oz-filters-drawer .oz-filter__title::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin: -3px 0 0 0.75rem;
	border-right: 2px solid var(--oz-grey-400);
	border-bottom: 2px solid var(--oz-grey-400);
	transform: rotate(45deg);
	transition: transform 0.2s var(--oz-ease), border-color 0.2s var(--oz-ease);
}

html body .oz-filters-drawer .oz-filter__title:hover::after {
	border-color: var(--oz-black);
}

/* Abierto: el rojo se reserva para el chevron, no para todo el rótulo */
html body .oz-filters-drawer .oz-filter.is-open .oz-filter__title::after {
	transform: rotate(-135deg);
	margin-top: 2px;
	border-color: var(--oz-red);
}

/* Panel de cada grupo: en flujo y sin scroll propio, para que la rueda del
   ratón siempre desplace el panel completo (antes `overscroll-behavior` en
   estas cajas bloqueaba el encadenado y parecía que el scroll no funcionaba). */
html body .oz-filters-drawer .oz-filter__content {
	position: static !important;
	top: auto !important;
	left: auto !important;
	display: none;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	max-height: none !important;
	overflow: visible !important;
	overscroll-behavior: auto;
	padding: 0 0 0.85rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	z-index: auto !important;
}

html body .oz-filters-drawer .oz-filter.is-open .oz-filter__content {
	display: block !important;
}

/* "Categorías" permanece siempre desplegado (sustituye a la barra lateral) */
html body .oz-filters-drawer .oz-filter--categorias .oz-filter__content {
	display: block !important;
}

html body .oz-filters-drawer .oz-filter--categorias .oz-filter__title {
	cursor: default;
	pointer-events: none;
	gap: 0.55rem;
	justify-content: flex-start !important;
}

/* Marca roja en el grupo fijo de categorías */
html body .oz-filters-drawer .oz-filter--categorias .oz-filter__title::before {
	content: "";
	flex: 0 0 auto;
	width: 3px;
	height: 0.95em;
	background: var(--oz-red);
}

html body .oz-filters-drawer .oz-filter--categorias .oz-filter__title::after {
	display: none;
}

html body .oz-filters-drawer .oz-filter__items {
	display: flex !important;
	flex-direction: column;
	gap: 0 !important;
}

/* Enlaces neutros: gris oscuro sobre blanco. El rojo queda para lo activo. */
html body .oz-filters-drawer .oz-filter__item {
	display: flex !important;
	align-items: center;
	gap: 0.6rem !important;
	width: 100% !important;
	padding: 0.6rem 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-size: 14px !important;
	color: var(--oz-grey-900) !important;
	text-decoration: none;
	white-space: normal !important;
	transition: color 0.15s var(--oz-ease);
}

html body .oz-filters-drawer .oz-filter__item:hover {
	background: transparent !important;
	color: var(--oz-black) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Seleccionado: rojo + filete rojo a la izquierda, sin fondo de color */
html body .oz-filters-drawer .oz-filter__item.is-active {
	background: transparent !important;
	color: var(--oz-red) !important;
	font-weight: 700;
	border-left: 2px solid var(--oz-red);
	padding-left: 0.6rem !important;
}

html body .oz-filters-drawer .oz-filter__label {
	flex: 1 1 auto;
	min-width: 0;
}

html body .oz-filters-drawer .oz-filter__count {
	flex: 0 0 auto;
	color: var(--oz-grey-400);
	font-size: 12px;
	font-weight: 600;
}

/* Casillas de los atributos: cuadradas, negras al marcar */
html body .oz-filters-drawer .oz-filter__item::before {
	width: 15px !important;
	height: 15px !important;
	flex: 0 0 15px !important;
	border: 1px solid var(--oz-line) !important;
	border-radius: 2px !important;
	background: #ffffff !important;
	box-shadow: none !important;
}

/* El `inset` no es una sombra: dibuja el hueco blanco de la casilla marcada. */
html body .oz-filters-drawer .oz-filter__item.is-active::before {
	background: var(--oz-red) !important;
	border-color: var(--oz-red) !important;
	box-shadow: inset 0 0 0 3px #ffffff !important;
}

/* Acciones al pie */
html body .oz-filters-drawer .oz-filters__actions {
	display: block !important;
	width: 100% !important;
	flex: none !important;
	margin: 1.5rem 0 0 !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--oz-line);
}

html body .oz-filters-drawer .oz-filters__clear {
	display: block !important;
	width: 100% !important;
	padding: 0.85rem 1rem !important;
	border: 1px solid var(--oz-black) !important;
	border-radius: 4px !important;
	background: #ffffff !important;
	color: var(--oz-black) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.18s var(--oz-ease), color 0.18s var(--oz-ease);
}

html body .oz-filters-drawer .oz-filters__clear:hover {
	background: var(--oz-red) !important;
	border-color: var(--oz-red) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   5. TARJETAS DE PRODUCTO — negro / rojo / blanco, sin sombras
   ========================================================================== */
.oz-shop-layout__main .ozc-product-card,
.oz-shop-layout__main .oz-loop-product__inner {
	box-shadow: none !important;
	border: 1px solid var(--oz-line) !important;
	border-radius: 4px !important;
	background: #ffffff !important;
	transition: border-color 0.2s var(--oz-ease) !important;
}

.oz-shop-layout__main .ozc-product-card:hover,
.oz-shop-layout__main .oz-loop-product__inner:hover {
	border-color: var(--oz-black) !important;
	box-shadow: none !important;
	transform: none !important;
}

.oz-shop-layout__main .ozc-product-card__title a {
	color: var(--oz-black);
	text-decoration: none;
	transition: color 0.18s var(--oz-ease);
}

.oz-shop-layout__main .ozc-product-card__title a:hover {
	color: var(--oz-red);
}

/* Precio: tachado en gris, precio vigente en rojo */
.oz-shop-layout__main .ozc-product-card__price del,
.oz-shop-layout__main .ozc-product-card__price del .amount {
	color: var(--oz-grey-400);
	font-weight: 500;
}

.oz-shop-layout__main .ozc-product-card__price ins,
.oz-shop-layout__main .ozc-product-card__price ins .amount {
	background: transparent;
	color: var(--oz-red);
	font-weight: 800;
	text-decoration: none;
}

.oz-shop-layout__main .ozc-product-card__price > .amount {
	color: var(--oz-black);
	font-weight: 800;
}

/* CTA en negro; el rojo entra al pasar el ratón */
.oz-shop-layout__main .ozc-product-card__btn--primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.7rem 1rem !important;
	border: 1px solid var(--oz-black) !important;
	border-radius: 4px !important;
	background: var(--oz-black) !important;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none !important;
	transition: background 0.18s var(--oz-ease), border-color 0.18s var(--oz-ease);
}

.oz-shop-layout__main .ozc-product-card__btn--primary:hover {
	background: var(--oz-red) !important;
	border-color: var(--oz-red) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   6. PAGINACIÓN
   WooCommerce dibuja una caja única con los números pegados: borde en el <ul>
   y border-right en cada <li>. Sus selectores (.woocommerce nav… ul li) pesan
   más que los del tema, por eso seguía viéndose así. Aquí se desmonta y se
   reconstruye como botones sueltos.
   ========================================================================== */
.site-main--woo-archive nav.woocommerce-pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	white-space: normal;
	list-style: none;
}

.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li {
	display: inline-flex;
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible;
}

.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.7rem;
	border: 1px solid var(--oz-line);
	border-radius: 4px;
	background: #ffffff;
	color: var(--oz-grey-900);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transition: border-color 0.18s var(--oz-ease), color 0.18s var(--oz-ease), background 0.18s var(--oz-ease);
}

/* Hover en rojo: es el único estado interactivo de la paginación */
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus {
	border-color: var(--oz-red);
	background: #ffffff;
	color: var(--oz-red);
}

.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus-visible {
	outline: 2px solid var(--oz-red);
	outline-offset: 2px;
}

/* Página actual en negro */
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li .page-numbers.current {
	background: var(--oz-black);
	border-color: var(--oz-black);
	color: #ffffff;
}

/* Puntos suspensivos: no son un botón */
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li .page-numbers.dots {
	min-width: 1.5rem;
	padding: 0 0.2rem;
	border-color: transparent;
	background: transparent;
	color: var(--oz-grey-400);
	font-weight: 600;
}

/* Flechas anterior / siguiente: se llenan de rojo */
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.prev.page-numbers,
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.next.page-numbers {
	font-size: 17px;
	color: var(--oz-black);
}

.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.prev.page-numbers:hover,
.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li a.next.page-numbers:hover {
	background: var(--oz-red);
	border-color: var(--oz-red);
	color: #ffffff;
}

@media (max-width: 575px) {
	.site-main--woo-archive nav.woocommerce-pagination ul.page-numbers li .page-numbers {
		min-width: 38px;
		height: 38px;
		padding: 0 0.5rem;
		font-size: 13px;
	}
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 575px) {
	.oz-filterbar {
		gap: 0.5rem;
	}

	.oz-filterbar__toggle {
		flex: 1 1 auto;
		justify-content: center;
	}

	.oz-filterbar__sort,
	.oz-filterbar .woocommerce-ordering,
	.oz-filterbar .woocommerce-ordering select.orderby {
		width: 100%;
	}

	.oz-filterbar__clear {
		margin-left: 0;
	}

	.oz-filters-drawer__panel {
		width: 100vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oz-filters-drawer__panel,
	.oz-filters-drawer__overlay,
	.oz-filters-drawer .oz-filter__title::after {
		transition: none;
	}
}
