.branches-menu {
    position: relative;
}

.branches-menu summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    min-height: 44px;
}

.branches-menu summary::-webkit-details-marker {
    display: none;
}

.branches-menu summary svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}

.branches-menu[open] summary svg {
    transform: rotate(180deg);
}

.branches-menu summary:hover, .branches-menu summary[aria-current="page"] {
    color: var(--coral);
}

.branches-menu summary:focus-visible {
    outline: 3px solid #6598bd;
    outline-offset: 4px;
    border-radius: 8px;
}

.branches-menu-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: -20px;
    z-index: 20;
    min-width: 230px;
    border: 1px solid #f3e5dc;
    background: #fffdf9;
    border-radius: 22px;
    padding: 8px;
    box-shadow: 0 14px 40px #5648391a;
}

.nav .branches-menu-panel a {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
}

.branches-menu-panel a:hover, .branches-menu-panel a[aria-current="page"] {
    background: #fff0eb;
    color: #d96363;
}

.branches-menu-panel small {
    display: block;
    margin-top: 4px;
    color: #919096;
    font-size: 12px;
}

@media (max-width: 700px) {
    .branches-menu summary {
        padding: 12px;
        border-top: 1px solid #f0e7df;
        justify-content: space-between;
        min-height: 48px;
    }

    .branches-menu-panel {
        position: static;
        min-width: 0;
        margin: 0 0 12px;
        box-shadow: none;
        border-radius: 18px;
    }

    .nav .branches-menu-panel a {
        padding: 14px 16px;
        border: 0;
        min-height: 64px;
    }
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.phone:before {
    content: none;
}

.phone-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #65a7dc;
}
