﻿/* Navbar */
header .col-xl-6 {
    margin-left: 40px;
}

/* Yeşil kargo barının kapsayıcısından taşmasını engelle */
.tf-progress-bar {
    overflow: hidden;
}

/* YENİ EKLENEN KURALLAR */

/* 1. Progress bar kapsayıcısını göreceli (relative) yapalım ki
      simgeyi ona göre konumlandırabilelim. */
.tf-mini-cart-threshold .tf-progress-bar {
    position: relative;
    overflow: visible; /* Simgenin görünmesi için overflow'u visible yapalım */
}

/* 2. Simgenin kendisini mutlak (absolute) konumlandıralım.
      Sağdan 0'a hizalayıp, dikeyde ortalayalım. */
.tf-progress-bar .value .icon-shipping {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* Dikeyde tam ortalamak için */
    z-index: 2; /* Barın üzerinde kalmasını garanti eder */
}

/* 3. Barın kendisinin sağ tarafında simge için biraz boşluk bırakalım ki
      bar dolduğunda simgenin altına girmesin. */
.tf-progress-bar .value {
    width: 0%;
    transition: none;
    /* DÜZELTİLDİ: Progress bar animasyonu için */
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: inherit;
}

    /* Animasyon class'ı eklendiğinde transition çalışsın */
    .tf-progress-bar .value.animate-progress {
        transition: width 0.8s ease-in-out;
    }

/* Ana sepet sayfasındaki progress bar için ayrı stil */
.notification-progress .progress-cart {
    position: relative;
    background-color: #e9ecef;
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
}

    .notification-progress .progress-cart .value {
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
        border-radius: inherit;
        transition: width 0.8s ease-in-out;
        position: relative;
    }

        .notification-progress .progress-cart .value .round {
            position: absolute;
            right: -4px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            background: #28a745;
            border-radius: 50%;
            border: 2px solid #fff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

/* .btn-icon-action'a 'active' class'ı eklendiğinde... */
.wishlist.btn-icon-action.active .icon-heart::before {
    /* 
       FontAwesome gibi kütüphaneler genellikle dolu ikonlar için
       font-weight'i '900' (veya 'bold', 'solid') olarak değiştirir.
       Content değeri genellikle aynı kalır.
    */
    font-weight: 900 !important; /* !important ekleyerek diğer stilleri ezmesini garantiliyoruz. */
    color: #d9534f !important; /* Rengini kırmızı yapıyoruz. */
}

/**************************************************************
 * ANASAYFA - POPÜLER KATEGORİLER GRID DÜZENİ
 **************************************************************/

.categories-grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.categories-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    padding: 30px 0 !important;
    justify-items: center !important;
    width: 100% !important;
}

.category-item {
    width: 100%;
    max-width: 280px;
    transition: transform 0.3s ease;
}

    .category-item:hover {
        transform: translateY(-5px);
    }

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .category-image:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        transform: scale(1.02);
    }

    .category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .category-image:hover img {
        transform: scale(1.1);
    }

.category-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.category-image:hover .category-overlay {
    opacity: 1;
    transform: scale(1);
}

.category-overlay i {
    font-size: 16px;
    color: #333;
}

.category-content {
    text-align: center;
    padding: 20px 10px 0;
}

.category-title {
    display: block;
    padding: 5px 15px;
    background-color: #d2b475;
    font-size: 18px;
    font-weight: 500;
    color: #FFF;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.category-link:hover .category-title {
    background-color: #c0a366;
}

.category-count {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Mobil Responsive */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        padding: 25px 0 !important;
    }

    .category-item {
        max-width: 250px;
    }

    .category-title {
        font-size: 16px;
        padding: 5px 15px;
    }

    .category-count {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }

    .category-item {
        max-width: 200px;
    }

    .category-image {
        border-radius: 12px;
    }

    .category-overlay {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }

        .category-overlay i {
            font-size: 14px;
        }

    .category-content {
        padding: 15px 5px 0;
    }

    .category-title {
        display: block;
        font-size: 14px;
        padding: 5px 15px;
        margin: 0 0 6px 0;
    }

    .category-count {
        display: block;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .category-item {
        max-width: 110px;
        justify-self: center;
    }

    .category-image {
        border-radius: 8px;
    }

    .category-title {
        display: block;
        font-size: 11px;
        padding: 5px 15px;
        line-height: 1.2;
        border-radius: 20px;
        -moz-border-radius: 20px;
        -webkit-border-radius: 20px;
        margin: 0 0 5px 0;
    }

    .category-count {
        display: block;
        font-size: 9px;
    }

    .category-content {
        padding: 8px 2px 0;
    }
}

/* Kalan kategorileri ortalamak için */
@media (max-width: 576px) {
    .categories-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        justify-items: center !important;
        align-content: start !important;
    }

    /* Son satırda kalan kategoriler için ortalama */
    /* Tek kategori kaldığında (toplam sayı 3n+1 olduğunda) */
    .category-item:last-child:nth-child(3n+1) {
        grid-column: 2 / 3;
    }

    /* İki kategori kaldığında (toplam sayı 3n+2 olduğunda) */
    .category-item:nth-last-child(2):nth-child(3n+1) {
        grid-column: 1 / 2;
    }

    .category-item:nth-last-child(1):nth-child(3n+2) {
        grid-column: 3 / 4;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item {
    animation: fadeInUp 0.6s ease forwards;
}

    .category-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .category-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .category-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .category-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .category-item:nth-child(5) {
        animation-delay: 0.5s;
    }

    .category-item:nth-child(6) {
        animation-delay: 0.6s;
    }

    .category-item:nth-child(7) {
        animation-delay: 0.7s;
    }

    .category-item:nth-child(8) {
        animation-delay: 0.8s;
    }

    .category-item:nth-child(9) {
        animation-delay: 0.9s;
    }

/* Diğer CSS'ler */
.js-stock-warning:not(.d-none) {
    display: block !important;
}

#cart-table-container .custom-quantity-selector {
    display: inline-flex;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
}

.custom-quantity-selector .btn {
    background-color: #f8f9fa;
    border: none;
    width: 35px;
    box-shadow: none !important;
    padding: .375rem .5rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .custom-quantity-selector .btn:hover {
        background-color: #e9ecef;
    }

    .custom-quantity-selector .btn:first-child {
        border-right: 1px solid #e9e9e9;
    }

    .custom-quantity-selector .btn:last-child {
        border-left: 1px solid #e9e9e9;
    }

.custom-quantity-selector .form-control.quantity-product-custom {
    border: none !important;
    box-shadow: none !important;
    width: 60px !important;
    min-width: 60px !important;
    text-align: center;
    -moz-appearance: textfield;
    outline: none;
}

    .custom-quantity-selector .form-control.quantity-product-custom:focus {
        border: none !important;
        box-shadow: none !important;
        outline: none;
    }

.custom-quantity-selector .form-control::-webkit-outer-spin-button,
.custom-quantity-selector .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/* =================================================================
   SCROLLING GALLERY (KAYAN GALERİ) STYLES
   ================================================================= */
.scrolling-gallery-section {
    width: 100%;
    padding: 2rem 0; /* Üstten ve alttan boşluk */
    overflow: hidden; /* Taşmaları gizle, yatay scrollbar çıkmasın */
    background-color: #f8f9fa; /* Hafif bir arkaplan rengi */
}

.scrolling-gallery-container {
    width: 100%;
    display: flex;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.scrolling-gallery {
    display: flex;
    flex-wrap: nowrap; /* Resimlerin alt satıra düşmesini engelle */
    animation: scroll 10s linear infinite; /* Animasyon tanımı */
}
/* Fare üzerine gelince animasyonu durdur */
.scrolling-gallery-container:hover .scrolling-gallery {
    animation-play-state: paused;
}

.gallery-item {
    flex-shrink: 0;
    width: 35vw; /* Viewport Width: Ekran genişliğinin %20'si. 5 tane sığar. */
    max-width: 250px; /* Çok büyük ekranlarda aşırı büyümesin */
    padding: 0 10px; /* Resimler arası boşluk */
}

.gallery-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1; /* Kare olmasını sağlar */
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .gallery-link:hover {
        transform: scale(1.05);
    }

    .gallery-link img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Resmin en-boy oranını koruyarak kareye sığdırır */
    }
/* Animasyon Keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Listeyi kopyaladığımız için, tam yarısına gelince başa saracak ve kesintisiz görünecek */
        transform: translateX(-50%);
    }
}
/* MOBİL CİHAZLAR İÇİN AYARLAR */
@media (max-width: 992px) {
    .gallery-item {
        width: 35vw; /* 4 resim sığar */
        padding: 0 8px; /* Biraz daha küçük padding */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 35vw; /* 4 resim sığar */
        padding: 0 6px; /* Daha küçük padding */
    }

    .scrolling-gallery-container {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 35vw; /* 4 resim sığar (25% x 4 = 100%) */
        padding: 0 5px; /* En küçük padding */
    }
}

/* =================================================================
   KATEGORİ SAYFASI - ALT KATEGORİ YUVARLAK RESİM DÜZELTMESİ
   ================================================================= */

/* 
  'collection-circle' anasayfada da kullanılıyor olabilir. 
  Bu yüzden spesifik olarak kategori sayfası için bir üst kapsayıcı ile hedefleyelim
  veya genel bir düzeltme yapalım. Genel düzeltme daha mantıklı.
*/

.collection-circle .img-style {
    display: block;
    position: relative;
    /* aspect-ratio, genişliğe göre yüksekliği otomatik ayarlar. 1/1, kare demektir. */
    aspect-ratio: 1 / 1;
    border-radius: 50%; /* Kapsayıcıyı yuvarlak yapar */
    overflow: hidden; /* İçindeki resmin taşan kısımlarını gizler. Bu çok önemli! */
    background-color: #f0f0f0; /* Resim yüklenene kadar bir arkaplan gösterir */
    transition: transform 0.4s ease; /* Hover efekti için yumuşak geçiş */
}

/* Hover efekti */
.collection-circle:hover .img-style {
    transform: scale(1.08);
}

.collection-circle .img-style img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* SİHİRLİ DOKUNUŞ BURADA! */
    /* Bu özellik, resmin en-boy oranını bozmadan, kapsayıcısını
       (yuvarlak alanı) tamamen kaplamasını sağlar. */
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

    /* lazyload için küçük bir iyileştirme */
    .collection-circle .img-style img.lazyload {
        opacity: 0;
    }

    .collection-circle .img-style img.lazyloaded {
        opacity: 1;
    }


/* =================================================================
   SITE CREDITS (İMZA) STYLES
   ================================================================= */

.site-credits {
    background-color: #1f1f1f; /* Footer ile uyumlu koyu bir arkaplan */
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #333; /* Footer'dan ince bir çizgiyle ayırır */
}

    .site-credits p {
        margin: 0;
        color: #a0a0a0; /* Okunabilir, soluk bir metin rengi */
        font-size: 14px;
        font-family: 'Poppins', sans-serif; /* Temanızın fontuyla uyumlu hale getirin */
    }

    .site-credits .credit-link {
        color: #ffffff; /* Linklerin rengi beyaz olsun */
        text-decoration: none;
        font-weight: 500; /* Biraz daha kalın */
        transition: color 0.3s ease;
    }

        .site-credits .credit-link:hover {
            color: #c0a78b; /* Temanızın ana vurgu rengi ile değiştirilebilir */
            text-decoration: none;
        }

    .site-credits .separator {
        margin: 0 10px;
        color: #555; /* Ayıracın rengi */
    }

    /* Kalp ve Instagram ikonlarının dikey hizalamasını düzeltir */
    .site-credits i {
        vertical-align: middle;
        font-size: 16px; /* İkon boyutu */
    }

        .site-credits i.icon-heart-fill {
            position: relative;
            top: -1px; /* Kalp ikonunu metinle daha iyi hizalamak için küçük bir ayar */
        }

/* =================================================================
   VİDEO SLAYT İÇİN ASPECT-RATIO PADDING-TOP YÖNTEMİ
   ================================================================= */

/* Slider'ın ana kapsayıcısı için genel ayarlar. */
.tf-slideshow {
    margin-bottom: 10px;
    overflow: hidden;
}

/* --- VİDEO SLAYTI --- */
.swiper-slide.video-slide {
    width: 100%;
    background-color: #000;
    padding: 7px; /* Çerçeve efekti için dış boşluk */
    box-sizing: border-box;
}

    /* Artık ekstra bir container'a ihtiyacımız yok. */
    .swiper-slide.video-slide .background-video {
        display: block; /* Önemli: Altında boşluk kalmasını önler */
        width: 100%;
        height: auto; /* Önemli: Doğal en-boy oranını korur */
        border-radius: 15px; /* Yuvarlak kenarlar */
        background-color: #000; /* Video yüklenene kadar siyah arkaplan */
    }

/* --- RESİM SLAYTI --- */
.tf-slideshow .swiper-slide .wrap-slider {
    /* JavaScript ile yükseklik atanana kadar varsayılan ayarlar */
    width: 100%;
    height: 100%;
    position: relative;
}

    .tf-slideshow .swiper-slide .wrap-slider img {
        display: block;
        width: 100%;
        height: 100%;
        /* Resmin, kendisine atanan yüksekliğe tam sığmasını ve kırpılmamasını sağlar. */
        object-fit: cover;
    }

    /* Yazıların (Başlık, alt yazı vs.) resim üzerinde konumlanması için */
    .tf-slideshow .swiper-slide .wrap-slider .box-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center; /* İçeriği dikeyde ortalar */
        z-index: 2;
    }


/* =================================================================
   HESABIM SAYFASI - MOBİL SIDEBAR DÜZENLEMESİ (VERSİYON 4 - jQuery)
   ================================================================= */
@media (max-width: 991.98px) {
    .desktop-sidebar {
        display: none !important;
    }

    .mobile-sidebar {
        display: block !important;
        width: 100%;
        margin-bottom: 30px;
    }

    .mobile-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px; /* Her zaman yuvarlak */
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

        /* Başlık aktif (açık) olduğunda */
        .mobile-sidebar-header.active {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .mobile-sidebar-header:hover {
            background-color: #e9ecef;
        }

        .mobile-sidebar-header .header-text h6 {
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            color: #333;
        }

        .mobile-sidebar-header .header-text .body-text-1 {
            margin: 0;
            font-size: 0.85rem;
            color: #6c757d;
        }

        .mobile-sidebar-header .header-icon {
            font-family: 'icomoon' !important;
            font-size: 16px;
            color: #333;
            transition: transform 0.3s ease;
        }

            .mobile-sidebar-header .header-icon::before {
                content: '\e90a';
            }

        .mobile-sidebar-header.active .header-icon {
            transform: rotate(180deg);
        }

    /* Açılan menünün kendisi */
    #mobile-account-menu {
        border: 1px solid #e9ecef;
        border-top: none;
        border-radius: 0 0 8px 8px;
        padding: 10px;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
}

/* ========================================================================
   HESABIM SAYFASI MOBİL UYUMLULUK (V5 - KESİN TAŞMA ÇÖZÜMÜ)
   ======================================================================== */

/* Mobil ve tablet görünümleri için (991px altı) */
@media (max-width: 991.98px) {

    /* 1. ADIM: TAŞMAYA NEDEN OLAN ANA SARMALAYICILARI SIFIRLA */

    /* Bootstrap'in .row elemanının negatif marjinlerini sıfırla */
    .flat-spacing .container .row {
        padding-left: 5px;
        padding-right: 5px;
    }

        /* İçerik sütununun (col-lg-9) yan boşluklarını sıfırla */
        .flat-spacing .container .row > [class*="col-"] {
            padding-left: 5px;
            padding-right: 5px;
        }

    /* Şablonun .my-account-content'e verdiği tüm boşlukları kaldır */
    .my-account-content {
        padding: 0 !important;
    }
}


/* Sadece dar mobil ekranlar için (767px altı) KART GÖRÜNÜMÜ */
@media (max-width: 767.98px) {

    /* Tablo yapısını blok elementlere dönüştür */
    .account-orders table,
    .account-orders thead,
    .account-orders tbody,
    .account-orders th,
    .account-orders td,
    .account-orders tr {
        display: block;
    }

        /* Başlık satırını gizle */
        .account-orders thead tr {
            display: none;
        }

        /* KART TASARIMI: Artık margin kullanmayacak, tam ekran olacak */
        .account-orders tr.tf-order-item {
            border: none; /* Dış kenarlık yok */
            border-bottom: 8px solid #f0f2f5; /* Kartlar arası boşluk için */
            border-radius: 0; /* Kenar yuvarlaklığı yok */
            margin-bottom: 0;
            padding: 15px; /* İçerik için boşluk */
            background-color: #fff;
            width: 100%;
            box-sizing: border-box;
        }

            .account-orders tr.tf-order-item:last-child {
                border-bottom: none; /* Son kartın altında boşluk olmasın */
            }

    .account-orders td {
        padding: 8px 0;
        display: flex; /* Etiket ve değeri yan yana getirmek için */
        justify-content: space-between; /* Aralarını aç */
        align-items: center; /* Dikeyde ortala */
        width: 100%;
        text-align: right;
        border-bottom: 1px dashed #e9ecef; /* Her satır arasına kesik çizgi */
        font-size: 15px;
    }

        .account-orders td:last-of-type {
            border-bottom: none; /* Son satırın altındaki çizgiyi kaldır */
        }

        /* Etiket kısmı */
        .account-orders td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #333;
            text-align: left;
        }

        /* Değer kısmı (sağdaki yazı) */
        .account-orders td > span {
            font-weight: 500;
            color: #555;
        }

        /* İşlemler butonu */
        .account-orders td[data-label="İşlemler"] {
            display: block;
            padding: 0;
            margin-top: 15px;
            border-bottom: none;
            border-top: none; /* Üst çizgiyi de kaldır */
        }

            .account-orders td[data-label="İşlemler"]::before {
                display: none;
            }

            .account-orders td[data-label="İşlemler"] .tf-btn {
                width: 100%;
                text-align: center;
            }
}

/* ========================================================================
   HESABIM - SİPARİŞ DETAYI SAYFASI MOBİL UYUMLULUK
   ======================================================================== */

/* Sadece dar mobil ekranlar için (767px altı) */
@media (max-width: 767.98px) {

    /* Ürün tablosunu kart görünümüne çevir */
    .order-details-summary table,
    .order-details-summary thead,
    .order-details-summary tbody,
    .order-details-summary th,
    .order-details-summary td,
    .order-details-summary tr {
        display: block;
    }

        /* Tablo başlığını gizle */
        .order-details-summary thead tr {
            display: none;
        }

        /* Her bir ürün satırını (tr) bir kart gibi yap */
        .order-details-summary tbody tr {
            display: flex; /* Flexbox ile içerik kontrolü */
            flex-wrap: wrap; /* Gerekirse alt satıra geç */
            align-items: center; /* Dikeyde ortala */
            padding: 15px 0;
            border-bottom: 1px solid #e9ecef;
        }

            .order-details-summary tbody tr:last-child {
                border-bottom: none;
            }

        /* 1. Sütun: Ürün Resmi */
        .order-details-summary tbody td:nth-child(1) {
            width: 80px; /* Sabit resim genişliği */
            padding-right: 15px;
        }

        /* 2. Sütun: Ürün Adı ve Fiyatı */
        .order-details-summary tbody td:nth-child(2) {
            flex-grow: 1; /* Kalan tüm genişliği kapla */
            width: calc(100% - 80px);
            text-align: left;
        }

            .order-details-summary tbody td:nth-child(2) .link {
                font-weight: 600;
                color: #333;
            }

        /* 3. ve 4. Sütunlar: Miktar ve Toplam (Yeni satırda) */
        .order-details-summary tbody td:nth-child(3),
        .order-details-summary tbody td:nth-child(4) {
            width: 50%;
            margin-top: 10px;
            font-size: 14px;
            display: flex;
            justify-content: space-between;
            padding-left: 80px; /* Resim genişliği kadar soldan boşluk bırak */
        }

            .order-details-summary tbody td:nth-child(3)::before,
            .order-details-summary tbody td:nth-child(4)::before {
                content: attr(data-label);
                font-weight: 500;
                color: #6c757d;
                text-align: left;
            }

    /* Sipariş Toplamları (tfoot) */
    .order-details-summary tfoot tr {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-top: 1px solid #e9ecef;
    }

        .order-details-summary tfoot tr:first-child {
            margin-top: 15px;
        }

    .order-details-summary tfoot td {
        display: inline;
        border: none;
        padding: 0;
        width: auto;
    }

        .order-details-summary tfoot td:first-child {
            font-weight: 600;
        }

    .order-details-summary tfoot tr.fw-bold td {
        font-weight: 700;
        color: #333;
    }


    /* Adres ve Not bölümlerini alt alta getir ve boşluk ekle */
    .account-order-details .row > .col-md-6 {
        width: 100%;
    }

        .account-order-details .row > .col-md-6:last-child {
            margin-top: 20px;
        }
}


/* =================================================================
   CHECKOUT MODAL - MİSAFİR UYARISI STİLİ
   ================================================================= */

.checkout-guest-warning {
    display: flex;
    align-items: flex-start; /* İkonu ve metni yukarıdan hizala */
    background-color: #fff9e6; /* Daha soluk bir sarı */
    color: #594b2d; /* Daha koyu, okunabilir bir metin rengi */
    border-left: 4px solid #ffc107; /* Sol tarafta belirgin bir şerit */
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    font-size: 13px; /* Yazıyı biraz küçült */
    line-height: 1.5;
}

    .checkout-guest-warning i {
        font-size: 18px;
        margin-right: 12px;
        margin-top: 2px; /* İkonu metnin ilk satırıyla daha iyi hizala */
        color: #ffc107;
    }

    .checkout-guest-warning strong {
        display: block; /* Başlığı kendi satırına al */
        margin-bottom: 2px;
    }
/* .tf-btn.btn-white sınıfının normal (varsayılan) durumu */
.tof-btn.bton {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: var(--main);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid var(--main);
    position: relative;
    overflow: hidden;
}

    /* .tf-btn.btn-white sınıfının üzerine fareyle gelindiğindeki (hover) durumu */
    .tof-btn.bton:hover {
        background-color: white !important; /* Arkaplanı temanın ana rengiyle doldur */
        color: #000 !important; /* Yazı rengini beyaza çevir */
        border-color: #181818 !important; /* Kenarlık renginin aynı kalmasını garantile */
    }

/* ==================================================================
   Çok Satırlı ve Ortalanmış Sayfalama Stili
================================================================== */

/* 
  Sayfalama ana kapsayıcısına (`ul.wg-pagination`) 'wrap' özelliği ekliyoruz.
  - `display: flex` ve `justify-content: center` zaten şablonunuzda mevcut.
  - `flex-wrap: wrap;` -> İçindeki elemanların (li) sığmadığı noktada bir alt satıra geçmesine izin verir.
  - `justify-content: center;` sayesinde her bir satır (alt satıra geçenler dahil) yatayda ortalanır.
  - `row-gap` -> Alt alta gelen satırlar arasına dikey bir boşluk ekleyerek yapışmalarını önler.
*/
ul.wg-pagination {
    flex-wrap: wrap;
    row-gap: 10px; /* Satırlar arasına 10px boşluk ekle. Değeri isteğine göre ayarlayabilirsin. */
    column-gap: 5px; /* Numaralar arasına yatay boşluk ekle (isteğe bağlı). */
}

.category-card .card-image img,
.product-card .card-image img {
    width: 100% !important;
    height: 100% !important; /* Kapsayıcı div yüksekliğini kullan */
    object-fit: contain !important; /* Oran bozulmadan sığdır */
    object-position: center !important; /* Ortada göster */
    display: block !important;
}

