:root {
    --vrignon-green: #00633d;
    --vrignon-green-dark: #004f32;
    --vrignon-green-deep: #003e2a;
    --vrignon-white: #ffffff;
}

.vrignon-estimation-float,
.vrignon-estimation-float:hover,
.vrignon-estimation-float:focus,
.vrignon-estimation-float:visited {
    text-decoration: none !important;
}

.vrignon-estimation-float {
    position: fixed;
    right: 18px;
    top: 52%;
    transform: translateY(-50%);
    z-index: 99999;
    font-family: inherit;
    outline: none;
}

.vrignon-estimation-desktop {
    width: 138px;
    min-height: 308px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 22px 14px 18px;
    border-radius: 24px;

    color: var(--vrignon-white);
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.13) 0, rgba(255,255,255,0) 38%),
        linear-gradient(180deg, var(--vrignon-green) 0%, var(--vrignon-green-dark) 62%, var(--vrignon-green-deep) 100%);

    border: 1px solid rgba(255,255,255,.14);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        filter .22s ease;
}

.vrignon-estimation-float:hover .vrignon-estimation-desktop,
.vrignon-estimation-float:focus .vrignon-estimation-desktop {
    transform: translateX(-4px);
    filter: brightness(1.04);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.30),
        0 0 0 4px rgba(0, 99, 61, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vrignon-estimation-icon {
    display: block;
    color: var(--vrignon-white);
    line-height: 0;
    margin-bottom: 15px;
}

.vrignon-estimation-svg {
    display: block;
    width: 66px;
    height: 66px;
    overflow: visible;
}

.vrignon-estimation-main {
    display: block;
    color: var(--vrignon-white);
    font-size: 22px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-align: center;
    text-wrap: balance;
}

.vrignon-estimation-divider {
    display: block;
    width: 78%;
    height: 1px;
    background: rgba(255,255,255,.28);
    margin: auto 0 15px;
}

.vrignon-estimation-sub {
    display: block;
    color: rgba(255,255,255,.92);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-align: center;
}

.vrignon-estimation-arrow {
    display: block;
    color: var(--vrignon-white);
    font-size: 30px;
    line-height: 1;
    margin-top: 8px;
}

.vrignon-estimation-mobile {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 88px;
    }

    .vrignon-estimation-float {
        top: auto;
        left: 12px;
        right: 12px;
        bottom: 12px;
        transform: none;
    }

    .vrignon-estimation-desktop {
        display: none;
    }

    .vrignon-estimation-mobile {
        width: 100%;
        min-height: 66px;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        gap: 13px;

        padding: 12px 16px;
        border-radius: 18px;

        color: var(--vrignon-white);
        background:
            radial-gradient(circle at 12% 0%, rgba(255,255,255,.13) 0, rgba(255,255,255,0) 42%),
            linear-gradient(90deg, var(--vrignon-green) 0%, var(--vrignon-green-dark) 65%, var(--vrignon-green-deep) 100%);

        border: 1px solid rgba(255,255,255,.14);
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }

    .vrignon-estimation-mobile-icon {
        flex: 0 0 auto;
        color: var(--vrignon-white);
        line-height: 0;
    }

    .vrignon-estimation-mobile-icon .vrignon-estimation-svg {
        width: 40px;
        height: 40px;
    }

    .vrignon-estimation-mobile-copy {
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    .vrignon-estimation-mobile-main {
        color: var(--vrignon-white);
        font-size: 17px;
        line-height: 1.1;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .vrignon-estimation-mobile-sub {
        margin-top: 3px;
        color: rgba(255,255,255,.88);
        font-size: 12px;
        line-height: 1.2;
        font-weight: 500;
    }

    .vrignon-estimation-mobile-arrow {
        flex: 0 0 auto;
        color: var(--vrignon-white);
        font-size: 28px;
        line-height: 1;
    }
}

@media (max-width: 380px) {
    .vrignon-estimation-mobile-main {
        font-size: 15px;
    }

    .vrignon-estimation-mobile-sub {
        font-size: 11px;
    }
}
