/*
Theme Name: aplastada
Theme URI: http://aplastada.com/
Description: Aplastada theme
Author: Aarón Pita
Author URI: http://aaronpitabenavides.com
Template: generatepress
Version: 1.0.0
*/

:root {
    --wp--style--global--wide-size: 1440px !important;
    --body-bg-color: white;
    --blue-light-color: #007bc2;
    --blue-color: #529aca;
}

@font-face {
    font-family: 'Forque';
    src: url('font/Forque.ttf');
}


/*
---MARK: Loader layer
*/
.loader-layer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1999;
}

.loader-layer .loader-layer-bg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    height: 100%;
}

.loader-layer .loader-layer-bg .loader-layer-bg-grid-element {
    background-color: var(--blue-color);
    transition: all 0.5s;
    opacity: 1;
}

.loader-layer .loader-layer-bg .loader-layer-bg-grid-element.hide {
    opacity: 0;
}

/*
---MARK: Body
*/
body {
    background-color: var(--body-bg-color);
    overflow-x: hidden;
}

/*
---MARK: Header
*/
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
    max-height: 300px;
    transition: all 0.5s;
}

header.hidden-modal-active {
    max-height: 0px;
}



.mobile-menu-control-wrapper .menu-toggle {
    background-color: transparent !important;
}

@media (max-width: 768px) {
    #site-navigation {
        position: fixed;
        top: 100px;
        right: 0;
        bottom: 0;
        left: 0;
        transform: translate(100vw, 0%);
        background-color: white !important;
        transition: all 0.5s;

        padding: 20px;

    }

    #site-navigation.toggled {
        background-color: white;
        transform: translate(0%, 0%);
    }
}

.entry-header {
    display: none;
}

.home .site.container {
    position: fixed;
    top: 137px;
    left: 0;
    right: 0;
    bottom: 120px;
}

body:not(.home) .site {
    margin-top: 105px;
}

.grid-container {
    margin-left: auto;
    margin-right: auto;
}

/*
---MARK: Menu
*/
.menu-item-251,
.menu-item-252,
.menu-item-253 {
    display: none;
}

@media (max-width:767px) {

    .menu-item-251,
    .menu-item-252,
    .menu-item-253 {
        display: block;
    }

    .site-footer {
        display: none;
    }
}

/*
---MARK: Catalogo TNS slider home
*/

.entry-content>.tns-outer {
    max-width: unset !important;
    margin-top: 50px;
    max-height: 370px;
}


.modal-info-product-gallery .tns-outer {
    margin-top: 0px !important;
}


.tns-controls {
    display: none;
}

.tns-nav {
    display: none;
}

.tns-item {
    transition: all 1s;
    transform: scale(0.8);
}

.vl-slide-center {
    transform: scale(1);
}

.card-product-catalogue {
    height: 100%;
    position: relative;
    cursor: pointer;
}

.card-product-catalogue-title {
    font-family: 'Forque', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 42px;
    line-height: 34px;
    text-align: center;
    margin-bottom: 15px;
}

.card-product-catalogue-image {
    text-align: center;
    position: relative;
}



.card-product-catalogue-modal-gallery-open {
    position: absolute;
    top: 0;
    right: 50px;
}

.card-product-catalogue-image img {
    width: unset !important;
    margin: 0 auto;
}

.card-product-catalogue-description ul {
    padding-left: 0px;
    list-style: none;
    text-align: center;
    font-weight: 700;
    color: black;
}

.card-product-catalogue-price {
    position: absolute;
    top: 70px;
    left: 10px;
    display: inline;
    justify-content: center;
    padding: 30px;
    border: 2px solid white;
    color: white;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    text-align: center;
}

.card-product-catalogue-price-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
}

@media (max-height: 570px){
    .entry-content>.tns-outer {
        margin-top: 10px;
    }
    .card-product-catalogue-image img{
        height: 150px;
    }
}

/*
---MARK: Catalogo modal 
*/
.modal-info-product {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: unset !important;
    z-index: 2000;
    transform: translate(-100vw);
    transition: all 0.5s;
}

.modal-info-product.active {
    transform: translate(0);
}

.modal-info-product .modal-info-product-overlay {
    transform: translate(-100vw);
    transition: all 0.5s;
}

.modal-info-product .modal-info-product-content {
    transform: translate(-100vw);
    transition: all 1.5s;
}

.modal-info-product.active .modal-info-product-overlay {
    transform: translate(0);
}

.modal-info-product.active .modal-info-product-content {
    transform: translate(-50%, -50%);
}

.modal-info-product .modal-info-product-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 2001;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.modal-info-product .modal-info-product-content {
    width: 640px;
    margin: 0 auto;
    position: absolute;
    padding: 30px;
    z-index: 2002;
    top: 50%;
    left: 50%;
    background-color: var(--blue-light-color);
}

.gallery-modal-product-img {
    width: 100%;
}

.gallery-modal-product-img img {
    width: 100%;
}

@media (max-width:980px) {
    .modal-info-product .modal-info-product-content {
        width: 320px;
    }
}

.modal-info-product-close {
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
}

.btn-close-modal-info {
    background-color: transparent !important;
}

.modal-info-product-description ul {
    margin: 0px !important;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.modal-info-product-description ul li {
    text-align: center;
    margin: 5px;
}

.card-product-catalogue-modal-gallery-open svg .open-gallery-arrow {
    transition: all 0.5s;
    transform: translate(0%, 0%)
}

.card-product-catalogue-modal-gallery-open:hover svg .open-gallery-arrow {
    transform: translate(10%, -10%)
}

.card-product-catalogue-modal-gallery-open svg path {
    transition: all 0.5s;
}

.card-product-catalogue-modal-gallery-open:hover svg path {
    stroke: var(--blue-light-color);
}


/*
---MARK: Banner burger corvo
*/
.banner-corvo-burger-block {
    display: flex;
    pointer-events: none;
    background-color: var(--blue-light-color);
    max-width: unset !important;
    margin-top: 0px;
}

.banner-corvo-burger-wrapper {
    display: flex;
    overflow: hidden;
    width: 100vw;
    white-space: nowrap;
    width: 100%;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.banner-corvo-burger-element {
    width: fit-content;
    white-space: nowrap;
    color: white;
    animation: marquee 5s linear infinite;
    text-transform: uppercase;
}

.banner-corvo-burger-star {
    margin: 0 5px;
}

.banner-corvo-burger-star svg {
    fill: white;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/*
---MARK: extras-block
*/

.extras-block {
    max-width: unset !important;
}

.extras-block-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.extras-block-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.extras-element {
    border: 2px solid black;
    padding: 15px;
}

.extras-element>* {
    padding: 5px;
    text-align: center;
}


/*
---MARK: Glovo link
*/
.realizar-pedido-block {
    text-align: center;
    margin-bottom: 30px;
}

.realizar-pedido {
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    background-color: var(--blue-light-color);
    border: 1px solid var(--blue-light-color);
    color: white;
}

.realizar-pedido:hover {
    color: var(--blue-light-color);
    background-color: white;
}

/*
---MARK: FOOTER
*/
.site-footer {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
}

.site-footer>div {
    background-color: transparent !important;
}

footer .wp-block-group {
    padding: 0px !important;
    margin-bottom: 15px;
}

footer .footer-block {
    list-style: none;
}

.legales-menu {
    position: relative;
    text-align: right;
}

.legales-menu>.sub-menu {
    list-style: none;
    position: absolute;
    max-height: 0px;
    overflow: hidden;
    bottom: 0px;
    left: 100%;
    width: 200px;
    text-align: left;
    transition: all 0.5s;
    background-color: white;
}

.legales-menu:hover>.sub-menu {
    max-height: 300px;
}

/*
---MARK: Animation personaje peludo
*/
.animation-personaje-peludo {
    position: fixed;
    right: 0;
    bottom: 0;
    width: fit-content;
}

.animation-personaje-peludo svg>* {
    cursor: pointer;
}

.animation-personaje-peludo svg>* .bocadillo-personaje-peludo {
    transition: opacity 0.5s;
    opacity: 0;
}

.animation-personaje-peludo svg>*:hover .bocadillo-personaje-peludo {
    opacity: 1;
}

.animation-personaje-peludo svg>*:hover .personaje-peludo-mouth {
    animation: personajePeludoMouthAnimation;
    animation-duration: 0.2s;
    animation-iteration-count: infinite;
}

@keyframes personajePeludoMouthAnimation {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(0px, 5px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@media (max-width: 980px) {
    .animation-personaje-peludo {
        display: none;
    }
}