a { 
    text-decoration: none;
}


.header-button {
    display: flex;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 400;
    text-rendering: inherit;
    color:#402620;
}

.header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #FFBD59;
    position: relative;
}

.header-desktop .left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.header-desktop .right {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-desktop svg {
    height: 40px;
    width: auto;
}

.header-desktop .logo {
    margin-left: 20px;
}

.header-desktop .logo img {
    height: 50px;
}

.header-desktop .search-icon {
    font-size: 20px;
    cursor: pointer;
    color: #402620;
    transition: transform 0.5s ease;
}

.header-desktop .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-desktop .nav-links a {
    color: #402620;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
}

.header-desktop .cart {
    font-size: 20px;
    cursor: pointer;
    color: #402620;
    margin-left: 40px;
    position: relative;
}

.cart-count {
    background-color: #FF0000;
    color: #FFFFFF;
    border-radius: 100%;
    padding: 2px 7px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.header-desktop .dropdown {
    position: relative;
    display: inline-block;
}

.header-desktop .dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFBD59;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 1 !important;
    border: 1px solid #FFBD59;
    border-radius: 10px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
}

.header-desktop .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #FFBD59;
}

.header-desktop .dropdown-content a:hover {
    background-color: rgb(255, 245, 220);
}

.top-border {
    border-top: 2px solid rgb(255, 245, 220);
}

.header-desktop .dropdown.show .dropdown-content {
    display: block;
}

.header-desktop .dropdown.show .dropbtn {
    background-color: #FFBD59;
}


.header-mobile {
    display: none;
    background-color: #FFBD59;
    padding: 10px;
    padding-bottom: 5px;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    align-items: center;
}

.header-mobile .logo {
    padding: 5px;
    justify-self: center;
}

.header-mobile .logo img {
    height: 40px;
    width: auto;
}

.header-mobile .right {
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: flex-end;
}

.header-mobile .right a {
    text-decoration: none;
    color: currentColor;
}

.header-mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: #FFBD59;
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
}

.header-mobile-menu.open {
    padding: 10px;
    max-height: 500px;
}

.header-mobile-submenu {
    background-color: rgb(255, 245, 220);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
}

.header-mobile-submenu.open {
    max-height: 300px;
}

.header-mobile-menu-link, .header-mobile-category-menu-link {
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    font-weight: normal;
    font-size: 18px;
    cursor: pointer;
}

.header-mobile-menu a {
    margin: 0;
}

.header-mobile-menu .header-mobile-category-menu {
    margin: 0;
    padding: 10px 0px;
}

#scrollToBottomBtn {
    background: none;
    border: none;
    color: #402620;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    font-family: "Poppins", sans-serif;
    font-style: normal;
}

@media screen and (max-width: 768px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: grid;
    }

    #scrollToBottomBtn {
        margin: 0;
        padding: 5px 0px;
        font-size: 18px;
        font-weight: 400;
        text-align: left;
    }

    .header-button {
        font-size: 19px;
    }
}
