:root {
    --primary: #0046ad; /* Azul Rapidez */
    --accent: #f26522;  /* Naranja Calidez */
    --gray-light: #f7f9f8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--gray-light);
    color: #333;
}

.hero-banner {
    background: linear-gradient(135deg, var(--primary), #002d70);
    color: white;
    padding: 35px 20px 45px 20px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero-banner h1 { margin: 15px 0 8px 0; font-size: 1.8em; }
.hero-banner p { margin: 0 0 20px 0; font-size: 1em; opacity: 0.9; line-height: 1.4; }

.btn-directo {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.4);
    transition: transform 0.2s;
}

.btn-directo:active { transform: scale(0.95); }

.search-container { text-align: center; margin-top: -22px; }

.search-bar {
    width: 85%;
    max-width: 450px;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    outline: none;
    font-size: 1em;
}

.features {
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
    gap: 8px;
}

.feat-card {
    background: white;
    padding: 12px 8px;
    border-radius: 12px;
    font-size: 0.78em;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.04);
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* ======================================================== */
/* ESTILOS PARA LA VENTANA MODAL (REGISTRO) */
/* ======================================================== */

/* Fondo oscuro translúcido que cubre la pantalla */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px); /* Suaviza el fondo */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
}

/* Caja del formulario */
.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    max-height: 90vh; /* No desborda pantallas de móviles */
    overflow-y: auto;  /* Permite scroll interno si el móvil es pequeño */
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Botón de cerrar (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}
.close-btn:hover {
    color: #333;
}

/* Grupos de campos del formulario */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95em;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--primary);
}

/* Botón de envío final */
.btn-enviar-registro {
    background: var(--accent);
    color: white;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.3);
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-enviar-registro:hover {
    background: #d95216;
}
/* ======================================================== */
/* BOTÓN FLOTANTE DEL CARRITO */
/* ======================================================== */
.carrito-flotante-badge {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background: #f26522; /* El naranja corporativo de tu logo */
    color: white;
    padding: 14px 22px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.05em;
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.4);
    cursor: pointer;
    z-index: 999;
    display: none; /* Se activa dinámicamente con JS */
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease-in-out, background-color 0.2s;
}

.carrito-flotante-badge:hover {
    background: #d95216;
}