span.delivery-text {
    display: flex;
    width: 100%;
    font-size: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 0;
}

span.delivery-text:after,
span.delivery-text:before,
.stock-info-delivery-toggler:after,
.stock-info-delivery-toggler:before {
    content: '';
    clear: both;
    display: table;
}

span.delivery-text a {
    max-width: initial;
    margin-left: 6px;
    color: #2a3fb2;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s;
}

span.delivery-text a:hover {
    color: #ff5a00;
}

span.delivery-text img {
    margin-left: 0;
    margin-right: 3px;
    max-width: 30px;
}

.stock-info-delivery-toggler span {
    position: relative;
}

a.delivery-popup-toggler {
    display: flex;
    align-items: center;
}

a.delivery-popup-toggler img {
    max-width: 26px;
    margin-left: 1px;
}

.stock-info-delivery-toggler span.stock-info {
    padding-left: 18px;
    margin-right: 20px;
    font-size: 14px;
}

.stock-info-delivery-toggler {
    display: flex;
    align-items: center;
    padding: 10px 25px;
    background: #F5F5F5;
}

.stock-info-delivery-toggler span {
    position: relative;
}

.stock-info-delivery-toggler span.stock-info:before {
    content: "";
    height: 10px;
    width: 10px;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 3px;
}

.stock-info-delivery-toggler span.lagervara:before {
    background: #24912d;
}

.stock-info-delivery-toggler span.tillverkningsvara:before {
    background: #ffd93b;
}

.stock-info-delivery-toggler:empty {
    padding-bottom: 10px;
}

.delivery-popup-overlay {
    position: fixed;
    background: #00000870;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 0 15px;
}

.delivery-popup {
    position: fixed;
    max-width: 800px;
    width: 100%;
    margin: auto;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: all 0.3s;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    padding: 0 15px;
}

.open-delivery-popup .delivery-popup-overlay,
.open-delivery-popup .delivery-popup {
    opacity: 1;
    z-index: 9999;
    visibility: visible;
}

.open-delivery-popup .delivery-popup {
    z-index: 9999;
}

.delivery-popup-inner {
    max-width: 800px;
    background: #fff;
    padding: 30px;
    border-radius: 3px;
    position: relative;
    color: #000;
    width: 100%;
}

a.delivery-popup-close {
    position: absolute;
    right: 15px;
    top: 15px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

a.delivery-popup-close:hover {
    text-decoration: none;
    background: #ff5a00;
}

body.open-delivery-popup {
    overflow: hidden;
}

.woocommerce-product-rating a.design-artist-link {
    color: #09825a;
    padding: 0 0;
    font-weight: bold;
}

@media (max-width: 767px) {
    .delivery-popup-inner {
        width: auto;
        overflow-y: auto;
        height: 80vh;
    }
    .stock-info-delivery-toggler span.stock-info {
        margin-right: 10px;
    }
    .stock-info-delivery-toggler {
        padding: 10px 15px;
    }
    span.delivery-text {
        padding-left: 0px;
    }
    span.delivery-text img {
        margin-left: 0 !important;
    }
    .delivery-popup {
        width: 90%;
    }
}