.sf-delivery {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    font-size: 14px;
    line-height: 1.45;
}

.sf-delivery__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
}

.sf-delivery__field {
    margin-bottom: 12px;
}

.sf-delivery__field label {
    display: block;
    margin-bottom: 4px;
    color: #4b5563;
}

.sf-delivery__field input[type="text"],
.sf-delivery__field input[type="number"] {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.sf-delivery__actions {
    margin: 12px 0;
}

.sf-delivery__btn {
    display: inline-block;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.sf-delivery__btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.sf-delivery__status {
    margin: 8px 0 0;
    color: #6b7280;
}

.sf-delivery__status.is-error {
    color: #b91c1c;
}

.sf-delivery__summary {
    margin-top: 12px;
    padding: 10px 12px;
    background: #f3f4f6;
    border-radius: 6px;
}

.sf-delivery__methods {
    margin-top: 12px;
}

.sf-delivery__method {
    border-top: 1px solid #e5e7eb;
    padding: 10px 0;
}

.sf-delivery__method:first-child {
    border-top: 0;
}

.sf-delivery__method-title {
    font-weight: 600;
}

.sf-delivery__variant {
    margin-top: 6px;
    color: #374151;
}

.sf-delivery__variant-price {
    font-weight: 600;
}

.delivery-product .sf-delivery__status {
    margin: 8px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.delivery-product .sf-delivery__status.is-error {
    color: #b91c1c;
}

.delivery-product .sf-delivery__btn[hidden],
.delivery-product [data-role="status"][hidden] {
    display: none !important;
}

.sf-delivery-admin__toolbar {
    margin: 16px 0;
}

.sf-delivery-admin__hint {
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.modal.modal--delivery-pvz {
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.modal.modal--delivery-pvz.active {
    display: flex;
}

.modal.modal--delivery-pvz .modal-content.sf-delivery-pvz-modal {
    position: relative;
    width: min(1100px, calc(100vw - 32px));
    max-width: 100%;
    max-height: calc(100vh - 48px);
    margin: 0 auto;
    overflow: auto;
    padding: 28px 24px 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
}

.sf-delivery-pvz-modal__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
}

.sf-delivery-pvz-modal__city {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.sf-delivery-pvz-modal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr);
    gap: 16px;
    min-height: 420px;
}

.sf-delivery-pvz-modal__map {
    min-height: 420px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

.sf-delivery-pvz-modal__map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
    padding: 16px;
    text-align: center;
    color: #6b7280;
}

.sf-delivery-pvz-modal__list {
    max-height: 420px;
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.sf-delivery-pvz-modal__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.sf-delivery-pvz-modal__item:last-child {
    border-bottom: 0;
}

.sf-delivery-pvz-modal__item:hover,
.sf-delivery-pvz-modal__item.is-active {
    background: #f8fafc;
}

.sf-delivery-pvz-modal__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.sf-delivery-pvz-modal__item-meta {
    font-size: 12px;
    color: #6b7280;
}

.sf-delivery-pvz-modal__footer {
    margin: 14px 0 0;
    font-size: 14px;
}

.sf-delivery-pvz-modal__footer a {
    color: #2563eb;
}

@media (max-width: 900px) {
    .sf-delivery-pvz-modal__layout {
        grid-template-columns: 1fr;
    }

    .sf-delivery-pvz-modal__map,
    .sf-delivery-pvz-modal__list {
        min-height: 280px;
        max-height: 320px;
    }
}
.leaflet-control-attribution.leaflet-control {
    display: none !important;
}
