/**
 * Kart ve detay görselleri — object-fit tek kaynak.
 * Dikey: contain (kırpılmaz). Yatay / kare: cover.
 * Çerçeve/gölge: kobi-theme.css (.gallery-item-thumb).
 */

body.theme-kobi .team-item .ratio,
body.theme-kobi .product-card-thumb.ratio,
body.theme-kobi .service-grid-thumb.ratio {
    background-color: #fff;
}

body.theme-kobi .content-cover-media {
    position: relative;
    background: #fff;
}

body.theme-kobi .content-cover-media__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

body.theme-kobi .content-cover-media__icon {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    width: 3.35rem;
    height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: var(--bs-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    pointer-events: none;
    z-index: 2;
}

body.theme-kobi .content-cover-media__icon i {
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
}

body.theme-kobi .product-cover-zoom,
body.theme-kobi .container.py-5 .ratio.bg-light,
body.theme-kobi .container.py-5 .ratio.bg-white {
    background-color: #fff !important;
}

body.theme-kobi img[data-card-fit="contain"],
body.theme-kobi img.gallery-card-fit-contain {
    object-fit: contain !important;
    object-position: center center !important;
    background-color: #fff !important;
    padding: 0.45rem !important;
}

body.theme-kobi img[data-card-fit="cover"],
body.theme-kobi img.gallery-card-fit-cover {
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
}

body.theme-kobi .kobi-detail__photo[data-card-fit="contain"] {
    object-fit: contain !important;
    background-color: #fff !important;
    padding: 0.5rem !important;
}

body.theme-kobi .team-item:hover .ratio > img[data-card-fit="contain"],
body.theme-kobi .team-item:hover .ratio > img.gallery-card-fit-contain {
    transform: none;
}
