#header {
    margin-bottom: 15px;
}

    #header h1 {
        padding: 20px 0;
        text-align: center;
    }

        #header h1 a {
            display: inline-block;
        }

        #header h1 strong, #header h1 em {
            display: none;
        }

        #header h1 img {
            display: block;
        }

    #header .nav {
        display: grid;

        grid-template-columns: [menu] 1fr [shopping-bag] auto;
        grid-template-rows: 1fr;
        grid-column-gap: 15px;
    }

        #header .nav .shopping-bag {
            padding: 10px 0;

            border-top: 1px solid var(--color-link);
            border-bottom: 1px solid var(--color-link);
        }

            #header .nav .shopping-bag a {
                display: inline-block;
                padding: 0 25px;

                font-family: var(--alt-font);
                font-size: 26px;
                line-height: 28px;
                text-transform: uppercase;
            }

            #header .nav .shopping-bag a b {
                font-size: 30px;
                font-weight: normal;
                color: var(--color-base);
            }

        #header .nav .pages {
            padding: 10px 0 5px 0;

            border-top: 1px solid var(--color-link);
            border-bottom: 1px solid var(--color-link);
        }

            #header .nav .pages a {
                display: inline-block;
                margin-bottom: 5px;
                padding: 0 15px;

                border-right: 1px solid var(--color-link);

                font-family: var(--alt-font);
                font-size: 26px;
                line-height: 28px;
                text-transform: uppercase;
            }

            #header .nav .pages a.active {
                color: var(--color-link-hover);
            }

            #header .nav .pages a.label {
                font-weight: bold;
            }

            #header .nav .pages > a:last-child {
                border-right: none;
            }

        #header .nav .pages .submenu {
            display: inline-block;
            position: relative;

            &.mobile-languages {
                display: none;
            }

            &:hover {
                .subpages {
                    display: inline-flex;
                }
            }

            > a {
                i {
                    display: none;
                }
            }

            .subpages {
                display: none;
                position: absolute;
                flex-direction: column;
                top: 100%;
                left: 20px;
                padding: 0;
                margin: 0;
                list-style: none;
                z-index: 1;

                background: var(--bg-color-base);
                border-radius: 3px;
                box-shadow: 0 1px 4px rgba(197, 7, 27, 0.5);
                animation: show-from-top 0.2s ease-out;

                a {
                    display: block;
                    white-space: nowrap;
                    margin: 0;
                    padding: 2px 15px;
                    border: 0;
                    text-transform: none;
                }
            }
        }

    #header .user {
        display: flex;
        padding: 0 0 10px 0;

        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

        #header .user .menu {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;

            font-family: var(--alt-font);
            font-size: 26px;
        }

        #header .user .menu > a {
            float: left;

            padding-right: 10px;
            margin-right: 5px;

            border-right: 1px solid var(--color-link);

            line-height: 33px;
        }

            #header .user .menu > a:last-child {
                padding-right: 0;
                margin-right: 0;
                border-right: none;
            }

            #header .user .menu .language {
                position: relative;
            }

                #header .user .menu .language menu {
                    position: absolute;
                    display: none;
                    flex-direction: column;
                    top: 100%;
                    right: 0;
                    padding: 0;
                    margin: 0;
                    list-style: none;
                    z-index: 1;

                    background: var(--bg-color-base);
                    border-radius: 3px;
                    box-shadow: 0 1px 4px rgba(197, 7, 27, 0.5);
                    animation: show-from-top 0.2s ease-out;
                }

                #header .user .menu .language.active menu {
                    display: flex;
                }

                #header .user .menu .language menu a {
                    display: flex;
                    padding: 2px 15px;
                }
                    #header .user .menu .language menu a:hover {
                        color: var(--color-accent);
                    }

                #header .user .menu .language menu a.current {
                    color: var(--color-link-hover);
                }

                #header .user .menu .language menu a .fi {
                    width: 15px;
                    margin-right: 10px;
                }

                #header .user .menu .language button {
                    display: flex;
                    border: none;
                    background: none;
                    color: var(--color-link);
                    text-transform: uppercase;
                    font-size: 22px;
                    cursor: pointer;
                }
                    #header .user .menu .language button:hover {
                        color: var(--color-accent);
                    }

                    #header .user .menu .language.active button {
                        color: var(--color-link-hover);
                    }

                    #header .user .menu .language button i {
                        margin-right: 3px;
                    }

                    #header .user .menu .language button .fi {
                        margin-right: 5px;
                        width: 20px;
                    }

        #header .user .social {
            display: flex;

            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
        }

            #header .user .social a {
                padding: 2px 5px 0 0;
                font-size: 22px;
            }

            #header .user .social .adult {
                overflow: hidden;
                width: 20px;
                height: 20px;

                background: url('../images/18plus.png') bottom center no-repeat;

                text-indent: -9999px;
            }

@media only screen and (max-width: 720px) {
    #header .nav {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
        grid-row-gap: 0;
    }

    #header .nav .shopping-bag {
        border-top: none;
    }
}