﻿/* Start Kart görünümüne geç aktifse görünecek stiller */
.untree_co-section {
    padding: 1rem 0 !important;
}

.product-item {
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
    border-radius: 1rem;
    transition: transform 0.15s cubic-bezier(.4,2,.6,1), box-shadow 0.15s;
    background: #fff;
    display: block;
    position: relative;
}

    .product-item:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 24px 0 rgba(13,110,253,0.13);
        z-index: 2;
    }

.product-thumbnail {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* End Kart görünümüne geç aktifse görünecek stiller */

/* Category Card Simple Hover Effect */
.category-card {
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

    .category-card:hover {
        box-shadow: 0 8px 32px rgba(0,0,0,0.13);
        transform: translateY(-4px) scale(1.02);
    }

.category-card img {
    border-radius: 12px 12px 0 0;
}

/* kart görünümü değilse aktif olmalı */
.product-item .product-thumbnail {
    width: 300px;
    height: 205px;
    width: 300px;
    height: 205px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .product-item .product-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 205; /* Oranı korur */
    }
}
/* kart görünümü değilse aktif olmalı */

.product-item:hover {
    color: #0d6efd
}


.category-underline {
    display: block;
    margin: 0 auto 12px auto;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0b3d20, #198754, #b2f5ea);
    box-shadow: 0 1px 6px 0 rgba(13,110,253,0.10);
}

/* Hero Title Modern ve Dinamik Stil */
.hero-title-section {
    background: linear-gradient(90deg, #f8fafc 70%, #e0e7ef 100%);
    border-radius: 14px;
    padding: 32px 16px 20px 16px;
    margin-bottom: 36px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}

    .hero-title-section:hover {
        box-shadow: 0 8px 32px 0 rgba(13,110,253,0.13);
        transform: translateY(-2px) scale(1.01);
    }

    .hero-title-section h2 {
        font-size: 2.1rem;
        font-weight: 700;
        color: #1a2233;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.04);
        transition: color 0.2s;
    }

    .hero-title-section .category-underline {
        display: block;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, #ffb347, #ffcc33);
        margin: 0 auto 14px auto;
        border-radius: 2px;
        transition: width 0.3s;
    }

    .hero-title-section:hover .category-underline {
        width: 80px;
    }

    .hero-title-section p {
        font-size: 1.08rem;
        color: #4b5563;
        margin-bottom: 0;
        font-weight: 500;
        opacity: 0.92;
    }


/* Görsel oranı sabitleme */
.category-featured .card-img-ratio, .product-thumbnail, .post-thumbnail img {
    /*aspect-ratio: 4/3;*/
    object-fit: cover;
    width: 100%;
    border-radius: 12px 12px 0 0;
}
