﻿/*#region product List*/

/*#region Filters*/
.product-list-section {
    max-width: 1200px;
    width: 100%;
    justify-self: center;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1rem;
}
.categorie-cart-custom {

    height: 300px;
}
.filters {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff; /* Daha temiz görünüm */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* hafif gölge */
    overflow: hidden;
    border: 1px solid #eee;
    height: max-content;
}

    .filters > h3 {
        height: 50px;
        background: #f0f0f0;
        align-items: center;
        display: flex;
        padding: 0 15px;
        gap: 5px;
        font-weight: 600;
        font-size: 13px;
        letter-spacing: .3px;
        border-radius: 9px;
        margin: 11px auto;
        width: 80%;
        color: var(--red);
    }

.filter-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

    .filter-card:last-child {
        border-bottom: none;
    }

    .filter-card > p {
        padding: 10px 1rem;
        font-size: 13px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background 0.2s, color 0.2s;
        user-select: none;
    }

        .filter-card > p:hover {
            background: #fafafa;
            color: var(--red-hover);
        }

        .filter-card > p > i {
            transition: transform 0.3s, color 0.3s;
            stroke-width: 2px;
            font-size: 10px;
        }

            .filter-card > p > i.active {
                transform: rotate(90deg);
                color: var(--red-hover);
            }

.filter-card-drop {
    padding: 0.5rem 1rem 1rem 1rem;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fcfcfc;
}

    .filter-card-drop::-webkit-scrollbar {
        width: 6px;
    }

    .filter-card-drop::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 5px;
    }

        .filter-card-drop::-webkit-scrollbar-thumb:hover {
            background: #bbb;
        }

    .filter-card-drop label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #444;
        cursor: pointer;
        transition: color 0.2s;
    }

        .filter-card-drop label:hover {
            color: var(--red-hover);
        }

        .filter-card-drop label input {
            width: 14px;
            height: 14px;
            accent-color: var(--red-hover); /* checkbox rengi modernleşir */
            cursor: pointer;
        }

/*#endregion*/

/*#region Product List*/
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(223px, 1fr));
    gap: 1.5rem;
    width: 100%;
    justify-self: center;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: max-content;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }

    .product-card .card-image {
        background: #f9f9f9;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
    }

    .product-card .product-card-image img {
        max-width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .product-card:hover .product-card-image img {
        transform: scale(1.05);
    }

    .product-card .product-card-body {
        padding: 1rem 1.2rem 1.5rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .product-card h3 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 0.3rem;
    }

    .product-card p {
        font-size: 12px;
        color: var(--red);
        margin-bottom: 1rem;
    }
/*#endregion*/

/*#endregion*/


/*region RESPONSIVE*/

.responsive-filter-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: var(--red);
    color: white;
    border-radius: 50%;
    width: 40px !important;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-filters-btn {
    display: none;
}

@media(max-width:1400px) {
}

@media(max-width:1200px) {
}

@media(max-width:992px) {
    .responsive-filter-btn {
        display: flex;
    }

    .close-filters-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 20px;
        font-size: 12px;
    }

    .filter-responsive {
        position: fixed;
        width: 100%;
        left: 0;
        transition: 300ms;
        height: 100%;
        top: 0;
        z-index: 9999;
        background: #00000040;
        align-items: end;
        justify-content: end;
        display: none;
    }

    .filters {
        position: fixed;
        left: 0;
        width: 100%;
        max-height: 400px;
        background: #fff;
        bottom: -100%;
        transition: bottom 0.3s ease-in-out;
        z-index: 10000;
        padding-bottom: 30px;
    }

        .filters > div {
            overflow-y: auto;
        }

    .product-list-section {
        display: flex;
        flex-direction: column;
    }

    .filters > h3 {
        height: 76px;
        width: 94%;
    }
}

@media(max-width:768px) {
}

@media(max-width:576px) {
}


/*endregion*/
