/* Блок «Доставка в {город}» на карточке товара (DeliveryEstimateWidget) */
.delivery-estimate {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--brand-border, #e5e7eb);
    font-size: 14px;
    line-height: 1.4;
    color: var(--brand-dark, #1f2937);
}

.delivery-estimate__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-weight: 700;
}

.delivery-estimate__head > .fa-solid {
    color: var(--brand-red, #C8102E);
}

.delivery-estimate__city,
.delivery-estimate__choose {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-bottom: 1px dashed currentColor;
    background: none;
    color: var(--brand-red, #C8102E);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.delivery-estimate__city .fa-solid {
    font-size: 0.75em;
}

.delivery-estimate__choose {
    font-weight: 600;
    text-align: left;
}

.delivery-estimate__city:hover,
.delivery-estimate__choose:hover {
    color: var(--brand-red-hover, #a50d26);
}

.delivery-estimate__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.delivery-estimate__option {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 8px;
}

.delivery-estimate__price {
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.delivery-estimate__date {
    grid-column: 1 / -1;
    color: var(--brand-muted, #6b7280);
    font-size: 13px;
}

.delivery-estimate__note,
.delivery-estimate__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-muted, #6b7280);
    font-size: 13px;
}

.delivery-estimate__hint {
    margin-top: 10px;
}

/* Окно выбора города */
.delivery-city__message {
    margin-top: 8px;
    color: var(--brand-muted, #6b7280);
    font-size: 13px;
}

.delivery-city__results {
    max-height: 280px;
    margin: 8px 0 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    border: 1px solid var(--brand-border, #e5e7eb);
    border-radius: 8px;
}

.delivery-city__result {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--brand-border, #e5e7eb);
    background: none;
    text-align: left;
}

.delivery-city__results li:last-child .delivery-city__result {
    border-bottom: 0;
}

.delivery-city__result:hover,
.delivery-city__result:focus {
    background: var(--brand-bg-light, #f8fafc);
}

.delivery-city__result-region {
    display: block;
    color: var(--brand-muted, #6b7280);
    font-size: 13px;
}

.delivery-city__popular {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.delivery-city__chip {
    padding: 6px 12px;
    border: 1px solid var(--brand-border, #e5e7eb);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--brand-dark, #1f2937);
    font-size: 14px;
}

.delivery-city__chip:hover,
.delivery-city__chip:focus {
    border-color: var(--brand-red, #C8102E);
    color: var(--brand-red, #C8102E);
}

.delivery-city__chip:disabled,
.delivery-city__result:disabled {
    opacity: 0.6;
}
