/*
 * HEADER
*/
header .menu__item__link:hover {
    color: var(--primary-color);
}

.search__products i {
    position: relative;
    transition: color 1s ease-in-out;
}

.search__products i:hover {
    color: white;
}

.search__products a i:after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    background-color: white;
    z-index: -1;
    transition: all 0.9s ease;
}

.search__products a:hover i:after {
    background-color: var(--black-color);
    transform: translate(-50%, -50%) scale(1.04);
}

.user--menu {
    position: relative;
    height: 100%;
}

.user--menu .user__menu-links {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

@media (min-width: 1110px) {
    .user--menu .user__menu-links {
        width: 200px;
        position: absolute;
        left: -30px;
        top: 35px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        list-style: none;
        margin: 0;
        z-index: 9;
    }

    .user--menu:hover .user__menu-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media screen and (max-width: 960px) {

    .topheader,
    .user--menu .user__menu-links {
        display: none;
    }
}




/*
 * HERO SLIDES
*/
.hero--products-slider {
    height: 80dvh;
}

.product__slide {
    background-color: var(--gray-color);
    padding: 70px 0;
}

.product__slide-container,
.inspirational__slide-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    height: 100%;
}

.inspirational__slide {
    position: relative;
}

.inspirational__slide-container {
    position: relative;
    z-index: 1;
}

.inspirational__slide-container .content {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    height: 100%;
}

.inspirational__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.inspirational__slide-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.badge--new {
    background-color: var(--badge-color);
    color: white;
    text-transform: uppercase;
    padding: 4px 24px;
    border-radius: 8px;
}

.product__slide-features {
    margin: 15px 0 25px;
}

.product__slide-features .product__slide-features-item {
    margin-bottom: 10px;
}

.product__slide-features .product__slide-features-item:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1110px) {
    .hero--products-slider {
        height: 100%;
    }

    .hero--products-slider .swiper-slide {
        height: auto;
    }

    .product__slide-container {
        display: flex;
        flex-flow: column nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .product__slide-right {
        max-width: 250px;
        order: 1;
    }

    .product__slide-right img {
        width: 100%;
    }

    .product__slide-left {
        order: 2;
    }
}

@media screen and (max-width: 790px) {

    .hero--products-slider .swiper-button-prev,
    .hero--products-slider .swiper-button-next {
        width: 22px;
        height: 22px;
    }

    .hero--products-slider .swiper-button-prev:after,
    .hero--products-slider .swiper-button-next:after {
        font-size: 11px;
    }

    .hero--products-slider .swiper-button-prev {
        left: 1px;
    }

    .hero--products-slider .swiper-button-next {
        right: 1px;
    }

    .inspirational__slide-container .content {
        justify-content: flex-end;
        gap: 30px;
        margin-bottom: 150px;
    }

}



/*
* SWIPER SLIDES
*/
.swiper-button-prev,
.swiper-button-next {
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--black-color);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 22px;
    color: var(--black-color);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: white;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color)
}

@media screen and (max-width: 960px) {

    .swiper-button-prev,
    .swiper-button-next {
        background-color: white;
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 16px;
    }
}


/*
 * CATEGORY PRODUCTS
*/

.card--product-category {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    padding: 50px;
    transition: all 0.4s ease;
}

.card--product-category .card__product-category-container {
    position: relative;
    z-index: 2;
}

.card--product-category .card__product-category-container .card__title {
    margin-bottom: 20px;
}

.card--product-category .card__product-category-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card__product-category-img:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 71%);
    z-index: 1;
}

.card--product-category .card__product-category-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.card--product-category:hover .card__product-category-img img {
    transform: scale(1.06);
}



/*
 * HERO VIDEO POPUP
*/
.hero__video-title span {
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.hero__video-title span:before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    height: 20px;
    width: 0;
    background-color: #C82715;
    transition: 0.2s;
    animation: line-growth 1s ease-in-out 2s forwards;
    z-index: -1;

}

@keyframes line-growth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.play__icon {
    overflow: hidden;
    position: relative;
    /* Asegura que los pseudoelementos se posicionen dentro del contenedor */
}

.play__icon a {
    border-bottom: none !important;
    text-decoration: none;
    overflow: hidden;
}

.play__icon span {
    position: relative;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 64px;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    z-index: 1;
    /* Asegura que el span estÃ© encima */
    overflow: hidden;
}


.play__icon span:after {
    content: '';
    position: absolute;
    width: 40px;
    /* TamaÃ±o inicial mÃ¡s pequeÃ±o */
    height: 40px;
    /* TamaÃ±o inicial mÃ¡s pequeÃ±o */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    /* Inicia con escala 0 y centrado */
    z-index: -1;
    /* Los pseudoelementos deben ir detrÃ¡s del icono */
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.75, 0, 0.125, 1);
}



.play__icon span:hover:after {
    transform: translate(-50%, -50%) scale(0.91);
    width: 51px;
    height: 51px;
}

.hero--video-popup {
    overflow: hidden;
}


.hero--video-popup:after {
    position: absolute;
    content: '';
    bottom: 0;
    right: -250px;
    height: 100px;
    width: 600px;
    background-color: white;
    transform: skew(25deg, 0deg);
    animation: slash-hero 2s ease-in-out 1s forwards;
}

@keyframes slash-hero {
    from {
        right: -250px;
    }

    to {
        right: -100px;
    }
}



/*
 * CALCULADORA
*/
#calculator--form {
    max-width: 300px;
}

.calculator--container {
    margin: 70px 0;
}

.products__selected,
.products__selected .product__list {
    margin: 50px 0;
}

.calculator--container select,
.calculator--container input {
    max-width: 300px;
}

.step--form {
    display: flex;
    flex-flow: column wrap;
    gap: 20px;
}

.steps--resume {
    margin-bottom: 10px;
    font-size: 15px;
}

.form--steps-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.resume__product-list {
    margin: 13px 0;
}






/*
 * FOOTER & NEWSLETTER
*/
.footer--newsletter {
    max-width: 300px;
}

.footer--newsletter .input[type="email"] {
    padding: 14px;
}

.footer--newsletter .form--wpforms .wpforms-field-gdpr-checkbox .wpforms-field-description {
    height: 35px;
}

.footer--newsletter .form--wpforms .wpforms-field-gdpr-checkbox label {
    font-size: 13px;
}

@media screen and (max-width: 960px) {
    .footer--newsletter {
        margin-bottom: 32px !important;
    }

    .hercules__left,
    .hercules__right {
        width: 100%;
    }

    .hercules__right .flex {
        justify-content: flex-start;
        gap: 35px;
    }
}

/* LINKS EXTERNAL */
.link--external {
    position: relative;
}

.link--external:after {
    font-family: 'Material Symbols Outlined';
    position: absolute;
    content: "\f8ce";
    font-size: 16px;
    top: 50%;
    transform: translate(30%, -50%);
}


/*
 * FOOTER PAY OPTIONS
*/
.footer--pay-options {
    width: 100%;
    padding: 0 20px;
}

.footer__pay-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.footer__pay-text,
.footer__pay-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer__pay-content p {
    font-weight: 700;
}

.footer__pay-content img {
    height: 16px;
}

@media screen and (max-width: 790px) {
    .footer__pay-content {
        flex-flow: column wrap;
        gap: 15px;
    }
}


/*
* FILTROS COMPONENTE OFERTAS 
*/
.filtro-categorias__botones {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filtro-btn {
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
}

.filtro-btn.activo {
    border-color: var(--primary-color);
}

@media screen and (max-width: 960px) {
    .filtro-categorias__botones {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 10px;
    }

    .filtro-btn {
        padding: 0px 8px;
        flex-shrink: 0;
    }

}




/*
* CARD POSTVENTA
*/
.card--postventa {
    padding-left: 86px;
    padding-bottom: 240px;
}

.card__postventa-container {
    position: relative;
}

.card__postventa-content {
    position: relative;
    padding: 50px 25px 180px;
    box-shadow: 0 36px 69px 0 rgba(0, 0, 0, 0.32);
}

.card__postventa-content.red {
    background: linear-gradient(146.27deg, #ff3a3a 0%, #d63131 100%);
    color: white;
}

.card__postventa-content.black {
    background: linear-gradient(146.27deg, #4f4f4f 0%, #000000 100%);
    color: white;
}

.card__postventa-content .number {
    position: absolute;
    bottom: 0;
    color: rgba(0, 0, 0, 0.2);
    font-weight: 900;
    font-size: 11.25em;
    letter-spacing: 0.125em;
    line-height: 0.75;
}

.card__postventa-content.black .number {
    color: rgba(255, 255, 255, 0.1);
}

.card__postventa-img {
    position: absolute;
    top: 50%;
    left: -100px;
    width: 80%;
    height: 400px;
    z-index: -1;
}

.card__postventa-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 560px) {
    .card--postventa {
        padding-left: 0;
    }

    .card__postventa-img {
        max-width: 500px;
        left: 0;
        width: 100%;
    }
}





/*
* SWITCHER DOMESTICO/PROFESIONAL
*/
.page-template-page-switcher .topheader,
.page-template-page-switcher .header,
.page-template-page-switcher .preheader__left-content .header__nav,
.page-template-page-switcher .preheader__right-content .woocommerce--user-menu,
.page-template-page-switcher .preheader__right-content .header__hamburguer,
.page-template-page-switcher .footer--pay-options,
.page-template-page-switcher footer .container:first-of-type {
    display: none;
}

.page-template-page-switcher .background--white.preheader__background {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.page-template-page-switcher .background--white.preheader__background .dropdown__current {
    color: white;
}

.page-template-page-switcher footer .section.section--margin-s,
.page-template-page-switcher footer .container {
    margin-top: 0;
}

.home--switcher {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-flow: row nowrap;
}

.home--switcher img {
    width: 100%;
    height: auto;
}

.home__switcher-left,
.home__switcher-right {
    position: relative;
    width: 50%;
    padding: 50px;
    transition: all ease-in-out 1s;
    overflow: hidden;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
}

.home__switcher-left:before,
.home__switcher-right:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.61;
}

.home__switcher-left:hover,
.home__switcher-right:hover {
    width: 80%;
}

.home__switcher-left .home__content-hover .logo,
.home__switcher-right .home__content-hover .logo {
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 1.2s ease;
    max-width: 200px;
    margin-bottom: 25px;
}

.home__switcher-left .home__content-hover .logo {
    max-width: 200px;
    padding: 12px;
}

.home__switcher-left .home__content-hover .text,
.home__switcher-right .home__content-hover .text {
    visibility: hidden;
    opacity: 0;
    transform: translateY(70px);
}

.home__switcher-left .home__content-hover .text h2,
.home__switcher-right .home__content-hover .text h2 {
    text-transform: uppercase;
}

.home__switcher-left:hover .home__content-hover .logo,
.home__switcher-right:hover .home__content-hover .logo {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);

}

.home__switcher-left:hover .home__content-hover .text,
.home__switcher-right:hover .home__content-hover .text {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: all 1.3s ease-in-out;
}

.home__switcher-left .bg__img,
.home__switcher-right .bg__img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home__switcher-left .bg__img img,
.home__switcher-right .bg__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home__switcher-left .title,
.home__switcher-right .title {
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translate(-50%);
    text-transform: uppercase;
    transition: all 0.6s ease-in-out;
}

.home__switcher-left:hover .title,
.home__switcher-right:hover .title {
    opacity: 0;
    visibility: hidden;
    transform: translate(-60%);
}

@media screen and (max-width: 960px) {
    .home--switcher {
        width: 100%;
        height: 100dvh;
        display: flex;
        flex-flow: column nowrap;
    }

    .home__switcher-left,
    .home__switcher-right {
        width: 100%;
        padding: 30px 18px;
    }

    .home__switcher-left:hover,
    .home__switcher-right:hover {
        width: inherit;
    }

    .home__switcher-left .home__content-hover .logo,
    .home__switcher-right .home__content-hover .logo {
        max-width: 90px;
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .home__switcher-left .home__content-hover .logo {
        padding: 7px;
    }


    .home__switcher-left .home__content-hover .text,
    .home__switcher-right .home__content-hover .text {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .home__switcher-left .title,
    .home__switcher-right .title {
        display: none;
    }

    .home__switcher-left:hover .title,
    .home__switcher-right:hover .title {
        display: none;
    }

}


.wpforms-input-temp-name.iti__tel-input {
    padding-left: 48px !important;
}