:root {
    --mh-product-title: #000;
    --mh-product-price: #cb0707;
    --mh-product-image-border: #eaeaea;
}

.variant-list.variant-not-chosen-anchor {
    scroll-margin: 150px;
}

.mh-bb-wrap {
    position: fixed;
    right: 0;
    bottom: 30px;
    z-index: 100;
    width: 500px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, .1);
    background-color: #ffffff;
    transition: transform .3s ease;
}

.mh-bb-wrap.not-visible {
    transform: translateY(160px);
}

.mh-bb-banner {
    display: flex;
    height: 80px;
    padding: 0 20px 0 12px;
    align-items: center;
}

.mh-bb-product {
    flex-grow: 1;
    max-width: 80%;
    display: flex;
    align-items: center;
}

.mh-bb-product-image {
    width: 60px;
    flex-shrink: 0;
}

.mh-bb-product-image img {
    width: 50px;
    height: 60px;
    object-fit: cover;
    object-position: top;
    border: 1px solid var(--mh-product-image-border);
}

.mh-bb-product-info {
    width: 100%;
}

.mh-bb-product-title {
    margin-bottom: 4px;
    color: var(--mh-product-title);
    font-size: 14px;
}

.mh-bb-product-price-wrap {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mh-bb-product-price {
    color: var(--mh-product-price);
    font-size: 16px;
    font-weight: 600;
}

.mh-bb-product-availability {
    margin-bottom: -3px;
}

.mh-bb-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .mh-bb-wrap {
        top: auto;
        bottom: 0;
        width: 100%;
    }

    #smartsupp-widget-container > div[data-testid="widgetMessengerFrame"] {
        height: calc(100% - 80px) !important;
        bottom: 80px !important;
    }

    #smartsupp-widget-container > div[data-testid="widgetButtonFrame"] {
        bottom: 95px !important;
    }

    .mh-bb-wrap.not-visible {
        transform: translateY(80px);
    }

    .mh-bb-banner {
        height: 80px;
        padding: 0 10px;
    }

    .mh-bb-product-image {
        width: 50px;
    }
}

@media screen and (max-width: 768px) {
    .mh-bb-product-title {
        display: none;
    }

    .mh-bb-product-price-wrap {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .mh-bb-product-image {
        width: 65px;
    }

    .mh-bb-product-image img {
        width: 55px;
        height: 55px;
    }

    .mh-bb-product-price {
        font-size: 24px;
    }
}