﻿
.product-thumb {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

    .fade-in.show {
        opacity: 1;
    }

.product-images .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 500px;
}

figure.product-image {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
}
.rating-stars {
    display: inline-flex;
    cursor: pointer;
}

    .rating-stars i {
        font-size: 14px;
        color: #ccc;
        margin-right: 5px;
        transition: color 0.2s;
    }

        .rating-stars i.selected,
        .rating-stars i.hovered {
            color: #ef5526;
        }


.size-button-custom.active {
    background: #28a745;
    color: white;
    border-color: #1e7e34;
}

.product.card-style {
    height: 277px !important; /* Kartı biraz kısalttık */
    display: flex !important;
    flex-direction: column !important;
    border-radius: 12px !important;
    justify-content: flex-start !important;
}

    /* Görsel alanını küçültüp yukarı aldık */
    .product.card-style .product-media.custom-img {
        height: 81px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
    }

    /* Ürün adı satır kırabilsin */
    .product.card-style .product-name,
    .product.card-style .product-name a {
        font-size: 14px !important;
        margin-top: 4px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.3 !important;
    }

    /* Alt kısım (fiyat + sepete ekle) sabit aşağıda */
    .product.card-style .product-pa-wrapper {
        margin-top: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

.product-action-vertical .btn-product-icon {
    margin-top: -20px !important;
}

@media (max-width: 768px) {
    .product-media img:first-child {
        position: relative;
        padding : 20px !important;
    }
    .product.card-style {
        height: 100px !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 12px !important;
        justify-content: flex-start !important;
    }
}