/* ════════════════════════════════════════════
   AlloPipo — CSS v5
   Palette : Flame #F2542D + Island Paradise #6EC6CA
   Typographie : style Amazon — Inter, propre, lisible
   ════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Palette */
  --flame:        #F2542D;
  --flame-dark:   #C93D1A;
  --flame-light:  #FDEEE9;
  --flame-mid:    #F87A58;
  --island:       #6EC6CA;
  --island-dark:  #3A9EA3;
  --island-deep:  #1D6E72;
  --island-light: #E8F7F8;
  --island-mid:   #A8DCE0;

  /* Texte — hiérarchie Amazon */
  --text-pri:  #0F1111;   /* titres, labels importants */
  --text-sec:  #565959;   /* corps de texte, descriptions */
  --text-ter:  #767676;   /* métadonnées, placeholders */
  --text-link: #007185;   /* liens Amazon bleu-vert */
  --text-link-hover: #C7511F; /* hover lien = orange Amazon */

  /* Surfaces */
  --surf:      #FFFFFF;
  --surf2:     #F7FAFA;
  --surf3:     #EEF6F7;
  --bg-page:   #EAEFF0;

  /* Bordures */
  --bdr:       #D5D9D9;
  --bdr2:      #B0B8B8;
  --bdr-focus: var(--island);

  /* States */
  --success:       #067D62;
  --success-light: #D4EDDA;
  --warning:       #FF9900;  /* jaune Amazon */
  --warning-light: #FFF3CD;
  --danger:        var(--flame);
  --danger-light:  var(--flame-light);

  /* Shape */
  --radius:    4px;   /* Amazon = très peu de rounding */
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10);
  --shadow:    0 2px 8px rgba(0,0,0,.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; } /* Amazon base = 14px */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-pri);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { flex: 1; }

/* ── Hiérarchie typographique claire — style Amazon ── */
h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-pri);
  letter-spacing: -0.3px;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-pri);
}
h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-pri);
}
h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-pri);
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sec);
}
small { font-size: 12px; color: var(--text-ter); }
strong { font-weight: 600; }

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 20px 16px; }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  background: var(--island-deep);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 16px; display: flex;
  align-items: center; gap: 16px; height: 60px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px;
  background: var(--flame); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; font-family: 'Inter', sans-serif;
}
.logo-text {
  font-size: 20px; font-weight: 800; color: #fff;
  font-family: 'Inter', sans-serif; letter-spacing: -0.5px;
}
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a {
  padding: 6px 12px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.85); transition: all .12s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.15); color: #fff;
}
.nav-dash { background: rgba(242,84,45,.2) !important; color: #fff !important; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-user {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.9); padding: 5px 12px;
  background: rgba(255,255,255,.12); border-radius: 4px; white-space: nowrap;
}
.notif-bell { position: relative; padding: 6px; color: #fff; font-size: 18px; line-height: 1; }
.notif-badge {
  position: absolute; top: 0; right: 0;
  background: var(--flame); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 8px; padding: 1px 4px;
  min-width: 16px; text-align: center; line-height: 14px;
}
.nav-burger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.nav-actions-mobile { display: none; }

/* ════════════════════════════════════════════
   BUTTONS — style Amazon
════════════════════════════════════════════ */
.btn-primary {
  background: var(--flame); color: #fff; border: 1px solid var(--flame-dark);
  border-radius: var(--radius); padding: 9px 20px;
  font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background .1s; display: inline-block;
  text-align: center; line-height: 1.4; letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--flame-dark); }

.btn-outline {
  background: var(--surf); color: var(--island-deep);
  border: 1px solid var(--island-dark);
  border-radius: var(--radius); padding: 8px 18px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  display: inline-block; transition: all .1s;
}
.btn-outline:hover { background: var(--island-light); }

.btn-sm {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--radius); padding: 5px 12px;
  font-size: 13px; font-weight: 500; color: var(--text-link);
  cursor: pointer; display: inline-block; transition: all .1s;
}
.btn-sm:hover { background: var(--surf2); color: var(--text-link-hover); }

.btn-success { background: var(--success); color: #fff; border: 1px solid #056650; border-radius: var(--radius); padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-danger  { background: var(--flame); color: #fff; border: 1px solid var(--flame-dark); border-radius: var(--radius); padding: 5px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-warning { background: var(--warning); color: var(--text-pri); border: 1px solid #c87000; border-radius: var(--radius); padding: 7px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.w-full { width: 100%; text-align: center; display: block; }

/* ════════════════════════════════════════════
   ALERTS
════════════════════════════════════════════ */
.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-size: 13px; line-height: 1.55; }
.alert-success { background: var(--success-light); color: #0a4a3a; border: 1px solid #a3d9b1; }
.alert-error   { background: var(--flame-light); color: var(--flame-dark); border: 1px solid #f5b8a0; }
.alert-info    { background: var(--island-light); color: var(--island-deep); border: 1px solid var(--island-mid); }

.alert-item { display: flex; align-items: flex-start; gap: 10px; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 6px; font-size: 13px; line-height: 1.55; }
.alert-item.danger  { background: var(--flame-light); border-left: 3px solid var(--flame); }
.alert-item.warning { background: var(--warning-light); border-left: 3px solid var(--warning); }
.alert-item.info    { background: var(--island-light); border-left: 3px solid var(--island); }
.alert-item strong  { display: block; color: var(--text-pri); font-weight: 600; font-size: 13px; }

/* ════════════════════════════════════════════
   BADGES
════════════════════════════════════════════ */
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; border-radius: 3px; padding: 2px 7px; }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-info    { background: var(--island-light); color: var(--island-deep); }
.badge-warning { background: var(--warning-light); color: #7a5400; }
.badge-danger  { background: var(--flame-light); color: var(--flame-dark); }

/* ════════════════════════════════════════════
   FORMS — style Amazon
════════════════════════════════════════════ */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-wide { max-width: 660px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg.full { grid-column: 1 / -1; }
.fg label, .form-label-section {
  font-size: 13px; font-weight: 700;
  color: var(--text-pri); letter-spacing: 0;
}
.fi {
  border: 1px solid var(--bdr); border-radius: var(--radius);
  padding: 9px 12px; font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--text-pri); background: var(--surf);
  width: 100%; transition: border-color .1s, box-shadow .1s; line-height: 1.4;
}
.fi:focus { outline: none; border-color: var(--island); box-shadow: 0 0 0 3px rgba(110,198,202,.25); }
textarea.fi { resize: vertical; min-height: 80px; }
.form-hint  { font-size: 12px; color: var(--text-ter); line-height: 1.4; }
.form-links { font-size: 13px; color: var(--text-sec); text-align: center; line-height: 1.7; }
.form-links a { color: var(--text-link); }
.form-links a:hover { color: var(--text-link-hover); text-decoration: underline; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; }
.form-block { border: 1px solid var(--bdr); border-radius: var(--radius); padding: 14px; background: var(--surf2); }
.search-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; }

/* ════════════════════════════════════════════
   AUTH
════════════════════════════════════════════ */
.auth-card {
  max-width: 400px; margin: 40px auto;
  background: var(--surf); border-radius: var(--radius-md);
  border: 1px solid var(--bdr); padding: 28px 24px;
  box-shadow: var(--shadow);
}
.auth-card-wide { max-width: 560px; }
.auth-logo { font-size: 18px; font-weight: 800; color: var(--island-deep); margin-bottom: 4px; }
.auth-title { font-size: 24px; font-weight: 700; color: var(--text-pri); margin-bottom: 20px; letter-spacing: -0.3px; }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--island-deep) 0%, #25898E 60%, var(--island-dark) 100%);
  border-radius: var(--radius-lg); padding: 48px 40px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--flame); opacity: 0.10; border-radius: 50%;
}
.hero-content h1 {
  font-size: 32px; font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 12px;
}
.hero-content p {
  color: rgba(255,255,255,.8); font-size: 15px;
  line-height: 1.65; margin-bottom: 24px; max-width: 500px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-primary { background: var(--flame); border-color: var(--flame-dark); font-size: 15px; padding: 10px 22px; }
.hero .btn-primary:hover { background: var(--flame-dark); }
.hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.1); }
.hero .btn-outline:hover { background: rgba(255,255,255,.2); }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 26px; font-weight: 800; color: var(--flame-mid); line-height: 1; letter-spacing: -0.5px; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 400; }

/* ════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════ */
.section-block {
  background: var(--surf); border-radius: var(--radius-md);
  border: 1px solid var(--bdr); padding: 18px 20px;
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.section-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-title { font-size: 17px; font-weight: 700; color: var(--text-pri); }
.page-header { margin-bottom: 18px; }
.page-header h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.3px; }
.text-muted { color: var(--text-ter); font-size: 12px; line-height: 1.5; }
.price { color: var(--island-dark); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ════════════════════════════════════════════
   KPIs
════════════════════════════════════════════ */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.kpi-card { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--radius-md); padding: 16px 14px; box-shadow: var(--shadow-sm); }
.kpi-icon { font-size: 22px; margin-bottom: 8px; line-height: 1; }
.kpi-n { font-size: 22px; font-weight: 700; color: var(--text-pri); line-height: 1.1; letter-spacing: -0.5px; }
.kpi-l { font-size: 12px; color: var(--text-ter); margin-top: 4px; line-height: 1.4; }
.kpi-trend { font-size: 12px; color: var(--success); margin-top: 6px; font-weight: 600; }
.kpi-card.green .kpi-n { color: var(--island-dark); }
.kpi-card.amber .kpi-n { color: var(--warning); }
.kpi-card.coral .kpi-n { color: var(--flame); }
.kpi-card.blue  .kpi-n { color: var(--island-deep); }

/* ════════════════════════════════════════════
   DASHBOARD
════════════════════════════════════════════ */
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.dash-title { font-size: 22px; font-weight: 700; color: var(--text-pri); letter-spacing: -0.3px; }
.dash-sub { font-size: 13px; color: var(--text-sec); margin-top: 3px; }

/* ════════════════════════════════════════════
   PACKS GRID — style fiche produit Amazon
════════════════════════════════════════════ */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px; margin-bottom: 16px;
}
.pack-card {
  background: var(--surf); border: 1px solid var(--bdr);
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; transition: box-shadow .15s;
  box-shadow: var(--shadow-sm);
}
.pack-card:hover { border-color: var(--bdr2); box-shadow: var(--shadow); }
.pack-img    { width: 100%; height: 135px; object-fit: cover; }
.pack-img-fb { width: 100%; height: 135px; background: var(--island-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.pack-badge  {
  position: absolute; top: 8px; left: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: 3px; padding: 3px 8px; pointer-events: none;
}
.urgence-danger  { background: var(--flame); color: #fff; }
.urgence-warning { background: var(--warning); color: var(--text-pri); }
.urgence-ok      { background: var(--island-dark); color: #fff; }
.pack-body { padding: 10px 12px 6px; }
.pack-cat  {
  font-size: 11px; color: var(--island-dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-bottom: 3px;
}
.pack-name {
  font-size: 14px; font-weight: 600; color: var(--text-pri);
  line-height: 1.4; margin: 3px 0 5px;
}
/* Amazon : le titre produit est un lien bleu au survol */
.pack-name a:hover { color: var(--text-link-hover); text-decoration: underline; }
.pack-store { font-size: 12px; color: var(--text-sec); margin-bottom: 4px; line-height: 1.4; }
.pack-stars { font-size: 12px; color: var(--warning); line-height: 1.4; }
.pack-footer { padding: 8px 12px 10px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--bdr); }
.price-old    { font-size: 11px; color: var(--text-ter); text-decoration: line-through; display: block; }
.price-new    { font-size: 18px; font-weight: 700; color: var(--island-deep); line-height: 1.2; }
.price-expire { font-size: 11px; color: var(--flame); display: block; margin-top: 1px; }
.price-big    { font-size: 22px; font-weight: 700; color: var(--island-deep); }
.pack-disc    { background: var(--flame); color: #fff; font-size: 12px; font-weight: 700; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-add-cart {
  width: 100%; padding: 9px;
  background: var(--island-light); color: var(--island-deep);
  border: none; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .1s; font-family: 'Inter', sans-serif;
}
.btn-add-cart:hover { background: var(--island); color: #fff; }

/* ════════════════════════════════════════════
   PACK DETAIL
════════════════════════════════════════════ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 20px; align-items: start; }
.detail-img    { width: 100%; border-radius: var(--radius-md); max-height: 360px; object-fit: cover; border: 1px solid var(--bdr); }
.detail-img-fb { width: 100%; height: 300px; background: var(--island-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.detail-badge  { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 3px; padding: 4px 10px; margin-top: 10px; }
.detail-title  { font-size: 21px; font-weight: 700; color: var(--text-pri); margin: 6px 0 5px; line-height: 1.3; }
.detail-store  { font-size: 13px; color: var(--text-link); margin-bottom: 6px; }
.detail-store:hover { color: var(--text-link-hover); text-decoration: underline; }
.detail-contenu { background: var(--surf2); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; border: 1px solid var(--bdr); }
.detail-contenu strong { display: block; font-size: 12px; font-weight: 700; color: var(--text-sec); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.detail-contenu ul { padding-left: 16px; font-size: 13px; color: var(--text-sec); line-height: 1.9; }
.detail-price-block { display: flex; align-items: baseline; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.price-disc { background: var(--flame); color: #fff; font-size: 12px; font-weight: 700; border-radius: 3px; padding: 3px 9px; }
.detail-meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--text-sec); margin: 10px 0; line-height: 1.6; }
.reviews-list { display: flex; flex-direction: column; gap: 10px; }
.review-item { background: var(--surf); border-radius: var(--radius); padding: 12px 14px; border: 1px solid var(--bdr); }
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; flex-wrap: wrap; }
.review-top strong { font-size: 13px; font-weight: 600; }
.review-body { font-size: 13px; color: var(--text-sec); line-height: 1.6; }

/* ════════════════════════════════════════════
   CART BAR
════════════════════════════════════════════ */
.cart-bar { position: sticky; bottom: 0; z-index: 50; padding: 8px 0; }
.cart-inner {
  background: var(--island-deep); color: #fff;
  border-radius: var(--radius-md); padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; box-shadow: 0 -3px 12px rgba(0,0,0,.2);
  border-top: 3px solid var(--flame);
}
.cart-label { font-size: 12px; opacity: .7; margin-bottom: 1px; }
.cart-total { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.cart-action { background: var(--flame); border-radius: var(--radius); padding: 7px 14px; font-size: 13px; font-weight: 600; }

/* ════════════════════════════════════════════
   MODAL PAIEMENT
════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: none; align-items: flex-end; justify-content: center; }
.modal-overlay.open { display: flex; }
.modal { background: var(--surf); border-radius: 12px 12px 0 0; width: 100%; max-width: 500px; padding: 24px 20px 32px; animation: slideUp .2s ease; max-height: 92vh; overflow-y: auto; border-top: 4px solid var(--flame); }
@keyframes slideUp { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-title { font-size: 18px; font-weight: 700; color: var(--text-pri); margin-bottom: 3px; }
.modal-sub { font-size: 13px; color: var(--text-sec); margin-bottom: 16px; line-height: 1.5; }
.modal-close { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-ter); }
.recap-rows { background: var(--island-light); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 16px; border: 1px solid var(--bdr2); }
.recap-row { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; line-height: 1.5; color: var(--text-sec); }
.recap-row.total { font-size: 15px; font-weight: 700; border-top: 1px solid var(--bdr2); margin-top: 5px; padding-top: 8px; color: var(--island-deep); }
.mm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 16px; }
.mm-opt { border: 1px solid var(--bdr); border-radius: var(--radius); padding: 10px 6px; text-align: center; cursor: pointer; transition: all .12s; background: var(--surf); }
.mm-opt:hover { border-color: var(--island); background: var(--island-light); }
.mm-opt.selected { border: 2px solid var(--flame); background: var(--flame-light); }
.mm-opt .mm-icon { font-size: 22px; display: block; margin-bottom: 4px; line-height: 1; }
.mm-opt .mm-name { font-size: 12px; font-weight: 600; color: var(--text-pri); }
.phone-row { display: flex; gap: 8px; margin-bottom: 16px; }
.phone-prefix { background: var(--surf2); border: 1px solid var(--bdr); border-radius: var(--radius); padding: 9px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.phone-input { flex: 1; border: 1px solid var(--bdr); border-radius: var(--radius); padding: 9px 12px; font-size: 14px; font-family: 'Inter', sans-serif; background: var(--surf); color: var(--text-pri); }
.phone-input:focus { outline: none; border-color: var(--island); box-shadow: 0 0 0 3px rgba(110,198,202,.2); }
.cinetpay-note { text-align: center; font-size: 12px; color: var(--text-ter); margin-top: 8px; line-height: 1.5; }
.cinetpay-note strong { color: var(--island-dark); }
.confirm-icon { width: 56px; height: 56px; background: var(--island-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.confirm-title { font-size: 18px; font-weight: 700; color: var(--text-pri); margin-bottom: 6px; }
.confirm-ref { background: var(--surf2); border-radius: var(--radius); padding: 8px 14px; font-size: 13px; color: var(--text-sec); display: inline-block; margin-bottom: 14px; border: 1px solid var(--bdr); }
.confirm-ref strong { color: var(--island-dark); font-weight: 700; }

/* ════════════════════════════════════════════
   TABLES — style Amazon
════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 9px 12px;
  font-size: 11px; font-weight: 700; color: var(--text-sec);
  background: var(--surf2); border-bottom: 1px solid var(--bdr);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--bdr); color: var(--text-pri); vertical-align: middle; line-height: 1.45; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surf2); }
code { font-size: 12px; background: var(--island-light); padding: 2px 6px; border-radius: 3px; font-family: 'SFMono-Regular','Consolas',monospace; border: 1px solid var(--bdr2); color: var(--island-deep); }
.tbdg { font-size: 11px; padding: 2px 7px; border-radius: 3px; font-weight: 600; }
.tok { background: var(--success-light); color: var(--success); }
.twn { background: var(--warning-light); color: #7a5400; }
.tex { background: var(--flame-light); color: var(--flame-dark); }

/* ════════════════════════════════════════════
   FILTERS
════════════════════════════════════════════ */
.frow { display: flex; gap: 6px; flex-wrap: wrap; }
.fc {
  padding: 5px 12px; border: 1px solid var(--bdr);
  background: var(--surf); border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--text-sec);
  cursor: pointer; transition: all .1s; display: inline-block;
}
.fc:hover, .fc.on {
  background: var(--island-light); color: var(--island-deep);
  border-color: var(--island-dark); font-weight: 600;
}

/* ════════════════════════════════════════════
   TRACKING
════════════════════════════════════════════ */
.tracking-steps { display: flex; flex-direction: column; }
.tracking-step { display: flex; gap: 12px; padding-bottom: 18px; position: relative; align-items: flex-start; }
.tracking-step:last-child { padding-bottom: 0; }
.tracking-step::before { content: ''; position: absolute; left: 10px; top: 24px; bottom: 0; width: 1px; background: var(--bdr); }
.tracking-step:last-child::before { display: none; }
.step-icon { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; z-index: 1; background: var(--surf2); border: 1px solid var(--bdr); }
.tracking-step.done   .step-icon { background: var(--island); color: #fff; border-color: var(--island); }
.tracking-step.active .step-icon { background: var(--flame); color: #fff; border-color: var(--flame); }
.step-label { font-size: 14px; font-weight: 600; color: var(--text-pri); line-height: 1.4; }
.step-desc  { font-size: 12px; color: var(--text-sec); margin-top: 2px; line-height: 1.5; }

/* ════════════════════════════════════════════
   ORDERS
════════════════════════════════════════════ */
.order-total { padding: 10px 14px; text-align: right; font-size: 14px; font-weight: 600; background: var(--island-light); border-top: 1px solid var(--bdr); }
.items-list { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--radius); overflow: hidden; }
.order-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--bdr); font-size: 13px; line-height: 1.45; }
.order-item-row:last-of-type { border-bottom: none; }
.item-thumb    { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--bdr); }
.item-thumb-fb { width: 44px; height: 44px; border-radius: 4px; background: var(--island-light); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.item-info     { flex: 1; }
.item-info strong { font-size: 13px; font-weight: 600; }
.item-price    { font-size: 14px; font-weight: 700; color: var(--island-deep); }

/* ════════════════════════════════════════════
   NOTIFICATIONS
════════════════════════════════════════════ */
.notif-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--bdr); align-items: flex-start; }
.notif-item:last-child { border-bottom: none; }
.notif-unread { background: var(--island-light); }
.notif-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.notif-expiration { background: var(--flame-light); }
.notif-commande   { background: var(--island-light); }
.notif-paiement   { background: var(--warning-light); }
.notif-systeme    { background: var(--surf3); }
.notif-title { font-size: 13px; font-weight: 600; color: var(--text-pri); line-height: 1.4; }
.notif-corps { font-size: 12px; color: var(--text-sec); margin-top: 2px; line-height: 1.5; }
.notif-time  { font-size: 11px; color: var(--text-ter); margin-top: 4px; }

/* ════════════════════════════════════════════
   STORES
════════════════════════════════════════════ */
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.store-card { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--radius-md); padding: 18px 14px; text-align: center; transition: box-shadow .15s; box-shadow: var(--shadow-sm); }
.store-card:hover { border-color: var(--bdr2); box-shadow: var(--shadow); }
.store-icon { font-size: 28px; margin-bottom: 8px; }
.store-name { font-size: 13px; font-weight: 600; color: var(--text-pri); line-height: 1.35; }
.store-loc  { font-size: 12px; color: var(--text-ter); margin-top: 4px; line-height: 1.4; }
.store-info-bar { display: flex; align-items: center; gap: 12px; background: var(--island-light); border-radius: var(--radius); padding: 10px 14px; border: 1px solid var(--bdr); margin-top: 10px; }

/* DOTS LÉGENDE RAYON */
.legend-row { display: flex; gap: 14px; margin-bottom: 10px; font-size: 12px; color: var(--text-sec); flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; vertical-align: middle; flex-shrink: 0; }
.dot-r { background: var(--flame); }
.dot-a { background: var(--warning); }
.dot-g { background: var(--island-dark); }

/* ════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════ */
.how-it-works { background: var(--surf); border-radius: var(--radius-md); border: 1px solid var(--bdr); padding: 28px 24px; margin-bottom: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.how-it-works h2 { font-size: 20px; font-weight: 700; margin-bottom: 22px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step { padding: 6px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--flame); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.step-t { font-size: 14px; font-weight: 600; color: var(--text-pri); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-sec); line-height: 1.6; }

/* ════════════════════════════════════════════
   QUICK ACTIONS
════════════════════════════════════════════ */
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.quick-btn { padding: 8px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; display: inline-block; transition: all .1s; font-family: 'Inter', sans-serif; border: 1px solid transparent; }
.quick-btn:hover { opacity: .88; }
.quick-btn.green  { background: var(--island-light); color: var(--island-deep); border-color: var(--island-mid); }
.quick-btn.amber  { background: var(--flame-light); color: var(--flame-dark); border-color: #f5b8a0; }
.quick-btn.blue   { background: var(--island-light); color: var(--island-deep); border-color: var(--island-mid); }
.quick-btn.purple { background: #F5F3FF; color: #5B21B6; border-color: #DDD6FE; }

/* ════════════════════════════════════════════
   STORE ROWS / STATUS SELECT
════════════════════════════════════════════ */
.store-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bdr); font-size: 13px; flex-wrap: wrap; gap: 8px; }
.store-row:last-child { border-bottom: none; }
.row-actions { display: flex; gap: 6px; }
.status-select { border: 1px solid var(--bdr); border-radius: var(--radius); padding: 4px 8px; font-size: 12px; background: var(--surf); color: var(--text-pri); cursor: pointer; font-family: 'Inter', sans-serif; }

/* CHART */
.chart-card { background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.chart-card h3 { font-size: 15px; font-weight: 700; color: var(--text-pri); margin-bottom: 14px; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 48px 16px; color: var(--text-sec); }
.empty-icon { font-size: 3rem; margin-bottom: 12px; line-height: 1; }
.empty-state p { font-size: 14px; line-height: 1.7; color: var(--text-sec); }
.empty-state a { color: var(--text-link); font-weight: 500; }
.empty-state a:hover { color: var(--text-link-hover); text-decoration: underline; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer { background: var(--island-deep); color: rgba(255,255,255,.8); margin-top: 40px; padding: 32px 0 0; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 16px 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-logo { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.3px; }
.footer-inner p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-inner a, .footer-inner span { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 5px; line-height: 1.6; transition: color .1s; }
.footer-inner a:hover { color: var(--flame-mid); text-decoration: underline; }
.footer-inner strong { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.footer-bottom { text-align: center; font-size: 12px; padding: 14px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 960px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--island-deep); padding: 12px 16px; gap: 2px; z-index: 99; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
  .nav-actions-mobile { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; }
  .nav-actions-mobile a { color: rgba(255,255,255,.85); font-size: 14px; padding: 5px 0; }
  .packs-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .hero { padding: 32px 20px; }
  .hero-content h1 { font-size: 24px; }
  .form-grid, .form-row { grid-template-columns: 1fr; }
  .fg.full { grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .container { padding: 16px 12px; }
  .section-block { padding: 16px 14px; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .packs-grid { grid-template-columns: 1fr; }
  .hero { padding: 24px 16px; }
  .hero-content h1 { font-size: 21px; }
  .auth-card { margin: 20px 8px; padding: 24px 16px; }
}
/* ════════════════════════════════════════════
   AJOUT — à coller à la fin de css/app.css
   Style du logo image dans la navbar
   ════════════════════════════════════════════ */
.logo-img {
  height: 38px;
  width: auto;
  border-radius: 6px;
  display: block;
}
@media (max-width: 480px) {
  .logo-img { height: 32px; }
}
