/* =========================================================
   KARTUSCUM
   KATEGORİ + ARAMA SONUÇLARI
   STABİL ÜRÜN KARTI V2
   ========================================================= */


/* =========================================================
   ÜRÜN KARTI
   ========================================================= */

.kc-listing-page .kc-product-card {
    position: relative !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 14px 0 !important;
    padding: 10px !important;

    background: #ffffff !important;

    border: 1px solid #dfe3e7 !important;
    border-radius: 7px !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease !important;
}


.kc-listing-page .kc-product-card:hover {
    border-color: #ccd3d9 !important;

    box-shadow:
        0 5px 16px rgba(0,0,0,.07) !important;

    transform: translateY(-1px) !important;
}


/* =========================================================
   ÜRÜN GÖRSELİ
   ========================================================= */

.kc-listing-page .kc-product-image-link {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 150px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    overflow: hidden !important;

    text-decoration: none !important;
}


.kc-listing-page .kc-product-image {
    width: 100% !important;
    height: 150px !important;

    max-width: 100% !important;
    max-height: 150px !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border: 0 !important;

    transform: none !important;

    transition: transform .18s ease !important;
}


.kc-listing-page .kc-product-card:hover .kc-product-image {
    transform: scale(1.02) !important;
}


/* =========================================================
   ÜRÜN ADI
   TÜM KARTLARDA 4 SATIRLIK SABİT ALAN
   ========================================================= */

.kc-listing-page .kc-product-title {
    display: -webkit-box !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;

    width: 100% !important;

    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;

    margin: 9px 0 0 0 !important;
    padding: 0 3px !important;

    overflow: hidden !important;

    color: #42474d !important;

    font-size: 11px !important;
    line-height: 16px !important;

    font-weight: 500 !important;

    text-align: center !important;

    text-decoration: none !important;

    box-sizing: border-box !important;
}


.kc-listing-page .kc-product-title:hover {
    color: #e74c3c !important;
    text-decoration: none !important;
}


/* =========================================================
   FİYAT
   ========================================================= */

.kc-listing-page .kc-product-price {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    margin: 5px 0 0 0 !important;
    padding: 0 !important;

    color: #ef4d3c !important;

    font-size: 13px !important;
    line-height: 1 !important;

    font-weight: 800 !important;

    text-align: center !important;

    box-sizing: border-box !important;

    overflow: visible !important;
}


/* KDV Dahil varsa */
.kc-listing-page .kc-product-price .kc-price-prefix {
    margin-right: 4px !important;

    color: #8b9299 !important;

    font-size: 9px !important;
    font-weight: 500 !important;
}


/* =========================================================
   BUTON ALANI
   ARTIK ABSOLUTE DEĞİL
   FİYATIN ALTINDA NORMAL AKIŞTA
   ========================================================= */

.kc-listing-page .kc-product-actions {
    position: static !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    display: flex !important;

    align-items: center !important;

    gap: 5px !important;

    width: 100% !important;

    height: 42px !important;
    min-height: 42px !important;

    margin: 5px 0 0 0 !important;
    padding: 7px 0 0 0 !important;

    background: #ffffff !important;

    border-top: 1px solid #edf0f2 !important;

    box-sizing: border-box !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    z-index: auto !important;
}


/* Hover sırasında tema tekrar oynatamasın */
.kc-listing-page
.kc-product-card:hover
.kc-product-actions {

    position: static !important;

    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}


/* =========================================================
   SEPETE EKLE
   ========================================================= */

.kc-listing-page .kc-add-cart {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 1 1 58% !important;

    width: auto !important;
    min-width: 0 !important;

    height: 32px !important;

    margin: 0 !important;
    padding: 0 8px !important;

    background: #ef4d3c !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 5px !important;

    box-sizing: border-box !important;

    color: #ffffff !important;

    font-size: 10px !important;
    line-height: 1 !important;

    font-weight: 700 !important;

    text-align: center !important;

    text-decoration: none !important;
    text-indent: 0 !important;

    white-space: nowrap !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;

    transition: background .15s ease !important;
}


.kc-listing-page .kc-add-cart:hover {
    background: #dc4032 !important;
    color: #ffffff !important;
}


/* =========================================================
   SATIN AL
   ========================================================= */

.kc-listing-page .kc-buy-now {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 1 1 42% !important;

    width: auto !important;
    min-width: 0 !important;

    height: 32px !important;

    margin: 0 !important;
    padding: 0 7px !important;

    background: #647f9f !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 5px !important;

    box-sizing: border-box !important;

    color: #ffffff !important;

    font-size: 10px !important;
    line-height: 1 !important;

    font-weight: 700 !important;

    text-align: center !important;

    text-decoration: none !important;
    text-indent: 0 !important;

    white-space: nowrap !important;

    opacity: 1 !important;
    visibility: visible !important;

    cursor: pointer !important;
}


.kc-listing-page .kc-buy-now:hover {
    background: #536d8c !important;
    color: #ffffff !important;
}


/* Eski pseudo içerikler */
.kc-listing-page .kc-add-cart::before,
.kc-listing-page .kc-add-cart::after,
.kc-listing-page .kc-buy-now::before,
.kc-listing-page .kc-buy-now::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   YENİ ROZETİ
   ========================================================= */

.kc-listing-page .kc-product-card .kc-new-badge {
    position: absolute !important;

    top: 12px !important;
    right: 10px !important;

    z-index: 6 !important;
}


/* =========================================================
   KART İÇİNDE ESKİ SABİT YÜKSEKLİKLERİ EZ
   ========================================================= */

.kc-listing-page .kc-product-card > div,
.kc-listing-page .kc-product-card > form {
    max-height: none !important;
}


/* =========================================================
   3'LÜ / 4'LÜ LİSTEDE DİKEY HİZAYI KORU
   ========================================================= */

.kc-listing-page .kc-product-card {
    vertical-align: top !important;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 700px) {

    .kc-listing-page .kc-product-title {
        height: 64px !important;
        min-height: 64px !important;
    }

}