/*===Widget Contact===*/
.cl-widget-contact .dropdown {
    max-width: 100%;
    border: none;
    height: var(--header-top-height);
    display: flex;
    align-items: flex-start;
}

.cl-widget-contact__branch-item{
    position: relative;
    display: flex;
    flex-direction: row;
}

.cl-widget-contact__branch-item .branch-phone-button{

    align-self: stretch;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.cl-widget-contact__branch-item .branch-phone-button:hover {
    transform: rotate(15deg);
}
.cl-widget-contact__branch-item .branch-phone-button:hover > svg{
    color: var(--primary);
}

.cl-widget-contact .dropdown-toggle {

    display: flex;
    color: var(--body-color, #ccc);
    max-width: 100%;
}

.cl-widget-contact .dropdown-toggle::after {display: none;}

.cl-widget-contact .dropdown-indicator {
    display: flex;
    align-items: center;
}

.cl-widget-contact .dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

.cl-widget-contact .dropdown-menu {

    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 10px;
    overflow: hidden;
}

.cl-widget-contact .dropdown-item {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    background-color: white;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cl-widget-contact .dropdown-item:hover {
    background-color: #f0f4f8;
}

.cl-widget-contact .clinic-name {
    color: var(--primary, #ccc);
    font-size: 16px;
    pointer-events: none;
    white-space: nowrap;    /* Запрещает перенос строк */
    overflow: hidden;       /* Скрывает переполнение */
    text-overflow: ellipsis;
    max-width: 100%;
}

.cl-widget-contact .clinic-address,
.cl-widget-contact .clinic-phone {
    font-size: 14px;
    color: var(--body-color, #ccc);
    pointer-events: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}



.pulse-animation {
    animation: pulse 1.5s infinite;
    transform-origin: center;
}



@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}



@media (max-width: 767.98px) {
    .cl-widget-contact .clinic-name {
        font-size: 13px;
    }

    .cl-widget-contact .clinic-address,
    .cl-widget-contact .clinic-phone {
        font-size: 12px;
    }

    .cl-widget-contact .dropdown-toggle {
        height: auto !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cl-widget-contact .clinic-name {
        font-size: 14px;
    }

    .cl-widget-contact .clinic-address,
    .cl-widget-contact .clinic-phone {
        font-size: 12px;
    }
}
