/* =============================================
   Durbunsepeti — Main Stylesheet
   ============================================= */

:root {
  --primary:      #5E8C31;
  --primary-dark: #4a7027;
  --primary-light:#EEF6E4;
  --accent:       #DB2777;
  --accent-light: #FDF2F8;
  --dark:         #1a1a2e;
  --text:         #333;
  --text-muted:   #888;
  --border:       #e8e8e8;
  --bg-light:     #f5f5f5;
  --shadow:       0 2px 12px rgba(0,0,0,.07);
  --radius:       10px;
  --header-h:     138px;

  /* Header (marka rengi yerine görsel referanstaki yeşil/gri) */
  --hdr-accent:      #7CB342;
  --hdr-accent-dark: #5E8C31;
  --hdr-dark:        #46484a;
  --hdr-dark-hover:  #58595b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  padding-bottom: 70px; /* mobile nav */
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===================== ÜST DUYURU ŞERİDİ ===================== */
.promo-top-strip {
  width: 100%;
  text-align: center;
  padding: 7px 12px;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
}
.promo-top-strip-link { display: block; color: inherit; text-decoration: none; }
.promo-top-strip--image { padding: 0; line-height: 0; }
.promo-top-strip-img {
  width: 100%;
  max-height: 90px;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .promo-top-strip:not(.promo-top-strip--image) { font-size: 12.5px; padding: 6px 10px; }
  .promo-top-strip-img { max-height: 60px; }
}

/* ===================== HEADER ===================== */

/* Sticky sarıcı */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* İnce marka şeridi (en üst) */
.hdr-top-accent {
  height: 4px;
  background: var(--hdr-accent);
}

/* Logo */
.hdr-logo { text-decoration: none; flex-shrink: 0; }
.logo-main {
  font-size: 26px;
  font-weight: 900;
  color: #2b2b2b;
  letter-spacing: -1px;
}
.logo-accent {
  font-size: 26px;
  font-weight: 900;
  color: var(--hdr-accent-dark);
  letter-spacing: -1px;
}

/* Mobil hızlı linkler (İndirim Kuponları / Blog) */
.mobile-quick-links {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.mobile-quick-links::-webkit-scrollbar { display: none; }
.mobile-quick-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #fff5ee;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Ana Header (beyaz, logo + arama + aksiyonlar) ── */
.main-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.main-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ── Arama wrapper + AJAX dropdown ── */
.hdr-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.hdr-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.hdr-search-input {
  width: 100%;
  flex: 1;
  height: 46px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text);
}
.hdr-search-input:focus { border-color: var(--hdr-accent); }
.hdr-search-btn {
  height: 46px;
  width: 52px;
  background: var(--hdr-accent);
  border: 1.5px solid var(--hdr-accent);
  border-radius: 0 4px 4px 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.hdr-search-btn:hover { background: var(--hdr-accent-dark); border-color: var(--hdr-accent-dark); }

/* ── Arama Dropdown ── */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 2000;
  overflow: hidden;
}
.search-dropdown.open { display: block; }
.sd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  transition: background .12s;
  border-bottom: 1px solid #f3f3f3;
}
.sd-item:last-of-type { border-bottom: none; }
.sd-item:hover { background: #f4f8ee; }
.sd-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.sd-info { display: flex; flex-direction: column; min-width: 0; }
.sd-name {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.sd-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--hdr-accent-dark);
  margin-top: 2px;
}
.sd-all {
  display: block;
  text-align: center;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hdr-accent-dark);
  background: #f4f8ee;
  transition: background .12s;
}
.sd-all:hover { background: #e6f0d9; }

/* Sağ aksiyonlar */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* İkon butonları (favoriler / hesap / mobil arama) */
.hdr-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hdr-icon-btn i { font-size: 21px; }
.hdr-icon-btn:hover { background: var(--bg-light); color: var(--hdr-accent-dark); }

/* Mobil arama çubuğu (arama ikonuna basınca açılır) */
.mobile-search-bar {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-search-bar.open { display: flex; }
.mobile-search-close {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: none;
  background: var(--bg-light);
  border-radius: 6px;
  color: var(--text);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* Sepet butonu */
.hdr-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  border-radius: 6px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}
.hdr-cart-btn:hover { background: var(--bg-light); color: var(--text); }
.hdr-cart-icon-wrap { position: relative; display: flex; align-items: center; }
.hdr-cart-icon-wrap .bi { font-size: 22px; color: var(--text); }
.hdr-cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  background: var(--hdr-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.hdr-cart-label { font-size: 13px; font-weight: 700; color: var(--hdr-accent-dark); }

/* Mobile toggle */
.hdr-mobile-toggle {
  background: var(--bg-light);
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.hdr-mobile-toggle:hover { background: #ececec; }

/* ── Kategori Şeridi (koyu) ── */
.hdr-cat-nav {
  background: var(--hdr-dark);
  position: relative;
}
.hdr-cat-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hdr-cat-nav-inner::-webkit-scrollbar { display: none; }
.hdr-cat-nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 46px;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  transition: color .15s;
}
.hdr-cat-nav-home:hover { color: var(--hdr-accent); }
.hdr-cat-nav-link {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #eee;
  white-space: nowrap;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.hdr-cat-nav-link:hover { background: var(--hdr-dark-hover); color: #fff; }
.hdr-cat-nav-item { display: flex; flex-shrink: 0; }
.hdr-cat-nav-caret { font-size: 9px; margin-left: 6px; opacity: .75; }

/* Alt kategori dropdown paneli */
.hdr-cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1500;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  padding: 10px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 2px;
  max-width: 720px;
}
.hdr-cat-dropdown.open { display: grid; }
.hdr-cat-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .12s, color .12s;
}
.hdr-cat-dropdown-link:hover { background: var(--primary-light); color: var(--primary); }
.hdr-cat-dropdown-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.hdr-cat-dropdown-icon img { width: 100%; height: 100%; object-fit: cover; }
.hdr-cat-dropdown-link:hover .hdr-cat-dropdown-icon { background: #fff; }

/* Responsive */
@media (max-width: 991px) {
  .logo-main, .logo-accent { font-size: 22px; }
  .main-header-inner { height: 60px; gap: 10px; padding: 0 12px; }
  .hdr-search-input { height: 38px; }
  .hdr-search-btn   { height: 38px; width: 42px; font-size: 16px; }
}

@media (max-width: 480px) {
  .logo-main, .logo-accent { font-size: 20px; }
  .hdr-cart-label { display: none; }
  .hdr-cart-btn { padding: 7px 10px; }
}

/* ===================== KATEGORİ YAN MENÜ (DRAWER) ===================== */
.cat-drawer {
  position: fixed;
  top: 0; left: -310px;
  width: 290px;
  height: 100vh;
  background: #fff;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 28px rgba(0,0,0,.18);
  transition: left .28s cubic-bezier(.4,0,.2,1);
}
.cat-drawer.open { left: 0; }

.cat-drawer-header {
  background: var(--primary);
  color: #fff;
  padding: 0 16px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
}
.cat-drawer-close {
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 7px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .15s;
}
.cat-drawer-close:hover { background: rgba(255,255,255,.32); }

.cat-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}
.cat-drawer-body::-webkit-scrollbar { width: 4px; }
.cat-drawer-body::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 2px; }

/* Her kategori satırı */
.cat-drawer-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #f3f3f3;
}
.cat-drawer-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s, color .15s;
  min-width: 0;
}
.cat-drawer-link:hover { background: var(--primary-light); color: var(--primary); }

.cat-drawer-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.cat-drawer-link:hover .cat-drawer-icon {
  background: var(--primary);
  color: #fff;
}
.cat-drawer-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Alt kategori açma butonu */
.cat-drawer-toggle {
  background: none;
  border: none;
  padding: 0 14px;
  color: #bbb;
  cursor: pointer;
  font-size: 14px;
  align-self: stretch;
  display: flex; align-items: center;
  transition: color .15s;
  flex-shrink: 0;
}
.cat-drawer-toggle:hover { color: var(--primary); }
.cat-drawer-toggle i { transition: transform .22s ease; }
.cat-drawer-item.open .cat-drawer-toggle i { transform: rotate(90deg); }

/* Alt kategoriler */
.cat-drawer-sub {
  display: none;
  flex: 0 0 100%;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  padding: 4px 0;
}
.cat-drawer-item.open .cat-drawer-sub { display: block; }
.cat-drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px 8px 64px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.cat-drawer-sub-link i { color: var(--primary); font-size: 16px; flex-shrink: 0; }
.cat-drawer-sub-link:hover { color: var(--primary); background: var(--primary-light); }

/* Overlay */
.cat-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 2099;
  backdrop-filter: blur(2px);
}
.cat-drawer-overlay.active { display: block; }

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: -280px;
  width: 280px; height: 100vh;
  background: #fff;
  z-index: 2000;
  transition: left .3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,.2);
}
.mobile-menu.open { left: 0; }
.mobile-menu-header {
  background: var(--dark);
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.mobile-menu-close {
  background: none; border: none;
  color: #fff; font-size: 18px; cursor: pointer;
}
.mobile-search {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  transition: background .15s;
}
.mobile-menu-links a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1999;
}
.mobile-menu-overlay.active { display: block; }

/* ===================== FLASH TOAST ===================== */
.flash-toast {
  position: fixed;
  top: 120px; right: 16px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  animation: slideIn .3s ease, fadeOut .4s ease 3s forwards;
  max-width: 320px;
}
.flash-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.flash-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; max-width: 380px; animation: slideIn .3s ease, fadeOut .4s ease 7s forwards; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* ===================== MAIN CONTENT ===================== */
.main-content { min-height: 60vh; }

/* ===================== HERO SLIDER ===================== */
.hero-slider { background: var(--bg-light); }
.slider-img { max-height: 480px; object-fit: cover; width: 100%; }
.hero-slider .carousel-caption {
  left: 50%;
  right: auto;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-block;
  width: auto;
  max-width: 90%;
  background: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.hero-slider .carousel-caption h2 {
  color: #222;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  text-shadow: none;
}
.slider-placeholder {
  min-height: 400px;
  background: linear-gradient(135deg, var(--dark) 0%, #0f3460 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.slider-placeholder-inner { color: #fff; padding: 40px; }
.slider-placeholder-inner h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.slider-placeholder-inner p { font-size: 1.1rem; opacity: .8; margin-bottom: 24px; }

/* ===================== FEATURED SECTION ===================== */
.featured-section {
  padding: 24px 0 32px;
  background: #fff;
}
.featured-section > .container {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border: 1.5px solid #ddd0fb;
  border-radius: 16px;
  padding: 24px 24px 28px;
}

/* ===================== FLASH SECTION ===================== */
.flash-section {
  padding: 28px 0 8px;
  background: #fff;
}
.flash-section > .container {
  max-width: 1800px;
  padding: 0 20px;
}

/* Başlık */
.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.flash-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.flash-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--hdr-accent);
  color: var(--hdr-accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.flash-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
}
.flash-line { flex: 1; height: 1px; background: var(--hdr-accent); min-width: 40px; }
.flash-header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.flash-see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.flash-see-all:hover { color: var(--hdr-accent-dark); }

/* Geri sayım */
.flash-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--hdr-dark);
  border-radius: 8px;
  padding: 5px 12px;
}
.flash-timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 28px;
}
.flash-timer-block span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.flash-timer-block small { font-size: 9px; color: rgba(255,255,255,.75); }
.flash-timer-sep { color: #fff; font-weight: 700; font-size: 16px; padding: 0 1px; }

/* Slider sarıcı */
.flash-slider-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.flash-arrow {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: border-color .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  z-index: 2;
}
.flash-arrow:hover { border-color: var(--hdr-accent); color: var(--hdr-accent-dark); }
.flash-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }

.flash-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 2px 14px;
}
.flash-track::-webkit-scrollbar { display: none; }

/* Ürün kartı ("Discover our favourites" stili) */
.df-card {
  flex-shrink: 0;
  width: 210px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.df-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); color: inherit; }

.df-card-img-wrap {
  position: relative;
  display: block;
  height: 190px;
  padding: 16px;
  text-decoration: none;
}
.df-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .3s;
}
.df-card:hover .df-card-img { transform: scale(1.05); }

.df-discount-badge {
  position: absolute;
  left: 0; top: 12px;
  background: #e0261f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 0 4px 4px 0;
  z-index: 1;
}
.df-discount-badge--out { background: #888; font-size: 11px; }

.df-wishlist-btn {
  position: absolute;
  right: 12px; bottom: -16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: color .15s, border-color .15s;
  z-index: 1;
}
.df-wishlist-btn:hover,
.df-wishlist-btn.active { color: #e0261f; border-color: #e0261f; }

.df-card-body {
  padding: 22px 14px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.df-name {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 2.8em;
}
.df-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); }
.df-rating i { font-size: 11px; color: #f5a623; }
.df-rating-num { font-weight: 700; color: var(--text); margin-left: 2px; }

.df-stock { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text); }
.df-stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ea043; flex-shrink: 0; }
.df-stock-out { color: var(--text-muted); }
.df-stock-out .df-stock-dot { background: #c33; }

.df-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.df-prices { display: flex; flex-direction: column; min-width: 0; }
.df-old-price { font-size: 11px; color: #aaa; text-decoration: line-through; }
.df-new-price { font-size: 16px; font-weight: 700; color: var(--text); }
.df-new-price.is-discounted { color: #e0261f; }

@media (max-width: 576px) {
  .df-card { width: 158px; }
  .df-card-img-wrap { height: 150px; }
  .flash-arrow { width: 30px; height: 30px; font-size: 13px; }
}

/* ===================== İKİLİ BANNER (Sol Carousel + Sağ Ürün Vitrini) ===================== */
.promo-duo-section { padding: 24px 0; }
.promo-duo-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .promo-duo-grid { grid-template-columns: 1fr; }
}

/* Sol: dönen banner — görsel kendi oranında, hiç kırpılmaz.
   align-self:start sayesinde sağ taraf ne kadar uzasa da sol asla gerilmez,
   ama satırın yüksekliğini yine de sol belirler; sağ ona otomatik uyar. */
.promo-duo-left {
  border-radius: 14px;
  overflow: hidden;
  align-self: start;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
}
.promo-duo-left-img { width: 100%; height: auto; display: block; }

/* Sağ: arka plan görseli + ürün vitrini — soldaki görselin yüksekliğine otomatik uyar (grid stretch) */
.promo-duo-right {
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-light);
  display: flex;
  flex-direction: column;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
}
@media (max-width: 900px) {
  .promo-duo-right { height: auto; min-height: 260px; }
}
.promo-duo-right-title {
  display: inline-block;
  align-self: flex-start;
  background: #fff;
  color: #222;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 12px;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.promo-duo-products { position: relative; margin-top: auto; }
.promo-duo-products-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 22px 2px;
}
.promo-duo-products-track::-webkit-scrollbar { display: none; }

.promo-duo-product-card {
  flex-shrink: 0;
  width: 102px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s;
}
.promo-duo-product-card:hover { transform: translateY(-3px); color: inherit; }
.promo-duo-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg-light);
  padding: 5px;
}
.pdp-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 6px 0;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.pdp-go {
  display: block;
  text-align: center;
  padding: 3px 2px 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
}

.promo-duo-next, .promo-duo-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  z-index: 1;
}
.promo-duo-next { right: -6px; }
.promo-duo-prev { left: -6px; }
.promo-duo-next:hover, .promo-duo-prev:hover { color: var(--primary); }

.promo-duo-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 14px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 24px;
  text-decoration: none;
  transition: background .15s;
}
.promo-duo-cta:hover { background: var(--bg-light); color: var(--text); }

/* ===================== TRIPLE BANNERS ===================== */
.triple-section { padding: 28px 0; }
.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.triple-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
  text-decoration: none;
  background: #f0f0f0;
}
.triple-card img,
.triple-card video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.triple-card:hover img,
.triple-card:hover video { transform: scale(1.06); }
.triple-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 10px 16px;
}
.triple-overlay span {
  color: #222;
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 767px) {
  .triple-grid { grid-template-columns: repeat(2, 1fr); }
  .triple-card, .triple-card img, .triple-card video { height: 160px; }
}
@media (max-width: 480px) {
  .triple-grid { grid-template-columns: 1fr; }
  .triple-card, .triple-card img, .triple-card video { height: 180px; }
}

/* ===================== PROMO BANNERS ===================== */
.promo-section { padding: 16px 0; }

.promo-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.promo-grid:has(.promo-left):not(:has(.promo-right)),
.promo-grid:not(:has(.promo-left)):has(.promo-right) {
  grid-template-columns: 1fr;
}

/* Sol — sabit */
.promo-left {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  height: 200px;
}
.promo-left img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Sağ — kayan */
.promo-right {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  height: 200px;
}
.promo-slides {
  position: relative;
  width: 100%;
  height: 200px;
}
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.promo-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Noktalar */
.promo-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.promo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.promo-dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 767px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-left,
  .promo-right,
  .promo-slides { height: 160px; }
  .promo-left img,
  .promo-slide img { height: 160px; }
}

/* ===================== CAMPAIGN BANNERS ===================== */
.campaign-banner-img {
  height: 200px;
  object-fit: cover;
  transition: transform .3s;
}
.campaign-banner-link:hover .campaign-banner-img { transform: scale(1.03); }
.campaign-banner-link { display: block; overflow: hidden; border-radius: var(--radius); }

/* ===================== FEATURES BAR ===================== */
.features-bar { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-item i {
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}
.feature-item strong { display: block; font-size: 13px; }
.feature-item span { font-size: 11px; color: var(--text-muted); }
@media (max-width: 767px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-bottom: 1px solid var(--border); }
}

/* ===================== SECTION HEADERS ===================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.section-link { color: var(--primary); font-size: 13px; font-weight: 600; }
.section-link:hover { text-decoration: underline; }

/* ===================== BRANDS MARQUEE ===================== */
.brands-section {
  padding: 40px 0 48px;
  background: linear-gradient(135deg, #fafafa 0%, var(--primary-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  margin-top: 4px;
}
.brands-marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  padding: 16px 12px 12px;
  background: #fff;
  border: 1.5px solid #ede8e0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(233,81,26,.15);
  border-color: var(--primary);
}
.brand-card-logo {
  width: 110px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .22s;
}
.brand-card:hover .brand-card-logo img {
  filter: grayscale(0%);
}
.brand-card-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: center;
  white-space: nowrap;
  transition: color .22s;
}
.brand-card:hover .brand-card-name {
  color: var(--primary);
}

/* ===================== VİTRİN ŞERİDİ (header altı) ===================== */
.showcase-section {
  background: #fff;
  padding: 28px 0 8px;
}
.showcase-section > .container {
  max-width: 1800px;
  padding: 0 20px;
}
.showcase-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.showcase-script {
  font-family: 'Baloo 2', cursive;
  font-size: 26px;
  font-weight: 700;
  color: var(--hdr-accent-dark);
  white-space: nowrap;
}
.showcase-sep { width: 1px; height: 20px; background: #ccc; flex-shrink: 0; }
.showcase-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.showcase-line { flex: 1; height: 1px; background: var(--hdr-accent); min-width: 40px; }

.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.showcase-item {
  position: relative;
  display: block;
  height: clamp(220px, 24vw, 420px);
  border-radius: 8px;
  overflow: hidden;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.showcase-item:hover img { transform: scale(1.05); }
.showcase-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  color: #222;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

.showcase-wide {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.showcase-wide img { width: 100%; display: block; }

/* 2. sıra: 3'lü, geniş sağda */
.showcase-grid--row2 { grid-template-columns: 1fr 1fr 2fr; }

/* 3. sıra: 4'lü, daha alçak */
.showcase-grid--row3 { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.showcase-item--sm { height: clamp(110px, 11vw, 200px); }

@media (max-width: 767px) {
  .showcase-grid,
  .showcase-grid--row2,
  .showcase-grid--row3 { grid-template-columns: 1fr; }
  .showcase-script { font-size: 21px; }
  .showcase-subtitle { font-size: 15px; }
}

/* ===================== PRODUCT CARDS ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Ana sayfadaki ürün bölümlerinde mobilde 4 ürün göster */
  .home-products .products-grid .product-card:nth-child(n+5) { display: none; }
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.product-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 1;
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.discount-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}
.featured-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #f59e0b;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 1;
}
/* İndirimli üründe görsel altı ince şerit */
.pc-discount-strip {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  padding: 5px 8px;
}

.product-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.product-card-title:hover { color: var(--primary); }
.product-card-price { display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; }
.old-price {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
  white-space: nowrap;
}
.new-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.product-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-light);
  border-radius: 8px;
  padding: 6px 6px 6px 10px;
}
.btn-add-cart {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-add-cart:hover { background: var(--primary-dark); }

/* List view */
.products-list { grid-template-columns: 1fr; }
.products-list .product-card { flex-direction: row; height: 120px; }
.products-list .product-card-img-wrap { width: 120px; height: 120px; aspect-ratio: unset; flex-shrink: 0; }
.products-list .product-card-body { flex-direction: row; align-items: center; gap: 16px; }
.products-list .product-card-actions { width: 140px; flex-shrink: 0; }

@media (max-width: 480px) {
  .products-grid { gap: 8px; }
  .new-price { font-size: 13px; }
  .product-card-actions { padding: 6px 4px 6px 8px; gap: 4px; }
  .btn-add-cart { width: 30px; height: 30px; font-size: 14px; }
}

/* ===================== PRODUCT DETAIL ===================== */
.product-gallery {}
.gallery-main {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.gallery-main img:hover { transform: scale(1.05); }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 70px; height: 70px;
  border: 2px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  object-fit: cover;
  transition: border-color .2s;
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--primary); }

.product-detail-info {}
.product-detail-title { font-size: 1.4rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.product-sku { margin: 4px 0 12px; }
.other-sellers-box {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fafafa;
}
.other-sellers-title { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.other-sellers-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid #eee;
  font-size: 13px;
}
.other-sellers-row:first-of-type { border-top: none; }
.other-seller-name { flex: 1; color: var(--dark); font-weight: 600; text-decoration: none; }
.other-seller-name:hover { color: var(--primary); }
.other-seller-price { font-weight: 700; color: var(--primary); }
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.detail-old-price { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.discount-pct {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}
.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  width: 100%;
}
.cod-note-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8e6;
  border: 1px solid #f0c14b;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--dark);
}
.cod-note-box i { color: #c47c00; font-size: 13px; margin-top: 1px; flex-shrink: 0; }
.cod-note-box strong { color: var(--primary); }
.cod-note-box--havale { background: #eafaf0; border-color: #7fd8a0; }
.product-coupon-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff5f0;
  border: 1.5px dashed #e8511a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--dark);
}
.product-coupon-box i { color: #e8511a; font-size: 20px; flex-shrink: 0; }
.cod-note-box--havale i { color: #1e8c45; }
.qty-cart-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.qty-selector {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.qty-btn {
  width: 38px; height: 46px;
  background: var(--bg-light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s;
}
.qty-btn:hover { background: var(--border); }
.qty-input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 16px;
  font-weight: 600;
  outline: none;
}
.detail-action-btns {
  display: flex;
  gap: 10px;
}
.btn-buy-now {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-buy-now:hover { background: #333; }
.btn-add-cart-detail {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart-detail:hover { background: var(--primary-dark); }

/* Kargo sayacı */
.cargo-countdown {
  margin-top: 10px;
  padding: 9px 14px;
  background: #fff8f5;
  border: 1px solid #fdd8c0;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}
.cargo-countdown .bi { color: var(--primary); flex-shrink: 0; }
.cc-highlight { color: var(--primary); font-weight: 700; }
/* Social proof bar */
.product-social-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 11px;
}
.viewer-count { display: flex; align-items: center; gap: 5px; color: #444; }
.rating-summary-link {
  display: flex; align-items: center; gap: 5px;
  text-decoration: none; color: #444;
}
.rating-summary-link:hover { color: var(--primary); }
.stars-inline { display: flex; gap: 1px; }

/* Reviews */
.reviews-section { border-top: 1px solid var(--border); padding-top: 30px; }
.reviews-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.reviews-avg { font-size: 0.95rem; font-weight: 400; display: flex; align-items: center; gap: 4px; }

/* Grid */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 991px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-card-top { display: flex; align-items: center; justify-content: space-between; }
.review-stars { display: flex; gap: 1px; font-size: 13px; }
.review-date { font-size: 11px; color: #999; }
.review-comment { margin: 0; font-size: 13px; color: #444; line-height: 1.5; flex: 1; }
.review-author { font-size: 12px; color: #666; }

.review-photo-link { display: inline-block; }
.review-photo {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--border);
  transition: opacity .2s;
}
.review-photo:hover { opacity: .85; }

/* Çoklu fotoğraf satırı */
.review-photos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.review-photo-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.review-photo-thumb:hover { opacity: .85; transform: scale(1.05); }

/* Sayfalama */
.review-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.rpg-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.rpg-btn:hover { background: #f0f0f0; }
.rpg-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.review-form-wrap { background: #f8f9fa; border-radius: 10px; padding: 20px; }
.review-form-wrap h5 { margin-bottom: 14px; font-weight: 700; }
.star-picker { display: flex; gap: 4px; align-items: center; font-size: 22px; cursor: pointer; padding-top: 6px; }
.star-picker .bi { transition: transform .1s; }
.star-picker .bi:hover { transform: scale(1.2); }
/* Q&A frontend */
.qa-section { border-top: 1px solid var(--border); padding-top: 30px; }
.qa-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.qa-item { background: #fafafa; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.qa-question, .qa-answer { display: flex; gap: 10px; align-items: flex-start; }
.qa-answer { padding-top: 10px; border-top: 1px dashed var(--border); }
.qa-badge { width: 26px; height: 26px; border-radius: 6px; font-size: 12px; font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qa-badge-q { background: #6366f1; }
.qa-badge-a { background: var(--primary); }
.qa-text { margin: 0 0 2px; font-size: 14px; }
.qa-form-wrap { background: #f8f9fa; border-radius: 10px; padding: 20px; }
.qa-form-wrap h5 { margin-bottom: 14px; font-weight: 700; }

/* Q&A admin */
.qa-admin-item { padding: 18px; border-bottom: 1px solid var(--border); }
.qa-admin-item:last-child { border-bottom: none; }
.qa-admin-pending { background: #fffbea; }
.qa-admin-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.qa-admin-product { font-weight: 600; color: var(--primary); text-decoration: none; }
.qa-admin-question, .qa-admin-answer { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.qa-admin-question p, .qa-admin-answer p { margin: 0; font-size: 14px; }
.qa-admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.qa-answer-form textarea { font-size: 13px; }

.review-login-prompt {
  background: #f8f9fa;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #555;
}
.review-login-prompt .bi { font-size: 20px; color: #aaa; }

/* Social proof (rotator — tek kutuda dönen mesajlar) */
.sp-rotator {
  position: relative;
  margin-top: 12px;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff5f0;
  border: 1px solid #fdd8c0;
  transition: background-color .3s ease, border-color .3s ease;
}
.sp-rotator.sp-rotator--rank { background: #fffbea; border-color: #fde68a; }
.sp-rotator.sp-rotator--cart { background: #f0fdf4; border-color: #bbf7d0; }
.sp-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.35;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.sp-item.active  { transform: translateY(0); opacity: 1; }
.sp-item.leaving { transform: translateY(-100%); opacity: 0; }
.sp-item span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-icon { font-size: 15px; flex-shrink: 0; }
.sp-num  { color: var(--primary); }

/* Mini social proof rotator (ürün kartı) */
.mini-sp-rotator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.3;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .4s ease, transform .4s ease;
}
.mini-sp-rotator.mini-sp-leaving { opacity: 0; transform: translateY(-6px); }
.mini-sp-rotator strong { color: var(--primary); }
.mini-sp-rotator i {
  font-size: 13px;
  width: 13px;
  flex-shrink: 0;
  text-align: center;
  color: var(--primary);
}
.mini-sp-rotator span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-savings {
  font-size: 11px;
  font-weight: 700;
  color: #1a7a1a;
}

/* Trust strip */
.trust-strip {
  display: flex;
  align-items: stretch;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}
.trust-strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #444;
  text-align: center;
  line-height: 1.25;
}
.trust-strip-item i { font-size: 20px; }
.trust-strip-sep {
  width: 1px;
  background: #e8e8e8;
  margin: 10px 0;
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .trust-strip { flex-wrap: wrap; border-radius: 10px; }
  .trust-strip-item { flex: 0 0 50%; border-bottom: 1px solid #e8e8e8; }
  .trust-strip-item:nth-child(odd)  { border-right: 1px solid #e8e8e8; }
  .trust-strip-item:nth-last-child(-n+2) { border-bottom: none; }
  .trust-strip-sep { display: none; }
}
.shipping-item { display: flex; align-items: center; margin-bottom: 6px; font-size: 14px; }

/* ── Teslimat & Güvence Kartı ───────────────────────────────── */
.dtc-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.dtc-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 13px;
}
.dtc-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dtc-icon--blue   { background: #e8f0fe; color: #1a6fd4; }
.dtc-icon--green  { background: #e6f4ea; color: #1e8c45; }
.dtc-icon--dark { background: #eceef0; color: var(--hdr-dark); }
.dtc-title {
  font-size: 13px; font-weight: 700; color: #1a1a1a;
  margin-bottom: 3px;
}
.dtc-sub {
  font-size: 11px; color: #777; line-height: 1.5;
}
.dtc-divider {
  width: 1px; background: #efefef;
  margin: 12px 0; flex-shrink: 0;
}
@media (max-width: 767px) {
  .dtc-card { flex-direction: column; }
  .dtc-divider { width: auto; height: 1px; margin: 0 13px; }
}
.related-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }

/* Specs */
.specs-content { white-space: pre-wrap; line-height: 2; }

/* ===================== CATEGORY PAGE ===================== */

/* Kategori banner */
.category-banner {
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
  overflow: hidden;
  height: 320px;
}
.category-banner-img {
  flex: 1 1 380px;
  min-width: 0;
  height: 100%;
}
.category-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-banner-text {
  flex: 1 1 380px;
  min-width: 0;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}
.category-banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.category-banner-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .category-banner { height: auto; }
  .category-banner-img, .category-banner-text { flex: 1 1 100%; height: auto; }
  .category-banner-img { height: 200px; }
  .category-banner-text { padding: 22px 20px; }
  .category-banner-title { font-size: 1.4rem; }
}

/* Kategori SEO kelimeleri */
.seo-keywords-block {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.seo-keywords-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.seo-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seo-keyword-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.seo-keyword-chip:hover {
  background: var(--primary);
  color: #fff;
}

.category-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.category-page-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.category-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Alt kategori şeridi */
.subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 2px 18px;
  margin-bottom: 4px;
}
@media (max-width: 576px) {
  .subcat-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .subcat-row::-webkit-scrollbar { display: none; }
}
.subcat-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 7px 16px 7px 7px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s, background .15s, transform .15s;
}
.subcat-chip:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}
.subcat-chip-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
}
.subcat-chip-icon img { width: 100%; height: 100%; object-fit: cover; }
.subcat-chip:hover .subcat-chip-icon { background: #fff; }

@media (max-width: 576px) {
  .subcat-chip { font-size: 12px; padding: 6px 13px 6px 6px; }
  .subcat-chip-icon { width: 26px; height: 26px; font-size: 13px; }
}
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.view-btn { background: none; border: none; padding: 7px 12px; cursor: pointer; color: var(--text-muted); }
.view-btn.active { background: var(--primary); color: #fff; }
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
  top: 120px;
}
.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.filter-title { font-size: 15px; font-weight: 700; margin-bottom: 0; }
.filter-section { margin-bottom: 18px; }
.filter-section-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.filter-brand-list { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow-y: auto; }
.filter-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background .12s;
  font-size: 13px;
}
.filter-check-label:hover { background: var(--primary-light); }
.filter-check-label input[type=checkbox] { accent-color: var(--primary); width:15px; height:15px; flex-shrink:0; }
.filter-check-text { flex: 1; }
.filter-check-count {
  font-size: 11px;
  background: #f0f0f0;
  color: #666;
  border-radius: 10px;
  padding: 1px 7px;
  min-width: 24px;
  text-align: center;
}
.price-range-inputs { display: flex; align-items: center; gap: 8px; }

/* Mobil filtre drawer */
@media (max-width: 991px) {
  .filter-sidebar {
    position: fixed;
    top: 0; left: -320px;
    width: 300px;
    height: 100dvh;
    border-radius: 0;
    border: none;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
    transition: left .25s ease;
  }
  .filter-sidebar.filter-sidebar-open { left: 0; }
}
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1049;
}
.filter-overlay.active { display: block; }

/* ===================== CART ===================== */

/* Üst başlık */
.cart-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-page-title { font-size: 1.6rem; font-weight: 800; margin: 0; }
.cart-page-title span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.cart-clear-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex; align-items: center;
}
.cart-clear-all:hover { text-decoration: underline; }

/* Kupon şeridi */
.cart-coupon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
}
.cart-coupon-bar-left { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.cart-coupon-bar-left i.bi-gift-fill { color: var(--primary); font-size: 18px; }
.cart-coupon-bar-left a { color: var(--text); text-decoration: none; }
.cart-coupon-bar-left a:hover { color: var(--primary); }
.cart-coupon-bar-form { display: flex; gap: 8px; }
.cart-coupon-bar-form input {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13px;
  width: 180px;
}
.cart-coupon-bar-form button {
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cart-coupon-bar-form button:hover { background: #e9defc; }
.cart-coupon-bar-applied { font-size: 13px; color: #1db863; }
.cart-coupon-bar-applied a { color: #dc3545; font-weight: 600; margin-left: 8px; text-decoration: none; }
.cart-coupon-bar-applied a:hover { text-decoration: underline; }

/* Ücretsiz kargo şeridi */
.cart-freeship-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.cart-freeship-banner i { font-size: 17px; }
.cart-freeship-banner--done { background: #e8f8ee; color: #1db863; }

/* Satıcı / teslimat bilgisi */
.cart-seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13.5px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}
.cart-seller-shipfree { color: #1db863; font-weight: 700; font-size: 12.5px; }
.cart-delivery-row {
  padding: 8px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.cart-items-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img-wrap img {
  width: 92px; height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.cart-item-name { font-weight: 600; color: var(--text); }
.cart-item-name:hover { color: var(--primary); }
.cart-item-price { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.cart-item-savings {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1db863;
  background: #e8f8ee;
  border-radius: 4px;
  padding: 2px 7px;
}
.cart-item-total { font-weight: 700; font-size: 16px; white-space: nowrap; }
.btn-remove-cart {
  width: 32px; height: 32px;
  background: #fee2e2;
  color: #dc2626;
  border: none;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.btn-remove-cart:hover { background: #dc2626; color: #fff; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-stepper .qty-btn { width: 34px; height: 38px; border: none; background: #f5f5f5; font-size: 18px; cursor: pointer; flex-shrink: 0; line-height: 1; }
.qty-stepper .qty-btn:hover { background: var(--primary); color: #fff; }
.qty-stepper .cart-qty-input { width: 44px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); border-radius: 0; padding: 6px 2px; font-weight: 600; }
.qty-stepper .cart-qty-input:focus { outline: none; background: #fff8f5; }
.cart-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Cart Summary */
.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 120px;
}
.cart-summary-title { font-size: 16px; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.cart-summary-heading {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.cart-summary-bigtotal { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1.2; }
.cart-summary-savings {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1db863;
  background: #e8f8ee;
  border-radius: 6px;
  padding: 5px 10px;
}
.btn-checkout-big {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s;
}
.btn-checkout-big:hover { background: var(--primary-dark); color: #fff; }
.cart-summary-breakdown { border-top: 1px solid var(--border); padding-top: 14px; }
.cart-summary-savings-row { color: #1db863; font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.summary-total {
  display: flex; justify-content: space-between;
  font-size: 18px; font-weight: 700;
  border-top: 2px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}
.btn-checkout {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-checkout:hover { background: var(--primary-dark); color: #fff; }
.free-shipping-info {
  background: #ecfdf5;
  color: #065f46;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 8px 0;
}
.payment-security-info { font-size: 12px; }

@media (max-width: 767px) {
  .cart-item { grid-template-columns: 60px 1fr; position: relative; }
  .cart-item-qty,
  .cart-item-total,
  .cart-item-remove  { grid-column: 2; }
  .cart-item-remove  { position: absolute; top: 10px; right: 10px; }
}

/* ===================== CHECKOUT ===================== */
.guest-checkout-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8f0;
  border: 1px solid #f5d0b5;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: #7a4010;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.guest-checkout-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.guest-checkout-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.guest-checkout-links .divider { color: var(--text-muted); font-size: 12px; }
@media (max-width: 576px) {
  .guest-checkout-links { margin-left: 0; margin-top: 4px; }
}
.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.checkout-card h5 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }

/* Kayıtlı adresler */
.saved-addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.saved-addr-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background .18s;
  font-size: 13px;
  line-height: 1.45;
}
.saved-addr-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(233,81,26,.1);
}
.saved-addr-card.active {
  border-color: var(--primary);
  background: #fff5f2;
  box-shadow: 0 2px 10px rgba(233,81,26,.15);
}
.saved-addr-title {
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}
.saved-addr-body { color: #555; }
.saved-addr-new {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}
.saved-addr-new:hover { background: #fafafa; }

.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .15s;
}
.payment-method-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-name { color: var(--text); }
.checkout-item-qty { color: var(--text-muted); font-size: 11px; }

/* ===================== PAYMENT CARD FORM ===================== */
.pay-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.pay-step { display: flex; align-items: center; gap: 6px; }
.pay-step.done { color: #28a745; }
.pay-step.active { color: var(--primary); font-weight: 600; }
.pay-step-arrow { color: var(--border); }

/* Görsel kart */
.card-preview {
  width: 100%;
  max-width: 360px;
  height: 200px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 20px;
  margin: 0 auto 20px;
  position: relative;
  transition: background .4s;
  perspective: 1000px;
}
.card-preview-front, .card-preview-back {
  position: absolute; inset: 0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-preview-back { display: none; background: rgba(0,0,0,.3); }
.card-stripe {
  background: #555;
  height: 44px;
  margin: 20px -20px 0;
  width: calc(100% + 40px);
}
.card-cvv-wrap { display: flex; flex-direction: column; align-items: flex-end; padding-top: 12px; }
.card-cvv-preview {
  background: #fff;
  color: #333;
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 4px;
  font-size: 18px;
  margin-top: 4px;
}
.card-brand-logo { font-size: 13px; font-weight: 700; letter-spacing: 2px; opacity: .9; min-height: 18px; }
.card-chip { font-size: 28px; opacity: .7; }
.card-number-preview { font-size: 18px; letter-spacing: 4px; }
.card-bottom-row { display: flex; justify-content: space-between; align-items: flex-end; }
.card-label { font-size: 9px; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.card-holder-preview { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.card-exp-preview { font-size: 14px; letter-spacing: 2px; }

.card-input { letter-spacing: 2px; font-family: monospace; font-size: 16px; }

/* Taksit seçenekleri */
.installment-options { display: flex; flex-direction: column; gap: 6px; }
.installment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color .15s;
}
.installment-option input { display: none; }
.installment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.inst-count { flex: 1; font-weight: 600; font-size: 13px; }
.inst-amount { color: var(--text-muted); font-size: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.inst-total { font-size: 11px; color: #aaa; }

/* Güven rozetleri */
.pay-trust-items { display: flex; flex-direction: column; gap: 6px; }
.pay-trust-item { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* 3D Overlay */
#threeDOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.threed-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.threed-modal {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  width: 480px;
  max-width: 95vw;
  height: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.threed-header {
  padding: 12px 16px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.threed-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.threed-iframe {
  flex: 1;
  border: none;
  width: 100%;
}

/* ===================== AUTH ===================== */
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.auth-card-header { text-align: center; margin-bottom: 24px; }
.auth-card-header h2 { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.auth-card-header p { color: var(--text-muted); font-size: 14px; }
.auth-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 16px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  display: inline-block;
  width: 40%;
  height: 1px;
  background: var(--border);
  vertical-align: middle;
  margin: 0 8px;
}
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow .18s ease, border-color .18s ease, transform .12s ease;
}
.btn-google:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-color: #d0d0d0;
  color: var(--dark);
}
.btn-google:active { transform: scale(.98); }
.btn-google svg { flex-shrink: 0; }

/* ===================== ACCOUNT ===================== */
.account-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 120px;
}
.account-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--dark);
  color: #fff;
}
.account-avatar i { font-size: 36px; }
.account-nav a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  transition: background .15s;
}
.account-nav a:hover, .account-nav a.active { background: var(--primary-light); color: var(--primary); }

/* Invoice download box */
.invoice-download-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0f7ff;
  border: 1px solid #c8e0fa;
  border-radius: 10px;
  padding: 14px 16px;
}
.invoice-download-icon { font-size: 32px; color: #2b6cb0; flex-shrink: 0; }
.invoice-download-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.invoice-download-info strong { font-size: 14px; }
@media (max-width: 575px) {
  .invoice-download-box { flex-wrap: wrap; }
}
.account-content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.account-content-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }

/* Kişisel kupon kartları */
.personal-coupon-card {
  border: 2px dashed var(--primary);
  border-radius: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.personal-coupon-code {
  font-family: monospace;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--primary);
}
.personal-coupon-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1a7a1a;
}
.personal-coupon-desc { font-size: 13px; color: #666; }
.personal-coupon-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.personal-coupon-copy {
  margin-top: 6px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background .18s;
}
.personal-coupon-copy:hover { background: #c94010; }

/* Adres yönetimi kartları */
.addr-mgmt-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .18s, box-shadow .18s;
}
.addr-mgmt-card.addr-default {
  border-color: var(--primary);
  background: #fff8f5;
}
.addr-mgmt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.addr-mgmt-title { font-weight: 700; color: var(--dark); }
.addr-mgmt-body { font-size: 13px; line-height: 1.6; color: #555; flex: 1; }
.addr-mgmt-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* ===================== ORDER LIST (hesabim/siparisler) ===================== */
.order-list { display: flex; flex-direction: column; gap: 14px; }

.order-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.order-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 6px;
}
.order-card-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-card-id   { font-weight: 700; color: var(--dark); font-size: 15px; }
.order-card-date { font-size: 13px; color: #666; }
.order-card-qty  { font-size: 12px; }
.order-status-badge { font-size: 11px; padding: 4px 9px; }
.order-card-total { font-weight: 700; font-size: 16px; color: var(--primary); white-space: nowrap; }

.order-card-previews {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.order-preview-img {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: #fafafa;
}
.order-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-preview-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.order-preview-qty {
  position: absolute;
  bottom: 2px;
  right: 3px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.4;
}
.order-preview-more {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  flex-shrink: 0;
}
.order-preview-names {
  font-size: 12px;
  line-height: 1.5;
  flex: 1;
  min-width: 120px;
}

.order-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-wrap: wrap;
}

/* ===================== ORDER SUCCESS ===================== */
.order-success-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.success-icon i { font-size: 80px; }
.order-success-details { background: var(--bg-light); border-radius: var(--radius); padding: 20px; }
.order-success-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.order-success-item:last-child { border-bottom: none; }

/* ===================== MID-STRIP BANNERS ===================== */
.mid-strip-section { padding: 32px 0; }

.mid-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mid-strip-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

/* Ok butonları sarıcı */
.mid-strip-nav { position: relative; }
.mid-strip-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background .15s, color .15s;
}
.mid-strip-arrow:hover { background: var(--primary); color: #fff; }
.mid-strip-arrow.msa-prev { left: -18px; }
.mid-strip-arrow.msa-next { right: -18px; }
.mid-strip-arrow:disabled { opacity: .3; pointer-events: none; }

/* Desktop: 5 yanyana flex slider */
.mid-strip-track-wrap { overflow: hidden; }
.mid-strip-grid {
  display: flex;
  gap: 12px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mid-strip-item {
  flex: 0 0 calc(20% - 10px);
  min-width: 0;
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s;
  background: #f0f0f0;
}
.mid-strip-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.mid-strip-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.mid-strip-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #fff;
  color: #222;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* Mobil slider */
.mid-strip-slider { display: none; }

@media (max-width: 767px) {
  .mid-strip-nav    { display: none; }
  .mid-strip-grid   { display: none; }
  .mid-strip-slider { display: block; position: relative; overflow: hidden; border-radius: 12px; }
  .mid-strip-track {
    display: flex;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }
  .mid-strip-slide {
    flex: 0 0 auto;
    display: block;
    position: relative;
    text-decoration: none;
  }
  .mid-strip-slide img { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; border-radius: 12px; }
  .mid-strip-dots {
    display: flex; justify-content: center; gap: 6px; margin-top: 10px;
  }
  .mid-strip-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: #ddd; cursor: pointer; padding: 0; transition: background .2s, width .2s;
  }
  .mid-strip-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }
}

@media (max-width: 1200px) and (min-width: 768px) {
  .mid-strip-item { flex: 0 0 calc(33.333% - 8px); }
}

/* ===================== FOOTER ===================== */
.site-footer { background: #fff; margin-top: 60px; }

/* --- Güven Bandı (Turuncu) --- */
.footer-trust {
  background: var(--primary);
  padding: 18px 0;
}
.footer-trust-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-trust-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.35);
  flex-shrink: 0;
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 0 20px;
}
.footer-trust-item > i {
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.footer-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.footer-trust-item span { font-size: 11px; color: rgba(255,255,255,.85); }

/* --- Ana Footer (Beyaz) --- */
.footer-main {
  border-top: 1px solid #f0f0f0;
  padding: 44px 0 32px;
}
.footer-main-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
}

/* Logo + İletişim kolonu */
.footer-brand-col {}
.footer-logo-link { display: inline-block; margin-bottom: 18px; }
.footer-logo-link .logo-main  { font-size: 24px; color: var(--primary); }
.footer-logo-link .logo-accent { font-size: 24px; color: #111; }

.footer-contact-info { display: flex; flex-direction: column; gap: 10px; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color .15s;
}
.footer-phone:hover { color: var(--primary-dark); }
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
}
.footer-contact-row i { color: var(--primary); font-size: 14px; flex-shrink: 0; }

/* Link kolonları */
.footer-link-col h6 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-link-col ul { list-style: none; padding: 0; margin: 0; }
.footer-link-col ul li { margin-bottom: 9px; }
.footer-link-col ul li a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-link-col ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 15px;
  line-height: 1;
}
.footer-link-col ul li a:hover { color: var(--primary); }

/* Mobil Uygulama kolonu */
.footer-app-col h6 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-app-buttons { display: flex; flex-direction: column; gap: 10px; }
.footer-app-soon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 12px 16px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  letter-spacing: .5px;
}
.footer-app-soon i { font-size: 22px; color: rgba(255,255,255,.3); }
.footer-app-soon span { font-style: italic; }
.footer-app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  transition: background .15s, transform .15s;
}
.footer-app-btn:hover { background: #333; transform: translateY(-1px); color: #fff; }
.footer-app-btn > i {
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.footer-app-btn div { display: flex; flex-direction: column; line-height: 1.2; }
.footer-app-btn small { font-size: 10px; color: rgba(255,255,255,.7); }
.footer-app-btn strong { font-size: 13px; font-weight: 700; color: #fff; }

/* --- Alt Bar --- */
.footer-bottom {
  background: #f7f7f7;
  border-top: 1px solid #e8e8e8;
  padding: 14px 0;
}
.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { margin: 0; font-size: 12px; color: #888; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 15px;
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-main-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col  { grid-column: 1 / -1; }
  .footer-app-col    { grid-column: span 3; }
  .footer-app-buttons { flex-direction: row; flex-wrap: wrap; }
  .footer-app-btn { flex: 1; min-width: 160px; }
}
@media (max-width: 767px) {
  .footer-trust-inner { flex-wrap: wrap; gap: 0; }
  .footer-trust-sep   { display: none; }
  .footer-trust-item  { flex: 0 0 50%; padding: 10px 16px; }
  .footer-main-inner  { grid-template-columns: 1fr 1fr; }
  .footer-brand-col   { grid-column: 1 / -1; }
  .footer-app-col     { grid-column: 1 / -1; }
  .footer-app-buttons { flex-direction: column; }
  .footer-app-btn     { max-width: 260px; }
}
@media (max-width: 480px) {
  .footer-trust-item { flex: 0 0 100%; }
  .footer-main-inner { grid-template-columns: 1fr; }
}

/* --- Ödeme Logoları --- */
.footer-payment-bar {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 12px 0;
}
.footer-payment-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-payment-label { font-size: 12px; color: #888; white-space: nowrap; }
.footer-payment-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  border: 1px solid #ddd;
  background: #fff;
}
.pay-visa  { color: #1a1f71; font-style: italic; font-size: 13px; border-color: #1a1f71; }
.pay-troy  { color: #fff; background: #003d7a; border-color: #003d7a; }
.pay-amex  { color: #fff; background: #2E77BC; border-color: #2E77BC; }
.pay-ssl   { color: #1e8c45; border-color: #1e8c45; gap: 4px; font-size: 10px; }
.pay-ssl i { font-size: 13px; }
/* Mastercard iki daire */
.pay-mc {
  position: relative;
  width: 42px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
}
.pay-mc-left, .pay-mc-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.pay-mc-left  { left: 1px;  background: #EB001B; }
.pay-mc-right { right: 1px; background: #F79E1B; mix-blend-mode: multiply; }

/* --- Stok / Favori --- */
.sold-out-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: .3px;
}
.product-card.out-of-stock .product-card-img { opacity: .65; filter: grayscale(30%); }
.btn-sold-out {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed;
}

.wishlist-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background .15s, transform .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.wishlist-btn i { font-size: 15px; color: #ccc; transition: color .15s; }
.wishlist-btn:hover { background: #fff; transform: scale(1.1); }
.wishlist-btn:hover i, .wishlist-btn.active i { color: #ef4444; }
.wishlist-btn.active i { font-size: 15px; }

/* --- Galeri Zoom --- */
.gallery-main { position: relative; overflow: hidden; cursor: zoom-in; }
.gallery-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn .2s;
}
.gallery-zoom-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.gallery-zoom-close {
  position: absolute;
  top: 16px; right: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Statik Sayfa */
.static-page-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.static-page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}
.static-page-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.static-page-content h2, .static-page-content h3, .static-page-content h4 {
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 12px;
}
.static-page-content p { margin-bottom: 12px; }
@media (max-width: 576px) {
  .static-page-card { padding: 20px; }
}

/* ===================== MOBILE BOTTOM NAV ===================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0,0,0,.08);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: var(--text-muted);
  font-size: 10px;
  gap: 2px;
  position: relative;
  transition: color .15s;
}
.mobile-bottom-nav a i { font-size: 20px; }
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover { color: var(--primary); }
.cart-nav-link { position: relative; }
.cart-nav-badge {
  position: absolute;
  top: 4px; right: calc(50% - 18px);
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ===================== EMPTY STATE ===================== */
.empty-state i { display: block; }

/* ===================== PAGE TITLE ===================== */
.page-title { font-size: 1.5rem; font-weight: 700; color: var(--dark); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { font-size: 13px; }
.breadcrumb-item a { color: var(--primary); }

/* ===================== UTILS ===================== */
.object-fit-cover { object-fit: cover; }

/* ===================== KAPIDA ÖDEME UYARISI ===================== */
@keyframes codPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(220,53,69,.5); }
  50%       { opacity: .9; transform: scale(1.01); box-shadow: 0 0 0 8px rgba(220,53,69,0); }
}
.cod-limit-warning {
  border-radius: 10px;
  overflow: hidden;
  animation: codPulse 1.8s ease-in-out infinite;
}
.cod-limit-inner {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #dc3545 0%, #c0392b 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-left: 5px solid #ff6b6b;
}
.cod-limit-inner .bi { font-size: 18px; flex-shrink: 0; }

/* ===================== CHAT WIDGET — MOBİL KONUM ===================== */
/* Alt navigasyon barının üstüne taşı */
@media (max-width: 991px) {
  .crisp-client,
  #crisp-chatbox,
  #tawkchat-minified-container,
  .tawk-min-container,
  #chat-widget-container,
  #tidio-chat,
  [id^="tidio-chat"] {
    bottom: 68px !important;
  }
}

/* ===================== HİBRİT DESTEK BUTONU (WhatsApp + Tawk.to) ===================== */
.hybrid-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.hybrid-fab-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.hybrid-fab-toggle.open { transform: rotate(90deg); }
.hybrid-fab-options {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .2s ease;
}
.hybrid-fab-options.open {
  max-height: 200px;
  opacity: 1;
}
.hybrid-fab-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  cursor: pointer;
  white-space: nowrap;
}
.hybrid-fab-whatsapp { background: #25D366; }
.hybrid-fab-chat     { background: #0d6efd; }
.hybrid-fab-solo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  text-decoration: none;
}
@media (max-width: 991px) {
  .hybrid-fab,
  .hybrid-fab-solo { right: 14px; bottom: 76px; }
}

/* ===================== BLOG ===================== */
.blog-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--border); background: #fff;
  color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.blog-cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.blog-cat-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-cat-chip-count { opacity: .7; font-weight: 400; font-size: 11px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-4px); color: inherit; }
.blog-card-img-wrap { position: relative; aspect-ratio: 16/9; background: var(--bg-light); overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 12px;
}
.blog-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-title {
  font-size: 15px; font-weight: 700; color: var(--text); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-excerpt {
  font-size: 13px; color: var(--text-muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-meta { font-size: 12px; color: var(--text-muted); margin-top: auto; }

.blog-article { max-width: 820px; margin: 0 auto; }
.blog-article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.blog-article-title { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.blog-article-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px;
}
.blog-article-meta a { color: var(--primary); text-decoration: none; }
.blog-article-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.blog-article-content h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 12px; }
.blog-article-content h3 { font-size: 1.2rem; font-weight: 700; margin: 24px 0 10px; }
.blog-article-content p { margin: 0 0 16px; }
.blog-article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
.blog-article-content ul, .blog-article-content ol { margin: 0 0 16px; padding-left: 24px; }
.blog-article-content a { color: var(--primary); }
.blog-article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.blog-article-content table td, .blog-article-content table th { border: 1px solid var(--border); padding: 8px 12px; }

/* Yazı içine gömülen ürün kartları — art arda eklenenler yan yana dizilir */
.blog-product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}
.blog-article-content .product-card {
  max-width: 260px;
  flex: 1 1 220px;
  margin: 0;
}
