/* ============================================
   E-TİCARET SİTESİ - ANA STİL DOSYASI
   frontend/css/style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --renk-birincil:   #1a1a2e;
  --renk-ikincil:    #16213e;
  --renk-vurgu:      #e94560;
  --renk-altin:      #f5a623;
  --renk-acik:       #f8f8f5;
  --renk-gri:        #6b7280;
  --renk-sinir:      #e5e7eb;
  --renk-basari:     #10b981;
  --font-baslik:     'Playfair Display', serif;
  --font-govde:      'DM Sans', sans-serif;
  --gecis:           0.25s ease;
  --golge:           0 4px 20px rgba(0,0,0,0.08);
  --golge-buyuk:     0 10px 40px rgba(0,0,0,0.12);
  --radius:          12px;
  --radius-kucuk:    8px;
}

/* ── SİSTEM TEMALARI ── */
body.tema-klasik {
  --renk-birincil:   #1a1a2e;
  --renk-ikincil:    #16213e;
  --renk-vurgu:      #e94560;
  --renk-altin:      #f5a623;
  --renk-acik:       #f8f8f5;
  --renk-gri:        #6b7280;
  --renk-sinir:      #e5e7eb;
}

body.tema-karanlik {
  --renk-birincil:   #0f172a; /* Slate 900 */
  --renk-ikincil:    #1e293b; /* Slate 800 */
  --renk-vurgu:      #3b82f6; /* Blue 500 */
  --renk-altin:      #fbbf24; /* Amber 400 */
  --renk-acik:       #090d16; /* Very Dark Slate */
  --renk-gri:        #94a3b8; /* Slate 400 */
  --renk-sinir:      #334155; /* Slate 700 */
}

/* Karanlık Tema için Ek Uyarlamalar */
body.tema-karanlik .test-uyari-bar {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  color: #94a3b8;
}
body.tema-karanlik .header {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid #1e293b;
}
body.tema-karanlik .header-nav {
  background: #1e293b;
}
body.tema-karanlik .bolum-baslik h2, 
body.tema-karanlik .kategori-kart h3,
body.tema-karanlik .urun-kart .urun-bilgi h3,
body.tema-karanlik .urun-kart .urun-bilgi .fiyat {
  color: #f8fafc;
}
body.tema-karanlik .urun-kart {
  background: #0f172a;
  border-color: #1e293b;
}
body.tema-karanlik .urun-kart:hover {
  border-color: #3b82f6;
  box-shadow: 0 10px 30px rgba(59,130,246,0.15);
}
body.tema-karanlik .kategori-kart {
  background: #0f172a;
  border-color: #1e293b;
}
body.tema-karanlik .kategori-kart:hover {
  background: #1e293b;
  border-color: #3b82f6;
}
body.tema-karanlik .footer {
  background: #090d16;
  border-top: 1px solid #1e293b;
}

body.tema-zumrut {
  --renk-birincil:   #064e3b; /* Emerald 900 */
  --renk-ikincil:    #0f766e; /* Teal 700 */
  --renk-vurgu:      #10b981; /* Emerald 500 */
  --renk-altin:      #f5a623;
  --renk-acik:       #f0fdf4; /* Emerald 50 */
  --renk-gri:        #4b5563; /* Gray 600 */
  --renk-sinir:      #d1fae5; /* Emerald 100 */
}

body.tema-geceyarisi {
  --renk-birincil:   #2e1065; /* Violet 950 */
  --renk-ikincil:    #4c1d95; /* Violet 900 */
  --renk-vurgu:      #fbbf24; /* Amber 400 */
  --renk-altin:      #f5a623;
  --renk-acik:       #faf5ff; /* Violet 50 */
  --renk-gri:        #6b7280;
  --renk-sinir:      #f3e8ff; /* Violet 100 */
}
body.tema-geceyarisi .header {
  color: #fff;
}
body.tema-geceyarisi .header-nav {
  background: #4c1d95;
}

body.tema-gul {
  --renk-birincil:   #4c0519; /* Rose 950 */
  --renk-ikincil:    #881337; /* Rose 900 */
  --renk-vurgu:      #f43f5e; /* Rose 500 */
  --renk-altin:      #fbbf24;
  --renk-acik:       #fff1f2; /* Rose 50 */
  --renk-gri:        #6b7280;
  --renk-sinir:      #ffe4e6; /* Rose 100 */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-govde);
  background: var(--renk-acik);
  color: var(--renk-birincil);
  line-height: 1.6;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CONTAINER ───────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER ──────────────────────────────────────── */
.header {
  background: var(--renk-birincil);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-ust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  font-family: var(--font-baslik);
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span { color: var(--renk-vurgu); }

.arama-kutu {
  flex: 1;
  display: flex;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  overflow: hidden;
  transition: border-color var(--gecis);
}
.arama-kutu:focus-within { border-color: var(--renk-vurgu); }
.arama-kutu input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 20px;
  color: #fff;
  font-family: var(--font-govde);
  font-size: 14px;
}
.arama-kutu input::placeholder { color: rgba(255,255,255,0.45); }
.arama-kutu button {
  background: var(--renk-vurgu);
  border: none;
  padding: 0 22px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--gecis);
}
.arama-kutu button:hover { background: #c73652; }

.header-aksiyonlar { display: flex; align-items: center; gap: 8px; }

.btn-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-govde);
  font-size: 13px;
  transition: all var(--gecis);
}
.btn-header:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.btn-header .rozet {
  background: var(--renk-vurgu);
  color: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
}

/* NAV */
.header-nav { background: var(--renk-ikincil); }
.nav-listesi {
  display: flex;
  gap: 4px;
  padding: 0;
}
.nav-listesi a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: all var(--gecis);
}
.nav-listesi a:hover,
.nav-listesi a.aktif { color: #fff; background: rgba(255,255,255,0.1); }

/* ── TEST UYARI BAR ── */
.test-uyari-bar {
  background: var(--renk-vurgu);
  color: #fff;
  text-align: center;
}
/* ── HERO SLIDER ──────────────────────────────────── */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: visible;
  background: transparent;
  padding: 0 20px;
  box-sizing: border-box;
}
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 480px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--golge-buyuk);
}
.slider-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Bölünmüş Slider Izgarası */
.slide-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  height: 100%;
  width: 100%;
  z-index: 2;
  position: relative;
}

.slide-content {
  position: relative;
  max-width: 650px;
  animation: slideInContent 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  animation: slideInMedia 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.media-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  animation: pulseGlow 6s ease-in-out infinite;
}

.floating-image {
  position: relative;
  max-height: 300px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,0.35));
  animation: floatImg 5s ease-in-out infinite;
}

.slide-svg {
  position: relative;
  width: 250px;
  height: 250px;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
  animation: floatImg 5s ease-in-out infinite;
}

/* Kupon Kopyalama Rozeti */
.kupon-kopyala-etiket {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.kupon-kopyala-etiket:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.kupon-kopyala-etiket.kopyalandi {
  background: var(--renk-basari);
  border-color: var(--renk-basari);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  animation: pulseSuccess 0.4s ease;
}
.kupon-kod {
  font-family: monospace;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--renk-altin);
}
.kupon-kopyala-etiket.kopyalandi .kupon-kod {
  color: #fff;
}
.kupon-islem {
  font-size: 12px;
  opacity: 0.85;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Animasyon Tanımları */
@keyframes slideInContent {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInMedia {
  from { opacity: 0; transform: translateX(30px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 0.9; }
}
@keyframes pulseSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-etiket {
  display: inline-block;
  background: var(--renk-vurgu);
  padding: 5px 14px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.slide h1 {
  font-family: var(--font-baslik);
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.slide p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 580px;
}
.hero-butonlar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Navigasyon Okları */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.slider-nav svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-nav:hover {
  background: var(--renk-vurgu);
  border-color: var(--renk-vurgu);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }
.slider-nav.prev:hover svg {
  transform: translateX(-2px);
}
.slider-nav.next:hover svg {
  transform: translateX(2px);
}

/* Nokta Göstergeleri (Dots) */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0,0,0,0.18);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.slider-dots .dot.aktif {
  width: 24px;
  background: var(--renk-vurgu);
}

/* Slider Mobil Uyumluluk */
@media (max-width: 1024px) {
  .hero-slider { height: 440px; }
  .slide-grid { gap: 24px; }
  .floating-image { max-height: 240px; }
  .slide-svg { width: 200px; height: 200px; }
  .media-glow { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  .hero-slider-section { padding: 0 16px; }
  .hero-slider { height: 500px; border-radius: 20px; }
  .slide-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    justify-items: center;
    align-content: center;
    padding-top: 30px;
    padding-bottom: 40px;
    gap: 20px;
  }
  .slide-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-butonlar {
    justify-content: center;
  }
  .slide-media {
    grid-row: 1; /* Mobilde görsel üstte, metin altta */
    height: 160px;
  }
  .floating-image {
    max-height: 150px;
  }
  .slide-svg {
    width: 140px;
    height: 140px;
  }
  .media-glow {
    width: 180px;
    height: 180px;
    filter: blur(40px);
  }
  .slider-nav { width: 38px; height: 38px; }
  .slider-nav svg { width: 16px; height: 16px; }
  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }
}

@media (max-width: 480px) {
  .hero-slider-section { padding: 0 12px; }
  .hero-slider { height: 460px; border-radius: 16px; }
  .slide-grid { padding-top: 20px; padding-bottom: 35px; gap: 16px; }
  .slide-media { height: 120px; }
  .floating-image { max-height: 110px; }
  .slide-svg { width: 110px; height: 110px; }
  .slide h1 { font-size: 24px; margin-bottom: 12px; }
  .slide p { font-size: 13px; margin-bottom: 20px; max-width: 90%; }
  .hero-butonlar { gap: 10px; }
  .hero-butonlar .btn { padding: 10px 20px; font-size: 13px; }
  .slider-dots { bottom: 14px; padding: 4px 10px; }
}

/* ── BUTONLAR ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-family: var(--font-govde);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--gecis);
}
.btn-birincil { background: var(--renk-vurgu); color: #fff; }
.btn-birincil:hover { background: #c73652; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,69,96,0.4); }
.btn-ikincil { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ikincil:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline { background: transparent; color: var(--renk-birincil); border-color: var(--renk-sinir); }
.btn-outline:hover { border-color: var(--renk-birincil); }
.btn-tam { width: 100%; justify-content: center; }

/* ── KATEGORİ KARTLARI ───────────────────────────── */
.bolum { padding: 60px 0; }
.bolum-baslik {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.bolum-baslik h2 {
  font-family: var(--font-baslik);
  font-size: 30px;
}
.bolum-baslik a { font-size: 14px; color: var(--renk-vurgu); font-weight: 500; }

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.kategori-kart {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--renk-sinir);
  cursor: pointer;
  transition: all var(--gecis);
}
.kategori-kart:hover {
  transform: translateY(-4px);
  box-shadow: var(--golge-buyuk);
  border-color: var(--renk-vurgu);
}
.kategori-kart .ikon { font-size: 36px; margin-bottom: 12px; }
.kategori-kart h3 { font-size: 14px; font-weight: 600; }
.kategori-kart span { font-size: 12px; color: var(--renk-gri); }

/* ── ÜRÜN KARTLARI ───────────────────────────────── */
.urun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.urun-kart {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--renk-sinir);
  transition: all var(--gecis);
  position: relative;
}
.urun-kart:hover {
  transform: translateY(-5px);
  box-shadow: var(--golge-buyuk);
}

.urun-resim {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3f4f6;
}
.urun-resim img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.urun-kart:hover .urun-resim img { transform: scale(1.06); }

.urun-rozet {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--renk-vurgu);
  color: #fff;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
}
.urun-rozet.yeni { background: var(--renk-basari); }

.urun-favori {
  position: absolute;
  top: 12px; right: 12px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform var(--gecis);
}
.urun-favori:hover { transform: scale(1.15); }

.urun-bilgi { padding: 16px; }
.urun-marka { font-size: 11px; color: var(--renk-gri); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.urun-adi { font-size: 14px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.urun-fiyat { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fiyat-indirimli { font-size: 20px; font-weight: 700; color: var(--renk-vurgu); }
.fiyat-eski { font-size: 13px; color: var(--renk-gri); text-decoration: line-through; }
.fiyat-normal { font-size: 20px; font-weight: 700; }

.urun-satici-bilgi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--renk-gri);
  margin-bottom: 14px;
  background: rgba(22, 33, 62, 0.03);
  padding: 6px 10px;
  border-radius: 6px;
  width: fit-content;
  border: 1px dashed rgba(22, 33, 62, 0.08);
}
.urun-satici-ikon {
  font-size: 13px;
}
.urun-satici-adi {
  font-weight: 600;
  color: var(--renk-vurgu);
}

.urun-sepet {
  width: 100%;
  padding: 10px;
  background: var(--renk-birincil);
  color: #fff;
  border: none;
  border-radius: var(--radius-kucuk);
  font-family: var(--font-govde);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--gecis);
}
.urun-sepet:hover { background: var(--renk-vurgu); }

/* ── SAYFALAMA ────────────────────────────────────── */
.sayfalama {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.sayfa-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius-kucuk);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--gecis);
}
.sayfa-btn:hover, .sayfa-btn.aktif {
  background: var(--renk-birincil);
  color: #fff;
  border-color: var(--renk-birincil);
}

/* ── SEPET PANEL ─────────────────────────────────── */
.sepet-panel {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  z-index: 2000;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.sepet-panel.acik { transform: translateX(0); }

.sepet-baslik {
  padding: 20px 24px;
  border-bottom: 1px solid var(--renk-sinir);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sepet-baslik h3 { font-size: 18px; font-weight: 700; }
.sepet-kapat {
  background: none; border: none; font-size: 22px; cursor: pointer;
  color: var(--renk-gri);
}

.sepet-liste { flex: 1; overflow-y: auto; padding: 16px 24px; }

.sepet-kalem {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--renk-sinir);
}
.sepet-kalem img {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: var(--radius-kucuk);
  background: #f3f4f6;
}
.sepet-kalem-bilgi { flex: 1; }
.sepet-kalem-adi { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sepet-kalem-fiyat { font-size: 15px; font-weight: 700; color: var(--renk-vurgu); }
.adet-kontrol {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.adet-kontrol button {
  width: 28px; height: 28px;
  background: var(--renk-acik);
  border: 1px solid var(--renk-sinir);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.adet-kontrol span { font-weight: 600; font-size: 14px; min-width: 24px; text-align: center; }

.sepet-sil-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--renk-gri);
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--gecis);
  align-self: flex-start;
  margin-top: 4px;
}
.sepet-sil-btn:hover {
  color: var(--renk-vurgu);
  background: rgba(233, 69, 96, 0.08);
}
.sepet-kontroller {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--renk-sinir);
  margin-bottom: 12px;
}
.btn-sepet-kontrol {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all var(--gecis);
}
.btn-sepet-kontrol.temizle-btn {
  color: var(--renk-vurgu);
}
.btn-sepet-kontrol.temizle-btn:hover {
  background: rgba(233, 69, 96, 0.06);
}
.btn-sepet-kontrol.geri-getir-btn {
  color: var(--renk-basari);
}
.btn-sepet-kontrol.geri-getir-btn:hover {
  background: rgba(16, 185, 129, 0.06);
}

.sepet-alt {
  padding: 20px 24px;
  border-top: 1px solid var(--renk-sinir);
  background: #fafaf8;
}
.sepet-toplam-satir {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}
.sepet-toplam-satir.buyuk {
  font-size: 18px;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--renk-sinir);
  margin-top: 6px;
}

/* ── MODAL ────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--gecis);
  overflow-y: auto;
}
.modal.aktif { 
  opacity: 1; 
  pointer-events: all; 
}
.modal-icerik {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--golge-buyuk);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--gecis);
}
.modal.aktif .modal-icerik {
  transform: scale(1);
}
.modal-kapat {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--renk-gri);
  transition: color var(--gecis);
}
.modal-kapat:hover {
  color: var(--renk-vurgu);
}

.modal-alt-bilgi {
  text-align: center;
  font-size: 15px; /* Increased from 13px */
  margin-top: 18px;
  color: var(--renk-gri);
}
.modal-alt-bilgi a {
  color: var(--renk-vurgu);
  font-weight: 600;
  margin-left: 4px;
  transition: opacity var(--gecis);
}
.modal-alt-bilgi a:hover {
  opacity: 0.85;
}


/* OVERLAY BACKDROP BLUR */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--gecis);
}

/* FORM */
.form-grup { margin-bottom: 18px; }
.form-grup label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--renk-birincil); }
.form-grup input, .form-grup select, .form-grup textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius-kucuk);
  font-family: var(--font-govde);
  font-size: 14px;
  transition: all var(--gecis);
  outline: none;
  background: #fff;
}
.form-grup input:focus, .form-grup select:focus, .form-grup textarea:focus {
  border-color: var(--renk-vurgu);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.12);
  background: #fff;
}
.form-satir { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── BİLDİRİM ─────────────────────────────────────── */
.bildirim-container { position: fixed; bottom: 24px; right: 24px; z-index: 5000; display: flex; flex-direction: column; gap: 10px; }
.bildirim {
  background: var(--renk-birincil);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-kucuk);
  font-size: 14px;
  box-shadow: var(--golge-buyuk);
  animation: bildirimGir 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
}
.bildirim.basari { background: var(--renk-basari); }
.bildirim.hata   { background: var(--renk-vurgu); }
@keyframes bildirimGir { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ── FOOTER ───────────────────────────────────────── */
.footer { background: var(--renk-birincil); color: rgba(255,255,255,0.7); margin-top: 80px; }
.footer-ust {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { font-family: var(--font-baslik); font-size: 24px; color: #fff; margin-bottom: 16px; }
.footer-logo span { color: var(--renk-vurgu); }
.footer-aciklama { font-size: 14px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; transition: color var(--gecis); }
.footer ul li a:hover { color: #fff; }
.footer-alt { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; }

/* ── RESPONSIVE ──────────────────────────────────── */

/* KAMPANYA BANNER DEFAULTS */
.kampanya-banner {
  background: var(--renk-birincil);
  padding: 48px 0;
}
.kampanya-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.kampanya-icerik {
  color: #fff;
}
.kampanya-etiket {
  color: var(--renk-vurgu);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.kampanya-icerik h2 {
  font-family: var(--font-baslik);
  font-size: 32px;
  margin-bottom: 8px;
}
.kampanya-aciklama {
  opacity: 0.7;
}
.kampanya-btn {
  white-space: nowrap;
}

/* MOBİL FİLTRE BUTONU DEFAULTS */
.mobil-filtre-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .header-ust { 
    flex-wrap: wrap; 
    gap: 16px;
    padding: 10px 0;
  }
  .arama-kutu { 
    order: 3; 
    flex: 0 0 100%; 
  }
  .header-aksiyonlar {
    margin-left: auto;
  }
  .nav-listesi {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
  }
  .nav-listesi::-webkit-scrollbar {
    display: none;
  }
  .nav-listesi li {
    display: inline-block;
    flex: 0 0 auto;
  }
  .urun-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
  }
  .footer-ust { 
    grid-template-columns: 1fr 1fr; 
    gap: 24px;
    padding: 40px 0;
  }
  .hero { 
    padding: 48px 0; 
  }
  .hero-icerik {
    text-align: center;
    margin: 0 auto;
  }
  .hero-butonlar {
    justify-content: center;
  }
  .sepet-panel { 
    width: 100%; 
  }
  
  /* Filtre Paneli Mobilde Gizle / Toggle Yap */
  .filtre-panel {
    display: none;
    position: static;
    margin-bottom: 24px;
    width: 100%;
  }
  .filtre-panel.acik {
    display: block !important;
  }
  .mobil-filtre-btn {
    display: inline-flex !important;
  }
  
  /* Kampanya Banner Mobilde Ortala */
  .kampanya-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .kampanya-icerik h2 {
    font-size: 26px;
  }
  .kampanya-btn {
    width: 100%;
    justify-content: center;
  }
  .tab-paneller {
    padding: 16px;
  }
}

@media (max-width: 600px) {
  /* Header aksiyon metinlerini gizle */
  .btn-header .btn-text {
    display: none;
  }
  #admin-btn .btn-text {
    display: inline !important;
  }
  .btn-header {
    padding: 9px 12px;
    gap: 3px;
  }
  
  /* Ürün Kartı Mobilde Optimize Et */
  .urun-bilgi {
    padding: 10px;
  }
  .urun-adi {
    font-size: 13px;
    margin-bottom: 8px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .urun-sepet {
    padding: 8px;
    font-size: 12px;
  }
  .fiyat-indirimli, .fiyat-normal {
    font-size: 16px;
  }
  .fiyat-eski {
    font-size: 11px;
  }
  .ozellik-tablo td.baslik {
    width: 35%;
    min-width: 100px;
    padding: 8px 10px;
  }
  .ozellik-tablo td.deger {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .urun-grid { 
    grid-template-columns: 1fr; 
  }
  .footer-ust { 
    grid-template-columns: 1fr; 
  }
  .kategori-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
  }
  .modal {
    align-items: flex-start;
    padding: 16px 12px 30px;
  }
  .modal-icerik { 
    padding: 28px 18px 24px;
    max-height: none;
  }
  .hero-butonlar {
    flex-direction: column;
    width: 100%;
  }
  .hero-butonlar .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Sıralama çubuğu ve filtre butonunu mobilde alt alta al */
  .sirala-bar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .mobil-filtre-btn {
    width: 100%;
    justify-content: center;
  }
  .sirala-bar select {
    width: 100%;
  }
}

/* ── ÖDEME SAYFASI STİLLERİ ──────────────────────── */
.odeme-baslik-alan {
  margin-bottom: 32px;
}
.odeme-baslik-alan h1 {
  font-family: var(--font-baslik);
  font-size: 32px;
  margin-bottom: 8px;
}
.odeme-baslik-alan p {
  color: var(--renk-gri);
  font-size: 15px;
}

.odeme-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.odeme-sol {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.odeme-kart-blok {
  background: #fff;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 32px;
}

.seksiyon-baslik {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--renk-birincil);
}
.seksiyon-baslik span {
  width: 28px;
  height: 28px;
  background: var(--renk-vurgu);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* Yöntem Seçim Kartları */
.yontem-kartlari {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.yontem-kart {
  border: 2px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--gecis);
  background: #fff;
}
.yontem-kart:hover {
  border-color: rgba(233, 69, 96, 0.4);
  transform: translateY(-2px);
}
.yontem-kart.secili {
  border-color: var(--renk-vurgu);
  background: rgba(233, 69, 96, 0.03);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.08);
}
.yontem-ikon {
  font-size: 32px;
  margin-bottom: 12px;
}
.yontem-kart h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.yontem-kart p {
  font-size: 11px;
  color: var(--renk-gri);
}

/* Yöntem Detay Panelleri */
.yontem-detay-panel {
  display: none;
  animation: panelGir 0.3s ease;
  border-top: 1px solid var(--renk-sinir);
  padding-top: 24px;
}
.yontem-detay-panel.aktif {
  display: block;
}
@keyframes panelGir {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* 3D Kredi Kartı Mockup */
.kredi-karti-mockup-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 24px;
}
.kredi-karti-mockup {
  width: 100%;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.kredi-karti-mockup.dondur {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-front {
  background: linear-gradient(135deg, #1f1f3a 0%, #3e1b3c 100%);
  z-index: 2;
}

.card-back {
  background: linear-gradient(135deg, #3e1b3c 0%, #1f1f3a 100%);
  transform: rotateY(180deg);
  padding: 24px 0;
  justify-content: flex-start;
}

.card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #f5a623 0%, #f1c40f 100%);
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.4);
}
.card-vendor-logo {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.card-number {
  font-size: 20px;
  letter-spacing: 2px;
  font-family: monospace;
  text-align: center;
  margin: 16px 0;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
}
.card-label {
  display: block;
  font-size: 9px;
  opacity: 0.6;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}
.card-val {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

.card-magnetic-stripe {
  height: 40px;
  background: #000;
  width: 100%;
  margin-bottom: 20px;
}
.card-sig-line {
  background: #fff;
  height: 36px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
}
.card-sig-val {
  color: #000;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
}
.card-back-text {
  font-size: 8px;
  opacity: 0.5;
  text-align: center;
  margin-top: auto;
  padding: 0 20px;
}

.card-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}
.guvenli-alt-yazi {
  text-align: center;
  font-size: 12px;
  color: var(--renk-gri);
  margin-top: 16px;
}

/* Havale ve Kapıda Ödeme Detayları */
.havale-bilgi-kutu, .kapida-bilgi-kutu {
  background: var(--renk-acik);
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius-kucuk);
  padding: 20px;
}
.havale-bilgi-kutu h4, .kapida-bilgi-kutu h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--renk-birincil);
  display: flex;
  align-items: center;
  gap: 8px;
}
.havale-bilgi-kutu p, .kapida-bilgi-kutu p {
  font-size: 13px;
  margin-bottom: 16px;
  color: var(--renk-gri);
}
.hesap-bilgi-satir {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--renk-sinir);
}
.hesap-bilgi-satir:last-child {
  border-bottom: none;
}
.banka-logo {
  font-weight: 700;
  font-size: 13px;
  color: var(--renk-birincil);
  width: 140px;
  flex-shrink: 0;
}
.hesap-bilgi-satir code {
  background: #eef2f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: var(--renk-birincil);
}
.kapida-bilgi-kutu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kapida-bilgi-kutu ul li {
  font-size: 13px;
  color: var(--renk-gri);
}

/* Sağ Kolon: Sepet Özeti */
.sepet-ozet-kutu {
  position: sticky;
  top: 90px;
}
.odeme-urunler-liste {
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 20px;
}
.odeme-urun-kalem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--renk-sinir);
}
.odeme-urun-resim {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}
.odeme-urun-ad {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.odeme-urun-adet {
  font-size: 11px;
  color: var(--renk-gri);
}
.odeme-urun-fiyat {
  font-size: 14px;
  font-weight: 700;
}
.ozet-toplamlar {
  border-top: 2px solid var(--renk-sinir);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sipariş Başarılı Kartı */
.siparis-basarili-kart {
  background: #fff;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: var(--golge-buyuk);
}
.basarili-ikon {
  font-size: 64px;
  margin-bottom: 24px;
}
.siparis-basarili-kart h2 {
  font-family: var(--font-baslik);
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--renk-birincil);
}
.siparis-no {
  font-size: 16px;
  color: var(--renk-gri);
  margin-bottom: 16px;
}
.siparis-no strong {
  color: var(--renk-vurgu);
  font-size: 18px;
}
.siparis-mesaj {
  font-size: 14px;
  color: var(--renk-gri);
  line-height: 1.7;
  margin-bottom: 24px;
}
.siparis-toplam-bilgi {
  background: var(--renk-acik);
  padding: 16px;
  border-radius: var(--radius-kucuk);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 32px;
}
.siparis-toplam-bilgi strong {
  color: var(--renk-vurgu);
  font-weight: 700;
}
.basarili-butonlar {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Animasyonlar */
.animate-success {
  animation: cardFadeUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 992px) {
  .odeme-layout {
    grid-template-columns: 1fr;
  }
  .sepet-ozet-kutu {
    position: static;
  }
}
@media (max-width: 576px) {
  .odeme-kart-blok {
    padding: 20px 16px;
  }
  .yontem-kartlari {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .basarili-butonlar {
    flex-direction: column;
  }
  .basarili-butonlar .btn {
    width: 100%;
    justify-content: center;
  }
  /* Form satırları mobilde alt alta */
  .form-satir { 
    grid-template-columns: 1fr; 
    gap: 0; 
  }
  /* Banka havalesi bilgileri mobilde alt alta */
  .hesap-bilgi-satir {
    flex-direction: column;
    gap: 8px;
  }
  .banka-logo {
    width: 100%;
  }
  .hesap-bilgi-satir code {
    word-break: break-all;
    white-space: normal;
    display: inline-block;
  }
}

/* ── PROFİL SAYFASI STİLLERİ ─────────────────────── */
.profil-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.profil-sol {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profil-kullanici-kart {
  background: #fff;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.profil-avatar {
  width: 80px;
  height: 80px;
  background: var(--renk-birincil);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(26,26,46,0.15);
}
.profil-kullanici-kart h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--renk-birincil);
}
.profil-kullanici-kart p {
  font-size: 13px;
  color: var(--renk-gri);
}

.profil-menu {
  background: #fff;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profil-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--renk-birincil);
  font-family: var(--font-govde);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  border-radius: var(--radius-kucuk);
  cursor: pointer;
  transition: all var(--gecis);
}
.profil-menu-link:hover {
  background: var(--renk-acik);
}
.profil-menu-link.aktif {
  background: var(--renk-vurgu);
  color: #fff;
}

.profil-sag {
  background: #fff;
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 480px;
}

.profil-panel {
  display: none;
  animation: panelGir 0.3s ease;
}
.profil-panel.aktif {
  display: block;
}

.profil-kart-baslik {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--renk-sinir);
  padding-bottom: 16px;
}
.profil-kart-baslik h2 {
  font-family: var(--font-baslik);
  font-size: 26px;
  color: var(--renk-birincil);
  margin-bottom: 4px;
}
.profil-kart-baslik p {
  font-size: 13px;
  color: var(--renk-gri);
}

/* Adres Grid & Kart Stilleri */
.adres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.adres-kart {
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: all var(--gecis);
  position: relative;
}
.adres-kart:hover {
  transform: translateY(-2px);
  box-shadow: var(--golge);
  border-color: var(--renk-vurgu);
}
.adres-kart-baslik {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.adres-kart-baslik h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--renk-birincil);
}
.adres-badge-varsayilan {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
}
.adres-kart-detay {
  font-size: 13px;
  color: var(--renk-gri);
  line-height: 1.6;
  flex: 1;
}
.adres-kart-detay p {
  margin-bottom: 4px;
}
.adres-kart-detay strong {
  color: var(--renk-birincil);
}
.adres-kart-aksiyonlar {
  border-top: 1px solid var(--renk-sinir);
  padding-top: 12px;
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.btn-adres-link {
  font-size: 12px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--renk-gri);
  transition: color var(--gecis);
}
.btn-adres-link.edit:hover {
  color: var(--renk-birincil);
}
.btn-adres-link.delete:hover {
  color: var(--renk-vurgu);
}

/* Profil Sipariş Listesi */
.profil-siparis-kart {
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--gecis);
}
.profil-siparis-kart:hover {
  border-color: var(--renk-vurgu);
}
.profil-siparis-ust {
  background: var(--renk-acik);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}
.siparis-ust-bilgi span {
  display: block;
  font-size: 11px;
  color: var(--renk-gri);
  margin-bottom: 2px;
}
.siparis-ust-bilgi strong {
  font-size: 13px;
  color: var(--renk-birincil);
}
.siparis-durum-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
}
.siparis-detay-ac-btn {
  font-size: 20px;
  color: var(--renk-gri);
  transition: transform var(--gecis);
}
.profil-siparis-kart.detay-acik .siparis-detay-ac-btn {
  transform: rotate(180deg);
}

.profil-siparis-detay {
  display: none;
  border-top: 1px solid var(--renk-sinir);
  padding: 20px;
  background: #fff;
}
.profil-siparis-kart.detay-acik .profil-siparis-detay {
  display: block;
}
.siparis-detay-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.siparis-detay-urunler {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.siparis-detay-urun {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.siparis-detay-adres {
  background: var(--renk-acik);
  padding: 16px;
  border-radius: var(--radius-kucuk);
  font-size: 13px;
  color: var(--renk-gri);
}
.siparis-detay-adres h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--renk-birincil);
  margin-bottom: 8px;
}

@media (max-width: 992px) {
  .profil-layout {
    grid-template-columns: 1fr;
  }
  .profil-sol {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .profil-kullanici-kart {
    flex: 1;
  }
  .profil-menu {
    flex: 2;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .profil-menu-link {
    width: auto;
  }
}
@media (max-width: 768px) {
  .profil-sol {
    flex-direction: column;
  }
  .profil-kullanici-kart {
    width: 100%;
  }
  .profil-menu {
    width: 100%;
    flex-direction: column;
  }
  .profil-menu-link {
    width: 100%;
  }
  .profil-siparis-ust {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .siparis-detay-grid {
    grid-template-columns: 1fr;
  }
}

/* Genel Yardımcı Sınıflar */
.gizli {
  display: none !important;
}

/* ==========================================================================
   ÜRÜN LİSTELEME GÖRÜNÜMÜ (GRİD / LİSTE KÜÇÜK KART TOGGLE) STİLLERİ
   ========================================================================== */

/* Görünüm Değiştirici Butonlar */
.btn-view-toggle {
  background: #fff;
  color: var(--renk-birincil);
  border: 1px solid var(--renk-sinir);
  border-radius: var(--radius-kucuk);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--gecis);
}

.btn-view-toggle:hover {
  background: var(--renk-acik);
  border-color: #d1d5db;
}

.btn-view-toggle.aktif {
  background: var(--renk-vurgu) !important;
  color: #fff !important;
  border-color: var(--renk-vurgu) !important;
}

/* Küçük Kart / Liste Görünümü (Grid Yapısı Üzerinden) */
.urun-grid.liste-gorunumu {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
  gap: 16px !important;
}

.urun-grid.liste-gorunumu .urun-resim {
  height: 120px !important;
  aspect-ratio: auto !important;
  width: 100% !important;
}

.urun-grid.liste-gorunumu .urun-bilgi {
  padding: 10px !important;
}

.urun-grid.liste-gorunumu .urun-adi {
  font-size: 12px !important;
  margin-bottom: 6px !important;
  height: 32px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 1.3 !important;
}

.urun-grid.liste-gorunumu .urun-marka {
  font-size: 10px !important;
  margin-bottom: 2px !important;
}

.urun-grid.liste-gorunumu .urun-fiyat {
  margin-bottom: 8px !important;
  gap: 6px !important;
}

.urun-grid.liste-gorunumu .fiyat-indirimli,
.urun-grid.liste-gorunumu .fiyat-normal {
  font-size: 14px !important;
}

.urun-grid.liste-gorunumu .fiyat-eski {
  font-size: 10px !important;
}

.urun-grid.liste-gorunumu .urun-sepet {
  padding: 7px 10px !important;
  font-size: 11px !important;
  border-radius: 4px !important;
}

.urun-grid.liste-gorunumu .urun-favori {
  width: 28px !important;
  height: 28px !important;
  font-size: 13px !important;
  top: 8px !important;
  right: 8px !important;
}

.urun-grid.liste-gorunumu .urun-rozet {
  top: 8px !important;
  left: 8px !important;
  font-size: 9px !important;
  padding: 2px 6px !important;
}

/* Tablet ve Mobil İyileştirmeleri (Yan Yana 3 Ürün) */
@media (max-width: 768px) {
  .urun-grid.liste-gorunumu {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .urun-grid.liste-gorunumu .urun-resim {
    height: 100px !important;
  }
  .urun-grid.liste-gorunumu .urun-bilgi {
    padding: 6px !important;
  }
  .urun-grid.liste-gorunumu .urun-adi {
    font-size: 11px !important;
    height: 28px !important;
    margin-bottom: 4px !important;
  }
  .urun-grid.liste-gorunumu .urun-marka {
    display: none !important;
  }
  .urun-grid.liste-gorunumu .urun-fiyat {
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
  }
  .urun-grid.liste-gorunumu .fiyat-indirimli,
  .urun-grid.liste-gorunumu .fiyat-normal {
    font-size: 12px !important;
  }
  .urun-grid.liste-gorunumu .fiyat-eski {
    font-size: 9px !important;
  }
  .urun-grid.liste-gorunumu .urun-sepet {
    font-size: 10px !important;
    padding: 5px 4px !important;
  }
  .urun-grid.liste-gorunumu .urun-favori {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    top: 4px !important;
    right: 4px !important;
  }
  .urun-grid.liste-gorunumu .urun-rozet {
    top: 4px !important;
    left: 4px !important;
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
}

@media (max-width: 480px) {
  .urun-grid.liste-gorunumu {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
  .urun-grid.liste-gorunumu .urun-resim {
    height: 90px !important;
  }
  .urun-grid.liste-gorunumu .urun-adi {
    font-size: 10px !important;
    height: 26px !important;
  }
  .urun-grid.liste-gorunumu .fiyat-indirimli,
  .urun-grid.liste-gorunumu .fiyat-normal {
    font-size: 11px !important;
  }
  .urun-grid.liste-gorunumu .urun-sepet {
    font-size: 9px !important;
    padding: 4px 2px !important;
  }
}

/* ==========================================================================
   CUSTOM BUTTON COLOR OVERRIDES (GREEN FOR SEPETA EKLE, RED FOR STOKTA YOK)
   ========================================================================== */

/* Out of Stock (Stokta Yok) - Red Tone */
.urun-sepet:disabled,
.btn-detay-sepet:disabled {
  background-color: #ef4444 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  box-shadow: none !important;
  transform: none !important;
  border-color: transparent !important;
}

/* Sepete Ekle - Green Tone */
.urun-sepet:not(:disabled) {
  background-color: #10b981 !important;
  background: #10b981 !important;
  color: #ffffff !important;
}
.urun-sepet:not(:disabled):hover {
  background-color: #059669 !important;
  background: #059669 !important;
}

.btn-detay-sepet:not(:disabled) {
  background-color: #10b981 !important;
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.btn-detay-sepet:not(:disabled):hover {
  background-color: #059669 !important;
  background: #059669 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
  transform: translateY(-2px) !important;
}

