/* ============================================================
   SOMMELIER IA — VINEA-MEA  v2.0
   Thème clair aligné sur l'identité du site (crème / bordeaux / or)
   ============================================================ */
:root {
  --gold:    #9E7F4F;
  --gold-lt: #7E6339;
  --rouge:   #7A2812;
  --rouge-lt:#9C3618;
  --bg:      #F3EFEC;
  --s1:      rgba(255,255,255,0.86);
  --s2:      rgba(255,255,255,0.94);
  --border:  rgba(158,127,79,0.24);
  --bho:     rgba(158,127,79,0.55);
  --text:    #221812;
  --muted:   #6B5544;
  --r:       16px;
}

/* Root sommelier — pleine largeur, sort du container thème */
#vm-sommelier-root {
  font-family: 'Georgia','Times New Roman',serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Canvas particules */
#vm-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
#vm-sommelier-root > *:not(#vm-canvas) { position: relative; z-index: 1; }

/* ============================================================
   HERO — compact, chat visible sans scroller
   ============================================================ */
.vm-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 24px 16px;
  position: relative;
  overflow: hidden;
}

.vm-hero-radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(158,127,79,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.vm-emblem {
  width: 50px; height: 50px; border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(122,40,18,0.14) 0%, rgba(122,40,18,0.05) 70%);
  border: 0.5px solid rgba(158,127,79,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 0 24px rgba(158,127,79,0.14);
}

.vm-eyebrow {
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-lt); margin: 0 0 8px;
}

.vm-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 500; letter-spacing: 0.01em; line-height: 1.1;
  color: var(--rouge); margin: 0 0 10px;
  border: none; padding: 0;
}
.vm-h1 em { display: block; font-size: 0.4em; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-lt); font-style: normal; margin-bottom: 3px; font-family: 'Georgia', serif; }

.vm-ornament { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.vm-orn-line { flex: 1; max-width: 50px; height: 0.5px; background: linear-gradient(90deg, transparent, rgba(158,127,79,0.5)); }
.vm-orn-line.r { background: linear-gradient(90deg, rgba(158,127,79,0.5), transparent); }
.vm-orn-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(158,127,79,0.6); }

.vm-tagline {
  font-size: 15.5px; font-style: italic; color: var(--muted); line-height: 1.6; margin: 0;
  max-width: 460px;
}

/* ============================================================
   CHIPS
   ============================================================ */
.vm-chips-section {
  padding: 16px 24px 0;
  max-width: 900px; margin: 0 auto; width: 100%;
}
.vm-section-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(122,40,18,0.55); margin-bottom: 10px;
}
.vm-chips {
  display: flex; gap: 9px; flex-wrap: wrap;
}
.vm-chip {
  background: var(--s2);
  border: 0.5px solid var(--border);
  color: var(--muted); padding: 9px 18px;
  border-radius: 50px; font-size: 14.5px; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(122,40,18,0.05);
}
.vm-chip:hover { border-color: var(--bho); color: var(--rouge); transform: translateY(-1px); background: #fff; box-shadow: 0 3px 10px rgba(122,40,18,0.1); }

/* ============================================================
   SECTION CHAT
   ============================================================ */
.vm-chat-section {
  max-width: 900px; margin: 0 auto; padding: 20px 24px 16px;
}

/* Input */
.vm-input-wrap {
  background: var(--s2);
  border: 0.5px solid var(--border);
  border-radius: 22px; padding: 6px 6px 6px 20px;
  display: flex; align-items: flex-end; gap: 10px;
  box-shadow: 0 2px 12px rgba(122,40,18,0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 26px;
}
.vm-input-wrap:focus-within {
  border-color: var(--bho);
  box-shadow: 0 0 0 3px rgba(158,127,79,0.1), 0 4px 16px rgba(122,40,18,0.08);
}
.vm-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 17px; font-family: inherit;
  padding: 14px 0; resize: none; min-height: 26px; max-height: 140px; line-height: 1.55;
}
.vm-input::placeholder { color: var(--muted); opacity: 0.7; }
.vm-send {
  width: 50px; height: 50px; border-radius: 16px;
  background: linear-gradient(140deg, var(--rouge-lt) 0%, var(--rouge) 100%);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff; transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(122,40,18,0.3);
}
.vm-send:hover { background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%); transform: scale(1.05); }
.vm-send:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.vm-send svg { width: 20px; height: 20px; }

/* Messages */
.vm-messages { display: flex; flex-direction: column; gap: 24px; }

.vm-user-msg {
  align-self: flex-end;
  background: linear-gradient(140deg, var(--rouge) 0%, #4a1608 100%);
  color: #fbf1e6; padding: 14px 20px;
  border-radius: 22px 22px 4px 22px;
  max-width: 74%; font-size: 16.5px; line-height: 1.6;
  box-shadow: 0 4px 16px rgba(122,40,18,0.22);
  animation: msgIn 0.28s cubic-bezier(0.34,1.4,0.64,1);
}
@keyframes msgIn { from { opacity:0; transform:translateX(16px) scale(0.96); } to { opacity:1; transform:none; } }

.vm-reply-wrap { align-self: flex-start; width: 100%; animation: replyIn 0.35s ease; }
@keyframes replyIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.vm-reply-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vm-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(ellipse at 40% 30%, rgba(122,40,18,0.16) 0%, rgba(122,40,18,0.06) 70%);
  border: 0.5px solid rgba(158,127,79,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.vm-reply-intro { font-style: italic; color: var(--text); font-size: 16.5px; line-height: 1.7; }
.vm-cursor { display: inline-block; width: 1.5px; height: 1em; background: var(--rouge); vertical-align: middle; margin-left: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* ── Cartes ── */
.vm-cards { display: flex; flex-direction: column; gap: 12px; }

.vm-card {
  background: var(--s1);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px; align-items: start;
  position: relative; overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(122,40,18,0.07), inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(14px);
  text-decoration: none; color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.vm-card.show { opacity:1; transform:none; transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.3s, box-shadow 0.3s; }
.vm-card::after { content:''; position:absolute; top:0; left:-100%; width:50%; bottom:0; background:linear-gradient(105deg,transparent,rgba(158,127,79,0.06),transparent); transition:left 0.65s ease; pointer-events:none; }
.vm-card:hover { border-color:var(--bho); transform:translateY(-2px); box-shadow:0 8px 28px rgba(122,40,18,0.12),inset 0 1px 0 rgba(255,255,255,0.7); }
.vm-card:hover::after { left:150%; }

/* Étiquette de positionnement */
.vm-card-ribbon {
  grid-column: 1 / -1;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rouge); opacity: 0.8;
  padding-bottom: 9px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 2px;
}
.vm-ribbon-icon { margin-right: 4px; }

.vm-card-badge { width:52px; height:52px; border-radius:14px; border:0.5px solid rgba(158,127,79,0.2); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; flex-shrink:0; }
.vm-card-badge.rouge { background:linear-gradient(145deg,rgba(122,40,18,0.14) 0%,rgba(122,40,18,0.05) 100%); }
.vm-card-badge.blanc { background:linear-gradient(145deg,rgba(60,110,70,0.14) 0%,rgba(60,110,70,0.05) 100%); }
.vm-card-badge.rose  { background:linear-gradient(145deg,rgba(150,50,95,0.14) 0%,rgba(150,50,95,0.05) 100%); }
.vm-badge-icon { font-size:21px; }
.vm-badge-lbl  { font-size:7.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); }

.vm-card-name   { font-family: 'Cormorant Garamond', Georgia, serif; font-size:19px; font-weight:600; color:var(--rouge); line-height:1.3; margin-bottom:7px; }
.vm-card-reason { font-size:14.5px; color:var(--text); opacity:0.82; line-height:1.7; margin-bottom:12px; }
.vm-card-meta   { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:11px; }
.vm-meta-pill   { display:inline-flex; align-items:center; gap:4px; font-size:12.5px; color:var(--gold-lt); background:rgba(158,127,79,0.08); border:0.5px solid var(--border); padding:4px 11px; border-radius:50px; }
.vm-meta-pill--order { color:#8a5a1a; background:rgba(180,120,20,0.1); border-color:rgba(180,120,20,0.28); font-weight:bold; }

.vm-card-actions { display:flex; gap:9px; flex-wrap:wrap; }
.vm-btn-voir {
  display:inline-flex; align-items:center; gap:5px;
  font-size:13.5px; color:var(--rouge); text-decoration:none;
  border:0.5px solid rgba(122,40,18,0.3); padding:8px 16px;
  border-radius:50px; font-family:inherit; cursor:pointer; background:transparent;
  transition:all 0.2s;
}
.vm-btn-voir:hover { background:rgba(122,40,18,0.06); border-color:var(--rouge); color:var(--rouge); text-decoration:none; }
.vm-btn-cart {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13.5px; font-family:inherit; cursor:pointer;
  background:linear-gradient(135deg,var(--rouge-lt) 0%,var(--rouge) 100%);
  color:#fff; border:none;
  padding:8px 17px; border-radius:50px; text-decoration:none;
  transition:all 0.22s; box-shadow:0 2px 8px rgba(122,40,18,0.25);
}
.vm-btn-cart:hover { background:linear-gradient(135deg,#b0451f 0%,#8a3015 100%); transform:translateY(-1px); box-shadow:0 4px 14px rgba(122,40,18,0.35); color:#fff; text-decoration:none; }
.vm-btn-cart--order { background:linear-gradient(135deg,#b8801e 0%,#8a5a1a 100%); box-shadow:0 2px 8px rgba(138,90,26,0.25); }
.vm-btn-cart--order:hover { background:linear-gradient(135deg,#d0941f 0%,#a06a1e 100%); box-shadow:0 4px 14px rgba(138,90,26,0.35); }

/* Jauge */
.vm-gauge-col   { display:flex; flex-direction:column; align-items:center; gap:6px; }
.vm-gauge-wrap  { position:relative; width:56px; height:56px; }
.vm-gauge       { width:56px; height:56px; transform:rotate(-90deg); overflow:visible; }
.vm-gauge-bg    { fill:none; stroke:rgba(158,127,79,0.14); stroke-width:2.8; }
.vm-gauge-fill  { fill:none; stroke-width:2.8; stroke-linecap:round; stroke-dasharray:0 100; transition:stroke-dasharray 1.3s cubic-bezier(0.34,1.5,0.64,1); }
.vm-gauge-fill.rouge { stroke:url(#gRouge); }
.vm-gauge-fill.blanc { stroke:url(#gBlanc); }
.vm-gauge-fill.rose  { stroke:url(#gRose); }
.vm-gauge-label { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; transform:rotate(90deg); }
.vm-gauge-num   { font-size:14px; font-weight:bold; color:var(--rouge); line-height:1; }
.vm-gauge-pct   { font-size:8.5px; color:var(--muted); }

/* Conseil */
.vm-conseil { margin-top:14px; padding:15px 20px; background:rgba(158,127,79,0.06); border-left:2px solid var(--gold); border-radius:0 10px 10px 0; font-size:14.5px; color:var(--text); opacity:0.85; font-style:italic; line-height:1.75; }

/* Loading / erreur */
.vm-typing { align-self:flex-start; display:flex; align-items:center; gap:11px; padding:14px 20px; background:var(--s2); border:0.5px solid var(--border); border-radius:20px 20px 20px 4px; box-shadow:0 2px 10px rgba(122,40,18,0.06); }
.vm-dots { display:flex; gap:5px; }
.vm-dots span { width:6px;height:6px;border-radius:50%;background:var(--rouge);opacity:0.3;animation:dot 1.5s ease-in-out infinite; }
.vm-dots span:nth-child(2){animation-delay:.22s;} .vm-dots span:nth-child(3){animation-delay:.44s;}
@keyframes dot { 0%,80%,100%{opacity:.25;transform:scale(.85);} 40%{opacity:1;transform:scale(1.1);} }
.vm-typing-txt { font-size:14.5px; color:var(--muted); font-style:italic; }
.vm-error { background:rgba(180,40,40,0.08); border:0.5px solid rgba(180,40,40,0.3); color:#a02020; padding:13px 18px; border-radius:12px; font-size:14.5px; align-self:flex-start; }

@media (max-width:600px) {

  /* ── Hero — encore plus compact sur mobile ── */
  .vm-hero {
    padding: 22px 18px 14px;
  }
  .vm-emblem {
    width: 42px; height: 42px; font-size: 19px;
    margin-bottom: 8px;
  }
  .vm-eyebrow { font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 6px; }
  .vm-h1 { font-size: 25px; line-height: 1.12; margin-bottom: 8px; }
  .vm-h1 em { font-size: 0.38em; }
  .vm-tagline { font-size: 14.5px; line-height: 1.55; }
  .vm-ornament { margin-bottom: 8px; }

  /* ── Chips ── */
  .vm-chips-section { padding: 12px 14px 16px; }
  .vm-section-label { font-size: 10.5px; margin-bottom: 8px; }
  .vm-chips { gap: 7px; }
  .vm-chip { font-size: 13.5px; padding: 8px 14px; }

  /* ── Zone chat ── */
  .vm-chat-section { padding: 14px 14px 12px; }
  .vm-messages { gap: 18px; }

  /* ── Input ── */
  .vm-input-wrap {
    padding: 5px 5px 5px 16px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .vm-input { font-size: 16px; padding: 12px 0; }
  .vm-send { width: 46px; height: 46px; border-radius: 13px; }
  .vm-send svg { width: 18px; height: 18px; }

  /* ── Messages ── */
  .vm-user-msg {
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 88%;
    padding: 12px 17px;
  }
  .vm-reply-intro { font-size: 15px; line-height: 1.65; }
  .vm-avatar { width: 36px; height: 36px; font-size: 17px; }

  /* ── Cartes — colonne unique, jauge en ligne ── */
  .vm-card {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 14px;
    padding: 16px 16px;
  }
  .vm-card-badge { width: 44px; height: 44px; border-radius: 12px; grid-row: 2; }
  .vm-badge-icon { font-size: 18px; }
  .vm-badge-lbl { font-size: 7px; }

  .vm-card-ribbon { grid-column: 1 / -1; font-size: 10.5px; padding-bottom: 8px; }
  .vm-card-body { grid-column: 2; grid-row: 2; }
  .vm-gauge-col {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 2px;
  }
  .vm-gauge-wrap { width: 44px; height: 44px; }
  .vm-gauge      { width: 44px; height: 44px; }
  .vm-gauge-num  { font-size: 12px; }

  .vm-card-name   { font-size: 17px; }
  .vm-card-reason { font-size: 14px; line-height: 1.65; }
  .vm-meta-pill   { font-size: 12px; }

  .vm-card-actions { gap: 8px; }
  .vm-btn-voir,
  .vm-btn-cart {
    font-size: 13px;
    padding: 9px 16px;
  }

  /* ── Conseil ── */
  .vm-conseil { font-size: 14px; padding: 13px 16px; }

  /* ── Typing / erreur ── */
  .vm-typing { padding: 12px 16px; }
  .vm-typing-txt { font-size: 14px; }
  .vm-error { font-size: 14px; }
}

/* ============================================================
   SOMMELIER v3 — Événement + quantités (thème clair)
   ============================================================ */

.vm-event-section {
  padding: 4px 24px 0;
  max-width: 900px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

/* ── Chips événement ── */
.vm-event-chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-bottom: 2px;
}
.vm-event-chip {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--s2);
  border: 0.5px solid var(--border);
  color: var(--muted);
  border-radius: 50px;
  padding: 9px 18px 9px 12px;
  font-size: 14.5px; font-family: inherit; cursor: pointer;
  box-shadow: 0 1px 3px rgba(122,40,18,0.05);
  transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.vm-event-chip::after {
  content:''; position:absolute; top:0; left:-100%; width:55%; bottom:0;
  background:linear-gradient(105deg,transparent,rgba(158,127,79,0.08),transparent);
  transition:left 0.6s ease; pointer-events:none;
}
.vm-event-chip:hover { border-color: var(--bho); color: var(--rouge); transform: translateY(-1px); background:#fff; box-shadow: 0 3px 12px rgba(122,40,18,0.1); }
.vm-event-chip:hover::after { left: 150%; }
.vm-event-chip.active {
  border-color: var(--rouge);
  color: var(--rouge);
  background: rgba(122,40,18,0.06);
  box-shadow: 0 0 0 1px rgba(122,40,18,0.15);
}
.vm-ec-icon {
  font-size: 15px; line-height: 1;
  width: 27px; height: 27px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(122,40,18,0.14) 0%, rgba(122,40,18,0.04) 75%);
  border: 0.5px solid rgba(158,127,79,0.2);
}
.vm-ec-label { font-size: 14px; }

/* ── Panneau guidé ── */
.vm-event-panel {
  margin-top: 14px;
  position: relative; overflow: hidden;
  background: var(--s1);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(122,40,18,0.09);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease;
}
.vm-event-panel.show { opacity: 1; transform: translateY(0); }
.vm-event-panel::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(158,127,79,0.4),transparent);
}
.vm-event-panel-inner {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px;
}
.vm-event-panel-label {
  flex-basis: 100%;
  font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rouge); opacity: 0.85;
  margin-bottom: 2px;
}
.vm-event-field { display: flex; flex-direction: column; gap: 7px; }
.vm-event-field label {
  font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold-lt);
}
.vm-event-field input {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 13px;
  color: var(--text);
  font-size: 16.5px; font-family: inherit;
  padding: 12px 15px; width: 140px; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.vm-event-field input::placeholder { color: var(--muted); opacity: 0.6; }
.vm-event-field input:focus {
  border-color: var(--bho);
  box-shadow: 0 0 0 3px rgba(158,127,79,0.1);
}
.vm-event-send {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(140deg, var(--rouge-lt) 0%, var(--rouge) 100%);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 15px; font-family: inherit;
  padding: 12px 24px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(122,40,18,0.28);
  transition: all .22s;
}
.vm-event-send:hover { background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(122,40,18,0.38); }
.vm-event-cancel {
  width: 46px; height: 46px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0.5px solid var(--border);
  border-radius: 50px;
  color: var(--muted);
  font-size: 16px; cursor: pointer;
  transition: all .2s;
}
.vm-event-cancel:hover { border-color: var(--bho); color: var(--rouge); background: rgba(158,127,79,0.07); }

/* ── Carte quantités ── */
.vm-quantities {
  position: relative; overflow: hidden;
  background: var(--s1);
  border: 0.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(122,40,18,0.07);
}
.vm-quantities::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(158,127,79,0.4),transparent);
}
.vm-qty-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 13px;
}
.vm-qty-title { font-size: 14px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rouge); opacity: 0.9; }
.vm-qty-total {
  font-size: 13.5px; color: var(--rouge);
  background: rgba(122,40,18,0.06); border: 0.5px solid rgba(122,40,18,0.16);
  border-radius: 50px; padding: 5px 14px; white-space: nowrap;
}
.vm-qty-detail { font-size: 14.5px; color: var(--text); opacity: 0.75; font-style: italic; line-height: 1.6; margin-top: -2px; }
.vm-qty-bars { display: flex; flex-direction: column; gap: 13px; }
.vm-qty-row {
  display: grid;
  grid-template-columns: 122px 1fr 62px;
  align-items: center; gap: 13px;
}
.vm-qty-label { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-qty-bar-wrap {
  background: rgba(158,127,79,0.08);
  border: 0.5px solid rgba(158,127,79,0.12);
  border-radius: 50px; height: 22px; overflow: hidden;
}
.vm-qty-bar {
  height: 100%; border-radius: 50px; position: relative;
  transition: width 1s cubic-bezier(.34,1.2,.64,1);
  overflow: hidden; min-width: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.vm-qty-bar-svg { position: absolute; inset: 0; width: 100%; }
.vm-qty-count { font-size: 13.5px; font-weight: bold; color: var(--rouge); text-align: right; white-space: nowrap; }
.vm-qty-budget {
  font-size: 14px; color: var(--gold-lt);
  background: rgba(158,127,79,0.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 12px 18px; font-style: italic; line-height: 1.6;
}

/* ── Mobile — nouveaux composants ── */
@media (max-width: 600px) {
  .vm-event-section {
    padding: 18px 14px 0;
    margin-top: 4px;
    border-top: 0.5px solid var(--border);
  }
  .vm-event-section .vm-section-label {
    opacity: 1;
    font-weight: bold;
    color: var(--rouge);
  }

  .vm-event-chip { font-size: 13.5px; padding: 8px 15px 8px 10px; }
  .vm-ec-icon { width: 25px; height: 25px; font-size: 14px; }
  .vm-event-panel { padding: 18px 16px; }
  .vm-event-panel-inner { gap: 14px; }
  .vm-event-field { flex: 1; }
  .vm-event-field input { width: 100%; font-size: 16px; }
  .vm-event-send { flex: 1; justify-content: center; padding: 13px; font-size: 14.5px; }

  .vm-qty-row { grid-template-columns: 90px 1fr 50px; gap: 10px; }
  .vm-qty-label { font-size: 12.5px; }
  .vm-qty-count { font-size: 12.5px; }
  .vm-quantities { padding: 18px 16px; }
  .vm-qty-detail { font-size: 13.5px; }
}
