.efectos-imgs {
    
}

.efectos-imgs .elementor-widget-image {
    position: relative;
    overflow: hidden;
}

.efectos-imgs .elementor-widget-image:before {
    position: absolute;
    top: 0;
    left: -103%;
    z-index: 2;
    display: block;
    content: '';
    width: 75%;
    height: 100%;
    background: -webkit-linear-gradient(to right, rgba(253, 202, 38,0) 0%, var(--e-global-color-primary) 100%);
    background: linear-gradient(to right, rgba(253, 202, 38,0) 0%, var(--e-global-color-primary) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.efectos-imgs .elementor-widget-image:hover:before {
    -webkit-animation: shine 1.2s;
    animation: shine 1.2s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

/* ==============================> CARRUSEL DE TEXTOS INFINITO */

.wd-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    opacity: 0;
    animation: wd-marquee-fadein 1.6s ease forwards;
}

/* -> ANIMACIÓN DE ENTRADA */

@keyframes wd-marquee-fadein {
    to {
        opacity: 1;
    }
}

/* -> PISTA DE DESPLAZAMIENTO */

.wd-marquee-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.wd-marquee-track:hover {
    animation-play-state: paused;
}

.elementor-widget-wd_product_categories .category-image img {
    width: -webkit-fill-available !important;
}

/* -> ITEMS INDIVIDUALES */

.wd-marquee-item {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 0 16px;
    transition: color 0.4s ease, transform 0.8s ease;
}

.wd-marquee-item:hover {
    opacity: 1; 
    transform: scale(1.05);
}

/* -> ANIMACIÓN DE SCROLL */

@keyframes wd-scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-amount));
    }
}

/* -> RESPONSIVE TABLET */

@media (max-width: 768px) {
    .wd-marquee-container {
        padding: 8px 0;
    }
    
    .wd-marquee-item {
        font-size: 13px;
        padding: 0 20px;
    }
}

/* ==============================> CARRUSEL DE CATEGORÍAS DE PRODUCTOS */

.cc-carrusel-categorias {
	width: 100%;
	padding: 20px 0;
}

.cc-swiper {
	width: 100%;
	overflow: hidden;
}

.cc-swiper .swiper-wrapper {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

/* -> TARJETA */

.cc-tarjeta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 30px 20px;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	-webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-tarjeta:hover {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* -> CÍRCULO DE FONDO */

.cc-circulo-fondo {
	position: absolute;
	top: 20px;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background-color: #f3f4f6;
	z-index: 0;
	-webkit-transition: -webkit-transform 0.4s ease;
	transition: transform 0.4s ease;
}

.cc-tarjeta:hover .cc-circulo-fondo {
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}

/* -> ICONO */

.cc-icono {
	position: relative;
	z-index: 1;
	width: 110px;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.cc-icono img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	-webkit-transition: -webkit-transform 0.3s ease;
	transition: transform 0.3s ease;
}

.cc-tarjeta:hover .cc-icono img {
	-webkit-transform: scale(1.08);
	transform: scale(1.08);
}

/* -> LÍNEA DIVISORIA */

.cc-linea {
	width: 28px;
	height: 3px;
	background-color: #ff6a00;
	border-radius: 2px;
	margin-bottom: 14px;
	-webkit-transition: width 0.3s ease;
	transition: width 0.3s ease;
}

.cc-tarjeta:hover .cc-linea {
	width: 44px;
}

/* -> NOMBRE DE LA CATEGORÍA */

.cc-nombre {
	font-size: 16px;
	font-weight: 600;
	color: var(--e-global-color-primary);
	text-align: center;
	line-height: 1.3;
}

/* -> RESPONSIVE */

@media (max-width: 768px) {

	.cc-tarjeta {
		padding: 22px 14px;
	}

	.cc-circulo-fondo {
		width: 70px;
		height: 70px;
	}

	.cc-icono {
		width: 85px;
		height: 85px;
		margin-bottom: 14px;
	}

	.cc-linea {
		width: 24px;
		margin-bottom: 10px;
	}

	.cc-tarjeta:hover .cc-linea {
		width: 36px;
	}

	.cc-nombre {
		font-size: 14px;
	}
}

/* ==============================> CONTENEDOR CONTRAÍDO CON BOTÓN VER MÁS / VER MENOS */

/* -> Contenedor base */
.contenedor-contraido {
	height: 150px;
	overflow: hidden;
	transition: height 0.5s ease;
	-webkit-transition: height 0.5s ease;
	position: relative;
}

/* -> Difuminado inferior visible solo cuando está contraído */
.contenedor-contraido:not( .contenedor-expandido ):after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: linear-gradient( to bottom, rgba( 255, 255, 255, 0 ), #fff );
	pointer-events: none;
}

/* -> Estado expandido */
.contenedor-expandido {
	height: auto !important;
}

/* -> Botón ver más / ver menos */
.boton-ver-mas {
	display: flex;
	margin: 10px auto 0;
	padding: 8px 16px;
	background-color: #fff;
	color: var( --e-global-color-primary );
	border: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 0 10px 0 #0000001f;
	transition: background-color 0.3s ease, color 0.3s ease;
	-webkit-transition: background-color 0.3s ease, color 0.3s ease;
	width: fit-content;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
}

/* -> Hover y focus del botón */
.boton-ver-mas:hover,
.boton-ver-mas:focus {
	background-color: var( --e-global-color-primary );
	color: #fff;
}

/* -> Responsive */
@media ( max-width: 768px ) {

	.boton-ver-mas {
		font-size: 13px;
		padding: 7px 14px;
	}
}


/* ==============================> CUADRICULA DE CATEGORIAS DE PRODUCTO */

/* -> Contenedor */
.contenedor-categorias-cuadricula {
	display: grid;
	grid-template-columns: repeat(var(--columnas-categorias-cuadricula, 5), 1fr);
	gap: 12px;
	width: 100%;
}

/* -> Item de categoria */
.contenedor-categorias-cuadricula .item-categoria-cuadricula {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    gap: 8px;
    padding: 2px 6px;
    min-height: 32px;
    border-radius: 8px;
    background-color: #f5f5f5;
    border: 1px solid #dbdbdb;
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenedor-categorias-cuadricula .item-categoria-cuadricula:hover {
	-webkit-transform: translateY(-4px);
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* -> Imagen de categoria */
.contenedor-categorias-cuadricula .imagen-categoria-cuadricula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.3125rem;
    height: 3.3125rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f5f5f5;
    -webkit-transition: opacity 0.4s ease;
    transition: opacity 0.4s ease;
}

.contenedor-categorias-cuadricula .imagen-categoria-cuadricula img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-transition: -webkit-transform 0.3s ease;
	transition: transform 0.3s ease;
}

.contenedor-categorias-cuadricula .item-categoria-cuadricula:hover .imagen-categoria-cuadricula img {
	-webkit-transform: scale(1.08);
	transform: scale(1.08);
}

/* -> Titulo de categoria */
.contenedor-categorias-cuadricula .titulo-categoria-cuadricula {
	font-size: 12px;
	line-height: 16px;
	color: inherit;
	-webkit-transition: color 0.3s ease;
	transition: color 0.3s ease;
}

.contenedor-categorias-cuadricula .item-categoria-cuadricula:hover .titulo-categoria-cuadricula {
	color: var(--e-global-color-primary);
}

/* -> Responsive */
@media (max-width: 768px) {
	.contenedor-categorias-cuadricula {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.contenedor-categorias-cuadricula .imagen-categoria-cuadricula {
		width: 70px;
		height: 70px;
	}

	.contenedor-categorias-cuadricula .titulo-categoria-cuadricula {
		font-size: 13px;
	}
}