:root {
    --gold-color-ht: hsl(38deg, 33%, 23%);
}

.secondary-nav {

    display: flex;
    justify-content: center;
}

.navbar {
    overflow: hidden;
    background-color: #fff;
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.1rem;
    overflow: hidden;
    overflow-x: auto;
}

.navbar::-webkit-scrollbar {
    height: 0;
}

.navbar a {
    float: left;
    text-decoration: none;
    font-size: inherit;
    color: inherit;
    text-align: center;
    padding: 15px 16px;
    font-family: inherit;
    white-space: nowrap;
}

.sub-menu {
    float: left;
    overflow: hidden;
    font-family: inherit;
    min-width: fit-content;
}

.sub-menu .btn {
    font-size: inherit;
    outline: none;
    color: inherit;
    padding: 14px 16px;
    background: inherit;
    font-family: inherit;
    margin: 0;
    border: none;

}

.navbar a:hover,
.sub-menu:hover,
.btn {
    background-color: var(--gold-color-replacement, hsl(38deg, 33%, 23%));
    color: #fff;
}

.content {
    display: none;
    position: absolute;
    left: 0;
    color: initial;
    z-index: 1;
    font-family: inherit;

}

.content a {
    float: left;
    color: inherit;
    text-decoration: none;
}

.content .content-sub:hover,
.content a:hover {
    background-color: #eee;
    color: var(--gold-color-replacement, hsl(38deg, 33%, 23%));
}

.content-sub-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 6px;
    width: 0;
    overflow: hidden;
    transition: width 0.2s ease-out;
    font-family: inherit;
}

.content-sub-wrapper::before {
    content: "";
    display: block;
    width: 0%;
    height: 5px;
    background: var(--gold-color-replacement, hsl(38deg, 33%, 23%));
    /* background: linear-gradient(45deg, hsl(38deg, 33%, 23%), transparent); */
    transition: all .4s ease-in-out 0.2s;
}

.content-sub {
    font-family: inherit;
}

.sub-menu:hover .content {
    display: flex;
    flex-direction: column;
    /* border: 1px solid; */
    width: 100%;
    min-width: 250px;
    min-height: 20vh;
    max-height: 100vh;
    padding: 1% 4% 5% 9%;
}

.sub-menu:hover .content-sub-wrapper::before {
    width: 100%;
}

.sub-menu:hover .content-sub-wrapper {
    width: 100%;
}

.product-categories {
    margin-top: -0.3rem;
}

.product-categories > a {
    font-family: 'Barlow Condensed', 'Futura PT', sans-serif;
    font-size: 1rem;
    color: inherit;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.5rem;
    display: inline-flex;
    align-items: flex-end;
    column-gap: 0.33rem;
    text-decoration: none;
    opacity: 0.7;
    white-space: nowrap;
    margin-right: 0.83rem;
    transition: all 500ms ease-in;
}

.product-categories > a:hover {
    opacity: 0.9;
}

.product-categories svg {
    transform: rotate(90deg) translate(-2px, 0px);
}

@media screen and (min-width: 700px) {
    .sub-menu:hover .content {
        display: flex;
        flex-direction: column;
        /* border: 1px solid; */
        left: auto;
        width: unset;
        min-width: 250px;
        min-height: 20vh;
        max-height: 100vh;
        padding: 1% 0% 0% 0%;
        transform: translate(-19px, 2px);
    }
}

@media screen and (max-width: 500px) {
    .navbar {
        margin-top: -2vh;
    }
}