/* ============================================================
   PARTİVİVA - Ana Stil Dosyası
   Renkler: Pembe #E91E8C | Altın #D4AF37 | Şampanya #F5E6C0
   ============================================================ */

:root {
  --pink:        #E91E8C;
  --pink-dark:   #C4166F;
  --pink-light:  #FDE8F4;
  --gold:        #D4AF37;
  --gold-dark:   #B8860B;
  --gold-light:  #F5E6C0;
  --champagne:   #FAF3E0;
  --bg:          #FFF9F5;
  --white:       #FFFFFF;
  --text:        #2D2D2D;
  --text-muted:  #5e5e5e;
  --border:      #EDD9C8;
  --shadow:      0 2px 20px rgba(233,30,140,.1);
  --shadow-gold: 0 2px 20px rgba(212,175,55,.15);
  --radius:      12px;
  --radius-sm:   8px;
  --trans:       all .25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}
a { color: var(--pink); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--pink-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- Utility ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.flex { display: flex; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-pink { color: var(--pink); }
.text-gold { color: var(--gold); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(233,30,140,.3);
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233,30,140,.4);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(212,175,55,.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,.4);
  color: #fff;
}
.btn-outline-pink {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}
.btn-outline-pink:hover { background: var(--pink); color: #fff; }
.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-dark);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--pink);
  border: 2px solid #fff;
}
.btn-white:hover { background: var(--pink-light); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,.3); }
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* ---- Duyuru Bandı (Flaşör) ---- */
.site-ticker {
  background: linear-gradient(90deg, #E65100 0%, #FF9800 50%, #FFC107 100%);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 200;
  padding: 0 40px;
  letter-spacing: 1px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(230,81,0,.45);
  animation: tickerBgFlash 1.4s ease-in-out infinite;
}
@keyframes tickerBgFlash {
  0%, 100% { filter: brightness(1);    }
  50%       { filter: brightness(1.12); }
}
.site-ticker::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,.07) 50%, transparent 80%);
  animation: tickerShine 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tickerShine {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}
.site-ticker-text {
  position: relative;
  z-index: 1;
  display: block;
  line-height: 1.2;
  color: #3E1A00;
  text-shadow: 0 1px 3px rgba(0,0,0,.15);
  animation: tickerTextPulse 2.2s ease-in-out infinite;
}
@keyframes tickerTextPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .82;
    transform: scale(1.02);
  }
}

/* ---- Top Bar ---- */
.top-bar {
  background: linear-gradient(135deg, var(--pink-dark), var(--pink));
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: #fff; }

/* ---- Header ---- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}
.site-logo img { height: 60px; width: auto; }
.site-logo-text {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.site-logo-text span:first-child { color: var(--pink); }
.site-logo-text span:last-child { color: var(--gold); }

.header-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}
.header-search form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
  transition: var(--trans);
}
.header-search form:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233,30,140,.1);
}
.header-search input {
  flex: 1;
  padding: 10px 18px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}
.header-search button {
  background: var(--pink);
  border: none;
  padding: 10px 18px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: var(--trans);
}
.header-search button:hover { background: var(--pink-dark); }

/* ---- Canlı Arama Dropdown ---- */
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.16);
  z-index: 9999;
  border: 1.5px solid var(--border);
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #f0c0dc #f9f9f9;
}
.search-dropdown::-webkit-scrollbar { width: 5px; }
.search-dropdown::-webkit-scrollbar-track { background: #f9f9f9; border-radius: 8px; }
.search-dropdown::-webkit-scrollbar-thumb { background: #f0a0cc; border-radius: 8px; }
.search-dropdown.open { display: block; animation: searchDropIn .18s ease; }
@keyframes searchDropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid #f8f0f5;
  transition: background .12s, padding-left .12s;
}
.search-result-item:first-child { border-radius: 14px 14px 0 0; }
.search-result-item:hover { background: #fff5fb; padding-left: 18px; }
.search-result-img {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--champagne);
}
.search-result-placeholder {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--champagne);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.search-result-name {
  font-size: 13px; font-weight: 600;
  line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.search-result-price { font-size: 12px; color: var(--pink); font-weight: 700; margin-top: 3px; }
.search-all-link {
  display: block; text-align: center;
  padding: 11px 14px;
  font-size: 13px; font-weight: 700;
  color: var(--pink);
  background: var(--bg);
  border-top: 2px solid var(--border);
  text-decoration: none;
  transition: background .12s;
}
.search-all-link:hover { background: var(--pink-light); }
.search-loading {
  padding: 16px; text-align: center;
  color: var(--text-muted); font-size: 13px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  transition: var(--trans);
  position: relative;
}
.header-action-btn:hover { background: var(--pink-light); color: var(--pink); }
.header-action-btn svg, .header-action-btn .icon { font-size: 22px; }
.cart-badge {
  position: absolute;
  top: 2px; right: 6px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ============================================================
   NAVİGASYON — Modern Kategori Menüsü
   ============================================================ */

/* ---- Masaüstü Ana Bar ---- */
.main-nav {
  background: linear-gradient(135deg, var(--pink), #c2185b);
  position: relative;
}
.main-nav .container {
  display: flex;
  align-items: stretch;
  overflow: visible; /* dropdown'ların görünmesi için */
  max-width: 1280px;
  width: 100%;
}
.main-nav > .container > ul {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible; /* dropdown'lar görünür kalsın */
}
.main-nav > .container > ul > li {
  position: relative;
}

/* ---- Masaüstü Nav Linkleri — Modern ---- */
.main-nav > .container > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  height: 46px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1px;
  text-transform: none;
  white-space: nowrap;
  position: relative;
  transition: color .2s ease, background .2s ease;
}

/* Alttan büyüyen pembe çizgi */
.main-nav > .container > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--gold-light);
  border-radius: 3px 3px 0 0;
  transition: width .25s ease, left .25s ease;
}
.main-nav > .container > ul > li > a:hover::after,
.main-nav > .container > ul > li:hover > a::after {
  width: 70%; left: 15%;
}
.main-nav > .container > ul > li > a:hover,
.main-nav > .container > ul > li:hover > a {
  color: #fff;
  background: rgba(255,255,255,.13);
}
.main-nav > .container > ul > li > a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,.13);
}
.main-nav > .container > ul > li > a.active::after {
  width: 70%; left: 15%;
}

/* ---- Masaüstü Dropdown — Kart Yapısı ---- */
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  min-width: 215px;
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,0,0,.15);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  padding: 7px;
  border: 1px solid rgba(233,30,140,.07);
}
.main-nav li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown öğeleri — kart kutuları */
.main-nav .dropdown li {
  position: relative;
}
.main-nav .dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  background: #f9f9f9;
  margin-bottom: 3px;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
  border-left: 3px solid transparent;
}
.main-nav .dropdown a:last-child { margin-bottom: 0; }
.main-nav .dropdown a:hover {
  background: var(--pink-light);
  color: var(--pink);
  border-left-color: var(--pink);
  padding-left: 18px;
}

/* Alt kategori (nested) — daha sade */
.main-nav .dropdown-nested a {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 12.5px;
  background: #fff;
  padding-left: 18px;
}
.main-nav .dropdown-nested a:hover {
  background: var(--pink-light);
  color: var(--pink);
  border-left-color: var(--pink);
  padding-left: 24px;
}

/* Nested dropdown */
.main-nav .dropdown li { position: relative; }
.main-nav .dropdown-nested {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  min-width: 210px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 101;
  padding: 7px;
  border: 1px solid rgba(233,30,140,.07);
}
.main-nav .dropdown li:hover > .dropdown-nested {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/* 3. Seviye dropdown */
.main-nav .dropdown-nested li,
.main-nav .dropdown li { position: relative; }

.main-nav .dropdown-nested-3 {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 102;
  padding: 7px;
  border: 1px solid rgba(156,39,176,.12);
  overflow: visible;
}
/* Tetikleyici: hem .dropdown-nested hem .dropdown içindeki li üzerinde çalışır */
.main-nav li:hover > .dropdown-nested-3 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/* 3. seviye link stili */
.main-nav .dropdown-nested-3 a {
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 12px;
  background: #fdf8ff;
  border-left-color: #ce93d8;
}
.main-nav .dropdown-nested-3 a:hover {
  background: #f3e5f5;
  color: #7b1fa2;
  border-left-color: #9c27b0;
  padding-left: 18px;
}
/* overflow visible — üst elementler 3. katmanı kesmemeli */
.main-nav .dropdown,
.main-nav .dropdown-nested { overflow: visible; }

/* 3. seviye admin ağaç satır stili */
.cat-grandsub-row { background: #fffde7 !important; }
.cat-grandchildren { border-top: 1px solid #fff9c4 !important; }

/* ---- Tüm Kategoriler Butonu ---- */
.main-nav .all-cats-btn {
  background: var(--gold) !important;
  color: #fff !important;
  height: 46px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background .2s ease;
}
.main-nav .all-cats-btn:hover { background: var(--gold-dark) !important; }
.main-nav .all-cats-btn::after { display: none !important; }

/* ---- Nav Overflow "Diğerleri" ---- */
.nav-overflow-btn > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 46px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255,255,255,.15) !important;
  border-left: 1px solid rgba(255,255,255,.2);
  transition: background .2s ease;
}
.nav-overflow-btn > a::after { display: none !important; }
.nav-overflow-btn > a:hover {
  background: rgba(255,255,255,.28) !important;
}
.nav-overflow-btn .dropdown {
  right: 0 !important;
  left: auto !important;
  min-width: 210px;
  max-height: 70vh;
  overflow-y: auto;
}
/* Dropdown içindeki nested dropdown soldan açılsın */
.nav-overflow-btn .dropdown .dropdown-nested,
.nav-overflow-btn .dropdown .dropdown-nested-3 {
  left: 0;
  right: auto;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: #444;
}
.breadcrumb a {
  color: var(--pink);
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--pink-dark); text-decoration: underline; }
/* Ayırıcı › sembolleri */
.breadcrumb span { margin: 0 5px; color: #aaa; }
/* Geçerli sayfa adı (son span) — net ve koyu */
.breadcrumb span:last-child {
  color: #333;
  font-weight: 600;
  margin-left: 5px;
  margin-right: 0;
}

/* ---- Tam Genişlik Banner (hero + alt banner) ---- */
.full-width-banner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  overflow: hidden;
  vertical-align: bottom;
  font-size: 0;
}
.full-width-banner img {
  width: 100%;
  height: 120px;
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--gold-light);
  width: 100%;
  max-width: 100vw;
}
.slider-track {
  display: flex;
  transition: transform .5s ease;
  width: 100%;
}
.slide {
  min-width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}
.slide-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--pink) 40%, var(--gold) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}
.slide-placeholder h2 { font-size: 42px; font-weight: 900; text-shadow: 2px 2px 8px rgba(0,0,0,.3); margin-bottom: 12px; }
.slide-placeholder p { font-size: 18px; opacity: .9; margin-bottom: 24px; }
.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--pink);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover { background: var(--pink); color: #fff; transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid #fff;
  cursor: pointer;
  transition: var(--trans);
}
.slider-dot.active { background: var(--pink); width: 24px; border-radius: 5px; }

/* ---- Section Titles ---- */
.section { padding: 48px 0; }
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  border-radius: 3px;
}
.section-title p { color: var(--text-muted); margin-top: 10px; }

/* ---- Category Cards (eski, diğer sayfalar için korunuyor) ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.category-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  text-align: center;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(233,30,140,.2);
}
.category-card .cat-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--gold-light);
}
.category-card .cat-img-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--pink-light), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.category-card h3 {
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.category-card:hover h3 { color: var(--pink); }

/* ---- Ana Sayfa Kategori Grid — 7 kolonlu masaüstü ---- */
.home-cats-section { background: var(--bg); }
.home-cats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  text-decoration: none;
  color: var(--text);
}
.home-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(233,30,140,.22);
}
.home-cat-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.home-cat-card:hover .home-cat-img-wrap img {
  transform: scale(1.08);
}
.home-cat-no-img {
  font-size: 40px;
  background: linear-gradient(135deg, var(--pink-light), var(--gold-light));
}
.home-cat-name {
  display: block;
  width: 100%;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  line-height: 1.3;
}
.home-cat-card:hover .home-cat-name { color: var(--pink); }

/* ---- Product Cards ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(233,30,140,.2);
}
.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #fff;
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), filter .45s ease;
}
.product-card:hover .img-wrap img {
  transform: scale(1.13);
  filter: brightness(1.04);
}
.product-card .badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 10;
  background: var(--pink);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  line-height: 1.4;
  white-space: nowrap;
}
.product-card .badge-gold    { background: var(--gold); }
.product-card .badge-danger  { background: #e53935; }
.product-card .badge-blue    { background: #1e88e5; }
.product-card .badge-orange  { background: #fb8c00; }
.product-card .badge-purple  { background: #8e24aa; }
.product-card .badge-discount {
  background: linear-gradient(135deg, #e91e8c, #c2185b);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(233,30,140,.35);
}

/* ---- Wishlist Button ---- */
.product-card {
  position: relative; /* ensure positioning context */
}
.wishlist-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  color: #bbb;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.wishlist-btn:hover,
.wishlist-btn.active { color: var(--pink); background: #fff; }
.wishlist-btn.active i { font-weight: 900; }

/* ---- Social Proof Mini (on card) ---- */
.social-proof-mini {
  font-size: 11px;
  color: #555;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.social-proof-mini i { color: var(--pink); font-size: 11px; }

/* ---- Social Proof Block (product detail) ---- */
.social-proof-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 16px;
}
.social-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--champagne);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
}
.social-proof-item i { color: var(--pink); }
.social-proof-item strong { color: var(--text); }

/* ---- Stock Notify Form ---- */
.stock-notify-form {
  margin-top: 14px;
  background: #fff8f0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stock-notify-form p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.stock-notify-form .notify-row {
  display: flex;
  gap: 8px;
}
.stock-notify-form input[type="email"] {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}
.stock-notify-form input[type="email"]:focus { border-color: var(--pink); }
.stock-notify-form .btn-notify {
  padding: 9px 16px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--trans);
}
.stock-notify-form .btn-notify:hover { background: var(--pink-dark); }

/* ---- Detail Wishlist Button ---- */
.btn-wishlist-detail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
}
.btn-wishlist-detail:hover,
.btn-wishlist-detail.active { border-color: var(--pink); color: var(--pink); background: var(--pink-light); }
.btn-wishlist-detail.active i { font-weight: 900; }

.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.78);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #444;
  font-size: 15px;
  letter-spacing: .3px;
}
.product-card .info {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .cat-label {
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
  background: var(--pink);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
}
.product-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}
.product-card:hover h3 { color: var(--pink); }
.product-card .rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.stars { color: var(--gold); font-size: 13px; }
.stars-empty { color: #ddd; }
.rating-count { font-size: 12px; color: #555; font-weight: 500; }
.product-card .price-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.product-card .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink);
}
.product-card .price-sale {
  font-size: 19px;
  font-weight: 900;
  color: #e91e8c;
}
.product-card .old-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-card .card-actions {
  padding: 0 14px 14px;
  display: flex;
  gap: 8px;
}
.product-card .btn-add-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
}
.product-card .btn-add-cart:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(233,30,140,.3);
}
.product-card .btn-add-cart:disabled { background: #ccc; cursor: not-allowed; }

/* ---- Ürün Özellikleri ---- */
.product-attributes {
  margin: 12px 0;
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.product-attributes strong {
  font-size: 14px;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.product-attributes ul {
  margin: 0; padding: 0; list-style: none;
}
.product-attributes li {
  font-size: 13px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 6px;
}
.product-attributes li:last-child { border-bottom: none; }
.product-attributes li .attr-key {
  font-weight: 600;
  color: #555;
  min-width: 90px;
  flex-shrink: 0;
}

/* ---- Custom Variant Select ---- */
.variant-selector { margin: 14px 0; }
.custom-select-wrap { position: relative; }
.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color .2s;
  min-height: 56px;
  user-select: none;
}
.custom-select-trigger:hover { border-color: var(--pink); }
.custom-select-trigger.open { border-color: var(--pink); }
.cs-thumb {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f5f5f5;
  overflow: hidden;
}
.cs-thumb img { width: 36px; height: 36px; object-fit: contain; }
.cs-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
}
.cs-text.selected { color: var(--text); }
.cs-arrow {
  color: #aaa;
  font-size: 12px;
  transition: transform .2s;
  flex-shrink: 0;
}
.custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(233,30,140,.12);
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}
.custom-select-dropdown.open { display: block; }
.cs-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  border: 1.5px solid transparent;
}
.cs-option:hover:not(.cs-disabled) { background: #fff3fb; }
.cs-option.cs-active {
  background: #fff3fb;
  border-color: var(--pink);
}
.cs-option.cs-disabled { opacity: .5; cursor: not-allowed; }
.cs-opt-thumb {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-opt-thumb img { width: 42px; height: 42px; object-fit: contain; }
.cs-opt-text { flex: 1; }
.cs-opt-name { font-size: 13px; font-weight: 600; color: var(--text); display: block; }
.cs-opt-stock { font-size: 11px; color: #e53935; }
.cs-opt-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  flex-shrink: 0;
}

/* ---- Product Detail ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}
.product-gallery .main-img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  cursor: zoom-in;
}
.product-gallery .thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.product-gallery .thumb {
  width: 75px;
  height: 75px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--trans);
  flex-shrink: 0;
}
.product-gallery .thumb.active, .product-gallery .thumb:hover {
  border-color: var(--pink);
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFadeIn .2s ease;
}
.lightbox-overlay.open {
  display: flex;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
  animation: lbZoomIn .22s cubic-bezier(.25,.46,.45,.94);
  user-select: none;
}
@keyframes lbZoomIn {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10000;
}
.lightbox-close:hover {
  background: rgba(255,255,255,.3);
}
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10000;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-prev.hidden,
.lightbox-next.hidden { display: none; }
.lightbox-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  background: rgba(0,0,0,.35);
  padding: 4px 14px;
  border-radius: 20px;
}

.product-info h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; }
.product-info .price-main {
  font-size: 32px;
  font-weight: 900;
  color: var(--pink);
  margin: 16px 0;
}
.product-info .price-main .old-price {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

/* ---- İndirimli fiyat bloğu (ürün detay) ---- */
.discount-price-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-sale-big {
  font-size: 36px;
  font-weight: 900;
  color: #e91e8c;
  line-height: 1;
}
.discount-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.old-price-big {
  font-size: 18px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}
.discount-badge-big {
  background: linear-gradient(135deg, #e91e8c, #c2185b);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .3px;
  box-shadow: 0 2px 10px rgba(233,30,140,.3);
  animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 2px 10px rgba(233,30,140,.3); }
  50%       { box-shadow: 0 4px 20px rgba(233,30,140,.55); }
}
.discount-saving {
  font-size: 13px;
  color: #2e7d32;
  font-weight: 600;
  background: #e8f5e9;
  border-radius: 6px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.stock-badge.in-stock { background: #e8f5e9; color: #2e7d32; }
.stock-badge.out-stock { background: #ffebee; color: #c62828; }
.qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 25px;
  overflow: hidden;
}
.qty-control button {
  background: var(--gold-light);
  border: none;
  width: 38px; height: 38px;
  font-size: 18px;
  cursor: pointer;
  transition: var(--trans);
}
.qty-control button:hover { background: var(--gold); color: #fff; }
.qty-control input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.product-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

.share-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.share-section span { font-weight: 600; color: var(--text-muted); font-size: 13px; }
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: var(--trans);
  text-decoration: none;
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.copy { background: var(--gold); }
.share-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-btn.tiktok { background: #010101; }

.product-tabs { margin-top: 40px; }
.tab-btns { display: flex; border-bottom: 2px solid var(--border); }
.tab-btn {
  padding: 12px 24px;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--trans);
}
.tab-btn.active { color: var(--pink); border-color: var(--pink); }
.tab-content { padding: 24px 0; display: none; }
.tab-content.active { display: block; }
.tab-content p { color: var(--text); line-height: 1.8; }

/* Ürün açıklamasındaki görseller ve videolar */
.tab-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; height: auto; }
.tab-content iframe { max-width: 100%; border-radius: 10px; }
.tab-content div[style*="padding-bottom:56.25%"] { max-width: 560px; margin: 12px auto; }

/* ---- Reviews ---- */
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.reviewer-name { font-weight: 700; }
.review-date { font-size: 12px; color: #555; font-weight: 500; }
.review-text { color: var(--text); line-height: 1.7; margin-top: 8px; }
.review-form {
  background: var(--champagne);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.star-picker { display: flex; gap: 6px; font-size: 28px; cursor: pointer; margin: 10px 0; }
.star-picker .star { color: #ddd; transition: color .2s; }
.star-picker .star.selected, .star-picker .star:hover, .star-picker .star.hovered { color: var(--gold); }

/* ---- Cart ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 32px 0;
}
.cart-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
}
.cart-table td { padding: 16px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-product-img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-product-name { font-weight: 600; font-size: 14px; }
.cart-qty-input {
  width: 60px;
  padding: 6px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}
.cart-remove-btn {
  background: none;
  border: none;
  color: #c62828;
  font-size: 18px;
  cursor: pointer;
  transition: var(--trans);
}
.cart-remove-btn:hover { transform: scale(1.2); }

.cart-summary {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink);
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
}
.bank-info-box {
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  margin: 16px 0;
  font-size: 13px;
}
.bank-info-box strong { display: block; margin-bottom: 8px; color: var(--gold-dark); font-size: 14px; }

/* ---- Forms ---- */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 520px;
  margin: 40px auto;
}
.form-card h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}
.form-card .form-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 14px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label span { color: var(--pink); }
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--trans);
  outline: none;
  background: #fff;
}
.form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233,30,140,.1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: flex; gap: 12px; }
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-error { background: #ffebee; border-left: 4px solid #e53935; color: #b71c1c; }
.alert-success { background: #e8f5e9; border-left: 4px solid #43a047; color: #1b5e20; }
.alert-info { background: #e3f2fd; border-left: 4px solid #1976d2; color: #0d47a1; }
.alert-warning { background: #fff8e1; border-left: 4px solid var(--gold); color: #e65100; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; padding: 32px 0; }
.checkout-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.checkout-card h3 { font-size: 18px; margin-bottom: 20px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.checkout-card h3 .step-num {
  background: var(--pink);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-method-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.payment-method-card:hover, .payment-method-card.active {
  border-color: var(--pink);
  background: var(--pink-light);
}
.payment-method-card input { accent-color: var(--pink); width: 18px; height: 18px; }
.payment-method-card .pm-info h4 { font-size: 15px; margin-bottom: 4px; }
.payment-method-card .pm-info p { font-size: 13px; color: var(--text-muted); }

/* ---- User Dashboard ---- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 32px 0;
}
.sidebar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
.sidebar .user-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--pink), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  font-weight: 800;
  margin: 0 auto 16px;
}
.sidebar .user-name { text-align: center; font-weight: 700; margin-bottom: 4px; }
.sidebar .user-email { text-align: center; font-size: 12px; color: #555; font-weight: 500; margin-bottom: 20px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
  transition: var(--trans);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: var(--pink-light);
  color: var(--pink);
  font-weight: 600;
}

/* ---- Features Strip ---- */
.features-strip {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  padding: 18px 0;
}
.features-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  color: #fff;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.feature-item i {
  font-size: 22px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.feature-item .feature-whatsapp { color: #b5f0c9; }

/* ---- Orders Table ---- */
.orders-table { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.orders-table table { width: 100%; border-collapse: collapse; }
.orders-table th {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
}
.orders-table td { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: var(--bg); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.status-badge.warning { background: #fff8e1; color: #e65100; }
.status-badge.info { background: #e3f2fd; color: #1565c0; }
.status-badge.primary { background: #e8eaf6; color: #283593; }
.status-badge.gold { background: var(--gold-light); color: var(--gold-dark); }
.status-badge.success { background: #e8f5e9; color: #2e7d32; }
.status-badge.danger { background: #ffebee; color: #c62828; }

/* ---- 4'lü Ürün Grid ---- */
.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---- Load More ---- */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.load-more-counter {
  font-size: 13px;
  color: var(--text-muted);
}
.load-more-counter span {
  font-weight: 700;
  color: var(--text);
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 4px 18px rgba(233,30,140,.35);
  letter-spacing: .3px;
}
.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,30,140,.45);
}
.btn-load-more:active { transform: translateY(0); }
.btn-load-more:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}
.btn-load-more.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 4px 18px rgba(212,175,55,.35);
}

/* ---- Skeleton Cards ---- */
.product-card-skeleton {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 14px;
}
.skeleton-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-line {
  margin: 12px 14px 0;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-line.long   { width: 85%; }
.skeleton-line.medium { width: 60%; }
.skeleton-line.short  { width: 40%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Responsive 4'lü Grid ---- */
@media (max-width: 1024px) {
  .products-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .btn-load-more { padding: 12px 28px; font-size: 14px; }
}
@media (max-width: 400px) {
  .products-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ---- Dil Değiştirici ---- */
.lang-switcher { display:flex; gap:4px; }
.lang-btn {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: var(--trans);
  border: 1.5px solid transparent;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.lang-btn.active { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.15); }

/* ---- Modal ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1.5px solid var(--border);
}
.modal-header h3 { font-size: 17px; font-weight: 700; margin: 0; }
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--trans);
}
.modal-close:hover { background: #f5f5f5; color: #333; }
.modal-box form { padding: 20px 22px; }

/* ---- Adres Kartları ---- */
.address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.address-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  transition: var(--trans);
}
.address-card.default { border-color: var(--pink); }
.address-card:hover { box-shadow: var(--shadow); }
.address-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.address-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.address-name  { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.address-detail { font-size: 13px; color: var(--text-muted); margin-bottom: 3px; line-height: 1.5; }
.address-actions { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.btn-xs { padding: 5px 10px; font-size: 11px; font-weight: 700; border-radius: 6px; cursor: pointer; transition: var(--trans); }

/* ---- İade Kartları ---- */
.return-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.return-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f5f5f5;
}
.return-card-body { padding: 14px 18px; }
.return-card-footer { padding: 10px 18px; background: #fafafa; border-top: 1px solid #f5f5f5; }
.return-reason { font-size: 13px; color: var(--text); line-height: 1.6; margin-bottom: 8px; }
.return-admin-note {
  font-size: 13px;
  color: var(--text);
  background: var(--pink-light);
  border-left: 3px solid var(--pink);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-top: 8px;
}
.return-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.return-type-badge.iade    { background: #e3f2fd; color: #1565c0; }
.return-type-badge.degisim { background: #fff8e1; color: #e65100; }
.return-type-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  background: #f9f9f9;
}
.return-type-btn input { display: none; }
.return-type-btn:has(input:checked),
.return-type-btn.selected { border-color: var(--pink); background: var(--pink-light); color: var(--pink); }

/* ---- Status Badge (danger) ---- */
.status-badge.danger { background: #ffebee; color: #c62828; }

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
  color: #ccc;
  margin-top: 60px;
}
.footer-top { padding: 50px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
}
.footer-brand .brand-name span:first-child { color: var(--pink); }
.footer-brand .brand-name span:last-child { color: var(--gold); }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #aaa; margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #aaa;
}
.footer-contact-item .ic { color: var(--pink); min-width: 16px; }
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: 13px; transition: var(--trans); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--trans);
}
.social-link:hover { transform: translateY(-4px); }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-link.facebook { background: #1877F2; color: #fff; }
.social-link.tiktok { background: #010101; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #bbb;
}
.footer-bottom a { color: #bbb; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 9999;
  transition: var(--trans);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.15); background: #1da851; color: #fff; box-shadow: 0 6px 25px rgba(37,211,102,.6); }
.whatsapp-float-label {
  position: absolute;
  right: 68px;
  background: #fff;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--trans);
}
.whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translateX(0); }

/* ---- Toast Notifications ---- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 16px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  border-left: 4px solid var(--pink);
  min-width: 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn .3s ease;
  font-size: 14px;
  font-weight: 500;
}
.toast.success { border-color: #43a047; }
.toast.error { border-color: #e53935; }
.toast.info { border-color: #1976d2; }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
.toast.removing { animation: slideOut .3s ease forwards; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; margin-top: 40px; }
.pagination ul { display: flex; gap: 8px; }
.pagination li a, .pagination li.active a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: var(--trans);
}
.pagination li:hover a, .pagination li.active a {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

/* ---- Empty States ---- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.empty-state p { margin-bottom: 24px; }

/* ---- Filter Sidebar ---- */
.listing-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  padding: 24px 0;
}
.filter-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 90px;
}
/* Filtre başlık satırı */
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  cursor: default;
  user-select: none;
}
.filter-header h4 { margin: 0; border: none; padding: 0; }

/* Filtre chevron ikonu — masaüstünde gizli */
.filter-toggle-icon { display: none; font-size: 15px; color: var(--pink); }

/* Filtre içerik body */
.filter-body { display: block; }
.filter-body-closed { display: none !important; }

.filter-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}

/* ---- Sidebar Kategori Listesi ---- */
.filter-cat-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 8px;
}

/* Kategori satır kapsayıcısı */
.fcat-wrap { margin-bottom: 3px; }

/* Satır: link + toggle butonu yan yana */
.fcat-row {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

/* Toggle (ok) butonu */
.fcat-toggle {
  flex-shrink: 0;
  width: 34px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s;
  touch-action: manipulation; /* mobilde 300ms gecikme olmadan tıklasın */
}
.fcat-toggle:hover  { background: var(--pink-light); color: var(--pink); }
.fcat-toggle.open   { background: var(--pink-light); color: var(--pink); }
.fcat-toggle i      { font-size: 11px; pointer-events: none; }

/* Küçük toggle (level-2 için) */
.fcat-toggle-sm { width: 28px; min-height: 32px; }
.fcat-toggle-sm i { font-size: 9px; }

/* Alt kategori grubu (accordion içeriği) */
.fcat-sub {
  margin: 2px 0 4px 10px;
  padding-left: 10px;
  border-left: 2px solid var(--pink-light);
  overflow: hidden;
}

/* Ana kategori satırı */
.filter-cat-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #f9f9f9;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
  cursor: pointer;
  min-height: 36px;
}
/* Eğer toggle yoksa tam köşe */
.fcat-row:not(:has(.fcat-toggle)) .filter-cat-item {
  border-radius: var(--radius-sm);
}
.filter-cat-item:hover   { background: var(--pink-light); color: var(--pink); border-left-color: var(--pink); }
.filter-cat-item.active  { background: var(--pink); color: #fff; border-left-color: var(--pink-dark); font-weight: 700; }
.filter-cat-item.active:hover { background: var(--pink-dark); color: #fff; }
.filter-cat-item.parent-open  { background: var(--pink-light); color: var(--pink); border-left-color: var(--pink); }

/* Alt kategori satırı */
.filter-cat-child {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
  min-height: 32px;
}
.fcat-row:not(:has(.fcat-toggle)) .filter-cat-child { border-radius: var(--radius-sm); }
.filter-cat-child:hover  { background: var(--pink-light); color: var(--pink); }
.filter-cat-child.active { color: var(--pink); font-weight: 700; background: var(--pink-light); }
.filter-cat-child.parent-open { color: var(--pink); background: var(--pink-light); }
.filter-cat-child i      { font-size: 9px; opacity: .45; flex-shrink: 0; }

/* Mobil dokunma alanını büyüt */
@media (max-width: 768px) {
  .fcat-toggle       { width: 44px; min-height: 44px; }
  .fcat-toggle-sm    { width: 38px; min-height: 40px; }
  .filter-cat-item   { min-height: 44px; font-size: 14px; }
  .filter-cat-child  { min-height: 40px; font-size: 13px; }
}
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; cursor: pointer; }
.filter-check input { accent-color: var(--pink); }
.price-range { display: flex; gap: 6px; align-items: center; width: 100%; }
.price-range input { flex: 1; min-width: 0; width: 0; padding: 7px 8px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; outline: none; }
.price-range input:focus { border-color: var(--pink); }
.listing-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.listing-controls .result-count { font-size: 14px; color: var(--text-muted); }
.sort-select {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--pink); }

/* ---- Mobile Menu ---- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9000;
}
.mobile-nav.open { display: flex; }
.mobile-nav-inner {
  width: 85%;
  max-width: 320px;
  background: #fff;
  height: 100%;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
}
.mobile-nav-header .close-btn { background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }
.mobile-nav-logo { display: flex; align-items: center; text-decoration: none; background: #fff; border-radius: 10px; padding: 4px 10px; }
.mobile-nav-logo img { height: 38px; width: auto; object-fit: contain; display: block; }
/* ---- Mobil Menü — Modern Kart Yapısı ---- */
.mobile-nav-body {
  padding: 10px 0 20px;
}
.mobile-nav-body a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  margin: 0 10px 4px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  background: #f9f9f9;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.mobile-nav-body a:hover,
.mobile-nav-body a:active {
  background: var(--pink-light);
  color: var(--pink);
  border-left-color: var(--pink);
}
.mobile-nav-body a.active,
.mobile-home-btn.active {
  background: var(--pink-light);
  color: var(--pink);
  border-left-color: var(--pink);
  font-weight: 800;
}

/* Kullanıcı linkleri ile kategoriler arasındaki çizgi */
.mobile-nav-body hr {
  margin: 8px 10px;
  border: none;
  border-top: 2px solid var(--border);
}

/* Ana kategori genişletme butonu */
.mobile-nav-body .sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 20px);
  margin: 0 10px 4px;
  padding: 12px 15px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: left;
}
.mobile-nav-body .sub-toggle:hover {
  background: var(--pink-light);
  color: var(--pink);
  border-left-color: var(--pink);
}
.mobile-nav-body .sub-toggle i.fa-chevron-down {
  font-size: 11px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.mobile-nav-body .sub-toggle.open-state i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Alt kategoriler */
.mobile-sub {
  display: none;
  margin: 0 10px 4px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mobile-sub a {
  margin: 0;
  padding: 10px 15px 10px 26px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
  border-radius: 0;
  border-left: none;
  border-bottom: 1px solid #f5f5f5;
}
.mobile-sub a:last-child { border-bottom: none; }
.mobile-sub a:hover {
  background: var(--pink-light);
  color: var(--pink);
  padding-left: 30px;
}
.mobile-sub.open { display: block; }

/* ============================
   RESPONSIVE / MOBİL UYUMLU
   ============================ */

/* ---- Tablet Geniş (≤1024px) ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery .main-img { height: 320px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .listing-layout { grid-template-columns: 240px 1fr; }
}

/* ---- Tablet & Mobil (≤768px) ---- */
@media (max-width: 768px) {
  /* Ticker */
  .site-ticker { height: 52px; font-size: 16px; padding: 0 12px; }
  .top-bar-email { display: none; }

  /* Header */
  .header-inner { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .header-search { order: 3; max-width: 100%; flex: 0 0 100%; }
  .main-nav > .container > ul { display: none; }
  .mobile-menu-btn { display: flex; }
  .site-logo img { height: 44px; }
  .header-actions { gap: 4px; margin-left: auto; }
  .header-action-btn span { display: none; }
  .header-action-btn { padding: 10px 12px; font-size: 13px; min-width: 44px; min-height: 44px; justify-content: center; }
  .header-action-btn i { font-size: 20px; }

  /* Custom variant select — mobil */
  .custom-select-dropdown { max-height: 220px; }
  .cs-opt-name { font-size: 12px; }

  /* Alt banner — mobil */
  .full-width-banner img { height: 70px; }

  /* Genel layout */
  .listing-layout { grid-template-columns: 1fr; gap: 0; }
  .filter-box { position: static; border-radius: 0; margin: 0 -16px 16px; }
  .cart-layout { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  /* Footer: brand tam genişlik, diğer kolonlar 2'li yan yana */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }

  /* Filtre kutusu mobilde daraltılabilir */
  .filter-box        { padding: 14px 16px; border-radius: 10px; margin-bottom: 8px; }
  .filter-header     { cursor: pointer; margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
  .filter-header.open { padding-bottom: 10px; border-bottom: 2px solid var(--border); margin-bottom: 14px; }
  .filter-toggle-icon { display: flex; align-items: center; justify-content: center;
                        width: 32px; height: 32px; border-radius: 50%;
                        background: var(--pink-light); transition: transform .25s; }
  .filter-toggle-icon.filter-toggle-open { transform: rotate(180deg); }
  #productsStart { scroll-margin-top: 70px; }

  /* Ürün grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Listing controls */
  .listing-controls { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .listing-controls .result-count { font-size: 13px; flex: 1; min-width: 0; }
  .sort-select { font-size: 13px; padding: 7px 10px; }

  /* Slider */
  .slide img, .slide-placeholder { height: 200px !important; }
  .slide img { width: 100% !important; max-width: 100% !important; object-fit: cover !important; }
  .slide-placeholder h2 { font-size: 18px; }
  .slide-placeholder p { font-size: 13px; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Sepet tablosu */
  .cart-table table { font-size: 13px; }
  .cart-table .hide-mobile { display: none; }
  .cart-table td { padding: 10px 8px; }
  .cart-product-img { width: 54px; height: 54px; }
  .cart-qty-input { width: 52px; padding: 8px 4px; font-size: 16px; touch-action: manipulation; }
  .cart-remove-btn { font-size: 18px; padding: 8px; min-width: 36px; min-height: 36px; }
  .cart-summary { position: static; top: auto; }

  /* Sipariş / indirim kodu */
  .bank-info-box { padding: 12px; }
  .coupon-section { flex-wrap: wrap; }

  /* Ödeme sayfası */
  .checkout-layout { gap: 16px; }
  .checkout-card { padding: 18px 14px; margin-bottom: 12px; }
  .checkout-card h3 { font-size: 15px; }
  .step-num { width: 26px; height: 26px; font-size: 13px; }

  /* Ürün detay */
  .product-detail { gap: 20px; }
  .product-actions { flex-direction: column; gap: 10px; }
  .product-actions .btn { min-width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
  .product-info .price-main { font-size: 26px; }
  .product-info h1 { font-size: 22px; line-height: 1.3; }
  .product-gallery .main-img { height: 300px; }
  .product-gallery .thumbs { gap: 6px; }
  .product-gallery .thumb { width: 58px; height: 58px; }

  /* Tab butonları */
  .tab-btns { overflow-x: auto; -webkit-overflow-scrolling: touch; display: flex; scrollbar-width: none; padding-bottom: 4px; }
  .tab-btns::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; padding: 10px 16px; font-size: 13px; flex-shrink: 0; }

  /* Lightbox */
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 20px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 12px; padding: 8px 0; }

  /* Yorum formu */
  .review-form { padding: 14px; }

  /* Dashboard */
  .dashboard-stat { padding: 14px; }

  /* Section başlıkları */
  .section-title { margin-bottom: 18px; }
  .section-title h2 { font-size: 16px; padding-bottom: 8px; }
  .section-title h2::after { width: 36px; height: 2px; }
  .section-title p { font-size: 11px; margin-top: 6px; }
  .section-subtitle { font-size: 11px; }

  /* ---- Features Strip — kompakt ---- */
  .features-strip { padding: 8px 0; }
  .features-strip-inner { gap: 0; justify-content: space-between; }
  .feature-item {
    flex: 1 1 calc(50% - 8px);
    gap: 7px;
    font-size: 12px;
    padding: 7px 10px;
  }
  .feature-item i { font-size: 15px; }
  .feature-item strong { font-size: 12px; line-height: 1.2; }
  .feature-item small { font-size: 10px; opacity: .9; }

  /* ---- Siparişler tablosu — kart görünümü ---- */
  .orders-table { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .orders-table table { display: block; }
  .orders-table thead { display: none; }
  .orders-table tbody { display: block; }
  .orders-table tr {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .orders-table tr:last-child { margin-bottom: 0; }
  .orders-table tr:hover td { background: transparent; }
  .orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    gap: 8px;
  }
  .orders-table td:last-child { border-bottom: none; padding-bottom: 2px; }
  .orders-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
    min-width: 78px;
  }
  .orders-table td[data-label="İşlem"] {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    padding-top: 10px;
  }
  .orders-table td[data-label="İşlem"]::before { flex: 0 0 100%; margin-bottom: 2px; }

  /* ---- Sidebar — mobil kompakt ---- */
  .sidebar { padding: 14px 12px; }
  .sidebar .user-avatar { width: 54px; height: 54px; font-size: 22px; margin-bottom: 10px; }
  .sidebar .user-name { font-size: 14px; }
  .sidebar .user-email { font-size: 11px; margin-bottom: 14px; }
  .sidebar-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .sidebar-nav a { padding: 10px 8px; font-size: 12px; margin-bottom: 0; gap: 6px; justify-content: center; text-align: center; flex-direction: column; }
  .sidebar-nav a i { font-size: 16px; }
  .dashboard-grid { padding: 20px 0; gap: 16px; }

  /* ---- İade kartı üst satır — mobil ---- */
  .return-card-top { flex-wrap: wrap; gap: 8px; }
}

/* ---- Küçük Mobil (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 10px; }

  /* Ticker */
  .site-ticker { height: 46px; font-size: 13px; padding: 0 10px; }

  /* Header arama */
  .header-search input { font-size: 14px; padding: 10px 40px 10px 14px; }

  /* Ürün grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card .img-wrap { height: 145px; }
  .product-card-body { padding: 8px 10px 10px; }
  .product-card-name { font-size: 13px; -webkit-line-clamp: 2; }
  .product-card-price { font-size: 14px; }
  .product-card .btn { padding: 8px; font-size: 12px; border-radius: 8px; }
  .product-card .cat-label { font-size: 10px; }

  /* Section */
  .section { padding: 20px 0; }
  .section-title { margin-bottom: 14px; }
  .section-title h2 { font-size: 15px; padding-bottom: 7px; }
  .section-title h2::after { width: 30px; }
  .section-title p { font-size: 10px; margin-top: 4px; }

  /* Form kartı */
  .form-card { padding: 18px 14px; margin: 12px auto; border-radius: 12px; }
  .form-card h2 { font-size: 20px; }
  .form-group { margin-bottom: 14px; }
  .form-control { padding: 11px 14px; font-size: 15px; }
  .btn-lg { padding: 14px; font-size: 15px; }

  /* Kategori grid */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card .cat-img,
  .category-card .cat-img-placeholder { height: 85px; }
  .category-card .cat-name { font-size: 11px; padding: 6px 4px; }

  /* Ürün detay */
  .product-gallery .main-img { height: 260px; }
  .product-info .price-main { font-size: 24px; }
  .product-info h1 { font-size: 19px; }
  .share-section { flex-wrap: wrap; gap: 8px; }
  .product-meta { font-size: 13px; }

  /* Checkout */
  .checkout-card { padding: 14px 12px; }
  .form-grid { gap: 10px; }
  .payment-method-card { padding: 12px; }

  /* Sepet */
  .cart-product-img { width: 48px; height: 48px; border-radius: 8px; }
  .cart-product-name { font-size: 13px; }
  .cart-summary { padding: 14px; }
  .summary-row { font-size: 14px; }
  .summary-row.total { font-size: 17px; }

  /* Lightbox */
  .lightbox-img { border-radius: 6px; max-width: 97vw; }
  .lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 16px; }
  .lightbox-counter { font-size: 12px; bottom: 16px; }

  /* WhatsApp float */
  .whatsapp-float { padding: 13px; border-radius: 50%; bottom: 16px; right: 14px; }
  .whatsapp-float-label { display: none; }
  .whatsapp-float i { font-size: 22px; }

  /* Profil */
  .order-card { padding: 12px; }
  .order-card-header { flex-wrap: wrap; gap: 6px; }

  /* Slider */
  .slide img, .slide-placeholder { height: 165px !important; }
  .slide img { width: 100% !important; max-width: 100% !important; object-fit: cover !important; }
  .slide-placeholder h2 { font-size: 15px; }
  .slide-placeholder p { display: none; }
  .slide-placeholder .btn { padding: 8px 16px; font-size: 12px; }

  /* Footer 2 kolon koru */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 14px; margin-bottom: 10px; }
  .footer-col ul li a { font-size: 12px; }

  /* Mobile nav touch hedefleri */
  .mobile-nav-body a { min-height: 46px; }
  .mobile-nav-body .sub-toggle { min-height: 46px; }
  .mobile-sub a { min-height: 42px; }

  /* Features strip — çok küçük */
  .features-strip { padding: 6px 0; }
  .feature-item { padding: 5px 8px; gap: 5px; font-size: 11px; }
  .feature-item i { font-size: 13px; }
  .feature-item strong { font-size: 11px; }
  .feature-item small { font-size: 9px; }

  /* Siparişler — küçük ekran ayarı */
  .orders-table td::before { min-width: 68px; font-size: 10px; }
  .orders-table td { font-size: 12px; padding: 7px 0; }

  /* Sidebar — çok küçük ekran */
  .sidebar-nav a { font-size: 11px; padding: 9px 6px; gap: 4px; }
  .sidebar-nav a i { font-size: 14px; }
}

/* ---- Çok Küçük (≤360px) ---- */
@media (max-width: 360px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .product-card .img-wrap { height: 120px; }
  .product-card-body { padding: 6px 8px 8px; }
  .product-card-name { font-size: 12px; }
  .header-action-btn { padding: 8px; min-width: 40px; }
  .site-ticker { font-size: 12px; height: 40px; }
  .form-card { padding: 14px 10px; }
  .cart-table table { font-size: 11px; }
  .cart-product-img { width: 40px; height: 40px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .category-card .cat-img,
  .category-card .cat-img-placeholder { height: 80px; }
  .listing-controls { padding: 8px 10px; }
  .sort-select { font-size: 12px; padding: 6px 8px; }
  /* Footer en küçük ekranda da 2 kolon */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- Ana Sayfa Kategori Grid — Responsive ---- */

/* Orta masaüstü / geniş tablet (≤1200px): hâlâ 7 kolon */
@media (max-width: 1200px) {
  .home-cats-grid { gap: 10px; }
}

/* Tablet (≤900px): 5 kolon */
@media (max-width: 900px) {
  .home-cats-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .home-cat-name { font-size: 11px; padding: 7px 4px; }
}

/* Tablet dikey / büyük mobil (≤768px): 3 kolon */
@media (max-width: 768px) {
  .home-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .home-cat-name { font-size: 11px; padding: 7px 4px; }
}

/* Küçük mobil (≤480px): 3 kolon */
@media (max-width: 480px) {
  .home-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .home-cat-name { font-size: 10px; padding: 6px 3px; }
  .home-cat-no-img { font-size: 28px; }
}

/* Çok küçük (≤360px): 3 kolon */
@media (max-width: 360px) {
  .home-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .home-cat-name { font-size: 9px; padding: 5px 2px; }
}

/* ---- Print (Kargo Etiketi) ---- */
@media print {
  body * { visibility: hidden; }
  .cargo-label, .cargo-label * { visibility: visible; }
  .cargo-label {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 30px;
  }
}
