
/* Normal modda beyaz logo gizli, siyah logo görünür */
.logo-light {
  display: block;
}
.logo-dark {
  display: none;
}

/* Koyu modda siyah logo gizli, beyaz logo görünür */
[data-bs-theme="dark"] .logo-light {
  display: none;
}
[data-bs-theme="dark"] .logo-dark {
  display: block;
}

@media (min-width: 992px) {
    .product-card:has(.select-card-check:checked), .product-card:hover {
        box-shadow: var(--cz-box-shadow);
        z-index: 2;
    }
}
.badge{z-index: 9}
.piyasaOran:empty{display:none}
/* Sadece aksiyon kartları */
.sb-actions { --sb-card-bg: #1f2328; --sb-card-bd: rgba(255,255,255,.10); --sb-text: rgba(255,255,255,.92); --sb-sub: rgba(255,255,255,.72); }

.sb-actionCard{
position: relative;
display: flex;
align-items: center;
gap: 12px;
padding: 14px 14px;
border-radius: 14px;
background: var(--sb-card-bg);
border: 1px solid var(--sb-card-bd);
color: var(--sb-text);
text-decoration: none;
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
min-height: 72px;
overflow: hidden;
}

.sb-actionCard:hover{
transform: translateY(-1px);
border-color: rgba(255,255,255,.18);
box-shadow: 0 10px 30px rgba(0,0,0,.25);
color: var(--sb-text);
}

.sb-actionCard:active{ transform: translateY(0); }

.sb-actionCard__icon{
width: 46px;
height: 46px;
border-radius: 12px;
display: grid;
place-items: center;
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
flex: 0 0 auto;
}

.sb-actionCard__icon svg{
width: 24px;
height: 24px;
color: rgba(255,255,255,.88);
}

.sb-actionCard__body{ min-width: 0; }
.sb-actionCard__title{
font-weight: 700;
font-size: .92rem;
line-height: 1.1;
letter-spacing: .2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.sb-actionCard__sub{
margin-top: 2px;
font-size: .78rem;
color: var(--sb-sub);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.sb-actionCard__bar{
display: block;
width: 44px;
height: 2px;
margin-top: 10px;
border-radius: 2px;
background: rgba(255,255,255,.18);
}

/* sağ ok */
.sb-actionCard__chev{
margin-left: auto;
width: 32px;
height: 32px;
border-radius: 10px;
display: grid;
place-items: center;
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.06);
color: rgba(255,255,255,.75);
flex: 0 0 auto;
}
.sb-actionCard__chev svg{ width: 18px; height: 18px; }

/* Mobilde daha kompakt */
@media (max-width: 575.98px){
.sb-actionCard{ padding: 12px; border-radius: 12px; min-height: 68px; }
.sb-actionCard__icon{ width: 42px; height: 42px; border-radius: 11px; }
.sb-actionCard__bar{ width: 36px; }
}

/* İstersen tema açık renkse sadece bu alanı otomatik uyarlat */
@media (prefers-color-scheme: light){
.sb-actions{ --sb-card-bg: #111418; } /* açık temada da “premium” koyu kart gibi kalsın */
}
.sb-actionCard__icon img{
  width:30px;
  filter: brightness(0) invert(1);

}
/* Normal Mod - Okunur Pastel */
.sbCard1{
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 100%); /* Soft Blue */
}
.sbCard2{
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); /* Medium Blue */
}
.sbCard3{
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); /* Primary Blue */
}
.sbCard4{
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); /* Strong Blue */
}

/* Koyu Mod - Kırmızı/Pembe */
[data-bs-theme="dark"] .sbCard1{
  background: linear-gradient(135deg, #FB7185 0%, #F472B6 100%); /* Pink */
}
[data-bs-theme="dark"] .sbCard2{
  background: linear-gradient(135deg, #F43F5E 0%, #FB7185 100%); /* Rose */
}
[data-bs-theme="dark"] .sbCard3{
  background: linear-gradient(135deg, #E11D48 0%, #F43F5E 100%); /* Red Rose */
}
[data-bs-theme="dark"] .sbCard4{
  background: linear-gradient(135deg, #BE123C 0%, #E11D48 100%); /* Deep Red */
}





.glass {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Koyu mod için */
[data-bs-theme="dark"] .glass {
  background: rgba(0, 0, 0, 0.3) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Navbar sticky olduğunda */
.glass.navbar-stuck {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

[data-bs-theme="dark"] .glass.navbar-stuck {
  background: rgba(0, 0, 0, 0.4) !important;
}





/*** URUN LİSTELEME-****/


/* ============================================
   GRID VIEW (Default)
   ============================================ */
.urunler-container:not(.list-view) .quantity-input-wrapper {
  display: none !important;
}

/* ============================================
   LIST VIEW - B2B KOMPAKT GÖRÜNÜM
   ============================================ */
.urunler-container.list-view {
  display: block !important;
  width: 100% !important;
}

.urunler-container.list-view .urun-kart {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin-bottom: 8px !important;
  margin-top: 8px !important;
  padding: 0 !important;
  justify-content: flex-start !important;
}

/* Kart satırı */
.urunler-container.list-view .product-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 8px 15px !important;
  min-height: 60px;
  border-radius: 6px !important;
}

/* Hover */
.urunler-container.list-view .product-card:hover {
  background: #f8f9fa;
}
[data-bs-theme="dark"] .urunler-container.list-view .product-card:hover {
  background: #1a1d20;
}

/* Checkbox */
.urunler-container.list-view .product-checkbox {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 12px 0 0 !important;
  opacity: 1 !important;
}

/* Resim alanı */
.urunler-container.list-view .product-card > .position-relative {
  flex: 0 0 50px !important;
  max-width: 50px !important;
  min-width: 50px !important;
  margin-right: 15px !important;
}

.urunler-container.list-view .product-card .d-block.rounded-top {
  padding: 5px !important;
  height: 50px !important;
}
.urunler-container.list-view .product-card .ratio {
  height: 100% !important;
  --cz-aspect-ratio: 100% !important;
}

/* Üst sağ butonları gizle */
.urunler-container.list-view .position-absolute.top-0.end-0,
.urunler-container.list-view .dropdown.d-lg-none {
  display: none !important;
}

/* =========================================================
   >>> ASIL DÜZELTME: İçerik satırında taşmayı engelle
   - Ürün adı esnesin
   - Stok ve fiyat/actions sabit kolon olsun
   - Fiyat/actions tek satırda kalsın
   ========================================================= */

/* İçerik alanı */
.urunler-container.list-view .product-card .w-100.min-w-0 {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 0 !important;

  /* eski: gap:20px yüzünden taşma büyüyordu */
  gap: 12px !important;

  /* taşmayı kontrol et */
  overflow: hidden !important;
}

/* Ürün adı: tek esneyen kolon */
.urunler-container.list-view .product-card h3 {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ürün adı link */
.urunler-container.list-view .product-card h3 a {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  display: block !important;
}

/* Stok: sabit genişlik (kaymayı bitirir) */
.urunler-container.list-view .text-body-secondary.fs-sm {
  flex: 0 0 90px !important;   /* isteğe göre 80-110 oynat */
  width: 90px !important;
  margin: 0 !important;
  font-size: 13px !important;
  padding-right: 0 !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Fiyat + actions bloğu: sabit genişlik + nowrap */
.urunler-container.list-view .d-flex.align-items-center.justify-content-between {
  /* eski: auto idi, bazı satırlarda büyüyüp taşıyordu */
  flex: 0 0 320px !important;  /* burası ana ayar: 300-360 arası idealdir */
  width: 320px !important;

  margin: 0 !important;
  padding: 0 !important;

  /* space-between yüzünden farklı boşluk dağıtıyordu */
  justify-content: flex-end !important;
  gap: 12px !important;

  /* tek satırda kalsın */
  white-space: nowrap !important;
}

/* Fiyat yazısı */
.urunler-container.list-view .d-flex.align-items-center.justify-content-between .h5 {
  font-size: 16px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* <del> çok uzunsa taşırmasın */
.urunler-container.list-view .d-flex.align-items-center.justify-content-between del {
  font-size: 12px !important;
  margin-left: 6px !important;
  white-space: nowrap !important;
}

/* Quantity + sepet: sağda sabit dursun */
.urunler-container.list-view .quantity-cart-wrapper {
  flex: 0 0 auto !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

/* Liste görünümünde input göster */
.urunler-container.list-view .quantity-input-wrapper {
  display: block !important;
}

.urunler-container.list-view .quantity-input {
  width: 70px !important;
  height: 36px !important;
}

.urunler-container.list-view .product-card-button {
  margin: 0 !important;
}

/* ============================================
   MOBİL RESPONSIVE - LIST VIEW (aynı mantık kalsın)
   ============================================ */
@media (max-width: 768px) {
  .urunler-container.list-view .product-card {
    flex-wrap: wrap !important;
    padding: 12px !important;
  }

  .urunler-container.list-view .product-card > .position-relative {
    flex: 0 0 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
  }

  .urunler-container.list-view .product-card .w-100.min-w-0 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    flex: 1 !important;
    overflow: visible !important;
  }

  .urunler-container.list-view .product-card h3 {
    order: 1 !important;
    width: 100% !important;
  }

  .urunler-container.list-view .text-body-secondary.fs-sm {
    order: 2 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    text-align: left !important;
  }

  .urunler-container.list-view .d-flex.align-items-center.justify-content-between {
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    justify-content: space-between !important;
    white-space: normal !important;
  }

  .urunler-container.list-view .quantity-cart-wrapper {
    width: 100% !important;
    justify-content: space-between !important;
    order: 4 !important;
  }

  .urunler-container.list-view .quantity-input-wrapper {
    flex: 1 !important;
  }

  .urunler-container.list-view .quantity-input {
    width: 100% !important;
  }
}





/*** URUN LİSTELEME-****/


   .filterCheck {
       text-transform: unset!important;
  }
  .altkategoriler li a{
    background: none;
    border: 0;
    color: var(--cz-nav-link-color);
    display: block;
    font-size: var(--cz-nav-link-font-size);
    font-weight: var(--cz-nav-link-font-weight);
    padding: var(--cz-nav-link-padding-y) var(--cz-nav-link-padding-x);
    text-decoration: none;
    transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
  }
  .altkategoriler li a:hover{

    color: var(--cz-link-hover-color);

  }


  .breadcrumbim ul {
      display: block;
      width: 100%;
      list-style: none;
      padding: 0;
      margin: 0;

  }

  .breadcrumbim li {
      display: flex;
      float:left;
      align-items: center;
      font-size: 14px;
  }

  .breadcrumbim li:not(:last-of-type)::after {
      content: "/  ";
      margin-left: 6px;
      color: #999;
  }

  .breadcrumbim a.BreadCrumb {
      color: #6f6f6f;
      text-decoration: underline;
  }

  .breadcrumbim li:last-of-type a {
      font-weight: 500;
      color:#262626;
      text-decoration: none;

  }
  .breadcrumbim ul > li:last-of-type > a {
    pointer-events: none;
    cursor: default;
    color: #6c757d;
    text-decoration: none;
  }

  .breadcrumbim ul > li:last-of-type > a:hover {
    text-decoration: none;
  }



  .urunKisa {
    max-width:400px;
    width:400px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

.katresim{width:20px;height:20px;display:none!important}
.piyasaFiyat{display:block;width:100%;clear:both;}
.fiyatAlani{padding-right:2rem!important;width:155px}

#twbsPagination{float:right!important}

.form-check-input{display:none!important}

article {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

article:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
}

article .blog-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

article .image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

article .image img {
    display: none;
}

article .entry {
    padding: 16px 20px 20px;
}

article .date-wrapper .date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

article .title h2 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

article:hover .title h2 {
    color: #0066cc;
}



@media (min-width: 992px) {
    #filterSidebar {
        position: sticky;
        top: 20px;
        align-self: start;
    }
}

.altLinkler a{
  position: relative;
  display: inline-flex !important;
  width: auto !important;
  padding-top: .25rem !important;
  background: none;
  border: 0;
  color: var(--cz-nav-link-color);
  font-size: var(--cz-nav-link-font-size);
  font-weight: var(--cz-nav-link-font-weight);
  text-decoration: none;
  transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
}
.altLinkler a:hover{

    --cz-link-color-rgb: var(--cz-link-hover-color-rgb);
    text-decoration: none;

}


.altLinkler a:after {
    background-color: currentcolor;
    bottom: 0;
    content: "";
    height: var(--cz-underline-thickness);
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform .3s ease-out;
    width: 100%;
}

.altLinkler a:hover:after {
    transform: scaleX(1) !important;
    transform-origin: bottom left;
}


/*** İletişim**/
.iletisimFormu{
  margin-top:3rem
}

.sbi-iletisim-wrap {
    --sbi-accent: #e8467c;          /* vurgu rengini buradan değiştir */
    --sbi-card-bg: #ffffff;
    --sbi-text: #1a1a1a;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    font-family: inherit;
    align-items: stretch;
  }
  @media (max-width: 768px) {
    .sbi-iletisim-wrap { grid-template-columns: 1fr; }
  }
  .sbi-card {
    background: var(--sbi-card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.05);
    padding: 28px;
  }
  .sbi-baslik {
    font-size: 18px; font-weight: 600;
    margin: 0 0 18px; color: var(--sbi-text);
  }
  .sbi-satir {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .sbi-satir:last-child { border-bottom: none; padding-bottom: 0; }
  .sbi-ikon {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(232,70,124,.10); color: var(--sbi-accent);
    display: flex; align-items: center; justify-content: center;
  }
  .sbi-ikon svg { width: 20px; height: 20px; }
  .sbi-icerik { flex: 1; min-width: 0; }
  .sbi-etiket {
    font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
    color: #8a8a8a; margin-bottom: 3px;
  }
  .sbi-deger {
    font-size: 15px; font-weight: 500; color: var(--sbi-text);
    text-decoration: none; word-break: break-word;
  }
  a.sbi-deger:hover { color: var(--sbi-accent); }
  .sbi-harita { padding: 0; overflow: hidden; }
  .sbi-harita iframe {
    width: 100%; height: 100%; min-height: 340px; border: 0; display: block;
  }
