/* =============================================
   Mymarka — Main Stylesheet
   ============================================= */

:root {
  --primary:      #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light:#F5F3FF;
  --accent:       #DB2777;
  --accent-light: #FDF2F8;
  --dark:         #1a1a2e;
  --text:         #333;
  --text-muted:   #888;
  --border:       #e8e8e8;
  --bg-light:     #f5f5f5;
  --shadow:       0 2px 12px rgba(0,0,0,.07);
  --radius:       10px;
  --header-h:     158px;
}

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

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

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

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

/* ── Ü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); }
.top-bar-nav-link--seller { color: var(--primary); font-weight: 600; }
.top-bar-nav-link--seller:hover { background: var(--primary); color: #fff; }
@media (max-width: 991px) { .top-bar-nav { display: none; } }

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

/* Ü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 (beyaz, arama + hesap) ── */
.main-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.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: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color .15s;
}
.hdr-cat-btn i { font-size: 18px; color: var(--primary); }
.hdr-cat-btn:hover { color: var(--primary); }

/* 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: 1.5px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--text);
}
.hdr-search {
  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: 1.5px solid var(--border);
  border-radius: 0 4px 4px 0;
  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; }

/* Konum (görsel) */
.hdr-location {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  flex-shrink: 0;
  padding: 0 4px;
  cursor: pointer;
}
.hdr-location i { font-size: 20px; color: var(--text-muted); }
.hdr-location-text { display: flex; flex-direction: column; line-height: 1.25; }
.hdr-location-text small {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.hdr-location-text span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* Konum dropdown */
.hdr-location-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  z-index: 2000;
  overflow: hidden;
  cursor: default;
}
.hdr-location-dropdown.open { display: block; }
.hdr-location-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.hdr-location-list {
  max-height: 260px;
  overflow-y: auto;
}
.hdr-location-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background .12s;
}
.hdr-location-opt:hover { background: var(--primary-light); color: var(--primary); }

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

/* Hesap butonu: gri kutu */
.hdr-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  color: var(--text);
  border-radius: 6px;
  padding: 7px 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.hdr-account-btn:hover { background: #ececec; color: var(--text); }
.hdr-account-btn i { font-size: 20px; color: var(--text-muted); }
.hdr-account-text { display: flex; flex-direction: column; line-height: 1.25; }
.hdr-account-text span { font-size: 13px; font-weight: 700; }
.hdr-account-text small { font-size: 11px; color: var(--text-muted); font-weight: 500; }

/* Sepet butonu: gri kutu */
.hdr-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}
.hdr-cart-btn:hover { background: #ececec; color: var(--text); }
.hdr-cart-icon-wrap { position: relative; display: flex; align-items: center; }
.hdr-cart-icon-wrap .bi { font-size: 20px; color: var(--text-muted); }
.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: var(--bg-light);
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.hdr-mobile-toggle:hover { background: #ececec; }

/* ── Renkli Ayraç ── */
.hdr-gradient-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #38bdf8 25%, var(--accent) 50%, #22c55e 75%, #4c1d95 100%);
}

/* ── Kategori Şeridi (yazılı, sabit) ── */
.hdr-cat-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.hdr-cat-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hdr-cat-nav-inner::-webkit-scrollbar { display: none; }
.hdr-cat-nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: color .15s;
}
.hdr-cat-nav-link:hover { color: var(--primary); }

/* 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, var(--primary-light) 0%, #fff 100%);
  border: 1.5px solid #ddd0fb;
  border-radius: 16px;
  padding: 24px 24px 28px;
}

/* ===================== FLASH SECTION ===================== */
.flash-section {
  padding: 24px 0 32px;
  background: #fff;
}
.flash-section > .container {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #fff 100%);
  border: 1.5px solid #ddd0fb;
  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;
  margin: 0;
}
.flash-see-all {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.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: 180px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.fy-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-4px);
  color: inherit;
}
.fy-card-img-wrap { text-decoration: none; }
.fy-name { text-decoration: none; }

.fy-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: #f8f8f8;
}
.fy-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
  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;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}
.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: 148px; }
  .flash-arrow { width: 30px; height: 30px; font-size: 13px; }
}

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

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

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

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

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

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

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

/* ===================== TRIPLE BANNERS ===================== */
.triple-section { padding: 28px 0; }
.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.triple-card {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 4px 18px rgba(0,0,0,.10);
  text-decoration: none;
  background: #f0f0f0;
}
.triple-card img,
.triple-card video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.triple-card:hover img,
.triple-card:hover video { transform: scale(1.06); }
.triple-overlay {
  position: absolute;
  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);
}
@media (max-width: 767px) {
  .triple-grid { grid-template-columns: repeat(2, 1fr); }
  .triple-card, .triple-card img, .triple-card video { height: 160px; }
}
@media (max-width: 480px) {
  .triple-grid { grid-template-columns: 1fr; }
  .triple-card, .triple-card img, .triple-card video { height: 180px; }
}

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

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

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

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

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

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

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

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

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

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

/* ===================== CATEGORY STRIP (header altı) ===================== */
/* ── Kısayol Karoları (header altı, rastgele sıralı) ── */
.shortcut-strip-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.shortcut-strip {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
}

.shortcut-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.shortcut-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.shortcut-img {
  aspect-ratio: 1;
  background: var(--primary-light);
  overflow: hidden;
}
.shortcut-img img { width: 100%; height: 100%; object-fit: cover; }
.shortcut-name {
  padding: 5px 6px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  word-break: break-word;
  border-top: 1px solid var(--border);
}
.shortcut-item:hover .shortcut-name { color: var(--primary); }

/* Mobilde grid yerine tek satır kaydırmalı (dokunmatik swipe) görünüme dön */
@media (max-width: 767px) {
  .shortcut-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .shortcut-strip::-webkit-scrollbar { display: none; }
  .shortcut-item { flex-shrink: 0; width: 72px; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ── Teslimat & Güvence Kartı ───────────────────────────────── */
.dtc-card {
  display: flex;
  align-items: stretch;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.dtc-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 13px;
}
.dtc-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dtc-icon--blue   { background: #e8f0fe; color: #1a6fd4; }
.dtc-icon--green  { background: #e6f4ea; color: #1e8c45; }
.dtc-icon--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; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Desktop: 5 yanyana flex slider */
.mid-strip-track-wrap { overflow: hidden; }
.mid-strip-grid {
  display: flex;
  gap: 12px;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mid-strip-item {
  flex: 0 0 calc(20% - 10px);
  min-width: 0;
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s;
  background: #f0f0f0;
}
.mid-strip-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.mid-strip-item img { width: 100%; height: auto; 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%; height: auto; aspect-ratio: 16/7; object-fit: cover; display: block; border-radius: 12px; }
  .mid-strip-dots {
    display: flex; justify-content: center; gap: 6px; margin-top: 10px;
  }
  .mid-strip-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: #ddd; cursor: pointer; padding: 0; transition: background .2s, width .2s;
  }
  .mid-strip-dot.active { background: var(--primary); width: 22px; border-radius: 4px; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ===================== 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, 12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  border: 1px solid var(--border, #e5e7eb);
  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, #7C3AED);
  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, #6b7280);
  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, #1a1a2e); }
.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(124,58,237,.12);
  color: var(--primary, #7C3AED);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}
.bestseller-popup-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bestseller-popup-price { font-size: 14px; font-weight: 700; color: var(--primary, #7C3AED); }
@media (max-width: 991px) {
  .bestseller-popup { left: 10px; bottom: 76px; width: 270px; }
}

/* ── 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, #7C3AED); }
.popup-ad-sound i { font-size: 15px; }
@media (max-width: 576px) {
  .popup-ad-box { max-width: 340px; }
}

/* ===================== ÜRÜN KARŞILAŞTIRMA ===================== */
.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); }

.compare-check-label--detail {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary, #7C3AED);
  border: 1px solid var(--primary, #7C3AED); 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(124,58,237,.08); }
.compare-check-label--detail input { position: absolute; opacity: 0; pointer-events: none; }
.compare-check-label--detail:has(input:checked) { background: var(--primary, #7C3AED); color: #fff; }

.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, #7C3AED); 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; }
}

.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(--dark, #1a1a2e); 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; }
.compare-table .btn-add-cart { width: auto; padding: 8px 14px; }

/* Ürün detay hediye kutusu */
.product-gift-box {
  display: flex; gap: 12px; align-items: center;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px;
  padding: 12px 14px;
}
.product-gift-media {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 8px;
  overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center;
}
.product-gift-media img { width: 100%; height: 100%; object-fit: cover; }
.product-gift-emoji { font-size: 28px; }

/* Cep telefonu taksit yasağı uyarısı */
.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, #1a1a2e); padding-bottom: 8px; }
.phone-installment-warning-body p { margin: 0 0 6px; }
.phone-installment-warning-body strong { color: #8a5a00; }

/* ===================== Bootstrap buton renkleri — marka moru ===================== */
/* Bootstrap'in varsayılan mavi .btn-primary'sini site markası (mor) ile eşitler. */
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: #5B21B6;
  --bs-btn-active-border-color: #5B21B6;
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
}
.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-disabled-color: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
}
.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-outline-primary:focus {
  box-shadow: 0 0 0 .25rem rgba(124, 58, 237, .35);
}
.text-primary { color: var(--primary) !important; }
.link-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.badge.bg-primary { background-color: var(--primary) !important; }
