/*
 * Koleksiyonlar mega menüsü
 * Var olan app.css'den SONRA yüklenmelidir.
 */

@media only screen and (min-width:1024px) {
    #nav > ul > li.nav-collection-mega {
        position: static;
    }

    #nav > ul > li.nav-collection-mega > span.collection-mega-menu {
        left: 50%;
        width: 760px;
        transform: translateX(-50%);
    }

    #nav > ul > li.nav-collection-mega > span.collection-mega-menu::before {
        display: none;
    }
}

.collection-mega-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 112px;
    align-items: start;
}

.collection-mega-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.collection-mega-column > a {
    float: left;
    width: 100%;
    padding: 10px 15px;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 0 8px 0 8px;
}

.collection-mega-title {
    color: #755946;
    float: left;
    width: 100%;
    padding: 10px 15px;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 0 8px 0 8px;
}

.collection-mega-column > a strong {
    font-weight: 500;
}


/* Eski koleksiyon menüsü fallback'i mega kutu içinde düzgün dursun. */



@media only screen and (max-width:1023px) {
    #nav > ul > li.nav-collection-mega {
        position: relative;
    }

    #nav > ul > li.nav-collection-mega > span.collection-mega-menu {
        width: 100% !important;
        padding: 22px 25px 25px;
        margin: 0 0 20px;
        top: auto;
        left: auto !important;
        transform: none;
        border-radius: 0;
        background: rgba(14,14,14,0.22);
    }

    #nav > ul > li.nav-collection-mega > span.collection-mega-menu::before {
        display: none;
    }

    .collection-mega-grid {
        column-gap: 45px;
    }

    .collection-mega-title {
        margin-bottom: 10px;
        color: rgba(255,255,255,0.5);
    }

}

@media only screen and (max-width:640px) {
    .collection-mega-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
}
