.shub-widget-host { margin: 10px 0; }
.shub-widget { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px; margin: 8px 0; }
.shub-field { margin-bottom: 12px; position: relative; }
.shub-field:last-child { margin-bottom: 0; }
.shub-label { display: block; margin-bottom: 6px; font-weight: 500; color: #333; font-size: 14px; }
.shub-req { color: #d9534f; font-weight: 700; }
.shub-input { display: block; width: 100%; padding: 8px 10px; font-size: 14px; line-height: 1.42857143; color: #333; background-color: #fff; background-image: none; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.shub-input:focus { border-color: #66afe9; outline: 0; }
.shub-warehouse-search { margin-bottom: 0; }
.shub-type-options { display: flex; flex-wrap: wrap; gap: 16px; }
.shub-radio { display: inline-flex; align-items: center; cursor: pointer; margin: 0; padding: 4px 0; user-select: none; }
.shub-radio input { margin-right: 6px; }
.shub-autocomplete-list { position: absolute; z-index: 10; left: 0; right: 0; top: 100%; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid #ccc; border-top: 0; border-radius: 0 0 4px 4px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.shub-autocomplete-item { padding: 8px 10px; cursor: pointer; font-size: 14px; color: #333; }
.shub-autocomplete-item:hover { background: #f5f5f5; }
.shub-autocomplete-empty { color: #999; cursor: default; }
.shub-autocomplete-empty:hover { background: transparent; }
.shub-error { color: #d9534f; font-size: 13px; margin-top: 8px; padding: 8px 10px; background: #fdf3f3; border: 1px solid #f5c6cb; border-radius: 4px; }
.shub-loading { padding: 10px; color: #999; font-size: 13px; text-align: center; }
.shub-widget.shub-inline-mode { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; overflow: hidden !important; visibility: hidden !important; }
.shub-widget-host:empty { display: none; }
.shub-widget-host.shub-hidden-host { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shub-shop-hint { position: absolute; z-index: 99998; background: #fdf3f3; color: #d9534f; border: 1px solid #f5c6cb; border-radius: 4px; padding: 6px 10px; font-size: 13px; box-shadow: 0 4px 12px rgba(0,0,0,.08); max-width: 320px; }
.shub-shop-city-results .shub-autocomplete-item { padding: 8px 10px; cursor: pointer; font-size: 14px; color: #333; border-top: 1px solid #eee; }
.shub-shop-city-results .shub-autocomplete-item:first-child { border-top: 0; }
.shub-shop-city-results .shub-autocomplete-item:hover { background: #f5f5f5; }
.shub-shop-city-results .shub-autocomplete-empty { color: #999; cursor: default; }
.shub-shop-city-results .shub-autocomplete-empty:hover { background: transparent; }
.shub-shop-city-results { border: 1px solid #ccc; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }

.shub-address-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shub-address-col {
    flex: 0 0 100%;
}

.shub-address-col-street {
    flex: 1 1 100%;
}

.shub-address-col-house,
.shub-address-col-flat {
    flex: 1 1 calc(50% - 4px);
}

@media (min-width: 480px) {
    .shub-address-col-street {
        flex: 1 1 55%;
    }

    .shub-address-col-house,
    .shub-address-col-flat {
        flex: 1 1 calc(22.5% - 8px);
    }
}
