/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 09-ago-2024, 12:16:17
    Author     : richard
*/

.home {
    .site-global-notification {
        display: none;
    }
    
    .site-offcanvas {
        .site-scroll {
            .site-offcanvas--header {
                .site-brand {
                    a {
                        img {
                            width: 150px;
                        }
                    }
                }
            }
            
            .site-offcanvas--main {
                .site-switcher {
                    display: none;
                }
            }
            
            .site-offcanvas--footer {
                .site-social {
                    display: none;
                }
            }
        }
    }
    
    .site-header {
        background-color: transparent;
        position: fixed;
        width: 100%;
        
        .site-header--mobile {
            background-color: transparent;
            
            .col-left {
                .canvas-toggle {
                    span {
                        background-color: #fff;
                    }
                }
            }
            
            .col-middle {
                .site-brand {
                    a {
                        width: 120px;

                        img {
                            -webkit-filter: invert(100%);
                            filter: invert(100%);
                        }
                    }
                }
            }
            
        }
    
        .site-header--desktop {
            
            .site-header--content .container > .row {
                height: 75px;
            }
                
            .site-header--content {
                .col-middle {
                    .site-brand {
                        a {
                            width: 212px;
                            
                            img {
                                -webkit-filter: invert(100%);
                                filter: invert(100%);
                            }
                        }
                    }
                }
            }
            
            .site-header--nav {
                background-color: transparent;
                
                .primary-menu.horizontal-menu .menu > .menu-item > a {
                    color: #fff;
                    font-size: 16px;
                    position: relative;
                    
                    &:after {
                        background-color: #fff;
                        content: "";
                        display: block;
                        height: 1px;
                        left: 50%;
                        margin-top: 25px;
                        opacity: 0;
                        position: absolute;
                        transform: translate(-50%);
                        transition: all .3s ease-in-out;
                        width: 0;
                    }
                    
                    &:hover {
                        &:after {
                            opacity: 1;
                            width: 85%;
                        }
                    }
                }
            }
        }
        
        .quick-button {
            i {
                &:before {
                    color: #fff;
                }
            }
        }
        
        &.sticky-header {
            background-color: #fff;
            
            .site-header--mobile {
                .col-left {
                    .canvas-toggle {
                        span {
                            background-color: #000;
                        }
                    }
                }

                .col-middle {
                    .site-brand {
                        a {
                            img {
                                -webkit-filter: none;
                                filter: none;
                            }
                        }
                    }
                }
            }
            
            .site-header--desktop {
                .site-header--content {
                    .col-middle {
                        .site-brand {
                            a {
                                img {
                                    -webkit-filter: none;
                                    filter: none;
                                }
                            }
                        }
                    }
                }
                
                .site-header--nav {
                    .primary-menu.horizontal-menu .menu > .menu-item > a {
                        color: #000;

                        &:after {
                            background-color: #000;
                        }
                    }
                }
            }
            
            .quick-button {
                i {
                    &:before {
                        color: #000;
                    }
                }
            }
        }
    }
    
    .site-primary {
        padding-top: 0 !important;
    }
}

.elementor {
    section {
        padding: 45px 15px;
        
        .pr-btn-tienda {
            margin-top: 30px;
            
            .elementor-button {
                background-color: transparent;
                border: 1px solid #000;
                border-radius: 0;
                color: #000;
                font-size: 12px;
                padding: 16px 40px;
                
                &:hover {
                    background-color: #000;
                    color: #fff;
                }
            }
        }
        
        &.pr-home-banner {
            overflow: hidden;
            padding: 0 !important;
            
            .banner {
                position: relative;
                height: 400px;
                
                &:before {
                    background-image: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0));
                    content: '';
                    height: 50%;
                    position: absolute;
                    top: 0;
                    width: 100%;
                    z-index: 1;
                }
                
                .banner_item {
                    height: 400px;
                    
                    img {
                        height: 100%;
                        object-fit: cover;
                        width: 100%;
                    }
                }
                
                &.slick-slider {
                    
                    .slick-arrow {
                        background-color: transparent;
                        border: 0;
                        height: 50px;
                        margin-top: -50px;
                        position: absolute;
                        top: 50%;
                        outline: none;
                        padding: 0;
                        text-indent: -9999px;
                        width: 50px;
                        z-index: 1;
                        
                        &:before {
                            content: '';
                            border-color: #fff;
                            border-style: solid;
                            border-width: 0 0 2px 2px;
                            height: 30px;
                            margin-top: 0px;
                            width: 30px;
                            position: absolute;
                        }
                        
                        &.slick-prev {
                            left: 15px;
                            
                            &:before {
                                transform: rotate(45deg);
                            }
                        }
                        
                        &.slick-next {
                            right: 15px;
                            
                            &:before {
                                transform: rotate(-135deg);
                            }
                        }
                        
                    }
                    
                    .slick-dots {
                        bottom: 15px;
                        display: flex;
                        flex-direction: row;
                        justify-content: center;
                        list-style: none;
                        margin: 0px;
                        padding: 0px;
                        position: absolute;
                        width: 100%;
                        
                        li {
                            margin: 0 5px;
                            
                            button {
                                background-color: #fff;
                                border-radius: 100%;
                                border: 0;
                                height: 20px;
                                opacity: .5;
                                outline: none;
                                padding: 0;
                                text-indent: -9999px;
                                width: 20px;
                            }
                            
                            &.slick-active {
                                button {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
                
            }
        }
        
        &.pr-home-categorias {
            .categoria-list {
                margin-top: 30px;
                
                ul.products {
                    li {
                        a {
                            display: block;
                            overflow: hidden;
                            position: relative;
                            
                            img {
                                display: none;
                                
                                &.thums-category {
                                    display: block;
                                    filter: grayscale(1);
                                    height: 100%;
                                    transition: transform 0.4s cubic-bezier(0.83, 0.26, 0.19, 0.87), filter 0.4s ease-in-out;
                                    width: 100%;
                                }
                            }
                            
                            h2 {
                                bottom: 15px;
                                color: #fff;
                                display: flex;
                                font-family: "Nunito Sans", Sans-serif;
                                font-size: 12px;
                                justify-content: center;
                                left: 0;
                                margin-bottom: 0;
                                padding: 15px;
                                position: absolute;
                                text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
                                text-align: center;
                                width: 100%;
                                z-index: 2;
                                
                                &:after {
                                    background-color: #fff;
                                    content: "";
                                    display: block;
                                    height: 1px;
                                    left: 50%;
                                    margin-top: 25px;
                                    opacity: 0;
                                    position: absolute;
                                    transform: translate(-50%);
                                    transition: all .3s ease-in-out;
                                    width: 0;
                                }
                                
                                mark {
                                    display: none;
                                }
                            }
                            
                            &:hover {
                                img {
                                    &.thums-category {
                                        transform: scale(1.1);
                                        filter: grayscale(0);
                                    }
                                }
                                
                                h2 {
                                    &:after {
                                        opacity: 1;
                                        width: 75%;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        
        &.pr-home-productos {
            .productos-list {
                margin-top: 30px;
                
                ul.products .product .product-content .product-media .entry-media > a {
                    background-color: #fff;
                    border-radius: 5px;
                    padding-bottom: 45px;
                }
                
                ul.products .product .product-content .content-align .entry-wrapper a,
                ul.products .product .product-content .content-align .entry-wrapper span {
                    color: #fff;
                }
                
                ul.products .product .product-content .content-align .entry-wrapper h2 {
                    margin-bottom: 0;
                }
                
                ul.products .product .product-content .product-media .entry-media .product-action {
                    align-items: center;
                    bottom: 15px;
                    text-align: center;
                    top: inherit;
                    right: 0;
                    width: 100%;
                    
                    a {
                        background-color: rgba(255,255,255, .5);
                        font-weight: normal;
                        font-size: 10px;
                        padding-left: 10px;
                        padding-right: 10px;
                        transform: none;
                        width: auto;
                        
                        &:hover {
                            background-color: rgba(0,0,0, .75);
                            border-color: #000;
                            color: #fff;
                        }
                        
                        &.add_to_cart_button {
                            &:before {
                                display: none;
                            }
                            
                            span {
                                display: block;
                            }
                        }
                    }
                }
            }
        }
        
        &.pr-home-servicios {
            .servicios-list {
                ul.servicios {
                    gap: 1.25rem;
                    grid-template-columns: repeat(1, 1fr);
                    margin: 0;
                    padding: 0;
                    list-style: none;
                    
                    li {
                        align-items: center;
                        display: inline-flex;
                        flex-direction: column;
                        text-align: center;
                        
                        img {
                            transform: scale(.75);
                            transition: all .2s ease-in-out;
                        }
                        
                        h3 {
                            font-family: "Nunito Sans", Sans-serif;
                            font-weight: bold;
                            font-size: 15px;
                            margin-top: 10px;
                            margin-bottom: 0;
                        }
                        
                        p {
                            font-size: 15px;
                            margin-bottom: 0;
                            line-height: normal;
                        }
                        
                        &:hover {
                            img {
                                transform: scale(1);
                            }
                        }
                    }
                }
                
                ul.servicios:not(.site-slider) {
                    position: relative;
                    display: grid;
                    gap: 1.875rem;
                }
                
            }
        }
        
        &.pr-home-lineas {
            padding: 0 !important;
            
            .nuestraslineas_item {
                position: relative;
                
                .nuestraslineas_item__inner {
                    align-items: end;
                    display: flex;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    width: 100%;
                    
                    .nuestraslineas_item__box {
                        display: flex;
                        flex-direction: column;
                        height: 50%;
                        justify-content: center;
                        text-align: center;
                        padding: 15px;
                        
                        h2 {
                            background: linear-gradient(110deg, #ef4626, #fd8f5e);
                            -webkit-background-clip: text;
                            -webkit-text-fill-color: transparent;
                        }
                        
                        p {
                            line-height: normal;
                            margin-bottom: 0;
                        }
                        
                        .pr-btn-tienda {
                            margin-top: 15px !important;
                        }
                    }
                }
            }
        }
        
        &.pr-home-instagram {
            h3 {
                span {
                    color: #212529;
                    font-size: 14px;
                    display: block;
                }
            }
            
            .instagram-list {
                margin-top: 30px;
            }
        }
    }
}

@media(min-width: 768px) {
    .elementor {
        section {
            padding-bottom: 60px;
            padding-top: 60px;
            
            h3 {
                font-size: 38px;
            }
            
            .pr-btn-tienda {
                margin-top: 45px;
            }
            
            &.pr-home-banner {
                .banner {
                    height: 500px;
                    
                    .banner_item {
                        height: 500px;
                    }
                }
            }
            
            &.pr-home-categorias {
                h3 {
                    span {
                        display: block;
                    }
                }
                
                .categoria-list {
                    margin-top: 60px;
                    
                    ul.products {
                        grid-template-columns: repeat(4, 1fr);
                        
                        li {
                            a {
                                h2 {
                                    font-size: 14px;
                                }
                            }
                        }
                    }
                }
            }
            
            &.pr-home-productos {
                h3 {
                    span {
                        display: block;
                    }
                }
                
                .productos-list {
                    margin-top: 60px;
                    
                    ul.products {
                        grid-template-columns: repeat(3, 1fr);
                    }
                    
                    ul.products .product .product-content .product-media .entry-media .product-action {
                        bottom: 15px;
                    }
                    
                    ul.products {
                        
                        &.slick-slider {
                            display: block;
                            gap: inherit;
                            grid-template-columns: none;
                            
                            li {
                                margin-left: 15px;
                                margin-right: 15px;
                            }
                        }
                        
                        .slick-arrow {
                            background-color: transparent;
                            border: 0;
                            height: 50px;
                            position: absolute;
                            top: -100px;
                            outline: none;
                            padding: 0;
                            text-indent: -9999px;
                            width: 50px;
                            
                            &:before {
                                content: '';
                                border-color: #fff;
                                border-style: solid;
                                border-width: 0 0 2px 2px;
                                height: 30px;
                                margin-top: 0px;
                                
                                width: 30px;
                                position: absolute;
                            }
                            
                            &.slick-prev {
                                left: 15px;
                                
                                &:before {
                                    transform: rotate(45deg);
                                }
                            }
                            
                            &.slick-next {
                                left: 75px;
                                
                                &:before {
                                    transform: rotate(-135deg);
                                }
                            }
                        }
                    }
                }
            }
            
            &.pr-home-servicios {
                .servicios-list {
                    ul.servicios {
                        grid-template-columns: repeat(4, 1fr);
                    }
                }
            }
            
            &.pr-home-lineas {
                .nuestraslineas_item {
                    .nuestraslineas_item__inner {
                        align-items: center;
                        justify-content: end;

                        .nuestraslineas_item__box {
                            height: auto;
                            padding: 0;
                            width: 50%;
                        }
                    }
                }
            }
            
            &.pr-home-instagram {
                .instagram-list {
                    margin-top: 60px;
                }
            }
        }
    }
}

@media(min-width: 992px) {
    .home {
        .site-header {
            &:before {
                height: 200%;
            }
        
            .site-header--desktop {
                .site-header--content {
                    .col-left {
                        display: none;
                    }
                    
                    .col-middle {
                        justify-content: flex-start;
                        left: 50%;
                        margin-left: -121px;
                        position: absolute;
                        width: auto;
                        z-index: 1;
                    }
                }
                
                .site-header--nav {
                    background-color: transparent;
                }
            }
        }
    }
    
    .elementor {
        section {
            padding-bottom: 90px;
            padding-top: 90px;
            
            h3 {
                font-size: 48px;
            }
            
            .pr-btn-tienda {
                margin-top: 60px;
            }
            
            &.pr-home-banner {
                .banner {
                    height: 600px;
                    
                    .banner_item {
                        height: 600px;
                    }
                }
            }
            
            &.pr-home-categorias {
                .categoria-list {
                    ul.products {
                        li {
                            a {
                                h2 {
                                    bottom: 30px;
                                    font-size: 18px;
                                }
                            }
                        }
                    }
                }
            }
            
            &.pr-home-productos {
                .productos-list {
                    ul.products {
                        grid-template-columns: repeat(4, 1fr);
                    }
                    
                    ul.products .product .product-content .product-media .entry-media > a {
                        padding-bottom: 0px;
                    }
                }
            }
        }
    }
}

@media(min-width: 1200px) {
    .elementor {
        section {
            &.pr-home-banner {
                .banner {
                    height: 700px;
                    
                    .banner_item {
                        height: 700px;
                    }
                }
            }
        }
    }
}