.amasty-shipbar .amshipbar-toggle,
.amasty-shipbar .amshipbar-terms-btn,
.amasty-shipbar .amshipbar-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.amasty-shipbar .amshipbar-toggle:focus-visible,
.amasty-shipbar .amshipbar-terms-btn:focus-visible,
.amasty-shipbar .amshipbar-close-btn:focus-visible {
    outline: 2px solid #1979c3;
    outline-offset: 2px;
    border-radius: 2px;
}

.amasty-shipbar .amshipbar-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.amasty-shipbar.container {
    display: inline-grid;
    width: 100%;
    min-height: 57px;
}

.checkout-index-index:not(:has(.am-checkout)) .amasty-shipbar.container:not(.fixed.bar-position-bottom) {
    padding-bottom: 8rem;
}

.checkout-index-index .amasty-shipbar.bar-position-bottom {
    width: min(1240px, 100vw);
    margin-left: calc(50% - min(1240px, 100vw) / 2);
}

.checkout-index-index .amasty-shipbar.bar-position-bottom.fixed {
    margin-left: 0;
    left: calc((100vw - min(1240px, 100vw)) / 2);
}

.amasty-shipbar.container.fixed {
    position: fixed;
    z-index: 9999;
}

.amasty-shipbar.container.fixed.top {
    top: 0;
}

.amasty-shipbar.container.fixed.bottom {
    bottom: 0;
}

.amasty-shipbar.top {
    top: 0;
}

.amasty-shipbar.bottom {
    bottom: 0;
}

.amasty-shipbar .main-container {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
}

.amasty-shipbar .bar-content {
    border-radius: 5px 0 0 5px;
    display: -ms-inline-flexbox;
    display: -webkit-inline-box;
    display: inline-flex;
    margin: .3rem;
    position: relative;
    width: 100%;
}

.amasty-shipbar .bar-content.no-border {
    border-radius: 0;
}

.amasty-shipbar-car .amshipbar-mobile {
    display: block;
    width: 60px;
    margin-right: 5px;
}

.amasty-shipbar-car {
    margin: auto 5px;
}

.amasty-shipbar .label-content {
    vertical-align: middle;
}

.amasty-shipbar .content {
    margin: auto;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

.amasty-shipbar .close-button {
    position: absolute;
    right: 10px;
    margin: 15px 0;
}

.amasty-shipbar .extra {
    position: relative;
    width: 20px;
    margin-left: 3px;
    vertical-align: middle;
    cursor: pointer;
}

.amasty-shipbar .close-button .extra {
    width: 15px;
    margin-right: 5px;
}

.amasty-shipbar .amshipbar-terms-btn .extra {
    margin-left: 0;
}

.amasty-shipbar .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.amasty-shipbar .closed {
    padding-top: 8px;
    position: absolute;
    right: 0;
    cursor: pointer;
    pointer-events: all;
}

@media only screen and (max-width: 767px) {
    .amasty-shipbar .content {
        margin: auto;
        padding: 0 30px;
    }

    .amasty-shipbar-car {
        display: none;
    }

    .amasty-shipbar .bar-content {
        border-radius: 0;
    }

    .amasty-shipbar-car.closed {
        display: block;
    }
}
