.m28-deliveryinfo {
    min-width: 0;
}

.m28-deliveryinfo__trigger {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--up-body-color, inherit);
    font: inherit;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.m28-deliveryinfo__trigger:disabled {
    cursor: default;
}

.m28-deliveryinfo__label {
    flex: 0 0 auto;
    font-weight: 600;
}

.m28-deliveryinfo__value {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin-left: .35rem;
    overflow: hidden;
    color: var(--up-color-success, #0aaa2a);
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .18s ease;
}

.m28-deliveryinfo__value::before {
    content: "";
    flex: 0 0 auto;
    width: .42rem;
    height: .42rem;
    margin-right: .35rem;
    border-radius: 50%;
    background: currentColor;
}

.m28-deliveryinfo.is-empty {
    visibility: hidden;
    pointer-events: none;
}

@media (hover: hover) {
    .m28-deliveryinfo__trigger:not(:disabled):hover .m28-deliveryinfo__value {
        color: #000;
    }

    [data-up-theme="dark"] .m28-deliveryinfo__trigger:not(:disabled):hover .m28-deliveryinfo__value,
    html.dark .m28-deliveryinfo__trigger:not(:disabled):hover .m28-deliveryinfo__value {
        color: #fff;
    }
}

.m28-deliveryinfo--product {
    margin-top: -.375rem;
    font-size: 1rem;
    font-weight: 400;
}

.m28-deliveryinfo--catalog {
    min-height: 1.2rem;
    margin-top: .35rem;
    font-size: .8125rem;
}

.m28-deliveryinfo--catalog .m28-deliveryinfo__label {
    font-weight: 500;
}

.m28-deliveryinfo-modal {
    width: min(32rem, calc(100vw - 2rem));
    max-width: 32rem;
    max-height: min(80vh, 46rem);
    margin: auto;
    padding: 1.25rem;
    overflow: auto;
    border: var(--up-border, 1px solid rgba(128, 128, 128, .25));
    border-radius: var(--up-border-radius, 1rem);
    background: var(--up-body-bg, #fff);
    color: var(--up-body-color, #222);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, .3);
}

.m28-deliveryinfo-modal--fancybox {
    position: relative;
    display: block;
}

.m28-deliveryinfo-modal::backdrop {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
}

[data-up-theme="dark"] .m28-deliveryinfo-modal,
html.dark .m28-deliveryinfo-modal {
    background: var(--up-theme-blocks-bg, #242424);
}

.m28-deliveryinfo-modal.is-fallback-open {
    position: fixed;
    z-index: 99999;
    inset: 50% auto auto 50%;
    display: block;
    transform: translate(-50%, -50%);
}

html.m28-deliveryinfo-modal-open::before {
    content: "";
    position: fixed;
    z-index: 99998;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.m28-deliveryinfo-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.m28-deliveryinfo-modal__title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

.m28-deliveryinfo-modal__location {
    margin-top: .25rem;
    color: var(--up-color-gray-500, #808080);
    font-size: .8125rem;
}

.m28-deliveryinfo-modal__close {
    display: inline-flex;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: -.35rem -.35rem 0 0;
    padding: 0;
    border: var(--up-border, 1px solid rgba(128, 128, 128, .25));
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.m28-deliveryinfo-modal__body {
    display: grid;
    gap: .5rem;
}

.m28-deliveryinfo-method {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
    padding: .75rem;
    border: var(--up-border, 1px solid rgba(128, 128, 128, .25));
    border-radius: var(--up-border-radius, .75rem);
    background: var(--up-light-color, rgba(128, 128, 128, .07));
    transition: background-color .18s, box-shadow .18s, transform .18s;
}

[data-up-theme="dark"] .m28-deliveryinfo-method,
html.dark .m28-deliveryinfo-method {
    background: var(--up-theme-blocks-bg, #242424);
}

@media (hover: hover) {
    .m28-deliveryinfo-method:hover {
        background: var(--up-color-gray-200, rgba(128, 128, 128, .14));
        box-shadow: var(--up-box-shadow-hover, 0 .35rem 1rem rgba(0, 0, 0, .12));
        transform: translateY(-1px);
    }

    [data-up-theme="dark"] .m28-deliveryinfo-method:hover,
    html.dark .m28-deliveryinfo-method:hover {
        background: var(--up-children-bg, #303030);
    }
}

.m28-deliveryinfo-method__icon {
    display: inline-flex;
    flex: 0 0 2.25rem;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: var(--up-border, 1px solid rgba(128, 128, 128, .25));
    border-radius: .625rem;
}

.m28-deliveryinfo-method__icon svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.m28-deliveryinfo-method__content {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 0;
}

.m28-deliveryinfo-method__name {
    min-width: 0;
    color: var(--up-body-color, inherit);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.25;
}

.m28-deliveryinfo-method__value {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    color: var(--up-color-success, #0aaa2a);
    font-size: .8125rem;
    line-height: 1.25;
    white-space: nowrap;
}

.m28-deliveryinfo-method__value::before {
    content: "";
    width: .4rem;
    height: .4rem;
    margin-right: .4rem;
    border-radius: 50%;
    background: currentColor;
}

.m28-deliveryinfo-modal__message {
    padding: 1rem;
    border-radius: var(--up-border-radius, .75rem);
    background: var(--up-light-color, rgba(128, 128, 128, .07));
    color: var(--up-color-gray-500, #808080);
    text-align: center;
}

.m28-deliveryinfo-modal__message.is-error {
    color: var(--up-color-danger, #d33);
}

@media (max-width: 575.97px) {
    .m28-deliveryinfo--catalog {
        font-size: .75rem;
    }

    .m28-deliveryinfo-modal {
        width: calc(100vw - 1rem);
        padding: 1rem;
    }

    .m28-deliveryinfo-method__content {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
}
