/*
Theme Name: Kartci.com
Theme URI: https://www.kartci.com/
Author: Kartci
Author URI: https://www.kartci.com/
Description: Bootstrap 5 tabanlı, elektronik kart satış ve tamir merkezi için hazırlanmış modern WordPress starter teması.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kartci
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
:root {
 
    --color1: #000;
--color2: #CA6702;
--color3:#001219;

}
/* Sayfanın Minimum Yüksekliğini Ekran Boyutuna Eşitleme */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ekran boyutu ne olursa olsun minimum %100 kaplar */
}

/* Ana İçerik Alanını Esnetip Footer'ı En Alta İter */
main, #main-content, .site-main {
    flex: 1 0 auto;
}

/* Footer'ın Sıkışmasını Önler */
footer {
    flex-shrink: 0;
}
body{
   font-family: "Plus Jakarta Sans", sans-serif;

 padding-top:110px;


    font-optical-sizing: auto;

    font-weight: 400;
    font-style: normal;

    font-size: 20px;

    line-height: 30px;
        color: #212529;

    background-color: #fff;
    

}
a:hover{
    color: #000;
}
.contenteditable{
    margin-top:15px;
    margin-bottom:15px;
}

/*ul li{
    list-style: none;
}*/

ul, ol{
     list-style-position: inside;
     padding:0;
}

.no-copy{
    -moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.title a{
    color: #000 !important;
    text-decoration: none;
}
.title a:hover{
    color: #BB3E03 !important;
}
.title2 a{
    color: #BB3E03 !important;
    text-decoration: none;
}
.title2 a:hover{
    color: #000 !important;
}
/*-------------- topbar ---------------*/
.topbar {
    background-color:  var(--color3);
    color: #fff;
    font-size: 13px;
}

/*-------------- topbar ---------------*/
/*-------------- navbar ---------------*/
.navbar-brand {
    font-size: 30px;
   
    color: #001219;
    font-weight: 500;
}






.navbar-nav .nav-link {
    font-weight: 800;

   
    
   
    color: #212529;


}

.navbar-nav>li>a:hover,
.navbar-dark .navbar-nav>li>a:focus {

    color: #BB3E03 !important;

}



.navbar-nav>li>.dropdown-menu a {
    color: #212529;
}

.navbar-nav>li>.dropdown-menu a:hover {
    color: #fff;
    background-color: #BB3E03;
}

/*-------------- navbar ---------------*/

/*-------------- jumbotron ---------------*/
.jumbotron-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url('./img/elektronik-kart-tamiri.webp');
}
.span1{
    color:#CA6702;
}
/*-------------- jumbotron ---------------*/


/*-------------- custom button ---------------*/
.btn-b {
    color: #ffffff;
    background-color: #CA6702;
    border-color: #CA6702;
}

.btn-b:hover,
.btn-b:focus,
.btn-b:active,
.btn-b.active,
.open .dropdown-toggle.btn-b {
    color: #ffffff;
    background-color: #BB3E03;
    border-color: #BB3E03;
}

.btn-b:active,
.btn-b.active,
.open .dropdown-toggle.btn-b {
    background-image: none;
}

.btn-b.disabled,
.btn-b[disabled],
fieldset[disabled] .btn-b,
.btn-b.disabled:hover,
.btn-b[disabled]:hover,
fieldset[disabled] .btn-b:hover,
.btn-b.disabled:focus,
.btn-b[disabled]:focus,
fieldset[disabled] .btn-b:focus,
.btn-b.disabled:active,
.btn-b[disabled]:active,
fieldset[disabled] .btn-b:active,
.btn-b.disabled.active,
.btn-b[disabled].active,
fieldset[disabled] .btn-b.active {
    background-color: #000000;
    border-color: #000000;
}

.btn-b .badge {
    color: #000000;
    background-color: #ffffff;
}
/*-------------- custom button  ---------------*/


/*-------------- footer ---------------*/
footer {
    background-color: var(--color3);
    padding-top: 50px;

    color: #fff;
}

footer .footer-copy {
    background-color: #002533;
    padding: 10px;
    border-top: 1px solid #000000;
    margin-top: 15px;

}

footer .footer-bottom {
    background-color: #fff;
    color:#000;
    font-size:16px;
}

footer .footer-bottom a {
    color: #000;
}

footer .footer-bottom a:hover {
    color: #BB3E03;
}
footer a {
    color: #fff;
    text-decoration: none;

}

footer a:hover {
    color: #BB3E03;

}

/*-------------- footer ---------------*/
/*-------------- chat ---------------*/


.call-widget,
.whatsapp-widget {
    position: fixed;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    display: none;
    z-index: 9999;
}

.call-link,
.whatsapp-link {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.call-widget {
    right: 20px;
    bottom: 35px;
}

.call-widget-full {
    right: 0px;
    bottom: 0px;
    position: fixed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    display: none;
    z-index: 9999;
}

.whatsapp-widget {
    left: 20px;
    bottom: 35px;
}

.call-link:hover,
.whatsapp-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
}

.call-link:active,
.whatsapp-link:active {
    background-color: rgba(255, 255, 255, .2);
}





/*-------------- chat ---------------*/


/*-------------- breadcrumb ---------------*/
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "");
}
.breadcrumb-t {
    margin-top: 70px;
    font-size: 14px;
    line-height: 25px;
}

.breadcrumb-t a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.breadcrumb-t a:hover {
    color: #BB3E03;

}
/* Breadcrumb Taşma Yönetimi (Horizontal Scroll) */
.breadcrumb-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Mobil cihazlarda yağ gibi kayması için */
}

/* Linklerin ve yazıların alt satıra kırılmasını kesin olarak engeller */
.breadcrumb-scroll .breadcrumb-item {
    display: inline-block;
    float: none;
}

/* Şık Görünüm: Mobil kaydırma çubuğunu gizlemek veya inceltmek istersen */
.breadcrumb-scroll::-webkit-scrollbar {
    height: 3px; /* Çok ince zarif bir bar */
}

.breadcrumb-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
/*-------------- breadcrumb ---------------*/
.msg{
    background-color: var(--color3);

}

/*-------------- prg ---------------*/
.hr-bw {
    border: 0;
    height: 2px;
    background: #B3B3B3;
    background: radial-gradient(circle, rgba(179, 179, 179, 1) 0%, rgba(255, 255, 255, 1) 100%, rgba(237, 221, 83, 1) 100%);
    opacity: 1;
}

.hr-oguz {
    border: 0;
    height: 2px;
    background: #CA6702;
    background: radial-gradient(circle, rgba(202, 103, 2, 1) 0%, rgba(255, 255, 255, 1) 100%, rgba(237, 221, 83, 1) 100%);
    opacity: 1;
}
.hr-oguz2 {
    border: 0;
    height: 2px;
background: #9e9e9e;
background: radial-gradient(circle, rgba(158, 158, 158, 1) 0%, rgba(255, 255, 255, 1) 100%, rgba(237, 221, 83, 1) 100%);
    opacity: 1;
}


.static, #main img{
        max-width: 100%;
    height: auto;
}

/*-------------- prg ---------------*/

/*-------------- blockquote ---------------*/
 blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin-left: 0px;
  margin-right: 0px;
  position: relative;
   width: 100% !important;
  line-height: 1.9;
 
  /*Borders - (Optional)*/
  border-left: 15px solid #CA6702;
  border-right: 2px solid #CA6702;
  
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 5px;
  top:-30px;
}

blockquote::after{
  /*Reset to make sure*/
  content: "";
}

blockquote a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

blockquote a:hover{
 color: #666;
}

blockquote em{
  font-style: italic;
}

.quote_block {
     display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 30px 0 30px;
  position: relative;
  
  line-height: 1.9;
 
  /*Borders - (Optional)*/
  border-left: 15px solid #CA6702;
  border-right: 2px solid #CA6702;
  
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}
.quote_block::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:-10px;
}

.quote_block::after{
  /*Reset to make sure*/
  content: "";
}

.quote_block a{
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

.quote_block a:hover{
 color: #666;
}

.quote_block em{
  font-style: italic;
}
pre{
  counter-reset:line-numbering;
  background:#2c3e50;
  padding:20px 50px 14px 30px;
  margin-left: 10px;
  margin-right: 10px;
  
  width: 95% !important;
  
  color:#ecf0f1;
  
    .line::before {
      content: counter(line-numbering);
      counter-increment: line-numbering;
      padding-right: 1em;
      /* space after numbers */
      padding-left:10px;
      width: 1.5em;
      text-align: right;
      opacity: 0.5;
      color:white;
  }
}

/*-------------- blockquote ---------------*/

                     .header-button {
      
    justify-content: center;
  }



        /* Media Query for Mobile Devices  - Mobil (AkÄ±llÄ± Telefon)*/
        @media (max-width: 480px) {
            .search-fom{
                margin-bottom:15px;
            }
 .navbar-brand {
  width: 170px;
}
          footer{
            text-align: center;
          }
          .static, #main{
            text-align: center;
          }
              .call-widget,
    .whatsapp-widget {
        display: block;
        font-size: 14px;
        border-radius: 15px;
    }

        .call-widget-full {
        display: block;
        width: 100%;
        text-align: center;
    }

        .breadcrumb-t {
        text-align: center !important;
        ;
    }

    .breadcrumb .breadcrumb-item {
        text-align: center !important;
    }
    
    .topbar {
   
    font-size: 13px;
}
        }

        /* Media Query for low resolution  Tablets, Ipads  - DÃ¼ÅŸÃ¼k Ã‡Ã¶zÃ¼nÃ¼rlÃ¼klÃ¼ Tabletler ve iPad'ler*/
        @media (min-width: 481px) and (max-width: 767px) {
          
        }

        /* Media Query for Tablets Ipads portrait mode - Tabletler iPad'ler (dikey mod)*/
        @media (min-width: 768px) and (max-width: 1024px) {
     /*     .header-button {
      display: none;
      visibility: hidden;
  }*/
        }

        /* Media Query for Laptops and Desktops  - MasaÃ¼stÃ¼ bilgisayarlar*/
        @media (min-width: 1025px) and (max-width: 1280px) {
           
        }

        /* Media Query for Large screens  - Devasa boyut (Daha bÃ¼yÃ¼k ekran)*/
        @media (min-width: 1281px) {
            
        }


        .pagination{
            font-size: 25px;
            font-weight: bold;
            
        }
        .pagination a, .pagination span{
            padding-left: 10px;
        }


        .tag{
    font-size: 15px;
}
.tags span a{ 
  
 margin-right: 13px;

}

.blog img{
    padding: 15px !important;
  
    
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

.accordion-button {
    padding: 20px 0;
    font-weight: 600;
    color: #333;
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: #333;
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 0 20px 0;
}

/* Sidebar Widget İçi Dikey Scroll Yapısı */
.widget-scroll-y {
    max-height: 200px; /* Belirlenen yüksekliği aşınca scroll çıkar */
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar Tasarımını İnceltme */
.widget-scroll-y::-webkit-scrollbar {
    width: 4px;
}

.widget-scroll-y::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 10px;
}

/* Link Üzerine Gelince Hafif Renk Değişimi */
.widget-scroll-y a:hover {
    color: #ff7700 !important;
}

/* ==========================================================
   KARTÇI - ÖZEL SAYFALAMA (PAGINATION) RENKLERİ (#CA6702)
   ========================================================== */

/* 1. Standart Sayfa Linkleri */
.pagination .page-link {
    color: #CA6702;
    background-color: #ffffff;
    border-color: #dee2e6;
    transition: all 0.2s ease-in-out;
}

/* 2. Linklerin Üzerine Gelince (Hover) */
.pagination .page-link:hover {
    color: #9B4E01; /* Biraz daha koyu bir ton */
    background-color: #FFF3E6; /* Hafif turuncu/krem arka plan */
    border-color: #CA6702;
}

/* 3. Aktif (Seçili) Sayfa Numarası */
.pagination .page-item.active .page-link {
    color: #ffffff !important;
    background-color: #CA6702 !important;
    border-color: #CA6702 !important;
}

/* 4. Tıklanınca / Odaklanınca Oluşan Mavi Halkayı (Focus Ring) Değiştirme */
.pagination .page-link:focus {
    color: #CA6702;
    background-color: #FFF3E6;
    box-shadow: 0 0 0 0.25rem rgba(202, 103, 2, 0.25); /* #CA6702 renginin %25 opak hali */
}

/* 5. Pasif (Disabled - Örn: İlk sayfadayken "Önceki" butonu) Sayfa */
.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* ==========================================================
   BLOG TIPOGRAFİ AYARLARI (GUTENBERG COMPATIBLE)
   ========================================================== */

/* Metin Alanı Genel Ayarları */
.single-post-content {
    line-height: 1.8; /* Rahat okuma için ideal satır yüksekliği */
    color: #2b2b2b;
}

/* Başlık Boşlukları ve Boyutları */
.single-post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.single-post-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Liste Yapıları */
.single-post-content ul, 
.single-post-content ol {
    padding-left: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

/* Kart Üzeri Hover Efekti */
.blog-card {
    transition: transform 0.2s ease, shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}

.hover-primary:hover {
    color: #CA6702 !important; /* Ana renk */
}


/* Arama Sayfası Tab Tasarımı */
#searchTab .nav-link {
    color: #4b5563;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

#searchTab .nav-link:hover {
    color: #CA6702;
    border-color: #CA6702;
}

#searchTab .nav-link.active {
    color: #ffffff !important;
    background-color: #CA6702 !important;
    border-color: #CA6702 !important;
}

#searchTab .nav-link.active .badge {
    background-color: #ffffff !important;
    color: #CA6702 !important;
}

/* 1. Tüm standart metin içi linklerin rengi ve hover durumu */
a {
    color: #CA6702; /* Kurumsal vurgu rengin (Örn: Turuncu tonu) */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #9c4f01; /* Hover (üzerine gelince) biraz daha koyu tonu */
}

/* 2. Bootstrap'in ana renk (primary) sınıf kullanan tüm öğelerini güncellemek için */
:root {
    --bs-primary: #CA6702;
    --bs-primary-rgb: 202, 103, 2;
}

/* Bootstrap primary linkler ve buton hover uyarlamaları */
.text-primary {
    color: #CA6702 !important;
}

.btn-primary {
    background-color: #CA6702;
    border-color: #CA6702;
}

.btn-primary:hover {
    background-color: #9c4f01;
    border-color: #9c4f01;
}

/* Sayfalama (Pagination) veya aktif link renk uyumu */
.page-link {
    color: #CA6702;
}

.page-link:hover {
    color: #9c4f01;
}


/* Üzerine gelince renk değişimi için küçük dokunuş */
.hover-category {
    transition: all 0.2s ease-in-out;
}
.hover-category:hover {
    background-color: #001219 !important; /* Tema koyu ana rengi */
    color: #ffffff !important;
}
.hover-category:hover .text-warning {
    color: #CA6702 !important; /* Tema vurgu turuncu rengi */
}
.hover-category:hover .badge {
    background-color: #CA6702 !important;
    color: #ffffff !important;
}

/* WordPress içerik alanındaki tüm görselleri mobilde ve masaüstünde otomatik responsive yapar */
.entry-content img,
.page-content img,
article img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* İsteğe bağlı şık bir köşe yuvarlama */
}

/* Sidebar sticky ayarını kesinleştiriyoruz */
#sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Üstten bırakılacak boşluk (header yüksekliğine göre ayarlayabilirsin) */
    height: fit-content;
    align-self: flex-start;
}
/* WooCommerce'in buton altına attığı ekstra Sepetim linkini tamamen kaldırır */
.added_to_cart, 
a.added_to_cart {
    display: none !important;
}
/* WooCommerce'in buton altına fırlattığı Sepetim linkini tamamen yok eder */
.added_to_cart,
a.added_to_cart,
.wc-forward:not(.btn) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WooCommerce'in ürettiği .added_to_cart linkini her koşulda gizler */
a.added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
a[title="Sepetim"].added_to_cart {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* WooCommerce standart stokta yok yazısını gizle */
p.stock.out-of-stock {
  display: none !important;
}

/* ==========================================================================
   KARTÇI - WooCommerce Bildirim & Hata Mesajları (Bootstrap 5 Alert Stili)
   ========================================================================== */

/* Genel Bildirim Kutusu Tabanı */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0.75rem !important; /* rounded-3 */
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    border: 1px solid transparent !important;
}

/* İçerik ve Liste Düzeltmesi */
.woocommerce-error li,
.woocommerce-message li,
.woocommerce-info li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 1. HATA MESAJLARI (Örn: Geçersiz Kullanıcı Adı / Şifre) */
.woocommerce-error {
    background-color: #f8d7da !important; /* Bootstrap alert-danger bg */
    color: #842029 !important;
    border-color: #f5c2c7 !important;
}
.woocommerce-error::before {
    content: "\f06a" !important; /* FontAwesome Ünlem İkonu */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    color: #842029 !important;
}

/* 2. BAŞARI MESAJLARI (Örn: Sepete Eklendi, Adres Kaydedildi) */
.woocommerce-message {
    background-color: #d1e7dd !important; /* Bootstrap alert-success bg */
    color: #0f5132 !important;
    border-color: #badbcc !important;
}
.woocommerce-message::before {
    content: "\f058" !important; /* FontAwesome Onay İkonu */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    color: #0f5132 !important;
}

/* 3. BİLGİLENDİRME MESAJLARI (Örn: Kupon Kodları, İpuçları) */
.woocommerce-info {
    background-color: #cff4fc !important; /* Bootstrap alert-info bg */
    color: #055160 !important;
    border-color: #b6effb !important;
}
.woocommerce-info::before {
    content: "\f05a" !important; /* FontAwesome Bilgi İkonu */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    color: #055160 !important;
}

/* "Sepeti Görüntüle" ve "Ödemeye Geç" Butonlarını Düzenleme */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto !important;
    background-color: #001219 !important;
    color: #ffffff !important;
    border-radius: 50rem !important; /* rounded-pill */
    padding: 0.375rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
    background-color: #CA6702 !important;
    color: #ffffff !important;
}

/* WooCommerce Bildirim Kutuları İkon ve Metin Hizalama Düzeltmesi */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    position: relative !important;
    padding-left: 3.5rem !important; /* İkon ile metin arasına sol boşluk bırakır */
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
}

/* İkonun Metnin Üstüne Binmesini Engelleme */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    position: absolute !important;
    left: 1.25rem !important; /* İkonu sola hizalar */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Dikeyde tam ortalar */
    margin: 0 !important;
    line-height: 1 !important;
}

/* İçerideki Metin Düzeltmesi */
.woocommerce-message li,
.woocommerce-error li,
.woocommerce-info li {
    margin-bottom: 0 !important;
    list-style: none !important;
}
/* WooCommerce Bildirim Kutularındaki Mavi Odak Çerçevesini Kaldırma */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    outline: none !important;
    box-shadow: none !important; /* Varsa gölge efektini sıfırlar */
}

/* Tıklandığında veya Odaklandığında da Mavi Kenarlık Çıkmasın */
.woocommerce-error:focus,
.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:active,
.woocommerce-message:active,
.woocommerce-info:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important; /* Kendi orijinal kenarlık rengini korur */
}


/* ==========================================================================
   KARTÇI - WooCommerce Hesabım (Giriş & Üye Ol) Form Tasarımı
   ========================================================================== */

/* 1. Ana Konteyner ve Izgara Yapısı */
.woocommerce #customer_login {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
}

.woocommerce #customer_login .u-column1,
.woocommerce #customer_login .u-column2 {
    flex: 1 1 300px !important;
    background: #ffffff !important;
    padding: 2.25rem 2rem !important;
    border-radius: 1rem !important; /* rounded-4 */
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e9ecef !important;
}

/* 2. Başlık Stilleri */
.woocommerce #customer_login h2 {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #001219 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #f1f3f5 !important;
    position: relative !important;
}

.woocommerce #customer_login h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 50px !important;
    height: 2px !important;
    background-color: #CA6702 !important;
}

/* 3. Form Satırları ve Label'lar */
.woocommerce-form-row {
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
}

.woocommerce-form-row label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #212529 !important;
    margin-bottom: 0.375rem !important;
}

.woocommerce-form-row label .required {
    color: #dc3545 !important;
    text-decoration: none !important;
}

/* 4. Input (Giriş) Alanları */
.woocommerce-form input.input-text {
    width: 100 !important;
    padding: 0.625rem 0.875rem !important;
    font-size: 0.95rem !important;
    color: #212529 !important;
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
}

.woocommerce-form input.input-text:focus {
    background-color: #ffffff !important;
    border-color: #CA6702 !important;
    box-shadow: 0 0 0 0.25rem rgba(202, 103, 2, 0.15) !important;
}

/* 5. Beni Hatırla ve Şifremi Unuttum Alanları */
.woocommerce-form-login .form-row:nth-child(3) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
}

.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    margin: 0 !important;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: #CA6702 !important;
    width: 16px !important;
    height: 16px !important;
    cursor: pointer !important;
}

.woocommerce-LostPassword {
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
    text-align: right !important;
}

.woocommerce-LostPassword a {
    color: #6c757d !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce-LostPassword a:hover {
    color: #CA6702 !important;
    text-decoration: underline !important;
}

/* 6. Butonlar (Giriş Yap & Üye Ol) */
.woocommerce-form .button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    display: block !important;
    width: 100% !important;
    background-color: #001219 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 50rem !important; /* rounded-pill */
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    text-align: center !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.woocommerce-form .button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background-color: #CA6702 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 0.25rem 0.5rem rgba(202, 103, 2, 0.25) !important;
}

/* 7. Gizlilik Politikası Metni */
.woocommerce-privacy-policy-text {
    font-size: 0.8rem !important;
    color: #6c757d !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
}

.woocommerce-privacy-policy-text a {
    color: #001219 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.woocommerce-privacy-policy-text a:hover {
    color: #CA6702 !important;
}

/* Screen reader yazısını gizle */
.screen-reader-text {
    display: none !important;
}

/* ==========================================================================
   KARTÇI - WooCommerce Sipariş Onay (Order Received) Sayfası Tasarımı
   ========================================================================== */

.woocommerce-order {
    max-width: 960px !important;
    margin: 0 auto 3rem auto !important;
}

/* 1. Başarı Bildirimi Kutusu */
.woocommerce-notice--success {
    background-color: #d1e7dd !important;
    color: #0f5132 !important;
    border: 1px solid #badbcc !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 1rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 81, 50, 0.08) !important;
}

/* 2. Üst Sipariş Özet Kartları (Order Overview) */
ul.order_details.woocommerce-order-overview {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2.5rem 0 !important;
}

ul.order_details.woocommerce-order-overview li {
    flex: 1 1 200px !important;
    background: #ffffff !important;
    padding: 1.25rem 1rem !important;
    border-radius: 0.875rem !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.03) !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

ul.order_details.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #001219 !important;
    margin-top: 0.35rem !important;
    text-transform: none !important;
}

ul.order_details.woocommerce-order-overview li.total strong {
    color: #CA6702 !important; /* Tutar vurgusu için turuncu */
}

/* 3. Banka Bilgileri Kutusu (BACS Details) */
.woocommerce-bacs-bank-details {
    background: #ffffff !important;
    border: 2px dashed #CA6702 !important;
    border-radius: 1rem !important;
    padding: 1.75rem !important;
    margin-bottom: 2.5rem !important;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details-heading {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #001219 !important;
    margin-bottom: 0.5rem !important;
}

.woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #495057 !important;
    margin-bottom: 1rem !important;
}

ul.bacs_details {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

ul.bacs_details li {
    font-size: 0.95rem !important;
    color: #212529 !important;
    background: #f8f9fa !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #dee2e6 !important;
}

ul.bacs_details li strong {
    color: #001219 !important;
    font-weight: 700 !important;
}

/* 4. Sipariş Detayları Tablosu */
.woocommerce-order-details {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 1rem !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 2.5rem !important;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #001219 !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #f1f3f5 !important;
}

.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 0.875rem 0 !important;
    border-bottom: 1px solid #f1f3f5 !important;
    font-size: 0.95rem !important;
}

.woocommerce-table--order-details thead th {
    color: #001219 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
}

.woocommerce-table--order-details tfoot tr th {
    text-align: left !important;
    font-weight: 600 !important;
    color: #495057 !important;
}

.woocommerce-table--order-details tfoot tr td {
    text-align: right !important;
    font-weight: 600 !important;
    color: #001219 !important;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #001219 !important;
    border-top: 2px solid #dee2e6 !important;
    border-bottom: none !important;
}

/* 5. Fatura ve Gönderim Adresleri Blokları */
.woocommerce-customer-details .addresses {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

.woocommerce-customer-details .col-1,
.woocommerce-customer-details .col-2 {
    flex: 1 1 300px !important;
    background: #ffffff !important;
    padding: 1.75rem !important;
    border-radius: 1rem !important;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce-customer-details address {
    font-style: normal !important;
    line-height: 1.6 !important;
    color: #495057 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    color: #001219 !important;
}

/* ==========================================================================
   KARTÇI - WooCommerce Shop Table (Genel Tablo) Tasarımı
   ========================================================================== */

.woocommerce table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border: 1px solid #e9ecef !important;
    border-radius: 1rem !important; /* Tablo dış köşelerine radius */
    overflow: hidden !important;
    background-color: #ffffff !important;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 1.5rem !important;
}

/* Tablo Başlık (th) ve Hücre (td) Padding Ayarları */
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 1rem 1.25rem !important; /* Hücre içerilerine ferah padding */
    vertical-align: middle !important;
    border-top: 1px solid #f1f3f5 !important;
    border-bottom: none !important;
}

/* İlk satırın üst çizgisini kaldır */
.woocommerce table.shop_table tr:first-child th,
.woocommerce table.shop_table tr:first-child td {
    border-top: none !important;
}

/* Tablo Başlık Alanı Stili */
.woocommerce table.shop_table thead th {
    background-color: #f8f9fa !important;
    color: #001219 !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Tablo Alt Toplam (tfoot) Alanı */
.woocommerce table.shop_table tfoot th {
    font-weight: 600 !important;
    color: #495057 !important;
    background-color: #f8f9fa !important;
}

.woocommerce table.shop_table tfoot td {
    background-color: #f8f9fa !important;
    font-weight: 700 !important;
    color: #001219 !important;
}

/* ==========================================================================
   KARTÇI - Banka Bilgileri (BACS) Mobil Hizalama ve Ortamlama
   ========================================================================== */

@media (max-width: 768px) {
    /* Ana kapsayıcıyı ve başlıkları ortala */
    .woocommerce-bacs-bank-details {
        text-align: center !important;
        padding: 1.25rem 1rem !important;
    }

    .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading,
    .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Banka ve IBAN listesini mobilde alt alta ve ortalı yap */
    ul.bacs_details {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    /* Kutuları mobil ekrana tam yay ve metni ortala */
    ul.bacs_details li {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        word-break: break-word !important; /* Uzun IBAN numaralarının mobilde taşmasını önler */
        padding: 0.75rem 0.5rem !important;
    }
}


/* ==========================================================================
   KARTÇI - Özel Sayfa Yazdırma (Print) Stilleri
   ========================================================================== */

@media print {
    /* 1. Sayfadaki HER ŞEYİ gizle */
    body * {
        visibility: hidden !important;
    }

    /* 2. Sadece yazdırılmasını istediğiniz alanı ve onun içindekileri görünür yap */
    #yazdirilacak-alan, 
    #yazdirilacak-alan * {
        visibility: visible !important;
    }

    /* 3. Yazdırılacak alanı sayfanın en üstüne sıfırla ve hizala */
    #yazdirilacak-alan {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* 4. İsteğe bağlı: Yazdır butonunun kendisini çıktıdan gizle */
    .btn, button {
        display: none !important;
    }
}

/* ==========================================================================
   KARTÇI - Hesabım Sayfası Mobil Düzenleme (Giriş & Üye Ol)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Kapsayıcıyı mobilde tek sütuna (alt alta) çevir */
    .woocommerce #customer_login {
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* 2. Giriş Yap ve Üye Ol kartlarını %100 genişlikte eşitle */
    .woocommerce #customer_login .u-column1,
    .woocommerce #customer_login .u-column2 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem 1.25rem !important; /* Mobilde daha derli toplu iç boşluk */
    }

    /* 3. Beni Hatırla ve Şifremi Unuttum alanlarını mobilde düzgün hizala */
    .woocommerce-form-login .form-row:nth-child(3) {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .woocommerce-LostPassword {
        text-align: left !important;
        margin-top: 0.25rem !important;
    }

    /* 4. Butonların mobil ekranda tam genişlik kaplamasını sağla */
    .woocommerce-form .button,
    .woocommerce-form-login__submit,
    .woocommerce-form-register__submit {
        width: 100% !important;
    }
}


/* ==========================================================================
   KARTÇI - Yalnızca Hesabım Sayfası (Kapsüllenmiş / İzole CSS)
   ========================================================================== */

/* Sadece .woocommerce-account sınıfı altındaki düzeni etkiler */
.woocommerce-account div.woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px;
    margin-left: -12px;
}

/* 1. Sol Menü Sütun Yapısı */
.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 12px 1rem 12px !important;
    box-sizing: border-box;
}

/* 2. Sağ İçerik Sütun Yapısı */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem !important;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* Masaüstü Ekranlar İçin (992px ve üzeri) Yan Yana Getirme */
@media (min-width: 992px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 0 0 28% !important;
        max-width: 28% !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 0 0 72% !important;
        max-width: 72% !important;
    }
}

/* Menü Liste Düzeni */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    color: #001219 !important;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link a:hover {
    background-color: #e9ecef;
    color: #001219 !important;
}

/* Aktif Sekme Vurgusu (Koyu Lacivert) */
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #001219 !important;
    color: #ffffff !important;
    border-color: #001219 !important;
    box-shadow: 0 4px 12px rgba(0, 18, 25, 0.15);
}

/* Mobil Cihazlar İçin Menüyü Yatay Kaydırılabilir Yapma */
@media (max-width: 991.98px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation-link {
        flex: 0 0 auto;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation-link a {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
        border-radius: 20px;
    }
}


/* --- WooCommerce Ödeme ve Adres Formu Kesin Görsel Sıralaması --- */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-Address-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important; /* Yan yana duran alanların taşmasını önler */
}

/* Kapsayıcıyı tam genişlik yap */
.woocommerce-billing-fields__field-wrapper > p,
.woocommerce-shipping-fields__field-wrapper > p,
.woocommerce-Address-fields__field-wrapper > p {
    width: 100% !important;
}

/* 1. Ad (First Name) - Yan yana için %48 genişlik */
p#billing_first_name_field, p#shipping_first_name_field { 
    order: 10 !important; 
    width: 48% !important; 
    float: left !important; 
    margin-right: 4% !important;
}

/* 2. Soyad (Last Name) - Yan yana için %48 genişlik */
p#billing_last_name_field, p#shipping_last_name_field { 
    order: 20 !important; 
    width: 48% !important; 
    float: right !important; 
    margin-right: 0 !important;
}

/* 3. Telefon (Phone) */
p#billing_phone_field, p#shipping_phone_field { 
    order: 30 !important; 
    width: 100% !important; 
}

/* 4. E-posta (Email) */
p#billing_email_field { 
    order: 40 !important; 
    width: 100% !important; 
}

/* 5. Şehir (State / İl) */
p#billing_state_field, p#shipping_state_field { 
    order: 50 !important; 
    width: 100% !important; 
}

/* 6. İlçe / Semt (City) */
p#billing_city_field, p#shipping_city_field { 
    order: 60 !important; 
    width: 100% !important; 
}

/* 7. Adres (Address 1 - Textarea) */
p#billing_address_1_field, p#shipping_address_1_field { 
    order: 70 !important; 
    width: 100% !important; 
}

/* Ülke alanı */
p#billing_country_field, p#shipping_country_field { 
    order: 5 !important; 
    width: 100% !important; 
}

/* --- Çerez Bandını Ekrana Kesin Sabitleme (Fixed Layer) --- */
body #kartci-cookie-banner {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #001219 !important; /* Koyu modern arka plan */
    color: #ffffff !important;
    padding: 15px 20px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999999 !important; /* Her şeyin üstünde görünmesi için */
    margin: 0 !important;
}

.kartci-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.kartci-cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.5;
}

.kartci-cookie-content a {
    color: #CA6702 !important;
    text-decoration: underline;
    font-weight: 600;
}

.kartci-cookie-btn {
    background-color: #CA6702 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    transition: background 0.3s ease !important;
}

.kartci-cookie-btn:hover {
    background-color: #bb5a00 !important;
}

@media (max-width: 768px) {
    .kartci-cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .kartci-cookie-btn {
        width: 100%;
    }
}


/* Footer Yasal Uyarı Metni */
.footer-disclaimer {
    font-size: 14px;
    color: #a0a0a0; /* Koyu temada hafif silik, göz yormayan gri */
    line-height: 1.6;
    
}

/* WooCommerce Siparişi Onayla Butonu Özelleştirmesi */
form.checkout #place_order {
    background-color: #001219 !important;
    border-color: #001219 !important;
    color: #ffffff !important;
    border-radius: 50rem !important; /* Diğer butonlarınızdaki yuvarlak (pill) görünüm için */
    font-weight: 600 !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease;
}

/* Butonun üzerine gelindiğinde (Hover) */
form.checkout #place_order:hover {
    background-color: #CA6702 !important;
    border-color: #CA6702 !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    /* Tablo yapısını mobil kart görünümüne dönüştürme */
    .woocommerce-cart-form .table, 
    .woocommerce-cart-form .table tbody, 
    .woocommerce-cart-form .table tr, 
    .woocommerce-cart-form .table td {
        display: block !important;
        width: 100% !important;
    }
    
    /* Tablo başlıklarını mobilde gizle */
    .woocommerce-cart-form .table thead {
        display: none !important;
    }
    
    /* Her ürün için ayrı bir kutu (card) tasarımı oluşturma */
    .woocommerce-cart-form .table tr {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
        margin-bottom: 1rem;
        padding: 12px;
        border: 1px solid #e2e8f0 !important;
    }
    
    /* Hücreleri flex yapısıyla düzenleme */
    .woocommerce-cart-form .table td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 8px 4px !important;
        border: none !important;
        text-align: right !important;
    }
    
    /* 1. Hücre (Ürün Adı ve Görseli): Tam genişlikte üst kısımda kalır */
    .woocommerce-cart-form .table td:nth-child(1) {
        border-bottom: 1px dashed #e2e8f0 !important;
        padding-bottom: 12px !important;
        margin-bottom: 8px;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    /* 2. Hücre (Fiyat): Soluna otomatik etiket ekleme */
    .woocommerce-cart-form .table td:nth-child(2):before {
        content: "Birim Fiyat:";
        font-weight: 600;
        color: #64748b;
        font-size: 13px;
    }
    
    /* 3. Hücre (Adet): Soluna otomatik etiket ekleme */
    .woocommerce-cart-form .table td:nth-child(3):before {
        content: "Adet:";
        font-weight: 600;
        color: #64748b;
        font-size: 13px;
    }
    
    /* 4. Hücre (Toplam): Soluna otomatik etiket ekleme */
    .woocommerce-cart-form .table td:nth-child(4):before {
        content: "Ara Toplam:";
        font-weight: 600;
        color: #64748b;
        font-size: 13px;
    }
}

/* Topbar Ticker / Slayt Efekti */
.topbar {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}

.topbar-ticker {
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    text-align: center;
    font-size: 14px;
    animation: fadeTicker 9s infinite;
}

/* 3 yazı olduğu için her birine eşit zaman aralığı veriyoruz (Toplam 9 saniye) */
.ticker-item:nth-child(1) {
    animation-delay: 0s;
}

.ticker-item:nth-child(2) {
    animation-delay: 3s;
}

.ticker-item:nth-child(3) {
    animation-delay: 6s;
}

@keyframes fadeTicker {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    33% {
        opacity: 1;
        transform: translateY(0);
    }
    43% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 0;
        transform: translateY(-6px);
    }
}


/* WooCommerce Giriş / Kayıt Sayfası Kesin Mobil Düzeltmesi */
@media screen and (max-width: 991px) {
    /* Genel sayfada yatay kaymayı zorla engelle */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* Giriş ve Kayıt alanını oluşturan kapsayıcıyı dikey esnek yap */
    .woocommerce-account .woocommerce,
    #customer_login,
    .u-columns.col2-set {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    /* Sol ve Sağ sütunları tam genişlikte kartlara dönüştür */
    .woocommerce-account .woocommerce .u-column1,
    .woocommerce-account .woocommerce .u-column2,
    #customer_login .u-column1,
    #customer_login .u-column2,
    #customer_login .col-1,
    #customer_login .col-2 {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 0 20px 0 !important;
        padding: 15px !important;
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #e2e8f0 !important;
        box-sizing: border-box !important;
    }

    /* Form ve input elemanlarının dışarı taşmasını önle */
    .woocommerce-form-login,
    .woocommerce-form-register,
    .woocommerce-form-row,
    .form-row {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce-form .input-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* WordPress .blog veya diğer body sınıfları ne olursa olsun masaüstü logoyu sabitle */
body .navbar-brand.d-lg-block img.site-desktop-logo,
body.home img.site-desktop-logo,
body.blog img.site-desktop-logo,
.navbar-brand img.site-desktop-logo {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* Kapsayıcı a etiketinin de boyutu ezmesine izin verme */
body .navbar-brand {
    width: 140px !important;
    max-width: 140px !important;
}

