/* =============================================================================
   Chat button (WhatsApp / Messenger)
   Right side sits above the scroll-to-top button (bottom/right 1.25rem, 3rem high).
   ========================================================================== */
.ama-chat{--chat-offset: 1.25rem; position: fixed; z-index: 1030; right: var(--chat-offset); bottom: calc(var(--chat-offset) + var(--ama-scroll-top-height, 3rem) + .75rem); display: flex; flex-direction: column; align-items: flex-end; gap: .625rem; pointer-events: none}
.ama-chat.is-left{right: auto; left: var(--chat-offset); bottom: var(--chat-offset); align-items: flex-start}

.ama-chat__btn{--chat-color: #25D366; display: inline-flex; flex-direction: row-reverse; align-items: center; gap: .5rem; min-height: 3.5rem; padding: .375rem; border-radius: 1.75rem; color: #fff!important; text-decoration: none!important; background-color: var(--chat-color); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2); pointer-events: all; transition: transform .2s ease, box-shadow .2s ease}
.ama-chat.is-left .ama-chat__btn{flex-direction: row}
.ama-chat__btn:hover{transform: translateY(-.1875rem); box-shadow: 0 .75rem 1.75rem rgba(0, 0, 0, .25)}
.ama-chat__btn:focus-visible{outline: 2px solid var(--ama-primary-300-color)!important; outline-offset: 3px}

.ama-chat__icon{display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem}
.ama-chat__icon img{display: block; width: 2rem; height: 2rem; object-fit: contain}
.ama-chat__label{padding-left: .875rem; font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap}
.ama-chat.is-left .ama-chat__label{padding-left: 0; padding-right: .875rem}

@media (max-width: 767.98px){
	.ama-chat.hide-mobile{display: none}
	.ama-chat__label{display: none}
	.ama-chat__btn{min-height: 3.25rem}
	.ama-chat__icon{width: 2.5rem; height: 2.5rem}
}

@media (prefers-reduced-motion: reduce){
	.ama-chat__btn{transition: none}
	.ama-chat__btn:hover{transform: none}
}

@media print{
	.ama-chat{display: none}
}
