/* What the website shows from the chat: voice notes, live numbers, the official number, chat cards. (site/assets/show.js) */

/* ---------- a voice note: a round play button with its progress, the words, the length ---------- */
.vn { --p: 0; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 0; border-radius: 99px; background: var(--card, #FFFDF9); color: var(--ink, #1B2321);
  box-shadow: inset 0 0 0 1px var(--rule, #E8E1D5), 0 10px 24px -18px rgba(8,62,67,.5); font: 600 .95rem/1.25 var(--font-body, Inter, system-ui, sans-serif); text-align: left; cursor: pointer; max-width: 100%;
  transition: box-shadow .2s, transform .15s; -webkit-tap-highlight-color: transparent; }
.vn[hidden] { display: none; }
.vn:hover { box-shadow: inset 0 0 0 1.5px var(--teal, #0E5C63), 0 10px 24px -18px rgba(8,62,67,.5); }
.vn:active { transform: scale(.98); }
.vn:focus-visible { outline: 3px solid var(--gold, #C9992E); outline-offset: 3px; }
.vn-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: conic-gradient(var(--gold, #C9992E) calc(var(--p) * 360deg), var(--teal, #0E5C63) 0); }
.vn-ic::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal, #0E5C63); }
.vn-ic svg { position: relative; width: 18px; height: 18px; }
.vn .pause, .vn.on .play { display: none; }
.vn.on .pause { display: block; }
.vn-t { display: grid; min-width: 0; }
.vn-t small { font-weight: 500; font-size: .8rem; color: var(--soft, #58615E); display: flex; align-items: center; gap: 8px; }
.vn-wave { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.vn-wave i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; opacity: .55; }
.vn.on .vn-wave i { animation: vnw .9s ease-in-out infinite; }
.vn.on .vn-wave i:nth-child(2) { animation-delay: .15s; } .vn.on .vn-wave i:nth-child(3) { animation-delay: .3s; } .vn.on .vn-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes vnw { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.vn.dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.vn.dark .vn-t small { color: rgba(255,255,255,.75); }
.vn.dark .vn-ic { background: conic-gradient(var(--gold, #C9992E) calc(var(--p) * 360deg), #fff 0); color: var(--teal, #0E5C63); }
.vn.dark .vn-ic::before { background: #fff; }
@media (prefers-reduced-motion: reduce) { .vn.on .vn-wave i { animation: none; height: 8px; } }

/* ---------- live numbers from real orders ---------- */
.proof[hidden] { display: none; }
.proof { margin: 0; }
.proof-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.proof-row li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 20px; background: var(--card, #FFFDF9); box-shadow: inset 0 0 0 1px var(--rule, #E8E1D5); }
/* phones: one compact card, a row per number */
@media (max-width: 560px) {
  .proof-row { grid-template-columns: 1fr; gap: 0; border-radius: 20px; background: var(--card, #FFFDF9); box-shadow: inset 0 0 0 1px var(--rule, #E8E1D5); overflow: hidden; }
  .proof-row li { display: flex; align-items: baseline; gap: 12px; padding: 13px 16px; border-radius: 0; background: none; box-shadow: none; }
  .proof-row li + li:not([hidden]) { border-top: 1px solid var(--rule, #E8E1D5); }
  .proof-row b { font-size: 1.6rem; min-width: 4.2ch; }
}
.proof-row li[hidden] { display: none; }
.proof-row b { font: 700 clamp(1.7rem, 4.5vw, 2.3rem)/1.05 var(--font-body, Inter, system-ui, sans-serif); letter-spacing: -.03em; color: var(--teal, #0E5C63); font-variant-numeric: tabular-nums; }
.proof-row span { color: var(--soft, #58615E); font-size: .92rem; }
.proof-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--soft, #58615E); font-size: .82rem; }
.proof-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green, #2E8B57); box-shadow: 0 0 0 4px rgba(46,139,87,.15); flex: none; }

.wa-ic { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; -webkit-mask: url(/assets/whatsapp.png) center / contain no-repeat; mask: url(/assets/whatsapp.png) center / contain no-repeat; }
/* ---------- the official number ---------- */
.official { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 18px; border-radius: 22px; background: var(--card, #FFFDF9);
  box-shadow: inset 0 0 0 1px var(--rule, #E8E1D5), 0 18px 40px -30px rgba(8,62,67,.55); }
.official .of-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--green-tint, #DDEFE3); color: var(--green, #2E8B57); }
.official .of-ic svg { width: 24px; height: 24px; }
.official .of-t { min-width: 0; }
.official .of-t span { display: block; color: var(--soft, #58615E); font-size: .88rem; }
.official .of-t b { display: block; font: 700 clamp(1.25rem, 3.6vw, 1.5rem)/1.2 var(--font-body, Inter, system-ui, sans-serif); letter-spacing: -.01em; color: var(--ink, #1B2321); font-variant-numeric: tabular-nums; }
.official .of-btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.official .of-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 13px; font: 600 .92rem/1 var(--font-body, Inter, system-ui, sans-serif); text-decoration: none; flex: 1 1 190px; white-space: nowrap; }
.official .of-btn svg { width: 18px; height: 18px; }
.official .of-btn.main { background: var(--teal, #0E5C63); color: #fff; }
.official .of-btn.main:hover { background: var(--teal-2, #0A464B); }
.official .of-btn.ghost { background: transparent; color: var(--ink, #1B2321); box-shadow: inset 0 0 0 1.5px var(--rule, #E8E1D5); }
.official .of-btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal, #0E5C63); }
.official .of-btn:focus-visible { outline: 3px solid var(--gold, #C9992E); outline-offset: 2px; }
.official .of-qr { display: none; }
.official .of-note { grid-column: 1 / -1; margin: 0; color: var(--soft, #58615E); font-size: .84rem; }
/* on a computer: a QR code to open the chat on the phone */
@media (min-width: 900px) and (hover: hover) {
  .official.has-qr { grid-template-columns: auto 1fr auto; }
  .official.has-qr .of-qr { display: grid; grid-row: 1 / span 3; grid-column: 3; justify-items: center; gap: 6px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule, #E8E1D5); }
  .official.has-qr .of-qr svg { width: 112px; height: 112px; display: block; }
  .official.has-qr .of-qr small { font-size: .74rem; color: var(--soft, #58615E); }
  .official .of-btns, .official .of-note { grid-column: 1 / 3; }
}

/* ---------- a chat card, as it arrives in WhatsApp ---------- */
.chat-shot { margin: 0; display: grid; gap: 8px; justify-items: start; }
.chat-shot .cs-bubble { position: relative; width: 100%; max-width: 320px; padding: 5px 5px 22px; border-radius: 4px 18px 18px 18px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 14px 30px -20px rgba(8,62,67,.5); }
.chat-shot img { display: block; width: 100%; height: auto; border-radius: 3px 14px 14px 14px; background: var(--mint, #E2EFEA); }
.chat-shot .cs-time { position: absolute; right: 10px; bottom: 4px; font-size: .7rem; color: #8A9592; display: inline-flex; align-items: center; gap: 3px; }
.chat-shot .cs-time svg { width: 14px; height: 14px; color: #53BDEB; }
.chat-shot figcaption { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--soft, #58615E); }
.chat-shot figcaption svg { width: 15px; height: 15px; color: var(--green, #2E8B57); }
