/* Consumer-side WhatsApp previews: standard messages, media and supported actions. */
.wa-example, .wa-phone, .method-panel { overflow-anchor: none; }
.wa-phone { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; border: 1px solid #c7ccc8; border-radius: 12px; overflow: hidden; background: #efeae2; color: #111b21; box-shadow: 0 12px 35px #16352814; }
.wa-phone .wa-header { display: flex; align-items: center; gap: 9px; background: #f7f8f8; color: #111b21; border-bottom: 1px solid #dfe3e5; padding: 12px 14px; flex: none; min-height: 60px; }
.wa-icon { width: 20px; height: 20px; display: inline-block; flex: none; }
.wa-back { color: #54656f; display: flex; }
.wa-avatar { border-radius: 50%; width: 33px; height: 33px; object-fit: contain; flex: none; }
.wa-phone .wa-header > div { flex: 1; min-width: 0; }
.wa-phone .wa-header strong { display: block; font-family: var(--body); font-size: 15px; line-height: 1.3; }
.wa-phone .wa-header .wa-header-status { display: block; margin-top: 2px; font-size: 11px; opacity: 1; color: #667781; }
.wa-header-actions { display: flex; align-items: center; gap: 14px; color: #54656f; }
.wa-messages { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 15px 13px; min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #efeae2; }
.wa-phone .wa-bubble { position: relative; flex: none; border-radius: 8px; max-width: 89%; padding: 9px 11px 5px; color: #111b21; font-family: var(--body); font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px #0b141a20; }
.wa-phone .wa-bubble.business { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.wa-phone .wa-bubble.customer { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }
.wa-text { white-space: pre-line; font-size: inherit; line-height: 1.45; }
.wa-meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; color: #667781; margin-top: 4px; font-size: 10px; line-height: 1.2; }
.wa-meta > .wa-icon { width: 16px; height: 13px; color: #53bdeb; }
.wa-media { width: 100%; max-height: 132px; object-fit: cover; border-radius: 5px; margin-bottom: 8px; }
.wa-photo { width: 176px; }
.wa-product { width: 255px; }
.wa-phone .wa-look-reference { width: 214px; }
.wa-look-reference .wa-media { aspect-ratio: 4 / 3; max-height: none; height: auto; }
.wa-carousel { align-self: stretch; width: 100%; min-width: 0; flex: none; }
.wa-carousel-track { display: flex; align-items: stretch; gap: 8px; width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #aeb9bd transparent; padding-bottom: 6px; }
.wa-carousel-track:focus-visible { outline: 2px solid #008069; outline-offset: -2px; border-radius: 8px; }
.wa-phone .wa-bubble.wa-carousel-card { display: flex; flex-direction: column; align-self: stretch; flex: 0 0 78%; width: auto; min-width: 0; max-width: 244px; padding: 0; overflow: hidden; border-radius: 8px; scroll-snap-align: start; }
.wa-carousel-card .wa-media { display: block; aspect-ratio: 4 / 3; width: 100%; max-height: none; height: auto; object-fit: cover; object-position: center; background: #eee9df; border-radius: 0; margin: 0 0 10px; }
.wa-carousel-card .wa-product-title, .wa-carousel-card .wa-text { margin-inline: 11px; }
.wa-carousel-card .wa-text { flex: 1; font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
.wa-phone .wa-carousel-card .wa-replies { margin: 0; }
.wa-carousel-card .wa-product-title { font-size: 14px; margin-bottom: 4px; }
.wa-phone .wa-carousel-card .wa-reply { font-size: 13px; }
.wa-product-title { display: block; font-family: var(--body); font-size: 14px; line-height: 1.35; margin-bottom: 6px; font-weight: 700; }
.wa-product-art { height: 86px; margin-bottom: 8px; background: #eee8db; border-radius: 4px; display: grid; place-items: center; }
.wa-product-art > svg { width: 78px; height: 80px; }
.wa-phone .wa-replies { margin: 7px -11px -5px; display: flex; flex-direction: column; }
.wa-phone .wa-reply { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 42px; padding: 9px 10px; border: 0; border-top: 1px solid #e9edef; color: #00a5f4; background: transparent; font-size: 14px; font-weight: 500; line-height: 1.35; }
.wa-reply:hover { background: #f5f6f6; }
.wa-reply .wa-icon { width: 17px; height: 17px; }
.wa-phone .wa-typing { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 11px 14px; max-width: 66px; }
.wa-typing i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: wa-type 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wa-type { 0%,60%,100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
.wa-composer { display: flex; align-items: center; gap: 8px; padding: 7px 9px; background: #f0f2f5; flex: none; }
.wa-compose-input { display: flex; align-items: center; justify-content: space-between; background: #fff; color: #8696a0; font-size: 13px; border-radius: 20px; padding: 9px 12px; flex: 1; }
.wa-mic { background: #008069; color: #fff; display: grid; place-items: center; border-radius: 50%; width: 35px; height: 35px; }
.wa-mic .wa-icon { width: 16px; height: 18px; }
.wa-document { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 5px; background: #0b141a08; }
.wa-document > .wa-icon { color: #ed5353; width: 31px; height: 36px; }
.wa-document-details { min-width: 0; }
.wa-document strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.wa-document span { display: block; font-size: 10px; color: #667781; margin-top: 3px; }
.wa-location-map { margin: -4px -6px 8px; border-radius: 5px; overflow: hidden; }
.wa-location-map > svg { width: 100%; height: 92px; display: block; }
.demo-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.demo-tools > button { color: inherit; min-height: 38px; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; padding: 6px 0; white-space: nowrap; }
.wa-example { width: 100%; max-width: 480px; height: 100%; max-height: 680px; min-width: 0; min-height: 0; margin-inline: auto; align-self: center; display: flex; }
.wa-example > .wa-phone { height: 100%; min-height: 0; }
.chat-demo-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 18px; max-width: 480px; }
.wa-flow { display: flex; flex-direction: column; position: absolute; inset: 30px 0 0; z-index: 4; border-radius: 16px 16px 0 0; background: #fff; color: #111b21; box-shadow: 0 -12px 25px #0b141a35; overflow: hidden; }
.wa-flow-header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid #e9edef; gap: 10px; padding: 8px 14px; }
.wa-flow-header strong { font-size: 14px; font-family: var(--body); }
.wa-flow-close { background: none; border: 0; padding: 7px 0; color: #54656f; display: flex; }
.wa-flow-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.wa-flow-fields { flex: 1; overflow-y: auto; min-height: 0; padding: 16px; scrollbar-width: thin; }
.wa-flow-fields h4 { font-family: var(--body); font-size: 19px; line-height: 1.2; margin: 0 0 7px; }
.wa-flow-fields > p { color: #667781; font-size: 13px; margin: 0 0 12px; }
.wa-flow-fields fieldset { border: 0; margin: 12px 0; padding: 0; }
.wa-flow-fields legend { font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.wa-flow-fields fieldset label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; }
.wa-flow-fields input { accent-color: #008069; }
.wa-flow-select { display: block; font-size: 12px; color: #667781; border: 1px solid #8696a0; border-radius: 4px; padding: 6px 10px; margin-top: 12px; }
.wa-flow-select select { display: block; width: 100%; border: 0; color: #111b21; font-size: 16px; padding: 5px 0; background: #fff; }
.wa-flow-footer { padding: 10px 16px; border-top: 1px solid #e9edef; flex: none; background: white; }
.wa-flow-footer > button { min-height: 40px; width: 100%; border: 0; border-radius: 22px; background: #008069; color: #fff; font-size: 14px; font-weight: 700; }
.wa-flow-footer > span { display: block; text-align: center; color: #667781; font-size: 10px; margin-top: 6px; }
.wa-photo-picker { margin-top: 12px; font-size: 13px; }
.wa-photo-picker > p { font-size: 12px; color: #667781; margin-top: 4px; }
.wa-photo-picker > button { width: 100%; background: #fff; border: 1px solid #8696a0; color: #008069; padding: 11px; margin-top: 8px; font-size: 14px; border-radius: 5px; }
.wa-photo-picker > span { display: block; margin-top: 7px; font-size: 12px; color: #008069; }
.journey-salient-list { display: none; }
.journey-phone.wa-phone { box-shadow: none; }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; height: 100%; min-height: 0; flex: 1 1 0; }
.chat-layout > .feature-copy, .chat-layout > .nearby-editorial { align-self: center; max-height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; overflow-anchor: none; }
.chat-layout .feature-copy > .chat-demo-note { font-size: 12px; line-height: 1.5; margin-top: 18px; }
.nearby-editorial .store-map { margin-top: 20px; }
.nearby-editorial .store-map-art { height: clamp(110px, 20svh, 215px); max-height: none; object-fit: contain; }
.nearby-editorial .map-top { padding: 8px 12px; }
.nearby-editorial .map-product { padding: 8px 12px; }
.nearby-editorial .map-product > img { width: 40px; height: 40px; }
.nearby-editorial .map-product .micro { display: none; }
.nearby-layout .wa-example { max-width: 480px; }
.method-switch { display: flex; gap: 10px; margin: 24px 0 22px; }
.method-switch > button { padding: 10px 16px; border: 1px solid #f5f1e680; background: transparent; color: var(--cream); min-height: 44px; font-size: 14px; }
.method-switch > button[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 700; }
.method-copy h3 { font-family: var(--body); font-size: 24px; margin-bottom: 12px; }
.method-copy > p { font-size: 16px; line-height: 1.6; }
.method-copy > ul { list-style: none; margin-top: 18px; padding: 0; }
.method-copy li { font-size: 14px; line-height: 1.5; padding: 5px 0; }
.method-copy li::before { content: '\2197'; color: var(--yellow); margin-right: 10px; }
.methods-copy > .chat-demo-note { color: #d0dfd2; }
.method-panels { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; height: 100%; max-height: 680px; align-self: center; gap: 0; }
.methods .method-panel { background: transparent; border: 0; border-radius: 0; padding: 0; min-height: 0; height: 100%; min-width: 0; }
.workflow-showcase { display: flex; height: 100%; min-height: 0; }
.feature-copy .workflow-tabs { margin: 24px 0 0; }
.custom-workflows-section .feature-copy > .inline-link { margin-top: 18px; }
#dashboard > .workspace-demo { height: auto; min-height: 260px; max-height: 580px; flex: 1 1 0; }

/* Increase the hero artwork by roughly one third at normal desktop zoom. */
@media (min-width: 801px) {
  .hero-collage { zoom: var(--hero-art-zoom, .84); height: 410px; }
  .hero h1 { font-size: clamp(50px, min(7.4vw, 10.2svh), 116px); }
  main > section.hero { gap: 12px; }
}
@media (min-width: 801px) and (max-height: 640px) {
  .hero h1 { font-size: min(7vw, 9svh); }
  .hero-intro { max-width: 720px; font-size: 15px; }
}
@media (max-width: 800px) {
  .chat-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 18px; }
  .chat-layout > .feature-copy, .chat-layout > .nearby-editorial { align-self: stretch; max-height: min(44svh, 330px); }
  .chat-layout .feature-copy > h2 { font-size: clamp(30px, 8vw, 38px); line-height: 1.05; }
  .chat-layout .feature-copy > p:not(.chat-demo-note) { font-size: 15px; line-height: 1.5; margin-top: 12px; }
  .wa-example, .nearby-layout .wa-example { max-width: 440px; max-height: none; }
  .wa-phone .wa-header { min-height: 53px; padding: 9px 10px; }
  .wa-phone .wa-header strong { font-size: 14px; }
  .wa-header-actions { gap: 8px; }
  .wa-messages { padding: 11px; }
  .wa-phone .wa-bubble { font-size: 14px; }
  .nearby-editorial .store-map { display: none; }
  .method-switch { margin: 16px 0 14px; }
  .method-switch > button { flex: 1; padding: 10px 12px; }
  .method-copy > h3, .method-copy > ul, .methods-note { display: none; }
  .method-copy > p { font-size: 15px; line-height: 1.5; }
  .method-panels { max-height: none; }
  .workflow-tabs > button { font-size: 11px; }
  .feature-copy .workflow-tabs { margin-top: 16px; }
  .custom-layout > .feature-copy { max-height: min(36svh, 310px); }
  .chat-layout .feature-copy > .chat-demo-note, .nearby-editorial > .chat-demo-note { font-size: 11px; margin-top: 12px; }
  .demo-tools { margin-top: 12px; }
  .demo-tools > button { min-height: 36px; font-size: 12px; }
  .custom-workflows-section .feature-copy > .inline-link { display: none; }
}
@media (max-width: 800px) and (max-height: 740px) {
  .chat-layout { gap: 14px; }
  .wa-phone .wa-bubble { font-size: 13px; }
  .chat-layout .feature-copy > .chat-demo-note, .nearby-editorial > .chat-demo-note { font-size: 10px; margin-top: 10px; }
  .method-switch { margin-top: 12px; margin-bottom: 10px; }
  .feature-copy .workflow-tabs { margin-top: 12px; }
  .demo-tools { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wa-typing i { animation: none; } }
