/* =============================================
   Hemencepte — Main Stylesheet
   ============================================= */

:root {
  --primary:      #F97316;
  --primary-dark: #EA6C10;
  --primary-light:#FFF7ED;
  --accent:       #7C3AED;
  --accent-light: #F5F3FF;
  --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:     112px;
}

* { 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 ŞERİT (Anasayfa Duyuru/Reklam Barı) ===================== */
.top-strip-banner {
  background: var(--dark);
}
.top-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}
a.top-strip-inner:hover { opacity: .9; }
.top-strip-img { display: block; width: 100%; max-height: 160px; object-fit: cover; }
.top-strip-text {
  display: block;
  padding: 14px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}
@media (max-width: 767px) {
  .top-strip-img { max-height: 90px; }
  .top-strip-text { font-size: 15px; padding: 10px 16px; }
}

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

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

/* ── Üst Bar (beyaz) ── */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.top-bar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.hdr-logo { text-decoration: none; flex-shrink: 0; }
.hdr-logo.has-logo-badge { display: inline-flex; align-items: center; gap: 8px; }
.logo-wordmark { display: inline-flex; align-items: baseline; }
.logo-flag-filter { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo-badge-flag {
  display: inline-block;
  line-height: 0;
  overflow: visible;
}
.logo-badge-img {
  display: block;
  height: 36px;
  width: auto;
  pointer-events: none;
  transform-origin: left center;
  will-change: transform;
  filter: url(#logoFlagWave) drop-shadow(1px 2px 3px rgba(0, 0, 0, .28));
  animation: logoFlagSway 4s ease-in-out infinite;
}
/* Direk sol kenarda sabit; serbest uç sağda salınır — bayrak gibi */
@keyframes logoFlagSway {
  0%   { transform: perspective(220px) rotateY(0deg)  skewY(0deg);   }
  30%  { transform: perspective(220px) rotateY(-9deg) skewY(1.2deg); }
  55%  { transform: perspective(220px) rotateY(5deg)  skewY(-0.8deg);}
  80%  { transform: perspective(220px) rotateY(-3deg) skewY(0.5deg); }
  100% { transform: perspective(220px) rotateY(0deg)  skewY(0deg);   }
}
@media (max-width: 576px) {
  .logo-badge-img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-badge-img { animation: none; filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, .28)); }
}
.logo-main {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}
.logo-accent {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  letter-spacing: -1px;
}

/* Üst bar orta: hızlı linkler */
.top-bar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.top-bar-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #555;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.top-bar-nav-link i { font-size: 13px; }
.top-bar-nav-link:hover { background: #fff5ee; color: var(--primary); }
@media (max-width: 991px) { .top-bar-nav { display: none; } }

/* Mobil hızlı linkler (İndirim Kuponları / Kampanya / Sipariş Takip) */
.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;
}

/* Üst bar sağ: auth linkleri */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.top-bar-link i { font-size: 16px; }
.top-bar-link:hover { opacity: .75; color: var(--primary); }

/* ── Ana Header (turuncu bar) ── */
.main-header {
  background: var(--primary);
}
.main-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Tüm Kategoriler butonu */
.hdr-cat-btn {
  background: none;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: opacity .15s;
}
.hdr-cat-btn i { font-size: 18px; }
.hdr-cat-btn:hover { opacity: .85; }

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

/* ── 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: var(--primary-light); }
.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(--primary);
  margin-top: 2px;
}
.sd-all {
  display: block;
  text-align: center;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  transition: background .12s;
}
.sd-all:hover { background: #ffe6d5; }

/* Sağ aksiyonlar */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hdr-right-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.hdr-right-link i { font-size: 18px; }
.hdr-right-link:hover { opacity: .85; color: #fff; }

/* Sepet butonu: beyaz arka plan, mor yazı */
.hdr-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  border-radius: 4px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .15s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}
.hdr-cart-btn:hover { opacity: .9; color: var(--accent); }
.hdr-cart-icon-wrap { position: relative; display: flex; align-items: center; }
.hdr-cart-icon-wrap .bi { font-size: 20px; }
.hdr-cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  background: var(--primary);
  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: 600; }

/* Mobile toggle */
.hdr-mobile-toggle {
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.hdr-mobile-toggle:hover { background: rgba(255,255,255,.3); }

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

@media (max-width: 480px) {
  .top-bar-inner { padding: 0 12px; }
  .logo-main, .logo-accent { font-size: 22px; }
  .top-bar-link span { display: none; }
  .top-bar-link i { font-size: 20px; }
  .top-bar-right { gap: 12px; }
  .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%; }
.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, #fff5ee 0%, #fff9f5 100%);
  border: 1.5px solid #fdd8c0;
  border-radius: 16px;
  padding: 24px 24px 28px;
}

/* ===================== FLASH SECTION ===================== */
.flash-section {
  padding: 24px 0 32px;
  background: #fff;
}
.flash-section > .container {
  background: linear-gradient(to bottom, var(--primary-dark) 0%, #fff 100%);
  border: 1.5px solid #fdd8c0;
  border-radius: 16px;
  padding: 20px 20px 24px;
}

/* Başlık */
.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}
.flash-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flash-bolt { font-size: 24px; }
.flash-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
  margin: 0;
}
.flash-see-all {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.flash-see-all:hover { text-decoration: underline; }

/* Geri sayım */
.flash-timer {
  display: flex;
  align-items: center;
  gap: 3px;
  background: var(--primary);
  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(--primary); color: var(--primary); }
.flash-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }

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

/* Trendyol ürün kartı */
.fy-card {
  flex-shrink: 0;
  width: 360px;
  border: 1px solid #ffe5d0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(232,81,26,.08);
}
.fy-card:hover {
  box-shadow: 0 6px 24px rgba(232,81,26,.16);
  transform: translateY(-4px);
  color: inherit;
}

.fy-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: #f8f8f8;
}
.fy-card-img {
  width: 100%; height: 100%;
  box-sizing: border-box;
  object-fit: cover;
  padding: 28px;
  transition: transform .3s;
}
.fy-card:hover .fy-card-img { transform: scale(1.05); }

/* Rozet grubu — üst sol */
.fy-badge {
  position: absolute;
  left: 0; top: 10px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 0 4px 4px 0;
  letter-spacing: .3px;
  line-height: 1.3;
}
.fy-badge-flash { background: #f27a1a; color: #fff; top: 10px; }
.fy-badge-best  { background: #1db863; color: #fff; top: 32px; }

/* İndirim % rozeti — sağ üst */
.fy-badge-discount {
  position: absolute;
  right: 8px; top: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
}

/* Kart içeriği */
.fy-card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.fy-brand {
  font-size: 11px;
  font-weight: 700;
  color: #333;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fy-name {
  font-size: 12px;
  color: #555;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}
.fy-prices {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.fy-old-price {
  font-size: 11px;
  color: #aaa;
  text-decoration: line-through;
}
.fy-new-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
.fy-cart-label {
  font-size: 10px;
  color: #1db863;
  font-weight: 600;
  background: #e8f8ee;
  border-radius: 3px;
  padding: 2px 5px;
  align-self: flex-start;
}

@media (max-width: 576px) {
  .fy-card { width: 300px; }
  .flash-arrow { width: 30px; height: 30px; font-size: 13px; }
}

/* ===================== 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;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .3s ease;
}
.triple-card:hover .triple-overlay { opacity: 1; }
.triple-overlay span {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.triple-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--text);
  align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 3;
}
.triple-arrow:hover { background: #fff; color: var(--primary); }
.triple-prev { left: 8px; }
.triple-next { right: 8px; }

@media (max-width: 767px) {
  .triple-grid {
    position: relative;
    display: block;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
  }
  .triple-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    height: 200px;
    border-radius: 0;
    box-shadow: none;
    transition: opacity .6s ease;
    pointer-events: none;
  }
  .triple-card.active { opacity: 1; pointer-events: auto; }
  .triple-card img, .triple-card video { height: 200px; }
  .triple-arrow { display: flex; }
}

/* ===================== 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; }
}

/* ===================== İKİLİ BANNER (Sol dönen + Sağ ürünlü) ===================== */
.dual-banner-section { padding: 16px 0; }
.dual-banner-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Sol — otomatik dönen */
.dbl-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow);
}
.dbl-track { position: relative; width: 100%; height: 100%; }
.dbl-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  display: block;
}
.dbl-slide.active { opacity: 1; pointer-events: auto; }
.dbl-slide img, .dbl-slide video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dbl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 3;
  transition: background .2s, color .2s;
}
.dbl-arrow:hover { background: #fff; color: var(--primary); }
.dbl-prev { left: 12px; }
.dbl-next { right: 12px; }

/* Sağ — sabit arkaplan + ürünler */
.dbr-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 340px;
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  box-shadow: var(--shadow);
}
.dbr-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,216,168,.85) 0%, rgba(255,216,168,.55) 32%, rgba(255,216,168,.15) 62%, rgba(255,216,168,0) 100%);
}
.dbr-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.dbr-products-wrap { position: relative; z-index: 2; }
.dbr-products {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.dbr-products::-webkit-scrollbar { display: none; }
.dbr-card {
  flex: 0 0 118px;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: transform .2s;
}
.dbr-card:hover { transform: translateY(-3px); }
.dbr-card-img-wrap { width: 100%; aspect-ratio: 1/1; margin-bottom: 4px; padding: 4px; }
.dbr-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dbr-card-name {
  width: 100%;
  height: 25px;
  font-size: 10px;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}
.dbr-card-price { font-size: 10.5px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.dbr-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 3;
}
.dbr-arrow:hover { color: var(--primary); }
.dbr-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.dbr-prev { left: -6px; }
.dbr-next { right: -6px; }

@media (max-width: 900px) {
  .dual-banner-grid { grid-template-columns: 1fr; }
  .dbl-wrap, .dbr-wrap { height: 300px; }
}
@media (max-width: 480px) {
  .dbl-wrap, .dbr-wrap { height: 270px; }
  .dbr-wrap { padding: 10px; }
  .dbr-title { font-size: 15px; margin-bottom: 6px; }
  .dbr-card { flex-basis: 64px; padding: 4px; }
  .dbr-card-img-wrap { padding: 4px; margin-bottom: 2px; }
  .dbr-card-name { font-size: 8.5px; height: 21px; }
  .dbr-card-price { font-size: 9px; }
}

/* ===================== 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%, #fff7ed 100%);
  border-top: 1px solid #f0e8e0;
  border-bottom: 1px solid #f0e8e0;
}
.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);
}

/* ===================== POPÜLER ARAMALAR (SEO) ===================== */
.popular-search-section {
  padding: 28px 0 36px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.popular-search-title {
  font-size: 15px;
  font-weight: 700;
  color: #888;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.popular-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.popular-search-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: #7a7a7a;
  border: 1px solid #f0e8e0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.popular-search-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
/* Boyut kademeleri: çok aranan kelime büyük/kalın, az aranan küçük punto */
.popular-search-tag.tag-size-1 { font-size: 11px;   padding: 5px 12px;   }
.popular-search-tag.tag-size-2 { font-size: 12px;   padding: 5.5px 13px; }
.popular-search-tag.tag-size-3 { font-size: 13px;   padding: 6px 14px;   }
.popular-search-tag.tag-size-4 { font-size: 14.5px; padding: 7px 16px;   font-weight: 600; }
.popular-search-tag.tag-size-5 {
  font-size: 16.5px;
  padding: 8px 18px;
  font-weight: 700;
  color: var(--primary-dark);
  border-color: #f3d3b8;
}

/* ===================== CATEGORY STRIP (header altı) ===================== */
.home-cat-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

/* Dış sarıcı: oklar + track */
.hcs-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

/* Ok butonları */
.hcs-arrow {
  flex-shrink: 0;
  width: 34px; height: 34px;
  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;
  z-index: 2;
}
.hcs-arrow:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.hcs-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }

/* Kaydırılabilir track */
.home-cat-strip-inner {
  flex: 1;
  display: flex;
  justify-content: center; /* Az kategori varsa ortala */
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.home-cat-strip-inner::-webkit-scrollbar { display: none; }

/* Her kategori öğesi */
.hcs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  width: 115px;
  text-align: center;
  padding: 4px 0;
}
.hcs-icon {
  width: 105px; height: 105px;
  border-radius: 20px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s, background .2s;
}
.hcs-item:hover .hcs-icon {
  border-color: var(--primary);
  background: #ffe8d6;
  transform: translateY(-3px);
}
.hcs-icon i   { font-size: 36px; color: var(--primary); }
.hcs-icon img { width: 100%; height: 100%; object-fit: cover; }
.hcs-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  word-break: break-word;
}
.hcs-item:hover span { color: var(--primary); }

/* Çok kategori varsa track sola yaslanır (justify-content override) */
.home-cat-strip-inner.is-scrollable { justify-content: flex-start; }

@media (max-width: 767px) {
  .home-cat-strip { padding: 10px 0; }
  .hcs-wrapper { gap: 2px; padding: 0 8px; }
  .hcs-arrow { width: 26px; height: 26px; font-size: 12px; }
  .home-cat-strip-inner { gap: 0; }
  .hcs-item { width: 70px; gap: 5px; padding: 2px 0; }
  .hcs-icon { width: 62px; height: 62px; border-radius: 14px; }
  .hcs-icon i { font-size: 22px; }
  .hcs-item span { font-size: 10.5px; }
}

/* ===================== 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;
}
.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-rating { display: flex; align-items: center; gap: 5px; margin: 2px 0; }
.product-card-rating .stars-inline { display: flex; gap: 1px; font-size: 11px; }
.product-card-rating-count { font-size: 11px; color: var(--text-muted, #888); }

/* Uzman Puanı (editöryel skor) */
.expert-score-box {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: #f8f9fa;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
}
.expert-score-overall {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--score-color, #16a34a);
  color: var(--score-color, #16a34a);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
}
.expert-score-num { font-size: 16px; font-weight: 800; }
.expert-score-label { font-size: 8px; font-weight: 600; text-align: center; color: #555; }
.expert-score-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.expert-score-bar-row { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.expert-score-bar-label { width: 100px; flex-shrink: 0; color: #555; }
.expert-score-bar-track { flex: 1; height: 6px; border-radius: 3px; background: #e5e7eb; overflow: hidden; }
.expert-score-bar-fill { height: 100%; border-radius: 3px; }
.expert-score-bar-val { width: 26px; flex-shrink: 0; font-weight: 700; text-align: right; }
@media (max-width: 576px) {
  .expert-score-bar-label { width: 78px; }
}

/* Karşılaştırma checkbox (ürün kartı) */
.compare-check-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #666; cursor: pointer;
  margin-top: 6px; user-select: none;
}
.compare-check-label input { width: 13px; height: 13px; cursor: pointer; accent-color: var(--primary); }

/* Karşılaştırma butonu (ürün detay sayfası) */
.compare-check-label--detail {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary, #0d6efd);
  border: 1px solid var(--primary, #0d6efd); border-radius: 8px;
  padding: 9px 16px; margin: 10px 0 0; width: fit-content;
  transition: background .15s ease, color .15s ease;
}
.compare-check-label--detail:hover { background: rgba(13,110,253,.08); }
.compare-check-label--detail input { position: absolute; opacity: 0; pointer-events: none; }
.compare-check-label--detail:has(input:checked) { background: var(--primary, #0d6efd); color: #fff; }

/* Karşılaştırma çubuğu (sayfa altında sabit) */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: -100px;
  background: #fff; border-top: 1px solid var(--border, #e5e7eb);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  z-index: 1050; transition: bottom .25s ease;
  padding: 10px 16px;
}
.compare-bar.active { bottom: 0; }
.compare-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
}
.compare-bar-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.compare-bar-item { position: relative; flex-shrink: 0; width: 44px; height: 44px; }
.compare-bar-item img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--border, #e5e7eb);
}
.compare-bar-remove {
  position: absolute; top: -6px; right: -6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #dc2626; color: #fff; border: none;
  font-size: 11px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.compare-bar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-compare-go {
  display: inline-flex; align-items: center;
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.btn-compare-clear {
  background: none; border: 1px solid var(--border, #e5e7eb);
  color: #888; border-radius: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 576px) {
  .compare-bar { padding: 8px 10px; }
  .btn-compare-go span { display: none; }
}

/* Karşılaştırma tablosu */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--border, #e5e7eb); border-radius: 10px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: middle; text-align: center; font-size: 13px;
}
.compare-table thead th { background: #f8f9fa; border-bottom: 2px solid var(--border, #e5e7eb); }
.compare-row-label {
  text-align: left !important; font-weight: 600; color: #555;
  background: #fafafa; white-space: nowrap; min-width: 120px;
}
.compare-product-head {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--text); min-width: 140px;
}
.compare-product-head img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.compare-product-name {
  font-size: 12px; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.product-card-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.new-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.product-card-actions { margin-top: auto; }
.btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.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; }
}

/* ===================== 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; }
.ithalatci-info-link {
  font-size: 12px; color: var(--text-muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.ithalatci-info-link:hover { color: var(--primary); text-decoration: underline; }
.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%;
}
.variant-color-picker { }
.variant-color-label { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.variant-color-cards { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-card {
  display: flex; flex-direction: column; align-items: center;
  width: 96px; padding: 8px 6px 10px;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  background: #fff; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.variant-card:hover { border-color: #c9ccd1; }
.variant-card.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.variant-card-img {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.variant-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.variant-card-name {
  font-size: 12px; font-weight: 600; color: var(--dark); text-align: center;
  line-height: 1.25; margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.variant-card.active .variant-card-name { color: var(--primary); }
.variant-card-price { font-size: 12px; font-weight: 700; color: var(--primary); }
.variant-card.out-of-stock { opacity: .5; }
.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; }
.installment-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 4px 10px;
  background: #fafafa;
}
.installment-box summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--dark);
  padding: 6px 0;
  list-style: none;
}
.installment-box summary::-webkit-details-marker { display: none; }
.installment-box summary::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  float: right;
  color: var(--text-muted);
}
.installment-box[open] summary::after { content: "\f286"; }
.installment-box summary i { color: var(--primary); margin-right: 4px; }
.installment-hint { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.installment-table { width: 100%; font-size: 13px; margin: 4px 0 0; }
.installment-table th, .installment-table td { padding: 5px 8px; text-align: left; border-bottom: 1px solid #f1f1f1; }
.installment-table th { color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; }
.installment-table tr:last-child td { border-bottom: none; }
.installment-note { font-size: 11px; color: var(--text-muted); padding: 6px 0 8px; line-height: 1.3; }
.phone-installment-warning {
  border: 1px solid #f0c14b;
  border-left: 3px solid #c47c00;
  border-radius: 8px;
  background: #fff8e6;
  padding: 4px 12px;
}
.phone-installment-warning summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 12.5px;
  color: #8a5a00;
  padding: 8px 0;
  list-style: none;
  line-height: 1.35;
}
.phone-installment-warning summary::-webkit-details-marker { display: none; }
.phone-installment-warning summary::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  float: right;
  margin-left: 8px;
  color: #c47c00;
}
.phone-installment-warning[open] summary::after { content: "\f286"; }
.phone-installment-warning summary i { color: #c47c00; margin-right: 5px; }
.phone-installment-warning-body { font-size: 11.5px; line-height: 1.45; color: var(--dark); padding-bottom: 8px; }
.phone-installment-warning-body p { margin: 0 0 6px; }
.phone-installment-warning-body ul { margin: 0; padding-left: 16px; }
.phone-installment-warning-body li { margin-bottom: 3px; }
.phone-installment-warning-body strong { color: #8a5a00; }
.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; }
.product-gift-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0faf3;
  border: 1.5px dashed #1e8c45;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--dark);
}
.product-gift-media {
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.product-gift-media img { width: 100%; height: 100%; object-fit: contain; }
.product-gift-emoji { font-size: 28px; }

/* Ürün sayfası hediye kampanyası pop-up'ı — alt-ortada (sağ altta destek widget'ı, sol altta bildirim var) */
.gift-popup {
  position: fixed;
  z-index: 1550;
  left: 50%;
  bottom: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e3e8e5;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(20, 40, 30, .22);
  padding: 18px 18px 16px;
  transform: translateX(-50%) translateY(180%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.16,.84,.3,1), opacity .35s ease;
  overflow: hidden;
}
.gift-popup::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1e8c45, #45c47a);
}
.gift-popup--visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.gift-popup-close {
  position: absolute; top: 8px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  border: none; background: transparent;
  font-size: 22px; line-height: 1; color: #9aa0a6; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.gift-popup-close:hover { background: #f1f3f4; color: #333; }
.gift-popup-body { display: flex; gap: 14px; align-items: center; }
.gift-popup-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 12px;
  background: #f0faf3;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  overflow: hidden;
}
.gift-popup-icon img { width: 100%; height: 100%; object-fit: contain; }
.gift-popup-title {
  font-weight: 800; font-size: 13px; letter-spacing: .2px;
  color: #1e8c45; margin-bottom: 4px;
}
.gift-popup-desc { font-size: 13.5px; line-height: 1.5; color: #23282b; }
.gift-popup-value { color: #667; font-size: 12.5px; }
.gift-popup-free { color: #1e8c45; }
.gift-popup-link {
  display: inline-block; margin-top: 6px;
  font-size: 12.5px; font-weight: 600;
  color: #1e8c45; text-decoration: none;
}
.gift-popup-link:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .gift-popup {
    left: 12px; right: 12px; bottom: 130px;  /* destek butonunun üstünde kalsın */
    width: auto;
    padding: 15px 15px 14px;
    transform: translateY(180%);
  }
  .gift-popup--visible { transform: translateY(0); }
  .gift-popup-icon { width: 54px; height: 54px; font-size: 26px; }
  .gift-popup-desc { font-size: 13px; }
}
.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; }

/* Paylaş, Kazan — ürün sayfası (yalnız aktif affiliate'e görünür, sade dursun) */
.pk-share {
  margin-top: 10px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 8px;
  background: #fafafa;
  font-size: 13px;
}
.pk-share > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: #555;
  font-weight: 600;
  user-select: none;
}
.pk-share > summary::-webkit-details-marker { display: none; }
.pk-share > summary > .bi { color: var(--primary, #0d6efd); font-size: 16px; }
.pk-share__pct {
  margin-left: auto;
  background: rgba(13, 110, 253, .1);
  color: var(--primary, #0d6efd);
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
}
.pk-share[open] > summary { border-bottom: 1px solid var(--border, #e5e7eb); }
.pk-share__body { padding: 12px 14px; }
.pk-share__hint { margin: 0 0 9px; color: #666; line-height: 1.45; }
.pk-share__row { display: flex; gap: 6px; }
.pk-share__row input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border, #e5e7eb); border-radius: 6px;
  padding: 7px 10px; font-size: 12px; background: #fff; color: #333;
}
.pk-share__row button {
  border: 1px solid var(--primary, #0d6efd); background: var(--primary, #0d6efd);
  color: #fff; border-radius: 6px; padding: 7px 14px; font-size: 12px;
  font-weight: 600; white-space: nowrap; cursor: pointer;
}
.pk-share__social { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pk-share__social a,
.pk-share__social button {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--border, #e5e7eb); border-radius: 6px;
  padding: 6px 11px; font-size: 12px; font-weight: 600;
  text-decoration: none; color: #444; background: #fff; cursor: pointer;
}
.pk-share__social a:hover,
.pk-share__social button:hover { background: #f3f4f6; }
.pk-share__social .bi { font-size: 14px; }
.pk-share__social .pk-wa .bi { color: #25d366; }
.pk-share__social .pk-fb .bi { color: #1877f2; }
.pk-share__note { margin: 10px 0 0; font-size: 11px; color: #999; line-height: 1.5; }
.pk-share__note a { color: var(--primary, #0d6efd); text-decoration: none; }

/* Programa davet satırı (affiliate olmayanlara) */
.pk-invite {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; padding: 9px 14px;
  border: 1px solid var(--border, #e5e7eb); border-radius: 8px;
  background: #fafafa; color: #555;
  font-size: 13px; text-decoration: none; line-height: 1.4;
  transition: background .15s ease, color .15s ease;
}
.pk-invite:hover { background: #f3f4f6; color: #333; }
.pk-invite > .bi:first-child { color: #16a34a; font-size: 16px; flex-shrink: 0; }
.pk-invite strong { color: #16a34a; font-weight: 700; }
.pk-invite__arrow { margin-left: auto; font-size: 12px; color: #999; flex-shrink: 0; }
/* 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--purple { background: #f3e8ff; color: #7c3aed; }
.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; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border, #e5e7eb); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td { padding: 10px 12px; text-align: left; font-size: 14px; }
.specs-table th { width: 220px; font-weight: 600; color: #555; background: #fafafa; }
@media (max-width: 576px) {
  .specs-table th { width: 130px; font-size: 13px; }
}

/* ===================== CATEGORY PAGE ===================== */
.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; }
.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 ===================== */
.cart-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.cart-count-badge { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.cart-clear-all {
  display: flex; align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.cart-clear-all:hover { color: var(--primary-dark); text-decoration: underline; }

/* Kupon kutusu */
.cart-coupon-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 14px;
}
.cart-coupon-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.cart-coupon-form { display: flex; gap: 10px; }
.cart-coupon-input { flex: 1; }
.btn-coupon-apply {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-coupon-apply:hover { background: var(--primary); color: #fff; }
.cart-coupon-applied { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

/* Kargo durum şeridi */
.cart-shipping-banner {
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.cart-shipping-banner--free { background: #ecfdf5; color: #065f46; }
.cart-shipping-banner--free i { color: #16a34a; font-size: 16px; }
.cart-shipping-banner--info { background: var(--primary-light); color: var(--primary-dark); }
.cart-shipping-banner--info i { color: var(--primary); font-size: 16px; }

.cart-items-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img-col { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 80px; }
.cart-item-img-wrap img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.cart-item-savings {
  display: flex; align-items: center; justify-content: center;
  background: #ecfdf5;
  color: #16a34a;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  text-align: center;
  line-height: 1.3;
}
.cart-item-name { font-weight: 600; color: var(--text); }
.cart-item-name:hover { color: var(--primary); }
.cart-item-price { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.cart-item-old-price { font-size: 12px; color: #aaa; text-decoration: line-through; }
.cart-item-new-price { font-weight: 700; color: var(--primary); }
.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: #e8511a; 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-label { font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--primary); text-transform: uppercase; }
.cart-summary-oldtotal { font-size: 15px; color: #aaa; text-decoration: line-through; margin-top: 4px; }
.cart-summary-bigtotal { font-size: 30px; font-weight: 800; color: var(--dark); margin: 2px 0 10px; }
.cart-summary-savings-pill {
  display: inline-flex; align-items: center;
  background: #ecfdf5;
  color: #16a34a;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.btn-checkout-main {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
  margin-bottom: 16px;
}
.btn-checkout-main:hover { background: var(--primary-dark); color: #fff; }
.cart-summary-breakdown { border-top: 1px solid var(--border); padding-top: 14px; }
.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-img-col { width: 60px; }
  .cart-item-img-wrap img { width: 60px; height: 60px; }
  .cart-item-savings { font-size: 9px; padding: 2px 4px; }
  .cart-item-qty,
  .cart-item-total,
  .cart-item-remove  { grid-column: 2; }
  .cart-item-remove  { position: absolute; top: 10px; right: 10px; }
  .cart-coupon-form { flex-direction: column; }
  .cart-summary-bigtotal { font-size: 26px; }
}

/* ===================== 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 #eef0f3;
  border-radius: 18px;
  overflow: hidden;
  position: sticky;
  top: 120px;
  box-shadow: 0 1px 3px rgba(17,24,39,.05), 0 18px 40px -22px rgba(17,24,39,.22);
}
.account-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: linear-gradient(135deg, #F97316 0%, #FB923C 48%, #F59E0B 100%);
  color: #fff;
  position: relative;
}
.account-user-info::after {
  content: "";
  position: absolute;
  right: -40px; top: -60px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
}
.account-avatar {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.account-avatar i { font-size: 26px; color: #fff; }
.account-user-info > div { position: relative; z-index: 1; min-width: 0; }
.account-user-info strong { color: #fff; font-size: 15px; display: block; }
.account-user-info small,
.account-user-info .text-muted {
  color: rgba(255,255,255,.82) !important;
  font-size: 12.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.account-nav { padding: 10px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  margin-bottom: 2px;
  border-radius: 12px;
  color: #3f4453;
  font-size: 14px;
  font-weight: 500;
  transition: background .16s, color .16s;
}
.account-nav a i {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 15px;
  margin: 0 !important;
  transition: background .16s, color .16s;
}
.account-nav a:hover { background: #f6f7f9; color: var(--dark); }
.account-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.account-nav a.active i { background: var(--primary); color: #fff; }
.account-nav a[href$="cikis"] { color: #dc2626; }
.account-nav a[href$="cikis"] i { background: #fef2f2; color: #dc2626; }
.account-nav a[href$="cikis"]:hover { background: #fef2f2; }

/* Hesap alanındaki butonlar Bootstrap mavisi yerine marka rengini kullanır */
.account-content-card .btn { border-radius: 10px; font-weight: 600; }
.account-content-card .btn-primary,
.account-content-card .btn-success {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.account-content-card .btn-primary:hover,
.account-content-card .btn-primary:focus,
.account-content-card .btn-success:hover,
.account-content-card .btn-success:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.account-content-card .btn-primary:disabled,
.account-content-card .btn-success:disabled {
  background: var(--primary);
  border-color: var(--primary);
  opacity: .5;
}
.account-content-card .btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.account-content-card .btn-outline-primary:hover,
.account-content-card .btn-outline-primary:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.account-content-card .badge {
  border-radius: 999px;
  font-weight: 600;
  padding: .38em .7em;
  letter-spacing: .2px;
}
.account-content-card .badge.bg-primary { background: var(--primary) !important; }

/* Boş durum ikonları — soluk turuncu daire */
.account-content-card .empty-state > i,
.account-content-card .text-center.py-5 > i {
  color: var(--primary) !important;
  background: var(--primary-light);
  width: 88px; height: 88px;
  font-size: 2.4rem !important;
  line-height: 1;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}

/* Karşılama başlığı */
.account-hello { margin-bottom: 18px; }
.account-hello h3 {
  font-size: 1.35rem; font-weight: 800; color: var(--dark); margin: 0;
}
.account-hello p { margin: 4px 0 0; color: var(--text-muted); font-size: 14px; }

/* Renkli istatistik kutucukları */
.acc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.acc-stat {
  border-radius: 16px;
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}
.acc-stat__value { font-size: 1.55rem; font-weight: 800; line-height: 1.1; }
.acc-stat__label { font-size: 12px; font-weight: 600; opacity: .8; }
.acc-stat i {
  position: absolute; right: 10px; bottom: 6px;
  font-size: 2.4rem; opacity: .16;
}
.acc-stat--blue   { background: linear-gradient(135deg,#eff6ff,#dbeafe); color:#1d4ed8; border-color:#dbeafe; }
.acc-stat--violet { background: linear-gradient(135deg,#f5f3ff,#ede9fe); color:#6d28d9; border-color:#ede9fe; }
.acc-stat--green  { background: linear-gradient(135deg,#ecfdf5,#d1fae5); color:#047857; border-color:#d1fae5; }
.acc-stat--amber  { background: linear-gradient(135deg,#fff7ed,#ffedd5); color:#c2410c; border-color:#fed7aa; }
@media (max-width: 575px) {
  .acc-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Bakiye kutuları */
.acc-balance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.acc-balance__item {
  background: #f8fafc;
  border: 1px solid #eef0f3;
  border-left: 4px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
}
.acc-balance__item small { display: block; color: var(--text-muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.acc-balance__item span { font-size: 1.15rem; font-weight: 800; color: var(--dark); }
.acc-balance__item.is-pending  { border-left-color: #94a3b8; }
.acc-balance__item.is-ready    { border-left-color: #10b981; background: #f0fdf4; }
.acc-balance__item.is-ready span{ color: #047857; }
.acc-balance__item.is-request  { border-left-color: #f59e0b; background: #fffbeb; }
.acc-balance__item.is-paid     { border-left-color: #3b82f6; background: #eff6ff; }
@media (max-width: 575px) {
  .acc-balance { grid-template-columns: repeat(2, 1fr); }
}

/* Vurgulu link kutusu */
.acc-linkbox {
  background: linear-gradient(135deg,#fff8f3,#fff);
  border: 1.5px solid #ffd9bd;
  border-radius: 14px;
  padding: 16px;
}

/* 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 #eef0f3;
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: 0 1px 3px rgba(17,24,39,.05), 0 20px 44px -28px rgba(17,24,39,.22);
}
.account-content-card + .account-content-card,
.col-lg-9 > .account-content-card ~ .account-content-card { margin-top: 16px; }
.account-content-card h4,
.account-content-card h5:first-child {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  padding-left: 12px;
  border-bottom: 1px solid #f0f1f4;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-content-card h4::before,
.account-content-card h5:first-child::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 4px; height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), #f59e0b);
}
.account-content-card h4 > i { color: var(--primary); }
.account-content-card h4 > i.text-danger  { color: #dc2626 !important; }
.account-content-card h4 > i.text-warning { color: #d97706 !important; }
.account-content-card h6 { font-weight: 700; color: var(--dark); }
.account-content-card .table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid #eef0f3;
}
.account-content-card .table td { vertical-align: middle; }

/* 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: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
  color: #fff;
  padding: 14px 12px 28px;
  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;
  width: 100%;
}

.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; }
}

/* ===================== EN ÇOK SATAN BİLDİRİM (sol alt) ===================== */
.bestseller-popup {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1500;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  border: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transform: translateX(-130%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.34,1.3,.5,1), opacity .35s ease;
  pointer-events: none;
}
.bestseller-popup.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.bestseller-popup-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.bestseller-popup-ring rect {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.bestseller-popup.ring-active .bestseller-popup-ring rect {
  animation: bspRingCountdown 5s linear forwards;
}
@keyframes bspRingCountdown {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}
.bestseller-popup-close {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  border: none;
  background: rgba(0,0,0,.08);
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.bestseller-popup-close:hover { background: rgba(0,0,0,.15); color: var(--dark); }
.bestseller-popup-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}
.bestseller-popup-img-wrap {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light, #f6f6f6);
}
.bestseller-popup-img { width: 100%; height: 100%; object-fit: cover; }
.bestseller-popup-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.bestseller-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  background: rgba(249,115,22,.12);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.bestseller-popup-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bestseller-popup-price { font-size: 14px; font-weight: 700; color: var(--primary); }
@media (max-width: 991px) {
  .bestseller-popup { left: 10px; bottom: 76px; width: 270px; }
}

/* ===================== 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; } }

.home-blog-section { padding: 32px 0; }
.home-blog-section .blog-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .home-blog-section .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .home-blog-section .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;
}

/* ── Pop-up Reklam Banneri ─────────────────────────────── */
.popup-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .6);
  animation: popupAdFade .25s ease;
}
@keyframes popupAdFade { from { opacity: 0; } to { opacity: 1; } }
.popup-ad-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  animation: popupAdPop .3s cubic-bezier(.2, .8, .3, 1);
}
@keyframes popupAdPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-ad-media { display: block; }
.popup-ad-media img,
.popup-ad-media video {
  display: block;
  width: 100%;
  height: auto;
}
.popup-ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.popup-ad-close:hover { background: rgba(0, 0, 0, .8); }
.popup-ad-sound {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: none;
  border-radius: 20px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}
.popup-ad-sound:hover { background: rgba(0, 0, 0, .82); }
.popup-ad-sound.is-on { background: var(--primary); }
.popup-ad-sound i { font-size: 15px; }
@media (max-width: 576px) {
  .popup-ad-box { max-width: 340px; }
}
