﻿:root {
    --theme-color: #e8190e;
    --theme-colorr: #27328a;
    --text-color: #222;
    --bg-color: #fff;
}


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}




/* 🔹 Mobil Navbar Düzeni */
@media (max-width: 992px) {
    .pos_fix_nav .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .pos_fix_nav .navbar-brand {
        margin: 0 auto;
        width: 100px;
    }

    /* Teslimat ve Arama alanı */
    .adres-search-bar {
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 10px 15px !important;
    }

        .adres-search-bar .adres-select {
            flex: 1;
            justify-content: flex-start;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .adres-search-bar .search-box {
            flex: 1;
            width: 100%;
        }

        .adres-search-bar input.form-control {
            border-radius: 25px 0 0 25px;
            border: 1px solid #ccc;
        }

        .adres-search-bar .search-btn {
            background: #ff6600;
            color: #fff;
            border-radius: 0 25px 25px 0;
            padding: 10px 15px;
        }

    /* Menüyü gizle */
    .navbar .collapse {
        display: none !important;
    }

    #sepet_lg {
        display: none !important;
    }


    #kategoriModal .list-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

        #kategoriModal .list-group a {
            flex: 1 1 45%;
            /*            background: #f8f9fa;
            border: 1px solid #eee;*/
            border-radius: 10px;
            padding: 12px;
            text-align: center;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

            #kategoriModal .list-group a:hover {
                background: #ff6600;
                color: #fff;
            }
}

/* 🔹 Sepet ikonu üzerindeki ürün sayısı (badge) */
.mobile-bottom-nav .cart-count-badge {
    position: absolute;
    top: -2px;
    right: 26px;
    background: #ff6600;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    display: none; /* 0 iken gizli */
    min-width: 18px;
    text-align: center;
}

/* 🔹 Mobil Alt Menü */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    z-index: 999;
}

    .mobile-bottom-nav .nav-item {
        flex: 1;
        text-align: center;
        color: #555;
        text-decoration: none;
        font-size: 13px;
    }

        .mobile-bottom-nav .nav-item i {
            font-size: 18px;
            display: block;
            margin-bottom: 3px;
        }

        .mobile-bottom-nav .nav-item.active,
        .mobile-bottom-nav .nav-item:hover {
            color: #ff6600;
        }



.navbar {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.nav-link {
    color: #2a2a2a !important;
    font-weight: 500;
    margin-right: 15px;
}

    .nav-link:hover {
        color: #0099cc !important;
    }

.kategori-item {
    text-align: center;
    transition: all 0.3s;
}

    .kategori-item:hover {
        transform: translateY(-3px);
    }

    .kategori-item img {
        width: 70px;
        height: 70px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .kategori-item span {
        display: block;
        font-size: 14px;
        color: #333;
        font-weight: 500;
    }

/* Hover ile açılmasını sağla */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Mobilde düzgün görünmesi için */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static !important;
        box-shadow: none;
        width: 100%;
    }
}



.pos_fix_nav {
    position: sticky !important;
    top: 0;
    width: 100%;
    z-index: 10;
}


.adres-search-bar {
    background: #f6f7f8;
    border-bottom: 1px solid #eee;
}

.adres-select {
    cursor: pointer;
}

.adres-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-color);
}

.adres-desc {
    font-size: 13px;
    color: #666;
}

.search-box {
    width: 50%;
    position: relative;
}

    .search-box input {
        border-radius: 30px;
        padding-left: 20px;
        height: 45px;
    }

    .search-box .search-btn {
        position: absolute;
        right: 5px;
        top: 5px;
        background: var(--theme-color);
        color: white;
        border-radius: 50%;
        width: 35px;
        height: 35px;
    }

        .search-box .search-btn:hover {
            background: #e45c00;
        }

.sepet {
    background: white;
    border-radius: 30px;
    padding: 5px 25px 5px 15px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.sepet-icon {
    background: var(--theme-color);
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sepet-title {
    font-size: 13px;
    color: #777;
}

.sepet-total {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}




.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    color: #333;
}

.footer-logo img {
    filter: brightness(1);
}

.footer-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Sosyal Medya */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--theme-color);
    color: #fff;
    margin-right: 8px;
    transition: 0.3s;
    text-decoration: none;
}

    .footer-social a:hover {
        background-color: #e55a00;
    }

/* Başlıklar */
.footer-title {
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    font-size: 15px;
}

/* Linkler */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: var(--theme-color);
    }

/* Alt çizgi */
.footer-hr {
    border-top: 1px solid #ddd;
}

/* Telif yazısı */
.footer-copy {
    font-size: 18px;
    color: #777;
}

/* Responsive düzeltmeler */
@media (max-width: 768px) {
    .footer-title {
        margin-top: 20px;
    }
}












#carouselExample {
    height: 50vh;
}

    #carouselExample .carousel-inner {
        height: 100%;
    }

        #carouselExample .carousel-inner .carousel-item {
            height: 100%;
        }

            #carouselExample .carousel-inner .carousel-item img {
                height: 100%;
                object-fit: cover
            }



.kategori-baslik {
    color: #00224f;
    font-size: 28px;
}

.kategori-kutu {
    text-align: center;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: inline-block !important;
    width: 100%;
}

    .kategori-kutu img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .kategori-kutu span {
        font-size: 14px;
        font-weight: 500;
        color: #222;
        display: block;
    }

    .kategori-kutu:hover {
        border-color: var(--theme-color);
        transform: translateY(-4px);
        box-shadow: 0 4px 10px rgba(255, 102, 0, 0.1);
    }





.urunler-alani {
    background: #fff;
}

.urunler-baslik {
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
    display: inline-block;
    padding-bottom: 5px;
}

@media(max-width:992px) {
    .urunler-baslik {
        font-size: 16px;
    }
}


@media(min-width:992px) {
    .urunler-baslik {
        font-size: 22px;
    }
}


.tumunu-goruntule {
    color: var(--theme-color);
    font-weight: 500;
    font-size: 14px;
}

    .tumunu-goruntule i {
        margin-left: 5px;
    }

/* ÜRÜN KART */
.urun-kart {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    position: relative;
}

    .urun-kart:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-3px);
    }

/* Etiketler */
.etiket {
    background: var(--theme-color);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.indirim {
    background: #ffc107;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.indirim_yazisi {
    background: var(--theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Görsel */
.urun-img {
    text-align: center;
    margin-top: 25px;
    min-height: 150px;
}

    .urun-img img {
        max-height: 140px;
        object-fit: contain;
    }

/* Bilgiler */
.urun-bilgi {
    margin-top: 15px;
}

.urun-isim {
    font-size: 18px;
    font-weight: 500;
    color: black;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f6f7f8;
    height: auto;
}

.urun-fiyat {
    margin-top: 8px;
}

.yeni-fiyat {
    font-weight: 700;
    color: #111;
    font-size: 15px;
}

.eski-fiyat {
    text-decoration: line-through;
    color: #888;
    font-size: 13px;
    margin-left: 5px;
}

.birim-fiyat {
    font-size: 12px;
    color: #777;
}

/* Ekle butonu */
.ekle-btn {
    background: var(--theme-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    transition: 0.3s;
}

    .ekle-btn:hover {
        background: #e45c00;
    }





.kampanya-alani {
    background-color: #fff;
}

.anasayfa_kampanya {
    text-align: center;
    color: var(--theme-color);
    font-size: 30px;
    text-transform: uppercase;
}

.kampanya-kart {
    border-radius: 12px;
    padding: 15px;
    overflow: hidden;
    height: 100%;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

    .kampanya-kart:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

/* Ürün görseli */
.kampanya-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin: 10px auto;
}

/* Ürün başlığı */
.urun-baslik {
    font-size: 15px;
    text-transform: uppercase;
}

.urun-alt {
    font-size: 13px;
    color: #333;
    margin-bottom: 0;
}

/* Fiyat alanı */
.fiyat-etiket {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #c00;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: 600;
    display: inline-flex;
    flex-direction: column;
    align-items: start;
}

.eski-fiyat {
    text-decoration: line-through;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.yeni-fiyat {
    font-size: 16px;
    font-weight: 700;
}

/* İndirim etiketi */
.indirim-etiket {
    background: #b80000;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    padding: 5px 15px;
    margin-top: 10px;
}

    .indirim-etiket.beyaz {
        background: #fff;
        color: #b80000;
    }

/* Renk temaları */
.bg-bej {
    background-color: #f7f2e9;
}

.bg-pink {
    background-color: #fce9ef;
}

.bg-purple {
    background-color: #7952b3;
}

.text-brown {
    color: #6c3c14;
}



.hakkimizda-alani {
    background: #fff;
    padding: 60px 0;
    min-height: 75vh;
}

.text-orange {
    color: var(--theme-color);
}

.hakkimizda-alani h1 {
    font-size: 36px;
    letter-spacing: 1px;
}

.hakkimizda-alani p {
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive düzeltme */
@media (max-width: 768px) {
    .hakkimizda-alani h1 {
        font-size: 28px;
    }

    .hakkimizda-alani p {
        font-size: 14px;
    }
}


.hakkimizda_alani_bg {
    background-color: #f6f7f8;
    padding: 100px;
}



.iletisim-alani {
    background: #fff;
}

/* Üst kutular */
.iletisim-kutu {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .iletisim-kutu:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    .iletisim-kutu .icon {
        font-size: 28px;
        color: var(--theme-color);
        margin-bottom: 10px;
    }

/* Form */
.iletisim-form {
    border: 1px solid #eee;
}

.btn-orange {
    background-color: var(--theme-color);
    color: #fff;
    border: none;
    transition: 0.3s;
}

    .btn-orange:hover {
        background-color: #e45c00;
    }

/* Turuncu başlık */
.text-orange {
    color: var(--theme-color);
}

/* Responsive */
@media (max-width: 768px) {
    .iletisim-kutu {
        padding: 20px 10px;
    }

    .iletisim-form {
        margin-top: 20px;
    }
}


/* Kart içeriğini esnek hale getir */
.kategori-sayfa .card {
    display: flex;
    flex-direction: column;
}

/* Card body içerikleri dikey hizalansın */
.kategori-sayfa .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Sepete ekle butonu her zaman en altta olsun */
.kategori-sayfa .sepete-ekle-btn {
    margin-top: 10px;
}


.kategori-sayfa {
    background-color: #f8f9fa;
}

    .kategori-sayfa .card {
        transition: all 0.2s ease-in-out;
    }

        .kategori-sayfa .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

    .kategori-sayfa h6 {
        font-size: 15px;
    }

@media (max-width: 768px) {
    .kategori-sayfa .col-lg-3 {
        order: 2;
    }

    .kategori-sayfa .col-lg-9 {
        order: 1;
    }
}


.card {
    transition: all 0.25s ease;
    border-radius: 10px;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.adres-select i {
    color: var(--theme-colorr) !important;
}

.sepete-ekle-btn {
    font-size: 14px;
    font-weight: 600;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: var(--theme-colorr) !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
}



/* 🧾 Sağdan kayan sepet paneli */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 1050;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

    .cart-sidebar.active {
        right: 0;
    }

/* 🕶️ Arka plan karartması */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1040;
}

    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Panel içi alanlar */
.cart-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-top: 10px;
}

.cart-footer {
    background: #fff;
}


/* 🔸 Sadece benzer ürünler için: .product-card */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
    background: #fff;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .product-card .card-body {
        flex-grow: 1;
    }

    .product-card .card-footer {
        background: #fff;
        border-top: none;
        margin-top: auto;
    }



/* 🔹 Sepete eklendi popup (toast) */
.cart-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--theme-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}

    .cart-toast.show {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }



.footer_kat_img {
    width: 20px;
}


@media(max-width:992px) {
    #Kategori_sol_filtre {
        display: none !important;
    }

    #sırala_lg_ekran {
        display: none !important;
    }

    .kategori_urunler_lg {
        padding: 0 20px !important;
    }

    .kategori_buton_filte {
        margin: 0 !important;
        padding: 0 !important;
        width: 50%;
        background-color: white !important;
        padding: 20px 0 !important;
        border: 1px solid rgba(0,0,0,0.15) !important;
        border-radius: 0 !important;
    }

    .kategori_buton_sırala {
        margin: 0 !important;
        padding: 0 !important;
        width: 50% !important;
        background-color: white;
        padding: 20px 0 !important;
        border: 1px solid rgba(0,0,0,0.15) !important;
        text-align: center;
        font-size: 14px !important;
        font-weight: 500 !important;
        border-radius: 0 !important;
    }
}



.kategori_fiya_div {
    display: grid;
    align-items: end;
    justify-content: center;
}

    .kategori_fiya_div p {
        margin-bottom: 5px !important;
    }


/* --- Filtre yapısı --- */
.filter-group {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.filter-header {
    width: 100%;
    background: none;
    border: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    transition: 0.2s ease;
}

    .filter-header:hover {
        color: #e8190e;
    }

    .filter-header i {
        transition: transform 0.3s ease;
    }

    .filter-header.collapsed i {
        transform: rotate(-90deg);
    }

.filter-body label {
    cursor: pointer;
}

.search-input {
    font-size: 13px;
    border-radius: 8px;
}

.form-check-input:checked {
    background-color: #e8190e;
    border-color: #e8190e;
}



.thumb-img {
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

    .thumb-img:hover {
        border-color: var(--theme-color);
    }

    .thumb-img.active-thumb {
        border-color: #e8190e;
        box-shadow: 0 0 5px rgba(232, 25, 14, 0.3);
    }

#mainImage {
    object-fit: contain !important;
    width: 400px !important;
    height: 300px !important;
}


.kategori-item a {
    text-decoration: none !important;
}


.iletisim_a {
    text-decoration: none;
}

    .iletisim_a h5 {
        color: black;
    }

    .iletisim_a p {
        color: black;
    }


@media(max-width:992px) {
    .footer-links {
        font-size: 13px !important;
    }
}

@media(min-width:992px) {
    .footer-links {
        font-size: 18px;
    }
}
