/* ─────────────────────────────────────────────────────────────────────────────
 * 2026 ALCALINK E-COMMERCE & SEO, S.L.L.
 * License: Open Software License (OSL 3.0)
 * http://opensource.org/licenses/osl-3.0.php
 * ───────────────────────────────────────────────────────────────────────────── */

.alcawarehouses-block {
    display: inline-block;
    margin: 12px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* Hide newly injected delivery blocks until repositioned by JavaScript */
#alcawarehouses-delivery:not([data-repositioned="1"]) {
    display: none !important;
}

.alcawarehouses-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.alcawarehouses-split-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alcawarehouses-split-item {
    padding: 4px 0;
    line-height: 1.5;
}

.alcawarehouses-qty {
    font-weight: 600;
    color: #333;
    margin-right: 6px;
}

.alcawarehouses-delivery-text {
    color: #555;
}

.alcawarehouses-loading {
    color: #888;
    font-style: italic;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 767px) {
    .alcawarehouses-block {
        margin: 8px 0;
        padding: 10px 12px;
    }
}

/* Cart / Checkout delivery info */
.aw-cart-delivery {
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 6px 10px;
    background-color: #f8f9fa;
    border-radius: 2px;
    display: inline-block;
    max-width: 100%;
}

.aw-cart-delivery-line {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.aw-cart-delivery-line:last-child {
    margin-bottom: 0;
}

.aw-cart-delivery-icon {
    font-size: 0.9rem;
    margin-right: 6px;
}

.aw-cart-delivery-qty {
    font-weight: 700;
    color: #212529;
    margin-right: 4px;
}

.aw-cart-delivery-text {
    color: #495057;
}

.aw-cart-delivery-text strong {
    color: #212529;
    font-weight: 700;
}
