/* ESTILOS GENERALES */
#filtros-productos {
	background: #000 !important;
	color: #fff;
}

@media (max-width: 767px) {
	#filtros-productos {
		padding: 30px;
	}
}

/* PRIMERA FILA */
#filtros-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 1.875rem;
	background-color: #000;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
	#filtros-header {
		align-items: start;
		padding-bottom: 20px;
	}
	#filtros-header > div:first-child {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	#filtros-header > div:first-child > * {
		align-self: flex-start !important;
		text-align: left !important;
	}
}

.filtros-label,
#filtro-buscar::placeholder {
	color: #FFFFFF66;
	font-family: Besley;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1rem;
}

@media (max-width: 767px) {
	.filtros-label, #filtro-buscar,
	#filtro-buscar::placeholder {
		font-family: Korolev;
		font-size: 12px;
		font-weight: 700;
		line-height: normal;
		letter-spacing: 0.3px;
	}
}

.btn-toggle {
	background: none;
	border: none;
	color: #fff;
	font-family: Korolev;
	font-size: 1.3125rem; /* 21px */
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0.105px;
	text-transform: uppercase;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 1rem;
}

@media (max-width: 767px) {
	.btn-toggle {
		font-size: 14px;
		letter-spacing: 0.07px;
		margin-left: 0;
	}
}

.buscar-contenedor {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 20%;
}

.buscar-contenedor input {
	background: none;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-bottom: none !important;
	color: #fff;
	padding: 0.5rem;
	outline: none;
	border-radius: 0;
}

.buscar-contenedor button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.buscar-contenedor img {
	width: 2.5rem;
	height: 2.5rem;
}

.buscar-contenedor input:focus {
	color: #fff !important;
	background: none !important;
	box-shadow: none !important;
	outline: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
	.buscar-contenedor {
		width: 100% !important;
		height: 12px;
	}
	.buscar-contenedor img {
		width: 20px;
		height: 20px;
	}
	.buscar-contenedor input {
		padding: 5px 0;
	}
}

/* FILAS DE SECTORES Y TIPOLOGÍAS */
.fila-taxonomia {
	border-bottom: 1px solid #ffffff66;
	padding: 1.875rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.875rem;
	background-color: #000;
	align-items: center !important;
}

@media (max-width: 767px) {
	.fila-taxonomia {
		padding: 20px 0;
		gap: 20px;
	}
/* 	#fila-sectores, #fila-tipologias {
		flex-direction: column !important;
	} */
}

.fila-taxonomia .titulo-taxonomia {
	font-family: Korolev;
	font-size: 1.31rem;
	font-weight: 700;
	line-height: 140%;
	text-transform: uppercase;
	text-decoration: underline;
	color: #fff;
}

@media (max-width: 767px) {
	.fila-taxonomia .titulo-taxonomia {
		font-size: 14px;
		letter-spacing: 0.07px;
	}
}

.fila-taxonomia .btn-tax {
	font-family: Korolev;
	font-size: 1rem;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0.075px;
	text-transform: uppercase;
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
}

.fila-taxonomia .btn-tax.selected {
	color: #fff;
}

@media (max-width: 767px) {
	.fila-taxonomia .btn-tax {
		font-size: 10px;
		letter-spacing: 0.3px;
	}
}

.btn-reset {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
}

@media (max-width: 767px) {
	.btn-reset {
		cursor: pointer;
		user-select: none;
	}
}

/* PRODUCTOS */
#resultados-productos {
	background: #000;
	color: #fff;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	row-gap: 7.5rem;
	padding: 3.75rem 0;
}

@media (max-width: 767px) {
	#resultados-productos {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 30px;
	}
}

.producto-card {
	background: #000;
	color: #fff;
}

.producto-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 3.48 !important;
	object-fit: cover;
}

@media (max-width: 767px) {
	.producto-card img {
		aspect-ratio: 1 / 1 !important;
		object-fit: cover;
		height: auto;
	}
}

.producto-card h3 {
	margin-top: 1.875rem;
	font-family: Besley;
	font-size: 1.875rem; /* 30px */
	font-weight: 600;
	line-height: 130%;
	color: #FFF !important;
}

@media (max-width: 767px) {
	.producto-card h3 {
		font-size: 16px;
		line-height: 130%;
	}
}

.producto-card p {
	margin: 0;
	font-family: Besley;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 150%;
	letter-spacing: -0.18px;
}

@media (max-width: 767px) {
	.producto-card p {
		font-size: 13px;
		letter-spacing: -0.12px;
	}
}

.producto-card .btn-ver-producto {
	display: inline-block;
	margin-top: 3.75rem;
	padding: 12px 24px;
	border: 1.75px solid #fff !important;
	color: #fff;
	text-decoration: none;
	font-family: Korolev;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.48px;
	border-radius: 36px;
}

@media (max-width: 767px) {
	.producto-card .btn-ver-producto {
		margin-top: 30px;
		padding: 8px 16px;
		font-size: 12px;
		line-height: 12px;
		letter-spacing: 0.36px;
	}
}

/* PAGINADOR COMPLETO */
.paginador-grid {
    background: #000;
    color: #fff;
    padding: 3.75rem 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    font-family: Korolev;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.48px;
}

@media (max-width: 767px) {
	.paginador-grid {
		padding: 60px 0;
	}
	.pagina-actual {
		font-size: 12px !important;
	}
	.anterior span, .siguiente span {
		display: none;
	}
}

.paginador-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.paginador-item.izquierda {
    justify-content: flex-start;
}

.paginador-item.centro {
    justify-content: center;
}

.paginador-item.derecha {
    justify-content: flex-end;
}

.pagina-actual {
    font-family: Korolev;
    font-weight: bold;
	font-size: 1rem;
    margin-bottom: 0 !important;
    text-align: center;
}

.pagina-btn {
    display: flex;
    align-items: center;
    gap: 1.875rem; /* 30px */
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    font: inherit;
    padding: 0.6rem 1rem;
}

.pagina-btn img {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 767px) {
	.pagina-btn img {
		width: 15px;
		height: 15px;
	}
}



/* ESTILOS PARA FILTRO DE POSTS */
#filtros-header-posts {
	background: #fff !important;
	color: #000;
}

@media (max-width: 767px) {
	#filtros-header-posts {
		padding: 30px;
	}
}

/* PRIMERA FILA - POSTS */
#filtros-header-posts {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 1.875rem;
	background-color: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
	#filtros-header-posts > div:first-child {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	#filtros-header-posts > div:first-child > * {
		align-self: flex-start !important;
		text-align: left !important;
	}
}

#filtros-header-posts .filtros-label,
#filtro-buscar-posts::placeholder {
	color: #53696F;
	font-family: Besley;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1rem;
	opacity: 1;
}

@media (max-width: 767px) {
	#filtros-header-posts .filtros-label, 
	#filtro-buscar-posts,
	#filtro-buscar-posts::placeholder {
		font-family: Korolev;
		font-size: 12px;
		font-weight: 700;
		line-height: normal;
		letter-spacing: 0.3px;
	}
	#filtros-header-posts {
		padding: 0 0 20px 0;
	}
}

.btn-toggle-2 {
	background: none;
	border: none;
	color: #000;
	font-family: Korolev;
	font-size: 1.3125rem; /* 21px */
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0.105px;
	text-transform: uppercase;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 1rem;
}

@media (max-width: 767px) {
	.btn-toggle-2 {
		font-size: 14px;
		letter-spacing: 0.07px;
		margin-left: 0;
	}
}

#filtros-header-posts .buscar-contenedor {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 20%;
}

#filtros-header-posts .buscar-contenedor input {
	background: none;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-bottom: none !important;
	color: #000;
	padding: 0.5rem;
	outline: none;
	border-radius: 0;
}

#filtros-header-posts .buscar-contenedor button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

#filtros-header-posts .buscar-contenedor img {
	width: 2.5rem;
	height: 2.5rem;
}

#filtros-header-posts .buscar-contenedor input:focus {
	color: #000 !important;
	background: none !important;
	box-shadow: none !important;
	outline: none !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
	#filtros-header-posts .buscar-contenedor {
		width: 100% !important;
	}
	#filtros-header-posts .buscar-contenedor img {
		width: 20px;
		height: 20px;
		color
	}
	#filtros-header-posts .buscar-contenedor input {
		padding: 5px 0;
	}
}

/* FILAS DE CATEGORÍAS */
#fila-categorias {
	border-bottom: 1px solid #00000066;
	padding: 1.875rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.875rem;
	background-color: #fff;
	align-items: center !important;
}

@media (max-width: 767px) {
	#fila-categorias {
		padding: 20px 0;
		gap: 20px;
	}
}

#fila-categorias .titulo-taxonomia {
	font-family: Korolev;
	font-size: 1.31rem;
	font-weight: 700;
	line-height: 140%;
	text-transform: uppercase;
	text-decoration: underline;
	color: #000;
}

@media (max-width: 767px) {
	#fila-categorias .titulo-taxonomia {
		font-size: 14px;
		letter-spacing: 0.07px;
	}
}

#fila-categorias .btn-categoria {
	font-family: Korolev;
	font-size: 1rem;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0.075px;
	text-transform: uppercase;
	background: none;
	border: none;
	color: rgba(0, 0, 0, 0.4);
	cursor: pointer;
}

#fila-categorias .btn-categoria.selected {
	color: #000;
}

@media (max-width: 767px) {
	#fila-categorias .btn-categoria {
		font-size: 10px;
		letter-spacing: 0.3px;
	}
}

/* POSTS */
#resultados-posts {
	background: #fff;
	color: #000;
	padding: 3.75rem 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	row-gap: 7.5rem;
}

@media (max-width: 767px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 30px;
	}
}

.post-card {
	background: #fff;
	color: #000;
}

.post-card .post-imagen img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2.65 !important;
	object-fit: cover;
}

@media (max-width: 767px) {
	.post-card .post-imagen img {
		aspect-ratio: 1 / 1 !important;
		object-fit: cover;
		height: auto;
	}
}

.post-card h4 {
	margin-top: 2.5rem;
	font-family: Korolev;
	font-size: 1.31rem;
	font-weight: 600;
	line-height: 130%;
	color: #000 !important;
}

.post-card h4 a {
	color: #000 !important;
	text-decoration: none;
}

.post-card h4 a:hover {
	text-decoration: none;
}

@media (max-width: 767px) {
	.post-card h4 {
		font-size: 14px;
		line-height: 130%;
	}
}

.post-card .post-extracto {
	margin: 0;
	font-family: Besley;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 150%;
	letter-spacing: -0.18px;
	color: #000;
}

@media (max-width: 767px) {
	.post-card .post-extracto {
		font-size: 12px;
		letter-spacing: -0.12px;
	}
}

.post-card .post-meta {
	display: none;
}

.post-card .btn-leer-mas {
	display: inline-block;
	margin-top: 3.75rem;
	padding: 12px 24px;
	border: 1.75px solid #000 !important;
	color: #000;
	text-decoration: none;
	font-family: Korolev;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.48px;
	border-radius: 36px;
	transition: all 0.3s ease;
}

.post-card .btn-leer-mas:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 767px) {
	.post-card .btn-leer-mas {
		margin-top: 30px;
		padding: 8px 16px;
		font-size: 12px;
		line-height: 12px;
		letter-spacing: 0.36px;
	}
}


/* BOTÓN MOSTRAR MÁS - SOLO MÓVIL */
.mostrar-mas-container {
    background: #000;
    color: #fff;
    padding: 3.75rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn-mostrar-mas {
    background: none;
    border: 1.75px solid #fff;
    color: #fff;
    font-family: Korolev;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.48px;
    padding: 12px 24px;
    border-radius: 36px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mostrar-mas:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 767px) {
    .mostrar-mas-container {
        padding: 60px 0;
    }
    
    .btn-mostrar-mas {
        font-size: 12px;
        line-height: 12px;
        letter-spacing: 0.36px;
        padding: 8px 16px;
    }
}

/* OCULTAR PAGINADOR TRADICIONAL EN MÓVIL */
@media (max-width: 767px) {
    .paginador-grid {
        display: none !important;
    }
}
