/* Amasty Mega Menu Override */

.ammenu-items-list.custom > li .ammenu-text {
    font-size: 1.8rem;
    font-weight: 700;
    padding-top: 10px;
}

.ammenu-items-list.custom {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}
    
.ammenu-items-list.custom > li {
    flex: 0 0 20%; /* 100% / 6 = ~16.66% per item */
    max-width: 20% !important;
    height: auto;
    box-sizing: border-box;
}

.ammenu-submenu-block.-builder.-root .ammenu-link .ammenu-text {
    white-space: pre-wrap !important;
}

.ammenu-link.owh-custom-mega-menu {
    color: rgb(26, 26, 26);
    font-size: 1.6rem;
    line-height: 20px;
    padding: 0 0 20px 0;
    -webkit-animation: ammenu-animation__fadeIn 0.1s forwards;
    animation: ammenu-animation__fadeIn 0.1s forwards;
    display: flex;
    align-items: center;
    background: none;
    border-color: transparent;
    font-weight: inherit;
    outline: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    text-align: left;
    width: 100%;
}

.ammenu-link.owh-custom-mega-menu:hover {
    color: #004a75 !important;
}

.ammenu-item.category-item.owh-custom-mega-menu {
    margin-bottom: 20px !important;
}

@media screen and (min-width: 1280px)  {
    .ammenu-link > figure.ammenu-icon-block:not(.-toggle) {
        display: none !important;
    }
}
