.navbar {
    background-color: #410709;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    max-height: 48px;
    min-height: 48px;
    position: relative;
    width: 100%;
    z-index: 101;
}

.navbar a {
    color: inherit;
    text-decoration: none;
}

.nav-container {
    width: 100%;
    position: fixed;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    font: normal normal normal 16px/32px Mulish;
    width: calc(100% - 350px);
}

.nav-menu li {
    padding: 7px 15px;
    border-right: 2px solid #290506;
    margin: 0;
}

.nav-menu li:last-child {
    border: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.nav-menu a:hover {
    color: white;
    text-decoration: none;
}

.nav-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #410709;
    width: 350px;
}

.nav_right {
    width: 170px;
}

.nav-right i {
    padding: 16px 12px;
}

.nav-right div i {
    padding: 0;
    margin-left: 20px;
}

.nav-right>* {
    border-right: 2px solid #290506;
    cursor: pointer;
}

.nav-contact {
    display: flex;
    align-items: center;
    font: normal normal bold 16px/27px Mulish;
    background-color: #290506;
    padding: 10px;
}

.nav-contact div i {
    margin-left: 20px;
}

.contact-number {
    margin: 0 20px 0 10px;
    font-size: 16px;
}

.cart-icon {
    font-size: 24px;
}

.fa-cart-shopping {
    position: relative;
}

#cartQty {
    position: absolute;
    top: 9px;
    right: 2px;
    font-size: 10px;
    border-radius: 40%;
    background: #9f1010;
    width: fit-content;
    height: fit-content;
    padding: 2px 5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.nav-dropdown-header {
    background-color: #fff;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    align-items: center;
    z-index: 99;
    height: 80px;
    transition: top 0.3s;
}

.nav-dropdown-header .btn-alt {
    height: 35px;
    width: 300px;
}

.logo {
    text-align: center;
    cursor: pointer;
}

.logo img {
    width: 200px;
}

.nav-dropdown-menu {
    list-style: none;
    display: flex;
    padding: 0;
    align-items: center;
    width: fit-content;
}

.nav-dropdown-menu li {
    margin: 0 15px;
    cursor: pointer;
}

.nav-dropdown-menu a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
}

.nav-dropdown-menu li.selected,
.nav-dropdown-menu li:hover {
    border-radius: 5px;
    text-decoration: underline;
    text-decoration-color: #E5DBBA;
    text-decoration-thickness: 8px;
    text-underline-offset: -4px;
    text-decoration-skip-ink: none;
}

.nav-dropdown-body {
    background-color: #fff;
    /* padding: 20px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    z-index: 98;
    top: -600px;
    transition: top 0.6s;
}

.dropdown-menu {
    width: fit-content;
    /* max-width: 1200px; */
    display: none;
    justify-content: center;
    margin: 0 auto;
}

.dropdown-menu.selected {
    display: flex;
}

.dropdown-menu h3 a {
    text-decoration: none;
    color: inherit;
}

.dropdown-menu h3 a:hover {
    color: #410709;
    text-decoration: underline;
    text-decoration-color: #F7E4A5;
    text-decoration-thickness: 16px;
    text-underline-offset: -8px;
    text-decoration-skip-ink: none;
}

.dropdown-row {
    display: flex;
    flex-direction: row;
    width: calc(100% - 26px);
    justify-content: center;
}

.dropdown-column {
    flex: 0 0 300px;
    padding: 24px;
}

.dropdown-column h3 {
    font-weight: bold;
    color: #410709;
    font-size: 20px;
    margin: 10px 30px 0 0;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column li {
    margin-bottom: 0px;
    margin-left: 5px;
    height: 28px;
}

.dropdown-column li ul {
    padding-left: 20px;
}

.dropdown-column li a {
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    font-size: 16px;
    margin-left: 5px;
}

.dropdown-column ul ul:not(:first-child) li a {
    color: #8B0000;
}

.dropdown-column a:hover {
    color: #410709;
    text-decoration: underline;
    text-decoration-color: #E5DBBA;
    text-decoration-thickness: 8px;
    text-underline-offset: -4px;
    text-decoration-skip-ink: none;
}

.dropdown-column.h3-img-btn {
    text-align: center;
}

.h3-img-btn h3 {
    margin: 0;
}

.h3-img-btn img {
    height: 200px;
    margin: 12px;
}

.h3-img-btn button {
    height: 36px;
}

.breadcrumbs-container-small {
    height: 50px;
    width: 100%;
    background-color: #F5F1E2;
    position: relative;
    z-index: 99;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumbs-container-small .breadcrumbs {
    background: linear-gradient(to bottom, #7D0B0E, #290506);
    color: #F5F1E2;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    width: fit-content;
    height: 100%;
    padding: 0px 128px 0 436px;
}

h3 a {
    color: #410709 !important;
}

.hamburger {
    display: none;
}

.dropdown-menu span,
.mobile.logo {
    display: none;
}

@media only screen and (max-width: 768px) {
    .hamburger {
        display: block;
        max-width: 38px;
    }

    .nav-container {
        background-color: #7F0B0E;
    }

    .mobile.logo {
        display: block;
        width: 125px;
        height: auto;
        margin: 0 auto;
        width: calc(100% - 170px)
    }

    .mobile.logo img {
        width: 125px;
        height: 39px;
    }

    #commercial-racks h3,
    #commercial-racks ul::after,
    .dropdown-column ul ul::after,
    .dropdown-column>*:not(h3),
    .nav-right a[href="/my-projects"],
    .nav-dropdown-header,
    .nav-menu,
    .contact-number {
        display: none;
    }

    .nav-right {
        width: 170px;
    }

    .nav-right a {
        border: none;
    }

    .nav-right div i {
        margin: 0;
    }

    .nav-contact {
        padding: 10px 12px;
        background-color: #410709;
        border: none;
    }

    .navbar {
        background-color: #7F0B0E;
        width: 100vw;
    }

    .nav-dropdown-body {
        top: 48px !important;
        position: fixed;
        max-height: 80vh;
        overflow-y: scroll;
        display: none;
    }

    .dropdown-menu {
        display: flex;
        flex-direction: column;
        background: #F5F1E2;
        width: 100%;
    }

    .dropdown-menu>*:not(span) {
        display: none;
        padding: 0;
    }

    .dropdown-column h3,
    .dropdown-menu span {
        font: normal normal bold 14px/27px Mulish;
        letter-spacing: 1.4px;
        padding: 8px;
        display: block;
        position: relative;
        width: auto;
        background: #FFF;
    }


    .dropdown-column>ul {
        position: relative;
        padding: 12px 0;
    }

    .dropdown-column>ul>ul {
        margin: 0;
    }

    .dropdown-column>ul>ul> :not(:first-child) {
        display: none;
    }

    .dropdown-column>ul>ul.selected>li:not(:first-child) {
        display: block;
        margin-left: 12px;
        color: #7F0B0E;
    }

    .dropdown-menu span {
        box-shadow: 0px 10px 12px 0px rgba(0, 0, 0, 0.1);
    }

    .dropdown-column ul ul::after,
    .dropdown-column h3::after,
    .dropdown-menu span::after {
        content: 'V';
        position: absolute;
        right: 24px;
        top: -8px;
        transform: translateY(75%);
        display: inline-block;
        width: 24px;
        height: 24px;
        text-align: center;
        line-height: 25px;
        font-size: 10px;
        color: #000000;
        font-weight: bold;
        padding-left: 1px;
        transform-origin: 50% 90%;
        background-color: #FFF;
    }

    .dropdown-column ul ul::after {
        top: -2px;
    }


    .dropdown-menu span::after {
        background-color: #F5F1E2;
    }

    .dropdown-column h3.selected+*,
    .dropdown-menu span.selected~*,
    .dropdown-row>* {
        display: flex;
        flex-direction: column;
        margin: 0;
        flex: 0 1 auto;
    }

    .dropdown-column ul.selected::after,
    .dropdown-column h3.selected::after,
    .dropdown-menu span.selected::after {
        background-color: #EBCB62;
        transform: rotate(180deg);
    }


    .dropdown-column h3 {
        font: normal normal normal 18px/32px Mulish;
        letter-spacing: 0px;
        margin: 0;
        background: inherit;
        border-bottom: 1px solid #E5DBBA;
    }

    .dropdown-column h3.selected+* {
        border-bottom: 1px solid #E5DBBA;
    }

    .dropdown-column>* {
        padding-left: 36px !important;
    }

    .dropdown-column h3:last-child::after {
        display: none;
    }

    #commercial-racks .dropdown-column ul {
        display: block;
    }
}