@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:       #0d1117;
  --bg-card:  #161b22;
  --bg-card2: #1c2333;
  --border:   rgba(255,255,255,0.06);
  --border-h: rgba(255,255,255,0.12);
  --accent:   #c0392b;
  --accent-h: #e74c3c;
  --text:     #e6edf3;
  --text-muted:#8b949e;
  --text-dim: #484f58;
  --green:    #3fb950;
  --orange:   #d29922;
  --navbar-h: 60px;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 3px; }

/* ─── PARTICLES ─────────────────────────────── */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--navbar-h);
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 28px; gap: 32px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.navbar-brand img { height: 46px; width: auto; }
.navbar-brand span { display: none; }
.navbar-links {
  display: flex; gap: 4px;
}
.navbar-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: .83rem; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: all .15s;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.navbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Coin badge navbar */
.coin-badge-nav {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,193,7,.1);
  border: 1px solid rgba(255,193,7,.25);
  border-radius: 20px; padding: 5px 14px;
  font-size: .82rem; font-weight: 700; color: #ffc107;
  cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.coin-badge-nav:hover { background: rgba(255,193,7,.18); border-color: rgba(255,193,7,.5); }
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-h); }
.nav-username { font-size: .82rem; font-weight: 600; color: var(--text); }
.btn-login {
  display: flex; align-items: center; gap: 8px;
  background: #1b2838; color: #c6d4df; text-decoration: none;
  border: none; padding: 8px 16px; border-radius: 7px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background .15s;
}
.btn-login:hover { background: #243447; }
.btn-logout { background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.3); color: var(--accent); }
.btn-logout:hover { background: rgba(192,57,43,.25); }
.nav-admin-link {
  font-size: .78rem; color: var(--orange); text-decoration: none;
  border: 1px solid rgba(210,153,34,.3); padding: 5px 12px; border-radius: 6px;
}
.nav-admin-link:hover { background: rgba(210,153,34,.1); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-h); }
.btn-steam {
  display: flex; align-items: center; gap: 8px;
  background: #1b2838; color: #c6d4df;
  border: none; padding: 8px 16px; border-radius: 7px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  font-family: 'Inter', sans-serif; text-decoration: none;
  transition: background .15s;
}
.btn-steam:hover { background: #243447; }
.btn-steam svg { width: 16px; fill: #c6d4df; }

/* ─── HERO BANNER ─────────────────────────────── */
.hero {
  position: relative;
  margin-top: var(--navbar-h);
  width: 100%;
  height: 300px;
  background: url('/images/hero.jpg') center/cover no-repeat, linear-gradient(135deg, #1a0a0a 0%, #0d1117 100%);
  z-index: 1;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,23,0.3) 0%, rgba(13,17,23,0.7) 70%, rgba(13,17,23,1) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  height: 100%; display: flex; align-items: flex-end;
  padding: 28px 40px;
}
.server-widget {
  display: flex; align-items: center; gap: 12px;
  background: rgba(13,17,23,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-h);
  border-radius: 10px; padding: 12px 18px;
}
.server-widget-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}
.server-widget-name { font-weight: 700; font-size: .88rem; color: var(--text); }
.server-widget-ip   { font-size: .75rem; color: var(--text-muted); margin-top: 1px; }

/* ─── CONTENU ─────────────────────────────────── */
.page-content {
  position: relative; z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* ─── TOOLBAR (tabs + search) ─────────────────── */
.shop-toolbar {
  display: flex; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.cat-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px; border-radius: 20px;
  cursor: pointer; font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 600;
  transition: all .15s; white-space: nowrap;
}
.cat-tab:hover { border-color: var(--border-h); color: var(--text); }
.cat-tab.active {
  background: var(--accent); border-color: var(--accent);
  color: white;
}

.search-wrap {
  position: relative; flex-shrink: 0;
}
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 13px; pointer-events: none;
}
.search-input {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 9px 14px 9px 34px;
  border-radius: 20px; font-family: 'Inter', sans-serif;
  font-size: .82rem; outline: none; width: 220px;
  transition: border-color .15s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-dim); }

/* ─── GRILLE PRODUITS ─────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

/* ─── CARTE PRODUIT ───────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.product-card:hover {
  border-color: rgba(192,57,43,.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.product-img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; background: #0d1117; display: block;
}
.product-img-placeholder {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, #161b22, #0d1117);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: #30363d;
}
.product-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  background: rgba(192,57,43,.15); color: var(--accent);
  border: 1px solid rgba(192,57,43,.3); width: fit-content;
}
.product-name {
  font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.3;
}
.product-desc {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.product-footer {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.product-price-old { font-size: .75rem; color: var(--text-dim); text-decoration: line-through; margin-right: 4px; }
.stock-badge {
  font-size: .67rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 4px;
}
.stock-low { background: rgba(210,153,34,.1); color: var(--orange); }
.stock-out { background: rgba(231,76,60,.08); color: #e74c3c; }

.btn-buy {
  background: var(--bg-card2); border: 1px solid var(--border-h);
  color: var(--text); padding: 7px 14px; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: all .15s; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.btn-buy:hover { background: var(--accent); border-color: var(--accent); }
.btn-buy:disabled { background: #1c2333; color: #484f58; border-color: var(--border); cursor: not-allowed; }
.btn-buy .price { color: var(--accent); font-weight: 800; }
.btn-buy:hover .price { color: white; }
.btn-buy .coin-price { color: #ffc107; font-weight: 800; }
.btn-buy:hover .coin-price { color: #fff; }

/* ─── MODAL ───────────────────────────────────── */
.modal { display: none; position: fixed; z-index: 500; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(4px); align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-box {
  background: #161b22; border: 1px solid var(--border-h);
  border-radius: 16px; padding: 28px; width: 90%; max-width: 500px;
  position: relative;
}
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text-dim); font-size: 22px; cursor: pointer; }
.modal-close:hover { color: var(--text); }
.modal-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.modal-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.modal-desc { color: var(--text-muted); font-size: .85rem; line-height: 1.7; }
.btn-add { background: var(--accent); color: white; border: none; padding: 10px 20px; border-radius: 8px; font-size: .83rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background .15s; }
.btn-add:hover { background: var(--accent-h, #e74c3c); }
.btn-add:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; }

/* ─── TOAST ───────────────────────────────────── */
.toast {
  position: fixed; bottom: 90px; right: 24px; z-index: 600;
  background: var(--bg-card2); border: 1px solid var(--border-h);
  border-radius: 10px; color: var(--text);
  padding: 13px 18px; font-size: .85rem; font-weight: 500;
  transform: translateX(130%); opacity: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  max-width: 300px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-color: rgba(63,185,80,.4); }
.toast.error   { border-color: rgba(231,76,60,.4); }

/* ─── PANIER FAB ──────────────────────────────── */
.cart-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  background: var(--accent); color: white;
  border: none; width: 56px; height: 56px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(192,57,43,.5);
  transition: background .15s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
.cart-fab:hover { background: var(--accent-h, #e74c3c); transform: scale(1.08); }
.cart-fab-count {
  position: absolute; top: -4px; right: -4px;
  background: white; color: var(--accent);
  border-radius: 50%; width: 20px; height: 20px;
  font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ─── SIDEBAR PANIER ──────────────────────────── */
#cartSidebar {
  position: fixed; top: 0; right: -380px; width: 360px;
  height: 100vh;
  background: #0d1117; border-left: 1px solid var(--border-h);
  transition: right .3s cubic-bezier(.4,0,.2,1);
  z-index: 450; display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.6);
}
#cartSidebar.open { right: 0; }
.cart-header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h2 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cart-header button { background: none; border: none; font-size: 22px; color: var(--text-muted); cursor: pointer; }
.cart-header button:hover { color: var(--text); }
.cart-content { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-footer { padding: 16px; border-top: 1px solid var(--border); }
.cart-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 46px; height: 46px; border-radius: 7px; object-fit: cover; background: var(--bg-card2); flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .82rem; font-weight: 600; }
.cart-item-price { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-muted); width: 24px; height: 24px; border-radius: 5px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.qty-btn:hover { border-color: var(--border-h); color: var(--text); }
.qty-val { font-size: .82rem; font-weight: 700; min-width: 18px; text-align: center; }
.del-item { background: none; border: none; color: var(--text-dim); font-size: 14px; cursor: pointer; padding: 4px; transition: color .15s; }
.del-item:hover { color: #e74c3c; }
.cart-empty-msg { color: var(--text-dim); text-align: center; padding: 50px 0; font-size: .85rem; }
.cart-total { font-size: 1.4rem; font-weight: 800; text-align: center; margin: 10px 0 14px; color: var(--text); }
.promo-row { display: flex; gap: 6px; margin-bottom: 10px; }
.promo-input { flex: 1; background: var(--bg-card2); border: 1px solid var(--border); color: var(--text); padding: 9px 12px; border-radius: 7px; font-size: .82rem; font-family: 'Inter', sans-serif; outline: none; text-transform: uppercase; }
.promo-input:focus { border-color: var(--accent); }
.promo-input::placeholder { color: var(--text-dim); text-transform: none; }
.promo-apply { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text-muted); padding: 9px 14px; border-radius: 7px; cursor: pointer; font-size: .8rem; font-weight: 600; font-family: 'Inter', sans-serif; transition: all .15s; }
.promo-apply:hover { border-color: var(--border-h); color: var(--text); }
.promo-msg { font-size: .75rem; margin-bottom: 8px; min-height: 16px; }
.promo-ok { color: var(--green); }
.promo-err { color: #e74c3c; }
.btn-checkout { width: 100%; background: var(--accent); color: white; border: none; padding: 13px; border-radius: 9px; font-size: .88rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: background .15s; }
.btn-checkout:hover { background: var(--accent-h, #e74c3c); }
.btn-checkout:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; }

/* ─── MES COMMANDES ───────────────────────────── */
.page-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; letter-spacing: .5px; }
.cmd-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.cmd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.cmd-date { color: var(--text-muted); font-size: .78rem; }
.cmd-badge { background: rgba(63,185,80,.1); color: var(--green); border: 1px solid rgba(63,185,80,.3); border-radius: 6px; padding: 3px 10px; font-size: .72rem; font-weight: 700; }
.cmd-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.cmd-table th { padding: 6px 0; color: var(--text-muted); font-size: .72rem; text-align: left; border-bottom: 1px solid var(--border); }
.cmd-table td { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.03); }
.cmd-total td { font-weight: 700; border-bottom: none; color: var(--accent); padding-top: 10px; }

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 18px 40px; color: var(--text-dim); font-size: .78rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  background: rgba(13,17,23,.8);
}
.footer a { color: var(--text-muted); text-decoration: none; margin: 0 8px; transition: color .15s; }
.footer a:hover { color: var(--text); }

/* ─── COOKIE ──────────────────────────────────── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--bg-card2); border-top: 1px solid var(--border);
  padding: 14px 28px; display: none;
  align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-muted);
}
.cookie-btn { padding: 7px 16px; border-radius: 6px; cursor: pointer; font-size: .8rem; font-weight: 600; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-family: 'Inter', sans-serif; }
.cookie-btn-accept { background: var(--accent); color: white; border-color: var(--accent); }

/* ─── LOADING ─────────────────────────────────── */
.loading { display: flex; justify-content: center; padding: 80px 0; grid-column: 1/-1; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── HERO VIP PROMO ─────────────────────────── */
.hero-inner { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hero-vip-promo {
  display: flex; align-items: center; gap: 10px;
  background: rgba(248,196,0,0.08);
  border: 1px solid rgba(248,196,0,0.25);
  border-radius: 10px; padding: 10px 18px;
  color: #f1c40f; text-decoration: none;
  font-size: .83rem; font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background .15s;
}
.hero-vip-promo:hover { background: rgba(248,196,0,0.15); }
.hero-vip-cta {
  background: #f1c40f; color: #0d1117;
  padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 800;
  margin-left: 6px; white-space: nowrap;
}

/* ─── NEWS TICKER ─────────────────────────────── */
#newsTickerWrap {
  position: relative; z-index: 1;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  overflow-x: auto;
}
.news-ticker-inner {
  display: flex; gap: 0;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-ticker-inner::-webkit-scrollbar { display: none; }
.news-tick-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 20px;
  border-right: 1px solid var(--border);
  min-width: 240px; max-width: 360px;
  flex-shrink: 0;
  cursor: default;
  transition: background .15s;
}
.news-tick-item:last-child { border-right: none; }
.news-tick-item:hover { background: rgba(255,255,255,.03); }
.news-tick-item.pinned .news-tick-title { color: #f1c40f; }
.news-pin { font-size: .82rem; flex-shrink: 0; }
.news-tick-title { font-size: .82rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.news-tick-body { font-size: .75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.news-tick-date { font-size: .7rem; color: var(--text-dim); flex-shrink: 0; margin-left: auto; padding-left: 8px; }

/* ─── ADMIN LAYOUT ────────────────────────────── */
.admin-body { background: #0a0e14; }
.admin-layout { display: flex; padding-top: 54px; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #0d1117; border-right: 1px solid var(--border); position: fixed; top: 54px; left: 0; bottom: 0; overflow-y: auto; padding: 16px 10px; }
.admin-main { margin-left: 220px; flex: 1; padding: 28px 32px; }
.admin-navbar { position: fixed; top: 0; left: 0; right: 0; height: 54px; background: #0d1117; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; z-index: 100; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--text); }
.admin-nav-link { color: var(--text-muted); text-decoration: none; font-size: .8rem; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; transition: all .15s; }
.admin-nav-link:hover { color: var(--text); border-color: var(--border-h); }

/* ─── RARITY PRODUCT CARDS ───────────────────────────────────────────────── */
.rarity-badge {
  display: inline-block; padding: 2px 8px; border-radius: 12px;
  font-size: .65rem; font-weight: 700; letter-spacing: .3px; width: fit-content;
  text-transform: uppercase;
}
.rarity-badge.rarity-commun     { background: rgba(170,170,170,.12); color: #aaa; border: 1px solid rgba(170,170,170,.25); }
.rarity-badge.rarity-rare       { background: rgba(14,198,1,.1);     color: #0ec601; border: 1px solid rgba(14,198,1,.3); }
.rarity-badge.rarity-epique     { background: rgba(108,52,235,.12);  color: #9b6fff; border: 1px solid rgba(108,52,235,.3); }
.rarity-badge.rarity-legendaire { background: rgba(243,156,18,.1);   color: #f39c12; border: 1px solid rgba(243,156,18,.3); }

.product-card.rarity-border-rare         { border-color: rgba(14,198,1,.3); }
.product-card.rarity-border-rare:hover   { border-color: rgba(14,198,1,.6); box-shadow: 0 12px 40px rgba(14,198,1,.12); }
.product-card.rarity-border-epique       { border-color: rgba(108,52,235,.3); }
.product-card.rarity-border-epique:hover { border-color: rgba(108,52,235,.6); box-shadow: 0 12px 40px rgba(108,52,235,.12); }
.product-card.rarity-border-legendaire       { border-color: rgba(243,156,18,.3); }
.product-card.rarity-border-legendaire:hover {
  border-color: rgba(243,156,18,.7);
  box-shadow: 0 12px 40px rgba(243,156,18,.18), 0 0 24px rgba(243,156,18,.08);
  transform: translateY(-5px);
}
.produit-detail-link {
  font-size: .74rem; color: var(--text-dim); text-decoration: none; transition: color .15s;
}
.produit-detail-link:hover { color: var(--accent); }

/* ─── LANG SWITCHER ──────────────────────────────────────────────────────── */
.lang-switcher { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: .72rem; font-weight: 700; padding: 4px 9px;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s; letter-spacing: .3px;
}
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { background: rgba(255,255,255,.06); color: var(--text); }

/* ─── PRODUIT PAGE ────────────────────────────────────────────────────────── */
.produit-wrap { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 84px 24px 80px; }
.produit-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: .85rem; margin-bottom: 28px; transition: color .15s; }
.produit-back:hover { color: var(--text); }
.produit-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.produit-img-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.produit-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.produit-img-placeholder { font-size: 6rem; color: var(--text-dim); }
.produit-info { display: flex; flex-direction: column; gap: 16px; }
.produit-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.produit-title { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.produit-desc { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.produit-price-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.produit-price     { font-size: 2rem; font-weight: 800; color: #ffc107; }
.produit-price-eur { font-size: 2rem; font-weight: 800; color: var(--accent); }
.produit-price-old { font-size: 1rem; color: var(--text-dim); text-decoration: line-through; }
.produit-stock-row  { font-size: .82rem; color: var(--text-muted); }
.produit-stock-ok   { color: var(--green); font-weight: 600; }
.produit-stock-low  { color: var(--orange); font-weight: 600; }
.produit-stock-none { color: #e74c3c; font-weight: 600; }
.produit-vip-box { padding: 12px 16px; border-radius: 8px; background: rgba(241,196,15,0.08); border: 1px solid rgba(241,196,15,0.2); font-size: .82rem; color: #f1c40f; line-height: 1.5; }
.btn-produit-buy { background: var(--accent); color: #fff; border: none; padding: 14px 28px; border-radius: 9px; font-size: .95rem; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .15s; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.btn-produit-buy:hover:not(:disabled) { background: var(--accent-h); transform: translateY(-2px); }
.btn-produit-buy:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; transform: none; }
@media (max-width: 720px) {
  .produit-layout { grid-template-columns: 1fr; }
  .produit-img-box { max-width: 320px; margin: 0 auto; }
}

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .hero { height: 200px; }
  .hero-inner { padding: 20px; }
  .page-content { padding: 20px 16px 60px; }
  .shop-toolbar { flex-direction: column; }
  .search-input { width: 100%; }
  .search-wrap { width: 100%; }
  .navbar-links { display: none; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  #cartSidebar { width: 100%; right: -100%; }
}
