/* SpecialOrder — Estilos */

/* ── Ficha de producto ── */
.specialorder-notice {
    margin: 10px 0 15px 0;
    border: 1px solid #d39e00;
    border-radius: 3px;
    background: #fffcf5;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}
.specialorder-notice .so-notice-header {
    background: #d39e00;
    color: #fff;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 2px 2px 0 0;
}
.specialorder-notice .so-notice-body {
    padding: 10px 14px 12px 14px;
}
.specialorder-notice .so-notice-body p {
    margin: 0 0 6px 0;
}
.so-notice-warning {
    color: #856404;
    background: #fff3cd;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    border-left: 3px solid #ffc107;
}
.so-legal {
    color: #888;
    font-size: 11px;
    line-height: 1.4;
    margin: 8px 0 4px 0;
}
.so-legal a {
    color: #d39e00;
    text-decoration: underline;
    white-space: nowrap;
}

/* Checkbox aceptación */
.so-acceptance {
    margin-top: 10px;
    padding: 8px 12px;
    background: #fef5e7;
    border: 1px solid #f0c040;
    border-radius: 3px;
}
.so-acceptance label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 13px;
}
.so-acceptance input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Listados ── */
.so-listing-badge {
    display: inline-block;
    margin: 4px 0;
    padding: 3px 8px;
    background: #f0c040;
    color: #7d6608;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ── Carrito ── */
.so-cart-line-notice {
    margin: 3px 0;
    font-size: 12px;
    color: #d39e00;
    white-space: nowrap;
}
.so-cart-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #d39e00;
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    border-radius: 3px;
}
.so-cart-accepted {
    display: inline;
    margin-left: 5px;
    color: #888;
    font-size: 11px;
}
.so-cart-text,
.so-cart-legal {
    margin: 3px 0;
    color: #888;
    font-size: 11px;
}

/* ── Modal quantitat SO (carrito) ── */
.so-qty-modal {
    padding: 0;
    min-width: 400px;
    max-width: 520px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background: #fff;
}
.so-qty-modal .so-modal-header {
    background: #d39e00;
    color: #fff;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 15px;
}
.so-qty-modal .so-modal-body {
    padding: 14px 16px 10px 16px;
}
.so-qty-modal .so-modal-body p {
    margin: 0 0 8px 0;
}
.so-qty-modal .so-acceptance {
    margin: 10px 0 8px 0;
    padding: 8px 12px;
    background: #fef5e7;
    border: 1px solid #f0c040;
    border-radius: 3px;
}
.so-qty-modal .so-acceptance label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 13px;
}
.so-qty-modal .so-acceptance input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.so-qty-modal .so-cart-legal {
    color: #888;
    font-size: 11px;
    line-height: 1.4;
    margin: 6px 0 0 0;
}
.so-qty-modal .so-modal-footer {
    padding: 10px 16px 14px 16px;
    text-align: right;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.so-qty-modal .so-btn-cancel {
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #555;
}
.so-qty-modal .so-btn-accept {
    background: #d39e00;
    border: 1px solid #c08e00;
    color: #fff;
}
.so-qty-modal .so-btn-accept:disabled {
    background: #ccc;
    border-color: #bbb;
    cursor: not-allowed;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .specialorder-notice {
        font-size: 12px;
    }
    .specialorder-notice .so-notice-header {
        font-size: 13px;
        padding: 6px 10px;
    }
    .specialorder-notice .so-notice-body {
        padding: 8px 10px 10px 10px;
    }
    .so-acceptance label {
        font-size: 12px;
    }
}
