/*
Theme Name: via lactea
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

:root {
    --primary-color: #f09702;
    --secondary-color: #d5c295;
    --tertiary-color: #f4f3e7;
}


html {
    scroll-behavior: smooth;
}


#header .header-main,
#main {
    background-color: var(--tertiary-color);
    background: var(--tertiary-color);
}

#header .main-menu {
    display: flex;
    align-items: center;
}

#header .main-menu li:last-child a {
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px 50px 50px 50px;
    padding: 18px 35px 18px 35px;
    transition: background .3s ease;
}

#header .main-menu li:last-child a:hover {
    background: var(--secondary-color);
    color: #0E150E !important;
}

#header .share-links>a {
    box-shadow: none;
    height: 50px;
    width: 50px;
    font-size: 1.3rem;
    background: black;
    color: white;
}

.logo img {
    background: #0E150E;
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 100%;
    position: absolute;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    transform: translateY(-45px);
    min-width: 220px;
    min-height: 220px;
}

.no-breadcrumbs .main-content {
    padding-top: 0;
}

.main-banner img,
.banner-vl img {
    border-radius: 20px;
    max-height: 740px;
    width: 100%;
    min-height: 740px;
    object-fit: cover;
}

.minibanner-vl {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
}

.minibanner-vl img {
    border-radius: 20px;
    max-height: 290px;
    width: 100%;
    min-height: 290px;
    object-fit: cover;
}

.minibanner-vl .wpb_content_element {
    margin-bottom: 0;
}

#header.sticky-header .header-main.change-logo .logo img {
    transform: scale(0.9);
    position: relative;
    min-width: 95px;
    min-height: 95px;
    height: 95px;
    width: 95px;
    padding: 0;
}

#header.sticky-header .header-main.sticky {
    background-color: var(--tertiary-color);
}

#footer {
    background-color: var(--tertiary-color);
}

#footer .footer-main>.container {
    padding-top: 0;
    padding-bottom: 0;
}

.footing {
    background: var(--primary-color);
    padding: 60px;
    border-radius: 20px;
    color: black;
}

#footer .footer-bottom {
    display: none !important;
}

.footer .widget p {
    color: #0E150E;
    font-size: 16px;
}

.logo-ftr img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    background: #0d150e;
    border-radius: 100%;
}

.ftr-cta {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.ftr-cta p {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 500;
    line-height: 52px;
}

.ftr-cta a {
    background: #0d150e;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px 50px 50px 50px;
    padding: 18px 35px 18px 35px;
    color: white !important;
    transition: background .3s ease, color .3s ease;
}

.ftr-cta a:hover {
    background: var(--tertiary-color);
    color: #0d150e !important;
}

.widget_archive>ul li:before,
.widget_categories>ul li:before,
.widget_meta>ul li:before,
.widget_nav_menu>div>ul li:before,
.widget_pages>ul li:before,
.widget_recent_comments>ul li:before,
.widget_recent_entries>ul li:before,
.widget_rss>ul li:before,
.wp-block-archives-list li:before,
.wp-block-categories-list li:before,
.wp-block-latest-comments:not(.has-avatars):not(.has-excerpts) .wp-block-latest-comments__comment:before,
.wp-block-latest-posts:not(.wp-block-latest-posts__list) li:before,
.wp-block-latest-posts__list.wp-block-latest-posts li:before {
    display: none;
}

.widget_archive>ul li,
.widget_categories>ul li,
.widget_meta>ul li,
.widget_nav_menu>div>ul li,
.widget_pages>ul li,
.widget_recent_comments>ul li,
.widget_recent_entries>ul li,
.widget_rss>ul li,
.wp-block-archives-list li,
.wp-block-categories-list li,
.wp-block-latest-comments:not(.has-avatars):not(.has-excerpts) .wp-block-latest-comments__comment,
.wp-block-latest-posts:not(.wp-block-latest-posts__list) li,
.wp-block-latest-posts__list.wp-block-latest-posts li {
    padding: 0;
}

.footer a:not(.btn),
.footer .tooltip-icon {
    color: black;
    font-size: 16px;
}

.footer .widget>div>ul,
.footer .widget>ul,
.footer .widget>div>ul li,
.footer .widget>ul li,
.footer .post-item-small {
    border-color: transparent;
}


.footer .widget>div>ul li+li {
    margin-top: 20px;
}

.bottom-ftr .col-md-4 {
    text-align: right;
}

.fullbanner-vl {
    background: #e8dcc6;
    margin-inline: 0px;
    border-radius: 20px;
    overflow: hidden;
}

.fullbanner-vl>div[class*="col-"]:first-child {
    padding-left: 0;
}

.fullbanner-vl iframe {
    border: 0;
    /* height: 00px; */
    position: absolute;
    height: 100%;
}

.fullbanner-vl>div[class*="col-"]:last-child {
    padding: 120px 60px 120px 60px;
}


.details-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.details-items .item-menu {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 0px 9px #00000030;
    display: flex;
    gap: 20px;
    position: relative;
    background: white;
    transition: all .3s ease;
}

.details-items .item-menu:hover {
    box-shadow: 5px 0px 9px #00000030, -5px 0 9px #00000030;
}

.details-items article .img-featured {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
}

.details-items article .img-featured img {
    height: 100%;
    object-fit: cover;
    width: 270px;
}


.details-items article .img-featured .btn-modal {
    position: absolute;
    left: 15px;
    width: 100%;
    background: #ffa500;
    bottom: 10px;
    max-width: calc(100% - 30px);
    height: 45px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.details-items article:hover .btn-modal {
    opacity: 1;
}

.details-items .item-info {
    padding: 15px;
    min-height: 300px;
}

.details-items article .price {
    font-weight: 900;
    color: #ef9700;
    font-size: 2rem;
}

.title-items {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.title-items img {
    max-width: 50px;
}

.title-items h2 {
    margin-bottom: 0;
}

.items-menu+.items-menu {
    margin-top: 35px;
}

.categories {
    display: flex;
    position: sticky;
    top: 0;
    gap: 1px;
    margin-bottom: 45px;
    transition: all 0.3s ease-in-out;
}

.sticky {
    position: fixed;
    top: 165px;
    width: 100%;
    z-index: 99;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
    left: 0;
    background: #f4f3e7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0 8px 0;
}

.categories aside {
    display: grid;
    gap: 10px;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(45px, 45px));
}

.categories .menu-item {
    background: orange;
    padding: 8px;
    width: 45px;
    height: 45px;
    border-radius: 100%;
}

.categories .menu-item.active {
    background: #fbc86b;
    transition: all 0.3s ease;
}

.categories .menu-item img {
    width: 30px;
}

/*Efecto*/
.modalmask {
    position: fixed;
    font-family: Arial, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalmask:target {
    opacity: 1;
    pointer-events: auto;
}

/*Formato de la ventana*/
.modalbox {
    width: 70vw;
    position: relative;
    padding: 0;
    background: #fff;
    border-radius: 3px;
    top: 50%;
    left: 50%;
    margin: 0 0 !important;
    transform: translate(-50%, -50%);
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in;

}

.modalbox img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    margin-bottom: -6px;
}

.modalbox h3 {
    position: absolute;
    z-index: 9;
    left: 25px;
    top: 25px;
    background: orange;
    padding: 5px 15px;
}

.modalbox .close {
    position: absolute;
    z-index: 9;
    top: 15px;
    right: 15px;
    background: black;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 2rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: orange;
}

.swiper-pagination-bullet-active {
    background: orange;
}

/*Movimientos*/
.movedown {
    margin: 0 auto;
}

.rotate {
    margin: 10% auto;
    -webkit-transform: scale(-5, -5);
    transform: scale(-5, -5);
}

.resize {
    margin: 10% auto;
    width: 0;
    height: 0;

}

.modalmask:target .movedown {
    margin: 10% auto;
}

.modalmask:target .rotate {
    transform: rotate(360deg) scale(1, 1);
    -webkit-transform: rotate(360deg) scale(1, 1);
}

.modalmask:target .resize {
    width: 400px;
    height: 200px;
}

/*Boton de cerrar*/
.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;

}

.close:hover {
    background: #FAAC58;
    color: #222;
}

body:not(.home) .logo img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
}

form.wpcf7-form {
    background: #000000;
    padding: 60px;
    border-radius: 20px;
    margin-top: 32px;
    color: white;
}

form.wpcf7-form .form-vl {
    max-width: 600px;
    margin: 0 auto;
}

form.wpcf7-form .form-vl h2 {
    color: white;
}

form.wpcf7-form .form-vl input,
form.wpcf7-form .form-vl select {
    width: 100%;
    border-radius: 6px;
    height: 50px;
}


form.wpcf7-form .form-vl textarea {
    width: 100%;
    border-radius: 6px;
}

form.wpcf7-form .form-vl input[type="submit"] {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}


@media screen and (max-width: 991px) {
    #header .main-menu {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .details-items {
        grid-template-columns: 1fr;
    }

    .details-items .item-menu {
        flex-direction: column;
    }

    .details-items article .img-featured {
        max-width: 100%;
    }

    .details-items article .img-featured img {
        width: 100%;
    }

    .details-items .item-info {
        min-height: auto;
    }

    .details-items article .img-featured .btn-modal {
        opacity: 1;
        max-width: calc(100% - 30px);
        left: 10px;
        margin: 0 auto;
        height: 35px;
        width: fit-content;
        padding: 0 15px;
        font-size: 12px !important;
    }

    .modalbox {
        width: 100vw;
    }

    .menu-vl>button {
        background-color: var(--primary-color);
        color: white;
        font-size: 14px;
        font-weight: 500;
        border-radius: 5px;
        padding-inline: 15px;
        transition: background .3s ease;
        margin-bottom: 15px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-color: var(--primary-color);
    }

    .menu-vl>button:hover {
        background-color: var(--secondary-color);
        color: #0E150E !important;
    }

    .menu-vl>button span {
        background-color: #000000;
        color: white;
        font-size: 11px;
        font-weight: 500;
        border-radius: 2px;
    }

    .details-items {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .details-items .item-info {
        padding-top: 0;
    }

    .details-items .item-info h3 {
        margin-bottom: 10px;
        font-size: 20px;
    }

    #header.sticky-header .header-main.sticky {
        box-shadow: 5px 0px 9px #00000030, -5px 0 9px #00000030;
        padding: 0;
    }

    .categories aside {
        grid-template-columns: 1fr 1fr;
    }

    .categories .menu-item {
        width: 100%;
        height: 45px;
        border-radius: 4px;
    }

    .categories .menu-item a {
        display: flex;
        gap: 5px;
        align-items: center;
        font-size: 9px;
        color: black;
        line-height: normal;
        text-transform: uppercase;
    }
}