.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para los campos de envío dentro del formulario */
#shipping-form label {
    display: block;
    margin-bottom: 10px;
}

#shipping-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#shipping-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #d9648f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#shipping-form button[type="submit"]:hover {
    background-color: #c0392b;
}                                                                                                                                                        
                              

.remove-from-cart {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: #e74c3c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Estilo básico para el botón de finalizar compra */
#checkout-button {
    background-color: #ff6600; /* Naranja */
    border: none;
    color: white;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: block; /* Para asegurarse de que sea un bloque */
    font-size: 18px;
    margin: 20px auto; /* Centra el botón horizontalmente */
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilo cuando el botón está en foco o se pasa el ratón por encima */
#checkout-button:hover {
    background-color: #e65c00; /* Un tono más oscuro de naranja */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo cuando el botón es presionado */
#checkout-button:active {
    background-color: #cc5200; /* Un tono aún más oscuro de naranja */
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilo cuando el botón está deshabilitado */
#checkout-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
}
