/***DESKTOPS (XX-LARGE SCREEN)
*****************************************************/
@media (min-width: 1600px) {  
}

/***DESKTOPS (X-LARGE SCREEN)
*****************************************************/
@media (min-width: 1600px) {  
}

/***DESKTOPS (LARGE SCREEN)
*****************************************************/
@media (min-width: 1440px) {  
}

/***DESKTOPS (MEDIUM SCREEN)
*****************************************************/
@media (min-width: 1281px) {  
}

/***DESKTOP (NOTEBOOKS and DESKTOPS)
*****************************************************/
@media (min-width: 1025px) and (max-width: 1280px) {
}

/***FROM TABLETS TO MOBILES (LANDSCAPE and PORTRAIT)
*****************************************************/
@media (max-width: 1024px) {

}

/***TABLETS (LANDSCAPE)
*****************************************************/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
}

/***TABLETS (PORTRAIT)
*****************************************************/
@media (min-width: 768px) and (max-width: 1024px) {
}

/***SMALL TABLETS, MOBILES (LANDSCAPE)
*****************************************************/
@media (min-width: 481px) and (max-width: 767px) {
}

/***NOT MOBILES (PORTRAIT)
*****************************************************/
@media (min-width: 481px) {
    .mobile {
        display: none;
    }
}

/***MOBILES (PORTRAIT)
*****************************************************/
@media (max-width: 480px) {
    :root {
        --viewportHeight: calc(var(--vh, 1vh) * 100);
        --spaceY: calc(var(--fontSizeMedium) * 0.9);
        --spaceX: calc(var(--fontSizeMedium) * 0.9);
        --siteNameHeight: calc(var(--rowGutter)* 2.4);
        --headerHeight: calc(var(--spaceY)*1 + var(--siteNameHeight) + var(--rowGutter)*2.5);
        --mainTopSpace: var(--headerHeight);
    }
    body {
        height: 100vh; /* Fallback */
        height: var(--viewportHeight);
    }
    video.back_video {
        display: none;
    }
    header {
        width: 100%;
        min-height: var(--headerHeight);
        position: fixed;
        padding-inline: var(--spaceX);
        transition: background var(--transitionDuration);
        /*pointer-events: none;*/
    }
    header:not(.active) {
        background: rgba(255, 255, 255, 0);
    }
    header.active {
        background: rgba(255, 255, 255, 0.96);
    }
    .site_name {
        width: 100%;
        /*pointer-events: auto !important;*/
        z-index: 300;
    }
    .site_name img {
        min-height: inherit;
    }
    nav.menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 300;
    }
    nav.menu .menu_button {
        position: absolute;
        top: 0;
        right: 0;
        color: var(--paletteRed);
        /*pointer-events: auto !important;*/
        z-index: 300;
    }
    body#privacy nav.menu .menu_button,
    body#delivery nav.menu .menu_button,
    body#legal nav.menu .menu_button {
        display: none;
    }
    nav.menu ul {
        width: 75%;
        display: flex;
        flex-direction: column;
        justify-content: initial;
        gap: calc(var(--rowGutter)*4) 0; 
        transition: opacity var(--transitionDuration);
    }
    header:not(.active) nav.menu ul {
        height: calc(var(--rowGutter));
        opacity: 0;
        pointer-events: none;
    }
    header.active nav.menu ul {
        height: calc(var(--viewportHeight) - var(--headerHeight) + 7px);
        opacity: 1;
        pointer-events: auto;
    }
    section.thumb_grid {
        margin-top: 0;
    }
    .center_col .data {
        top: calc(var(--headerHeight));
    }
    .center_col .data .section_title {
        color: var(--paletteBlack) !important;
        /*padding-bottom: var(--rowGutter);*/
    }
    .center_col .data .check_sizes > .sizes_chart {
        width: 100%;
    }
    .center_col .data .check_sizes > .sizes_chart > div {
        flex: 1;
    }
    .cursor_area .zoom_button {
        display: none !important;
    }
    .cursor_area:hover .zoom_button {
        display: none;
    }
    footer {
        flex-direction: column;
        z-index: 300;
        /*padding: calc(var(--rowGutter)*2) var(--spaceX);*/
    }
    footer > .shipping_message:not(.active) {
        display: none;
    }
    footer > .shipping_message.active {
        display: inline;
    }
    body#index footer {
        width: auto;
        left: 50vw;
        transform: translateX(-50%);
        background: var(--paletteWhite);
        border: var(--borderLine);
        padding: calc(var(--rowGutter)*0.5) calc(var(--spaceX)*0.5);
        bottom: calc(var(--rowGutter)*2);
    }
    body#index footer .footer_space {
        display: none;
    }
    body#index .footer_cookies, 
    body#index .shipping_message {
        width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
    }
    
    body#index nav.footer_menu {
        display: none;
    }
    body:not(#index) .footer_cookies,
    body:not(#index) .shipping_message {
        display: none;
    }
    
}