/* Wrapper controls positioning on screen */
.fixedWrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 1rem;
    pointer-events: none;
    /* Allows clicking through the empty space around the buttons */
}

/* Ensure children are clickable */
.fixedWrapper>* {
    pointer-events: auto;
}

.callBtn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: #c49c5c;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    position: relative;
    /* relative to wrapper */
}

.callBtn:hover {
    background-color: #b08d45;
    transform: scale(1.1);
}

.icon {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    fill: #fff !important;
    stroke: #fff !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Popup Menu Styles */
.menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.menuItem {
    background-color: #fff;
    color: #2d2d2d;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 180px;
    transition: transform 0.2s, background-color 0.2s;
    border-right: 5px solid #c49c5c;
}

.menuItem:hover {
    background-color: #f8f8f8;
    transform: translateX(-5px);
}

.locationName {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #c49c5c;
    letter-spacing: 0.5px;
}

.phoneNumber {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .fixedWrapper {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .callBtn {
        width: 3rem;
        height: 3rem;
    }

    .menuItem {
        min-width: 160px;
        padding: 0.6rem 1rem;
    }
}