/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/
@import './css/variables.css';

/*********************************\
              GENERAL
\*********************************/
@view-transition {
    navigation: auto;
}
  
.container {
    view-transition-name: page;
}
  
::view-transition-old(page) {
    animation: fade 0.2s linear forwards;
}
  
::view-transition-new(page) {
    animation: fade 0.3s linear reverse;
}

.validate_email_against_bot,
.otgs-development-site-front-end {
    display: none
}

.style-simple,
.style-simple .mfn-header-tmpl {
    --mfn-column-gap-bottom: 0;
    --mfn-column-gap-top: 0;
    --mfn-column-gap-right: 0;
    --mfn-column-gap-left: 0;
}

p:empty {
    margin: 0;
    display: none;
    visibility: hidden;
    opacity: 0;
}

.admin-bar .full-screen .section_wrapper {
    min-height: calc( 100vh - 32px );
}

.section.has-video .section_video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section.has-video .section_video video {
    top: unset;
    left: unset;
    height: 100%;
}

.section.has-video .section_video .mask {
    display: none;
}

.mobile-side-slide {
    overflow-x: clip !important;
}

.section_wrapper, 
.container {
    box-sizing: border-box;
    padding-left: 3.37rem;
    padding-right: 3.37rem;
}

.slick-list {
    width: 100%;
}

.slick-track {
    display: flex;
}

.slick-vertical .slick-track {
    flex-direction: column;
}

a {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
}

.column_column a,
.the_content a, 
.wpcf7-form a {
    text-decoration: underline;
}

.button {
    .button_icon {
        line-height: 0;
    }

    &.button_left {
        padding-left: 0.8rem;
    }

    &.button_right {
        padding-right: 0.8rem;
    }
}

.the_content_wrapper {
    width: 100%;
    margin: 0;
}

[class^="cmjets-"]:not(i), [class*=" cmjets-"]:not(i) {
    font-family: inherit !important;
}

@media only screen and (min-width: 1240px) {
    .section_wrapper, .container {
        max-width: 1920px;
    }
}

@media only screen and (max-width: 1239px) {
    .container, .section_wrapper, .with_aside .content_wrapper {
        max-width: 100%;
    }
}


/*********************************\
            COMPLIANZ
\*********************************/
/* Cookies button */
body #cmplz-manage-consent .cmplz-manage-consent {
    background: var(--primary);
    right: unset !important;
    left: 60px;
    font-size: 0px;
    color: var(--neutral-5);
    bottom: 10px !important;
    padding: 0 !important;
    min-width: 1px;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;

    &:before {
        content: "";
        background: transparent url(imagenes/icono-ajustes.svg) center center / contain no-repeat;
        width: 60%;
        height: 60%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.8s ease;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -webkit-transition: all 0.8s ease;
        -moz-transition: all 0.8s ease;
        -ms-transition: all 0.8s ease;
        -o-transition: all 0.8s ease;
    }

    &:hover:before {
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
    }
}

/* Cookies banner */
#cmplz-cookiebanner-container {
    .cmplz-body {
        scrollbar-width: none;
    }

    .cmplz-cookiebanner {
        grid-row-gap: 5px;
        padding: 20px;
    }

    .cmplz-header {
        display: none;
    }   

    p {
        margin: 0;
    }   
    
    .cmplz-buttons .cmplz-btn {
        letter-spacing: 0;
        font-size: var(--size-psmall) !important;
        line-height: 1.2 !important;
        text-transform: none;
        justify-content: center;
        height: auto;
    }
    
    .cmplz-categories .cmplz-category {
        &:not(:last-child) {
            margin-bottom: 5px;
        }

        .cmplz-category-header .cmplz-category-title,
        .cmplz-description > span { 
            font-size: var(--size-psmall);
            line-height: 1; 
        }

        .cmplz-category-header .cmplz-always-active {
            font-size: 10px;
            line-height: 1;
        }
    }
}

/* Complianz documents */
#cmplz-document {
    max-width: 100%;
    padding: 40px 0;
    text-align: justify;
    column-count: 2;
    column-gap: 2rem;

    p, li, td {
        font-size: var(--size-p);
        line-height: 1.4;
        font-weight: 400;
    }

    h2, h3, h4 {
        font-weight: 600;
        border: 0;
        padding: 0;
        margin-bottom: 15px;
        line-height: 1.2;
        text-align: left;
    }

    h2 {
        font-size: var(--size-h2);
        margin-top: 60px;
    
        &:first-child {
            margin-top: 0;
        }
    }
    
    h3 {
        font-size: var(--size-h3);
    }
    
    h4 {
        font-size: var(--size-h4);
        font-weight: 700;
    }

    @media only screen and (max-width: 1220px) {
        column-count: 1;
        column-gap: 0;
    }
}


/*********************************\
              HEADER
\*********************************/
.wpml-ls-legacy-list-horizontal {
    border: 0;
    padding: 0;

    li:last-child a {
        border: 0 !important;
    }

    li:not(.wpml-ls-current-language) a:not(:hover) {
        color: rgb(252, 252, 252, .6) !important;
    }
}

/* Subheader */
.column.be_breadcrumbs_jyxin4ap .breadcrumbs li a {
    text-decoration: none;
}


/*********************************\
              FOOTER
\*********************************/
/* Footer template */
.mfn-footer-tmpl {
    .mcb-section:not(.full-width) {
        max-width: 100%;

        @media screen and (max-width: 767px) {
            padding-left: 20px;
            padding-right: 20px;

            .section_wrapper {
                padding-left: 0;
                padding-right: 0;
            }
        }
    }
}

.footer-background {
    &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(180deg, transparent 85%, rgba(255, 255, 255, 0.64) 100.88%), 
                    linear-gradient(0deg, transparent 61.73%, #1B1B1C 97.2%);

        @media only screen and (max-width: 959px) {
            background: linear-gradient(180deg, transparent 85%, rgba(255, 255, 255, 0.64) 100.88%), 
                        linear-gradient(0deg, transparent 45%, #1B1B1C 80%);
        }
    }

    .mcb-background-overlay {
        background: #1c1c1c;
        mix-blend-mode: saturation;
    }    
} 

/* Footer logo */
.mfn-item-inline.column.footer-logo {
    margin-right: auto;

    @media only screen and (max-width: 959px) {
        width: 100% !important;
    }

    @media only screen and (max-width: 540px) {
        text-align: center;
        margin-bottom: 1.53rem;
    }
}

/* Footer menus */
.one.mcb-wrap.be_wrap_7sp69omf {
    width: fit-content;

    .mcb-wrap-inner {
        flex-direction: column;
        
        .column {
            width: fit-content;
        }
    }

    @media only screen and (max-width: 1220px) {
        .mcb-wrap-inner {
            margin-right: 3.68rem;
        }
    }

    @media only screen and (max-width: 959px) {
        width: 33.33%;

        .mcb-wrap-inner {
            margin-right: 0;
        }
    }

    @media only screen and (max-width: 540px) {
        width: 100%;

        .mcb-wrap-inner {
            align-content: center;
            align-items: center;
            margin-top: 1.53rem;

            .mfn-footer-menu {
                align-items: center;
            }
        }
    }
}

/* Footer contact info */
@media only screen and (max-width: 540px) {
    .mcb-section .wrap.footer-contact-info {
        width: 100%;

        .mcb-wrap-inner {
            flex-direction: column;
            align-content: center;
            align-items: center;
            margin-top: 1.53rem;

            .column {
                width: fit-content;

                .icon-wrapper {
                    display: none;
                }

                .title {
                    text-align: center;
                }
            }
        }
    }
}

/* Back to top */
#back_to_top.sticky {
    bottom: 10px;
    right: 10px !important;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;

    &:before {
        content: none;
    }
}

/*Kit digital*/
body #mfn-footer-template .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #mfn-footer-template .financiacion > div {
    line-height: 0;
}

body #mfn-footer-template .financiacion > div img {
    max-height: 50px;
    width: auto;
}

body #mfn-footer-template .financiacion > div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #mfn-footer-template .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
   }

    body #mfn-footer-template .financiacion > div:last-child {
        grid-column: 1 / span 2;
   }
}

/* Accesibilidad */
body #pojo-a11y-toolbar {
    top: auto !important;
    bottom: 10px !important;

    .pojo-a11y-toolbar-toggle a {
        font-size: 26px;
        padding: 8px;
        border-radius: 100px;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        -o-border-radius: 100px;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }

    .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
        line-height: 1.2;
    }

    &.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
        left: 190px;
        bottom: 0;
    }
}

/* Whatsapp */
body .wa__btn_popup {
    .wa__btn_popup_icon {
        height: 60px;
        width: 60px;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }

    .wa__btn_popup_icon:before {
        background-size: 60% auto;
        -webkit-background-size: 60% auto;
        -moz-background-size: 60% auto;
    }
}

body .wa__popup_powered {
    display: none;
}

body .wa__popup_chat_box .wa__popup_heading {
    .wa__popup_intro {
        display: none;
    }

    &:before {
        top: 13px;
    }
}


/*********************************\
              HOME
\*********************************/
/* Intro section */
@keyframes button-up-down {
    0% { transform: translateY(0); }
    30% { transform: translateY(5px); }
    100% { transform: translateY(0); }
}

.intro-section {
    &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient(0deg, rgba(27, 27, 28, 0.16) 0%, rgba(27, 27, 28, 0.16) 100%);
        mix-blend-mode: darken;
        z-index: 1;
    }

    & > .mcb-background-overlay {
        background: linear-gradient(180deg, rgba(27, 27, 28, 0.00) 58.15%, #1B1B1C 96.63%);
    }
}

.wrap.intro-next-section {
    position: absolute;
    bottom: 0;
    left: 0;
}

.be_button_7j961ap9 {
    animation: button-up-down 2s ease-in-out infinite;

    .button_label {
        display: none;
    }
}

/* Product categories */
.column.be_icon_box_2_5mwja3xh {
    @media only screen and (max-width: 1220px) and (min-width: 960px) {
        h2.title {
            font-size: 2.5rem;
        }

        .icon-wrapper {
            margin-top: .76rem;
            width: 1.48rem;
            height: 1.48rem;

            i {
                font-size: 1.48rem;
            }
        }
    }

    @media only screen and (max-width: 959px) and (min-width: 768px) {
        .mcb-column-inner {
            margin-bottom: 1.5rem;
        }

        .title {
            font-size: 2rem;
        }

        .icon-wrapper {
            margin-top: .61rem;
            width: 1.18rem;
            height: 1.18rem;

            i {
                font-size: 1.18rem;
            }
        }
    }
}

.be_image_sybgbyv9 img {
    aspect-ratio: 473 / 628;
    object-fit: cover;
    object-position: center;
}

/* Product slider */
.be_image_vbdqi05l {
    img {
        aspect-ratio: 194/175;
        object-fit: contain;
        object-position: center;
    }
}

.be_icon_box_2_pckernoj {
    .desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        overflow: hidden; 
    }
}

.product-slider {
    flex-direction: column;

    .mcb-wrap-inner {
        width: calc( 100% + 0.84rem );
    }
    .slick-list {
        overflow: visible;
    }
}

.product-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.84rem;
    margin: 1.9rem 0 0;

    .slick-arrow {
        background: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        font-size: 24px;

        i {
            color: var(--neutral-5);
        }

        &:hover {
            background: none;

            i {
                color: var(--primary);
            }
        }

        &.slick-disabled:hover i {
            color: var(--neutral-5);
        }
    }

    .slick-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.26rem;
        line-height: 0;

        button {
            padding: 0;
            border: 0;
            border-radius: 50px;
            font-size: 0;
            line-height: 0;
            color: transparent;
            background: var(--neutral-5);
            width: 10px;
            height: 10px;

            &:hover {
                background: var(--primary);
                color: transparent;
            }
        }

        .slick-active button {
            background: var(--primary);
        }
    }
}

.is-iframe .product-slider {  /* Estilos solo para el builder */
    .mfn-queryloop-item-wrapper {
        width: calc( 33.33% - 0.84rem ) !important;

        &:nth-child(n+7) {
            display: none !important;
        }
    }
}

/* Analytics numbers */
.mcb-section .mcb-wrap.mcb-wrap-grid.analytics-numbers > .mcb-wrap-inner {
    @media only screen and (max-width: 480px) {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 2rem;
    }
}

.be_counter_w0ugho5m .desc_wrapper {
    display: flex;
    flex-direction: column;

    .number-wrapper {
        order: 2;
    }

    .title {
        order: 1;
    }
}

/* Customers slider */
.clients_slider_ul {
    .slick-arrow {
        display: none;
    }

    .slick-list {
        margin: 0 !important;
        overflow: visible;
    }

    .clients_li {
        img {
            aspect-ratio: 1;
            object-fit: cover;
            object-position: center;
        }
    } 
}

/* Featured accesories */
.featured-accesories-slider {
    --pad: 1.26rem;

    background: var(--neutral-1);
    border-radius: 3px;
    padding: var(--pad);
    padding-left: calc( var(--pad) + 3.7rem + 24px );
    align-items: stretch;

    @media only screen and (max-width: 959px) {
        padding-left: calc( var(--pad) + 1.7rem + 24px );
    }

    .mfn-queryloop-item-wrapper {
        .column_image img {
            aspect-ratio: 525 / 393;
            object-fit: contain;
            object-position: center;

            @media only screen and (max-width: 959px) {
                aspect-ratio: 6/7;
            }

            @media only screen and (max-width: 767px) {
                aspect-ratio: 1;
            }
        }
    
        .wrap > .mcb-wrap-inner {
            flex-direction: column;

            .column_button {
                flex-grow: 1;
                display: flex;
                align-items: flex-end;
            }
        }
    }

    .featured-accesories-slider-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: calc( 100% - var(--pad) * 2 );
        position: absolute;
        top: var(--pad);
        left: var(--pad);

        .slick-arrow {
            background: none;
            padding: 0;
            border: 0;
            border-radius: 0;
            font-size: 24px;

            i {
                color: var(--neutral-5);
            }

            &:hover {
                background: none;

                i {
                    color: var(--primary);
                }
            }

            &.slick-disabled:hover i {
                color: var(--neutral-5);
            }

            &.slick-next {
                transform: rotate(180deg);
            }
        }

        .slick-dots {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.26rem;
            line-height: 0;

            button {
                width: 10px;
                height: 10px;
                background: var(--neutral-5);
                border-radius: 50px;
                font-size: 0;
                line-height: 0;
                color: transparent;
                padding: 0;

                &:hover {
                    background: var(--primary);
                }
            }

            .slick-active button {
                background: var(--primary);
            }
        }
    }

    &:before, &:after { display: none;}
}

/* Featured planes */
.be_banner_box_o6pck94t {
    &:not(.no-sticky) {
        position: sticky;
        top: 8rem;
    }

    .banner-wrapper {
        flex-direction: row;
    }

    .banner-image {
        img {
            aspect-ratio: 1173/557;
            object-fit: cover;
            object-position: center;

            @media only screen and (max-width: 520px) {
                aspect-ratio: 1;
            }
        }

        &:after {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.40) 100%) !important;
        }
    }
}


/*********************************\
             ABOUT US
\*********************************/
/* Full width image */
.full-width-image img {
    aspect-ratio: 160/99;
    object-fit: cover;
    object-position: center;
}

/* Handmade text */
.be_column_gxfdo88 p {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* Full back image section */
.full-back-image-section {
    aspect-ratio: 173 / 99;
}


/*********************************\
            CUSTOMERS
\*********************************/
/* Image hotspot */
.mfn-image-hotspot {
    --mfn-image-hotspot-content-width: 27rem;

    .hotspot-wrapper, .hotspot-image, img {
        width: 100%;
    }

    .hotspot-image:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.24);
        z-index: 1;
    }

    .hotspot-point {
        transform: translate(-50%, -50%);

        &.hotspot-point-bottom .hotspot-content, 
        &.hotspot-point-top .hotspot-content {
            left: auto;
            right: 0;
        }
    }

    .hotspot-content {
        overflow: visible;
    }
}

/* Featured product */
.featured-product {
    display: flex;
    align-items: stretch;
    gap: 1.7rem;

    .featured-product-image {
        width: 35%;
        min-height: 15.7rem;
        background: var(--neutral-1);
        display: flex;
        align-items: center;
    }

    .featured-product-content {
        width: calc( 65% - 1.7rem );
        padding: 1.68rem 1.68rem 1.68rem 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;

        .title {
            margin: 0 0 .4rem;
        }

        .description {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            overflow: hidden; 
            margin: 0 0 0.84rem;
        }
    }
}

/* Featured product list */
.customers-featured-product > .mcb-wrap-inner {
    @media only screen and (max-width: 959px) {
        background: var(--neutral-1);
    }

    @media only screen and (max-width: 580px) {
        grid-template-columns: repeat(1, 1fr) !important;

        .column_image img {
            max-height: 25rem;
            object-fit: contain;
            object-position: center;
        }
    }
}

/* Featured customer */
.featured-customer {
    .wrap.customers-featured-product {
        position: sticky;
        top: 8rem;
    }

    & > .mcb-wrap-inner > .column_image img {
        aspect-ratio: 788 / 703;
        object-fit: cover;
        object-position: center;
    }
}

/* Clients mosaic */
.clients-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    .clients-mosaic-item {
        display: flex;

        .clients-mosaic-item-wrapper {
            display: flex;
            flex-direction: column;
            height: 33.33vh;
            line-height: 0;

            .clients-mosaic-item-image {
                width: 13vw;
                max-width: 270px;
                border-radius: .5rem; 
                overflow: hidden;
                margin: 0 0 .42rem;
                box-shadow: 0 0 15px 0 var(--neutral-1);

                img {
                    width: 100%;
                    height: auto;
                    object-fit: cover;
                    object-position: center;
                }
            }

            p {
                margin: 0;
                text-shadow: 0 0 15px 0 var(--neutral-1);
            }

            @media only screen and (max-width: 767px) {
                height: auto;
    
                .clients-mosaic-item-image {
                    width: 100%;
                    max-width: none;
                    box-shadow: none;
                }
            }
        }

        &:nth-child(odd) {
            justify-content: flex-start;
        }

        &:nth-child(even) {
            justify-content: flex-end;

            @media only screen and (max-width: 768px) {
                padding-top: 4.8rem
            }
        }

        @media only screen and (min-width: 768px) {
            &:nth-child(6n+1) {
                padding: 10% 0 0 35%;
            }
    
            &:nth-child(6n+2) {
                padding: 6% 22% 0 0;
            }
    
            &:nth-child(6n+3) {
                padding: 5% 0 0 5%;
            }
    
            &:nth-child(6n+5) {
                padding: 10% 0 0 30%;
            }
    
            &:nth-child(6n+6) {
                padding: 15% 20% 0 0;
            }
        }
    }

    @media only screen and (max-width: 767px) {
        gap: 8vw;
    }
}


/*********************************\
             CONTACT
\*********************************/
.wpcf7-form {
    input[type="submit"] {
        width: 100%;
        margin: 0 !important;
    }

    input[name="politica"] + span {
        font-weight: 500;
    }

    input[type="checkbox"] {
        min-height: 0px;
    }

    .wpcf7-list-item {
        margin: 0;
    }

    .wpcf7-spinner {
        margin: 5px 0 0 -12px;
        left: 50%;
    }

    .wpcf7-not-valid-tip {
        font-size: var(--size-psmall);
        line-height: 1.4;
        font-weight: 400;
        color: var(--primary);
    }

    .form-legal {
        padding: 1rem 0 0;

        p {
            font-size: var(--size-psmall);
            line-height: 1.4;
            margin: 0;
        }
    }

    .form-row {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 0 40px;
        margin: 0 0 30px;

        p, label, span {
            margin: 0;
        }

        .full-width {
            grid-column: auto / span 6;
        }

        .half-width {
            grid-column: auto / span 3;
        }

        .third-width {
            grid-column: auto / span 2;
        }
    }
}

input[type=date], input[type=email], 
input[type=number], input[type=password], 
input[type=search], input[type=tel], 
input[type=text], input[type=url], 
select, textarea {
    padding: .84rem 1rem;
    font-size: var(--size-psmall);
    line-height: 1.4;
    font-weight: 400;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--primary);
}


/*********************************\
         PRODUCT ARCHIVES
\*********************************/
.woocommerce-price-suffix {
    font-style: italic;
    font-size: .75em;
    opacity: .6;
}

/* Loop */
.mfn-looped-items > .section_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.8rem;

    .column_image.archive-product-image img {
        aspect-ratio: 1;
        object-fit: contain;
        object-position: center;
    }

    .be_icon_box_2_pckernoj {
        ins {
            text-decoration: none;
        }

        del {
            font-size: .75em;
            font-style: italic;
            font-weight: 400;
            color: var(--primary);
        }
    }
}

/* Subcategories slider */
.shop-subcategories {
    margin: 4.2rem 0 0;
    border-top: 2px solid var(--neutral-3);
    padding: 1.8rem 0 0;

    & > .title {
        font-size: var(--size-h3);
        font-weight: 500;
        text-transform: uppercase;
        margin: 0 0 1.8rem;
    }

    .shop-subcategories-list {
        --margin-x: .64rem;
        
        width: calc( 100% + 2 * var(--margin-x) );
        margin: 0 calc( -1 * var(--margin-x) ) 0 calc( -1 * var(--margin-x) );

        .slick-list {
            overflow: visible;
        }

        .slick-arrow {
            --arrow-size: 2.1rem;

            position: absolute;
            top: calc( var(--slidewidth) / 2 - var(--arrow-size) / 2 - var(--margin-x) );
            width: var(--arrow-size);
            height: var(--arrow-size);
            font-size: 1rem;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            z-index: 10;
            box-shadow: 0 0 10px 0 rgb(0, 0, 0, 0.1);

            &.slick-prev {
                left: var(--margin-x);
            }

            &.slick-next {
                right: var(--margin-x);
            }
        }

        .shop-subcategory {
            display: flex;
            flex-direction: column;
            margin: 0 var(--margin-x) 0 var(--margin-x);

            .title {
                color: var(--neutral-5);
                text-transform: uppercase;
                font-size: var(--size-psmall);
                line-height: 1.4;
                font-weight: 500;
                transition: all .3s ease;
            }

            img {
                width: 100%;
                aspect-ratio: 1;
                object-fit: contain;
                object-position: center;
                border-radius: 3px;
                transition: all .3s ease;
                background: var(--neutral-5);
            }

            a {
                text-decoration: none;

                &:hover {
                    .title {
                        color: var(--primary);
                    }

                    img {
                        transform: scale(1.05);
                    }
                }
            }
        }
    }
}


/*********************************\
          SINGLE PRODUCT
\*********************************/
/* Product price and add to cart */
.woocommerce div.product form.cart {
    justify-content: flex-end;
    align-items: stretch;

    div.quantity {
        margin: 0 .84rem 0 0;
        width: 7.9rem;
    }

    .button {
        width: auto;
        padding: var(--mfn-button-padding) !important;
    }
}

/* Product gallery */
.mfn-product-gallery-grid {
    --margin-x: 0.42rem;

    width: calc( 100% + 2 * var(--margin-x) );
    margin: calc( -1 * var(--margin-x) );
    
    .mfn-product-gg-img {
        width: 50%;
        padding: var(--margin-x);

        .woocommerce-product-gallery__trigger {
            display: none;
        }

        img {
            width: 100%;
            height: auto;
            border-radius: 3px;
        }

        @media only screen and (max-width: 999px) and (min-width: 768px),
               only screen and (max-width: 480px) {
            width: 100%;
        }
    }

    &.mfn-product-gallery-1-images {
        .mfn-product-gg-img {
            width: 100%;
        }
    }
}

/* Related products */
.related-products.mfn-looped-items > .section_wrapper {
    @media only screen and (min-width: 1030px) {
        grid-template-rows: 1fr 0;
        overflow: hidden;
    }
}


/*********************************\
       WOOCOMMERCE - OTHER
\*********************************/
.the_content_wrapper .woocommerce-MyAccount-navigation, 
.woocommerce-page .the_content .cart-collaterals, 
.woocommerce .woocommerce-bacs-bank-details, 
.woocommerce .woocommerce-checkout-review-order, 
.woocommerce .woocommerce-order-details, 
body:not(.mfn-ui) .woocommerce:not(.mfn-cart-tmpl-builder) .cart-collaterals {
    background: var(--neutral-2);
    border-radius: 3px;
}

/* My account - Orders and downloads notifications */
.woocommerce-account.woocommerce-orders .woocommerce-info,
.woocommerce-account.woocommerce-downloads .alert.alert_info {
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--neutral-5);

    &:after,
    .alert_icon {
        display: none;
    }

    .alert_wrapper {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;

        a {
            background-color: var(--mfn-button-bg);
            background-image: var(--mfn-button-bg-image);
            border-color: var(--mfn-button-border-color);
            color: var(--mfn-button-color);
            box-shadow: var(--mfn-button-box-shadow);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--mfn-button-gap);
            font-family: var(--mfn-button-font-family);
            font-size: var(--mfn-button-font-size);
            font-weight: var(--mfn-button-font-weight);
            font-style: var(--mfn-button-font-style);
            letter-spacing: var(--mfn-button-letter-spacing);
            line-height: 1.2;
            padding: var(--mfn-button-padding);
            border-width: var(--mfn-button-border-width);
            border-style: var(--mfn-button-border-style);
            border-radius: var(--mfn-button-border-radius);
            transition: all var(--mfn-button-transition) ease-in-out;

            &:hover {
                background-color: var(--mfn-button-bg-hover);
                background-image: var(--mfn-button-bg-image-hover);
                border-color: var(--mfn-button-border-color-hover);
                color: var(--mfn-button-color-hover);
            }
        }
    }
}

/* My account - Addresses */
.woocommerce-Address {
    background: rgb(0, 0, 0, 25%);
    border-radius: 3px;
    padding: 1.6rem;
}

/* Inputs */
.woocommerce-checkout .form-row.cmjets-checkout-hidden {
    display: none !important;
}

.woocommerce-account,
.woocommerce-checkout {
    .woocommerce form .form-row .input-text, 
    .woocommerce form .form-row select,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row .select2-container--default .select2-selection--single {
        padding: .84rem 1rem;
        font-size: var(--size-psmall);
        line-height: 1.4;
        font-weight: 400;
        border-radius: 3px;
        border-left: 2px solid var(--neutral-5);
        background: var(--neutral-2);
        color: var(--neutral-5);
    
        .select2-selection__rendered {
            padding: 0;
        }

        &::placeholder,
        .select2-selection__placeholder {
            color: var(--neutral-5);
        }
    }
}

.select2-container--open .select2-dropdown {
    border-radius: 3px;
    border: 0;
    background: var(--neutral-2);
    padding: 0.3rem;
    box-shadow: 0 0 10px rgb(0, 0, 0, 20%);

    .select2-results__option {
        color: var(--neutral-5);
    }
}

/* Cart */
.woocommerce table.shop_table {
    .product-thumbnail a img {
        border-radius: 3px;
    }

    td.actions .coupon .input-text {
        letter-spacing: normal;
        font-weight: 500;
    }

    .quantity {
        margin: 0 auto;

        input {
            background: var(--neutral-5);
            border: 0;
            color: var(--neutral-1);
        }

        .quantity-change {
            color: var(--neutral-1);
        }
    }
} 

.ppcp-messages {
    display: none !important;
}

/* Checkout */
.mfn-be-checkout .woocommerce:not(.mfn-cart-tmpl-builder) {
    #customer_details {
        order: 2;
        flex-basis: 66.66%;
        max-width: 66.66%;
        padding-left: 4.2rem;
    }

    #order_review {
        order: 1;
        flex-basis: 33.33%;
        max-width: 33.33%;
        margin: 0;
    }

    @media only screen and (max-width: 959px) {
        #customer_details {
            order: 1;
            flex-basis: 100%;
            max-width: 100%;
            padding-left: 0;
            margin-bottom: 4.2rem;
        }

        #order_review {
            order: 2;
            flex-basis: 100%;
            max-width: 100%;
        }
    }
}

/* Thank you page */
.woocommerce-thankyou-order-received,
ul.order_details,
.mfn-thanks-overview-payment {
    border-radius: 3px;
}

.woocommerce ul.order_details {
    flex-wrap: wrap;

    li {
        flex: 0 0 100%;
        display: flex;
        align-items: center;
        gap: 0.2rem;
        padding: 0.24rem 0;
        justify-content: space-between;
        border: 0;
        border-bottom: 1px solid var(--neutral-3);

        &:last-child {
            border-bottom: 0;
        }
    
        strong {
            margin: 0;
        }

        @media only screen and (max-width: 580px) {
            padding: 0.84rem 0;
            flex-direction: column;
        }
    }
}

.mfn-thanks-overview-payment {
    background: var(--neutral-2);
    padding: 1.8rem;
    text-align: center;

    .woocommerce-bacs-bank-details {
        background: none;
        border-top: 1px solid var(--neutral-3);
        margin: 1.8rem 0 0;
        padding: 1.8rem 0 0;
        display: flex;
        flex-wrap: wrap;

        .wc-bacs-bank-details-heading {
            color: var(--primary);
            text-transform: uppercase;
            font-size: var(--size-psmall);
            font-weight: 600;
            line-height: 1.2;
            width: 100%;
        }

        .wc-bacs-bank-details-account-name {
            margin: 0;
        }

        ul.order_details.bacs_details {
            padding: 0 !important;
            flex-grow: 1;
            margin: 0 !important;

            li {
                padding: 0;
                justify-content: end;
            }
        }
    }
}

.woocommerce .woocommerce-order-details__title {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
}

.woocommerce .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;

    .woocommerce-column {
        background: var(--neutral-2);
        border-radius: 3px;
        padding: 1.8rem;
        width: 100%;
        margin: 0;
        text-align: left;

        .woocommerce-column__title {
            color: var(--primary);
            text-transform: uppercase;
            font-weight: 600;
            font-size: var(--size-psmall);
            line-height: 1.2;
            margin: 0 0 0.82rem;
        }

        address {
            padding: 0;

            &::before {
                content: none;
            }
        }
    }

    &:before,
    &:after {
        display: none;
    }

    @media only screen and (max-width: 580px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*********************************\
            RESPONSIVE
\*********************************/
@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    html.mfn-header-tmpl-burger-sidebar-opened #pojo-a11y-toolbar { 
        display: none; 
    }
}

@media only screen and (max-width: 767px) {
    body .hideMobile {
        display: none !important;
    }

    body.style-simple .responsiveWidth {
        max-width: 670px;
        padding: 0 33px;
    }

    body .section_wrapper, 
    body .container {
        padding-left: 0;
        padding-right: 0;
    }

    body .content_wrapper .mcb-column-inner {
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    body .woocommerce-variation-add-to-cart {
        flex-direction: column;
    }

    body .woocommerce .quantity {
        width: 100%;
        margin: 0 0 5px !important;
    }

    body .woocommerce .product div.entry-summary .cart .button {
        width: 100%;
    }
    
    body .woocommerce .product div.entry-summary .accordion table.shop_attributes tr {
        display: flex;
        flex-direction: column;
        padding: 0 0 10px;
    }
    
    body .woocommerce .product div.entry-summary .accordion table.shop_attributes tr:last-child {
        padding: 0;
    }
    
    body .woocommerce .product div.entry-summary .accordion table.shop_attributes th,
    body .woocommerce .product div.entry-summary .accordion table.shop_attributes td {
        width: 100%;
        padding: 0;
        text-align: left;
    }
}
