﻿/* ETICARET1 - KADEME 6.1.9 MODERN KATALOG */

.mc-catalog-toolbar {
    display: flex;
    margin-bottom: 18px;
    padding: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(17,24,39,.04);
}

.mc-catalog-toolbar__left,
.mc-catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-catalog-toolbar strong {
    color: #23242a;
    font-size: 15px;
}

.mc-catalog-toolbar select,
.mc-catalog-toolbar input {
    min-height: 40px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
}

.mc-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.mc-product-card {
    position: relative;
    display: flex !important;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    overflow: hidden;
    flex-direction: column;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 20px rgba(17,24,39,.05);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.mc-product-card:hover {
    transform: translateY(-4px);
    border-color: #ffc18f !important;
    box-shadow: 0 16px 34px rgba(17,24,39,.11);
}

.mc-product-card::before {
    content: "Hızlı Teslimat";
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    color: #fff;
    background: #16a34a;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.mc-product-card .ucresim {
    position: relative;
    display: grid;
    min-height: 220px;
    padding: 20px;
    place-items: center;
    background:
        linear-gradient(180deg,#fff,#fafafa);
    border-bottom: 1px solid #f0f1f3;
}

.mc-product-card .ucresim img {
    width: 100% !important;
    max-width: 190px !important;
    height: 190px !important;
    object-fit: contain;
    transition: transform .2s ease;
}

.mc-product-card:hover .ucresim img {
    transform: scale(1.035);
}

.mc-product-card .ucmarka {
    padding: 14px 15px 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mc-product-card .ucmodel {
    min-height: 54px;
    padding: 6px 15px 0;
    color: #23242a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.mc-product-card .ucurunalt {
    display: flex;
    margin-top: auto;
    padding: 12px 15px 15px;
    flex-direction: column;
    gap: 12px;
}

.mc-product-card .ucfiyat-incele {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mc-product-card .ucfiyat {
    color: #f27a1a;
    font-size: 20px;
    font-weight: 900;
}

.mc-product-card .ucDetay a {
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}

.mc-product-card .ucDetay a:hover {
    color: #f27a1a;
}

.mc-product-card .ucsepet-adet {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 10px;
}

.mc-product-card .ucadet {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mc-product-card .ucadet label {
    display: none;
}

.mc-product-card .tbadet {
    width: 52px !important;
    min-height: 42px !important;
    padding: 7px !important;
    text-align: center;
    border-radius: 9px !important;
}

.mc-product-card .ucsepet {
    min-width: 0;
}

.mc-product-card .SepeteAt {
    width: 100% !important;
    min-height: 42px !important;
    color: #fff !important;
    background: #f27a1a !important;
    border: 1px solid #f27a1a !important;
    border-radius: 9px !important;
    box-shadow: 0 8px 17px rgba(242,122,26,.22);
}

.mc-product-card .SepeteAt::after {
    content: "Sepete Ekle";
}

.mc-product-card.is-filtered-out {
    display: none !important;
}

.mc-catalog-empty {
    grid-column: 1 / -1;
    padding: 50px 24px;
    color: #6b7280;
    background: #fff;
    border: 1px dashed #d7dce2;
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 1050px) {
    .mc-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .mc-catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .mc-catalog-toolbar__left,
    .mc-catalog-toolbar__right {
        width: 100%;
    }

    .mc-catalog-toolbar input,
    .mc-catalog-toolbar select {
        width: 100%;
    }

    .mc-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .mc-catalog-grid {
        grid-template-columns: 1fr;
    }
}