/*
Theme Name: Hello Biz Child
Template: hello-biz
Version: 1.0
Description: Thème enfant pour Hello Biz
Author: RikuDevv
*/

.image-hotspot-container {
    position: relative !important;
    display: inline-block !important;
    max-width: 100% !important;
}

.hotspot-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.hotspot {
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    background: #6CBB49 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transform: translate(-50%, -50%) !important;
}

.tooltip {
    position: absolute !important;
    top: -8px !important;
    left: 14px !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.tooltip .line {
    width: 60px !important;
    height: 2px !important;
    background: #ffff !important;
    margin-right: 0 !important;
}

.tooltip .text {
    background: #fff !important;
    color: #000 !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2) !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    max-width: 290px !important;
    overflow-wrap: break-word !important;
}

.tooltip .text a.hotspot-link {
    color: #000 !important;
    text-decoration: none !important;
}

.tooltip .text a.hotspot-link:hover {
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    .tooltip {
        flex-direction: column !important;
        align-items: flex-start !important;
        left: 20px !important;
        top: 20px !important;
        z-index: 10 !important;
    }

    .tooltip .text {
        white-space: normal !important;
        font-size: 12px !important;
        max-width: 150px !important;
        width: fit-content !important;
    }

    .tooltip .line {
        display: none !important;
    }

    .tooltip,
    .tooltip .text {
        display: none !important;
    }

    .tooltip.active,
    .tooltip.active .text {
        display: block !important;
    }
}
