/* FUENTE GENERAL */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* HEADER */
.header {
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: blue;
}

.logo img {
    width: 35px;
    margin-right: 8px;
}

/* MENÚ */
.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-menu a {
    text-decoration: none;
    color: blue;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.nav-menu a.active {
    font-weight: bold;
    text-decoration: underline;
}

.nav-menu a:hover {
    color: darkblue;
}

/* SECCIÓN DE CHECKOUT */
.checkout-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* MÉTODO DE PAGO */
.payment-method {
    text-align: center;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.payment-icons img {
    width: 60px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, filter 0.2s;
    opacity: 0.7;
}

.payment-icons img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.payment-icons img.selected {
    border: 2px solid blue;
    border-radius: 10px;
    opacity: 1;
}

/* FORMULARIO DE PAGO */
#payment-form {
    display: none; /* Solo se muestra cuando el usuario selecciona un método de pago */
}

.mb-3 input {
    text-align: center;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-header img {
    width: 60px;
    margin-bottom: 10px;
}

.modal-body p {
    font-size: 18px;
    margin-bottom: 15px;
}

/* ANIMACIÓN */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}
