/*
 * Mutfax — tema üstü site stilleri (parts/header.php, style2.css'ten sonra yüklenir).
 * 2026-11-25: ürün kartı düğmeleri (Sepete Ekle · Favori · Karşılaştır — parts/mx-liste.php mx_urun_aksiyon) her ekranda görünür.
 * Tema (collection2.css) bunları 1200 px altında tamamen gizliyor, üstünde yalnızca fareyle ürünün üstüne gelince gösteriyordu.
 */
.single-product .single-product-wrap .product-image .product-action {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
    visibility: visible;
}
.single-product .single-product-wrap .product-image .product-action a {
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.single-product .single-product-wrap .product-image .product-action a span.product-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    color: var(--secondary-font-color, #222);
}
.single-product .single-product-wrap .product-image .product-action a:hover span.product-icon {
    background-color: var(--dominant-color, #222);
    border-color: var(--dominant-color, #222);
    color: #fff;
}
.single-product .single-product-wrap .product-image .product-action a.mx-aktif span.product-icon i,
.single-product .single-product-wrap .product-image .product-action a.mx-favori.mx-aktif span.product-icon {
    color: #e0245e;
}
.single-product .single-product-wrap .product-image .product-action a.mx-favori.mx-aktif:hover span.product-icon {
    color: #fff;
}
@media (min-width: 1200px) {
    .single-product .single-product-wrap .product-image .product-action a span.product-icon {
        width: 42px;
        height: 42px;
    }
}
/* Anasayfa kartının alt satırı (pro-content-action): üç düğme yan yana kartın dışına taşıyordu;
   Favori ve Karşılaştır görselin üstünde zaten göründüğünden burada yalnızca Sepete Ekle kalır. */
.single-product .pro-content-action > .product-action a.mx-favori,
.single-product .pro-content-action > .product-action a.mx-karsilastir {
    display: none;
}
/* 2026-11-27: stoksuz ürün kartı — Sepete Ekle yerine "Stokta yok" (parts/mx-liste.php mx_urun_aksiyon);
   görselin üstündeki yuvarlak simge sütununda gösterilmez, kartın alt satırında / liste görünümünde görünür. */
.mx-kart-stokyok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.single-product .single-product-wrap .product-image .product-action .mx-kart-stokyok {
    display: none;
}
/* anasayfa kartının alt satırında düğme yuvası dar: simge üstte, yazı altta, küçük */
.single-product .pro-content-action > .product-action .mx-kart-stokyok {
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    max-width: 56px;
}
.single-product .pro-content-action > .product-action .mx-kart-stokyok i {
    font-size: 16px;
}
/* Dokunmatik / dar ekranda ipucu yazıları gizli (kartın altına taşıyordu) */
@media (max-width: 1199px), (hover: none) {
    .single-product .single-product-wrap .product-image .product-action a span.tooltip-text {
        display: none !important;
    }
}
/* 2026-12-01: 2. (hover) resmi olmayan üründe img2 yok → üzerine gelince ilk resim kaybolmasın */
.single-product:hover .single-product-wrap .product-image a.pro-img.mx-tek-resim img.img1,
.single-product:hover .single-product-wrap .product-image-col .product-image a.pro-img.mx-tek-resim img.img1 {
    opacity: 1 !important;
    visibility: visible !important;
}
