/* Atelier Vert chatbot — standalone UI styles. */
html.av-demo-document {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1c1d1c;
}
html.av-demo-document,
body.av-demo-body { width: 100%; min-height: 100%; margin: 0; }
body.av-demo-body { overflow-x: hidden; background: #1c1d1c; }
.av-demo-page {
  position: relative;
  display: grid;
  min-height: 100dvh;
  overflow: hidden;
  place-items: center start;
  padding: clamp(32px, 7vw, 104px);
  box-sizing: border-box;
  color: #f4f0e8;
  background:
    radial-gradient(circle at 75% 18%, rgba(209, 160, 82, .1), transparent 24%),
    radial-gradient(circle at 15% 88%, rgba(45, 86, 69, .2), transparent 30%),
    #1c1d1c;
}
.av-demo-page__ambient {
  position: absolute;
  top: 10%;
  right: 9%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(234, 210, 168, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(234, 210, 168, .025), 0 0 0 112px rgba(234, 210, 168, .015);
}
.av-demo-page__intro { position: relative; z-index: 1; max-width: 650px; }
.av-demo-page__eyebrow {
  margin: 0 0 22px;
  color: #d8b574;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.av-demo-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .92;
}
.av-demo-page h1 em { color: #d1a052; font-weight: 400; }
.av-demo-page__copy { max-width: 460px; margin: 30px 0 0; color: rgba(255,255,255,.58); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.6; }
.av-demo-page__hint { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: rgba(255,255,255,.42); font-size: 12px; }
.av-demo-page__hint > span:first-child { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; }
#av-chatbot-root {
  --av-green-950: #103c32;
  --av-green-900: #214a3a;
  --av-green-800: #2d5645;
  --av-cream-100: #f7f5ef;
  --av-cream-200: #efede6;
  --av-gold-500: #d1a052;
  --av-gold-300: #ead2a8;
  --av-gold-text: #8a5f1f;
  --av-text: #1f2933;
  --av-muted: #666c6a;
  --av-white: #fff;
  --av-success: #18c964;
  --av-danger: #a9151b;
  --av-warning: #c89442;
  --av-border: #d8d6cf;
  --av-control-border: #747a78;
  --av-focus: #8a5f1f;
  --av-shadow: 0 18px 48px rgba(7, 26, 21, .22), 0 3px 12px rgba(7, 26, 21, .12);
  --av-z: 2147483000;
  color: var(--av-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  position: fixed;
  inset: auto max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) auto;
  z-index: var(--av-z);
  box-sizing: border-box;
  color-scheme: light;
}
#av-chatbot-root.av-chatbot-root--left { inset: auto auto max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
#av-chatbot-root .av-chatbot,
#av-chatbot-root .av-chatbot * { box-sizing: border-box; }
#av-chatbot-root .av-chatbot [hidden] { display: none !important; }
#av-chatbot-root .av-chatbot svg { display: block; flex: none; }
#av-chatbot-root .av-chatbot :where(button, textarea, input, a) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
#av-chatbot-root .av-chatbot button { -webkit-tap-highlight-color: transparent; }
#av-chatbot-root .av-chatbot :where(a) { color: inherit; }

#av-chatbot-root .av-chatbot__window {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: 80px minmax(0, 1fr) auto auto;
  width: min(390px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  height: min(704px, calc(100vh - 48px));
  height: min(704px, calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  min-height: 480px;
  overflow: hidden;
  background: var(--av-cream-100);
  border: 1px solid rgba(16, 60, 50, .2);
  border-radius: 19px;
  box-shadow: var(--av-shadow);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: auto;
}
#av-chatbot-root.av-chatbot-root--left .av-chatbot__window { right: auto; left: 0; transform-origin: bottom left; }
#av-chatbot-root .av-chatbot__window[hidden] {
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.96);
}
#av-chatbot-root .av-chatbot__header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 14px 0 12px;
  color: var(--av-white);
  background: var(--av-green-900);
}
#av-chatbot-root .av-chatbot__identity { min-width: 0; flex: 1; }
#av-chatbot-root .av-chatbot__title {
  overflow: hidden;
  margin: 0;
  color: var(--av-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#av-chatbot-root .av-chatbot__status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 13px;
}
#av-chatbot-root .av-chatbot__status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--av-success);
  box-shadow: 0 0 0 2px rgba(24,201,100,.12);
}
#av-chatbot-root .av-chatbot__status-dot[data-online="false"] { background: #b7bab8; box-shadow: none; }
#av-chatbot-root .av-chatbot__logo {
  display: grid;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--av-white);
  color: var(--av-gold-500);
}
#av-chatbot-root .av-chatbot__logo--small { width: 36px; height: 36px; flex-basis: 36px; }
#av-chatbot-root .av-chatbot__logo svg { width: 33px; height: 33px; }
#av-chatbot-root .av-chatbot__logo--small svg { width: 23px; height: 23px; }
#av-chatbot-root .av-chatbot__minimize {
  display: grid;
  width: 44px; height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--av-white);
  background: transparent;
  cursor: pointer;
}
#av-chatbot-root .av-chatbot__minimize::before { width: 18px; height: 4px; background: currentColor; content: ""; }
#av-chatbot-root .av-chatbot__minimize:hover { background: rgba(255,255,255,.1); }

#av-chatbot-root .av-chatbot__conversation {
  min-height: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(33,74,58,.35) transparent;
  background: var(--av-cream-100);
  scroll-behavior: smooth;
}
#av-chatbot-root .av-chatbot__messages {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px 12px 22px;
}
#av-chatbot-root .av-chatbot__quick-dock {
  padding: 6px 9px 7px;
  border-top: 1px solid rgba(16, 60, 50, .12);
  background: #fbfaf5;
}
#av-chatbot-root .av-chatbot__quick-dock[hidden] { display: none; }
#av-chatbot-root .av-chatbot__composer {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 64px;
  padding: 9px 10px;
  border-top: 1px solid var(--av-border);
  background: var(--av-white);
}
#av-chatbot-root .av-chatbot__input {
  width: 100%;
  min-height: 44px;
  max-height: 92px;
  resize: none;
  overflow-y: auto;
  padding: 12px 58px 11px 15px;
  border: 1px solid var(--av-control-border);
  border-radius: 24px;
  outline: none;
  color: var(--av-text);
  background: var(--av-cream-100);
}
#av-chatbot-root .av-chatbot__input::placeholder { color: var(--av-muted); }
#av-chatbot-root .av-chatbot__input:focus { border-color: var(--av-focus); box-shadow: 0 0 0 3px rgba(138,95,31,.2); }
#av-chatbot-root .av-chatbot__send {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  width: 44px; height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--av-white);
  background: var(--av-green-900);
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
#av-chatbot-root .av-chatbot__send:hover:not(:disabled) { transform: scale(1.05); }
#av-chatbot-root .av-chatbot__send:active:not(:disabled) { transform: scale(.94) rotate(-5deg); }
#av-chatbot-root .av-chatbot__send:disabled { cursor: not-allowed; opacity: .42; }
#av-chatbot-root .av-chatbot__validation {
  position: absolute;
  right: 12px;
  bottom: calc(100% + 4px);
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--av-danger);
  background: #fff5f5;
  font-size: 11px;
}

#av-chatbot-root .av-chatbot__launcher {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 60px; height: 60px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--av-gold-text);
  border-radius: 50%;
  color: var(--av-gold-text);
  background: var(--av-white);
  box-shadow: var(--av-shadow);
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
  pointer-events: auto;
}
#av-chatbot-root .av-chatbot__launcher .av-chatbot__logo { color: var(--av-gold-text); }
#av-chatbot-root .av-chatbot__launcher[aria-expanded="true"] { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.75); }
#av-chatbot-root .av-chatbot__launcher:hover { transform: translateY(-2px); }
#av-chatbot-root .av-chatbot__attention {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: grid;
  width: max-content;
  max-width: min(260px, calc(100vw - 40px));
  gap: 2px;
  padding: 11px 15px;
  border: 1px solid rgba(16,60,50,.16);
  border-radius: 16px 16px 5px 16px;
  color: var(--av-green-950);
  background: var(--av-white);
  box-shadow: 0 12px 30px rgba(7,26,21,.18);
  font-size: 13px;
  line-height: 1.3;
  pointer-events: none;
}
#av-chatbot-root .av-chatbot__attention strong { font-size: 15px; }
#av-chatbot-root .av-chatbot__attention::after {
  position: absolute;
  right: 17px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid rgba(16,60,50,.16);
  border-bottom: 1px solid rgba(16,60,50,.16);
  background: var(--av-white);
  content: "";
  transform: rotate(45deg);
}
#av-chatbot-root.av-chatbot-root--left .av-chatbot__attention { right: auto; left: 0; border-radius: 16px 16px 16px 5px; }
#av-chatbot-root.av-chatbot-root--left .av-chatbot__attention::after { right: auto; left: 17px; }
#av-chatbot-root .av-chatbot__attention-hand {
  position: absolute;
  right: 10px;
  bottom: 69px;
  z-index: 2;
  font-size: 30px;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 3px 5px rgba(7,26,21,.18));
  transform-origin: 75% 80%;
}
#av-chatbot-root.av-chatbot-root--left .av-chatbot__attention-hand { right: auto; left: 10px; }
#av-chatbot-root.av-chatbot-root--attention-glow .av-chatbot__launcher { animation: av-chatbot-attention-glow 1.05s ease-in-out 2; }
#av-chatbot-root.av-chatbot-root--attention-glow .av-chatbot__launcher::after {
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(209,160,82,.7);
  border-radius: inherit;
  content: "";
  animation: av-chatbot-attention-ring 1.05s ease-out 2;
  pointer-events: none;
}
#av-chatbot-root.av-chatbot-root--attention-greeting .av-chatbot__attention { animation: av-chatbot-attention-pop .46s cubic-bezier(.2,.85,.3,1.25) both, av-chatbot-attention-float 1.6s .46s ease-in-out infinite; }
#av-chatbot-root.av-chatbot-root--attention-wave .av-chatbot__attention-hand { animation: av-chatbot-attention-wave .42s ease-in-out 4; }
#av-chatbot-root .av-chatbot__launcher-badge {
  position: absolute;
  top: -5px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border: 2px solid var(--av-white);
  border-radius: 999px;
  color: var(--av-white);
  background: var(--av-danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
#av-chatbot-root .av-chatbot__demo-toggle {
  position: absolute;
  pointer-events: auto;
  right: calc(100% + 8px); bottom: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--av-green-900);
  border-radius: 22px;
  color: var(--av-green-950);
  background: var(--av-white);
  box-shadow: 0 5px 18px rgba(0,0,0,.12);
  cursor: pointer;
  z-index: 6;
}
#av-chatbot-root .av-chatbot__demo-panel {
  position: absolute;
  pointer-events: auto;
  right: calc(100% + 8px); bottom: 0;
  width: min(320px, calc(100vw - 32px));
  max-height: min(500px, calc(100dvh - 100px));
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--av-border);
  border-radius: 14px;
  background: var(--av-white);
  box-shadow: var(--av-shadow);
  transform-origin: right bottom;
  animation: av-chatbot-panel-in .18s ease both;
  z-index: 5;
}
#av-chatbot-root .av-chatbot__demo-panel-title { margin: 0 0 9px; color: var(--av-green-950); font-size: 13px; font-weight: 700; }
#av-chatbot-root .av-chatbot__demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#av-chatbot-root .av-chatbot__demo-button {
  min-height: 44px; padding: 6px 8px; border: 1px solid var(--av-control-border); border-radius: 8px;
  color: var(--av-text); background: var(--av-cream-100); font-size: 12px; cursor: pointer; transition: color .14s ease, background .14s ease, border-color .14s ease, transform .14s ease;
}
#av-chatbot-root .av-chatbot__demo-button:hover { border-color: var(--av-gold-500); background: #fffaf1; transform: translateY(-1px); }
#av-chatbot-root .av-chatbot__demo-button:active { transform: translateY(0) scale(.98); }

#av-chatbot-root .av-chatbot__welcome {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 28px 42px;
  text-align: center;
}
#av-chatbot-root .av-chatbot__welcome > *:not(.av-chatbot__botanical):not(.av-chatbot__welcome-flower) { position: relative; z-index: 1; }
#av-chatbot-root .av-chatbot__welcome-flower {
  position: absolute;
  top: 31px;
  left: 50%;
  width: 176px;
  height: 132px;
  color: var(--av-gold-500);
  opacity: .72;
  pointer-events: none;
  transform: translateX(-50%);
}
#av-chatbot-root .av-chatbot__welcome-title { margin: 0 0 26px; color: var(--av-green-900); font-size: 30px; font-weight: 500; line-height: 1.15; }
#av-chatbot-root .av-chatbot__welcome-copy { max-width: 300px; margin: 0 0 42px; color: var(--av-green-800); font-size: 19px; }
#av-chatbot-root .av-chatbot__welcome-action {
  display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid var(--av-gold-text); border-radius: 11px; color: var(--av-gold-text); background: var(--av-white);
  text-decoration: none; cursor: pointer; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
#av-chatbot-root .av-chatbot__welcome-action > span { min-width: 0; }
#av-chatbot-root .av-chatbot__welcome-action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
#av-chatbot-root .av-chatbot__welcome-action--primary { border-color: var(--av-green-950); color: var(--av-white); background: var(--av-green-950); box-shadow: 0 6px 16px rgba(16,60,50,.22); }
#av-chatbot-root .av-chatbot__welcome-action:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,60,50,.14); }
#av-chatbot-root .av-chatbot__welcome-action:active { transform: translateY(0) scale(.99); }
#av-chatbot-root .av-chatbot__separator { margin: 19px 0 14px; color: var(--av-gold-text); }
#av-chatbot-root .av-chatbot__secure { display: flex; align-items: center; gap: 10px; margin-top: auto; color: #686d6b; font-size: 16px; }
#av-chatbot-root .av-chatbot__botanical { position: absolute; inset: auto 0 0; width: 100%; height: 245px; color: rgba(45,86,69,.1); pointer-events: none; }
#av-chatbot-root .av-chatbot__welcome-title,
#av-chatbot-root .av-chatbot__welcome-copy,
#av-chatbot-root .av-chatbot__welcome-action,
#av-chatbot-root .av-chatbot__separator,
#av-chatbot-root .av-chatbot__secure { animation: av-chatbot-welcome-in .2s cubic-bezier(.22,.8,.28,1) backwards; }
#av-chatbot-root .av-chatbot__welcome-copy { animation-delay: .03s; }
#av-chatbot-root .av-chatbot__welcome-action--primary { animation-delay: .05s; }
#av-chatbot-root .av-chatbot__separator { animation-delay: .07s; }
#av-chatbot-root .av-chatbot__welcome-action:not(.av-chatbot__welcome-action--primary) { animation-delay: .09s; }
#av-chatbot-root .av-chatbot__secure { animation-delay: .11s; }

#av-chatbot-root .av-chatbot-message { display: flex; align-items: flex-start; gap: 7px; margin: 0 0 10px; animation: av-chatbot-message-in .18s ease both; }
#av-chatbot-root .av-chatbot-message--user { justify-content: flex-end; }
#av-chatbot-root .av-chatbot-message__avatar {
  display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: var(--av-gold-500); background: var(--av-white);
}
#av-chatbot-root .av-chatbot-message__bubble {
  position: relative; max-width: 82%; padding: 11px 13px 19px; border-radius: 4px 13px 13px 13px; background: var(--av-white); overflow-wrap: anywhere; font-size: 14px; line-height: 1.35;
}
#av-chatbot-root .av-chatbot-message--assistant .av-chatbot-message__bubble::before {
  position: absolute; top: 0; left: -9px; width: 13px; height: 13px; background: var(--av-white); clip-path: polygon(100% 0, 100% 100%, 0 0); content: "";
}
#av-chatbot-root .av-chatbot-message--user .av-chatbot-message__bubble { border-radius: 13px 4px 13px 13px; background: #ffe7ba; }
#av-chatbot-root .av-chatbot-message--user .av-chatbot-message__bubble::before {
  position: absolute; top: 0; right: -9px; width: 13px; height: 13px; background: #ffe7ba; clip-path: polygon(0 0, 100% 0, 0 100%); content: "";
}
#av-chatbot-root .av-chatbot-message__text { margin: 0; white-space: pre-wrap; }
#av-chatbot-root .av-chatbot-message__time { position: absolute; right: 9px; bottom: 4px; color: var(--av-gold-text); font-size: 10px; }
#av-chatbot-root .av-chatbot__typing { display: flex; align-items: center; gap: 5px; min-width: 58px; padding-bottom: 12px; }
#av-chatbot-root .av-chatbot__typing-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--av-gold-500); animation: av-chatbot-dot 1.1s ease-in-out infinite; }
#av-chatbot-root .av-chatbot__typing-dot:nth-child(2) { animation-delay: .15s; }
#av-chatbot-root .av-chatbot__typing-dot:nth-child(3) { animation-delay: .3s; }

#av-chatbot-root .av-chatbot__quick { margin: 0; }
#av-chatbot-root .av-chatbot__section-label { display: flex; align-items: center; gap: 6px; margin: 0 2px 5px; color: var(--av-muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
#av-chatbot-root .av-chatbot__section-label::after { height: 2px; flex: 1; background: #dbdedc; content: ""; }
#av-chatbot-root .av-chatbot__quick-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 5px; }
#av-chatbot-root .av-chatbot__quick-button {
  display: inline-flex; min-width: 0; min-height: 28px; max-width: 100%; align-items: center; justify-content: center; gap: 4px; padding: 3px 6px;
  border: 1px solid var(--av-green-950); border-radius: 999px; color: var(--av-green-950); background: var(--av-white); text-align: left; cursor: pointer;
  font-size: 10px;
  line-height: 1.15;
  transition: color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
  animation: av-chatbot-action-in .18s ease backwards;
}
#av-chatbot-root .av-chatbot__quick-button span { min-width: 0; overflow-wrap: anywhere; }
#av-chatbot-root .av-chatbot__quick-button svg { width: 12px; height: 12px; flex: 0 0 auto; }
#av-chatbot-root .av-chatbot__quick-button:nth-child(2) { animation-delay: .04s; }
#av-chatbot-root .av-chatbot__quick-button:nth-child(3) { animation-delay: .08s; }
#av-chatbot-root .av-chatbot__quick-button:nth-child(4) { animation-delay: .12s; }
#av-chatbot-root .av-chatbot__quick-button:hover { color: var(--av-white); background: var(--av-green-900); box-shadow: 0 6px 14px rgba(16,60,50,.16); transform: translateY(-1px); }
#av-chatbot-root .av-chatbot__quick-button:active { transform: translateY(1px); }

#av-chatbot-root .av-chatbot-widget { margin: 10px 0 14px 29px; }
#av-chatbot-root .av-chatbot-widget--wide { margin-left: 0; margin-bottom: 10px; }
#av-chatbot-root .av-chatbot-widget--order { margin-left: 37px; }
#av-chatbot-root .av-chatbot-product-single { max-width: 270px; }
#av-chatbot-root .av-chatbot-carousel { position: relative; overflow: hidden; }
#av-chatbot-root .av-chatbot-carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 8px) / 2); gap: 8px; overflow-x: auto; padding: 1px 1px 8px;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain;
}
#av-chatbot-root .av-chatbot-carousel__track::-webkit-scrollbar { display: none; }
#av-chatbot-root .av-chatbot-product {
  min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid #e4ded2; border-radius: 14px; background: var(--av-white);
  animation: av-chatbot-card-in .18s cubic-bezier(.22,.8,.28,1) backwards;
}
#av-chatbot-root .av-chatbot-product:nth-child(2) { animation-delay: .05s; }
#av-chatbot-root .av-chatbot-product:nth-child(3) { animation-delay: .1s; }
#av-chatbot-root .av-chatbot-product__media { position: relative; aspect-ratio: 1.08; overflow: hidden; background: #ead8c0; }
#av-chatbot-root .av-chatbot-product__image { display: block; width: 100%; height: 100%; object-fit: cover; }
#av-chatbot-root .av-chatbot-product__badge { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 999px; color: var(--av-green-950); background: rgba(255,255,255,.92); font-size: 10px; font-weight: 700; }
#av-chatbot-root .av-chatbot-product__body { padding: 8px; }
#av-chatbot-root .av-chatbot-product__name { display: -webkit-box; min-height: 34px; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--av-text); font-size: 12px; font-weight: 700; }
#av-chatbot-root .av-chatbot-product__variant { margin: 3px 0; color: var(--av-muted); font-size: 10px; }
#av-chatbot-root .av-chatbot-product__price { margin: 4px 0 7px; color: var(--av-gold-text); font-size: 14px; font-weight: 700; }
#av-chatbot-root .av-chatbot-product__old-price { margin-left: 5px; color: var(--av-muted); font-size: 10px; font-weight: 400; text-decoration: line-through; }
#av-chatbot-root .av-chatbot-product__link {
  display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 6px; padding: 5px 7px;
  border: 1px solid var(--av-green-950); border-radius: 999px; color: var(--av-green-950); font-size: 11px; text-decoration: none;
}
#av-chatbot-root .av-chatbot-product__link:hover { color: var(--av-white); background: var(--av-green-900); }
#av-chatbot-root .av-chatbot-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 3px; }
#av-chatbot-root .av-chatbot-carousel__button { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--av-control-border); border-radius: 50%; color: var(--av-green-950); background: var(--av-white); cursor: pointer; }
#av-chatbot-root .av-chatbot-carousel__button:disabled { opacity: .35; cursor: not-allowed; }
#av-chatbot-root .av-chatbot-carousel__dots { display: flex; gap: 0; }
#av-chatbot-root .av-chatbot-carousel__dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
#av-chatbot-root .av-chatbot-carousel__dot::before { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border: 1px solid var(--av-gold-text); border-radius: 50%; background: transparent; content: ""; transform: translate(-50%, -50%); }
#av-chatbot-root .av-chatbot-carousel__dot[aria-current="true"]::before { background: var(--av-gold-text); }
#av-chatbot-root .av-chatbot__mock-note { margin: 7px 0 0; color: var(--av-muted); font-size: 10px; text-align: center; }

#av-chatbot-root .av-chatbot-order { width: 100%; max-width: 258px; overflow: hidden; border: 1px solid #b9b9b5; border-radius: 12px; background: var(--av-white); animation: av-chatbot-card-in .18s cubic-bezier(.22,.8,.28,1) backwards; }
#av-chatbot-root .av-chatbot-order__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--av-border); background: #f4f4f2; font-size: 10px; }
#av-chatbot-root .av-chatbot-order__status { padding: 4px 10px; border-radius: 999px; color: #704b12; background: #efdcb8; }
#av-chatbot-root .av-chatbot-order__status[data-status="confirmed"] { color: #0b6f43; background: #d7f4e4; }
#av-chatbot-root .av-chatbot-order__status[data-status="cancelled"] { color: #8e1016; background: #fde0e1; }
#av-chatbot-root .av-chatbot-order__body { padding: 11px 12px; }
#av-chatbot-root .av-chatbot-order__item { display: grid; grid-template-columns: 50px minmax(0,1fr) auto; gap: 9px; align-items: center; margin-bottom: 9px; font-size: 11px; }
#av-chatbot-root .av-chatbot-order__thumb { width: 50px; height: 50px; border-radius: 9px; object-fit: cover; background: #ead8c0; }
#av-chatbot-root .av-chatbot-order__item-name { margin: 0 0 4px; font-weight: 600; }
#av-chatbot-root .av-chatbot-order__price { color: var(--av-green-950); font-size: 13px; font-weight: 700; white-space: nowrap; }
#av-chatbot-root .av-chatbot-order__totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 9px 0; border-top: 1px dashed var(--av-border); border-bottom: 1px solid var(--av-border); font-size: 11px; }
#av-chatbot-root .av-chatbot-order__total { font-size: 14px; font-weight: 700; }
#av-chatbot-root .av-chatbot-order__customer { margin-top: 12px; }
#av-chatbot-root .av-chatbot-order__customer-title { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; font-size: 11px; font-weight: 700; }
#av-chatbot-root .av-chatbot-order__field { margin-bottom: 8px; font-size: 12px; }
#av-chatbot-root .av-chatbot-order__label { display: block; margin-bottom: 2px; color: #767676; font-size: 9px; text-transform: uppercase; }
#av-chatbot-root .av-chatbot-order__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 8px; border-top: 1px solid var(--av-border); background: #f4f4f2; }
#av-chatbot-root .av-chatbot-order__action { min-height: 44px; padding: 6px; border: 0; border-radius: 6px; color: var(--av-white); background: var(--av-green-800); font-size: 12px; cursor: pointer; }
#av-chatbot-root .av-chatbot-order__action[data-order-action="modify"] { color: var(--av-green-950); background: var(--av-gold-500); }
#av-chatbot-root .av-chatbot-order__action[data-order-action="cancel"] { background: var(--av-danger); }
#av-chatbot-root .av-chatbot-order__action:disabled { opacity: .45; cursor: not-allowed; }
#av-chatbot-root .av-chatbot-order__panel { padding: 12px; border-top: 1px solid var(--av-border); background: #fffaf1; }
#av-chatbot-root .av-chatbot-order__panel-title { margin: 0 0 9px; font-size: 13px; }
#av-chatbot-root .av-chatbot-order__input { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--av-control-border); border-radius: 7px; }
#av-chatbot-root .av-chatbot-order__input[aria-invalid="true"] { border-color: var(--av-danger); }
#av-chatbot-root .av-chatbot-order__error { margin: -2px 0 8px; color: var(--av-danger); font-size: 11px; }
#av-chatbot-root .av-chatbot-order__panel-actions { display: flex; justify-content: flex-end; gap: 7px; }
#av-chatbot-root .av-chatbot-order__small-button { min-height: 44px; padding: 6px 10px; border: 1px solid var(--av-green-900); border-radius: 7px; color: var(--av-green-900); background: var(--av-white); cursor: pointer; }
#av-chatbot-root .av-chatbot-order__small-button--primary { color: var(--av-white); background: var(--av-green-900); }
#av-chatbot-root .av-chatbot-order__status:focus-visible { outline: 3px solid var(--av-focus); outline-offset: 2px; }

#av-chatbot-root .av-chatbot-card { margin: 10px 0 14px 29px; padding: 15px; border: 1px solid var(--av-border); border-radius: 13px; background: var(--av-white); }
#av-chatbot-root .av-chatbot-card__title { display: flex; align-items: center; gap: 9px; margin: 0 0 7px; color: var(--av-green-950); font-size: 15px; }
#av-chatbot-root .av-chatbot-card__copy { margin: 0 0 12px; color: var(--av-muted); font-size: 13px; }
#av-chatbot-root .av-chatbot-card__action { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; color: var(--av-white); background: var(--av-green-950); text-decoration: none; }
#av-chatbot-root .av-chatbot-links { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
#av-chatbot-root .av-chatbot-links__link { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--av-control-border); border-radius: 8px; text-decoration: none; }
#av-chatbot-root .av-chatbot-links__link:hover { border-color: var(--av-gold-500); background: #fffaf1; }
#av-chatbot-root .av-chatbot-error { border-color: #efc2c4; background: #fffafa; }
#av-chatbot-root .av-chatbot-error__actions { display: flex; flex-wrap: wrap; gap: 8px; }
#av-chatbot-root .av-chatbot-error__button { min-height: 44px; padding: 7px 12px; border: 1px solid var(--av-green-900); border-radius: 8px; color: var(--av-green-900); background: var(--av-white); cursor: pointer; text-decoration: none; }
#av-chatbot-root .av-chatbot-error__button--primary { color: var(--av-white); background: var(--av-green-900); }
#av-chatbot-root .av-chatbot [data-av-placeholder="true"] { cursor: not-allowed; }
#av-chatbot-root .av-chatbot [data-av-placeholder="true"]::after { margin-left: 3px; padding: 2px 5px; border: 1px solid currentColor; border-radius: 999px; content: "Démo"; font-size: 9px; font-weight: 700; line-height: 1; text-transform: uppercase; }
#av-chatbot-root .av-chatbot-order-list__items { display: grid; gap: 8px; margin-top: 10px; }
#av-chatbot-root .av-chatbot-order-list__item { padding: 10px; border: 1px solid var(--av-border); border-radius: 10px; background: var(--av-white); }
#av-chatbot-root .av-chatbot-order-list__item > div { display: flex; justify-content: space-between; gap: 10px; color: var(--av-green-950); }
#av-chatbot-root .av-chatbot-order-list__item p { margin: 5px 0 0; color: var(--av-muted); font-size: 12px; }
#av-chatbot-root .av-chatbot-order-result[data-success="true"] { border-color: var(--av-success); }
#av-chatbot-root .av-chatbot-order-result small { display: block; margin-top: 8px; color: var(--av-muted); }
#av-chatbot-root .av-chatbot-handoff__status { display: inline-flex; margin-top: 8px; padding: 3px 8px; border-radius: 999px; background: var(--av-cream-200); color: var(--av-green-950); font-size: 11px; font-weight: 700; text-transform: uppercase; }

#av-chatbot-root .av-chatbot__sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
#av-chatbot-root .av-chatbot :is(button, a, textarea, input):focus-visible { outline: 3px solid var(--av-focus); outline-offset: 2px; }

@keyframes av-chatbot-message-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes av-chatbot-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes av-chatbot-panel-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes av-chatbot-welcome-in { from { opacity: 0; transform: translateY(9px); } }
@keyframes av-chatbot-action-in { from { opacity: 0; transform: translateX(-7px); } }
@keyframes av-chatbot-card-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes av-chatbot-attention-glow {
  0%, 100% { box-shadow: var(--av-shadow); transform: scale(1); }
  50% { box-shadow: 0 0 0 9px rgba(209,160,82,.17), 0 18px 48px rgba(7,26,21,.25); transform: scale(1.07); }
}
@keyframes av-chatbot-attention-ring { from { opacity: .9; transform: scale(.88); } to { opacity: 0; transform: scale(1.28); } }
@keyframes av-chatbot-attention-pop { from { opacity: 0; transform: translateY(10px) scale(.82) rotate(2deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes av-chatbot-attention-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes av-chatbot-attention-wave { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(22deg) scale(1.08); } 75% { transform: rotate(-14deg) scale(1.08); } }

@media (hover:hover) {
  #av-chatbot-root .av-chatbot-product { transition: transform .16s ease, box-shadow .16s ease; }
  #av-chatbot-root .av-chatbot-product:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(16,60,50,.1); }
}
@media (max-width: 480px) {
  body.av-demo-body .av-demo-page { padding: 0; }
  body.av-demo-body .av-demo-page__intro,
  body.av-demo-body .av-demo-page__ambient { display: none; }
  #av-chatbot-root {
    inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto;
    transform: none;
  }
  #av-chatbot-root.av-chatbot-root--left { inset: auto auto max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  #av-chatbot-root .av-chatbot__window {
    width: min(390px, calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    height: min(704px, calc(100vh - 32px));
    height: min(704px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    min-height: 0;
    border-radius: 17px;
  }
  #av-chatbot-root .av-chatbot__title { font-size: 19px; }
  #av-chatbot-root .av-chatbot__logo { width: 50px; height: 50px; flex-basis: 50px; }
  #av-chatbot-root .av-chatbot__messages { padding-inline: 10px; }
  #av-chatbot-root .av-chatbot-widget, #av-chatbot-root .av-chatbot-card { margin-left: 25px; }
  #av-chatbot-root .av-chatbot-widget--wide { margin-left: 0; }
  #av-chatbot-root .av-chatbot-widget--order { margin-left: 37px; }
  #av-chatbot-root .av-chatbot__welcome { padding-inline: 24px; }
  #av-chatbot-root .av-chatbot__welcome-copy { margin-bottom: 34px; font-size: 18px; }
  #av-chatbot-root .av-chatbot__launcher { right: 0; bottom: 0; }
  #av-chatbot-root .av-chatbot__demo-toggle { top: 88px; right: 8px; bottom: auto; }
  #av-chatbot-root .av-chatbot__demo-panel { top: 0; right: 0; bottom: auto; }
  #av-chatbot-root.av-chatbot-root--demo {
    inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto;
  }
  #av-chatbot-root.av-chatbot-root--demo.av-chatbot-root--left { inset: auto auto max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  #av-chatbot-root.av-chatbot-root--demo .av-chatbot__window {
    height: min(704px, calc(100vh - 88px));
    height: min(704px, calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  }
  #av-chatbot-root.av-chatbot-root--demo .av-chatbot__demo-toggle { top: -56px; right: 0; }
}
@media (max-width: 380px) {
  #av-chatbot-root .av-chatbot__header { gap: 6px; padding-inline: 6px; }
  #av-chatbot-root .av-chatbot__logo { width: 36px; height: 36px; flex-basis: 36px; }
  #av-chatbot-root .av-chatbot__logo svg { width: 25px; height: 25px; }
  #av-chatbot-root .av-chatbot__title { font-size: 17px; }
  #av-chatbot-root .av-chatbot__status { gap: 5px; font-size: 11px; }
  #av-chatbot-root .av-chatbot__status-dot { width: 8px; height: 8px; }
}
@media (max-width: 359px) {
  #av-chatbot-root .av-chatbot-carousel__track { grid-auto-columns: min(82%, 230px); }
}
@media (max-width: 340px) {
  #av-chatbot-root .av-chatbot__title { font-size: 16px; }
}
@media (max-height: 620px) and (min-width: 481px) {
  #av-chatbot-root .av-chatbot__window { height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  #av-chatbot-root .av-chatbot *,
  #av-chatbot-root .av-chatbot *::before,
  #av-chatbot-root .av-chatbot *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #av-chatbot-root .av-chatbot__conversation { scroll-behavior: auto; }
}
#av-chatbot-root.av-chatbot-root--reduce-motion .av-chatbot *,
#av-chatbot-root.av-chatbot-root--reduce-motion .av-chatbot *::before,
#av-chatbot-root.av-chatbot-root--reduce-motion .av-chatbot *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
