﻿.oz-filters {
	border: 1px solid var(--OZ-Color-6);
	
	background: var(--OZ-Color-5);
	
	border-radius: 12px}

.oz-filters--bar .oz-filters__inner {
	display: flex;
	gap: 12px;
	flex-wrap: wrap}
.oz-filter:last-child 

.oz-filters--bar .oz-filter {
	position: relative}

.oz-filter__title {
	font-weight: 600}

.oz-filters--bar .oz-filter__content {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--OZ-Color-5);
	border: 1px solid var(--OZ-Color-6);
	
	min-width: 220px;
	z-index: 20;
	display: none;
	border-radius: 10px}

.oz-filters--bar .oz-filter.is-open .oz-filter__content {
	display: block}

.oz-filter__items {
	display: flex;
	flex-direction: column;
	gap: 6px}

.oz-filter--chips .oz-filter__items,
.oz-filter--swatch .oz-filter__items {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px}

.oz-filter__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.oz-filter__item::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 1.5px solid #cbd5e1;
	border-radius: 5px;
	background: #ffffff;
	flex: 0 0 18px;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.oz-filter__item:hover {
	background: rgba(4, 254, 0, 0.06);
	border-color: rgba(4, 254, 0, 0.2);
}
.oz-filter__item:hover::before {
	border-color: #04FE00;
}

.oz-filter__item.is-active {
	background: rgba(4, 254, 0, 0.12);
	border-color: #04FE00;
	color: #000000;
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(4, 254, 0, 0.18);
}

.oz-filter__item.is-active::before {
	background: #04FE00;
	border-color: #04FE00;
	box-shadow: 0 0 0 1px #04FE00 inset;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

.oz-filter__item.is-active .oz-filter__label {
	color: #000000;
}

.oz-filter__item.is-active .oz-filter__count {
	color: #000000;
	font-weight: 700;
}

.oz-filter__label {
	font-size: 14px}

.oz-filter__count {
	font-size: 12px;
	color: #6b7280}

.oz-swatch {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 1px solid var(--OZ-Color-6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #fff}

.oz-filter--swatch .oz-filter__item::before {
	display: none}

.oz-swatch img {
	width: 100%;
	height: 100%;
	object-fit: cover}
.oz-filters__clear {
	display: inline-block;
	font-size: 13px;
	color: #ef4444;
	text-decoration: none}

.oz-swatches {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	
	width: 100%}
.oz-swatch-btn {
	border: 1px solid var(--OZ-Color-6);
	background: #fff;
	cursor: pointer;
	border-radius: 999px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	
	background-size: cover;
	background-position: center}

.oz-swatch-btn.is-selected {
	border-color: var(--OZ-Color-1)}

.oz-swatch-btn.is-disabled {
	opacity: 0.4;
	pointer-events: none}

.oz-swatches[data-shape="square"] .oz-swatch-btn {
	border-radius: 6px}

.oz-swatch-btn span {
	font-size: 13px}

.oz-variation-select {
	position: absolute !important;
	left: -9999px !important}

body.oz-filters-loading {
	cursor: progress}

/* =========================================================
   BANNER DE FILTROS APLICADOS (sobre el listado de productos)
   ========================================================= */
.oz-shop-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0 0 16px;
	padding: 14px 16px;
	background: linear-gradient(180deg, rgba(4, 254, 0, 0.07) 0%, rgba(4, 254, 0, 0.02) 100%);
	border: 1px solid rgba(4, 254, 0, 0.32);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(4, 254, 0, 0.08);
}

.oz-shop-active-filters__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex: 0 0 auto;
}

.oz-shop-active-filters__label svg {
	color: #04FE00;
	flex: 0 0 auto;
}

.oz-shop-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1 1 auto;
	min-width: 0;
}

.oz-shop-active-filters__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 6px 6px 12px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	font-size: 13px;
	color: #1a1a1a;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.oz-shop-active-filters__chip:hover {
	border-color: #04FE00;
	box-shadow: 0 2px 6px rgba(4, 254, 0, 0.18);
}

.oz-shop-active-filters__chip-group {
	font-size: 11px;
	font-weight: 700;
	color: #5b6770;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.oz-shop-active-filters__chip-label {
	font-weight: 600;
	color: #000000;
}

.oz-shop-active-filters__chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #475569;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
	flex: 0 0 22px;
}

.oz-shop-active-filters__chip-remove:hover,
.oz-shop-active-filters__chip-remove:focus-visible {
	background: #000000;
	color: #04FE00;
	transform: scale(1.08);
	outline: none;
}

.oz-shop-active-filters__clear-all {
	margin-left: auto;
	font-size: 13px;
	font-weight: 700;
	color: #000000;
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 999px;
	background: #04FE00;
	border: 1px solid #04FE00;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	flex: 0 0 auto;
}

.oz-shop-active-filters__clear-all:hover,
.oz-shop-active-filters__clear-all:focus-visible {
	background: #03cc00;
	border-color: #03cc00;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(4, 254, 0, 0.32);
	outline: none;
}

/* Mobile: stack vertical, todo a 100 % */
@media (max-width: 600px) {
	.oz-shop-active-filters {
		flex-direction: column;
		align-items: stretch;
	}
	.oz-shop-active-filters__label {
		justify-content: flex-start;
	}
	.oz-shop-active-filters__clear-all {
		margin-left: 0;
		text-align: center;
	}
}

/* =========================================================
   BOTÓN "LIMPIAR FILTROS" (sidebar) — variante activa
   ========================================================= */
.oz-shop-sidebar__clear-filters.is-active {
	background: #000000 !important;
	border-color: #000000 !important;
	color: #04FE00 !important;
	font-weight: 700 !important;
}

.oz-shop-sidebar__clear-filters.is-active:hover,
.oz-shop-sidebar__clear-filters.is-active:focus-visible {
	background: #04FE00 !important;
	border-color: #04FE00 !important;
	color: #000000 !important;
}

.oz-shop-sidebar__clear-filters-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	margin-left: 8px;
	background: #04FE00;
	color: #000000;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.oz-shop-sidebar__clear-filters.is-active .oz-shop-sidebar__clear-filters-count {
	background: #04FE00;
	color: #000000;
}

/* Sidebar: cuando hay filtros activos, resaltar el contenedor con borde verde sutil */
.oz-shop-archive__sidebar.has-active-filters .oz-shop-sidebar__widget {
	border-color: rgba(4, 254, 0, 0.35) !important;
}

@media (max-width: 768px) {
	.oz-filters--bar .oz-filters__inner {
		flex-wrap: nowrap;
		overflow-x: auto}

	.oz-filters--bar .oz-filter__content {
		position: static;
		display: block;
		border: none}
}


