.elegantia-contact-rail {
    position: fixed;
    top: 50%;
    right: 18px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
}

.elegantia-contact-link {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 2px solid #c9a45c;
    border-radius: 50%;
    background: #080808;
    color: #f1d18c;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .32);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.elegantia-contact-link:hover,
.elegantia-contact-link:focus-visible {
    transform: scale(1.08);
    background: #17120a;
    color: #fff1c9;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .4);
    outline: 2px solid #fff1c9;
    outline-offset: 2px;
}

.elegantia-contact-whatsapp {
    width: 62px;
    height: 62px;
    border-color: #c9a45c;
    background: #080808;
    color: #f1d18c;
    font-size: 31px;
}

.elegantia-contact-whatsapp:hover,
.elegantia-contact-whatsapp:focus-visible {
    background: #17120a;
    color: #fff1c9;
}

/* The shared rail replaces the smaller legacy WhatsApp image button. */
#whatsappcool-btn {
    display: none !important;
}

@media (max-width: 600px) {
    .elegantia-contact-rail {
        right: 10px;
        gap: 8px;
    }

    .elegantia-contact-link {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .elegantia-contact-whatsapp {
        width: 54px;
        height: 54px;
        font-size: 27px;
    }
}
