.elementor-8415 .elementor-element.elementor-element-360366af{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-59bf779d */.aviso-peso-legal {
    display: none;
}

/* --- CONTENEDOR PRINCIPAL --- */
.woocommerce-order {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #444;
}

/* --- 1. MENSAJE DE ÉXITO (Gracias) --- */
.woocommerce-notice.woocommerce-thankyou-order-received {
    background-color: #d4edda; /* Verde suave */
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* --- 2. RESUMEN DEL PEDIDO (Cajas superiores) --- */
ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

ul.woocommerce-order-overview li {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    flex: 1 1 140px; /* Adaptable */
    border-radius: 8px;
    text-align: center;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
}

ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 8px;
    font-size: 1.2em;
    color: #222;
    font-weight: 700;
    text-transform: none;
}

/* --- 3. DETALLES BANCARIOS (Destacado importante) --- */
.woocommerce-bacs-bank-details {
    background: #fff3cd; /* Amarillo suave para alerta */
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.woocommerce-bacs-bank-details h2, 
.woocommerce-bacs-bank-details h3 {
    color: #856404;
    margin-top: 0;
    font-size: 1.4em;
}

ul.wc-bacs-bank-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

ul.wc-bacs-bank-details li {
    background: rgba(255,255,255,0.5);
    padding: 10px;
    border-radius: 4px;
}

/* --- 4. TABLA DE DETALLES DEL PRODUCTO --- */
.woocommerce-order-details {
    margin-bottom: 40px;
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-table--order-details th, 
.woocommerce-table--order-details td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.woocommerce-table--order-details thead th {
    background-color: #f1f1f1;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
}

.woocommerce-table--order-details tfoot th {
    background-color: #fafafa;
    color: #555;
    font-weight: 600;
    width: 60%;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: none;
    background-color: #fdfdfd;
    font-size: 1.1em;
    color: #000;
    font-weight: bold;
}

/* --- 5. DIRECCIONES CLIENTE --- */
.woocommerce-customer-details address {
    border: 1px solid #e1e1e1;
    padding: 20px;
    border-radius: 8px;
    font-style: normal;
    line-height: 1.6;
    background: #fff;
}

.woocommerce-column__title {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #2ecc71; /* Línea verde decorativa */
    display: inline-block;
    padding-bottom: 5px;
}

/* --- RESPONSIVE (Móvil) --- */
@media (max-width: 768px) {
    ul.woocommerce-order-overview {
        flex-direction: column;
    }
    
    .woocommerce-table--order-details th, 
    .woocommerce-table--order-details td {
        padding: 10px;
    }
}/* End custom CSS */