/* SpecialOrder — Estilos v20260620_list_v2 */

/* ── 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: #e67e22;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

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

/* ── 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;
    }
}

/* ── SO Listing Modal (readable) ── */
.so-listing-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
.so-listing-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.70);
}
.so-listing-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #ffffff;
    color: #333333;
    padding: 28px;
    border-radius: 8px;
    max-width: 520px;
    width: 92%;
    z-index: 100000;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    font-size: 14px;
    line-height: 1.6;
}
.so-listing-modal-content h3 {
    color: #e67e22;
    margin: 0 0 12px 0;
    font-size: 18px;
}
.so-listing-modal-content p {
    color: #333333;
    margin: 0 0 8px 0;
}
.so-listing-modal-content strong {
    color: #333333;
}
.so-listing-accept-label {
    display: block;
    margin: 14px 0 8px 0;
    font-size: 14px;
    color: #1f7aec;
    font-weight: 600;
    cursor: pointer;
}
.so-listing-accept-label input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
#so-listing-error {
    display: none;
    color: #d9534f;
    margin: 8px 0;
    font-weight: bold;
    font-size: 13px;
}
.so-listing-modal-buttons {
    margin-top: 18px;
    text-align: right;
}
.so-listing-modal-buttons button {
    margin-left: 10px;
    padding: 8px 20px;
    font-size: 14px;
}
.so-listing-cancel {
    background: #666 !important;
    color: #fff !important;
    border: none !important;
}
.so-listing-confirm {
    background: #5cb85c !important;
    color: #fff !important;
    border: none !important;
}

/* Availability override */
.so-listing-available {
    color: #e67e22 !important;
}
