/* ============================================================
   PURPLE PROFESSIONAL LUXEMBOURG – Design Luxe
   Palette: Deep Purple + Or + Blanc + Lavande
   Font: Poppins (body) + Playfair Display (titres)
   ============================================================ */

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

:root {
  /* Palette noble : noir / blanc / rose tres clair */
  --p900: #1a1a1a;   /* noir profond - titres */
  --p800: #2a2a2a;
  --p700: #1a1a1a;   /* noir - texte fort, boutons */
  --p600: #333333;
  --p500: #c4849e;   /* rose poudre - accents */
  --p400: #d4a5b8;
  --p300: #e6c9d5;   /* rose clair */
  --p100: #f7eef2;   /* rose tres pale */
  --p50:  #fdf9fb;   /* blanc rose */
  --gold:  #b89a6a;  /* beige dore discret */
  --gold2: #d4c4a8;
  --dark:  #1a1a1a;  /* noir titres */
  --text:  #2d2d2d;  /* gris fonce texte */
  --muted: #888888;  /* gris doux */
  --border:#ededed;  /* bordures tres legeres */
  --white: #FFFFFF;
  --bg:    #fafafa;  /* blanc casse fond */
  --success:#7a9b76;
  --error:  #c97b7b;
  --warn:   #d4a574;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(91,33,182,.10);
  --shadow-lg: 0 8px 48px rgba(91,33,182,.18);
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--p600); text-decoration: none; }
a:hover { color: var(--p800); }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; color: var(--dark); }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin-bottom: .75rem; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 60px 0; }
.section-sm { padding: 36px 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--p600); color: white; border-color: var(--p600);
}
.btn-primary:hover { background: var(--p800); border-color: var(--p800); color: white; }
.btn-outline {
  background: transparent; color: var(--p600); border-color: var(--p600);
}
.btn-outline:hover { background: var(--p600); color: white; }
.btn-gold {
  background: #1a1a1a; color: white; border-color: #1a1a1a;
}
.btn-gold:hover { background: #a8883d; border-color: #a8883d; color: white; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--error); color: white; border-color: var(--error); }
.btn-danger:hover { background: #b91c1c; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: #ffffff;
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  letter-spacing: .04em;
  border-bottom: 1px solid #ededed;
}
.topbar a { color: #1a1a1a; }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 4px;
}
.topbar-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-badge { display: flex; align-items: center; gap: 5px; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: white;
  box-shadow: 0 2px 16px rgba(91,33,182,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-img { height: 44px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--p800);
}
.logo-sub {
  font-size: .68rem; font-weight: 500; color: var(--gold);
  text-transform: uppercase; letter-spacing: .08em;
}

/* --- NAV --- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .88rem; color: var(--dark);
  transition: all var(--transition); position: relative;
}
.nav-link:hover { background: var(--p50); color: var(--p700); }
.nav-link.active { color: var(--p600); background: var(--p50); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: white; border-radius: var(--radius); padding: 8px;
  min-width: 200px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--transition); z-index: 100;
  border: 1px solid var(--border);
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--text);
  transition: background var(--transition);
}
.nav-dropdown a:hover { background: var(--p50); color: var(--p700); }

/* --- HEADER ACTIONS --- */
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 6px;
  background: var(--p600); color: white; padding: 9px 18px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .88rem;
  text-decoration: none; transition: all var(--transition);
}
.cart-btn:hover { background: var(--p800); color: white; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: white; font-size: .7rem; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid white;
  transition: transform .15s;
}
.cart-badge.bump { animation: bump .25s ease; }
@keyframes bump { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }

.search-form { display: flex; }
.search-input {
  border: 1.5px solid var(--border); border-right: none;
  padding: 8px 14px; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-size: .85rem; width: 200px;
  outline: none; transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--p400); }
.search-btn {
  background: var(--p500); color: white; border: none;
  padding: 8px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer; transition: background var(--transition);
}
.search-btn:hover { background: var(--p700); }

/* Burger mobile */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0;
  border-radius: 2px; transition: all .25s;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: white; padding: 80px 0 70px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
  color: var(--gold2); font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
}
.hero h1 { color: white; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: var(--gold2); }
.hero-text { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border-radius: 10px; padding: 12px 18px;
  margin-top: 32px;
}
.hero-badge-icon { font-size: 1.4rem; }
.hero-badge small { font-size: .75rem; opacity: .75; display: block; }
.hero-badge strong { font-size: .9rem; }
.hero-img-wrap {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-img-wrap img {
  max-height: 420px; object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ── BANNERS ─────────────────────────────────────────────── */
.info-bar {
  background: var(--p50); border-top: 1px solid var(--p100); border-bottom: 1px solid var(--p100);
  padding: 18px 0;
}
.info-bar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.info-item {
  display: flex; align-items: center; gap: 12px; padding: 8px;
}
.info-icon { font-size: 1.6rem; flex-shrink: 0; }
.info-title { font-weight: 600; font-size: .88rem; color: var(--dark); }
.info-desc  { font-size: .78rem; color: var(--muted); }

/* ── SECTIONS TITLES ─────────────────────────────────────── */
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.section-title .eyebrow {
  display: inline-block; color: var(--p500); font-size: .78rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.divider {
  width: 60px; height: 3px; background: linear-gradient(90deg, var(--p400), var(--p300));
  border-radius: 2px; margin: 12px auto 0;
}

/* ── CATEGORY GRID ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; border-radius: var(--radius); background: white;
  border: 1.5px solid var(--border); text-align: center;
  transition: all var(--transition); cursor: pointer; text-decoration: none;
}
.cat-card:hover {
  border-color: var(--p400); box-shadow: var(--shadow);
  transform: translateY(-3px); background: var(--p50);
}
.cat-icon { font-size: 2rem; }
.cat-name { font-weight: 600; font-size: .83rem; color: var(--dark); line-height: 1.3; }
.cat-count { font-size: .75rem; color: var(--muted); }

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.product-grid.cols3 { grid-template-columns: repeat(3,1fr); }
.product-grid.cols2 { grid-template-columns: repeat(2,1fr); }

.prod-card {
  background: white; border-radius: var(--radius);
  border: 1.5px solid var(--border); overflow: hidden;
  transition: all var(--transition); position: relative; display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--p300); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.prod-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 1;
  background: var(--bg);
}
.prod-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform .35s ease;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.07); }
.prod-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 50px; font-size: .7rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-promo { background: var(--error); color: white; }
.badge-new   { background: var(--p600); color: white; }
.badge-vedette { background: var(--gold); color: white; }

.prod-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: .72rem; color: var(--p500); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.prod-name { font-size: .92rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.35; }
.prod-name a { color: var(--dark); }
.prod-name a:hover { color: var(--p600); }

.prod-price { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.prod-price .current { font-size: 1.05rem; font-weight: 700; color: var(--p700); }
.prod-price .old { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.prod-price .promo { font-size: .78rem; color: var(--error); font-weight: 600; }

.prod-footer { padding: 0 16px 14px; }
.prod-add-btn {
  width: 100%; background: var(--p600); color: white; border: none; padding: 9px;
  border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: .85rem; cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.prod-add-btn:hover { background: var(--p800); }
.prod-add-btn.added { background: var(--success); }

/* ── QUICK VIEW ──────────────────────────────────────────── */
.quick-view-overlay {
  position: absolute; inset: 0; background: rgba(30,7,64,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.prod-card:hover .quick-view-overlay { opacity: 1; }
.quick-view-btn {
  background: white; color: var(--p700); padding: 8px 20px;
  border-radius: 50px; font-weight: 600; font-size: .82rem;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.quick-view-btn:hover { background: var(--p600); color: white; }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.produit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.produit-gallery { position: sticky; top: 100px; }
.gallery-main {
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.gallery-main img { max-height: 380px; object-fit: contain; }

.produit-info .cat-link { font-size: .8rem; color: var(--p500); font-weight: 600; }
.produit-info h1 { margin: 10px 0 18px; }
.produit-prix {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px;
}
.produit-prix .prix-actuel { font-size: 1.8rem; font-weight: 700; color: var(--p700); }
.produit-prix .prix-barré { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.produit-prix .eco { font-size: .85rem; color: var(--error); font-weight: 600; }

.produit-desc { color: var(--text); margin-bottom: 24px; line-height: 1.7; }
.produit-ref  { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }

/* Variantes */
.variantes-label { font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--dark); }
.variantes-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.variant-btn {
  padding: 8px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem;
  cursor: pointer; background: white; color: var(--dark); transition: all var(--transition);
}
.variant-btn:hover { border-color: var(--p400); color: var(--p600); }
.variant-btn.selected { border-color: var(--p600); background: var(--p600); color: white; }

/* Quantité */
.qte-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qte-ctrl {
  display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.qte-btn {
  background: var(--bg); border: none; width: 36px; height: 36px; font-size: 1.1rem;
  cursor: pointer; font-weight: 600; transition: background var(--transition);
}
.qte-btn:hover { background: var(--p100); }
.qte-input {
  width: 50px; text-align: center; border: none; border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border); height: 36px; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .9rem; outline: none;
}

.add-cart-btn {
  width: 100%; padding: 14px; background: var(--p600); color: white; border: none;
  border-radius: var(--radius-sm); font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1rem; cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px;
}
.add-cart-btn:hover { background: var(--p800); }
.add-cart-btn.loading { opacity: .7; pointer-events: none; }

.produit-garanties { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.garantie-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }

/* ── CART / PANIER ───────────────────────────────────────── */
.panier-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.panier-table { width: 100%; border-collapse: collapse; }
.panier-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: .82rem; color: var(--muted); font-weight: 600; }
.panier-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.panier-prod { display: flex; align-items: center; gap: 14px; }
.panier-prod img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); padding: 4px; }
.panier-prod-info strong { font-size: .9rem; color: var(--dark); }
.panier-prod-info small { font-size: .78rem; color: var(--muted); display: block; }

.panier-qte { display: flex; align-items: center; gap: 6px; }
.panier-qte input { width: 48px; text-align: center; padding: 6px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: 'Poppins',sans-serif; }
.del-btn { background: none; border: none; color: var(--error); cursor: pointer; font-size: 1.1rem; padding: 4px; }

.panier-recap {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px;
  position: sticky; top: 100px;
}
.panier-recap h3 { margin-bottom: 20px; }
.recap-line { display: flex; justify-content: space-between; font-size: .9rem; padding: 6px 0; }
.recap-line.total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--border); padding-top: 14px; margin-top: 8px; color: var(--p700); }
.recap-mode { background: var(--p50); border: 1.5px solid var(--p100); border-radius: var(--radius-sm); padding: 12px; margin: 16px 0; font-size: .85rem; }
.recap-mode strong { color: var(--p700); }

/* ── CHECKOUT ─────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-form { background: white; }
.form-section { margin-bottom: 32px; }
.form-section h3 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-weight: 600; font-size: .85rem; color: var(--dark); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'Poppins',sans-serif; font-size: .9rem;
  outline: none; transition: border-color var(--transition); background: white; color: var(--dark);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--p400); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { color: var(--error); font-size: .78rem; }

/* Choix livraison */
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-card {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 16px;
  cursor: pointer; transition: all var(--transition); position: relative;
}
.mode-card:hover { border-color: var(--p300); }
.mode-card.selected { border-color: var(--p600); background: var(--p50); }
.mode-card input[type=radio] { position: absolute; opacity: 0; }
.mode-card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.mode-card-title { font-weight: 700; font-size: .9rem; color: var(--dark); }
.mode-card-desc { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.mode-card-price { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--success); margin-top: 6px; }

/* Paiement */
.paiement-cards { display: flex; flex-direction: column; gap: 10px; }
.paiement-card {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 14px;
  cursor: pointer; transition: all var(--transition);
}
.paiement-card:hover { border-color: var(--p300); }
.paiement-card.selected { border-color: var(--p600); background: var(--p50); }
.paiement-card input[type=radio] { display: none; }

/* ── CONFIRMATION ─────────────────────────────────────────── */
.confirm-box {
  max-width: 620px; margin: 60px auto; background: white;
  border-radius: 20px; padding: 50px 40px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.confirm-icon { font-size: 4rem; margin-bottom: 16px; }
.confirm-box h1 { color: var(--p800); margin-bottom: 8px; }
.confirm-ref { background: var(--p50); display: inline-block; padding: 8px 24px; border-radius: 50px; font-weight: 700; color: var(--p700); font-size: 1.1rem; margin-bottom: 24px; }
.confirm-details { text-align: left; background: var(--bg); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.confirm-detail-row { display: flex; gap: 10px; padding: 6px 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.confirm-detail-row:last-child { border-bottom: none; }
.confirm-detail-row span:first-child { font-weight: 600; min-width: 120px; color: var(--dark); }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white; padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; text-decoration: none; margin-top: 8px;
  transition: background var(--transition);
}
.wa-btn:hover { background: #128C7E; color: white; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--p500); }
.breadcrumb span::before { content: '/'; margin-right: 8px; }

/* ── ALERT / FLASH ───────────────────────────────────────── */
.alert { padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .9rem; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--p50); color: var(--p800); border: 1px solid var(--p100); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; font-family: 'Poppins', sans-serif; }
.admin-sidebar {
  width: 240px; background: var(--p900); color: white;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 200; overflow-y: auto;
  display: flex; flex-direction: column;
}
.admin-logo { padding: 24px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-logo span { color: var(--gold2); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.admin-logo small { display: block; font-size: .7rem; opacity: .6; margin-top: 2px; }
.admin-nav { flex: 1; padding: 16px 12px; }
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 2px;
  color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 500;
  text-decoration: none; transition: all var(--transition);
}
.admin-nav-link:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav-link.active { background: var(--p600); color: white; }
.admin-nav-label { font-size: .7rem; opacity: .5; text-transform: uppercase; letter-spacing: .1em; padding: 12px 14px 4px; }
.admin-main { margin-left: 240px; flex: 1; background: #f1f5f9; min-height: 100vh; }
.admin-topbar { background: white; border-bottom: 1px solid #e2e8f0; padding: 14px 28px; display: flex; justify-content: space-between; align-items: center; }
.admin-topbar h1 { font-size: 1.2rem; color: var(--dark); }
.admin-content { padding: 28px; }

/* Admin cards */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: white; border-radius: var(--radius); padding: 22px; border: 1px solid #e2e8f0; }
.stat-val { font-size: 2rem; font-weight: 700; color: var(--p700); }
.stat-label { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.stat-card.highlight { background: var(--p600); color: white; }
.stat-card.highlight .stat-val, .stat-card.highlight .stat-label { color: white; }
.stat-card.highlight .stat-label { opacity: .8; }

.admin-table-wrap { background: white; border-radius: var(--radius); border: 1px solid #e2e8f0; overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th { padding: 12px 16px; text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); background: #f8fafc; border-bottom: 1px solid #e2e8f0; text-transform: uppercase; letter-spacing: .05em; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; font-size: .88rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--p50); }
.admin-img-thumb { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); padding: 3px; }

/* Status badges */
.status { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status-nouvelle     { background: #dbeafe; color: #1d4ed8; }
.status-en_preparation { background: #fef9c3; color: #713f12; }
.status-prete        { background: #d1fae5; color: #065f46; }
.status-expediee     { background: #ede9fe; color: #5b21b6; }
.status-livree       { background: #d1fae5; color: #065f46; }
.status-annulee      { background: #fee2e2; color: #991b1b; }

.admin-form { background: white; border-radius: var(--radius); border: 1px solid #e2e8f0; padding: 28px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--p900); color: rgba(255,255,255,.8); padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-name { color: white; font-size: 1.3rem; }
.footer-brand .logo-sub { color: var(--gold); }
.footer-tagline { font-size: .85rem; opacity: .75; margin: 12px 0; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: .83rem; margin-top: 16px; }
.footer-contact a { color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 7px; }
.footer-contact a:hover { color: var(--gold2); }

.footer-col h4 { color: white; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; opacity: .55; }
.footer-badges { display: flex; gap: 12px; }
.footer-badge {
  background: rgba(255,255,255,.08); padding: 4px 12px; border-radius: 50px;
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 5px;
}

/* ── MINI CART DRAWER ────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 990;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: -400px; bottom: 0; width: 380px; max-width: 100vw;
  background: white; z-index: 991; transition: right .3s ease;
  display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.cart-drawer.open { right: 0; }
.cart-drawer-head {
  padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.cart-drawer-head h3 { font-size: 1.05rem; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty-msg { text-align: center; padding: 40px 20px; color: var(--muted); }
.cart-empty-msg .icon { font-size: 3rem; margin-bottom: 12px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg); border-radius: 8px; padding: 4px; }
.cart-item-info { flex: 1; }
.cart-item-info strong { font-size: .88rem; display: block; }
.cart-item-info span { font-size: .78rem; color: var(--muted); }
.cart-item-price { font-weight: 700; font-size: .92rem; color: var(--p700); white-space: nowrap; }
.cart-item-del { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .9rem; }
.cart-item-del:hover { color: var(--error); }
.cart-drawer-foot { padding: 16px; border-top: 1px solid var(--border); }
.cart-total-line { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; margin-bottom: 14px; }

/* ── FILTERS SIDEBAR (catalogue) ─────────────────────────── */
.catalogue-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.filter-sidebar { position: sticky; top: 100px; align-self: start; }
.filter-box { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.filter-title { font-weight: 700; font-size: .88rem; color: var(--dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px;
  border-radius: var(--radius-sm); cursor: pointer; font-size: .85rem; transition: background var(--transition);
  text-decoration: none; color: var(--text);
}
.filter-item:hover { background: var(--p50); color: var(--p700); }
.filter-item.active { background: var(--p100); color: var(--p700); font-weight: 600; }
.filter-count { margin-left: auto; font-size: .72rem; color: var(--muted); background: var(--bg); padding: 1px 7px; border-radius: 50px; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--dark); margin-bottom: 8px; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header { background: linear-gradient(135deg, var(--p900), var(--p700)); color: white; padding: 44px 0; }
.page-header h1 { color: white; }
.page-header p { opacity: .8; font-size: .95rem; }

/* ── MOBILE NAV DRAWER ───────────────────────────────────── */
.mobile-nav { position: fixed; top: 0; left: -100%; bottom: 0; width: 280px; background: white; z-index: 1010; transition: left .3s; box-shadow: 4px 0 24px rgba(0,0,0,.12); overflow-y: auto; }
.mobile-nav.open { left: 0; }
.mobile-nav-head { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.mobile-nav-links { padding: 12px; }
.mobile-nav-links a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 500; color: var(--dark); transition: all var(--transition); font-size: .9rem; }
.mobile-nav-links a:hover { background: var(--p50); color: var(--p700); }
.mobile-nav-cat { padding: 0 12px 12px; }
.mobile-nav-cat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 14px; display: block; }

/* ── MISC ────────────────────────────────────────────────── */
.separator { height: 1px; background: var(--border); margin: 32px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-auto { margin-top: auto; }
.d-flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid    { grid-template-columns: repeat(3,1fr); }
  .product-grid{ grid-template-columns: repeat(3,1fr); }
  .info-bar-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .catalogue-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; display: flex; gap: 10px; flex-wrap: wrap; }
  .filter-box { flex: 1; min-width: 160px; }
}

@media (max-width: 768px) {
  .cat-grid    { grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .main-nav, .search-form { display: none; }
  .burger { display: block; }
  .panier-layout, .checkout-layout, .produit-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .mode-cards { grid-template-columns: 1fr; }
  .topbar-badges { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { width: 60px; }
  .admin-nav-link span { display: none; }
  .admin-logo small, .admin-logo .logo-sub { display: none; }
  .admin-main { margin-left: 60px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cat-grid    { grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: 1fr 1fr; }
  .confirm-box { padding: 32px 20px; }
  .hero { padding: 50px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── TOAST ───────────────────────────────────────────────── */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--dark); color: white; padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 500; max-width: 320px;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease;
}
.toast.success { background: var(--p800); border-left: 4px solid var(--p400); }
.toast.error   { background: #7f1d1d; border-left: 4px solid var(--error); }
@keyframes toastIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text); transition: all var(--transition); }
.page-link:hover { border-color: var(--p400); color: var(--p600); }
.page-link.active { background: var(--p600); border-color: var(--p600); color: white; }

/* ═══════════════════════════════════════════════════════════
   CATALOGUE PAGE
   ═══════════════════════════════════════════════════════════ */
.catalogue-page { padding: 32px 0 60px; }
.catalogue-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; margin-top: 24px; }

/* Sidebar */
.catalogue-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-block { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 20px; margin-bottom: 16px; }
.sidebar-block h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--p600); margin-bottom: 12px; }
.search-form-sidebar { display: flex; gap: 6px; }
.search-form-sidebar input { flex: 1; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; }
.search-form-sidebar button { padding: 8px 12px; background: var(--p600); color: white; border: none; border-radius: var(--radius-sm); cursor: pointer; }
.cat-list, .filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cat-list a, .filter-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); font-size: .88rem; color: var(--text); transition: all var(--transition); }
.cat-list a:hover, .filter-list a:hover, .cat-list a.active, .filter-list a.active { background: var(--p50); color: var(--p700); font-weight: 600; }
.cat-count { font-size: .75rem; background: var(--p100); color: var(--p700); padding: 2px 7px; border-radius: 20px; }
.reset-filters { color: var(--error) !important; font-size: .82rem; }
.sidebar-cc { display: flex; gap: 12px; align-items: flex-start; font-size: .83rem; }
.sidebar-cc__icon { font-size: 1.5rem; }
.sidebar-info { background: var(--p50) !important; }

/* Main grid */
.catalogue-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.catalogue-title h1 { font-size: 1.6rem; margin-bottom: 2px; }
.result-count { color: var(--text-muted); font-size: .88rem; }
.catalogue-sort { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.catalogue-sort select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .85rem; cursor: pointer; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* Product cards enhanced */
.product-card { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); overflow: hidden; transition: all var(--transition); position: relative; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--p200); }
.badge-vedette { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #3d2a00; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; z-index: 2; }
.badge-promo { position: absolute; top: 10px; right: 10px; background: var(--error); color: white; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; z-index: 2; }
.product-card__img-link { display: block; aspect-ratio: 1; overflow: hidden; background: var(--p50); }
.product-card__img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img-link img { transform: scale(1.05); }
.product-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card__cat { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--p500); }
.product-card__name { font-size: .88rem; font-weight: 600; line-height: 1.35; }
.product-card__name a { color: var(--dark); }
.product-card__name a:hover { color: var(--p600); }
.product-card__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0; }
.price-current { font-size: 1rem; font-weight: 700; color: var(--p700); }
.price-old { font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.price-promo { color: var(--error); }
.product-card__badges { display: flex; gap: 4px; flex-wrap: wrap; }
.badge-tpo, .badge-cruelty { font-size: .64rem; font-weight: 600; padding: 2px 6px; border-radius: 20px; background: var(--p50); color: var(--p700); border: 1px solid var(--p200); }
.product-card__actions { display: flex; gap: 8px; margin-top: auto; }
.form-add-card { display: inline; }

/* Buttons */
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-xs { padding: 3px 8px; font-size: .73rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--p50); color: var(--p700); border-color: var(--p300); }
.btn-danger { background: var(--error); color: white; border: none; }
.btn-danger:hover { opacity: .85; }
.btn-whatsapp { background: #25D366; color: white; border: none; }
.btn-whatsapp:hover { background: #128C7E; }
.btn-icon { background: none; border: none; cursor: pointer; font-size: 1.1rem; padding: 4px; border-radius: 4px; transition: background .15s; }
.btn-icon:hover { background: var(--p50); }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h2 { font-size: 1.4rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }
.empty-state-sm { padding: 24px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* Pagination */
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; color: var(--text); transition: all var(--transition); }
.page-btn:hover { border-color: var(--p400); color: var(--p700); background: var(--p50); }
.page-btn.active { background: var(--p600); border-color: var(--p600); color: white; }

/* ═══════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════ */
.produit-page { padding: 32px 0 60px; }
.produit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; }
.gallery-main { background: var(--p50); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badge { position: absolute; top: 12px; left: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 68px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--border); cursor: pointer; transition: border-color var(--transition); }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { border-color: var(--p500); }
.produit-quality-badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.produit-quality-badges span { font-size: .78rem; font-weight: 600; background: var(--p50); color: var(--p700); padding: 4px 10px; border-radius: 20px; border: 1px solid var(--p200); }

.produit-cat { margin-bottom: 8px; }
.produit-cat a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--p500); }
.produit-title { font-size: 1.8rem; line-height: 1.25; margin-bottom: 8px; }
.produit-ref { font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; }
.produit-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.price-label { font-size: .85rem; color: var(--text-muted); }
.produit-price .price-current { font-size: 1.8rem; font-weight: 700; color: var(--p700); }
.produit-price .price-old { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.produit-description { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; border-top: 1px solid var(--border); padding-top: 16px; }

/* Variant selector */
.variant-selector { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-option input[type="radio"] { display: none; }
.variant-btn { display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: .85rem; font-weight: 600; transition: all var(--transition); gap: 2px; }
.variant-btn em { font-style: normal; font-size: .8rem; color: var(--p600); font-weight: 700; }
.variant-option input[type="radio"]:checked + .variant-btn { border-color: var(--p600); background: var(--p50); color: var(--p700); }
.variant-btn:hover { border-color: var(--p400); background: var(--p50); }

/* Qty control */
.qty-selector { margin-bottom: 20px; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 38px; height: 42px; background: var(--p50); border: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--p700); transition: background var(--transition); }
.qty-btn:hover { background: var(--p100); }
.qty-input { width: 56px; height: 42px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); font-size: 1rem; font-weight: 600; }
.qty-sm .qty-btn { width: 28px; height: 32px; font-size: .9rem; }
.qty-sm .qty-input, .qty-display { width: 36px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); }

.produit-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.produit-delivery-info { display: flex; flex-direction: column; gap: 14px; border-top: 1.5px solid var(--border); padding-top: 20px; }
.delivery-item { display: flex; gap: 14px; align-items: flex-start; }
.delivery-icon { font-size: 1.3rem; }
.delivery-item strong { font-size: .9rem; }
.delivery-item small { font-size: .8rem; color: var(--text-muted); }

.related-products { margin-top: 60px; }
.related-products .section-title { margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════
   CART (PANIER) PAGE
   ═══════════════════════════════════════════════════════════ */
.panier-page { padding: 32px 0 60px; }
.panier-page h1 { font-size: 1.8rem; margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.panier-count { font-size: .9rem; background: var(--p100); color: var(--p700); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.panier-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.panier-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
.panier-table th { background: var(--p50); padding: 12px 16px; text-align: left; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--p700); border-bottom: 1.5px solid var(--border); }
.panier-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.panier-table tr:last-child td { border-bottom: none; }
.panier-img img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.panier-name a { font-weight: 600; color: var(--dark); }
.panier-name a:hover { color: var(--p600); }
.variante-label { color: var(--text-muted); }
.panier-price, .panier-total { font-weight: 600; color: var(--p700); }
.qty-form-inline .qty-control { display: inline-flex; }
.btn-remove { background: none; border: none; font-size: 1rem; color: var(--text-muted); cursor: pointer; padding: 6px; border-radius: 4px; transition: all var(--transition); }
.btn-remove:hover { color: var(--error); background: #fef2f2; }
.panier-actions-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }

/* Cart summary */
.panier-summary { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; align-self: start; position: sticky; top: 90px; }
.panier-summary h2 { font-size: 1.1rem; margin-bottom: 20px; }
.summary-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; font-size: .9rem; }
.summary-total { font-size: 1.1rem; font-weight: 700; color: var(--p800); border-top: 1.5px solid var(--border); padding-top: 10px; margin-top: 4px; }
.summary-tva { color: var(--text-muted); font-size: .78rem; }
.summary-free-shipping { font-size: .82rem; color: var(--text-muted); background: var(--p50); padding: 10px 12px; border-radius: var(--radius-sm); }
.progress-bar { background: var(--border); border-radius: 20px; height: 6px; margin-top: 6px; overflow: hidden; }
.progress-fill { background: linear-gradient(90deg, var(--p500), var(--p400)); height: 100%; border-radius: 20px; transition: width .5s ease; }
.summary-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.summary-badges span { font-size: .73rem; color: var(--text-muted); }
.text-success { color: #16a34a; }

/* ═══════════════════════════════════════════════════════════
   CHECKOUT (COMMANDE) PAGE
   ═══════════════════════════════════════════════════════════ */
.commande-page { padding: 32px 0 60px; }
.commande-page h1 { font-size: 1.8rem; margin-bottom: 20px; }
.checkout-steps { display: flex; gap: 0; margin-bottom: 32px; }
.step { flex: 1; text-align: center; padding: 10px; font-size: .82rem; font-weight: 600; background: var(--border); color: var(--text-muted); }
.step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.step:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.step.active { background: var(--p600); color: white; }
.step.done   { background: var(--p100); color: var(--p700); }
.commande-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.commande-form { display: flex; flex-direction: column; gap: 0; }
.form-section { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; margin-bottom: 20px; }
.form-section h2 { font-size: 1.05rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .84rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; font-family: inherit; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--p500); }
.form-group textarea { resize: vertical; }

/* Mode cards */
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.mode-card { display: flex; gap: 14px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); align-items: flex-start; }
.mode-card input[type="radio"] { display: none; }
.mode-card.selected, .mode-card:has(input:checked) { border-color: var(--p500); background: var(--p50); }
.mode-card__icon { font-size: 1.6rem; }
.mode-card__content { display: flex; flex-direction: column; gap: 3px; }
.mode-card__content strong { font-size: .92rem; }
.mode-card__content small { font-size: .78rem; color: var(--text-muted); line-height: 1.4; }
.mode-card__price { font-weight: 700; color: var(--p700); font-size: .9rem; }
.address-section { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }

.checkout-legal { font-size: .77rem; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* Commande summary (right panel) */
.commande-summary { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; align-self: start; position: sticky; top: 90px; }
.commande-summary h2 { font-size: 1.05rem; margin-bottom: 16px; }
.summary-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.summary-item { display: flex; gap: 12px; align-items: flex-start; }
.summary-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.summary-item-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: .85rem; }
.summary-item-qty { color: var(--text-muted); font-size: .8rem; }
.summary-item-price { font-weight: 700; color: var(--p700); font-size: .88rem; }

/* Alert */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .9rem; }
.alert-error   { background: #fef2f2; border-left: 4px solid var(--error); color: #7f1d1d; }
.alert-success { background: #f0fdf4; border-left: 4px solid #16a34a; color: #14532d; }
.alert-info    { background: var(--p50); border-left: 4px solid var(--p500); color: var(--p800); }
.alert ul { margin: 8px 0 0 16px; }

/* ═══════════════════════════════════════════════════════════
   CONFIRMATION PAGE
   ═══════════════════════════════════════════════════════════ */
.confirmation-page { padding: 32px 0 60px; }
.confirmation-banner { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, var(--p700), var(--p500)); color: white; padding: 28px 32px; border-radius: var(--radius); margin-bottom: 32px; }
.confirmation-icon { font-size: 3rem; }
.confirmation-banner h1 { font-size: 1.6rem; margin-bottom: 4px; }
.confirmation-banner p { opacity: .9; }
.ref-display { font-size: 1rem; margin-top: 4px; }
.ref-display strong { font-family: monospace; background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 4px; }
.confirmation-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
.conf-card { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 24px; margin-bottom: 20px; }
.conf-card h2 { font-size: 1.05rem; margin-bottom: 18px; }
.conf-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.conf-item { display: flex; gap: 14px; align-items: flex-start; }
.conf-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.conf-item-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.conf-qty { color: var(--text-muted); }
.conf-price { font-weight: 700; color: var(--p700); }
.conf-totals { border-top: 1.5px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.conf-total-line { display: flex; justify-content: space-between; font-size: .9rem; }
.conf-total-final { font-weight: 700; font-size: 1rem; color: var(--p800); }
.conf-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.conf-info-grid label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); display: block; margin-bottom: 2px; }
.conf-info-grid span, .conf-info-grid address { font-size: .88rem; font-style: normal; line-height: 1.5; }
.full-width { grid-column: 1 / -1; }
.conf-card--virement { background: #fffbeb; border-color: #f59e0b; }
.bank-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .88rem; margin-top: 12px; }
.bank-details label { font-weight: 700; color: var(--text-muted); }

.next-step-card, .wa-notify-card { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 20px; margin-bottom: 16px; }
.next-icon { font-size: 2rem; margin-bottom: 8px; }
.next-step-card h3, .wa-notify-card h3 { font-size: 1rem; margin-bottom: 8px; }
.next-step-card p, .wa-notify-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: 8px; }
.next-step-card address { font-size: .88rem; line-height: 1.6; margin: 8px 0; font-style: normal; border-left: 3px solid var(--p300); padding-left: 10px; }
.next-step-card ul { font-size: .88rem; list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.wa-icon { font-size: 2rem; margin-bottom: 8px; }
.wa-notify-card small { font-size: .77rem; color: var(--text-muted); display: block; margin-top: 8px; }
.confirmation-cta { display: flex; flex-direction: column; gap: 10px; }

/* ═══════════════════════════════════════════════════════════
   ADMIN — enhanced
   ═══════════════════════════════════════════════════════════ */
.admin-body { background: #f8f7fc; font-family: 'Poppins', sans-serif; }
.admin-login-body { background: linear-gradient(135deg, var(--p900), var(--p700)); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.admin-login-wrap { width: 100%; max-width: 420px; padding: 20px; }
.admin-login-card { background: white; border-radius: var(--radius-lg, 16px); padding: 40px 36px; box-shadow: var(--shadow-lg); }
.admin-login-logo { text-align: center; margin-bottom: 28px; }
.admin-login-logo span { font-size: 3rem; }
.admin-login-logo h1 { font-size: 1.3rem; margin: 8px 0 4px; }
.admin-login-logo p { color: var(--text-muted); font-size: .9rem; }
.admin-login-form { display: flex; flex-direction: column; gap: 16px; }
.admin-login-footer { margin-top: 20px; text-align: center; }
.admin-login-footer a { font-size: .85rem; color: var(--p600); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: white; border-right: 1.5px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 20px 18px; border-bottom: 1.5px solid var(--border); }
.admin-logo__icon { font-size: 1.6rem; }
.admin-logo strong { font-size: .9rem; font-weight: 700; color: var(--p800); }
.admin-logo small { font-size: .73rem; color: var(--text-muted); display: block; }
.admin-nav { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .87rem; color: var(--text); font-weight: 500; transition: all var(--transition); white-space: nowrap; }
.admin-nav-item:hover { background: var(--p50); color: var(--p700); }
.admin-nav-item.active { background: var(--p100); color: var(--p800); font-weight: 700; }
.admin-nav-logout { color: var(--error); margin-top: 4px; }
.admin-nav-logout:hover { background: #fef2f2; }
.admin-nav-separator { border-top: 1px solid var(--border); margin: 8px 0; }
.nav-badge { background: var(--error); color: white; font-size: .7rem; font-weight: 700; padding: 2px 6px; border-radius: 20px; margin-left: auto; }
.admin-sidebar-footer { padding: 14px 18px; border-top: 1px solid var(--border); font-size: .75rem; color: var(--text-muted); line-height: 1.5; }
.admin-main { margin-left: 240px; flex: 1; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: white; border-bottom: 1.5px solid var(--border); }
.admin-topbar-title { font-size: 1.05rem; font-weight: 700; color: var(--p800); }
.admin-topbar-user { font-size: .85rem; color: var(--text-muted); }
.admin-flash { margin: 20px 28px 0; }
.admin-content { padding: 24px 28px 48px; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 20px; display: flex; gap: 14px; align-items: center; }
.stat-card--purple { border-color: var(--p300); background: var(--p50); }
.stat-card--orange { border-color: #fed7aa; background: #fff7ed; }
.stat-card--green  { border-color: #bbf7d0; background: #f0fdf4; }
.stat-card--blue   { border-color: #bfdbfe; background: #eff6ff; }
.stat-icon { font-size: 1.8rem; }
.stat-number { font-size: 1.4rem; font-weight: 700; color: var(--dark); line-height: 1.1; }
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-card { background: white; border-radius: var(--radius); border: 1.5px solid var(--border); padding: 22px; margin-bottom: 20px; }
.admin-card h2 { font-size: 1rem; margin-bottom: 16px; color: var(--p800); }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.admin-card-header h2 { margin-bottom: 0; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.admin-table th { background: var(--p50); padding: 10px 14px; text-align: left; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--p700); border-bottom: 1.5px solid var(--border); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--p50); }
.admin-table--products .td-img img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.td-actions { display: flex; gap: 6px; align-items: center; }
.row-inactive { opacity: .55; }
.ref-code { font-size: .8rem; background: var(--p50); padding: 2px 6px; border-radius: 4px; font-family: monospace; }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.tfoot-total td { border-top: 2px solid var(--border) !important; background: var(--p50); }
.table-footer-summary { padding: 12px 14px; font-size: .85rem; color: var(--text-muted); border-top: 1.5px solid var(--border); margin-top: -1px; }

.status-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.status-badge.badge-lg { font-size: .82rem; padding: 5px 14px; }
.status-warning { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.status-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.status-danger  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.status-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.status-tab { padding: 7px 14px; border-radius: var(--radius-sm); font-size: .83rem; font-weight: 500; color: var(--text-muted); border: 1.5px solid var(--border); transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.status-tab:hover { border-color: var(--p300); color: var(--p700); background: var(--p50); }
.status-tab.active { background: var(--p600); color: white; border-color: var(--p600); }
.tab-count { background: rgba(255,255,255,.3); font-size: .73rem; font-weight: 700; padding: 1px 6px; border-radius: 20px; }
.status-tab.active .tab-count { background: rgba(255,255,255,.25); }

.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px; background: var(--p50); border-radius: var(--radius-sm); }
.admin-filters input[type="text"] { flex: 1; min-width: 160px; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .86rem; }
.admin-filters select { padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .86rem; }

.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.quick-action { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--p50); border-radius: var(--radius-sm); border: 1.5px solid var(--p100); font-size: .88rem; font-weight: 600; color: var(--p800); transition: all var(--transition); }
.quick-action:hover { background: var(--p100); border-color: var(--p300); }

.admin-form { display: flex; flex-direction: column; gap: 20px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.img-preview-wrap { margin-top: 10px; width: 120px; height: 120px; border-radius: var(--radius-sm); overflow: hidden; border: 1.5px solid var(--border); background: var(--p50); }
.img-preview-wrap img { width: 100%; height: 100%; object-fit: cover; }
.form-checkboxes { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: .87rem; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--p600); }
.form-section-sep { border-top: 1.5px solid var(--border); padding-top: 20px; }
.form-section-sep h3 { font-size: 1rem; margin-bottom: 8px; }
.form-hint { font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }
.variante-row { background: var(--p50); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; border: 1px solid var(--p100); }
.form-group--check { justify-content: flex-end; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; border-top: 1.5px solid var(--border); padding-top: 20px; }

.status-update-form { display: flex; flex-direction: column; gap: 8px; }
.status-update-form select { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .9rem; }
.info-box { padding: 12px 14px; border-radius: var(--radius-sm); font-size: .85rem; line-height: 1.5; }
.info-box--purple { background: var(--p50); border: 1px solid var(--p200); color: var(--p800); }
.info-box--blue   { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.info-box--orange { background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; }
.info-box--green  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--p600); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span:not(a) { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — additions
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .catalogue-layout  { grid-template-columns: 220px 1fr; }
  .produit-layout    { grid-template-columns: 1fr; }
  .confirmation-layout { grid-template-columns: 1fr; }
  .admin-two-col     { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .catalogue-layout  { grid-template-columns: 1fr; }
  .catalogue-sidebar { position: static; }
  .panier-layout     { grid-template-columns: 1fr; }
  .commande-layout   { grid-template-columns: 1fr; }
  .commande-summary  { position: static; order: -1; }
  .panier-summary    { position: static; }
  .form-row          { grid-template-columns: 1fr; }
  .mode-cards        { grid-template-columns: 1fr; }
  .form-two-col      { grid-template-columns: 1fr; }
  .conf-info-grid    { grid-template-columns: 1fr; }
  .admin-sidebar     { width: 56px; }
  .admin-logo strong, .admin-logo small, .admin-nav-item span, .admin-sidebar-footer, .nav-badge { display: none; }
  .admin-logo__icon  { font-size: 1.3rem; }
  .admin-main        { margin-left: 56px; }
  .admin-content     { padding: 16px; }
  .panier-table .panier-img img { width: 48px; height: 48px; }
}
@media (max-width: 480px) {
  .products-grid     { grid-template-columns: 1fr 1fr; }
  .produit-cta       { flex-direction: column; }
  .checkout-steps    { font-size: .72rem; }
  .confirmation-banner { flex-direction: column; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════ */
.lang-switcher { display: flex; gap: 6px; align-items: center; }
.lang-btn { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; color: #888; transition: all .2s; border: 1px solid #ddd; }
.lang-btn:hover, .lang-btn.active { background: #1a1a1a; color: white; border-color: #1a1a1a; }

/* Product reference badge */
.product-ref-badge { font-size: .7rem; font-family: monospace; background: var(--p50); color: var(--p600); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--p200); }

/* Stock indicator */
.stock-indicator { font-size: .75rem; color: #16a34a; font-weight: 600; }
.stock-low { color: #d97706; }
.stock-out { color: var(--error); }

/* Lang active state */
.lang-btn.active { background: #1a1a1a; color: white !important; border-color: #1a1a1a; }

/* ═══════════════════════════════════════════════════════════
   STYLE PURPLE PT - HOMEPAGE
   ═══════════════════════════════════════════════════════════ */

/* Carrousel flottant - coins arrondis, effet peek */
.pp-hero-carousel { position: relative; background: #ffffff; padding: 20px 0 8px; }
.pp-carousel { position: relative; width: 92%; max-width: 1280px; margin: 0 auto; aspect-ratio: 1500 / 600; max-height: 540px; overflow: hidden; background: #f7f3f5; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.pp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.pp-slide.active { opacity: 1; pointer-events: auto; }
.pp-slide a { display: block; width: 100%; height: 100%; }
.pp-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pp-carousel-dots { display: flex; gap: 8px; justify-content: center; padding: 14px 0 4px; background: #ffffff; }
.pp-dot { width: 11px; height: 11px; border-radius: 50%; border: none; background: #d8d8d8; cursor: pointer; transition: all .2s; padding: 0; }
.pp-dot.active { background: #1a1a1a; width: 30px; border-radius: 6px; }

/* Trust bar */
.pp-trust-bar { background: #faf7f8; padding: 16px 0; border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; }
.pp-trust-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.pp-trust-item { color: #1a1a1a; font-size: .88rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.pp-trust-item span { font-size: 1.2rem; }

/* Section heads PT-style */
.pp-section-head { text-align: center; margin-bottom: 36px; }
.pp-eyebrow { display: inline-block; color: var(--p500); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.pp-section-head h2 { font-size: 2rem; color: var(--dark); }
.pp-section-head p { color: var(--muted); margin-top: 8px; }

/* Essentiels 1-2-3 */
.pp-essentiels-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pp-essentiel-card { position: relative; background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; transition: all .2s; }
.pp-essentiel-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pp-essentiel-num { position: absolute; top: -14px; left: 24px; width: 36px; height: 36px; background: #1a1a1a; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.pp-essentiel-card img { width: 100%; max-width: 180px; aspect-ratio: 1; object-fit: contain; margin: 0 auto 16px; }
.pp-essentiel-card h3 { font-size: 1rem; margin-bottom: 8px; }
.pp-essentiel-card h3 a { color: var(--dark); }
.pp-essentiel-price { font-size: 1.3rem; font-weight: 800; color: var(--p700); margin-bottom: 14px; }

/* Kits */
.pp-kits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pp-kit-card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 36px 24px; text-align: center; transition: all .2s; }
.pp-kit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--p300); }
.pp-kit-icon { font-size: 3rem; margin-bottom: 14px; }
.pp-kit-card h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 8px; }
.pp-kit-card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.pp-kit-link { color: var(--p600); font-weight: 700; font-size: .9rem; }

/* Click & Collect */
.pp-cc-section { background: #1a1a1a; }
.pp-cc-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.pp-cc-text { color: white; }
.pp-cc-tag { display: inline-block; background: rgba(255,255,255,.12); color: var(--gold2); padding: 6px 16px; border-radius: 30px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.pp-cc-text h2 { color: white; font-size: 2.2rem; margin-bottom: 24px; }
.pp-cc-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.pp-cc-step { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.pp-cc-step span { width: 32px; height: 32px; background: var(--p500); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.pp-btn-gold { display: inline-block; background: #ffffff; color: #1a1a1a; padding: 13px 30px; border-radius: 30px; font-weight: 700; transition: all .2s; }
.pp-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); background: #f0f0f0; }
.pp-cc-card { background: rgba(255,255,255,.1); border-radius: 20px; padding: 32px; color: white; backdrop-filter: blur(4px); }
.pp-cc-card h3 { color: var(--gold2); margin-bottom: 18px; }
.pp-cc-card p { margin-bottom: 16px; line-height: 1.6; }
.pp-cc-card a { color: white; }
.pp-btn-wa { display: inline-block; background: #25D366 !important; color: white !important; padding: 12px 24px; border-radius: 30px; font-weight: 700; margin-top: 8px; transition: all .2s; }
.pp-btn-wa:hover { background: #128C7E !important; }

/* Reviews */
.pp-reviews { background: white; }
.pp-reviews-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.pp-review-card { background: var(--p50); border-radius: var(--radius); padding: 24px; border: 1px solid var(--p100); }
.pp-stars { font-size: .9rem; margin-bottom: 12px; }
.pp-review-card p { font-size: .92rem; color: var(--text); line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.pp-review-card strong { color: var(--dark); font-size: .9rem; }
.pp-verified { font-size: .72rem; color: var(--success); font-weight: 600; }

/* Values */
.pp-values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.pp-value { text-align: center; padding: 20px; }
.pp-value span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.pp-value strong { display: block; font-size: 1.1rem; color: var(--dark); margin-bottom: 4px; }
.pp-value p { color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 1024px) {
  .pp-reviews-grid { grid-template-columns: repeat(2,1fr); }
  .pp-values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .pp-carousel { height: 340px; }
  .pp-slide h1 { font-size: 2.2rem; }
  .pp-slide-img { display: none; }
  .pp-essentiels-grid { grid-template-columns: 1fr; }
  .pp-kits-grid { grid-template-columns: 1fr; }
  .pp-cc-inner { grid-template-columns: 1fr; }
  .pp-trust-grid { gap: 10px; }
  .pp-trust-item { font-size: .78rem; }
}
@media (max-width: 480px) {
  .pp-reviews-grid { grid-template-columns: 1fr; }
  .pp-values-grid { grid-template-columns: 1fr 1fr; }
  .pp-slide h1 { font-size: 1.8rem; }
}


/* ═══════════ BOUTON FLOTTANT ROND (style Pontos) ═══════════ */
.pp-float-btn {
  position: fixed;
  bottom: 22px;
  left: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: white;
  padding: 12px 22px 12px 16px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s ease;
  text-decoration: none;
}
.pp-float-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,.35); }
.pp-float-btn .pp-float-icon {
  width: 32px; height: 32px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .pp-float-btn { bottom: 16px; left: 14px; padding: 10px 18px 10px 12px; font-size: .82rem; }
  .pp-float-btn .pp-float-icon { width: 28px; height: 28px; font-size: 1rem; }
}

/* ═══════════ PANIER DISCRET (icone sac) ═══════════ */
.cart-btn-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  color: #1a1a1a;
  position: relative;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.cart-btn-minimal:hover { background: #f5f5f5; }
.cart-btn-minimal svg { width: 24px; height: 24px; }
.cart-btn-minimal .cart-count-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: #1a1a1a;
  color: white;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Carrousel mobile - effet peek (images qui depassent) */
@media (max-width: 768px) {
  .pp-hero-carousel { padding: 14px 0 6px; overflow: hidden; }
  .pp-carousel { width: 88%; border-radius: 18px; aspect-ratio: 1 / 1; max-height: 380px; }
}

/* ═══════════ BARRE NOIRE DEFILANTE (marquee) ═══════════ */
.pp-marquee {
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  position: relative;
}
.pp-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: pp-scroll 38s linear infinite;
  will-change: transform;
}
.pp-marquee:hover .pp-marquee-track { animation-play-state: paused; }
.pp-marquee-item {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 8px;
  color: #ffffff;
}
.pp-marquee-sep {
  color: #888;
  font-size: .7rem;
  padding: 0 4px;
}
@keyframes pp-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .pp-marquee { padding: 8px 0; }
  .pp-marquee-item { font-size: .66rem; letter-spacing: .08em; padding: 0 6px; }
  .pp-marquee-track { animation-duration: 28s; }
}

/* ═══════════ RUBAN DEFILANT "Designed to stand out" ═══════════ */
.pp-ribbon {
  background: #ffffff;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.pp-ribbon-track {
  display: inline-flex;
  align-items: center;
  animation: pp-ribbon-scroll 30s linear infinite;
  will-change: transform;
}
.pp-ribbon-item {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #1a1a1a;
  padding: 0 22px;
  text-transform: none;
}
.pp-ribbon-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--p400);
  padding: 0 22px;
  font-style: italic;
}
.pp-ribbon-logo sup { font-size: .5rem; }
@keyframes pp-ribbon-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════ CLIENTES QUE DESFRUTAM CADA MOMENTO ═══════════ */
.pp-momento { background: #ffffff; }
.pp-momento-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.pp-momento-text h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.15;
}
.pp-momento-text p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--p400);
}
.pp-btn-dark {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s;
}
.pp-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); background:#000; }

.pp-momento-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.pp-momento-card {
  display: block;
  background: #faf7f8;
  border-radius: 18px;
  overflow: hidden;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.pp-momento-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.pp-momento-card--tall { margin-top: 32px; }
.pp-momento-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1a1a;
}
.pp-momento-card--tall .pp-momento-img { aspect-ratio: 9 / 16; }
.pp-momento-img img,
.pp-momento-img video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pp-momento-card:hover .pp-momento-img img,
.pp-momento-card:hover .pp-momento-img video { transform: scale(1.05); }
.pp-momento-info {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pp-momento-name {
  font-size: .82rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pp-momento-price {
  font-size: .95rem;
  font-weight: 800;
  color: #1a1a1a;
}
.pp-momento-cta {
  font-size: .8rem;
  font-weight: 600;
  color: var(--p500);
}
@media (max-width: 768px) {
  .pp-momento-grid { grid-template-columns: 1fr; gap: 28px; }
  .pp-momento-text { text-align: center; }
  .pp-momento-text p { border-left: none; padding-left: 0; }
  .pp-momento-text h2 { font-size: 1.7rem; }
  .pp-ribbon-item { font-size: .74rem; padding: 0 16px; }
  .pp-ribbon-logo { font-size: .95rem; padding: 0 16px; }
}

/* ═══════════ LOGO IMAGE (style purple) ═══════════ */
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; }
.logo-img { height: 42px; width: auto; display: block; }
.logo .logo-sub { font-size: .62rem; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; font-weight: 600; margin-top: 1px; }
@media (max-width: 768px) {
  .logo-img { height: 34px; }
  .logo .logo-sub { font-size: .55rem; letter-spacing: .1em; }
}

/* ═══════════ RUPTURE DE STOCK ═══════════ */
.product-card--rupture { opacity: .92; }
.product-card--rupture .product-card__img-link img { filter: grayscale(15%); }
.badge-rupture {
  position: absolute;
  top: 12px; left: 12px;
  background: #888;
  color: white;
  font-size: .68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: .03em;
  z-index: 2;
}
.price-rupture {
  color: #999;
  font-size: .92rem;
  font-weight: 600;
  font-style: italic;
}
.btn-disabled {
  background: #e8e8e8 !important;
  color: #999 !important;
  border: 1px solid #ddd !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* Fiche produit rupture */
.price-rupture-detail {
  display: inline-block;
  color: #888;
  font-size: 1.4rem;
  font-weight: 700;
}
.rupture-info {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 8px;
}
.produit-rupture-box {
  background: #faf7f8;
  border: 1.5px solid #ededed;
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}
.produit-rupture-box p {
  color: var(--text);
  margin-bottom: 16px;
  font-size: .95rem;
}
.btn-wa-lg {
  background: #25D366 !important;
  color: white !important;
  border: none !important;
  display: inline-block;
}
.btn-wa-lg:hover { background: #128C7E !important; }

/* ═══════════ ACCORDÉONS FICHE PRODUIT (style PT) ═══════════ */
.produit-accordions {
  margin: 24px 0;
  border-top: 1px solid #ededed;
}
.pp-accordion {
  border-bottom: 1px solid #ededed;
}
.produit-accordions .pp-accordion-head {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  transition: color .2s;
  margin: 0 !important;
}
.pp-accordion-head:hover { color: var(--p500); }
.pp-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease, opacity .3s ease;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.7;
  padding: 0 2px;
  opacity: 0;
}
.pp-accordion.open .pp-accordion-body {
  max-height: 1000px;
  padding: 0 2px 22px;
  opacity: 1;
}
.pp-accordion-icon {
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  color: #888;
  line-height: 1;
  background: none !important;
  border: none !important;
}

/* ═══════════ BANDEAU PRO -20% ═══════════ */
.pp-pro-banner {
  background: linear-gradient(90deg, #c4849e 0%, #d4a0b5 50%, #c4849e 100%);
  color: #fff;
  font-size: .85rem;
  padding: 9px 16px;
  text-align: center;
}
.pp-pro-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.pp-pro-icon { font-size: 1.1rem; }
.pp-pro-text { letter-spacing: .01em; }
.pp-pro-text strong { font-weight: 700; }
.pp-pro-link {
  background: rgba(255,255,255,.95);
  color: #1a1a1a;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: .8rem;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.pp-pro-link:hover {
  background: #1a1a1a;
  color: #fff;
}
/* Badge paiement sécurisé PayPal — discret & pro */
.pp-pro-pay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.42);
  padding: 3px 10px 3px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.pp-pro-pay-txt {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .015em;
  color: #fff;
}
.pp-pro-pay-logo {
  height: 15px;
  width: auto;
  display: block;
  background: #fff;
  padding: 3px 6px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}
@media (max-width: 640px) {
  .pp-pro-banner { font-size: .75rem; padding: 8px 10px; }
  .pp-pro-banner-inner { gap: 8px; }
  .pp-pro-link { padding: 3px 10px; font-size: .72rem; }
  .pp-pro-pay-txt { display: none; }           /* mobile : on garde juste le logo PayPal, ultra discret */
  .pp-pro-pay { padding: 3px 8px; gap: 0; }
  .pp-pro-pay-logo { height: 14px; }
}

/* ═══════════ ZONE CLIENT ═══════════ */
.container-narrow { max-width: 540px; }
.compte-page { padding: 30px 0 60px; }
.auth-tabs {
  display: flex;
  gap: 0;
  margin: 20px 0 28px;
  border-bottom: 2px solid #ededed;
}
.auth-tab {
  flex: 1;
  padding: 14px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 1rem;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  transition: all .2s;
}
.auth-tab.active { color: #1a1a1a; border-bottom-color: #c4849e; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-form { max-width: 480px; margin: 0 auto; }
.pro-checkbox { background: #faf3f6; padding: 14px; border-radius: 10px; margin: 16px 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; }
.checkbox-label input { margin-top: 3px; }

.compte-header { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 24px; flex-wrap: wrap; gap: 12px; }
.pro-badge-banner {
  background: linear-gradient(90deg,#c4849e,#d4a0b5);
  color: #fff; padding: 14px 20px; border-radius: 12px; margin-bottom: 24px; font-size: .92rem;
}
.compte-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.compte-card { background: #fff; border: 1.5px solid #ededed; border-radius: 14px; padding: 24px; }
.compte-card h2 { font-size: 1.15rem; margin-bottom: 16px; }
.compte-card p { margin: 6px 0; font-size: .92rem; }
.compte-orders { width: 100%; border-collapse: collapse; font-size: .88rem; }
.compte-orders th, .compte-orders td { padding: 10px; text-align: left; border-bottom: 1px solid #f0f0f0; }
.statut-badge { padding: 3px 10px; border-radius: 12px; font-size: .75rem; background: #eee; }
.statut-nouvelle { background: #fff3cd; color: #856404; }
.muted { color: #999; }
.header-account-link { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 768px) {
  .compte-grid { grid-template-columns: 1fr; }
}

/* Bouton compte dans header */
.account-btn-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  color: #1a1a1a;
  transition: color .2s;
}
.account-btn-minimal svg { width: 22px; height: 22px; }
.account-btn-minimal:hover { color: #c4849e; }

/* Encarts checkout client/pro */
.checkout-login-prompt {
  background: #f7f3f5; border: 1px solid #e8d5dd; border-radius: 10px;
  padding: 14px 18px; margin: 16px 0; font-size: .9rem;
}
.checkout-login-prompt a { color: #c4849e; font-weight: 600; }
.checkout-pro-info {
  background: linear-gradient(90deg,#faf3f6,#f5e8ee); border: 1px solid #e8d5dd;
  border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════
   FIX MOBILE — STABILITÉ (photos figées, sticky, scroll)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Désactiver TOUS les sticky qui bloquent le scroll sur mobile */
  .produit-gallery,
  .produit-media,
  .product-gallery,
  .filter-sidebar,
  .catalogue-sidebar,
  .panier-summary,
  .commande-summary {
    position: static !important;
    top: auto !important;
  }
  /* Les images produit ne doivent jamais dépasser ni se figer */
  .produit-gallery img,
  .produit-main-img,
  .produit-media img,
  .gallery-main,
  .gallery-main img,
  #main-product-img {
    position: static !important;
    max-width: 100% !important;
    height: auto !important;
  }
  /* Empêcher tout débordement horizontal (cause de blocages tactiles) */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  /* Le contenu produit passe en colonne propre */
  .produit-layout,
  .produit-detail,
  .produit-grid {
    display: block !important;
  }
}

/* ===== PayPal / Carte (ajout) ===== */
#paypal-zone {
  margin-top: 16px;
  padding: 16px;
  border: 1.5px solid var(--p300);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--p100));
  animation: ppFade .25s ease;
}
@keyframes ppFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.paypal-note {
  font-size: .88rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.5;
}
#paypal-button-container { max-width: 460px; margin: 0 auto; }

/* Confort tactile mobile : champs à 16px = pas de zoom auto iPhone */
@media (max-width: 600px) {
  .commande-form input,
  .commande-form select,
  .commande-form textarea { font-size: 16px; }
  #paypal-button-container { max-width: 100%; }
}

/* ===== FOOTER ROSE PASTEL (remplace le noir) ===== */
.site-footer { background: #faf0f4 !important; color: #5a3848 !important; }
.footer-brand .logo-name { color: #1a1a1a !important; }
.footer-brand .logo-sub { color: var(--p500) !important; }
.footer-tagline { color: #5a3848 !important; opacity: .9; }
.footer-contact a { color: #5a3848 !important; }
.footer-contact a:hover { color: var(--p500) !important; }
.footer-col h4 { color: #1a1a1a !important; }
.footer-links a { color: #5a3848 !important; opacity: .85; }
.footer-links a:hover { color: var(--p500) !important; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(90,56,72,.15) !important; }
.footer-bottom p { color: #5a3848 !important; opacity: .7; }
.footer-badge { background: rgba(196,132,158,.15) !important; color: #5a3848 !important; }

/* ===== Bandeau paiement sécurisé (checkout) ===== */
.secure-pay {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-top: 14px; padding: 12px;
  background: var(--p50); border: 1px solid var(--p100); border-radius: 12px;
  font-size: .85rem; color: var(--dark);
}
.secure-pay .lock { font-size: 1.1rem; }
.pay-badges { display: flex; gap: 6px; align-items: center; }
.pay-badge {
  font-weight: 800; font-size: .72rem; letter-spacing: .03em;
  padding: 4px 9px; border-radius: 6px; border: 1px solid var(--p300);
  background: #fff; color: #1a1a1a; line-height: 1;
}
.pay-badge.visa   { color: #1a1f71; }
.pay-badge.mc     { color: #b34700; }
.pay-badge.paypal { color: #003087; }

/* ===== Bandeau "Paiement sécurisé par PayPal" (haut du checkout) ===== */
.secure-top {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin: 4px 0 22px; padding: 13px 18px;
  background: linear-gradient(180deg, #ffffff, var(--p50));
  border: 1.5px solid var(--p300); border-radius: 14px;
  box-shadow: 0 4px 14px rgba(196,132,158,.12);
}
.secure-top__lock { font-size: 1.15rem; line-height: 1; }
.secure-top__txt  { font-weight: 700; color: #1a1a1a; font-size: .95rem; }
.secure-top__pp   { height: 22px; width: auto; display: block; }
@media (max-width: 600px) {
  .secure-top { gap: 8px; padding: 12px 14px; margin-bottom: 18px; }
  .secure-top__txt { font-size: .88rem; }
  .secure-top__pp  { height: 20px; }
}

/* ===== Mobile checkout — finitions "pro parfait" ===== */
@media (max-width: 600px) {
  .commande-form .form-section { padding: 16px; border-radius: 14px; margin-bottom: 14px; }
  .commande-summary { padding: 18px; border-radius: 14px; }
  .mode-card { padding: 14px; border-radius: 14px; }
  .mode-card.selected, .mode-card:has(input:checked) { box-shadow: 0 0 0 3px var(--p100); }
  .mode-card__icon { font-size: 1.55rem; }
  .secure-pay { flex-direction: column; gap: 8px; text-align: center; }
  .pay-badges { justify-content: center; }
  .btn-lg.btn-block { padding: 15px; font-size: 1.02rem; border-radius: 14px; }
  .secure-top { width: 100%; }
}

/* ═══ GALERIE PRODUIT : affichage uniforme + centré + vidéo ═══ */
.gallery-main { position: relative; background: #ffffff !important; border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain !important; padding: 16px; }
.gallery-video { position: absolute; inset: 0; background: #000; }
.gallery-video iframe, .gallery-video video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.gallery-thumbs .thumb { flex: 0 0 auto; width: 66px; height: 66px; background: #fff; object-fit: contain !important; padding: 5px; border: 2px solid var(--border); border-radius: var(--radius-sm); }
.gallery-thumbs .thumb.active { border-color: var(--p500) !important; }
.video-thumb { display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--p600); background: var(--p50); cursor: pointer; }
.video-thumb:hover { background: var(--p100); }
@media (max-width: 600px) {
  .produit-gallery { position: static; }
  .gallery-thumbs .thumb { width: 58px; height: 58px; }
}

/* ═══ CARTES PRODUIT : images uniformes et centrées (fond blanc) ═══ */
.product-card__img-link { background: #ffffff !important; }
.product-card__img-link img { object-fit: contain !important; padding: 12px; }
.prod-img-wrap { background: #ffffff !important; }

/* ═══ Effet survol carte : montre la 2e photo (comme dcl.pt) ═══ */
.product-card__img-link { position: relative; display: block; }
.product-card__img-hover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain !important; padding: 12px; background: #fff;
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.product-card:hover .product-card__img-hover { opacity: 1; }
