/* =================================================================== */
/* static/css/main.css (VERSIÓN 2.0 /
/* =================================================================== */

/* --- 1. Variables de Marca "Parchaoo" --- */
:root {
    --color-azul-electrico: #006CFF;
    --color-naranja: #ff9300;
    --color-negro-carbon: #0A0A0A;
    --color-blanco-puro: #FFFFFF;
    --color-gris-neon: #C5D1E0;

    /* Colores de UI (Derivados) */
    --color-fondo: var(--color-blanco-puro);
    --color-texto: var(--color-negro-carbon);
    --color-texto-secundario: #555555;
    --color-borde-sutil: #eeeeee;

    /* Tipografía */
    --font-titulares: 'Montserrat', sans-serif;
    --font-texto: 'Inter', sans-serif;
}

/* --- 2. Estilos Generales (Body) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-texto);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*----------------------SE MODIFICÓ ESTA PARTE PARA MEJORAR EL NAVBAR Y BUSCADOR ----------------------*/
/* --- 3. Navbar y Buscador (Estilo Parchao) --- */
.navbar {
    background: var(--color-blanco-puro);
    border-bottom: 1px solid var(--color-borde-sutil);
    padding: 1rem 3rem;

    /* FLEXBOX PARA 2 FILAS */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 120px;
}

/* Overlay oscuro cuando el menú lateral está abierto */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.navbar-top-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    order: 1;
    gap: 1rem;
}

/* Evita que el logo se encoja cuando hay muchos links */
.navbar-top-row .logo-parchao {
    flex: 0 0 auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.navbar .logo-img {
    height: 35px;
    width: auto;
    order: 1;
    flex-shrink: 0;
    max-width: none;
}

.footer .logo-img {
    height: 45px !important;
    width: auto !important;
    text-align: center;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    margin-left: auto;
    font-family: var(--font-titulares);
    font-weight: 600;
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Badge del carrito (número centrado y legible, incluso 2+ dígitos) */
.carrito-fotos-count {
    position: absolute !important;
    z-index: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 22px !important;
    min-width: 22px !important;
    width: auto !important;
    padding: 0 6px !important;
    line-height: 1 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-sizing: border-box;

    /* Look "badge" limpio */
    background: #e74c3c !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);

    /* Posición flotante sobre el botón */
    top: -8px !important;
    right: -8px !important;
    border-radius: 999px !important;
}

/* =============================================================== */
/* Utilidades: mostrar/ocultar items según breakpoint (desktop vs móvil) */
/* =============================================================== */
@media (min-width: 993px) {
    /* En desktop, ocultamos los links admin sueltos y mostramos el dropdown agrupador */
    .admin-item {
        display: none !important;
    }

    .admin-desktop-dropdown {
        display: inline-block !important;
    }
}

@media (max-width: 992px) {
    /* En móvil/tablet, ocultamos el dropdown agrupador (drawer ya muestra items) */
    .admin-desktop-dropdown {
        display: none !important;
    }
}

/* Fila 2: Buscador centrado */
.navbar-bottom-row {
    width: 100%;
    order: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.navbar-bottom-row .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.navbar .nav-links a,
.logout-button,
.dropdown-toggle {
    color: var(--color-texto);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.navbar .nav-links span {
    color: var(--color-texto-secundario);
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
    border-bottom: 3px solid transparent;
    font-weight: 600;
}

.navbar .nav-links span.dropdown-toggle {
    color: var(--color-texto);
}

.logout-form {
    display: inline;
    margin: 0;
}

.navbar .nav-links a:hover,
.logout-button:hover,
.dropdown-toggle:hover {
    color: var(--color-naranja);
}

.navbar .nav-links a.active,
.dropdown-toggle.active {
    color: var(--color-azul-electrico);
    border-bottom-color: var(--color-azul-electrico);
    border-bottom-style: solid !important;
}

.navbar .nav-links .btn-cta {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
    border-color: var(--color-naranja);
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.navbar .nav-links .btn-cta:hover {
    background-color: #ffac33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 147, 0, 0.3);
}

/*--------------HASTA AQUÍ SE MODIFICÓ ESTA PARTE PARA MEJORAR EL NAVBAR Y BUSCADOR ----------------------*/
/* =================================================================== */
/* COMPORTAMIENTO DROPDOWN - HOVER (DESKTOP) & CLICK (MÓVIL) */
/* =================================================================== */

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    color: var(--color-texto);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.95rem;
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background-color: var(--color-blanco-puro);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde-sutil);
    z-index: 1001;
    padding: 0.5rem 0;
    margin-top: 8px;
    list-style: none;
    text-align: center;
}

/* HOVER PARA DESKTOP */
@media (min-width: 993px) {
    .nav-dropdown:hover .dropdown-menu {
        display: block !important;
    }

    /* Indicador visual de dropdown (solo desktop) */
    .nav-dropdown > .dropdown-toggle:not(.user-dropdown-toggle)::after {
        content: '▾';
        font-size: 0.75rem;
        line-height: 1;
        opacity: 0.75;
        transform: translateY(1px);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-dropdown:hover > .dropdown-toggle:not(.user-dropdown-toggle)::after {
        opacity: 1;
        transform: translateY(1px) rotate(180deg);
    }

    .dropdown-menu {
        animation: fadeIn 0.2s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }
}

/* CLICK PARA MÓVIL */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--color-borde-sutil);
        margin-top: 0;
        padding: 0.25rem 0;
        background: #f9f9f9;
        border-radius: 0;
        display: none !important;
        min-height: auto;
    }

    .navbar-top-row {
        flex-wrap: wrap;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-toggle::after {
        content: '▼';
        font-size: 0.7rem;
        margin-left: 0.5rem;
        position: absolute;
        right: 10px;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle.open::after {
        transform: rotate(180deg);
    }
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-titulares);
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
    color: var(--color-azul-electrico);
}

/* =================================================================== */
/* CORRECCIÓN BOTÓN COMPRA EN DESKTOP */
/* =================================================================== */

@media (min-width: 993px) {
    .card-v2-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
        border-top: 1px solid var(--color-borde-sutil);
        margin-top: auto;
        flex-shrink: 0;
        gap: 0.8rem;
        min-height: 52px;
        background-color: var(--color-blanco-puro);
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        width: 100%;
        flex-wrap: nowrap;
    }

    /* Precio compacto pero con límite */
    .card-v2-price {
        display: flex;
        align-items: center;
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--color-texto);
        font-family: var(--font-titulares);
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1;
        min-width: auto;
        max-width: 60%;
        padding: 0.2rem 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-v2-price .info-icon {
        color: var(--color-azul-electrico);
        margin-right: 0.3rem;
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    /* Botón con ancho fijo */
    .btn-card-buy {
        background-color: var(--color-azul-electrico);
        color: var(--color-blanco-puro);
        padding: 0.5rem 0.9rem;
        font-size: 0.7rem;
        font-weight: 700;
        font-family: var(--font-titulares);
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 90px;
        max-width: 40%;
        text-align: center;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        line-height: 1;
        margin: 0;
    }

    /* Para precios muy largos */
    .card-v2-price.long-price {
        font-size: 0.95rem;
        min-width: auto;
        max-width: 55%;
    }

    .card-v2-price.long-price+.btn-card-buy {
        min-width: 85px;
        max-width: 45%;
    }

    /* Precios con descuentos o rangos */
    .card-v2-price.range-price {
        font-size: 0.9rem;
        max-width: 50%;
    }
}

/* Solución nuclear para evitar desbordamiento */
.card-v2 {
    position: relative;
    overflow: hidden !important;
}

.card-v2-footer {
    position: relative;
    z-index: 2;
}

.card-v2-footer * {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* Asegurar que el botón nunca se salga */
.btn-card-buy {
    flex-shrink: 0 !important;
    min-width: 80px !important;
    max-width: 120px !important;
}

/* Para casos extremos de precios muy largos */
@media (min-width: 993px) and (max-width: 1200px) {
    .card-v2-price {
        font-size: 0.95rem !important;
        max-width: 55% !important;
    }

    .btn-card-buy {
        min-width: 85px !important;
        max-width: 45% !important;
        font-size: 0.65rem !important;
        padding: 0.5rem 0.7rem !important;
    }
}

/* Si el problema persiste, forzar layout con grid */
.card-v2-footer.fixed-layout {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 0.8rem !important;
    align-items: center !important;
}

.card-v2-footer.fixed-layout .card-v2-price {
    justify-self: start !important;
    max-width: 100% !important;
}

.card-v2-footer.fixed-layout .btn-card-buy {
    justify-self: end !important;
    min-width: 90px !important;
}

/* --- ESTILOS DEL BOTÓN DE HAMBURGUESA --- */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    order: 3;
    z-index: 1002;
    margin-left: auto;
    color: var(--color-texto);
    text-align: center;
    align-items: center;
    justify-content: center;
}

.navbar-toggle svg,
.navbar-toggle .icon-menu,
.navbar-toggle .icon-x {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    display: block;
    margin: 0 auto;
    text-align: center;
    flex-shrink: 0;
    align-self: center;
}

.navbar-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* --- 4. Contenido Principal y Footer --- */
.content-wrapper {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--color-blanco-puro);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--color-blanco-puro);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.footer {
    background-color: var(--color-blanco-puro);
    padding: 2rem 1.5rem 0;
    margin-top: 2rem;
    border-top: 3px solid var(--color-naranja);
    color: var(--color-texto-secundario);
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer-col.footer-info {
    text-align: left;
}

.footer-col .footer-logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--color-negro-carbon);
    margin-left: 0;
}

.footer-col .footer-slogan {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-texto-secundario);
    margin-bottom: 1rem;
    max-width: 250px;
    text-align: center;
}

.footer-col h4 {
    color: var(--color-texto) !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.4rem;
    font-family: var(--font-titulares);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: var(--color-naranja);
    border-radius: 5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-texto-secundario) !important;
}

.footer-col ul a {
    color: var(--color-texto-secundario) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--color-naranja) !important;
}

.footer-col.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-col.footer-contact ul li span {
    font-weight: 700;
    color: var(--color-texto);
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.footer-col.footer-contact ul li a {
    color: var(--color-texto-secundario) !important;
    font-weight: 500;
}

.footer-col.footer-contact ul li a:hover {
    color: var(--color-naranja) !important;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.social-icons p {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
    margin-right: 0.4rem;
    margin-bottom: 0;
    font-weight: 700;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-borde-sutil);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    background-color: var(--color-azul-electrico);
    transform: translateY(-2px);
}

.social-icons .feather-icon {
    width: 16px;
    height: 16px;
    color: var(--color-negro-carbon);
    stroke-width: 2;
    transition: color 0.2s ease;
}

.social-icons a:hover .feather-icon {
    color: var(--color-blanco-puro);
}

.footer-bottom {
    border-top: 1px solid var(--color-borde-sutil);
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-texto-secundario) !important;
}

/* --- 5. Formularios --- */
.form-campo {
    margin-bottom: 1.5rem;
}

.form-campo label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
}

.form-campo input[type="text"],
.form-campo input[type="email"],
.form-campo input[type="password"],
.form-campo input[type="number"],
.form-campo input[type="tel"],
.form-campo input[type="date"],
.form-campo select,
.form-campo textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--color-borde-sutil);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--color-blanco-puro);
    font-family: var(--font-texto);
    line-height: 1.5;
}

.form-campo textarea {
    resize: vertical;
    min-height: 100px;
}

.form-campo select {
    height: calc(1.6rem + 2rem);
}

.form-campo input:focus,
.form-campo select:focus,
.form-campo textarea:focus {
    outline: none;
    border-color: var(--color-azul-electrico);
    box-shadow: 0 0 0 3px rgba(0, 108, 255, 0.2);
}

.form-campo .input-error {
    border-color: #D9534F !important;
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.2) !important;
}

/* --- Sistema de Botones --- */
.btn-primary {
    background-color: var(--color-naranja);
    color: var(--color-blanco-puro);
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid var(--color-naranja);
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-titulares);
}

.btn-primary:hover {
    background-color: #ffac33;
    border-color: #ffac33;
    transform: scale(1.05);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--color-negro-carbon);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid var(--color-negro-carbon);
    transition: all 0.2s ease;
    display: inline-block;
    cursor: pointer;
    font-family: var(--font-titulares);
}

.btn-primary-outline:hover {
    background-color: var(--color-negro-carbon);
    color: var(--color-blanco-puro);
    transform: scale(1.03);
}

.btn-accent {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
    border: 2px solid var(--color-naranja);
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-titulares);
}

.btn-accent:hover {
    background-color: #ffac33;
    border-color: #ffac33;
    transform: scale(1.05);
}

.btn-submit {
    background-color: var(--color-naranja);
    color: var(--color-blanco-puro);
    border: 2px solid var(--color-naranja);
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: var(--font-titulares);
}

.btn-submit:hover {
    background-color: #ffac33;
    border-color: #ffac33;
    transform: scale(1.03);
}

/* --- 6. Estilos del Home --- */
.hero-section {
    height: 200px;
    background: linear-gradient(135deg, var(--color-naranja) 0%, #ffac33 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-blanco-puro);
    padding: 2rem;
    border-radius: 20px;
    /* Cambia esto de 0px o el valor actual a 20px */
    margin: 2rem auto;
    /* Añade márgenes para separación */
    max-width: 95%;
    /* Para que no toque los bordes de la pantalla */

}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--color-blanco-puro);
    font-family: var(--font-titulares);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-texto);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-blanco-puro);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-titulares);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-texto);
}

.home-section-title {
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--color-texto);
    font-family: var(--font-titulares);
}

/* --- SE MODIFICÓ ESTA PARTE PARA MEJORAR EL NAVBAR Y BUSCADOR --- */
.search-hero-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.search-hero-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Estilos específicos para el buscador integrado en navbar desktop */
.navbar-integrated-search {
    max-width: 500px;
    margin: 0 auto;
    height: 40px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-hero-form:focus-within {
    box-shadow: 0 10px 30px rgba(0, 108, 255, 0.25);
    transform: translateY(-2px);
}

/*--------------HASTA AQUÍ SE MODIFICÓ ESTA PARTE PARA MEJORAR EL NAVBAR Y BUSCADOR ----------------------*/
.search-hero-form .search-icon {
    color: var(--color-texto-secundario);
    margin-right: 0.75rem;
    stroke-width: 2.5;
    flex-shrink: 0;
    text-align: center;
}

.navbar-integrated-search .search-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

svg {
    text-align: inherit;
}

.search-hero-form input[type="text"] {
    border: none;
    background: transparent;
    outline: none;
    flex-grow: 1;
    font-size: 1rem;
    color: var(--color-texto);
    font-family: var(--font-texto);
    font-weight: 500;
    padding: 0.3rem 0;
    text-align: center;
}

.navbar-integrated-search input[type="text"] {
    font-size: 0.9rem;
    padding: 0.25rem 0;
    text-align: center;
}

.search-hero-form input::placeholder {
    color: var(--color-texto-secundario);
    opacity: 0.8;
}

.search-hero-form button,
.search-hero-form .btn-accent {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-titulares);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.navbar-integrated-search button,
.navbar-integrated-search .btn-accent {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    margin-left: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1;
    vertical-align: middle;
}

.search-hero-form button:hover {
    background-color: #ffac33;
    color: var(--color-negro-carbon);
}

/* --- INICIO: TARJETAS DE EVENTO (PARCHAO v2) - DIMENSIONES UNIFORMES --- */
.evento-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Ocultar controles del carrusel */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
    display: none !important;
}

/* Carrusel con hover para desktop */
@media (min-width: 993px) {
    .swiper {
        position: relative;
        overflow: hidden;
    }

    .swiper-wrapper {
        cursor: grab;
    }

    .swiper-wrapper:active {
        cursor: grabbing;
    }

    /* Efecto hover en los bordes */
    .swiper:hover .swiper-slide {
        transition: transform 0.3s ease;
    }

    /* Indicador visual sutil de que es deslizable */
    .swiper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(0, 108, 255, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 2;
    }

    .swiper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(270deg, transparent 0%, rgba(0, 108, 255, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 2;
    }

    .swiper:hover::after,
    .swiper:hover::before {
        opacity: 1;
    }
}

/* =================================================================== */
/* ESTILOS PARA EL NUEVO CARRUSEL DE EVENTOS */
/* =================================================================== */

.upcoming-events {
    padding: 3rem 0;
    margin: 3rem 0;
}

#eventos-carousel {
    position: relative;
    padding: 0 1rem;
}

#eventos-carousel .swiper-wrapper {
    padding: 1rem 0;
}

#eventos-carousel .swiper-slide {
    height: auto;
    display: flex;
}

#eventos-carousel .card-v2 {
    width: 100%;
    margin: 0;
}

/* Controles del carrusel de eventos */
#eventos-carousel .swiper-button-next,
#eventos-carousel .swiper-button-prev {
    display: none;
    /* Ocultos por defecto, se muestran en hover */
    width: 40px;
    height: 40px;
    background: var(--color-blanco-puro);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-azul-electrico);
    transition: all 0.3s ease;
}

#eventos-carousel .swiper-button-next:after,
#eventos-carousel .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

#eventos-carousel .swiper-button-next:hover,
#eventos-carousel .swiper-button-prev:hover {
    background: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
    transform: scale(1.1);
}

#eventos-carousel .swiper-pagination {
    bottom: -10px;
}

#eventos-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-gris-neon);
    opacity: 0.5;
    transition: all 0.3s ease;
}

#eventos-carousel .swiper-pagination-bullet-active {
    background: var(--color-azul-electrico);
    opacity: 1;
    transform: scale(1.2);
}

/* Mostrar controles en hover (desktop) */
@media (min-width: 993px) {

    #eventos-carousel:hover .swiper-button-next,
    #eventos-carousel:hover .swiper-button-prev {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #eventos-carousel .swiper-button-next {
        right: 10px;
    }

    #eventos-carousel .swiper-button-prev {
        left: 10px;
    }
}

/* Responsive para el carrusel de eventos */
@media (max-width: 992px) {
    .navbar {
        padding: 1rem;
        min-height: auto;
    }

    .navbar-top-row {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .upcoming-events {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    #eventos-carousel {
        padding: 0 0.5rem;
    }

    /* Mostrar pagination en móvil */
    #eventos-carousel .swiper-pagination {
        display: block;
    }
}

@media (max-width: 576px) {
    .upcoming-events {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }

    #eventos-carousel {
        padding: 0;
    }
}

/* =================================================================== */
/* MEJORAS PARA EL BOTÓN DE COMPRA - SOLUCIÓN DEFINITIVA */
/* =================================================================== */

.card-v2-footer.fixed-layout {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 0.8rem !important;
    align-items: center !important;
    padding: 0.8rem 1rem !important;
}

.card-v2-footer.fixed-layout .card-v2-price {
    justify-self: start !important;
    max-width: 100% !important;
    font-size: 0.95rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.card-v2-footer.fixed-layout .btn-card-buy {
    justify-self: end !important;
    min-width: 90px !important;
    max-width: 120px !important;
    flex-shrink: 0 !important;
}

/* Para precios muy largos */
.card-v2-price.range-price {
    font-size: 0.9rem !important;
}

.card-v2-price.long-price {
    font-size: 0.95rem !important;
}

/* Asegurar que el botón nunca se desborde */
.btn-card-buy {
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0.5rem 0.8rem !important;
    height: 32px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Solución nuclear para evitar desbordamiento en todas las tarjetas */
.card-v2 {
    position: relative;
    overflow: hidden !important;
}

.card-v2-footer {
    position: relative;
    z-index: 2;
    overflow: visible !important;
    min-height: 50px !important;
}

/* Mejorar el scroll snapping */
.swiper {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Para móvil - asegurar buen comportamiento táctil */
@media (max-width: 992px) {
    .swiper {
        overflow: visible !important;
    }

    .swiper-wrapper {
        cursor: grab;
    }

    .swiper-slide {
        user-select: none;
        -webkit-user-select: none;
    }
}

/* Efecto sutil al deslizar */
.swiper-slide {
    transition: transform 0.2s ease;
}

.swiper-slide-active {
    transform: scale(1.02);
}

.card-v2 {
    display: flex;
    flex-direction: column;
    background-color: var(--color-blanco-puro);
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--color-borde-sutil);
    height: 100%;
    min-height: 380px;
    /* REDUCIDA de 450px a 380px */
    width: 100%;
    overflow: hidden;
}

.card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 108, 255, 0.15);
}

/* --- IMAGEN MÁS COMPACTA --- */
.card-v2-image-link {
    display: block;
    overflow: hidden;
    text-decoration: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    flex-shrink: 0;
    height: 160px;
    /* REDUCIDA de 200px a 160px */
    width: 100%;
}

.card-v2-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #eee;
}

.card-v2-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-v2:hover .card-v2-image-wrapper img {
    transform: scale(1.05);
}

/* --- CONTENIDO MÁS COMPACTO --- */
.card-v2-content {
    padding: 1rem;
    /* REDUCIDO de 1.2rem a 1rem */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    /* REDUCIDA de 200px a 150px */
}

.card-v2-title-link {
    text-decoration: none;
    flex-shrink: 0;
}

.card-v2-title {
    font-size: 1.2rem;
    /* REDUCIDO de 1.4rem */
    font-weight: 700;
    font-family: var(--font-titulares);
    color: var(--color-texto);
    margin-bottom: 0.6rem;
    /* REDUCIDO de 0.8rem */
    line-height: 1.3;
    height: 2.6em;
    /* REDUCIDA de 3.2em */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.card-v2-title-link:hover .card-v2-title {
    color: var(--color-azul-electrico);
}

/* --- INFORMACIÓN MÁS COMPACTA --- */
.card-v2-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    /* REDUCIDO de 0.6rem */
    margin-bottom: 0.8rem;
    /* REDUCIDO de 1rem */
    flex-grow: 1;
    min-height: 60px;
    /* REDUCIDA de 80px */
}

.info-row {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    /* REDUCIDO de 0.9rem */
    color: var(--color-texto-secundario);
    font-family: var(--font-texto);
    font-weight: 500;
    line-height: 1.1;
    /* REDUCIDO de 1.2 */
}

.info-icon {
    width: 14px;
    /* REDUCIDO de 16px */
    height: 14px;
    margin-right: 0.4rem;
    /* REDUCIDO de 0.5rem */
    color: var(--color-gris-neon);
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* --- FOOTER COMPACTO Y BOTÓN QUE NO SE SALE --- */
/* --- FOOTER BALANCEADO - PRECIO Y BOTÓN COMPACTOS --- */
.card-v2-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--color-borde-sutil);
    margin-top: auto;
    flex-shrink: 0;
    gap: 0.8rem;
    min-height: 52px;
    background-color: var(--color-blanco-puro);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

/* PRECIO COMPACTO PERO LEGIBLE */
.card-v2-price {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-texto);
    font-family: var(--font-titulares);
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    min-width: 70px;
    padding: 0.2rem 0;
}

.card-v2-price .info-icon {
    color: var(--color-azul-electrico);
    margin-right: 0.3rem;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* BOTÓN COMPACTO PERO CÓMODO */
.btn-card-buy {
    background-color: var(--color-naranja);
    color: var(--color-blanco-puro);
    padding: 0.5rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-titulares);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
    margin: 0;
}

.btn-card-buy:hover {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
    transform: scale(1.03);
}

/* =================================================================== */
/* RESPONSIVE BALANCEADO */
/* =================================================================== */

@media (max-width: 768px) {
    .card-v2-footer {
        padding: 0.7rem 0.9rem;
        gap: 0.7rem;
        min-height: 50px;
    }

    .card-v2-price {
        font-size: 1rem;
        min-width: 65px;
    }

    .card-v2-price .info-icon {
        width: 13px;
        height: 13px;
        margin-right: 0.25rem;
    }

    .btn-card-buy {
        min-width: 72px;
        height: 30px;
        font-size: 0.78rem;
        padding: 0.45rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .card-v2-footer {
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
        min-height: 48px;
    }

    .card-v2-price {
        font-size: 0.95rem;
        min-width: 60px;
    }

    .card-v2-price .info-icon {
        width: 12px;
        height: 12px;
        margin-right: 0.2rem;
    }

    .btn-card-buy {
        min-width: 68px;
        height: 28px;
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }
}

@media (max-width: 400px) {
    .card-v2-footer {
        padding: 0.5rem 0.7rem;
        gap: 0.5rem;
        min-height: 46px;
    }

    .card-v2-price {
        font-size: 0.9rem;
        min-width: 55px;
    }

    .btn-card-buy {
        min-width: 65px;
        height: 26px;
        font-size: 0.72rem;
        padding: 0.35rem 0.6rem;
    }
}

.btn-card-buy:hover {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
    transform: scale(1.05);
}

/* =================================================================== */
/* CORRECCIÓN ESPECÍFICA PARA BOTÓN QUE SE SALE - FORZAR COMPORTAMIENTO */
/* =================================================================== */

/* Forzar que el botón esté completamente dentro del footer */
.card-v2-footer * {
    box-sizing: border-box !important;
}

/* Asegurar que el botón no tenga márgenes ni padding problemáticos */
.btn-card-buy {
    box-sizing: border-box !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0.5rem 0.8rem !important;
    height: 32px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Forzar altura mínima suficiente para el botón */
.card-v2-footer {
    min-height: 50px !important;
    height: auto !important;
    align-items: center !important;
    display: flex !important;
}

/* Reset de cualquier estilo problemático heredado */
.featured-events .btn-card-buy,
.home-calendar-preview .btn-card-buy,
.categoria-events .btn-card-buy,
.search-results .btn-card-buy,
.eventos-destacados .btn-card-buy {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =================================================================== */
/* GARANTIZAR DIMENSIONES UNIFORMES EN TODAS LAS SECCIONES */
/* =================================================================== */


/* Reset forzado para todas las tarjetas de evento */
.featured-events .evento-grid-small,
.home-calendar-preview .evento-grid-small,
.categoria-events .evento-grid-small,
.search-results .evento-grid-small,
.eventos-destacados .evento-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Forzar mismas dimensiones en todos los contextos */
.featured-events .card-v2,
.home-calendar-preview .card-v2,
.categoria-events .card-v2,
.search-results .card-v2,
.eventos-destacados .card-v2,
.swiper-slide .card-v2,
.evento-grid-small .card-v2 {
    /* Dimensiones absolutas */
    min-height: 380px !important;
    /* REDUCIDA de 400px/450px */
    height: auto !important;
    max-height: none;

    /* Estructura interna consistente */
    display: flex !important;
    flex-direction: column !important;
}

/* Imágenes con dimensiones fijas en todas las secciones */
.featured-events .card-v2-image-link,
.home-calendar-preview .card-v2-image-link,
.categoria-events .card-v2-image-link,
.search-results .card-v2-image-link {
    height: 160px !important;
    /* REDUCIDA de 200px */
    flex-shrink: 0 !important;
}

/* Footer consistente en todas las tarjetas */
.featured-events .card-v2-footer,
.home-calendar-preview .card-v2-footer,
.categoria-events .card-v2-footer,
.search-results .card-v2-footer {
    min-height: 50px !important;
    /* REDUCIDA de 60px */
    margin-top: auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    /* NUEVO: Evita desbordamiento */
}

/* Responsive uniforme para todas las secciones */
@media (max-width: 1200px) {

    .featured-events .evento-grid-small,
    .home-calendar-preview .evento-grid-small,
    .categoria-events .evento-grid-small,
    .search-results .evento-grid-small {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .featured-events .card-v2,
    .home-calendar-preview .card-v2,
    .categoria-events .card-v2,
    .search-results .card-v2 {
        min-height: 370px !important;
        /* REDUCIDA */
    }
}

@media (max-width: 992px) {

    .featured-events .evento-grid-small,
    .home-calendar-preview .evento-grid-small,
    .categoria-events .evento-grid-small,
    .search-results .evento-grid-small {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .featured-events .card-v2,
    .home-calendar-preview .card-v2,
    .categoria-events .card-v2,
    .search-results .card-v2 {
        min-height: 360px !important;
        /* REDUCIDA */
    }
}

@media (max-width: 576px) {

    .featured-events .evento-grid-small,
    .home-calendar-preview .evento-grid-small,
    .categoria-events .evento-grid-small,
    .search-results .evento-grid-small {
        grid-template-columns: 1fr !important;
    }

    .featured-events .card-v2,
    .home-calendar-preview .card-v2,
    .categoria-events .card-v2,
    .search-results .card-v2 {
        min-height: 340px !important;
        /* REDUCIDA */
    }
}

/* --- ESTILOS PARA CASOS ESPECIALES --- */
/* Tarjetas sin imagen */
.card-v2.no-image .card-v2-image-link {
    background: linear-gradient(135deg, var(--color-azul-electrico), var(--color-naranja));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-v2.no-image .card-v2-image-link::after {
    content: "🎭";
    font-size: 2rem;
    color: white;
}

/* Para títulos muy largos - forzar 2 líneas */
.card-v2-title-long {
    font-size: 1.3rem;
    height: 3.2em;
    -webkit-line-clamp: 2;
    /* Siempre 2 líneas máximo */
}

/* Precios gratis */
.card-v2-price.free {
    color: var(--color-naranja);
}

/* Eventos agotados */
.card-v2.sold-out .btn-card-buy {
    background-color: var(--color-texto-secundario);
    cursor: not-allowed;
}

.card-v2.sold-out .btn-card-buy:hover {
    transform: none;
    background-color: var(--color-texto-secundario);
}

.home-calendar-preview {
    padding: 3rem 0;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 3rem 0;
    border: 1px solid var(--color-borde-sutil);
}

.calendar-preview-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.calendar-preview-header .home-section-title {
    margin-bottom: 1rem;
}

.calendar-preview-header p {
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
}

.calendar-preview-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* =================================================================== */
/* ESTILOS PARA "NO EVENTOS" EN CARRUSEL */
/* =================================================================== */

.no-eventos-home {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: var(--color-texto-secundario);
    font-size: 1.1rem;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-eventos-home p:first-child {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulares);
}

/* Asegurar que la tarjeta de "no eventos" ocupe todo el ancho disponible */
.swiper-slide .no-eventos-home {
    height: 100%;
    box-sizing: border-box;
}

.how-it-works {
    margin-top: 3rem;
    border-top: 1px solid var(--color-borde-sutil);
    padding-top: 2rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: var(--color-blanco-puro);
    border-radius: 12px;
    border: 1px solid var(--color-negro-carbon);
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card .feather-icon {
    width: 32px;
    height: 32px;
    color: var(--color-naranja);
    stroke-width: 2.5;
    margin: 0 auto 0.75rem auto;
    display: block;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--color-texto);
    font-family: var(--font-titulares);
}

.step-card p {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
    line-height: 1.5;
    margin: 0;
}

.parallax-cta {
    position: relative;
    padding: 6rem 2rem;
    margin-top: 3rem;
    background-color: #0A0A0A;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-blanco-puro);
}

.parallax-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-blanco-puro);
    margin-bottom: 1rem;
    font-family: var(--font-titulares);
}

.parallax-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero-white {
    background-color: var(--color-blanco-puro);
    color: var(--color-negro-carbon);
    text-decoration: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--color-blanco-puro);
    transition: all 0.3s ease;
    display: inline-block;
    font-family: var(--font-titulares);
}

.btn-hero-white:hover {
    background-color: var(--color-naranja);
    border-color: var(--color-naranja);
    color: var(--color-negro-carbon);
}

/* --- 7. Indicador de Progreso (Flujo de Compra) --- */
.progreso-pasos {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.paso {
    flex: 1;
    text-align: center;
    position: relative;
}

.paso strong {
    display: block;
    font-size: 1rem;
    color: var(--color-texto-secundario);
    font-weight: 700;
    font-family: var(--font-titulares);
}

.paso .circulo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-blanco-puro);
    border: 2px solid var(--color-borde-sutil);
    color: var(--color-texto-secundario);
    display: inline-block;
    line-height: 26px;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.paso.activo strong {
    color: var(--color-azul-electrico);
}

.paso.activo .circulo {
    background: var(--color-azul-electrico);
    border-color: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
}

/* --- 8. Estilos de Detalle Evento --- */
.detalle-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.detalle-header-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    object-fit: cover;
}

.detalle-header-info h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-titulares);
}

.info-icon-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
    margin-bottom: 0.8rem;
}

.info-icon-row .feather-icon {
    width: 20px;
    height: 20px;
    color: var(--color-azul-electrico);
    stroke-width: 2.5;
    flex-shrink: 0;
}

.info-icon-row strong {
    color: var(--color-texto);
    font-weight: 600;
}

.btn-comprar-grande {
    background-color: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
    border: 2px solid var(--color-azul-electrico);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    font-family: var(--font-titulares);
}

.btn-comprar-grande:hover {
    background-color: #0058cc;
    border-color: #0058cc;
    transform: scale(1.03);
}

.stock-agotado {
    background: var(--color-texto-secundario);
    color: var(--color-blanco-puro);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-titulares);
}

.detalle-info-secciones {
    border-top: 1px solid var(--color-borde-sutil);
    padding-top: 2rem;
}

.detalle-seccion {
    margin-bottom: 2.5rem;
}

.detalle-seccion h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-azul-electrico);
    padding-left: 0.75rem;
    font-family: var(--font-titulares);
}

.detalle-seccion p,
.detalle-seccion ul {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    line-height: 1.7;
    padding-left: 20px;
}

.detalle-seccion ul {
    padding-left: 40px;
}

.precio-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.precio-table th,
.precio-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-borde-sutil);
}

.precio-table th {
    background-color: var(--color-fondo);
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    font-weight: 700;
}

.precio-table td {
    font-size: 1rem;
    color: var(--color-texto);
}

.precio-table .precio-col {
    font-weight: 700;
    color: var(--color-azul-electrico);
    font-size: 1.1rem;
}

/* --- 9. Estilos de Seleccionar Cantidad --- */
.detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.detalle-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detalle-info h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 1rem;
    font-family: var(--font-titulares);
}

.detalle-info p {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    margin-bottom: 0.8rem;
}

.compra-box {
    background: #f8f9fa;
    border: 1px solid var(--color-borde-sutil);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.stock-disponible {
    background: #A2D037;
    color: var(--color-negro-carbon);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.selector-cantidad {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.selector-cantidad label {
    font-weight: 700;
    font-size: 1rem;
    margin-right: 1rem;
    color: var(--color-texto);
    font-family: var(--font-titulares);
}

.selector-cantidad button {
    background: var(--color-negro-carbon);
    color: var(--color-blanco-puro);
    border: none;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    line-height: 33px;
    transition: background-color 0.2s ease;
}

.selector-cantidad button:hover:not(:disabled) {
    background-color: #333;
}

.selector-cantidad button:disabled {
    background: var(--color-borde-sutil);
    cursor: not-allowed;
}

.selector-cantidad input {
    width: 50px;
    height: 35px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 1px solid var(--color-borde-sutil);
    border-radius: 8px;
    margin: 0 0.5rem;
    background-color: var(--color-blanco-puro);
    -moz-appearance: textfield;
}

.selector-cantidad input::-webkit-outer-spin-button,
.selector-cantidad input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-vivo {
    margin-top: 1.5rem;
    text-align: right;
}

.total-vivo p {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    font-weight: normal;
    margin-bottom: 0.2rem;
}

.total-vivo span {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-azul-electrico);
    display: block;
    font-family: var(--font-titulares);
}

.btn-continuar {
    background: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
    border: 2px solid var(--color-azul-electrico);
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    font-family: var(--font-titulares);
}

.btn-continuar:hover {
    background-color: #0058cc;
    border-color: #0058cc;
    transform: scale(1.03);
}

/* --- 10. Estilos del Checkout --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.resumen {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-borde-sutil);
}

.resumen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.resumen-header h3 {
    margin-bottom: 0;
}

.btn-editar-pedido {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-naranja);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--color-naranja);
    transition: all 0.2s ease;
}

.btn-editar-pedido:hover {
    background-color: var(--color-naranja);
    color: var(--color-negro-carbon);
}

.resumen h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 1rem;
    font-family: var(--font-titulares);
}

.resumen p {
    font-size: 1rem;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
}

.resumen .total {
    margin-top: 1rem;
    border-top: 1px solid var(--color-borde-sutil);
    padding-top: 1rem;
}

.resumen .total p {
    font-weight: normal;
    color: var(--color-texto-secundario);
    font-size: 1rem;
}

.resumen .total span {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-azul-electrico);
    display: block;
    font-family: var(--font-titulares);
}

.datos-pago h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-family: var(--font-titulares);
}

.datos-pago p {
    color: var(--color-texto-secundario);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.datos-confirmados {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--color-borde-sutil);
    font-size: 0.95rem;
}

.datos-confirmados h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 1rem;
    font-family: var(--font-titulares);
}

.datos-confirmados p {
    font-size: 0.95rem;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
}

.wompi-button-wrapper {
    position: relative;
    width: 100%;
    padding: 0.8rem 1.5rem;
    margin-top: 2rem;
    background: var(--color-naranja);
    color: var(--color-negro-carbon);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    transition: all 0.2s ease;
    font-family: var(--font-titulares);
}

.wompi-button-wrapper:hover {
    background-color: #ffac33;
    transform: scale(1.02);
}

.wompi-button-wrapper #wompi-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    opacity: 0.01;
}

.wompi-button-wrapper .waybox-button {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.confirmacion {
    text-align: center;
    padding: 2rem;
}

.confirmacion .icono {
    font-size: 3.5rem;
    color: var(--color-azul-electrico);
}

.confirmacion h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-top: 1rem;
    font-family: var(--font-titulares);
}

.confirmacion p {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    max-width: 600px;
    margin: 1rem auto;
}

.confirmacion strong {
    color: var(--color-texto);
}

/* --- 11. Páginas Estáticas --- */
.static-hero {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.static-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.static-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.85));
    z-index: 2;
}

.static-hero-text {
    position: relative;
    z-index: 3;
    color: var(--color-blanco-puro);
}

.static-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-naranja);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulares);
}

.static-hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.intro-section {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.intro-section p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-texto-secundario);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    border-top: 1px solid var(--color-borde-sutil);
    padding-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-borde-sutil);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.07);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-texto);
    margin-bottom: 0.75rem;
    font-family: var(--font-titulares);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-texto-secundario);
    line-height: 1.6;
}

.cta-section {
    background: var(--color-negro-carbon);
    color: var(--color-blanco-puro);
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-naranja);
    margin-bottom: 1rem;
    font-family: var(--font-titulares);
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* --- 12. Estilos de Contacto --- */
.contacto-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contacto-item .feather-icon {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contacto-item p {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--color-texto);
    display: flex;
    flex-direction: column;
}

.contacto-item p strong {
    font-weight: 700;
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contacto-item p a {
    color: var(--color-azul-electrico);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.contacto-item p a:hover {
    color: var(--color-naranja);
}

.btn-enviar-mensaje {
    background-color: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--color-azul-electrico);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-titulares);
}

.btn-enviar-mensaje:hover {
    background-color: #0058cc;
    border-color: #0058cc;
    transform: translateY(-2px) scale(1.01);
}

/* --- 13. Formulario Multi-Paso (Registro) --- */
.form-steps-container {
    position: relative;
    overflow: hidden;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-description {
    text-align: center;
    color: var(--color-texto-secundario);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.help-text {
    color: var(--color-texto-secundario);
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
}

.form-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-error-general {
    color: red;
    margin-bottom: 10px;
    background: #fff0f0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.form-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    border-top: 1px solid var(--color-borde-sutil);
    padding-top: 1.5rem;
}

.btn-prev {
    background: var(--color-texto-secundario);
    color: var(--color-blanco-puro);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--font-titulares);
}

.btn-prev:hover {
    background-color: #5a6268;
}

.btn-next {
    background: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--font-titulares);
}

.btn-next:hover {
    background-color: #0058cc;
}

.password-strength-meter {
    height: 10px;
    background-color: var(--color-borde-sutil);
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
    margin-top: 5px;
    text-align: right;
}

.strength-0 {
    background-color: transparent;
    width: 0%;
}

.strength-1 {
    background-color: #D9534F;
    width: 25%;
}

.strength-2 {
    background-color: #F0AD4E;
    width: 50%;
}

.strength-3 {
    background-color: #5BC0DE;
    width: 75%;
}

.strength-4 {
    background-color: #5CB85C;
    width: 100%;
}

/* --- 14. Estilos de Mensajes de Django --- */
.messages {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    font-size: 1.1rem;
    border: 1px solid;
    font-family: var(--font-titulares);
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* --- 15. Estados de Carga --- */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* --- 16. Estilos de Página de Calendario --- */
.month-filter-bar {
    width: 100%;
    overflow-x: auto;
    background: var(--color-blanco-puro);
    padding-bottom: 10px;
    margin-bottom: 2.5rem;
}

.month-tabs-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    border-bottom: 2px solid var(--color-borde-sutil);
}

.month-tab {
    padding: 1rem 1.2rem;
    font-weight: 700;
    font-family: var(--font-titulares);
    color: var(--color-texto-secundario);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.month-tab:hover {
    color: var(--color-negro-carbon);
}

.month-tab.active {
    color: var(--color-azul-electrico);
    border-bottom-color: var(--color-azul-electrico);
}

.month-filter-bar::-webkit-scrollbar {
    height: 0;
    background: transparent;
}

/* =================================================================== */
/* ESTILOS COMPACTOS PARA AUTENTICACIÓN - MOVER FUERA DE MEDIA QUERIES */
/* =================================================================== */

.auth-compact-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.auth-compact-card {
    background: var(--color-blanco-puro);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde-sutil);
}

.auth-compact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-compact-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulares);
}

.auth-compact-header p {
    color: var(--color-texto-secundario);
    font-size: 0.95rem;
}

/* Progreso Compacto */
.progreso-pasos-compact {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progreso-pasos-compact::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-borde-sutil);
    z-index: 1;
}

.paso-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.circulo-compact {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-blanco-puro);
    border: 2px solid var(--color-borde-sutil);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.paso-compact.activo .circulo-compact {
    background: var(--color-azul-electrico);
    border-color: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
}

.paso-compact span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-texto-secundario);
    text-align: center;
}

.paso-compact.activo span {
    color: var(--color-azul-electrico);
}

/* Formulario Compacto */
.form-step-compact {
    display: none;
}

.form-step-compact.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.step-description-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
    font-weight: 600;
}

.step-description-compact i {
    width: 16px;
    height: 16px;
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-campo-compact {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-campo-compact label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-texto);
    font-size: 0.9rem;
}

.form-campo-compact label i {
    width: 16px;
    height: 16px;
    color: var(--color-azul-electrico);
}

.form-campo-compact input,
.form-campo-compact select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-borde-sutil);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: var(--color-blanco-puro);
}

.form-campo-compact input:focus,
.form-campo-compact select:focus {
    outline: none;
    border-color: var(--color-azul-electrico);
    box-shadow: 0 0 0 3px rgba(0, 108, 255, 0.1);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    color: var(--color-texto-secundario);
    cursor: pointer;
}

.password-toggle i {
    width: 16px;
    height: 16px;
}

.help-text-compact {
    font-size: 0.8rem;
    color: var(--color-texto-secundario);
    margin-top: 0.3rem;
    display: block;
}

.form-error-compact {
    color: #D9534F;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.input-error-compact {
    border-color: #D9534F !important;
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.1) !important;
}

/* Botones de Navegación */
.form-nav-buttons-compact {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-borde-sutil);
}

.btn-prev-compact,
.btn-next-compact,
.btn-submit-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-titulares);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-prev-compact {
    background: var(--color-texto-secundario);
    color: var(--color-blanco-puro);
}

.btn-prev-compact:hover {
    background: #5a6268;
}

.btn-next-compact,
.btn-submit-compact {
    background: var(--color-azul-electrico);
    color: var(--color-blanco-puro);
}

.btn-next-compact:hover,
.btn-submit-compact:hover {
    background: #0058cc;
    transform: translateY(-1px);
}

/* Mensajes de Error */
.auth-error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff0f0;
    color: #D9534F;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.auth-error-message i {
    width: 16px;
    height: 16px;
}

/* Footer */
.auth-compact-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-borde-sutil);
}

.auth-compact-footer p {
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--color-azul-electrico);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--color-naranja);
}

/* =================================================================== */
/* ESTILOS COMPACTOS PARA AUTENTICACIÓN - MEJORADO PARA MÓVIL */
/* =================================================================== */

.auth-compact-container {
    max-width: 480px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

.auth-compact-card {
    background: var(--color-blanco-puro);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-borde-sutil);
    width: 100%;
}

/* =================================================================== */
/* RESPONSIVE MEJORADO PARA ESTILOS COMPACTOS */
/* =================================================================== */

@media (max-width: 768px) {
    .auth-compact-container {
        max-width: 100%;
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .auth-compact-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
        border-radius: 12px;
    }

    .auth-compact-header h2 {
        font-size: 1.6rem;
    }

    .auth-compact-header p {
        font-size: 0.9rem;
    }

    .form-row-compact {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .progreso-pasos-compact::before {
        left: 10%;
        right: 10%;
    }

    .paso-compact span {
        font-size: 0.75rem;
    }

    .form-nav-buttons-compact {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-prev-compact,
    .btn-next-compact,
    .btn-submit-compact {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Mejorar espaciado en móvil */
    .form-campo-compact {
        margin-bottom: 1.5rem;
    }

    .form-campo-compact input,
    .form-campo-compact select {
        padding: 1rem;
        font-size: 1rem;
    }

    .step-description-compact {
        margin-bottom: 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-compact-container {
        padding: 0 0.25rem;
        margin: 0.5rem auto;
    }

    .auth-compact-card {
        padding: 1.5rem 1rem;
        margin: 0.25rem;
        border-radius: 10px;
    }

    .auth-compact-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .auth-compact-header p {
        font-size: 0.85rem;
    }

    .progreso-pasos-compact::before {
        left: 5%;
        right: 5%;
    }

    .circulo-compact {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .paso-compact span {
        font-size: 0.7rem;
    }

    /* Asegurar que los inputs ocupen todo el ancho */
    .form-campo-compact input,
    .form-campo-compact select {
        width: 100%;
        min-width: 0;
    }

    /* Mejorar botones en móvil */
    .btn-prev-compact,
    .btn-next-compact,
    .btn-submit-compact {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Ajustar íconos en móvil */
    .step-description-compact i {
        width: 18px;
        height: 18px;
    }

    .form-campo-compact label i {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .auth-compact-card {
        padding: 1.25rem 0.75rem;
        margin: 0.25rem;
    }

    .auth-compact-header h2 {
        font-size: 1.3rem;
    }

    .progreso-pasos-compact::before {
        left: 2%;
        right: 2%;
    }

    .circulo-compact {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .paso-compact span {
        font-size: 0.65rem;
    }

    .form-campo-compact input,
    .form-campo-compact select {
        padding: 0.9rem;
    }
}

/* Asegurar que no haya scroll horizontal no deseado */
.auth-compact-container {
    overflow-x: hidden;
}

.auth-compact-card {
    box-sizing: border-box;
}

/* --- 17. Media Queries (Responsivo) --- */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1200px) {

    .content,
    .content-wrapper {
        max-width: 95%;
        margin: 2rem auto;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .evento-grid-small {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .logo-parchao {
        order: 1;
        /* Asegura que sea el primero */
        flex-shrink: 0;
        margin-right: auto;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 1rem;
        align-items: center;
    }

    .navbar .nav-links a {
        color: var(--color-texto);
        text-decoration: none;
        padding: 0.5rem 1rem;
        font-weight: 600;
        border-radius: 6px;
        transition: all 0.2s ease;
        font-family: var(--font-titulares);
        font-size: 0.95rem;
    }

    /* Menú lateral (drawer) para tablets y móviles */
    .navbar .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: var(--color-blanco-puro);
        flex-direction: column;
        /* Asegura que los items queden arriba (no abajo) */
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        margin: 0;
        /* Deja espacio arriba para la X (toggle) */
        padding: 4rem 0 1rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1002;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }

    /* Mostrar menú cuando tiene la clase nav-active */
    .navbar .nav-links.nav-active {
        right: 0;
    }

    /* Contenedor de cada dropdown sin padding extra (evita doble padding) */
    .navbar .nav-links .nav-dropdown {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--color-borde-sutil);
    }

    /* Links y botones del menú lateral */
    .navbar .nav-links a,
    .navbar .nav-links .logout-button {
        width: 100%;
        padding: 0.75rem 1.25rem;
        margin: 0;
        border-bottom: 1px solid var(--color-borde-sutil);
        font-size: 0.95rem;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* Carrito (mejor centrado y menos "disperso" en el drawer) */
    .navbar .nav-links a.nav-link.position-relative {
        justify-content: center;
        align-self: center;
        width: auto;
        gap: 0.25rem;
    }

    /* Evita que el badge se vaya al borde derecho del drawer */
    .navbar .nav-links a.nav-link.position-relative .carrito-fotos-count {
        left: auto !important;
        transform: none !important;
    }

    /* Toggle de dropdown dentro del menú lateral */
    .navbar .nav-links .dropdown-toggle {
        width: 100%;
        padding: 0.75rem 1.25rem;
        margin: 0;
        font-size: 0.95rem;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer !important;
    }

    .navbar .nav-links .btn-cta {
        background-color: var(--color-naranja);
        color: var(--color-negro-carbon);
        padding: 0.75rem 1.5rem;
        font-weight: 700;
        border-radius: 8px;
        transition: all 0.2s ease;
        font-size: 0.95rem;
        margin: 0.5rem 1.25rem;
        text-align: center;
    }

    /* --- COMPORTAMIENTO CLICK PARA MÓVIL - MEJORADO --- */
    .navbar .nav-links .dropdown-toggle::after {
        content: '▼';
        font-size: 0.65rem;
        margin-left: auto;
        position: static;
        transition: transform 0.3s ease;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--color-borde-sutil);
        margin-top: 0;
        padding: 0.25rem 0;
        background: #f9f9f9;
        border-radius: 0;
        display: none !important;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        text-align: left;
        padding: 0.5rem 1.5rem;
        border-bottom: 1px solid #eee;
        font-size: 0.85rem;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .search-hero-container {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .content,
    .content-wrapper {
        padding: 2rem;
        margin: 1.5rem auto;
    }

    .home-section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .detalle-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .evento-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }

    .detalle-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    /* Menú lateral para móviles */
    .navbar .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: var(--color-blanco-puro);
        flex-direction: column;
        gap: 0;
        margin: 0;
        /* Deja espacio arriba para la X (toggle) */
        padding: 4rem 0 1rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1002;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
    }

    .navbar .nav-links.nav-active {
        right: 0;
    }

    .navbar .nav-links a,
    .logout-button,
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid var(--color-borde-sutil);
        margin: 0;
        border-radius: 0;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .navbar .nav-links .nav-dropdown {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--color-borde-sutil);
    }

    .navbar .nav-links .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .nav-links .dropdown-toggle::after {
        position: static;
        margin-left: auto;
    }

    .navbar .nav-links .btn-cta {
        background: transparent;
        color: var(--color-naranja);
        text-align: left;
        border-radius: 0;
        transform: none;
        box-shadow: none;
        padding: 0.65rem 1rem;
        margin: 0;
        font-size: 0.9rem;
    }

    .navbar .nav-links span {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }

    .logo-parchao {
        font-size: 1.5rem;
    }

    .hero {
        height: 25vh;
        padding: 1rem;
        min-height: 200px;
        /* Añadir altura mínima */
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* BUSCADOR CORREGIDO */
    .search-hero-form {
        padding: 0.5rem 1rem;
    }

    .search-hero-form input[type="text"] {
        font-size: 1rem;
        padding: 0.3rem 0;
    }

    .search-hero-form button,
    .search-hero-form .btn-accent {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
        margin-left: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .search-hero-form .search-icon {
        margin-right: 0.5rem;
        width: 18px;
        height: 18px;
    }

    .content,
    .content-wrapper {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
    }

    .progreso-pasos {
        width: 100%;
    }

    .paso strong {
        font-size: 0.8rem;
    }

    .paso .circulo {
        width: 25px;
        height: 25px;
        line-height: 21px;
        font-size: 0.9rem;
    }

    .home-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .home-calendar-preview {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .static-hero {
        height: 200px;
        margin-bottom: 2rem;
    }

    .static-hero-text h1 {
        font-size: 2rem;
    }

    .static-hero-text p {
        font-size: 1rem;
    }

    .intro-section p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .contacto-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .contacto-item .feather-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .contacto-item p strong {
        font-size: 1rem;
    }

    .contacto-item p {
        font-size: 1rem;
    }

    .detalle-header-info h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .info-icon-row {
        font-size: 1rem;
    }

    .precio-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .precio-table thead,
    .precio-table tbody,
    .precio-table tr {
        display: block;
    }

    .precio-table thead {
        display: none;
    }

    .precio-table tr {
        border: 1px solid var(--color-borde-sutil);
        margin-bottom: 1rem;
        border-radius: 8px;
        padding: 0.5rem;
    }

    .precio-table td {
        display: block;
        text-align: right;
        border-bottom: 1px dotted var(--color-borde-sutil);
        padding: 0.8rem 0.5rem;
    }

    .precio-table td:last-child {
        border-bottom: none;
    }

    .precio-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        color: var(--color-negro-carbon);
    }

    .how-it-works {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .parallax-cta {
        background-attachment: scroll;
        padding: 3rem 1.5rem;
        margin-top: 2rem;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .parallax-content p {
        font-size: 1.1rem;
    }

    .form-nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-prev,
    .btn-next {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col .footer-logo-link {
        margin: 0 auto 1rem;
    }

    .footer-col .footer-slogan {
        margin: 0 auto 1.5rem;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-col.footer-contact ul li {
        justify-content: center;
        flex-direction: column;
    }

    .footer-col.footer-contact ul li span {
        margin-bottom: 0.25rem;
    }

    .evento-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles */
@media (max-width: 576px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }

    /* Menú lateral para móviles pequeños */
    .navbar .nav-links {
        width: 260px;
        max-width: 80%;
        /* Deja espacio arriba para la X (toggle) */
        padding: 3.75rem 0 0.75rem;
    }

    .navbar .nav-links a,
    .logout-button,
    .dropdown-toggle {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .navbar .nav-links span {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .logo-parchao {
        font-size: 1.4rem;
    }

    .hero {
        height: 20vh;
        padding: 0.5rem;
        min-height: 180px;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    /* BUSCADOR CORREGIDO */

    /* 3. EL BUSCADOR (Se va al centro y abajo) */
    .search-hero-container {
        order: 3;
        /* Tercer elemento (baja porque no cabe arriba) */
        width: 100%;
        /* Fuerza a que ocupe una línea nueva entera */
        display: flex;
        justify-content: center;
        /* Centra el formulario horizontalmente */
        margin-top: 1.5rem;
        /* Espacio entre los links y el buscador */
        margin-bottom: 0.5rem;
        max-width: 100%;
        /* Asegura que use el ancho disponible */
        padding: 0;
    }

    /* Ajuste visual para el formulario del buscador */
    .search-hero-form {
        width: 100%;
        max-width: 700px;
        /* Controla el ancho máximo de la barra gris */
        /* Aseguramos que se vea bien */
        display: flex;
        align-items: center;
        background-color: #f8f9fa;
        /* O el color de fondo que prefieras para el input */
        border-radius: 50px;
        padding: 0.6rem 1.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .search-hero-form {
        width: 100%;
        max-width: 700px;
        /* Controla el ancho máximo de la barra gris */
        /* Aseguramos que se vea bien */
        display: flex;
        align-items: center;
        background-color: #f8f9fa;
        /* O el color de fondo que prefieras para el input */
        border-radius: 50px;
        padding: 0.6rem 1.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .search-hero-form input[type="text"] {
        font-size: 0.95rem;
    }

    .search-hero-form input::placeholder {
        font-size: 0.9rem;
    }

    .search-hero-form button,
    .search-hero-form .btn-accent {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-left: 0.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .search-hero-form .search-icon {
        margin-right: 0.4rem;
        width: 16px;
        height: 16px;
    }

    .content,
    .content-wrapper {
        margin: 0.5rem;
        padding: 1.2rem;
    }

    .home-section-title {
        font-size: 1.8rem;
    }

    .evento-grid-small {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer {
        padding: 3rem 1.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-col {
        text-align: center;
    }

    .static-hero-text h1 {
        font-size: 1.8rem;
    }

    .detalle-header-info h1 {
        font-size: 1.8rem;
    }

    .btn-comprar-grande {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    .selector-cantidad {
        flex-wrap: wrap;
        justify-content: center;
    }

    .selector-cantidad label {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .confirmacion h1 {
        font-size: 1.8rem;
    }

    .confirmacion .icono {
        font-size: 2.5rem;
    }
}

/* Móviles pequeños */
@media (max-width: 380px) {
    /* Menú lateral para pantallas muy pequeñas */
    .navbar .nav-links {
        width: 240px;
        max-width: 75%;
        /* Deja espacio arriba para la X (toggle) */
        padding: 3.5rem 0 0.5rem;
    }

    .navbar .nav-links a,
    .logout-button,
    .dropdown-toggle {
        font-size: 0.85rem;
        padding: 0.6rem 0.875rem;
    }

    .navbar .nav-links span {
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero {
        height: 18vh;
        min-height: 160px;
        padding: 0.4rem;
    }

    .home-section-title {
        font-size: 1.4rem;
    }

    /* BUSCADOR CORREGIDO DEFINITIVO */
    .search-hero-form {
        flex-wrap: nowrap;
        padding: 0.4rem 0.8rem;
    }

    .search-hero-form input[type="text"] {
        font-size: 0.9rem;
        min-width: 120px;
    }

    .search-hero-form input::placeholder {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-hero-form button,
    .search-hero-form .btn-accent {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-left: 0.2rem;
        min-width: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .search-hero-form .search-icon {
        display: flex !important;
        margin-right: 0.3rem;
        width: 14px;
        height: 14px;
    }

    .content,
    .content-wrapper {
        padding: 1rem;
    }

    .evento-grid-small {
        grid-template-columns: 1fr;
    }
}

/* Solución para pantallas muy pequeñas */
@media (max-width: 320px) {
    /* Menú lateral para pantallas extra pequeñas */
    .navbar .nav-links {
        width: 220px;
        max-width: 70%;
        /* Deja espacio arriba para la X (toggle) */
        padding: 3.5rem 0 0.5rem;
    }

    .navbar .nav-links a,
    .logout-button,
    .dropdown-toggle {
        font-size: 0.85rem;
        padding: 0.6rem 0.875rem;
    }

    .search-hero-form {
        padding: 0.3rem 0.6rem;
    }

    .hero {
        height: 16vh;
        min-height: 140px;
        padding: 0.3rem;
    }

    .search-hero-form input[type="text"] {
        font-size: 0.85rem;
        min-width: 100px;
    }

    .search-hero-form button,
    .search-hero-form .btn-accent {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .search-hero-form .search-icon {
        margin-right: 0.2rem;
        width: 12px;
        height: 12px;
    }

    /* SOLUCIÓN NUCLEAR - Forzar botón dentro del footer */
    .card-v2 {
        position: relative;
        overflow: hidden !important;
    }

    .card-v2-footer {
        position: relative;
        z-index: 2;
        overflow: visible !important;
    }

    .btn-card-buy {
        position: relative;
        z-index: 3;
        transform: none !important;
        /* Evitar transform que pueda causar desbordamiento */
        will-change: auto;
        /* Evitar optimizaciones problemáticas */
    }

    /* Reset completo de cualquier estilo problemático */
    .card-v2 * {
        box-sizing: border-box;
    }

    .card-v2-footer * {
        max-height: none !important;
    }

    /* =================================================================== */
    /* ESTILOS COMPACTOS PARA AUTENTICACIÓN */
    /* =================================================================== */

    .auth-compact-container {
        max-width: 480px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .auth-compact-card {
        background: var(--color-blanco-puro);
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--color-borde-sutil);
    }

    .auth-compact-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .auth-compact-header h2 {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--color-texto);
        margin-bottom: 0.5rem;
        font-family: var(--font-titulares);
    }

    .auth-compact-header p {
        color: var(--color-texto-secundario);
        font-size: 0.95rem;
    }

    /* Progreso Compacto */
    .progreso-pasos-compact {
        display: flex;
        justify-content: space-between;
        margin-bottom: 2rem;
        position: relative;
    }

    .progreso-pasos-compact::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--color-borde-sutil);
        z-index: 1;
    }

    .paso-compact {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        flex: 1;
    }

    .circulo-compact {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--color-blanco-puro);
        border: 2px solid var(--color-borde-sutil);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--color-texto-secundario);
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
    }

    .paso-compact.activo .circulo-compact {
        background: var(--color-azul-electrico);
        border-color: var(--color-azul-electrico);
        color: var(--color-blanco-puro);
    }

    .paso-compact span {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--color-texto-secundario);
        text-align: center;
    }

    .paso-compact.activo span {
        color: var(--color-azul-electrico);
    }

    /* Formulario Compacto */
    .form-step-compact {
        display: none;
    }

    .form-step-compact.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }

    .step-description-compact {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        color: var(--color-texto-secundario);
        font-size: 0.9rem;
        font-weight: 600;
    }

    .step-description-compact i {
        width: 16px;
        height: 16px;
    }

    .form-row-compact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .form-campo-compact {
        margin-bottom: 1.2rem;
        position: relative;
    }

    .form-campo-compact label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--color-texto);
        font-size: 0.9rem;
    }

    .form-campo-compact label i {
        width: 16px;
        height: 16px;
        color: var(--color-azul-electrico);
    }

    .form-campo-compact input,
    .form-campo-compact select {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid var(--color-borde-sutil);
        border-radius: 8px;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        background: var(--color-blanco-puro);
    }

    .form-campo-compact input:focus,
    .form-campo-compact select:focus {
        outline: none;
        border-color: var(--color-azul-electrico);
        box-shadow: 0 0 0 3px rgba(0, 108, 255, 0.1);
    }

    .password-toggle {
        position: absolute;
        right: 12px;
        top: 38px;
        color: var(--color-texto-secundario);
        cursor: pointer;
    }

    .password-toggle i {
        width: 16px;
        height: 16px;
    }

    .help-text-compact {
        font-size: 0.8rem;
        color: var(--color-texto-secundario);
        margin-top: 0.3rem;
        display: block;
    }

    .form-error-compact {
        color: #D9534F;
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }

    .input-error-compact {
        border-color: #D9534F !important;
        box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.1) !important;
    }

    /* Botones de Navegación */
    .form-nav-buttons-compact {
        display: flex;
        justify-content: space-between;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--color-borde-sutil);
    }

    .btn-prev-compact,
    .btn-next-compact,
    .btn-submit-compact {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        border: none;
        border-radius: 8px;
        font-weight: 700;
        font-family: var(--font-titulares);
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.95rem;
    }

    .btn-prev-compact {
        background: var(--color-texto-secundario);
        color: var(--color-blanco-puro);
    }

    .btn-prev-compact:hover {
        background: #5a6268;
    }

    .btn-next-compact,
    .btn-submit-compact {
        background: var(--color-azul-electrico);
        color: var(--color-blanco-puro);
    }

    .btn-next-compact:hover,
    .btn-submit-compact:hover {
        background: #0058cc;
        transform: translateY(-1px);
    }

    /* Mensajes de Error */
    .auth-error-message {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #fff0f0;
        color: #D9534F;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .auth-error-message i {
        width: 16px;
        height: 16px;
    }

    /* Footer */
    .auth-compact-footer {
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--color-borde-sutil);
    }

    .auth-compact-footer p {
        color: var(--color-texto-secundario);
        font-size: 0.9rem;
    }

    .auth-link {
        color: var(--color-azul-electrico);
        font-weight: 700;
        text-decoration: none;
    }

    .auth-link:hover {
        color: var(--color-naranja);
    }

    /* Responsive */
    @media (max-width: 576px) {
        .auth-compact-card {
            padding: 2rem 1.5rem;
        }

        .form-row-compact {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .progreso-pasos-compact::before {
            left: 15%;
            right: 15%;
        }

        .paso-compact span {
            font-size: 0.75rem;
        }

        .form-nav-buttons-compact {
            flex-direction: column;
            gap: 0.8rem;
        }

        .btn-prev-compact,
        .btn-next-compact,
        .btn-submit-compact {
            width: 100%;
            justify-content: center;
        }
    }

    /* =================================================================== */
    /* CORRECCIÓN CRÍTICA - EVITAR SCROLL HORIZONTAL EN MÓVIL */
    /* =================================================================== */

    /* Contenedor principal que evita overflow horizontal */
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* APLICAR A LOS 3 CARRUSELES POR SUS IDs */
    #destacados-carousel .swiper-slide,
    #calendario-carousel .swiper-slide,
    #eventos-carousel .swiper-slide {
        width: 250px !important;
        height: auto !important;
    }

    #destacados-carousel .card-v2,
    #calendario-carousel .card-v2,
    #eventos-carousel .card-v2 {
        min-height: 300px;
    }

    /* CONTENEDORES PADRE - EVITAR DESBORDAMIENTO */
    .featured-events,
    .home-calendar-preview,
    .upcoming-events {
        width: 100%;
        overflow: hidden !important;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* SWIPER CONTAINER */
    #destacados-carousel,
    #calendario-carousel,
    #eventos-carousel {
        width: 100%;
        overflow: hidden !important;
    }

    /* FORZAR QUE EL BOTÓN DE COMPRA SEA SIEMPRE VISIBLE */
    #destacados-carousel .card-v2-footer,
    #calendario-carousel .card-v2-footer,
    #eventos-carousel .card-v2-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: 55px !important;
        padding: 0.7rem 0.9rem !important;
        gap: 0.8rem !important;
        overflow: visible !important;
    }

    #destacados-carousel .btn-card-buy,
    #calendario-carousel .btn-card-buy,
    #eventos-carousel .btn-card-buy {
        min-width: 90px !important;
        max-width: 90px !important;
        height: 32px !important;
        font-size: 0.72rem !important;
        padding: 0.5rem 0.8rem !important;
        white-space: nowrap;
        flex-shrink: 0 !important;
    }

    /* SOLUCIÓN DEFINITIVA CONTRA DESBORDAMIENTO */
    body {
        overflow-x: hidden !important;
    }

    /* RESPONSIVE UNIFICADO PARA LOS 3 CARRUSELES */
    @media (max-width: 1200px) {

        #destacados-carousel .swiper-slide,
        #calendario-carousel .swiper-slide,
        #eventos-carousel .swiper-slide {
            width: 230px !important;
        }
    }

    @media (max-width: 992px) {

        #destacados-carousel .swiper-slide,
        #calendario-carousel .swiper-slide,
        #eventos-carousel .swiper-slide {
            width: 210px !important;
        }
    }

    @media (max-width: 768px) {

        #destacados-carousel .swiper-slide,
        #calendario-carousel .swiper-slide,
        #eventos-carousel .swiper-slide {
            width: 280px !important;
            /* MISMO TAMAÑO PARA TODOS */
        }

        #destacados-carousel .card-v2,
        #calendario-carousel .card-v2,
        #eventos-carousel .card-v2 {
            min-height: 350px !important;
            /* MISMA ALTURA PARA TODOS */
        }

        /* FORZAR MISMOS ESTILOS EN MÓVIL */
        .featured-events,
        .home-calendar-preview,
        .upcoming-events {
            padding: 0 1rem !important;
        }

        /* OVERRIDE CUALQUIER ESTILO DIFERENTE EN MÓVIL */
        #destacados-carousel .swiper-wrapper,
        #calendario-carousel .swiper-wrapper,
        #eventos-carousel .swiper-wrapper {
            display: flex !important;
            align-items: stretch !important;
        }
    }

    @media (max-width: 576px) {

        #destacados-carousel .swiper-slide,
        #calendario-carousel .swiper-slide,
        #eventos-carousel .swiper-slide {
            width: 260px !important;
            /* MISMO TAMAÑO PARA TODOS */
        }

        #destacados-carousel .card-v2,
        #calendario-carousel .card-v2,
        #eventos-carousel .card-v2 {
            min-height: 340px !important;
            /* MISMA ALTURA PARA TODOS */
        }

        .featured-events,
        .home-calendar-preview,
        .upcoming-events {
            padding: 0 0.5rem !important;
        }
    }

    /* SOLUCIÓN NUCLEAR PARA MÓVIL - APLICAR A TODOS LOS SWIPERS */
    @media (max-width: 768px) {
        .swiper-slide {
            width: 280px !important;
            /* APLICA A CUALQUIER SWIPER */
        }

        .swiper-slide .card-v2 {
            min-height: 350px !important;
            /* APLICA A CUALQUIER CARD */
        }
    }

    @media (max-width: 576px) {
        .swiper-slide {
            width: 260px !important;
        }

        .swiper-slide .card-v2 {
            min-height: 340px !important;
        }
    }

    /* TAMAÑO UNIFICADO MÓVIL PEQUEÑO */
    .swiper-slide {
        width: 260px !important;
        /* Mismo tamaño para todas */
    }

    .swiper-slide .card-v2 {
        min-height: 340px;
        /* Misma altura para todas */
    }

    .swiper-slide .btn-card-buy {
        min-width: 80px !important;
    }
}

/* MÓVILES MUY PEQUEÑOS */
@media (max-width: 400px) {
    .swiper-slide {
        width: 240px !important;
        /* Mismo tamaño para todas */
    }

    .swiper-slide .card-v2 {
        min-height: 330px;
        /* Misma altura para todas */
    }
}

/* =================================================================== */
/* SWIPER CONFIGURACIÓN MEJORADA */
/* =================================================================== */

/* Ocultar controles en móvil para ahorrar espacio */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .swiper-pagination {
        bottom: 5px !important;
    }
}

/* Mejorar el scroll snapping para móvil */
@media (max-width: 992px) {
    .swiper {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .swiper-slide {
        scroll-snap-align: start;
    }
}

/* =================================================================== */
/* CORRECCIÓN PARA CONTENIDO PRINCIPAL */
/* =================================================================== */

.content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Asegurar que el hero no cause problemas */
.hero {
    width: 100%;
    overflow: hidden;
}

/* Prevenir que imágenes grandes causen overflow */
img {
    max-width: 100%;
    height: auto;
}

/* =================================================================== */
/* ESTILOS PARA EVENTOS PERSONALIZADOS */
/* =================================================================== */

.personalized-events {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 16px;
    border: 1px solid var(--color-borde-sutil);
}

.personalized-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.personalized-subtitle {
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
    margin-bottom: 2rem;
}

.filters-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-azul-electrico);
    background: transparent;
    color: var(--color-azul-electrico);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: var(--font-titulares);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-azul-electrico);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 108, 255, 0.3);
}

.personalized-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Responsive para filtros */
@media (max-width: 768px) {
    .filters-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    .personalized-events {
        padding: 2rem 0;
        margin: 2rem 0;
    }
}

@media (max-width: 576px) {
    .filters-container {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    /* =================================================================== */
    /* ESTILOS PARA REGISTRO DE ORGANIZADORES */
    /* =================================================================== */

    .account-type-selection {
        max-width: 1000px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .selection-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .selection-header h1 {
        font-size: 2.5rem;
        color: var(--color-texto);
        margin-bottom: 1rem;
    }

    .selection-header p {
        font-size: 1.1rem;
        color: var(--color-texto-secundario);
    }

    .account-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .account-card {
        background: var(--color-blanco-puro);
        border-radius: 20px;
        padding: 2.5rem;
        text-align: center;
        border: 2px solid var(--color-borde-sutil);
        transition: all 0.3s ease;
        position: relative;
    }

    .account-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .organizador-card.featured {
        border-color: var(--color-naranja);
        background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    }

    .card-badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--color-naranja);
        color: var(--color-negro-carbon);
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
        font-weight: 700;
        font-size: 0.8rem;
    }

    .card-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .account-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--color-texto);
    }

    .card-features {
        list-style: none;
        text-align: left;
        margin-bottom: 2rem;
    }

    .card-features li {
        padding: 0.5rem 0;
        color: var(--color-texto-secundario);
    }

    .btn-card-primary,
    .btn-card-accent {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
    }

    .btn-card-primary {
        background: var(--color-azul-electrico);
        color: var(--color-blanco-puro);
    }

    .btn-card-accent {
        background: var(--color-naranja);
        color: var(--color-negro-carbon);
    }

    .btn-card-primary:hover,
    .btn-card-accent:hover {
        transform: scale(1.05);
    }

    .card-note {
        font-size: 0.9rem;
        color: var(--color-texto-secundario);
        margin: 0;
    }

    /* Formulario de organizador */
    .organizador-card .auth-compact-card {
        max-width: 800px;
    }

    .form-section {
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--color-borde-sutil);
    }

    .section-title {
        font-size: 1.3rem;
        color: var(--color-azul-electrico);
        margin-bottom: 1.5rem;
        padding-left: 1rem;
        border-left: 4px solid var(--color-naranja);
    }

    .organizador-submit {
        background: linear-gradient(135deg, var(--color-naranja), #00D4AA) !important;
        font-size: 1.1rem !important;
        padding: 1.2rem 2rem !important;
    }

    /* Mensaje de éxito para organizadores */
    .alert-organizador-success {
        background: linear-gradient(135deg, #d4edda, #c3e6cb);
        border: 2px solid #155724;
        border-radius: 15px;
        padding: 2rem;
        margin: 2rem 0;
        text-align: center;
        animation: slideInUp 0.5s ease;
    }

    .alert-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .alert-content h3 {
        color: #155724;
        margin-bottom: 1rem;
    }

    .alert-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }

    .btn-alert-primary,
    .btn-alert-secondary {
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .btn-alert-primary {
        background: var(--color-azul-electrico);
        color: white;
    }

    .btn-alert-secondary {
        background: transparent;
        color: var(--color-azul-electrico);
        border: 2px solid var(--color-azul-electrico);
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .account-cards {
            grid-template-columns: 1fr;
        }

        .account-card {
            padding: 2rem 1.5rem;
        }

        .alert-actions {
            flex-direction: column;
        }

        .btn-alert-primary,
        .btn-alert-secondary {
            width: 100%;
            text-align: center;
        }
    }

    .user-menu {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .user-welcome {
        padding: 8px 16px;
        color: white;
        font-weight: 500;
    }

    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        display: none;
        z-index: 1000;
    }

    .user-menu:hover .user-dropdown {
        display: block;
    }

    .dropdown-item {
        display: block;
        padding: 12px 16px;
        color: var(--dark);
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .dropdown-item:hover {
        background-color: var(--light);
    }

    .dropdown-divider {
        height: 1px;
        background-color: var(--border);
        margin: 4px 0;
    }

    .logout {
        color: var(--error);
    }

    .auth-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .btn-login {
        color: white;
        text-decoration: none;
        padding: 8px 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        transition: all 0.3s;
    }

    .btn-login:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .btn-register {
        background: white;
        color: var(--primary);
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    /* ESTILOS PARA EL MENÚ DE USUARIO */
    .user-menu {
        position: relative;
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-left: auto;
    }

    .user-welcome {
        padding: 8px 16px;
        color: white;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .user-welcome::after {
        content: '▼';
        font-size: 10px;
        opacity: 0.7;
    }

    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        display: none;
        z-index: 1000;
        border: 1px solid #e0e0e0;
    }

    .user-menu:hover .user-dropdown {
        display: block;
    }

    .dropdown-item {
        display: block;
        padding: 12px 16px;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s;
        font-size: 14px;
    }

    .dropdown-item:hover {
        background-color: #f5f5f5;
    }

    .dropdown-divider {
        height: 1px;
        background-color: #e0e0e0;
        margin: 4px 0;
    }

    .dropdown-item.logout {
        color: #f44336;
        font-weight: 500;
    }

    /* BOTONES DE AUTENTICACIÓN */
    .auth-buttons {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-left: auto;
    }

    .btn-login {
        color: white;
        text-decoration: none;
        padding: 8px 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        transition: all 0.3s;
        font-size: 14px;
        font-weight: 500;
    }

    .btn-login:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .btn-register {
        background: white;
        color: #1a3a5f;
        text-decoration: none;
        padding: 8px 20px;
        border-radius: 20px;
        font-weight: 600;
        transition: all 0.3s;
        font-size: 14px;
    }

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
        .user-welcome {
            padding: 8px 12px;
            font-size: 14px;
        }

        .auth-buttons {
            gap: 8px;
        }

        .btn-login,
        .btn-register {
            padding: 6px 16px;
            font-size: 13px;
        }

        .user-dropdown {
            position: fixed;
            top: auto;
            bottom: 0;
            left: 0;
            right: 0;
            min-width: auto;
            border-radius: 12px 12px 0 0;
            display: none;
        }

        .user-menu.active .user-dropdown {
            display: block;
        }
    }

    /* Estilos para el menú de usuario en la navbar */
    .nav-dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-toggle {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        color: var(--color-texto);
        padding: 0.5rem 0.8rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        border: none;
        background: none;
        font-family: inherit;
        font-size: 0.95rem;
    }

    .dropdown-toggle:hover {
        color: var(--color-naranja);
        background-color: rgba(255, 147, 0, 0.1);
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        background: #f9f9f9;
    }


    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 2rem;
        color: var(--color-texto);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.2s ease;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        border-bottom: 1px solid #eee;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: var(--color-azul-electrico);
    }

    .dropdown-item.logout {
        color: #dc3545;
    }

    .dropdown-item.logout:hover {
        background-color: #fff0f0;
        color: #dc3545;
    }

    .dropdown-divider {
        height: 1px;
        background-color: var(--color-borde-sutil);
        margin: 0.5rem 0;
    }

    /* Botones de autenticación en navbar */
    .auth-buttons {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .btn-login {
        color: var(--color-texto);
        text-decoration: none;
        padding: 0.5rem 1rem;
        border: 1px solid var(--color-borde-sutil);
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-login:hover {
        background-color: #f8f9fa;
    }

    .btn-register {
        background-color: var(--color-azul-electrico);
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .btn-register:hover {
        background-color: #0058cc;
        transform: translateY(-1px);
    }
}