/* Tema fontu: Sadece Urbanist (https://fonts.google.com/specimen/Urbanist) */
:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --bs-body-font-family: "Urbanist", sans-serif;
    --bs-font-sans-serif: "Urbanist", sans-serif;
}
body,
h1, h2, h3, h4, h5, h6,
.btn, .form-control, .form-label,
.navbar, .footer,
.product-title-new, .category-title-new {
    font-family: "Urbanist", sans-serif !important;
}

/* Bölüm başlıkları (örn. Ürünlerimiz) - tema rengi #4b4c4f */
h2.mb-5 {
    color: var(--bs-custom-gray, #4b4c4f) !important;
}

/* Nav link rengi - theme.css --bs-custom-gray */
.nav-link {
    color: var(--bs-custom-gray, #4b4c4f) !important;
}

.small-slider img {
       
}
.medium-slider img {
    /*height: 380px;*/
}
.large-slider img {
    width: 500px;
    height: 500px;
}

/* Navbar logo yüksekliği: mobil 60px, masaüstü 90px */
.navbar-brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}
@media (min-width: 768px) {
    .navbar-brand-logo {
        height: 90px;
    }
}

/* Header position-absolute olduğu için sayfa üst başlıkları üstte kalmasın */
.page-top-offset {
    padding-top: 160px;
}

@media (max-width: 1199.98px) {
    .page-top-offset {
        padding-top: 120px;
    }
}

/* Ürünlerimiz Bölümü Arka Plan - Tüm Section ve Container */
.products-section,
.products-section .container,
.products-section .container-xxl {
    background: transparent !important;
}

/* Yeni Ürün Kartı Tasarımı - Görseldeki Gibi */
.product-card-new {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-new:hover {
    transform: translateY(-5px);
}

/* Ürün Resmi */
.product-image-new-wrapper {
    position: relative;
    width: 100%;
    /*height: 380px;*/
    overflow: hidden;
    background: #f5f5f5;
}

.product-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-new:hover .product-image-new {
    transform: scale(1.05);
}

/* Rozetler */
.badge-best-seller {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgb(55, 110, 25);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(126, 98, 141, 0.3);
    z-index: 10;
}

.badge-opportunity {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgb(55, 110, 25);
    color: white;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(126, 98, 141, 0.3);
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}

/* Ürün Bilgileri */
.product-info-new {
    background: #ececee;
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Marka */
.product-brand-new {
    color: #4A4A4A;
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    text-align: left;
}

/* Ürün Adı */
.product-title-new {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.4;
    text-align: left;
    flex: 1;
}

.product-title-new a {
    color: inherit;
}

.product-title-new a:hover {
    color: rgb(55, 110, 25);
    transition: color 0.3s ease;
}

/* Yıldızlar ve Değerlendirme */
.product-rating-new {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
}

.stars-new {
    display: flex;
    gap: 2px;
}

.star-filled {
    color: #FFD700;
    font-size: 16px;
}

.rating-count-new {
    color: #999;
    font-size: 12px;
}

/* Fiyat */
.product-price-new {
    font-size: 24px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 5px;
    text-align: left;
}

/* Sepete Ekle Butonu */
.btn-add-cart-new {
    width: 100%;
    padding: 5px;
    background: rgb(55, 110, 25);
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.btn-add-cart-new:hover {
    background: rgb(55, 110, 25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 98, 141, 0.3);
    color: white !important;
}

.btn-add-cart-new:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .product-image-new-wrapper {
        /*height: 220px;*/
    }

    .product-title-new {
        font-size: 16px;
    }

    .product-price-new {
        font-size: 20px;
    }

    .product-info-new {
        padding: 10px;
    }
}

/* Yeni Kategori Kartı Tasarımı */
.category-card-new {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Üst Bölüm - Başlık */
.category-header-new {
    background: #F5F3F7;
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-title-new {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.3;
}

.category-link-new {
    color: rgb(55, 110, 25);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-link-new:hover {
    color: #5a4568;
}

/* Alt Bölüm - Resim */
.category-image-new-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.category-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card-new:hover .category-image-new {
    transform: scale(1.05);
}

/* Buton Overlay */
.category-button-new {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1A1A1A;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-button-new:hover {
    background: rgb(55, 110, 25);
    color: #ffffff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 98, 141, 0.3);
}

/* Alt Kategori Linkleri */
.alt-kategori-link {
    transition: all 0.25s ease;
}
.alt-kategori-link:hover {
    background-color: var(--bs-primary, #4e7661) !important;
    border-color: var(--bs-primary, #4e7661) !important;
    color: #fff !important;
    transform: translateX(4px);
}
.alt-kategori-link:hover .icon {
    color: #fff !important;
}

/* Responsive Kategori Kartları */
@media (max-width: 768px) {
    .category-header-new {
        padding: 5px;

    }

    .category-title-new {
        font-size: 15px;
    }

    .category-image-new-wrapper {
        height: 177px;
    }

    .category-button-new {
        padding: 10px 20px;
        font-size: 13px;
    }
}