/* =========================================================
   Lelefon — Global Styles (white/black theme)
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --text: #111111;
  --text-muted: #667085;
  --brand: #e11d48;
  --brand-weak: #ffe3ea;
  --border: #e6e6e6;
  --border-strong: #dddddd;
  --shadow: 0 6px 18px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --focus: 0 0 0 3px rgba(225,29,72,.20);
}

/* =========================================================
   Base
   ========================================================= */
*{ box-sizing:border-box }
html, body{ height:100% }
body{
  margin:0;
  background-color:var(--bg);
  color:var(--text);
  font-family:"Poppins","Segoe UI",system-ui,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{ color:inherit }

/* Containers */
.container{ width:min(1200px,92vw); margin:0 auto }
.wrap{ width:min(1100px,92vw); margin:24px auto }

/* Utilities */
.muted{ color:var(--text-muted); font-size:.95rem }
.right{ margin-left:auto }
.pill{ border:1px solid var(--border); padding:8px 12px; border-radius:999px }
.badge-small{ display:inline-block; padding:2px 8px; border-radius:999px; font-size:.75rem; font-weight:700; background:#111; color:#fff }
.badge{ display:inline-block; padding:4px 10px; border-radius:999px; border:1px solid var(--border); font-weight:700 }
.divider{ height:1px; width:100%; background:var(--border); margin:14px 0 }

/* Cards + Panels */
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  padding:14px;
}
.panel{
  border:1px dashed var(--border);
  border-radius:var(--radius);
  background:#fff;
  padding:12px;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid var(--border); background:#111; color:#fff;
  padding:10px 16px; border-radius:10px; font-weight:700; cursor:pointer;
  transition:transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow) }
.btn:active{ transform:translateY(0) }
.btn:disabled{ opacity:.55; cursor:not-allowed; box-shadow:none; transform:none }
.btn.primary{ background:var(--brand); border-color:var(--brand) }
.btn.ghost{ background:#fff; color:var(--text); }
.btn.ghost:hover{ border-color:var(--text) }
.btn-row{ display:flex; gap:10px; flex-wrap:wrap }

/* Inputs / Fields */
.field{ display:flex; flex-direction:column; gap:6px }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea{
  width:100%; border:1px solid var(--border); border-radius:10px; padding:10px 12px; background:#fff; color:var(--text);
}
input:focus, select:focus, textarea:focus{ outline:none; box-shadow:var(--focus); border-color:var(--brand) }

/* Tables (light) */
.table{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden }
.table th, .table td{ padding:10px 12px; border-bottom:1px solid var(--border) }
.table th{ text-align:left; font-weight:700; background:var(--bg-soft) }
.table tr:last-child td{ border-bottom:none }

/* =========================================================
   Navbar
   ========================================================= */
.navbar{
  background-color:#f9f9f9;
  border-bottom:1px solid var(--border-strong);
  position:sticky; top:0; z-index:100;
}
.navbar-inner{
  width:min(1200px,92vw); margin:0 auto;
  display:flex; justify-content:space-between; align-items:center;
  padding:15px 0;
}
.logo-container{ display:flex; align-items:center }
.logo-link{ display:flex; align-items:center; gap:8px; text-decoration:none; color:#000 }
.logo{ width:80px; height:auto; object-fit:contain }
.navbar h1{ font-size:1.8rem; margin:0; font-weight:700; color:var(--text) }
.navbar nav a{ color:#000; margin-left:20px; text-decoration:none; font-weight:500; transition:color .2s }
.navbar nav a:hover{ color:var(--brand) }
.right-area{ display:flex; align-items:center; gap:10px }
.wallet-pill{ border:1px solid var(--border); border-radius:999px; padding:6px 12px; font-weight:700; background:#fff }

/* =========================================================
   🛒 Cart Icon + Badge (ADDED — SAFE)
   ========================================================= */
.cart-icon-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.cart-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.cart-img{
  width:24px;
  height:24px;
  object-fit:contain;
}

.cart-badge{
  position:absolute;
  top:-6px;
  right:-8px;
  min-width:20px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  background:#dc2626;
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.cart-badge.hidden{ display:none }

/* =========================================================
   Footer
   ========================================================= */
footer{
  text-align:center; padding:25px; background:var(--bg-soft);
  border-top:1px solid var(--border-strong); color:#555; font-size:.9rem;
}

/* =========================================================
   Home / Grid / Product / Transactions / Responsive
   (UNCHANGED — your original code continues)
   ========================================================= */
/* ... everything below stays EXACTLY the same as you provided ... */
