.wdet-delivery-estimate {
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.wdet-delivery-estimate__product {
    margin-bottom: 6px;
    font-size: 13px;
}

.wdet-delivery-estimate__line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wdet-delivery-estimate__icon,
.wdet-template-preview__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    overflow: hidden;
}

.wdet-delivery-estimate__icon-image,
.wdet-template-preview__icon img,
.wdet-delivery-estimate__icon-svg,
.wdet-template-preview__icon svg {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.wdet-delivery-estimate__heading,
.wdet-delivery-estimate__message,
.wdet-template-preview__heading,
.wdet-template-preview__message {
    font-weight: inherit;
    line-height: 1.5;
}

.wdet-cart-slot,
.wdet-checkout-slot,
.wdet-mini-cart-slot {
    display: block;
    width: 100%;
}

.woocommerce-cart-form .wdet-cart-slot .wdet-delivery-estimate,
.woocommerce-checkout-review-order-table .wdet-checkout-slot .wdet-delivery-estimate,
.woocommerce table.shop_table .wdet-checkout-slot .wdet-delivery-estimate {
    display: block;
    margin-top: 6px;
}

.widget_shopping_cart .wdet-mini-cart-slot,
.woocommerce-mini-cart .wdet-mini-cart-slot,
.woocommerce.widget_shopping_cart .wdet-mini-cart-slot,
.blocksy-side-cart .wdet-mini-cart-slot,
.ct-cart-content .wdet-mini-cart-slot {
    margin-top: 6px;
    clear: both;
}

.widget_shopping_cart .wdet-mini-cart-slot .wdet-delivery-estimate,
.woocommerce-mini-cart .wdet-mini-cart-slot .wdet-delivery-estimate,
.woocommerce.widget_shopping_cart .wdet-mini-cart-slot .wdet-delivery-estimate,
.blocksy-side-cart .wdet-mini-cart-slot .wdet-delivery-estimate,
.ct-cart-content .wdet-mini-cart-slot .wdet-delivery-estimate {
    display: block;
    width: 100%;
}

.wdet-delivery-badge {
    margin-bottom: 10px;
    font-weight: 600;
}

.wdet-delivery-estimate__icon-svg,
.wdet-template-preview__icon svg,
.wdet-media-preview svg {
    display: block;
    max-width: none;
    color: inherit;
}

.wdet-delivery-estimate__icon svg *,
.wdet-template-preview__icon svg *,
.wdet-media-preview.has-media svg * {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.wdet-delivery-estimate__icon svg [fill="none"],
.wdet-delivery-estimate__icon svg [fill='none'],
.wdet-template-preview__icon svg [fill="none"],
.wdet-template-preview__icon svg [fill='none'],
.wdet-media-preview.has-media svg [fill="none"],
.wdet-media-preview.has-media svg [fill='none'] {
    fill: none !important;
}

.wdet-delivery-estimate__icon svg [stroke="none"],
.wdet-delivery-estimate__icon svg [stroke='none'],
.wdet-template-preview__icon svg [stroke="none"],
.wdet-template-preview__icon svg [stroke='none'],
.wdet-media-preview.has-media svg [stroke="none"],
.wdet-media-preview.has-media svg [stroke='none'] {
    stroke: none !important;
}

.wdet-delivery-estimate__content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wdet-delivery-estimate--checkout .wdet-delivery-estimate__line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
}

.wdet-delivery-estimate--checkout .wdet-delivery-estimate__icon {
    align-self: flex-start;
    margin-top: calc((1.5em - var(--wdet-icon-size, 1em)) / 2);
}

.wdet-delivery-estimate--checkout .wdet-delivery-estimate__content {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.wdet-delivery-estimate--checkout .wdet-delivery-estimate__heading,
.wdet-delivery-estimate--checkout .wdet-delivery-estimate__message {
    display: inline;
}

.wdet-delivery-estimate--checkout .wdet-delivery-estimate__heading {
    margin-right: 0;
}

.wdet-delivery-estimate--checkout-latest,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__content,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__heading,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__message,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__icon {
    color: #d63638 !important;
    font-weight: 700 !important;
    transform: none !important;
}

.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__content,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__heading,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__message,
.wdet-delivery-estimate--checkout-latest .wdet-delivery-estimate__icon {
    animation: none !important;
}

.wdet-delivery-estimate__content--typewriter .wdet-delivery-estimate__heading,
.wdet-delivery-estimate__content--typewriter .wdet-delivery-estimate__message {
    display: none !important;
}

.wdet-delivery-estimate__typewriter-text {
    display: inline;
    font-weight: inherit;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

.wdet-delivery-estimate__typewriter-text.wdet-is-typing {
    border-right: 0.08em solid currentColor;
    animation: wdet-typewriter-caret 0.9s step-end infinite;
}

@keyframes wdet-typewriter-caret {
    0%,
    49% {
        border-right-color: currentColor;
    }

    50%,
    100% {
        border-right-color: transparent;
    }
}

@media (max-width: 767px) {
    .wdet-delivery-estimate--checkout .wdet-delivery-estimate__line {
        align-items: flex-start;
    }

    .wdet-delivery-estimate--checkout .wdet-delivery-estimate__content {
        display: block !important;
        min-width: 0;
    }

    .wdet-delivery-estimate--checkout .wdet-delivery-estimate__icon {
        align-self: flex-start;
        margin-top: calc((1.5em - var(--wdet-icon-size, 1em)) / 2);
    }
}

.wdet-checkout-submit-message {
    margin-top: 12px;
    width: 100%;
    text-align: center;
}

.wdet-checkout-submit-message__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wdet-checkout-submit-message__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--wdet-checkout-submit-badge-bg-desktop, rgba(22, 163, 74, 0.85));
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

@media (max-width: 767px) {
    .wdet-checkout-submit-message,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px auto 0 !important;
        text-align: center;
        clear: both;
        box-sizing: border-box;
    }

    .wdet-checkout-submit-message__inner,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message__inner,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message .wdet-checkout-submit-message__inner {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .wdet-checkout-submit-message__badge,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message__badge,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message .wdet-checkout-submit-message__badge {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 6px 10px;
        box-sizing: border-box;
        border-radius: 999px;
        background: var(--wdet-checkout-submit-badge-bg-mobile, rgba(22, 163, 74, 0.78));
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}


@media (max-width: 767px) {
    .wdet-checkout-submit-message,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message,
    .woocommerce-checkout #payment .place-order > .wdet-checkout-submit-message,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 12px auto 0 !important;
        padding: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
        clear: both !important;
        transform: none !important;
    }

    .wdet-checkout-submit-message__inner,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message__inner,
    .woocommerce-checkout #payment .place-order > .wdet-checkout-submit-message .wdet-checkout-submit-message__inner,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message .wdet-checkout-submit-message__inner {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .wdet-checkout-submit-message__badge,
    .woocommerce-checkout #payment .place-order .wdet-checkout-submit-message__badge,
    .woocommerce-checkout #payment .place-order > .wdet-checkout-submit-message .wdet-checkout-submit-message__badge,
    .woocommerce-checkout #payment #place_order + .wdet-checkout-submit-message .wdet-checkout-submit-message__badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        padding: 6px 10px !important;
        border-radius: 999px !important;
        box-sizing: border-box !important;
        background: rgba(22, 163, 74, 0.78) !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (min-width: 768px) {
    .wdet-checkout-submit-message.wdet-checkout-submit-message--desktop-disabled {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .wdet-checkout-submit-message.wdet-checkout-submit-message--mobile-disabled {
        display: none !important;
    }
}
