/* The floating WhatsApp button (whatsapp.js). Sits under the site's own dialogs (they use z-index 1000) and above its page. */
.pawa { position: fixed; right: 16px; bottom: 16px; z-index: 700; font-family: "Montserrat", sans-serif; color: #ffffff; -webkit-text-size-adjust: 100%; }
.pawa *, .pawa *::before, .pawa *::after { box-sizing: border-box; }
.pawa[hidden], .pawa-panel[hidden] { display: none; }

.pawa-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.pawa-fab { width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5); transition: transform 0.2s; }
.pawa-fab:hover { transform: scale(1.05); }
.pawa-fab:focus-visible, .pawa-row:focus-visible, .pawa-own:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }

.pawa-label { display: none; padding: 12px 18px; background: #2b2b2b; border: 1px solid #3d3d3d; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.pawa--open .pawa-label { display: none; }

.pawa-panel { position: absolute; right: 0; bottom: 76px; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); overflow-y: auto; background: #242424; border: 1px solid #3d3d3d; border-radius: 20px; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6); }
.pawa-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #075e54; }
.pawa-avatar { width: 44px; height: 44px; border-radius: 50%; background: #e10a0a; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.pawa-who { flex: 1; min-width: 0; }
.pawa-close { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.pawa-close:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.pawa-name { font-size: 16px; font-weight: 700; }
.pawa-num { margin-top: 2px; font-size: 13px; font-weight: 500; }
.pawa-ask { padding: 20px 20px 8px; font-size: 15px; line-height: 1.45; font-weight: 600; }
.pawa-rows { padding: 0 8px; display: flex; flex-direction: column; }
.pawa-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #ffffff; text-decoration: none; }
.pawa-row span { flex: 1; }
.pawa-row:hover { background: #333333; }
.pawa-foot { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.pawa-own { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; background: #25d366; color: #0b1f14; font-size: 15px; font-weight: 700; text-decoration: none; }
.pawa-own:hover { background: #1ebe5a; }
.pawa-note { font-size: 12px; line-height: 1.4; color: #b9b9b9; text-align: center; }

@media (min-width: 768px) {
	.pawa { right: 32px; bottom: 32px; }
	.pawa-fab { width: 64px; height: 64px; }
	.pawa-label { display: block; }
	.pawa-label--seen { display: none; }
	.pawa-panel { bottom: 80px; }
}

/* On a phone the panel is a sheet across the bottom, with the page dimmed behind it. */
@media (max-width: 767px) {
	.pawa--open .pawa-bar { display: none; }
	.pawa-close { display: flex; }
	.pawa--open::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.6); }
	.pawa-panel { position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 86vh; border-radius: 24px 24px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 767px) { body.pawa-on { padding-bottom: 84px; } }

@media (prefers-reduced-motion: reduce) { .pawa-fab { transition: none; } }
@media print { .pawa { display: none; } }
