/* Han Contact Buttons - isolated from Elementor/Hello and theme CSS */
.han-contact-fixed,
.han-contact-fixed * {
    box-sizing: border-box !important;
}

.han-contact-fixed {
    position: fixed !important;
    left: var(--han-contact-left, 18px) !important;
    bottom: calc(var(--han-contact-bottom, 18px) + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    line-height: 1 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.han-contact-fixed .han-contact-shell {
    position: relative !important;
    width: var(--han-contact-width, 360px) !important;
    max-width: calc(100vw - 20px) !important;
    min-height: var(--han-contact-height, 96px) !important;
    background: var(--han-contact-wrapper-bg, #f8f8f8) !important;
    border-radius: 32px !important;
    box-shadow: 0 10px 28px var(--han-contact-shadow, rgba(0,0,0,0.16)) !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
    overflow: visible !important;
    padding: 0 !important;
}

.han-contact-fixed .han-contact-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: var(--han-contact-height, 96px) !important;
    padding: 16px 20px 14px !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative !important;
    transition: transform .2s ease, opacity .2s ease !important;
}

.han-contact-fixed .han-contact-item:hover,
.han-contact-fixed .han-contact-item:focus {
    transform: translateY(-2px) !important;
    opacity: .96 !important;
}

.han-contact-fixed .han-contact-item--empty {
    pointer-events: none !important;
    opacity: 0 !important;
}

.han-contact-fixed .han-contact-item__icon i {
    font-size: var(--han-contact-icon-size, 38px) !important;
    line-height: 1 !important;
    display: block !important;
}

.han-contact-fixed .han-contact-item__label {
    display: block !important;
    font-size: var(--han-contact-label-size, 15px) !important;
    line-height: 1.05 !important;
    letter-spacing: .02em !important;
    font-weight: 500 !important;
}

.han-contact-fixed .han-contact-item--phone .han-contact-item__icon,
.han-contact-fixed .han-contact-item--phone .han-contact-item__icon i {
    color: var(--han-contact-phone-icon, #20245c) !important;
}

.han-contact-fixed .han-contact-item--phone .han-contact-item__label {
    color: var(--han-contact-phone-label, #20245c) !important;
}

.han-contact-fixed .han-contact-item--whatsapp .han-contact-item__icon,
.han-contact-fixed .han-contact-item--whatsapp .han-contact-item__icon i {
    color: var(--han-contact-wa-icon, #25d366) !important;
}

.han-contact-fixed .han-contact-item--whatsapp .han-contact-item__label {
    color: var(--han-contact-wa-label, #20245c) !important;
}

.han-contact-fixed .han-contact-badge {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: var(--han-contact-badge-size, 112px) !important;
    height: var(--han-contact-badge-size, 112px) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    padding: 8px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

.han-contact-fixed .han-contact-badge__inner {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: var(--han-contact-badge-bg, #d8b06c) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--han-contact-badge-text, #ffffff) !important;
    text-align: center !important;
    padding: 10px !important;
}

.han-contact-fixed .han-contact-badge__inner strong,
.han-contact-fixed .han-contact-badge__inner em {
    display: block !important;
    font-style: normal !important;
    color: var(--han-contact-badge-text, #ffffff) !important;
}

.han-contact-fixed .han-contact-badge__inner strong {
    font-size: clamp(18px, calc(var(--han-contact-badge-size, 112px) * 0.30), 36px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 0 4px !important;
}

.han-contact-fixed .han-contact-badge__inner em {
    font-size: clamp(12px, calc(var(--han-contact-badge-size, 112px) * 0.14), 20px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    margin: 0 !important;
}

@media (max-width: 767px) {
    .han-contact-fixed {
        left: max(10px, var(--han-contact-left, 18px)) !important;
        bottom: calc(max(10px, var(--han-contact-bottom, 18px)) + env(safe-area-inset-bottom, 0px)) !important;
    }

    .han-contact-fixed .han-contact-shell {
        width: min(var(--han-contact-width, 360px), calc(100vw - 20px)) !important;
        min-height: var(--han-contact-height, 96px) !important;
        border-radius: 28px !important;
    }

    .han-contact-fixed .han-contact-item {
        padding: 16px 14px 14px !important;
        gap: 8px !important;
    }
}
