#index #content-wrapper {
    padding-bottom: 0;
}

.home-container {
    display: flex;
    flex-direction: column;
    gap: var(--weu-spacing-lg);
}

.home-title-container h1 {
    display: block;
    font-weight: 700;
    line-height: var(--font-size-xxl);
    font-size: var(--font-size-xxl);
    unicode-bidi: isolate;

}

/* 1. Contenedor Raíz: Añadimos ratio de escritorio para evitar CLS */
.weu-slider-wrapper {
    position: relative;
    width: 100%;
    background-color: #f0f0f0;
    aspect-ratio: 1920 / 600;
    overflow: hidden;
    /* Forzamos ocultar desbordamiento */
}

/* 2. Carga y Forzado de Layout Splide (Evita ver 3 copias juntas) */
.weu-slider-wrapper .splide__track {
    overflow: hidden !important;
    height: 100%;
}

.weu-slider-wrapper .splide__list {
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

.weu-slider-wrapper .splide__slide {
    flex-shrink: 0 !important;
    width: 100% !important;
    /* Cada diapositiva ocupa el 100% del contenedor */
    list-style: none !important;
    height: 100%;
}

/* 3. Imagen óptima */
.weu-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* 4. Contenedor de las Flechas Personalizadas */
.weu-slider-wrapper .splide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    /* Margen a los extremos de toda la pantalla */
    z-index: 10;
    pointer-events: none;
    /* Dejamos hacer click detrás salvo en los propios botones */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 768px) {
    .weu-slider-wrapper:hover .splide__arrows {
        opacity: 1;
        visibility: visible;
    }
}

/* 4.1. Botones de Navegación */
.weu-slider-wrapper .splide__arrow {
    background-color: var(--weu-color-grey, #f1f1f1);
    /* Gris claro */
    border: none;
    border-radius: 50%;
    /* Redondeado total */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    /* Sombra elegante premium */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    /* Activamos click solo en las flechas */
    cursor: pointer;
}

.weu-slider-wrapper .splide__arrow:hover {
    background-color: var(--weu-color-white, #ffffff);
    opacity: 1;
    transform: scale(1.1);
    /* Ligero rebote elegante */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 4.2. Iconos internos oscuros */
.weu-slider-wrapper .splide__arrow svg {
    fill: var(--weu-color-dark, #1D1D1D);
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

/* 4.3. Eliminado el rotate(180) porque el path original SVG ya apunta hacia la izquierda */

/* 5. Adaptación para Móvil */
@media (max-width: 767px) {
    .weu-slider-wrapper {
        aspect-ratio: 16 / 9;
    }

    .weu-slider-wrapper .splide__arrows {
        display: none;
    }
}

/** Bloque de categorías + slide */
.weu-cat-block-row {
    gap: var(--weu-spacing-md);
}

.weu-cat-block-row:nth-child(2n) {
    flex-direction: row-reverse;
}

.weu-cat-block-row:not(:last-of-type) {
    margin-bottom: var(--weu-spacing-lg);
}

.weu-product-carousel {
    position: relative;
    width: 100%;
    padding: 0 var(--weu-spacing-sm);
}

/* Reset Splide (evita slides apilados en vertical y romper el banner) */
.weu-cat-products .weu-product-carousel .splide__track {
    overflow: hidden !important;
    position: relative;
    cursor: grab;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
}

.weu-cat-products .weu-product-carousel .splide__list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: auto;
}

.weu-cat-products .weu-product-carousel .splide__slide {
    flex: 0 0 auto;
    float: none !important;
    box-sizing: border-box;
    list-style: none !important;
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Fallback antes de que monte Splide: 3 columnas con separación */
.weu-cat-products .weu-product-carousel:not(.is-initialized) .splide__track {
    overflow: hidden !important;
}

.weu-cat-products .weu-product-carousel:not(.is-initialized) .splide__list {
    gap: 16px;
}

.weu-cat-products .weu-product-carousel:not(.is-initialized) .splide__slide {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
}

.weu-cat-products .weu-product-carousel:not(.has-overflow) .weu-hover-arrows {
    display: none;
}

/* Evitar puntos de paginación de Splide (los "..."/dots) en el carrusel */
.weu-cat-products .weu-product-carousel .splide__pagination {
    display: none !important;
}

.weu-cat-products .weu-product-carousel.is-dragging .splide__track {
    cursor: grabbing;
}

.weu-cat-products .weu-product-carousel.is-dragging .weu-carousel-product {
    pointer-events: none;
}

.weu-cat-products .weu-product-carousel .product-miniature,
.weu-cat-products .weu-product-carousel .weu-carousel-product {
    width: 100% !important;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    outline: none;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product > .card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
    transition: background-color var(--weu-transition);
}

.weu-cat-products .weu-product-carousel .weu-carousel-product:hover > .card,
.weu-cat-products .weu-product-carousel .weu-carousel-product:focus-visible > .card {
    background-color: var(--weu-color-primary-soft-hover);
}

.weu-cat-products .weu-product-carousel .weu-carousel-product .product-miniature__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background-color var(--weu-transition);
}

/* En hover, el recuadro de la imagen se vuelve transparente para que el
   multiply de la imagen mezcle con el rojo de la tarjeta */
.weu-cat-products .weu-product-carousel .weu-carousel-product:hover .product-miniature__link,
.weu-cat-products .weu-product-carousel .weu-carousel-product:focus-visible .product-miniature__link,
.weu-cat-products .weu-product-carousel .weu-carousel-product:hover .product-miniature__image-container,
.weu-cat-products .weu-product-carousel .weu-carousel-product:focus-visible .product-miniature__image-container {
    background-color: transparent;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product .product-miniature__infos {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product .product-miniature__infos__top {
    align-items: flex-start;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product .product-miniature__title {
    width: 100%;
}

.weu-cat-products .weu-product-carousel .weu-carousel-product img {
    -webkit-user-drag: none;
    user-drag: none;
}

.weu-cat-products {
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .weu-cat-products .weu-product-carousel:not(.is-initialized) .splide__slide {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

@media (max-width: 575px) {
    .weu-cat-products .weu-product-carousel:not(.is-initialized) .splide__slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.weu-cat-info {
    flex: 0 0 calc(33.33% - 16px);
    max-width: calc(33.33% - 16px);
}

.weu-cat-info .weu-cat-info__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.weu-overlay {
    /*background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);*/
}

.weu-cat-products {
    flex: 0 0 calc(66.66% - 16px);
    max-width: calc(66.66% - 16px);
}

/* Eliminar efecto zoom en banner de categoría */
.weu-cat-info img,
.weu-cat-info video {
    transition: none !important;
    transform: none !important;
}

.weu-content-reveal .h3 {
    font-size: var(--font-size-xl);
    line-height: var(--font-size-xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.weu-content-reveal span {
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.weu-content-reveal .weu-description-truncate * {
    font-size: var(--weu-font-size-md);
    line-height: var(--weu-font-size-md);
}

.weu-content-reveal .btn {
    border: none;
    width: fit-content;
    border-radius: var(--weu-radius-default);
    background-color: var(--weu-color-primary) !important;
    color: var(--weu-color-white) !important;
    height: 40px;
    padding: 0 15px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.weu-content-reveal .btn:hover {
    background-color: var(--weu-color-dark) !important;
    transform: none;
    transition: background-color 0.2s;
}

.weu-description-truncate p {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/** We block list **/
.weu-cat-list-container .row {
    gap: var(--weu-spacing-sm);
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.weu-cat-list-container div[class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.weu-cat-list-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    height: 100%;
}

.weu-cat-list__left,
.weu-cat-list__right, 
.weu-cat-list__right-main, 
.weu-cat-list__right-block {
    position: relative;
    overflow: hidden;
}

@media(min-width:1200px) {
    .weu-cat-list__left {
        width: calc(33.33% - 16px);
        height: 632px;
        position: relative;
        overflow: hidden;
    }

    .weu-cat-list__right {
        width: calc(66.66% - 16px);
        height: 632px;
        position: relative;
        overflow: hidden;
    }

    .weu-cat-list__right-main {
        height: 300px;
        position: relative;
        overflow: hidden;
    }

    .weu-cat-list__right-block {
        width: calc(50% - 16px);
        height: 300px;
        position: relative;
        overflow: hidden;
    }
}

.weu-cat-list-item:hover {
    /*transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;*/
}

.weu-cat-list-image-wrapper {
    overflow: hidden;
    height: 100%;
}

.weu-cat-list-image-wrapper img {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.weu-cat-list-image-wrapper:not(:nth-child(1)) img {
    width: auto!important ;
}

.weu-cat-list-item:hover .weu-cat-list-image-wrapper img {
    transform: scale(1.1);
}

.weu-cat-list-item:hover .weu-cat-list-image-wrapper:not(:nth-child(1)) img {
    right: -15%;
    position: absolute;
}

.weu-cat-list-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    transition: background 0.4s ease;
}

.weu-cat-list-item:hover .weu-cat-list-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 80%);
}

.weu-cat-list-content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.weu-cat-list-btn {
    text-decoration: none !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none!important;
}

.weu-cat-list-btn i {
    transition: transform 0.3s ease;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.weu-cat-list-item:hover .weu-cat-list-btn i {
    transform: translateX(5px);
}

/** Cat blocks **/

.weu-btn-primary {
    background-color: #ffffff !important;
    color: #000000 !important;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.weu-btn-primary:hover {
    background-color: var(--weu-accent-color) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

/* Truncar descripción si es muy larga */
.weu-description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/** Brands section **/
.weu-brands-section {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: -64px;
    background-color: var(--weu-color-grey);
}

.weu-brands-info .h2 {
    color: var(--weu-color-dark);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.weu-btn-view-all {
    color: var(--weu-color-black);
    transition: all 0.3s ease;
}

.weu-btn-view-all i {
    font-size: 16px;
}

.weu-btn-view-all:hover {
    font-weight: 500;
}

.weu-brand-item {
    padding: 10px;
    background-color: var(--weu-color-grey);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    aspect-ratio: 1/1;
    height: 100px;
    position: relative;
    overflow: hidden;
    display: flex !important;
    width: 100%;
    border: 1px solid #efefef;

}

.weu-brand-item:hover {
    border-color: var(--weu-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: var(--weu-white);
    transition: all 0.3s ease;
}

.weu-brand-item img {
    width: 100%;
    filter: grayscale(1);
    transform: scale(2.5);
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    transition: all 0.4s ease;
}

.weu-brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(2.6);
}

/** Opiniones **/
#blockTrustindexHome {
    padding-top: var(--weu-spacing-lg); 
    padding-bottom: var(--weu-spacing-lg);
    background-color: #ffffff;
    position: relative;
}

/*#blockTrustindexHome::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url(../img/bg-trustindex.webp);
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
    z-index: 0;
}*/

#blockTrustindexHome > div {
    position: relative;
    z-index: 1;
}

.home-info {
    padding-top: var(--weu-spacing-md);
}

.home-info .text-muted {
    display: inline;
}

.weu-cat-list-container .col-md-3 {
    padding-left: 0;
    padding-right: 0;
}

.home-info h3 {
    font-size: var(--font-size-base);
    font-weight: 400;
    display: inline;
    margin-right: -3px;
}

@media(max-width: 1200px) {

    .weu-cat-list-container,
    .weu-brands-section,
    .weu-cat-blocks-container,
    #blockTrustindexHome {
        padding-left: var(--weu-spacing-md);
        padding-right: var(--weu-spacing-md);
    }

    .weu-cat-list-container .row {
        margin-left: 0;
        margin-right: 0;
    }

    .home-info {
        padding-left: var(--weu-spacing-sm);
        padding-right: var(--weu-spacing-sm);
    }
}

@media(max-width: 575px) {
    .weu-brands-section {
        margin-bottom: -24px;
    }

    .weu-brand-item {
        height: 60px;
    }

    .weu-brand-item img {
        width: 150%;
        max-width: 150%;
    }
}

@media(min-width: 992px) {
    .weu-cat-block-row:nth-child(2n+1) .weu-cat-products {
        padding-right: 0;
    }

    .weu-cat-block-row:nth-child(2n) .weu-cat-products {
        padding-left: 0;
    }

    .weu-cat-list-container .col-lg-3 {
        flex: 0 0 auto;
        width: calc(25% - 24px);
        padding-left: 0;
        padding-right: 0;
    }

    .weu-cat-list-container .row {
        gap: var(--weu-spacing-md);
    }
}

@media(max-width: 991px) {

    .container,
    .container-md,
    .container-sm,
    .container-xs {
        max-width: 100%;
    }

    .weu-cat-list-container,
    .weu-brands-section,
    .weu-cat-blocks-container,
    #blockTrustindexHome {
        padding-left: var(--weu-spacing-sm);
        padding-right: var(--weu-spacing-sm);
    }

    .weu-cat-list-container .col-md-6 {
        padding-left: 0;
        padding-right: 0;
    }

    .weu-cat-block-row {
        flex-direction: column !important;
        min-height: auto !important;
        margin-left: auto;
        margin-right: auto;
    }

    .weu-cat-info,
    .weu-cat-products {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .weu-cat-info {
        min-height: 350px;
    }
}

@media(max-width:1199px) and (min-width:768px)  {
    .weu-cat-list-container .row {
        gap: var(--weu-spacing-md);
    }
    .weu-cat-list-image-wrapper:not(:nth-child(1)) img {
        right: -15%;
        position: absolute;
    }
    .weu-cat-list__left{
        width: 100%;
        height: 300px;
    }
    .weu-cat-list__right{
        width: 100%;
        height: 632px;
    }

    .weu-cat-list__right-main {
        height: 300px;
    }

    .weu-cat-list__right-block {
        width: calc(50% - 16px);
        height: 300px;
    }
}

@media(max-width:991px) and (min-width:768px)  {
    .weu-cat-list-image-wrapper:not(:nth-child(1)) img {
        right: -25%;
        position: absolute;
    }
}

@media(max-width: 767px) {
    .header-bottom {
        padding: var(--weu-spacing-xs) 0 !important;
    }
    .home-container {
        gap: var(--weu-spacing-sm);
    }

    .weu-cat-block-row {
        gap: var(--weu-spacing-sm);
    }

    .weu-brands-info {
        margin-bottom: 32px;
    }

    #blockTrustindexHome {
        padding-left: 16px;
        padding-right: 16px;
    }

    .weu-cat-list-image-wrapper img {
        object-fit: cover!important;
        height: auto !important;
        width: 100% !important;
    }
    .weu-cat-list__left{
        width: 100%;
        height: auto;
    }
    .weu-cat-list__right{
        width: 100%;
        height: auto;
    }

    .weu-cat-list__right-main {
        height: auto;
    }

    .weu-cat-list__right-block {
        width: 100%;
        height: auto;
        max-height: 250px;
        min-height: 250px;
    }

    .weu-cat-list-image-wrapper {
        height: 250px;
    }
    .weu-cat-list-image-wrapper img {
        height: auto !important;
        width: 100% !important;
        /*position: absolute;
        right: -15%;*/
    }
}

/* Reviews */

#blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-controls .ti-next, #blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-controls .ti-prev {
    display: none;
}

#blockTrustindexHome {
    background-color: #1D1D1D;
}

#blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-widget-container:not(.ti-col-1) .ti-footer * {
    color: var(--weu-white)!important;
}

#blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-review-item>.ti-inner {
    background-color: var(--weu-color-black)!important;
}

#blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-review-item>.ti-inner *,
#blockTrustindexHome .ti-widget[data-layout-id='5'][data-set-id='drop-shadow'] .ti-load-more-reviews-container .ti-load-more-reviews-button * {
    color: var(--weu-white)!important;
}

