/* Contact uses the shared navbar action style. These rules add the one-time
   introduction and keep room for the logo and the other actions on phones. */
@media (max-width: 439.98px) {
    .property-navbar .navbar-quick-action.cu-cta--header {
        --navbar-action-inline-inset: 6px;
        --navbar-action-fill: var(--theme-primary-light);
        width: 44px;
        padding: 0;
        border-radius: 50%;
        color: var(--theme-primary);
    }

    .cu-cta--header .cu-cta-label { display: none; }

    .cu-cta--header > .bi-headset {
        position: relative;
        inset-block-start: 1px;
    }
}

@keyframes cu-ring {
    0%, 58%, 100% { transform: rotate(0deg); }
    6% { transform: rotate(-18deg); }
    13% { transform: rotate(16deg); }
    20% { transform: rotate(-13deg); }
    27% { transform: rotate(10deg); }
    34% { transform: rotate(-6deg); }
    41% { transform: rotate(3deg); }
}
.cu-cta.is-attn > .bi { animation: cu-ring 1.5s ease-in-out 1; }

@media (hover: hover) and (pointer: fine) {
    .cu-cta:not(.is-attn):hover > .bi { animation: cu-ring 1.1s ease-in-out 1; }
}

.cu-hint {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1031;
    max-width: calc(100vw - 16px);
    padding: 9px 14px;
    border-radius: 14px;
    background: #035432;
    background: linear-gradient(180deg, #0B7A46 0%, #035432 100%);
    color: #fff;
    font-family: var(--theme-font-family, 'Sarabun', 'Segoe UI', sans-serif); /* ตัวเดียวกับป๊อปอัปติดต่อเรา */
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 12px 28px -10px rgba(2, 40, 24, 0.6);
    opacity: 0;
    transform: translateY(-6px) scale(0.92);
    transform-origin: var(--cu-hint-x, 50%) 0;
    transition: opacity 0.2s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.cu-hint.is-on {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.cu-hint::before {
    content: '';
    position: absolute;
    top: -5px;
    left: var(--cu-hint-x, 50%);
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 2px;
    background: #0B7A46;
    transform: rotate(45deg);
}
.cu-hint b { font-weight: 800; }
