/* VERDAAN Concierge chat */
.cg-launch { position: fixed; right: 22px; bottom: 90px; z-index: 121; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 23px;
  background: var(--vault); border: 1px solid var(--line-strong); color: var(--gold-lt); font: 500 .68rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow-lux);
  transition: transform var(--t-med, .4s) var(--ease-lux), background .3s; }
.cg-launch:hover { background: var(--forest); transform: translateY(-2px); }
.cg-launch svg { width: 18px; height: 18px; }
body.has-sticky-buy .cg-launch { bottom: 164px; }
body.cg-open .cg-launch { opacity: 0; pointer-events: none; }
.cg-panel { position: fixed; right: 22px; bottom: 22px; z-index: 130; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 44px)); display: flex; flex-direction: column;
  background: var(--midnight); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0,0,0,.55); color: var(--text); }
.cg-panel[hidden] { display: none; }
.cg-head { display: flex; gap: 12px; align-items: start; justify-content: space-between; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--vault), var(--midnight)); }
.cg-head h2 { margin: 0 0 4px; font: 400 .95rem/1.2 var(--f-display); letter-spacing: .14em; color: var(--gold-lt); }
.cg-head p { margin: 0; font-size: .78rem; color: var(--text-soft); line-height: 1.45; }
.cg-close { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--text-soft); cursor: pointer; }
.cg-close svg { width: 14px; height: 14px; }
.cg-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.cg-msg { max-width: 92%; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.cg-msg p { margin: 0 0 .6em; } .cg-msg p:last-child { margin: 0; }
.cg-msg a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 2px; }
.cg-user { align-self: flex-end; background: var(--forest); padding: 10px 14px; border: 1px solid var(--line); }
.cg-bot { align-self: flex-start; padding: 2px 0; }
.cg-items { display: grid; gap: 8px; margin-top: 10px; }
.cg-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); text-decoration: none !important; color: var(--text) !important; background: var(--surface); }
.cg-item:hover { border-color: var(--line-strong); }
.cg-item img, .cg-item-ph { width: 56px; height: 56px; object-fit: cover; background: radial-gradient(circle at 35% 30%, var(--emerald-lt), var(--vault)); }
.cg-item strong { display: block; font-weight: 500; font-size: .84rem; line-height: 1.3; }
.cg-item small { display: block; font-size: .72rem; color: var(--text-soft); }
.cg-item .cg-price { color: var(--gold-lt); }
.cg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cg-action { padding: 7px 12px; border: 1px solid var(--line-strong); font-size: .72rem; letter-spacing: .06em; text-decoration: none !important; }
.cg-action:hover { background: var(--vault); }
.cg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.cg-chip { padding: 7px 11px; background: none; border: 1px solid var(--line); color: var(--text-soft); font: .74rem/1.2 var(--f-body); cursor: pointer; text-align: left; }
.cg-chip:hover { border-color: var(--gold); color: var(--gold-lt); }
.cg-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cg-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font: .9rem/1.4 var(--f-body); }
.cg-form textarea:focus { outline: 1px solid var(--gold); outline-offset: 0; }
.cg-send { flex: none; width: 44px; display: grid; place-items: center; background: var(--gold); border: 0; color: var(--midnight); cursor: pointer; }
.cg-send svg { width: 18px; height: 18px; }
.cg-foot { margin: 0; padding: 0 16px 12px; font-size: .68rem; color: var(--text-dim); line-height: 1.4; }
.cg-foot a { color: var(--gold-lt); }
.cg-typing { display: flex; gap: 5px; padding: 8px 0; }
.cg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .3; animation: cg-dot 1.2s infinite; }
.cg-typing span:nth-child(2) { animation-delay: .2s; } .cg-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes cg-dot { 50% { opacity: 1; } }
/* ── Voice welcome ── */
.vw-pill { position: fixed; left: 22px; bottom: 22px; z-index: 121; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 24px; background: rgba(10,18,13,.86); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); color: var(--gold-lt); font: 500 .66rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: opacity .6s, transform .6s var(--ease-lux); }
.vw-pill svg { width: 18px; height: 18px; }
.vw-pill.is-speaking .vw-bars i { animation: vw-bar .9s ease-in-out infinite; }
.vw-bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; } .vw-bars i { width: 2px; height: 4px; background: currentColor; }
.vw-bars i:nth-child(2) { animation-delay: .15s !important; } .vw-bars i:nth-child(3) { animation-delay: .3s !important; }
@keyframes vw-bar { 50% { height: 12px; } }
.vw-pill[hidden] { display: none; }
.vw-caption { position: fixed; left: 50%; bottom: 84px; z-index: 121; transform: translateX(-50%); max-width: min(680px, calc(100vw - 32px)); text-align: center; font: italic 300 clamp(1.1rem, 1rem + .6vw, 1.5rem)/1.4 var(--f-editorial); color: var(--ivory); text-shadow: 0 2px 20px rgba(0,0,0,.8); pointer-events: none; opacity: 0; transition: opacity .8s; }
.vw-caption.is-on { opacity: 1; }

@media (max-width: 760px) {
  .vw-pill { left: 14px; bottom: 14px; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .vw-pill [data-vw-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vw-caption { bottom: 132px; }
  .cg-launch { right: 14px; bottom: 72px; width: 48px; height: 48px; padding: 0; justify-content: center; }
  .cg-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.has-sticky-buy .cg-launch { bottom: 150px; }
  .cg-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .cg-typing span { animation: none; opacity: .7; } .cg-launch { transition: none; } }
@media print { .cg-launch, .cg-panel { display: none !important; } }
