form.contact-form .main-data{
    margin-top: 20px;
}

form.contact-form .main-data input{
    height: 56px;
    border-radius: 10px;
    border: 1px solid  #ccc;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 16px;
    padding-left: 10px;
    width: 100%;
    box-sizing: border-box;
    background: #F0F2F5;
}

form.contact-form .main-data input::placeholder{
    font-weight: normal;
}

form.contact-form .main-data label{
    display: block;
    margin-bottom: 5px;
}

form.contact-form .payment{
    margin: 20px 0 30px 0;
}

form.contact-form .payment>div{
    margin: 15px 0;
}

form.contact-form hr{
    margin: 20px 0;
}

form.contact-form h4{
    font-weight: 900;
    margin-bottom: 15px;
}

form.contact-form .summary p{
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}

#pay{
    display: none;
}

@media (min-width: 992px){
    body.contact{
        padding: 0 25%;
    }
}

.preview-product{
    display: flex;
}

.preview-product .img{
    width: 50px;
    margin-right: 10px;
}

.preview-product .img img{
    width: 100%;
    border-radius: 3px;
}

/*POPUP CONFIRMA ENVÍO*/

.popup-overlay{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);  
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

 .popup{
    width: 280px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.visible .popup {
    transform: scale(1);
}

.popup .close{
    background: transparent;
    border: none;
    box-shadow: none;
    color: black;
    font-size: 14px;
}

.popup p{
    text-align: center;
}

.popup p strong{
    font-weight: 900;
    text-transform: uppercase;
    font-size: 20px;
}

.popup .main-cta{
    font-size: 18px;
    margin-top: 25px;
}

/*LOADER ENVIO FORM*/
#loader-overlay {
    /* Layout y Posición */
    position: fixed; /* Se queda fijo en la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* Asegura que esté por encima de todo */

    /* Apariencia */
    background-color: rgba(255, 255, 255, 0.85); /* Fondo blanco con opacidad */
    backdrop-filter: blur(2px); /* Efecto "blur" opcional para navegadores modernos */

    /* Centrado del spinner */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Oculto por defecto */
    visibility: hidden;
    opacity: 0;
    
    /* Animación suave para aparecer */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#loader-overlay.visible {
    /* Clase para hacerlo visible */
    visibility: visible;
    opacity: 1;
}

/* El spinner (la animación de carga) */
.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 0, 0, 0.1); /* Borde gris claro */
    border-left-color: #000; /* Color del spinner (negro en este caso) */
    border-radius: 50%;
    animation: spin 1s linear infinite; /* Animación de rotación */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

h2.error-pedido{
    color: white !important;
    font-size: 16px !important;
    padding: 0 15px;
}

.header .value-text h2.error-pedido span{
     color: white !important;
     font-size: 20px !important;
}

a.yellow-link{
    color: #f8e82f !important;
    font-size: 16px !important;
}

/*Validaciones form*/
/* Estilo para los campos cuando son inválidos */
input.invalid {
    border-color: #e74c3c; /* Borde rojo */
    background-color: #fdd;
}

/* Estilo para los mensajes de error */
.error-message {
    color: #c0392b;
    font-size: 0.85em;
    display: none; /* Oculto por defecto */
    margin-top: 5px;
    margin-top: -12px;
    margin-bottom: 15px;
    font-weight: 700;
}

code.light{    
    font-size: 16px;
    line-height: 16px;
}

h2.thanks-title{
    padding: 0 20px;
}

#id{
    display: none;
}



