/* utils */
.hidden {
    display: none !important;
}

.print-only {
    display: none;
}

@media print {
    .print-only {
        display: block;
    }
}

/* main */
* {
    box-sizing: border-box;
    margin: 0;
}

body {
    font-family: var(--font-family);
    background-color: black;
    color: rgba(255, 255, 255, 0.87);
}

a {
    color: rgba(255, 255, 255, 0.87);
}

p {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

ul {
    padding: 0;
}

nav ul,
footer ul {
    list-style-type: none;
}

img {
    width: 100%;
    height: auto;
}

/* headers */
h1 {
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 52px;
    /* 108.333% */
}

/* nav */
#brands_bar {
    display: none;
}

#brands_container a {
    display: flex;
}

nav {
    display: flex;
    height: 59px;
    padding: 0px 18px 0px 22px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--brand-colour, #ECE81A);
}

nav input[type="checkbox"] {
    display: none;
}

#mobileBurger {
    stroke: white;
    cursor: pointer;
}

.logo-text-link {
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-text-link picture,
.logo-text-link img {
    height: 40px;
    width: auto;
}

#desktop_nav_items_container {
    display: none;
    ;
}

.desktop_nav_item:hover p {
    border-bottom: 3px solid var(--brand-colour);
}

.desktop_nav_item p {
    font-family: var(--font-family-condensed);
}

#search_icon {
    fill: white;
}

#nav_search {
    display: none;
}

#close_menu_container {
    display: flex;
    height: 56px;
    padding: 10px 20px 10px 25px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    align-self: stretch;
}

#close_menu,
.close_sub_menu {
    fill: white;
    cursor: pointer;
}

#mobile_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(29, 29, 29, .9), hsla(0, 0%, 5%, .9));
    box-shadow: 0 4px 34px 0 #000000f2;
    box-shadow: 4px 0px 10px 0px #000;
    z-index: 11;
}

#mobile_menu>div {
    border-bottom: 1px solid #444;
    padding: 0 20px;
}

#top_level_nav {
    margin: 17px 0;
}

#mobile_menu ul>li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 8px;
    height: 44px;
}

.top_level_nav_item>p,
.top_level_nav_item>svg {
    cursor: pointer;
}

#mobile_menu ul>li p {
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    /* 133.333% */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

#mobile_menu ul>li>svg {
    fill: var(--brand-colour);
}

#mobile_menu a {
    text-decoration: none;
}

/* subnavs */
.subnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #151515;
    box-shadow: 4px 0px 10px 0px #000;
}

.subnav_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
}

#mobile_menu .subnav_bottom li {
    padding-left: 28px;
    padding-right: 20px;
}

.subnav_bottom li>a {
    text-decoration: none;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    /* 133.333% */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* language selector */

select[name="language"] {
    background: #15151500;
    color: white;
    width: 100%;
    height: 40px;
    border: none;
    text-align: center;
}

.language_selector_option {
    background: #151515;
    color: white;
    width: 100%;
    height: 40px;
    border: none;
    text-align: center;
}

div#brands_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
}

#brands_container>div {
    padding-left: 12px;
    border-left-width: 2px;
    border-left-style: solid;
}

#brands_container img {
    width: 54px;
    height: 20px;
    object-fit: contain;
}

/* search */
#search_wrapper form {
    position: relative;
    width: 100%;
    max-width: 976px;
}

.fg--search {
    background: white;
    position: relative;
    height: 47px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fg--search input {
    width: 100%;
    padding: 8px 16px;
    display: block;
    height: 100%;
    border: none;
    font-family: var(--font-family)
}

.fg--search input:focus {
    outline: none;
}

.fg--search input:focus+div {
    outline: 2px solid var(--brand-colour);
}

.fg--search svg {
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    margin-right: 10px;
}

/* autocomplete */
#autocomplete-list {
    background-color: var(--anthracite);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    width: 100%;
}

#autocomplete-list div {
    cursor: pointer;
}

/* footer */
footer {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 60px;
}

#footer_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

#newsletter_signup {
    visibility: hidden;
}

#newsletter {
    display: flex;
    gap: 1rem;
}

#newsletter input[type="email"] {
    width: 100%;
    padding: 8px 16px;
    border: none;
    font-family: var(--font-family);
    background-color: var(--anthracite);
    color: white;
    border: 1px solid grey;
    border-radius: .125rem;
}

#newsletter input[type="submit"] {
    width: 13rem;
    border-radius: .125rem;
    --tw-bg-opacity: 1;
    background-color: black;
    font-family: Saira, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    --tw-text-opacity: 1;
    color: white;
    font-size: 14px;
    height: 3.1rem;
    letter-spacing: .05rem;
    border: 1px solid #fff;
}

footer a {
    text-decoration: none;
}

#page_columns {
    gap: 32px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

#page_columns ul a {
    color: #bebebe;
}

footer #social {
    display: flex;
    gap: 16px;
}

#social svg {
    width: 25px;
    height: 25px;
    fill: black;
    background: white;
    border-radius: 50%;
    padding: 4px;
}

#newsletter_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

#copyright {
    border-top: 1px solid #333;
    font-weight: 400;
    font-size: 12px;
    color: #878787;
}


/* 1280, 1920, 2560 */
/* 640, 960, 1280*/
@media screen and (min-width: 500px) {

    /* footer */
    #page_columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 720px) {

    /* nav */
    #brands_bar {
        display: block;
        background-color: #262626;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        height: 40px;
    }

    div#brands_container {
        display: flex;
        gap: 16px;
    }

    #brands_container a {
        display: flex;
        height: 24px;
        align-items: center;
    }

    nav {
        height: 60px;
    }

    .logo-text-link {
        width: 300px;
    }

    .logo-text-link img {
        height: 40px;
    }

    #nav_search .form-group {
        height: 40px;
    }

    #mobile_nav_items_container {
        display: none;
    }

    #desktop_nav_items_container {
        display: block;
    }

    #mobile_toggle_container {
        display: none;
    }

    #desktop_nav_items_container {
        display: block;
        height: 100%;
    }

    #desktop_nav_items_list {
        display: flex;
        align-items: center;
        gap: 50px;
        height: 100%;
    }

    .desktop_nav_item {
        height: 100%;
        vertical-align: middle;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .desktop_nav_item p {
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        text-transform: uppercase;
        border-bottom: 3px solid transparent;
    }

    .desktop_subnav {
        display: none;
        cursor: default;
    }

    .desktop_subnav_list {
        display: flex;
        gap: 50px;
        align-items: center;
        justify-content: center;
        height: 200px;
    }

    .desktop_subnav_list_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 220px;
    }

    .desktop_subnav_list_item img {
        width: 84px;
    }

    .desktop_subnav_list_item a {
        color: white;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 19px;
        /* 95% */
        text-transform: uppercase;
        text-align: left;
        text-decoration: none;
        font-family: var(--font-family-condensed);
    }

    .desktop_nav_item:hover .desktop_subnav {
        display: block;
        position: absolute;
        top: 99px;
        left: 0;
        width: 100%;
        background: #151515;
        box-shadow: 0px 4px 10px 0px #000;
        z-index: 1;
        background: linear-gradient(180deg, rgba(29, 29, 29, .9), hsla(0, 0%, 5%, .9));
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 34px 0 #000000f2;
    }
}

@media screen and (min-width: 960px) {
    #nav_search {
        display: block;
        width: 300px;
    }

    /* footer */
    #page_columns {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 1280px) {

    /* footer */
    #footer_wrapper {
        flex-direction: row;
    }
}