/* =====================================================
   LuxWallet – Modern E-Ticaret Stili
   ===================================================== */

/* =====================================================
   HEADER – Yeni Yapı
   ===================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.header-inner {
  width: 100%;
  padding: 0 16px 0 12px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-toggle {
  width: 44px; height: 44px;
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--accent); }

.site-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 25px;
  padding: 0 14px;
  height: 40px;
  width: 220px;
  gap: 8px;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--primary); }
.search-form i { color: #999; font-size: 13px; }
.search-form input { border: none; outline: none; background: transparent; font-size: 13px; width: 100%; }
.hdr-cart { position: relative; color: var(--primary); font-size: 22px; transition: color .2s; }
.hdr-cart:hover { color: var(--accent); }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--accent); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* =====================================================
   OVERLAY
   ===================================================== */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
}
.nav-overlay.open { display: block; }

/* =====================================================
   SOL PANEL (DRAWER)
   ===================================================== */
.side-panel {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100vh;
  background: var(--primary);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.side-panel.open { transform: translateX(0); }

/* panel-head: header.php'deki yeni sınıf adı */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.panel-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.panel-avatar {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.panel-avatar i { color: #fff; font-size: 20px; }
.panel-username {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.panel-role {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  margin-top: 2px;
}
.panel-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin: 6px 0;
}
/* eski .panel-header alias */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.panel-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.panel-close {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.panel-close:hover { background: rgba(255,255,255,.15); }

.panel-user {
  padding: 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.panel-user-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.panel-user-name i { font-size: 20px; opacity: .7; }

.panel-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 4px 20px;
}

.panel-nav {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Panel buton tipleri */
.panel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  border: none;
  width: 100%;
}
.panel-btn i { width: 20px; text-align: center; font-size: 16px; }

/* Nav linkleri */
.panel-btn-nav {
  color: rgba(255,255,255,.8);
  background: transparent;
}
.panel-btn-nav:hover, .panel-btn-nav.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding-left: 24px;
}

/* Vurgu (Giriş Yap) */
.panel-btn-accent {
  background: var(--accent);
  color: #fff;
}
.panel-btn-accent:hover { background: #a07010; }

/* Outline (Kayıt Ol) */
.panel-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.panel-btn-outline:hover { background: rgba(255,255,255,.1); }

/* Tehlike (Çıkış) */
.panel-btn-danger {
  background: rgba(192,57,43,.7);
  color: #fff;
}
.panel-btn-danger:hover { background: rgba(192,57,43,1); }

/* Admin */
.panel-btn-admin {
  background: linear-gradient(90deg, var(--accent), #e8a830);
  color: #fff;
}
.panel-btn-admin:hover { opacity: .9; }

/* Eski cat-nav artık kullanılmıyor ama kalabilir */
.cat-nav { display: none; }

:root {
  --primary: #1a2744;
  --accent:  #c8972b;
  --bg:      #f7f7f7;
  --card-bg: #ffffff;
  --text:    #222222;
  --light:   #f0f0f0;
  --border:  #e0e0e0;
  --danger:  #c0392b;
  --success: #27ae60;
  --radius:  4px;
  --shadow:  0 2px 12px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.header-inner {
  width: 100%;
  padding: 0 16px 0 12px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left { display: flex; align-items: center; }

.search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 25px;
  padding: 0 14px;
  height: 40px;
  width: 260px;
  gap: 8px;
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--primary); }
.search-form i { color: #999; font-size: 14px; }
.search-form input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  width: 100%;
  color: var(--text);
}

.header-center { text-align: center; }
.site-logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.hdr-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: color .2s;
}
.hdr-link i { font-size: 18px; }
.hdr-link:hover { color: var(--accent); }

.hdr-login {
  border: 1.5px solid var(--primary);
  border-radius: 25px;
  padding: 6px 16px;
  flex-direction: row;
  gap: 6px;
  font-size: 12px;
}
.hdr-login:hover { background: var(--primary); color: #fff; }

.hdr-admin { color: var(--accent); }
.hdr-admin:hover { color: #a07010; }

.hdr-cart {
  position: relative;
  color: var(--primary);
  font-size: 22px;
  transition: color .2s;
}
.hdr-cart:hover { color: var(--accent); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   KATEGORİ NAV
   ===================================================== */
.cat-nav {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
}
.cat-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}
.cat-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 14px 20px;
  display: block;
  transition: background .2s, color .2s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.cat-nav a:hover,
.cat-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-bottom-color: var(--accent);
}

/* =====================================================
   BİLDİRİM
   ===================================================== */
.bildirim {
  padding: 12px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}
.bildirim-basari { background: #d4edda; color: #155724; }
.bildirim-hata   { background: #f8d7da; color: #721c24; }
.bildirim-bilgi  { background: #d1ecf1; color: #0c5460; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d3f6b 60%, #1a2744 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1548036328-c9fa89d128fa?w=1400') center/cover no-repeat;
  opacity: 0.12;
}
.hero > * { position: relative; }
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero p {
  font-size: 18px;
  opacity: .85;
  margin-bottom: 32px;
}
.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(200,151,43,.4);
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,151,43,.5); }

/* =====================================================
   SECTION & GRID
   ===================================================== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* =====================================================
   ÜRÜN KARTI
   ===================================================== */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform .3s;
}
.product-card:hover img { transform: scale(1.04); }
.card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-cat {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.card-rating { font-size: 12px; color: #f39c12; }
.card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}
.btn-add {
  margin-top: 10px;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: background .2s;
}
.btn-add:hover { background: var(--accent); }

/* =====================================================
   PAGİNASYON
   ===================================================== */
/* KATEGORİ FİLTRE BUTONLARI */
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.cat-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--primary);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  transition: all .2s;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .aktif { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =====================================================
   ÜRÜN DETAY
   ===================================================== */
.detail-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.gallery-main { width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 10px; }
.gallery-main img { width: 100%; height: 420px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; border: 2px solid var(--border); cursor: pointer; transition: border-color .2s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--accent); }

/* Ürün detay galeri (urun-detay.php sınıf adları) */
.detail-gallery { display: flex; flex-direction: column; gap: 10px; }
.detail-main-img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border);
  transition: opacity .2s;
}
.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 6px; border: 2px solid var(--border);
  cursor: pointer; transition: border-color .2s, transform .15s;
}
.thumb:hover { border-color: var(--accent); transform: scale(1.05); }
.thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.detail-info { padding-top: 10px; }
.detail-cat { font-size: 12px; color: #999; text-transform: uppercase; margin-bottom: 8px; }
.detail-name { font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.detail-rating { margin-bottom: 16px; font-size: 13px; color: #f39c12; }
.detail-price { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 24px; }
.detail-desc { color: #555; line-height: 1.7; margin-bottom: 24px; font-size: 14px; }

.qty-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-btn { width: 36px; height: 36px; border: 1px solid var(--border); background: #fff; border-radius: var(--radius); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: background .15s; }
.qty-btn:hover { background: var(--light); }
.qty-val { font-size: 16px; font-weight: 600; min-width: 30px; text-align: center; }

.btn-sepet { width: 100%; background: var(--primary); color: #fff; border: none; padding: 14px; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; transition: background .2s; }
.btn-sepet:hover { background: var(--accent); }

.reviews-section { max-width: 1100px; margin: 0 auto 48px; padding: 0 24px; }
.reviews-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 10px; display: inline-block; }
.star-select { display: flex; gap: 6px; margin-bottom: 12px; }
.star-select span { font-size: 28px; cursor: pointer; color: #ddd; transition: color .15s; }
.star-select span.selected, .star-select span.hover { color: #f39c12; }
.yorum-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.yorum-top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.yorum-ad { font-weight: 600; font-size: 13px; }
.yorum-tarih { font-size: 11px; color: #aaa; }

/* =====================================================
   SEPET
   ===================================================== */
.cart-section { max-width: 1100px; margin: 40px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.cart-items { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-items h2 { padding: 20px 24px; border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 700; color: var(--primary); }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.ci-name { font-weight: 600; margin-bottom: 4px; }
.ci-price { color: var(--accent); font-weight: 700; }
.ci-actions { display: flex; align-items: center; gap: 8px; }
.ci-qty { display: flex; align-items: center; gap: 6px; }

.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; }
.cart-summary h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--border); padding-top: 10px; font-weight: 700; font-size: 18px; }

.checkout-form { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
.checkout-form h4 { margin-bottom: 14px; font-size: 14px; color: var(--primary); font-weight: 700; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; outline: none; transition: border-color .2s; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }

/* =====================================================
   AUTH FORMS
   ===================================================== */
.auth-section { max-width: 480px; margin: 60px auto; padding: 0 24px; }
.auth-wrap { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 40px; box-shadow: var(--shadow); }
.auth-wrap h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 28px; text-align: center; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: #888; }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* =====================================================
   SİPARİŞLERİM
   ===================================================== */
.orders-section { max-width: 1100px; margin: 40px auto; padding: 0 24px; }
.order-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.order-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--light); border-bottom: 1px solid var(--border); }
.order-body { padding: 16px 20px; }

.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-pending   { background: #fff3cd; color: #856404; }
.status-shipped   { background: #cce5ff; color: #004085; }
.status-delivered { background: #d4edda; color: #155724; }

/* =====================================================
   ADMIN
   ===================================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 140px);
}

.admin-sidebar {
  background: var(--primary);
  padding: 24px 0;
}
.sidebar-title {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 20px 10px;
  display: block;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  border-left: 3px solid transparent;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-left-color: var(--accent);
}
.admin-sidebar a i { width: 18px; text-align: center; font-size: 15px; }

.admin-content { padding: 32px; background: var(--bg); }
.admin-content h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.stat-icon { font-size: 28px; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--light); }
.stat-info .stat-num { font-size: 24px; font-weight: 700; color: var(--primary); }
.stat-info .stat-label { font-size: 12px; color: #888; margin-top: 2px; }

.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.admin-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: var(--primary); color: #fff; padding: 10px 12px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-prod-img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }

/* Admin wrap (eski uyumluluk) */
.admin-wrap { max-width: 1280px; margin: 0 auto; padding: 32px 24px; }
.admin-nav { display: flex; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-nav a { padding: 9px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--primary); transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =====================================================
   BUTONLAR
   ===================================================== */
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e74c3c; color: #fff; text-decoration: none;
  padding: 9px 20px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
  transition: background .2s; margin-bottom: 16px;
}
.back-btn:hover { background: #c0392b; color: #fff; }

.btn-primary, button.btn-primary {
  background: var(--primary); color: #fff; border: none;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s; display: inline-block;
}
.btn-primary:hover { background: #243560; }

.btn-accent, button.btn-accent {
  background: var(--accent); color: #fff; border: none;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.btn-accent:hover { background: #a07010; }

.btn-danger, a.btn-danger {
  background: var(--danger); color: #fff; border: none;
  padding: 7px 14px; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .2s;
}
.btn-danger:hover { background: #962d22; }

.btn-full {
  width: 100%; background: var(--primary); color: #fff; border: none;
  padding: 13px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; cursor: pointer;
  text-transform: uppercase; letter-spacing: .5px;
  transition: background .2s;
}
.btn-full:hover { background: var(--accent); }

/* =====================================================
   TASARIM YÖNETİMİ
   ===================================================== */
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.design-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.design-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--primary); }
.preview-box { height: 50px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 13px; margin-top: 10px; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 32px 24px;
  margin-top: 60px;
  font-size: 13px;
}
footer p + p { margin-top: 6px; }

/* =====================================================
   ADMIN GİRİŞ SAYFASI (Özel)
   ===================================================== */
.admin-login-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.admin-login-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}
.admin-login-box .logo { text-align: center; font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 6px; text-transform: uppercase; }
.admin-login-box .subtitle { text-align: center; color: #888; font-size: 12px; margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .detail-wrap { grid-template-columns: 1fr; }
  .cart-section { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header-inner { padding: 0 12px; gap: 10px; }
  .search-form { width: 160px; }
  .hdr-link span { display: none; }
  .cat-nav a { font-size: 11px; padding: 10px 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero { padding: 60px 16px; }
  .section { padding: 32px 16px; }
}
