:root {
    --main-font: Barlow;
    --main-color: #FFFFFF;
}

@font-face {
    font-family: 'untitled-font-3';
    src: url('../font/stores/fontRuler/fonts/untitled-font-3.woff');
    font-weight: normal;
    font-style: normal;
}

#szb-vfr-recommendation {
    width: 100%;
    display: flex;
    justify-content: left;
    font-size: 13px;
    color: var(--main-color);
    font-family: var(--main-font);
    margin-top: -5px;
    margin-bottom: 10px;
}

#szb-vfr-recommendation b {
    display: contents;
    font-weight: bold;
}

.vfr__container {
    width: 100%;
}

.szb-vfr-btns {
    justify-content: left;
    margin-bottom: 18px;
}

.vfr__button--clean,
.vfr__button--clean-icon {
    line-height: normal;
    font-size: 13px;
    /* XXX */
    color: var(--main-color);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--main-font);
    font-weight: unset;
    border: 1px solid;
    padding: 10px;
    height: 35px;
}

.vfr__button--clean-icon:hover,
.vfr__button--clean:hover {
    text-decoration: none;
    color: #FF0000;
    border-color: #FFFFFF;
    transition: 0.3s;
}


button#szb-vfr-button:before,
button#szb-chart-button:before {
    font-family: untitled-font-3;
    font-size: 19px;
    text-transform: none;
    margin-right: 5px;
    align-self: center;
    color: var(--main-color);
    font-weight: unset;
}

button#szb-vfr-button:before {
    content: '\61';
    margin-top: 3%;
}

button#szb-chart-button:before {
    content: '\62';
    margin-top: 4%;
}

button#szb-vfr-button:hover:before,
button#szb-chart-button:hover:before {
    color: #FF0000;
    transition: 0.3s;
}

#szb-tooltip {
    position: absolute;
    background: #555;
    box-shadow: 0 2px 7px rgb(0 0 0 / 20%);
    background-color: #FF0000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -55px;
    transition: 1s ease-in-out;
    padding: 10px;
    z-index: 99999999999999999 !important;
}

#szb-tooltip:after {
    background-color: #FF0000;
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    transform: rotate(45deg) translateX(-50%);
    bottom: 12px;
    box-shadow: 5px -5px 10px 5px rgb(0 0 0 / 10%);
    visibility: visible;
    opacity: 1;
    left: 95px;
    top: 42px;
}

#szb-tooltip>span {
    font-family: 'Futura', sans-serif;
    font-size: 14px;
    color: #000000;
}

#szb-tooltip>b {
    font-weight: bold;
}

.custom-image-box-sizebay {
    background: #FF0000;
    color: black;
    height: 14px;
    font-size: 11px;
    font-family: sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 50px;
    z-index: 99999;
    cursor: pointer;
}

#product:has(.vfr__container) .custom-image-box-sizebay {
    display: flex !important;
}

.vfr__container,
#szb-vfr-recommendation {
    display: none;
}

body:has(#sizebay-container) .vfr__container,
body:has(#sizebay-container) #szb-vfr-recommendation {
    display: flex;
}

@media screen and (min-width: 768px) {
    #szb-tooltip {
        width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .vfr__container {
        margin-left: 0px;
    }

    button#szb-vfr-button,
    button#szb-vfr-button {
        margin: 0px 10px 0px 0px;
    }

    .vfr__button--clean,
    .vfr__button--clean-icon {
        font-size: 11.4px;
        padding: 8px;
    }

    button#szb-chart-button:before {
        margin-top: 5px;
    }
}

div.vfr__container--backdrop.szb-modal-open,
iframe#szb-modal {
    z-index: 99999999999999999 !important;
}