/* DJOULAYA — feuille de style (charte graphique v1.0) */
:root {
  --dj-vert: #0D4A2B;
  --dj-vert-profond: #05281A;
  --dj-jaune: #F6C810;
  --dj-jaune-hover: #DDB40E;
  --dj-rouge: #E0090D;
  --dj-noir: #111111;
  --dj-vert-clair: #E8F1EC;
  --dj-gris-fond: #F5F6F5;
  --dj-gris-bordure: #E3E6E4;
  --dj-gris-texte: #5F6B65;
  --dj-blanc: #FFFFFF;
  --radius: 8px;
  --radius-card: 12px;
  --shadow: 0 1px 3px rgba(5, 40, 26, .08), 0 1px 2px rgba(5, 40, 26, .04);
  --shadow-lg: 0 8px 24px rgba(5, 40, 26, .12);
  --gutter: 16px;
  --font: Montserrat, "Segoe UI", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--dj-noir); background: var(--dj-gris-fond); }
@media (min-width: 768px) { body { font-size: 16px; } }
img { max-width: 100%; display: block; }
a { color: var(--dj-vert); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--dj-vert-profond); }
h1 { font-size: 22px; font-weight: 800; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; }
@media (min-width: 768px) { h1 { font-size: 30px; } h2 { font-size: 28px; } h3 { font-size: 20px; } }
p { margin: 0 0 1em; }
small, .small { font-size: 12px; }
@media (min-width: 768px) { small, .small { font-size: 13px; } }
.muted { color: var(--dj-gris-texte); }
.icon { flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--dj-vert); outline-offset: 2px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid transparent;
  border-radius: var(--radius); font: 600 14px/1 var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
@media (min-width: 768px) { .btn { font-size: 16px; } }
.btn-primary { background: var(--dj-jaune); color: var(--dj-vert-profond); border-radius: 999px; }
.btn-primary:hover { background: var(--dj-jaune-hover); }
.btn-green { background: var(--dj-vert); color: #fff; }
.btn-green:hover { background: var(--dj-vert-profond); }
.btn-outline { background: transparent; color: var(--dj-vert); border-color: var(--dj-vert); }
.btn-outline:hover { background: var(--dj-vert-clair); }
.btn-ghost { background: transparent; color: var(--dj-gris-texte); }
.btn-ghost:hover { background: var(--dj-gris-fond); color: var(--dj-noir); }
.btn-danger { background: #fff; color: var(--dj-rouge); border-color: #F3B5B6; }
.btn-danger:hover { background: #FDECEC; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--dj-vert); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Formulaires ---------- */
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--dj-vert-profond); }
.field { margin-bottom: 16px; }
.field .hint { font-weight: 400; color: var(--dj-gris-texte); font-size: 12px; margin-top: 4px; }
input:not([type]), input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius); background: #fff;
  font: 400 15px var(--font); color: var(--dj-noir); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--dj-vert); box-shadow: 0 0 0 3px var(--dj-vert-clair); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--dj-noir); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--dj-vert); flex-shrink: 0; }
.grid-2 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.input-group { display: flex; }
.input-group input { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Badges / alertes ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-success, .badge-ok { background: var(--dj-vert-clair); color: var(--dj-vert); }
.badge-info { background: #E6EEF7; color: #1D4E89; }
.badge-warn { background: #FEF6D8; color: #7A5E00; }
.badge-danger { background: #FDECEC; color: #B00609; }
.badge-muted { background: var(--dj-gris-fond); color: var(--dj-gris-texte); border: 1px solid var(--dj-gris-bordure); }
.badge-verified { background: var(--dj-vert-clair); color: var(--dj-vert); }
.flash-zone { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 32px); max-width: 520px; display: grid; gap: 8px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; background: #fff; border: 1px solid var(--dj-gris-bordure); border-left-width: 4px; box-shadow: var(--shadow-lg); }
.alert-success { border-left-color: var(--dj-vert); }
.alert-error { border-left-color: var(--dj-rouge); }
.alert-info { border-left-color: var(--dj-jaune); }
.alert .close { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--dj-gris-texte); padding: 0; }
.notice { padding: 12px 14px; border-radius: var(--radius); background: var(--dj-vert-clair); color: var(--dj-vert-profond); font-size: 14px; }
.notice-warn { background: #FEF6D8; color: #5C4600; }
.notice-danger { background: #FDECEC; color: #8A0507; }

/* ---------- En-tête ---------- */
.topbar { background: var(--dj-vert-profond); color: #fff; font-size: 12px; text-align: center; padding: 6px var(--gutter); }
.topbar a { color: var(--dj-jaune); }
.header { background: #fff; border-bottom: 1px solid var(--dj-gris-bordure); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 12px; height: 60px; }
@media (min-width: 900px) { .header-main { height: 76px; gap: 32px; } }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none !important; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-name strong { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--dj-vert-profond); }
.brand-name span { font-size: 7.5px; font-weight: 600; letter-spacing: 1.6px; color: var(--dj-gris-texte); margin-top: 4px; }
.brand-name span i { color: var(--dj-jaune); font-style: normal; }
@media (min-width: 900px) { .brand-name strong { font-size: 24px; } .brand-name span { font-size: 8.5px; } }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); border: 0; background: none; color: var(--dj-vert-profond); cursor: pointer; position: relative; text-decoration: none !important; }
.icon-btn:hover { background: var(--dj-gris-fond); }
.search { position: relative; flex: 1; max-width: 640px; }
.search form { display: flex; }
.search input { border: 1px solid var(--dj-gris-bordure); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); min-height: 44px; }
.search button { width: 52px; border: 0; background: var(--dj-vert); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.search button:hover { background: var(--dj-vert-profond); }
.header .search-desktop { display: none; }
@media (min-width: 900px) { .header .search-desktop { display: block; } }
.search-mobile { padding: 0 0 10px; }
@media (min-width: 900px) { .search-mobile { display: none; } }
.suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 50; max-height: 70vh; overflow: auto; }
.suggest h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--dj-gris-texte); margin: 10px 12px 4px; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--dj-noir); text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--dj-vert-clair); }
.suggest img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; background: var(--dj-gris-fond); }
.suggest .price { margin-left: auto; color: var(--dj-vert); font-weight: 700; font-size: 13px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.account-link { display: none; align-items: center; gap: 8px; color: var(--dj-vert-profond); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: var(--radius); }
@media (min-width: 900px) { .account-link { display: inline-flex; } .account-icon { display: none !important; } }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--dj-rouge); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .admin-top .menu-toggle { display: none !important; } }
@media (min-width: 900px) { .menu-toggle { display: none; } }

.navbar { background: #fff; border-top: 1px solid var(--dj-gris-bordure); display: none; }
@media (min-width: 900px) { .navbar { display: block; } }
.navbar .container { display: flex; align-items: center; gap: 28px; height: 52px; }
.all-cats { position: relative; }
.all-cats > button { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; background: var(--dj-vert); color: #fff; border: 0; border-radius: var(--radius); font: 600 14px var(--font); cursor: pointer; min-width: 230px; }
.all-cats > button .chev { margin-left: auto; }
.mega { position: absolute; top: calc(100% + 6px); left: 0; width: 300px; background: #fff; border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 45; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 6px; color: var(--dj-noir); font-size: 14px; }
.mega a:hover { background: var(--dj-vert-clair); text-decoration: none; }
.mega a .icon { color: var(--dj-vert); }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--dj-noir); font-weight: 500; padding: 14px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--dj-vert); border-bottom-color: var(--dj-vert); text-decoration: none; }
.nav-more { position: relative; }
.nav-more > button { background: none; border: 0; font: 500 14px var(--font); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; padding: 14px 0; }
.nav-more .mega { width: 260px; }

/* Tiroir mobile */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(5, 40, 26, .45); z-index: 60; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: 86%; max-width: 340px; background: #fff; z-index: 61; overflow-y: auto; transform: translateX(-100%); transition: transform .2s; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--dj-vert); color: #fff; }
.drawer-head .icon-btn { color: #fff; }
.drawer nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: var(--dj-noir); border-bottom: 1px solid var(--dj-gris-fond); font-size: 15px; }
.drawer nav a .icon { color: var(--dj-vert); }
.drawer h4 { margin: 16px 16px 4px; font-size: 12px; text-transform: uppercase; color: var(--dj-gris-texte); letter-spacing: .5px; }

/* ---------- Accueil ---------- */
.hero { margin: 16px 0; border-radius: var(--radius-card); overflow: hidden; position: relative; background: radial-gradient(120% 140% at 85% 50%, #1C6B40 0%, var(--dj-vert) 45%, var(--dj-vert-profond) 100%); color: #fff; }
.hero-slide { display: none; position: relative; min-height: 220px; grid-template-columns: minmax(0, 1fr); }
.hero-slide.active { display: grid; }
@media (min-width: 768px) { .hero-slide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 340px; } }
.hero-text { padding: 24px 20px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .hero-text { padding: 40px 48px; } }
.hero-kicker { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: #CFE3D7; margin-bottom: 8px; }
.hero .hero-title { overflow-wrap: break-word; color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.hero .hero-title span { color: var(--dj-jaune); display: block; }
@media (min-width: 768px) { .hero .hero-title { font-size: 44px; } }
.hero-sub { color: #E3EFE8; max-width: 460px; }
.guarantees { display: flex; gap: 18px; flex-wrap: wrap; margin: 4px 0 20px; }
.guarantee { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.3; color: #fff; }
.guarantee .icon { color: var(--dj-jaune); }
.hero-media { position: relative; display: none; align-items: center; justify-content: center; padding: 24px; }
@media (min-width: 768px) { .hero-media { display: flex; } }
.hero-media img { max-height: 300px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.hero-tagline { position: absolute; right: 24px; bottom: 24px; font-weight: 800; font-style: italic; font-size: 22px; color: #fff; transform: rotate(-6deg); text-align: right; line-height: 1.1; }
.hero-tagline span { color: var(--dj-jaune); }
.hero-art { width: 100%; max-width: 380px; }
.hero-dots { position: absolute; bottom: 12px; left: 20px; display: flex; gap: 6px; z-index: 3; }
@media (min-width: 768px) { .hero-dots { left: 48px; } }
.hero-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--dj-jaune); width: 22px; }

.ship-band { display: flex; align-items: center; gap: 14px; background: var(--dj-vert); color: #fff; border-radius: var(--radius-card); padding: 16px; margin: 16px 0; }
.ship-band .icon-circle { background: rgba(255, 255, 255, .12); }
.ship-band strong { display: block; font-size: 16px; }
.ship-band .btn { min-height: 30px; padding: 0 12px; font-size: 12px; margin-top: 6px; }
@media (min-width: 900px) { .ship-band { display: none; } }

.section { margin: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

.cat-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
@media (min-width: 640px) { .cat-icons { grid-template-columns: repeat(7, 1fr); } }
.cat-icon { min-width: 0; hyphens: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--dj-noir); font-size: 12px; font-weight: 500; line-height: 1.25; text-decoration: none !important; }
.icon-circle { width: 56px; height: 56px; border-radius: 999px; background: var(--dj-vert); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s, transform .15s; }
@media (max-width: 400px) { .cat-icon { font-size: 11px; letter-spacing: -.1px; } }
.cat-icon:hover .icon-circle { background: var(--dj-vert-profond); transform: translateY(-2px); }
.icon-circle.sm { width: 40px; height: 40px; }

.trust { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-card); padding: 14px; border: 1px solid var(--dj-gris-bordure); }
.trust-item strong { display: block; font-size: 14px; color: var(--dj-vert-profond); }
.trust-item span { font-size: 12px; color: var(--dj-gris-texte); }

/* ---------- Cartes produit ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .products.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.products.scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.products.scroller .card { flex: 0 0 44%; scroll-snap-align: start; }
@media (min-width: 640px) { .products.scroller .card { flex-basis: 30%; } }
@media (min-width: 1024px) { .products.scroller .card { flex-basis: calc(20% - 13px); } }
.card { min-width: 0; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-img.out img { opacity: .5; }
.promo-badge { position: absolute; top: 8px; left: 8px; background: var(--dj-rouge); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.out-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(17, 17, 17, .78); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.fav-btn { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--dj-gris-texte); }
.fav-btn.on { color: var(--dj-rouge); }
.fav-btn.on svg { fill: currentColor; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-shop { font-size: 11px; color: var(--dj-gris-texte); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-shop .icon { color: var(--dj-vert); }
.card-title { font-size: 13px; font-weight: 500; color: var(--dj-noir); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
@media (min-width: 768px) { .card-title { font-size: 14px; } }
.card-title:hover { color: var(--dj-vert); }
.price { font-weight: 700; color: var(--dj-vert); font-size: 16px; white-space: nowrap; }
@media (min-width: 768px) { .price { font-size: 17px; } }
.price-old { color: var(--dj-gris-texte); text-decoration: line-through; font-size: 12px; font-weight: 400; white-space: nowrap; }
.price-row { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--dj-jaune); font-size: 12px; }
.stars svg.empty { color: var(--dj-gris-bordure); }
.stars .count { color: var(--dj-gris-texte); margin-left: 4px; }
.card-add { margin-top: 8px; }
.card-add .btn { width: 100%; min-height: 36px; font-size: 13px; }

/* ---------- Boutiques ---------- */
.shops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .shops-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.shop-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 16px; text-align: center; color: var(--dj-noir); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none !important; }
.shop-card:hover { box-shadow: var(--shadow-lg); }
.shop-logo { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; background: var(--dj-vert-clair); border: 1px solid var(--dj-gris-bordure); display: flex; align-items: center; justify-content: center; color: var(--dj-vert); font-weight: 800; font-size: 22px; flex-shrink: 0; }
.shop-card strong { font-size: 14px; }
.shop-hero { border-radius: var(--radius-card); overflow: hidden; background: #fff; box-shadow: var(--shadow); margin: 16px 0; }
.shop-banner { height: 140px; background: linear-gradient(120deg, var(--dj-vert-profond), var(--dj-vert)); background-size: cover; background-position: center; }
@media (min-width: 768px) { .shop-banner { height: 220px; } }
.shop-info { display: flex; gap: 16px; padding: 0 16px 16px; align-items: flex-end; flex-wrap: wrap; }
.shop-info .shop-logo { width: 88px; height: 88px; margin-top: -44px; border: 4px solid #fff; font-size: 30px; }

/* ---------- Liste produits ---------- */
.breadcrumb { font-size: 12px; color: var(--dj-gris-texte); margin: 14px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--dj-gris-texte); }
.listing { display: grid; gap: 20px; }
@media (min-width: 1024px) { .listing { grid-template-columns: 260px 1fr; } }
.filters { background: #fff; border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow); align-self: start; }
.filters h3 { font-size: 15px; margin: 16px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters .subcats a { display: block; padding: 4px 0; color: var(--dj-noir); font-size: 14px; }
@media (max-width: 1023px) { .filters { display: none; } .filters.open { display: block; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select { width: auto; min-height: 38px; padding: 6px 10px; font-size: 14px; }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 24px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); background: #fff; border: 1px solid var(--dj-gris-bordure); color: var(--dj-noir); font-size: 14px; padding: 0 10px; }
.pagination .current { background: var(--dj-vert); color: #fff; border-color: var(--dj-vert); }
.empty { text-align: center; padding: 48px 16px; color: var(--dj-gris-texte); background: #fff; border-radius: var(--radius-card); }
.empty .icon-circle { margin-bottom: 12px; }

/* ---------- Fiche produit ---------- */
.product-page { display: grid; gap: 20px; background: #fff; border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .product-page { grid-template-columns: 1fr 1fr; padding: 28px; gap: 40px; } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--dj-gris-bordure); background: #fff; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .1s; }
.gallery-main.zoomed img { transform: scale(2.2); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 64px; height: 64px; flex-shrink: 0; border: 2px solid var(--dj-gris-bordure); border-radius: var(--radius); padding: 0; background: #fff; cursor: pointer; overflow: hidden; }
.thumbs button.active { border-color: var(--dj-vert); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: 20px; font-weight: 700; }
@media (min-width: 768px) { .product-info h1 { font-size: 26px; } }
.product-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.product-price .price { font-size: 24px; }
@media (min-width: 768px) { .product-price .price { font-size: 30px; } }
.stock-ok { color: var(--dj-vert); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.stock-out { color: var(--dj-rouge); font-weight: 600; font-size: 14px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--dj-gris-bordure); border-radius: var(--radius); font-size: 14px; cursor: pointer; background: #fff; }
.variant input:checked + span { border-color: var(--dj-vert); background: var(--dj-vert-clair); color: var(--dj-vert); font-weight: 600; }
.variant input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.variant input:focus-visible + span { outline: 2px solid var(--dj-vert); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius); overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 42px; border: 0; background: var(--dj-gris-fond); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--dj-vert-profond); }
.qty input { width: 52px; min-height: 42px; border: 0; text-align: center; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-box { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.buy-box .btn-primary { flex: 1; min-width: 180px; }
.shop-box { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius-card); margin: 16px 0; }
.shop-box .shop-logo { width: 48px; height: 48px; font-size: 18px; }
.perks { display: grid; gap: 10px; margin-top: 16px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dj-gris-texte); }
.perk .icon { color: var(--dj-vert); }
.product-tabs { background: #fff; border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow); margin-top: 20px; }
@media (min-width: 768px) { .product-tabs { padding: 28px; } }
.description { white-space: pre-line; }
.review { border-top: 1px solid var(--dj-gris-bordure); padding: 14px 0; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: var(--dj-gris-bordure); margin: 0; }
.rating-input label svg { width: 30px; height: 30px; fill: currentColor; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--dj-jaune); }
.sticky-buy { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--dj-gris-bordure); padding: 10px 16px; display: flex; gap: 12px; align-items: center; z-index: 30; box-shadow: 0 -4px 12px rgba(0, 0, 0, .06); }
@media (min-width: 900px) { .sticky-buy { display: none; } }
.has-sticky-buy { padding-bottom: 72px; }
@media (min-width: 900px) { .has-sticky-buy { padding-bottom: 0; } }

/* ---------- Panier / commande ---------- */
.checkout { display: grid; gap: 20px; margin: 16px 0 40px; align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 380px; } }
.panel { background: #fff; border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: 24px; } }
.panel h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.step-num { width: 28px; height: 28px; border-radius: 999px; background: var(--dj-vert); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--dj-gris-bordure); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--dj-gris-bordure); background: #fff; }
.cart-line .name { font-weight: 600; font-size: 14px; color: var(--dj-noir); }
.cart-line .actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.summary-row.total { border-top: 1px solid var(--dj-gris-bordure); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 18px; color: var(--dj-vert-profond); }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--dj-gris-bordure); border-radius: var(--radius); cursor: pointer; margin-bottom: 10px; font-weight: 500; color: var(--dj-noir); font-size: 14px; }
.choice:has(input:checked) { border-color: var(--dj-vert); background: var(--dj-vert-clair); }
.choice input { width: 18px; height: 18px; accent-color: var(--dj-vert); flex-shrink: 0; }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.choice .logo-pay { width: 40px; height: 28px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0; }
.pay-om { background: #FF7900; } .pay-paycard { background: #E30613; } .pay-mtn { background: #FFCB05; color: #111 !important; } .pay-card { background: #1A1F71; } .pay-cod { background: var(--dj-vert); }
.progress-bar { height: 6px; background: var(--dj-gris-bordure); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.progress-bar span { display: block; height: 100%; background: var(--dj-vert); }

/* Suivi commande */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--dj-gris-bordure); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 999px; background: var(--dj-gris-bordure); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--dj-gris-bordure); }
.timeline li.done .dot { background: var(--dj-vert); box-shadow: 0 0 0 1px var(--dj-vert); }
.timeline li.current .dot { background: var(--dj-jaune); box-shadow: 0 0 0 1px var(--dj-jaune); }
.timeline strong { display: block; font-size: 14px; }
.timeline span { font-size: 12px; color: var(--dj-gris-texte); }
.code-box { font-size: 32px; font-weight: 800; letter-spacing: 10px; color: var(--dj-vert-profond); background: var(--dj-vert-clair); border-radius: var(--radius); padding: 10px 16px; display: inline-block; }

/* ---------- Compte ---------- */
.account { display: grid; gap: 20px; margin: 16px 0 40px; align-items: start; }
@media (min-width: 900px) { .account { grid-template-columns: 240px 1fr; } }
.account-nav { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 8px; display: flex; overflow-x: auto; gap: 4px; }
@media (min-width: 900px) { .account-nav { flex-direction: column; } }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: var(--dj-noir); font-size: 14px; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; width: 100%; text-align: left; }
.account-nav a.active { background: var(--dj-vert-clair); color: var(--dj-vert); font-weight: 600; }
.account-nav a:hover { background: var(--dj-gris-fond); text-decoration: none; }
.order-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--dj-gris-bordure); flex-wrap: wrap; color: var(--dj-noir); }
.order-row:hover { text-decoration: none; }

/* ---------- Pied de page ---------- */
.footer { background: var(--dj-vert-profond); color: #D5E4DB; margin-top: 40px; padding: 36px 0 20px; font-size: 14px; }
.footer a { color: #D5E4DB; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid > div:first-child { grid-column: auto; } }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand-name strong { color: #fff; }
.footer .brand-name span { color: #A9C4B4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 16px; font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pay-logos span { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; color: #fff; }
.whatsapp { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 999px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 35; }
.has-sticky-buy .whatsapp { bottom: 84px; }
@media (min-width: 900px) { .has-sticky-buy .whatsapp { bottom: 16px; } }
.whatsapp:hover { background: #1EBE5B; }

/* Pages de contenu */
.prose { background: #fff; border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow); max-width: 860px; margin: 16px auto 40px; }
@media (min-width: 768px) { .prose { padding: 40px; } }
.prose h2 { font-size: 20px; margin-top: 1.5em; }
.prose details { border-bottom: 1px solid var(--dj-gris-bordure); padding: 14px 0; }
.prose summary { font-weight: 600; cursor: pointer; color: var(--dj-vert-profond); }
.prose details p { margin: 10px 0 0; }

/* Connexion */
.auth { max-width: 440px; margin: 32px auto 48px; }
.auth .panel { padding: 24px; }
.tabs { display: flex; gap: 4px; background: var(--dj-gris-fond); border-radius: var(--radius); padding: 4px; margin-bottom: 20px; }
.tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--dj-gris-texte); }
.tabs a.active { background: #fff; color: var(--dj-vert); box-shadow: var(--shadow); }
.tabs a:hover { text-decoration: none; }
.code-input { font-size: 24px !important; letter-spacing: 10px; text-align: center; font-weight: 700; }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--dj-gris-texte); font-weight: 600; padding: 12px; background: var(--dj-gris-fond); border-bottom: 1px solid var(--dj-gris-bordure); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--dj-gris-bordure); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #FAFBFA; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .thumb { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; border: 1px solid var(--dj-gris-bordure); background: #fff; }
.table .actions { white-space: nowrap; text-align: right; }

/* ---------- Back office ---------- */
.admin-body { background: var(--dj-gris-fond); }
.admin { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: var(--dj-vert-profond); color: #CFE0D6; flex-shrink: 0; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
.sidebar.open { transform: none; }
@media (min-width: 1024px) { .sidebar { transform: none; } .admin-main { margin-left: 250px; } }
.sidebar .brand { padding: 18px 20px; }
.sidebar .brand-name strong { color: #fff; font-size: 20px; }
.sidebar .brand-name span { color: #8FB3A0; font-size: 7.5px; letter-spacing: 1.2px; }
.sidebar nav { padding: 0 10px 20px; }
.sidebar h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: #7FA391; margin: 18px 10px 6px; }
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius); color: #DCE9E1; font-size: 14px; }
.sidebar a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; color: #fff; }
.sidebar a.active { background: var(--dj-vert); color: #fff; font-weight: 600; }
.sidebar a .count { margin-left: auto; background: var(--dj-jaune); color: var(--dj-vert-profond); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { background: #fff; border-bottom: 1px solid var(--dj-gris-bordure); height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter); position: sticky; top: 0; z-index: 40; }
.admin-top .who { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.admin-content { padding: var(--gutter); max-width: 1400px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; font-size: 22px; }
@media (min-width: 768px) { .page-head h1 { font-size: 26px; } }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (min-width: 1100px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: var(--radius-card); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; color: var(--dj-noir); }
a.stat:hover { box-shadow: var(--shadow-lg); text-decoration: none; }
.stat-label { font-size: 12px; color: var(--dj-gris-texte); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat-label .icon { color: var(--dj-vert); }
.stat-value { font-size: 20px; font-weight: 800; color: var(--dj-vert-profond); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .stat-value { font-size: 24px; } }
.stat-sub { font-size: 12px; color: var(--dj-gris-texte); }
.cols-2 { display: grid; gap: 20px; }
@media (min-width: 1100px) { .cols-2 { grid-template-columns: 1fr 1fr; } .cols-main { grid-template-columns: 1fr 360px; } }
.filters-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: flex-end; }
.filters-bar input, .filters-bar select { width: auto; min-height: 40px; padding: 8px 10px; font-size: 14px; }
.filters-bar input[type=search], .filters-bar input[type=text], .filters-bar input:not([type]) { min-width: 200px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--dj-gris-bordure); font-size: 13px; color: var(--dj-noir); }
.chip.active { background: var(--dj-vert); color: #fff; border-color: var(--dj-vert); }
.chip:hover { text-decoration: none; border-color: var(--dj-vert); }
.chip b { font-weight: 700; margin-left: 2px; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.img-tile { border: 1px solid var(--dj-gris-bordure); border-radius: var(--radius); padding: 6px; background: #fff; font-size: 12px; }
.img-tile img { aspect-ratio: 1; object-fit: contain; width: 100%; margin-bottom: 6px; }
.img-tile label { font-weight: 400; display: flex; gap: 4px; align-items: center; margin: 2px 0; font-size: 12px; }
.drop { border: 2px dashed var(--dj-gris-bordure); border-radius: var(--radius); padding: 18px; text-align: center; background: var(--dj-gris-fond); color: var(--dj-gris-texte); font-size: 14px; }
.drop input { margin-top: 8px; }
.variant-row { display: grid; grid-template-columns: 1fr 120px 90px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; position: sticky; bottom: 0; background: rgba(245, 246, 245, .96); padding: 12px 0; border-top: 1px solid var(--dj-gris-bordure); margin-top: 8px; z-index: 5; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--dj-gris-texte); }
.kv dd { margin: 0; font-weight: 500; }
.diff { background: #FEF6D8; border-radius: var(--radius); padding: 12px; font-size: 14px; }
.diff del { color: var(--dj-rouge); }
.diff ins { color: var(--dj-vert); text-decoration: none; font-weight: 600; }

/* Espaces boutique / livreur */
.space-nav { background: #fff; border-bottom: 1px solid var(--dj-gris-bordure); position: sticky; top: 60px; z-index: 30; }
.space-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.space-nav a { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--dj-gris-texte); border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.space-nav a.active { color: var(--dj-vert); border-bottom-color: var(--dj-vert); }
.space-nav a:hover { text-decoration: none; color: var(--dj-vert); }
.delivery-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 16px; display: block; color: var(--dj-noir); margin-bottom: 12px; }
.delivery-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); }

/* Impression */
@media print {
  .no-print { display: none !important; }
  body { background: #fff; }
}
.slip { max-width: 800px; margin: 0 auto; padding: 24px; background: #fff; font-size: 14px; }
.slip table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.slip th, .slip td { border: 1px solid #ccc; padding: 8px; text-align: left; }

/* Simulateur de paiement */
.paysim { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: #EEF0EF; }
.paysim .panel { max-width: 400px; width: 100%; }
