/* ================================================================
   Yıldızevler Kurban — main.css
   Kullanım: Kullanıcı paneli sayfaları (profilim, hesap-bilgileri,
             siparislerim, adreslerim, mesajlarim)
   ================================================================ */

/* ─── DEĞİŞKENLER ───────────────────────────────────────────────── */
:root {
  --gold:       #c9a84c;
  --gold-dark:  #b8933d;
  --gold-light: #e8c97a;
  --black:      #1a1a1a;
  --cream:      #fdf8f0;
  --cream2:     #f5ede0;
  --text:       #1a1a1a;
  --text-mid:   #4a4a4a;
  --text-light: #888;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.15);
  --radius:     12px;
  --sidebar-w:  264px;
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

/* ─── ERİŞİLEBİLİRLİK (a11y Focus States) ───────────────────────── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── TOPBAR ────────────────────────────────────────────────────── */
.topbar { background: #000; color: #fff; font-size: 13px; padding: 8px 0; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center;
}
.topbar a {
  color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px; transition: color .2s;
}
.topbar a:hover { color: #f5a623; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }
.topbar-sep { color: rgba(255,255,255,.25); font-size: 14px; user-select: none; }

/* Topbar mobilde gizle */
@media (max-width: 768px) {
  .topbar { display: none !important; }
}


/* ─── NAVBAR ────────────────────────────────────────────────────── */
nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px; position: relative;
}
.nav-logo img { height: 44px; }

.nav-links {
  display: flex; align-items: center;
  gap: 0; list-style: none; height: 72px;
}
.nav-links > li {
  position: relative; height: 72px;
  display: flex; align-items: center;
}
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 0 16px; height: 100%;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 14px;
  position: relative; transition: color .2s; white-space: nowrap;
}
.nav-links > li > a::after {
  content: ''; position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px; background: #f5a623;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform .22s ease;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a,
.nav-links > li > a.active { color: #f5a623; }
.nav-links > li > a:hover::after,
.nav-links > li:hover > a::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid #eee; border-top: 2px solid #f5a623;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all .22s ease; z-index: 999;
}
.nav-links > li:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 20px;
  color: var(--text-mid); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--cream); color: var(--gold); }
.dropdown a.active { background: var(--cream); color: var(--gold); font-weight: 700; }

/* Mega dropdown */
.has-mega { position: static !important; }
.mega-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 2px solid #f5a623;
  box-shadow: 0 8px 40px rgba(0,0,0,.13);
  padding: 20px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s;
  z-index: 999; display: flex; align-items: center;
}
.has-mega:hover .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-viewport { overflow: hidden; flex: 1; min-width: 0; }
.mega-track {
  display: flex; gap: 16px;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
  will-change: transform; padding: 4px 0 6px;
}
.mega-card {
  flex: none; background: #fff;
  border: 1px solid #ebebeb; border-radius: 10px;
  overflow: hidden; text-decoration: none; color: inherit;
  cursor: pointer; transition: box-shadow .25s, transform .25s; display: block;
}
.mega-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-3px); }
.mega-card-img { width: 100%; height: 200px; overflow: hidden; }
.mega-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s;
}
.mega-card:hover .mega-card-img img { transform: scale(1.07); }
.mega-card-body { padding: 12px 14px 14px; }
.mega-card-body h4 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.mega-card-body p { font-size: 13px; color: #999; line-height: 1.58; margin-bottom: 12px; }
.mega-incele { font-size: 12px; font-weight: 700; color: var(--gold); text-decoration: none; }
.mega-arrow {
  flex-shrink: 0; width: 38px; height: 38px;
  background: #fff; border: 1.5px solid #ddd; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  transition: all .2s; color: #333; margin: 0 14px;
}
.mega-arrow:hover:not(:disabled) { background: #f5a623; border-color: #f5a623; color: #fff; }
.mega-arrow:disabled { opacity: .25; cursor: not-allowed; box-shadow: none; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cart { position: relative; color: var(--text); text-decoration: none; }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--gold); color: var(--white);
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nav-icon-btn {
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  position: relative; font-family: inherit; text-decoration: none; line-height: 1;
}
.nav-icon-btn:hover { background: var(--cream); color: var(--gold); }
.nav-icon-btn svg { width: 22px; height: 22px; }
.btn-bilgi-al {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px; border: 1.5px solid var(--gold);
  border-radius: 8px; color: var(--gold);
  font-weight: 700; font-size: 14px; text-decoration: none;
  white-space: nowrap; transition: all .2s;
  font-family: inherit; cursor: pointer; background: none;
}
.btn-bilgi-al:hover { background: var(--gold); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}

/* ─── BİLGİ SİDEBAR (sağdan açılan panel) ──────────────────────── */
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.52);
  z-index: 1998; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.sidebar-overlay.active { opacity: 1; visibility: visible; }
.left-sidebar {
  position: fixed; top: 0; right: 0; left: auto;
  width: 340px; max-width: 90vw; height: 100vh;
  background: var(--white); z-index: 1999;
  overflow-y: auto; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.left-sidebar.open { transform: translateX(0); }
.sidebar-header { padding: 24px; position: relative; border-bottom: 1px solid #eee; }
.sidebar-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--cream); border: none; font-size: 18px; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s;
}
.sidebar-close:hover { background: #eee; }
.sidebar-logo img { height: 48px; display: block; }
.sidebar-body { padding: 24px; display: flex; flex-direction: column; gap: 24px; flex: 1; }
.sidebar-desc { font-size: 14px; color: var(--text-mid); line-height: 1.78; }
.sidebar-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.sidebar-info { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sidebar-info li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.sidebar-info li svg { width: 18px; height: 18px; flex-shrink: 0; fill: var(--gold); margin-top: 1px; }
.sidebar-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cream); display: flex; align-items: center;
  justify-content: center; color: var(--text); text-decoration: none; transition: all .2s;
}
.social-btn:hover { background: var(--gold); color: var(--white); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ─── BİLGİ MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.62);
  z-index: 9000; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-46%); z-index: 9001;
  background: #fff; border-radius: 16px;
  padding: 44px 40px 36px; width: min(540px,94vw);
  max-height: 92vh; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
}
.modal.active { opacity: 1; visibility: visible; transform: translate(-50%,-50%); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: #f4f4f4; border: none; width: 34px; height: 34px;
  border-radius: 50%; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-close:hover { background: #e8e8e8; }
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block;
}
.modal h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.modal > p { font-size: 14px; color: var(--text-mid); margin-bottom: 24px; }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf-group { display: flex; flex-direction: column; gap: 5px; }
.mf-group label {
  font-size: 12px; font-weight: 700; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 1px;
}
.mf-group input, .mf-group select, .mf-group textarea {
  padding: 11px 14px; border-radius: 8px; border: 1.5px solid #e0e0e0;
  background: #fff; color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 14px;
  outline: none; transition: border-color .2s;
}
.mf-group input:focus, .mf-group select:focus, .mf-group textarea:focus { border-color: var(--gold); }
.mf-group.full { grid-column: 1 / -1; }
.mf-submit {
  width: 100%; padding: 14px; background: var(--gold);
  color: #fff; border: none; border-radius: 8px;
  font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.mf-submit:hover { background: #b8933d; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer { background: #f8f8f8; padding: 56px 24px 0; }
.footer-card {
  max-width: 1200px; margin: 0 auto;
  background: #fff; border-radius: 20px; padding: 52px;
  display: grid; grid-template-columns: 1.15fr 1px 1fr;
  gap: 52px; align-items: start;
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}
.footer-divider-line { background: #e8e8e8; align-self: stretch; }
.footer-brand-logo { height: 44px; margin-bottom: 20px; display: block; }
.footer-brand-desc { font-size: 14px; color: #666; line-height: 1.75; margin-bottom: 28px; }
.footer-brand-title {
  font-size: 13px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: #1a1a1a; margin-bottom: 18px;
}
.footer-info-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-info-list li { display: flex; gap: 10px; font-size: 14px; color: #555; line-height: 1.5; }
.footer-info-list li strong { color: #1a1a1a; font-weight: 700; min-width: 60px; flex-shrink: 0; }
.footer-links-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 22px; }
.footer-links-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 24px; margin-bottom: 36px;
}
.footer-links-grid a { font-size: 13.5px; color: #555; text-decoration: none; transition: color .2s; display: block; }
.footer-links-grid a:hover { color: #f5a623; }
.footer-newsletter {
  display: flex; align-items: center;
  border-bottom: 2px solid #ddd; padding-bottom: 4px; transition: border-color .2s;
}
.footer-newsletter:focus-within { border-color: #f5a623; }
.footer-newsletter input {
  flex: 1; border: none; outline: none;
  font-family: 'Nunito', sans-serif; font-size: 14px;
  color: #1a1a1a; background: transparent; padding: 6px 0;
}
.footer-newsletter input::placeholder { color: #bbb; }
.footer-newsletter button {
  background: none; border: none; cursor: pointer;
  color: #f5a623; font-size: 22px; padding: 4px; transition: transform .2s; line-height: 1;
}
.footer-newsletter button:hover { transform: translateX(4px); }
.footer-bottom-bar { max-width: 1200px; margin: 0 auto; padding: 22px 0; text-align: center; }
.footer-bottom-bar span { font-size: 13px; font-weight: 600; color: #f5a623; letter-spacing: 1px; }

/* ─── FLOATING ELEMENTS ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 58px; height: 58px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 9999; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ── PHONE FLOAT (sol alt) ── */
.phone-float {
  position: fixed; bottom: 28px; left: 28px;
  width: 58px; height: 58px; background: #1a1a1a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.35); z-index: 9999;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.phone-float:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(0,0,0,.45); }
.phone-float svg { width: 28px; height: 28px; fill: white; }

.scroll-top {
  position: fixed; bottom: 28px; right: 100px;
  width: 46px; height: 46px; background: var(--gold); color: #fff;
  border: none; border-radius: 50%; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); display: none;
  align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s; z-index: 9997; line-height: 1;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.22); }

/* ─── ARAMA MODALI ──────────────────────────────────────────────── */
.search-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9100; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.search-modal-overlay.active { opacity: 1; visibility: visible; }
.search-modal {
  position: fixed; top: 0; left: 0; right: 0; background: #fff;
  z-index: 9101; padding: 24px; transform: translateY(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.search-modal.active { transform: translateY(0); }
.search-close {
  position: absolute; top: 16px; right: 16px;
  background: #f4f4f4; border: none; width: 36px; height: 36px;
  border-radius: 50%; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.search-close:hover { background: #e8e8e8; }
.search-form {
  max-width: 700px; margin: 0 auto; display: flex;
  border-bottom: 2.5px solid #c9a84c; padding-bottom: 8px;
}
.search-form input {
  flex: 1; border: none; outline: none;
  font-family: 'Nunito', sans-serif; font-size: 22px; color: #1a1a1a;
  background: transparent; padding: 8px 0;
}
.search-form input::placeholder { color: #bbb; }
.search-form button { background: none; border: none; cursor: pointer; color: #c9a84c; padding: 8px; }

/* ── SEARCH RESULTS ── */
.search-results {
  margin-top: 20px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.search-results.active {
  display: flex;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}
.search-result-item:hover {
  background: #f0efe8;
  transform: translateX(5px);
}
.res-icon { font-size: 18px; }
.res-info { flex: 1; }
.res-title { font-weight: 700; font-size: 15px; }
.res-url { font-size: 12px; color: var(--text-mid); }
.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-mid);
  font-style: italic;
}


/* ================================================================
   PANEL LAYOUT
   ================================================================ */

.panel-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* ─── PANEL NAV SİDEBAR ─────────────────────────────────────────── */
.panel-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.20);
}

.ps-user {
  padding: 28px 22px 22px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2410 100%);
  border-bottom: 1px solid rgba(201,168,76,.22);
  text-align: center;
}
.ps-avatar {
  width: 64px; height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  margin: 0 auto 12px; letter-spacing: 1px;
  border: 2px solid rgba(201,168,76,.35);
}
.ps-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ps-email { font-size: 11.5px; color: rgba(255,255,255,.45); word-break: break-all; }

.ps-nav { padding: 10px 0; list-style: none; }
.ps-nav li a {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 22px;
  color: rgba(255,255,255,.62);
  text-decoration: none; font-size: 13.5px; font-weight: 600;
  border-left: 3px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.ps-nav li a:hover {
  background: rgba(201,168,76,.10);
  color: rgba(255,255,255,.9);
  border-left-color: rgba(201,168,76,.4);
}
.ps-nav li a.active {
  background: rgba(201,168,76,.15);
  color: var(--gold);
  border-left-color: var(--gold);
}
.ps-nav li a svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

.ps-badge {
  margin-left: auto;
  background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 800;
  min-width: 19px; height: 19px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

.ps-divider { height: 1px; background: rgba(255,255,255,.08); margin: 4px 0; }

.ps-logout {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 22px 22px;
  color: rgba(255,100,100,.72);
  text-decoration: none; font-size: 13.5px; font-weight: 600;
  cursor: pointer; background: none; border: none;
  width: 100%; font-family: inherit; transition: color .2s;
}
.ps-logout:hover { color: rgba(255,100,100,1); }
.ps-logout svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ─── PANEL İÇERİK ALANI ────────────────────────────────────────── */
.panel-content { flex: 1; min-width: 0; }

.panel-header { margin-bottom: 24px; }
.panel-header-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 5px;
}
.panel-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem; font-weight: 700;
  color: var(--text); line-height: 1.2;
}
.panel-header p { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* ─── PANEL KART ────────────────────────────────────────────────── */
.panel-card {
  background: #fff; border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  margin-bottom: 20px;
}
.panel-card-title {
  font-size: 14.5px; font-weight: 800; color: var(--text);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1.5px solid #f0f0f0;
  display: flex; align-items: center; gap: 8px;
}
.panel-card-title svg { width: 17px; height: 17px; fill: var(--gold); flex-shrink: 0; }

/* ─── İSTATİSTİK KARTLARI (profilim) ───────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin-bottom: 20px;
}
.stat-card {
  background: #fff; border-radius: 14px;
  padding: 22px 18px; text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-top: 3px solid var(--gold);
}
.stat-card-value {
  font-size: 2.1rem; font-weight: 800; color: var(--gold);
  font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 6px;
}
.stat-card-label { font-size: 12.5px; color: var(--text-light); font-weight: 600; }

/* ─── HOŞ GELDİN BANNER ─────────────────────────────────────────── */
.welcome-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2410 60%, #1a1a1a 100%);
  border-radius: 14px; padding: 30px;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 22px;
  position: relative; overflow: hidden;
}
.welcome-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/img/cow_herd_1778422622672.webp') center/cover;
  opacity: .07;
}
.welcome-avatar {
  width: 68px; height: 68px; background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  flex-shrink: 0; position: relative;
  border: 3px solid rgba(201,168,76,.35);
}
.welcome-text { position: relative; }
.welcome-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 5px;
}
.welcome-text p { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ─── HIZLI ERİŞİM LİNKLERİ ────────────────────────────────────── */
.quick-links {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px;
}
.quick-link {
  background: #fff; border-radius: 12px;
  padding: 18px 16px; text-align: center;
  text-decoration: none; color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border: 1.5px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.quick-link:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,.18);
  transform: translateY(-2px);
}
.quick-link svg { width: 24px; height: 24px; fill: var(--gold); }
.quick-link span { font-size: 13px; font-weight: 700; color: var(--text-mid); }

/* ─── HESAP BİLGİLERİ FORMU ─────────────────────────────────────── */
.pf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pf-group { display: flex; flex-direction: column; gap: 6px; }
.pf-group.full { grid-column: 1 / -1; }
.pf-group label {
  font-size: 11px; font-weight: 700; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.pf-group input, .pf-group select {
  padding: 12px 15px; border-radius: 10px; border: 1.5px solid #e0e0e0;
  background: #fafafa; color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 14.5px;
  outline: none; transition: border-color .2s, background .2s;
}
.pf-group input:focus, .pf-group select:focus { border-color: var(--gold); background: #fff; }
.pf-actions { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-save {
  padding: 12px 28px; background: var(--gold); color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-save:hover { background: #b8933d; transform: translateY(-1px); }
.btn-cancel {
  padding: 12px 20px; background: #f0f0f0; color: var(--text-mid);
  border: none; border-radius: 10px;
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.btn-cancel:hover { background: #e4e4e4; }

/* ─── SİPARİŞLER TABLOSU ────────────────────────────────────────── */
.filter-tabs {
  display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 18px; border-radius: 20px;
  border: 1.5px solid #e0e0e0; background: #fff;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--text-mid); cursor: pointer; transition: all .18s;
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.active { background: var(--gold); border-color: var(--gold); color: #fff; }

.orders-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.orders-table th {
  background: #f8f8f8; padding: 11px 14px; text-align: left;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-light); border-bottom: 1.5px solid #eee;
}
.orders-table td {
  padding: 14px 14px; border-bottom: 1px solid #f2f2f2;
  color: var(--text-mid); vertical-align: middle;
}
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: #fdf8f0; }
.orders-table .ord-no { font-weight: 700; color: var(--text); font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.badge-wait     { background: #fff8e6; color: #c9850c; }
.badge-cut      { background: #e8f5e9; color: #2e7d32; }
.badge-delivered{ background: #e3f2fd; color: #1565c0; }
.badge-cancel   { background: #fce4ec; color: #c62828; }

.btn-detail {
  padding: 6px 13px; background: var(--gold); color: #fff;
  border: none; border-radius: 7px;
  font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background .2s; text-decoration: none; display: inline-block;
}
.btn-detail:hover { background: #b8933d; }

/* ─── ADRES KARTLARI ────────────────────────────────────────────── */
.addr-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.addr-card {
  background: #fafafa; border: 1.5px solid #eee;
  border-radius: 12px; padding: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.addr-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(201,168,76,.15); }
.addr-card.default { border-color: var(--gold); }
.addr-badge {
  display: inline-block; background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-bottom: 10px;
}
.addr-type {
  font-size: 13px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.addr-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.addr-detail { font-size: 13px; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; }
.addr-actions { display: flex; gap: 8px; }
.btn-edit {
  padding: 7px 14px; background: #f0f0f0; color: var(--text-mid);
  border: none; border-radius: 7px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-edit:hover { background: #e0e0e0; }
.btn-delete {
  padding: 7px 14px; background: #fce4ec; color: #c62828;
  border: none; border-radius: 7px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-delete:hover { background: #f8bbd0; }
.btn-add-addr {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; background: #fafafa;
  border: 1.5px dashed #ccc; border-radius: 12px;
  color: var(--text-light); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-add-addr:hover { border-color: var(--gold); color: var(--gold); background: #fffbf3; }
.btn-add-addr svg { width: 20px; height: 20px; fill: currentColor; }

/* ─── MESAJLAR INBOX ────────────────────────────────────────────── */
.inbox-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px; padding: 0 4px;
}
.inbox-count { font-size: 13px; color: var(--text-light); }
.inbox-count strong { color: var(--gold); }
.inbox-mark-all {
  font-size: 12.5px; color: var(--gold); font-weight: 700;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: color .2s;
}
.inbox-mark-all:hover { color: var(--gold-dark); text-decoration: underline; }

.msg-list { list-style: none; display: flex; flex-direction: column; }
.msg-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-bottom: 1px solid #f2f2f2;
  cursor: pointer; transition: background .15s; position: relative;
}
.msg-item:last-child { border-bottom: none; }
.msg-item:hover { background: #fdf8f0; }
.msg-item.unread { background: #fffdf7; }
.msg-item.unread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold); border-radius: 0 3px 3px 0;
}
.msg-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #c9a84c, #f5a623);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px; font-weight: 800; color: #fff;
}
.msg-body { flex: 1; min-width: 0; }
.msg-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3px; }
.msg-sender { font-size: 13.5px; font-weight: 700; color: var(--text); }
.msg-item.unread .msg-sender { color: var(--gold); }
.msg-date { font-size: 11.5px; color: var(--text-light); white-space: nowrap; margin-left: 8px; }
.msg-subject {
  font-size: 13.5px; font-weight: 600; color: var(--text-mid); margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msg-preview {
  font-size: 12.5px; color: var(--text-light);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msg-dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; flex-shrink: 0; margin-top: 7px;
}
.msg-expanded {
  display: none;
  padding: 16px 20px 20px 76px;
  background: #fffbf2;
  border-bottom: 1px solid #f2e6c8;
  font-size: 14px; color: var(--text-mid); line-height: 1.75;
}
.msg-expanded.open { display: block; }
.msg-expanded p { margin-bottom: 10px; }
.msg-expanded p:last-child { margin-bottom: 0; }

/* ─── RESPONSİVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-card { grid-template-columns: 1fr; padding: 36px; }
  .footer-divider-line { display: none; }
}

@media (max-width: 900px) {
  .panel-wrap { flex-direction: column; padding: 20px 16px 48px; gap: 16px; }
  .panel-sidebar { width: 100%; position: static; }
  .ps-user { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; }
  .ps-avatar { width: 48px; height: 48px; font-size: 17px; margin: 0; flex-shrink: 0; }
  .ps-nav { display: grid; grid-template-columns: repeat(2,1fr); }
  .ps-nav li a { padding: 10px 14px; font-size: 13px; }
  .quick-links { grid-template-columns: repeat(3,1fr); }
  .addr-grid { grid-template-columns: 1fr; }
  .pf-form { grid-template-columns: 1fr; }
  .pf-group.full { grid-column: 1; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .btn-bilgi-al, .nav-icon-btn.nav-user, button[onclick="openSidebar()"], #gridBtn { display: none; }

  .scroll-top { right: 80px; bottom: 20px; }
  .stat-grid { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .stat-card { padding: 16px 12px; }
  .stat-card-value { font-size: 1.7rem; }
  .orders-table { font-size: 12px; }
  .orders-table th, .orders-table td { padding: 10px 10px; }
  .filter-tabs { gap: 4px; }
  .filter-tab { padding: 6px 12px; font-size: 12px; }
  .quick-links { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .welcome-banner { padding: 22px 18px; gap: 14px; }
  .welcome-avatar { width: 52px; height: 52px; font-size: 18px; }
  .welcome-text h2 { font-size: 1.15rem; }
}


