i {
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

i:hover {
    color: var(--accent-color);
}

.scrolled {
    background: var(--text-light);
}

.scrolled .mh-c-nc-list li a, .scrolled i {
    color: var(--text-dark);
}


.cart-icon-menu-item {
    position: relative;
}

.cart-contents {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: 30%;
    right: -15px;
    background-color: var(--main-color);
    color: var(--text-light);
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

#main-header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: all 200ms ease-in-out;
    margin-top: 0 !important;
    background-color: white;
}


.mh-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6rem;
    height: 100px;
}

.mh-container a {
    font-size: 1rem;
}

.mh-c-logo {
    width: 260px;
    object-fit: contain;
    margin-left: 2rem;
}

.mh-c-navigation-container {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    height: 100%;
}


.mh-c-nc-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 30px;
}

.mh-c-nc-list .mh-c-nc-l-link {
    height: 100%;
    display: flex;
    align-items: center;
}

.mh-c-nc-list .mh-c-nc-l-link a {
    color: var(--text-light);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mh-c-nc-list li a:hover {
    color: var(--accent-color);
}

.mh-c-nc-products a, .mh-c-nc-shops-button a {
    margin-right: .4rem;
}

.mh-c-nc-icons {
    height: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.mh-c-nc-icons li:first-child {
    margin-left: -20px;
    padding-left: 2rem;
}


.mh-c-nc-categories {
    position: absolute;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    top: 100px;
    background-color: var(--bg-color);
    width: 100%;
    left: 0;
    padding: .5rem 20% 1rem 20%;
    box-shadow: 0 4px 20px #00000010;
    transition: all 400ms ease-in-out;
}

.mh-c-nc-categories li a {
    color: var(--accent-color);
}

.mh-c-nc-categories img {
    width: 30%;
    height: 30%;
    object-fit: cover;
}

.mh-c-nc-c-container {
    height: 400px;
}

.mh-c-nc-c-c-title h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 20px 0;
}

.mh-c-nc-c-c-title h3 i {
    margin-right: 10px;
}

.mh-c-nc-c-c-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 90px;
    margin-right: 2rem;
    height: 350px;
}

.mh-c-nc-s-content {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.mh-c-nc-c-c-content {
    font-size: 1rem;
}

.search-modal {
    background-color: var(--text-light);
    width: 100%;
    padding: 2rem 1rem;
    position: absolute;
    right: 0;
    top: 100px;
    display: flex;
    justify-content: center;
}

.search-modal input {
    width: 700px;
    padding: .5rem;
    border: 1px solid var(--text-gray-1) !important;
    border-radius: 50px !important;
    font-size: 1rem;
    color: var(--text-dark) !important;
    background-color: var(--text-light) !important;
}

.search-modal input:focus {
    outline: none;
}

.search-modal button {
    background-color: var(--main-color);
    border: none;
    cursor: pointer;
    border-radius: 2px;
}

.search-modal button i {
    color: var(--text-light);
}

.search-modal button:active {
    background-color: var(--main-color-hover);
}

.close-search-modal {
    background-color: transparent !important;
}

.search-modal-content .close-search-modal {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: .6rem !important;
    margin-left: .6rem !important;
}

.close-search-modal i {
    margin: 0;
    border: none;
    color: var(--text-gray-3) !important;
    font-size: 1.5rem;
}

#search-modal-mobile {
    width: 100%;
    right: 0;
}

.mh-c-nc-shops {
    position: absolute;
    padding: 1.5rem 20%;
    justify-content: space-between;
    display: flex;
    right: 0;
    top: 100px;
    z-index: 1000;
    background-color: var(--bg-color);
    width: 100%;
    box-shadow: 0 4px 20px #00000010;
}	

.mh-c-nc-shops li a {
    color: var(--accent-color);
}

.mh-c-nc-shops img {
    width: 30%;
    height: 30%;
    object-fit: cover;
}

.mh-c-nc-shops h3 {
    font-size: 1rem;
    font-weight: 700;
}

.mh-c-nc-shops h3 i {
    margin-right: 10px;
}

/* Barra negra animada debajo de los links */
.mh-c-nc-list .nav-underline {
    position: relative;
    display: inline-block;
}
.mh-c-nc-list .nav-underline > a,
.mh-c-nc-list .nav-underline > i,
.mh-c-nc-list .nav-underline > span {
    position: relative;
    z-index: 1;
}
.mh-c-nc-list .nav-underline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 3px;
    background: #111;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.mh-c-nc-list .nav-underline:hover::after,
.mh-c-nc-list .nav-underline:focus-within::after {
    transform: translateX(-50%) scaleX(1);
}

/*
////////////
---MOBILE---
////////////
*/
.mh-c-mobile-container {
    display: none;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.menu-responsive {
    background-color: var(--bg-color);
    position: fixed;
    width: 100%;
    height: calc(100vh - 100px);
    top: -100vh;
    transition: all 400ms ease-in-out;
    z-index: 900;
}

.menu-responsive-deployed {
    top: 100px;
    overflow-y: scroll;
}

.mr-list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0;
}

.mr-list li {
    display: flex;
    justify-content: space-between;
    padding: .4rem 3rem;
    border-bottom: .5px solid var(--text-gray-1);
    width: 100%;
}

.mr-list li a {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.mr-products, .mr-shops-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mr-products i, .mr-shops-button i {
    height: 100%;
    color: var(--text-dark);
}

.mr-categories, .mr-shops {
    background-color: #ffe6e7;
    width: 100%;
    height: 0vh;
    overflow: hidden;
}

.show-mobile {
    height: 100%;
}

.mr-categories li, .mr-shops li {
    padding-left: 5rem;
}

.mr-categories li a, .mr-shops li a {
    font-size: 1rem;
}

@media screen and (max-width: 500px) {
    .mh-container {
        padding: 0 1rem;
    }

    .mh-container a {
        margin-right: 1rem;
    }
}

@media screen and (max-width: 1100px) {
    .mh-c-navigation-container {
        display: none;
    }

    .mh-c-logo {
        margin-left: 0;
    }
    
    .mh-c-mobile-container {
        display: flex;
        gap: 20px;
    }

    .search-modal button {
        margin-top: 1rem;
        width: 100%;
    }

    .search-modal-content {
        width: 80% !important;
    }


    .close-search-modal {
            margin-left: 0 !important;
    }

    .search-modal input {
        width: 100%;
    }

    .woocommerce-product-search {
        width: 100%;
    }
}