    /* --- VARIABLES DE COLOR DE MARCA --- */
:root {
    --brand-color: #7B2D8B;       /* Color principal */
    --brand-dark: #5a1f6b;        /* Versión más oscura para gradientes/hover */
    --brand-light: #c084d4;       /* Versión clara para gradientes de mapa */
    --brand-bg-light: rgba(123, 45, 139, 0.1); /* Fondo muy claro */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'DM Sans', 'Inter', sans-serif;
    overflow-x: hidden;
}

/* FONDO PREMIUM — eliminado, fondo blanco en todos los breakpoints */
.premium-background {
    display: none;
}

/* --- ESTILOS BUSCADOR --- */
.search-form {
    position: relative;
    width: 100%;
    max-width: 400px;
}

/* Buscador en el hero — ocupa todo el ancho disponible */
.search-form.hero-search {
    max-width: 100%;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 10px 20px 10px 45px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #1f2937;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    background: #ffffff;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.15);
}

.search-icon {
    z-index: 999;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    /* CAMBIO: Color de marca */
    color: var(--brand-color);
    pointer-events: none;
}

/* navbar-search eliminado del header — buscador ahora vive en el hero */

/* NAVBAR DESKTOP */
.navbar-desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    background: #000000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto !important;
    /* CAMBIO: Quitamos el filtro negro para que se vean los colores originales del logo si los tiene */
    /* filter: brightness(0); */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-login-link {
    opacity: 0.92;
}

.nav-signup-btn {
    padding: 8px 20px;
}

.nav-links a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-color);
}

.locale-switch,
.floating-locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.floating-locale-switch {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.floating-locale-switch .locale-link {
    color: rgba(255, 255, 255, 0.88);
}

.floating-locale-switch .locale-link:hover {
    color: #ffffff;
}

.floating-locale-switch .locale-link.active {
    background: #ffffff;
    color: #5a1f6b;
}

.locale-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.locale-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.locale-link.active {
    background: #ffffff;
    color: #5a1f6b;
}

/* DESKTOP LAYOUT — página normal con scroll */
.desktop-container {
    display: block;
    padding-top: 70px; /* compensa navbar fija */
}

/* Contenedor centrado para todas las secciones desktop */
.desktop-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero desktop — dos columnas */
.hero-desktop {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: center;
    padding: 72px 0 56px;
}

.hero-left {
    /* columna izquierda: todo el contenido textual */
}

.hero-desktop .badge {
    margin-bottom: 20px;
}

.hero-desktop .main-title {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    margin-bottom: 20px;
}

.hero-desktop .description {
    font-size: 17px;
    margin-bottom: 10px;
}

.hero-desktop .description-sub {
    margin-bottom: 28px;
}

.hero-desktop .search-form {
    max-width: 500px;
    margin-bottom: 28px;
}

/* Columna derecha del hero — panel de estadísticas */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats-panel {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ede8f2;
    border-radius: 24px;
    padding: 12px 0;
    box-shadow: 0 12px 40px rgba(123, 45, 139, 0.10), 0 2px 8px rgba(0,0,0,0.04);
}

.hero-stat-item {
    text-align: center;
    padding: 24px 32px;
}

.hero-stat-item:not(:last-child) {
    border-bottom: 1px solid #f3eef8;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-color);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.hero-stat-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Sections en desktop */
.desktop-container .home-section {
    padding: 40px 0 0;
    background: #ffffff;
}

.desktop-container .home-section-header {
    padding: 0;
    margin-bottom: 20px;
    align-items: flex-end;
}

.desktop-container .home-section-title {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #0f172a;
}

.desktop-container .home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border: 1.5px solid var(--brand-color);
    border-radius: 20px;
    color: var(--brand-color);
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.desktop-container .home-section-link:hover {
    background: var(--brand-color);
    color: #ffffff;
    text-decoration: none;
}

.desktop-container .hscroll-row {
    padding: 4px 0 20px;
    gap: 16px;
}

/* Cards desktop — uniformes: 220px ancho, 160px imagen */
.desktop-container .card-region-h  { width: 180px; border-radius: 12px; }
.desktop-container .card-region-h-img { height: 250px; }
.desktop-container .card-region-h-img span { font-size: 14px; font-weight: 700; }
.desktop-container .card-region-h-name { font-size: 14px; font-weight: 500; }
.desktop-container .card-region-h-count { font-size: 12px; }

.desktop-container .card-ruta-h    { width: 220px; border-radius: 12px; }
.desktop-container .card-ruta-h-img { height: 160px; }
.desktop-container .card-ruta-h-name { font-size: 14px; font-weight: 500; }
.desktop-container .card-ruta-h-meta { font-size: 12px; }
.desktop-container .card-ruta-h-badge { font-size: 11px; font-weight: 600; }

.desktop-container .card-poi-h     { width: 220px; border-radius: 12px; }
.desktop-container .card-poi-h-img { height: 160px; }
.desktop-container .card-poi-h-name { font-size: 14px; }
.desktop-container .card-poi-h-type { font-size: 11px; font-weight: 600; }
.desktop-container .card-poi-h-region { font-size: 12px; }

.desktop-container .card-vino-h    { width: 170px; border-radius: 12px; }
.desktop-container .card-vino-h-img { height: 210px; padding: 14px 12px 8px; }
.desktop-container .card-vino-h-name { font-size: 14px; font-weight: 500; }
.desktop-container .card-vino-h-tipo { font-size: 11px; }
.desktop-container .card-vino-h-winery { font-size: 12px; }

.desktop-container .section-divider {
    margin-top: 0;
    height: 1px;
    background: #f0ece8;
}

/* Footer — visible solo en desktop */
.content-side {
    display: none; /* clase legacy, no se usa */
}
.map-side {
    display: none; /* clase legacy, no se usa */
}

/* MOBILE APP LAYOUT */
.mobile-container {
    display: none;
}

.mobile-map-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

#mobile-map {
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    touch-action: none;
}

/* MOBILE TOP BAR */
.mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #000000; /* Fondo negro sólido */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 10000;
}

.mobile-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-topbar a[href*="iniciar"] {
    color: #cbd5e1 !important;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-logo img {
    /* CAMBIO: Quitamos filtro */
    /* filter: brightness(0); */
}

/* MOBILE SCROLL CONTENT — contenedor simple entre topbar y bottom-nav */
.bottom-sheet {
    position: fixed;
    top: 60px;
    bottom: 62px;
    left: 0;
    right: 0;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 90;
}

/* handle eliminado — ya no hay mapa */
.sheet-handle-area {
    display: none;
}

.sheet-handle {
    display: none;
}

.sheet-preview {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 8px 0;
}
.sheet-preview {
    display: none;
}

.preview-stat {
    text-align: center;
}

.preview-number {
    font-size: 28px;
    font-weight: 800;
    /* CAMBIO: Gradiente de marca */
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.sheet-content {
    padding: 0;
}

/* BADGE */
.badge {
    display: inline-block;
    background: var(--brand-bg-light);
    color: var(--brand-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(123, 45, 139, 0.2);
}

/* TÍTULOS */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 16px;
    color: #0f172a;
}

.title-highlight {
    /* CAMBIO: Color de marca */
    color: var(--brand-color);
    font-style: italic;
    display: block;
}

.description {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.description-sub {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* BOTONES */
.btn-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Mantenemos la clase btn-gold pero cambiamos sus estilos al nuevo color */
.btn-gold {
    /* CAMBIO: Gradiente de marca */
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* CAMBIO: Sombra de marca */
    box-shadow: 0 10px 20px rgba(123, 45, 139, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 160px;
}

.btn-gold:active {
    transform: scale(0.97);
}

.btn-glass {
    /*background: #fff;*/
    color: #334155;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 160px;
}

.btn-glass:hover {
    background: #f8fafc;
    /* CAMBIO: Borde y texto de marca al hover */
    border-color: var(--brand-color);
    color: var(--brand-color);
}

.btn-glass:active {
    transform: scale(0.97);
}

/* Vionda — botón principal, fila completa */
.btn-vionda {
    flex-basis: 100%;
    font-size: 16px;
}

/* Botón oscuro — High Contrast style */
.btn-dark {
    background: #000000;
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #000000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
    flex: 1;
    min-width: 0;
    cursor: pointer;
}

.btn-dark:hover {
    background: #8B3DA0;
    border-color: #8B3DA0;
    box-shadow: 0 6px 20px rgba(153, 68, 135, 0.35);
    color: #ffffff;
}

.btn-dark:active {
    transform: scale(0.97);
    background: #6a2d80;
    border-color: #6a2d80;
}

/* DESKTOP MAP */
.map-wrapper-desktop {
    position: relative;
    width: 100%;
    height: calc(100vh - 150px);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

#desktop-map {
    width: 100%;
    height: 100%;
}

.map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    /* CAMBIO: Resplandor de marca */
    background: radial-gradient(circle, rgba(123, 45, 139, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* STATS DESKTOP */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.stats-grid {
    display: none;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    /* CAMBIO: Gradiente de marca */
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* VINÍCOLAS SECTION */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #0f172a;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    /* CAMBIO: Subrayado de marca */
    background: var(--brand-color);
}

.grid-vinicolas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.vinicola-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.vinicola-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vinicola-card:active {
    transform: scale(0.98);
}

.card-image {
    position: relative;
    height: 140px;
    background: #f1f5f9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.card-image-placeholder i {
    /* CAMBIO: Icono placeholder tintado */
    color: rgba(123, 45, 139, 0.3);
    font-size: 3rem;
}

.card-content {
    padding: 16px;
}

.card-region {
    /* CAMBIO: Color de marca */
    color: var(--brand-color);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.card-name {
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    line-height: 1.3;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar-desktop,
    .desktop-container {
        display: none !important;
    }

    .floating-locale-switch {
        top: auto;
        right: 16px;
        bottom: 18px;
        background: rgba(15, 23, 42, 0.78);
        border-color: rgba(255, 255, 255, 0.16);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
    }

    .mobile-container {
        display: block;
    }
    .btn-container {
        flex-direction: column;
    }
    .btn-gold, .btn-glass {
        width: 100%;
    }
    .grid-vinicolas {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 769px) {
    .mobile-container {
        display: none !important;
    }
}

/* SCROLL BEHAVIOR */
.sheet-content::-webkit-scrollbar {
    width: 0px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   MAP INTERACTIVE HINTS & BORDER EFFECTS
   ═══════════════════════════════════════════════════════════ */


/* ── Touch Hint — overlay sobre el mapa ───────────────────── */
.map-touch-hint {
    position: absolute;
    left: 50%;
    top:  50%;
    z-index: 20;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    animation: hintAppear 0.6s ease 1.2s both;
}

@keyframes hintAppear {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.75); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1);    }
}

.map-touch-hint.dismissed {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}

/* Anillos de ripple concéntricos */
.hint-rings {
    position: absolute;
    top: 19px; left: 19px; /* centrado sobre el icono 38px */
    pointer-events: none;
}

.hint-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(123, 45, 139, 0.55);
    animation: ringExpand 2.2s ease-out infinite;
    transform: translate(-50%, -50%);
}
.hint-ring:nth-child(1) { animation-delay: 0s;    }
.hint-ring:nth-child(2) { animation-delay: 0.65s; }
.hint-ring:nth-child(3) { animation-delay: 1.3s;  }

@keyframes ringExpand {
    0%   { width: 18px; height: 18px; opacity: 0.85; border-color: rgba(123,45,139,0.55); }
    100% { width: 72px; height: 72px; opacity: 0;    border-color: rgba(123,45,139,0);    }
}

/* Icono circular (dedo toque) */
.hint-icon {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 14px rgba(123, 45, 139, 0.35),
        0 0 0 3px rgba(123, 45, 139, 0.12);
    animation: iconTap 2.4s ease-in-out infinite;
}

.hint-icon i {
    color: var(--brand-color);
    font-size: 15px;
}

@keyframes iconTap {
    0%, 100% { transform: translateY(0)   scale(1);    box-shadow: 0 3px 14px rgba(123,45,139,0.35), 0 0 0 3px rgba(123,45,139,0.12); }
    38%       { transform: translateY(5px) scale(0.90); box-shadow: 0 1px  6px rgba(123,45,139,0.45), 0 0 0 6px rgba(123,45,139,0.18); }
    58%       { transform: translateY(0)   scale(1);    }
}

/* Etiqueta "Toca una región" */
.hint-label {
    margin-top: 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(123, 45, 139, 0.75);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(123, 45, 139, 0.15);
}

/* En mobile el hint también queda centrado */
#mobileMapTouchHint {
    left: 50%;
    top:  50%;
}

/* WebKit Scrollbars (Light Mode) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 20px; }
/* CAMBIO: Hover del scrollbar con color de marca */
::-webkit-scrollbar-thumb:hover { background: var(--brand-color); }
    /* bottom-sheet ya usa top/bottom fixed, no necesita overrides */


/* ════════════════════════════════════════════════════════════════
   VIONDA CHATBOT MODAL
   ════════════════════════════════════════════════════════════════ */

.vionda-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 20, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vionda-overlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
}

.vionda-chat {
    width: 100%;
    max-width: 500px;
    height: 88vh;
    max-height: 720px;
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
    box-shadow: 0 -24px 80px rgba(123, 45, 139, 0.18), 0 -4px 20px rgba(0,0,0,0.15);
}

.vionda-overlay.open .vionda-chat {
    transform: translateY(0);
}

@media (min-width: 640px) {
    .vionda-overlay {
        align-items: center;
        padding: 20px;
    }
    .vionda-chat {
        border-radius: 28px;
        height: 78vh;
    }
}

/* ── Header ─────────────────────────────────────────────────────── */
.vionda-header {
    background: linear-gradient(135deg, #7B2D8B 0%, #5a1f6b 100%);
    padding: 18px 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    position: relative;
}

.vionda-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.vionda-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.25);
}

.vionda-avatar-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    animation: vionda-pulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes vionda-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.15); opacity: 0.2; }
}

.vionda-header-info { flex: 1; min-width: 0; }

.vionda-name {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.3px;
}

.vionda-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}

.vionda-status-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
    animation: vionda-blink 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vionda-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

.vionda-close {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.vionda-close:hover {
    background: rgba(255,255,255,0.22);
    transform: scale(1.05);
}

/* ── Messages ────────────────────────────────────────────────────── */
.vionda-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8f5fc;
    scroll-behavior: smooth;
}

.vionda-messages::-webkit-scrollbar { width: 4px; }
.vionda-messages::-webkit-scrollbar-track { background: transparent; }
.vionda-messages::-webkit-scrollbar-thumb { background: #c49ad6; border-radius: 2px; }

.vionda-msg {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: vionda-msg-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes vionda-msg-in {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vionda-msg.user { flex-direction: row-reverse; }

.vionda-msg-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #7B2D8B, #5a1f6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 45, 139, 0.3);
}

.vionda-msg-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #1e293b;
    word-break: break-word;
}

.vionda-msg.bot .vionda-msg-bubble {
    background: #ffffff;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.vionda-msg.user .vionda-msg-bubble {
    background: linear-gradient(135deg, #7B2D8B 0%, #5a1f6b 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 14px rgba(123, 45, 139, 0.35);
}

/* ── Typing indicator ───────────────────────────────────────────── */
.vionda-typing {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: vionda-msg-in 0.32s ease;
}

.vionda-typing-bubble {
    background: #ffffff;
    border-radius: 20px;
    border-bottom-left-radius: 6px;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    gap: 5px;
    align-items: center;
}

.vionda-typing-dot {
    width: 7px;
    height: 7px;
    background: #7B2D8B;
    border-radius: 50%;
    animation: vionda-bounce 1.3s ease-in-out infinite;
}
.vionda-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.vionda-typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes vionda-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40%            { transform: translateY(-9px); opacity: 1; }
}

/* ── Suggestion chips ───────────────────────────────────────────── */
.vionda-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 16px 12px;
    background: #fff;
    border-top: 1px solid #f0e8f5;
    flex-shrink: 0;
}

.vionda-chip {
    background: #fdf0fb;
    border: 1.5px solid #e8b6dc;
    color: #7B2D8B;
    font-size: 12px;
    padding: 7px 13px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'DM Sans', 'Inter', sans-serif;
    white-space: nowrap;
    line-height: 1;
}

.vionda-chip:hover {
    background: #7B2D8B;
    color: #fff;
    border-color: #7B2D8B;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(123, 45, 139, 0.3);
}

.vionda-chip:active { transform: translateY(0); }

/* ── Input area ─────────────────────────────────────────────────── */
.vionda-input-area {
    padding: 12px 14px 18px;
    background: #fff;
    border-top: 1px solid #ede8f5;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.vionda-input {
    flex: 1;
    border: 1.5px solid #e2d8f0;
    border-radius: 22px;
    padding: 11px 18px;
    font-size: 14px;
    font-family: 'DM Sans', 'Inter', sans-serif;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #faf8fd;
    resize: none;
    max-height: 110px;
    overflow-y: hidden;
    line-height: 1.5;
}

.vionda-input:focus {
    border-color: #7B2D8B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.12);
}

.vionda-input::placeholder { color: #a0a0b0; }

.vionda-send {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #7B2D8B 0%, #5a1f6b 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.2s;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(123, 45, 139, 0.4);
}

.vionda-send:hover  { transform: scale(1.07); box-shadow: 0 6px 18px rgba(123, 45, 139, 0.5); }
.vionda-send:active { transform: scale(0.93); }
.vionda-send:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

/* ════════════════════════════════════════════════════════════════
   NUEVO DISEÑO MÓVIL — Secciones horizontales + Bottom Nav
   ════════════════════════════════════════════════════════════════ */

/* ── Hero simplificado (mobile) ─────────────────────────────── */
.hero-section {
    padding: 18px 20px 0;
    background: #ffffff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-color);
    background: rgba(123, 45, 139, 0.07);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(123, 45, 139, 0.18);
}

.hero-title-mobile {
    font-family: 'Playfair Display', serif;
    font-size: 6.2vw;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero-title-mobile em {
    color: var(--brand-color);
    font-style: italic;
}

.hero-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(123, 45, 139, 0.25);
    border-radius: 24px;
    padding: 0 14px;
    height: 42px;
    text-decoration: none;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 0;
}

.hero-search-bar svg {
    width: 15px;
    height: 15px;
    color: var(--brand-color);
    flex-shrink: 0;
}

/* ── Section divider ────────────────────────────────────────── */
.section-divider {
    height: 8px;
    background: #ede8f2;
    margin-top: 16px;
}

/* ── Home section wrapper ───────────────────────────────────── */
.home-section {
    padding: 16px 0 0;
    background: #ffffff;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 10px;
}

.home-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'DM Sans', 'Inter', sans-serif;
}

.home-section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-color);
    text-decoration: none;
}

.home-section-link:hover {
    text-decoration: underline;
}

/* ── Horizontal scroll row ──────────────────────────────────── */
.hscroll-row {
    display: flex;
    gap: 10px;
    padding: 2px 0 12px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hscroll-row::-webkit-scrollbar {
    display: none;
}

/* Espacio al final del scroll (el padding-right se pierde en flex overflow) */
.hscroll-row::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
}

/* ════════════════════════════════════════════════════════════
   CARDS HORIZONTALES — tamaño uniforme mobile: 150px × 100px img
   ════════════════════════════════════════════════════════════ */

/* ── Region cards ───────────────────────────────────────────── */
.card-region-h {
    flex-shrink: 0;
    width: 130px;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #e8e4e0;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-region-h:hover,
.card-region-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-region-h-img {
    height: 185px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #8b6347 0%, #4a2d18 100%);
    background-size: cover;
    background-position: center top;
}


.card-region-h-body {
    padding: 8px 10px 9px;
}

.card-region-h-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-region-h-count {
    font-size: 13px;
    color: #444;
    margin-top: 2px;
}

/* ── Ruta cards ─────────────────────────────────────────────── */
.card-ruta-h {
    flex-shrink: 0;
    width: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #e8e4e0;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease;
}

.card-ruta-h:hover,
.card-ruta-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-ruta-h-img {
    height: 120px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    background: linear-gradient(150deg, #7b4f2e, #3a2010);
}

.card-ruta-h-badge {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,.92);
    color: var(--brand-color);
    padding: 3px 8px;
    border-radius: 4px;
}

.card-ruta-h-body {
    padding: 8px 10px 9px;
}

.card-ruta-h-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-ruta-h-meta {
    font-size: 13px;
    color: #444;
}

/* ── POI cards ──────────────────────────────────────────────── */
.card-poi-h {
    flex-shrink: 0;
    width: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #e8e4e0;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease;
}

.card-poi-h:hover,
.card-poi-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-poi-h-img {
    height: 120px;
    background: #c4b8d8;
    overflow: hidden;
}

.card-poi-h-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-poi-h-body {
    padding: 8px 10px 9px;
}

.card-poi-h-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--brand-color);
}

.card-poi-h-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-poi-h-region {
    font-size: 13px;
    color: #444;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Vino cards (portrait — botella vertical) ───────────────── */
.card-vino-h {
    flex-shrink: 0;
    width: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 0.5px solid #e8e4e0;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease;
}

.card-vino-h:hover,
.card-vino-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-vino-h-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
    padding: 10px 8px 6px;
}

.card-vino-h-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card-vino-h-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #e8d8f0 0%, #c8a8dc 100%);
}

.card-vino-h-placeholder i {
    font-size: 2rem;
    color: rgba(123, 45, 139, 0.4);
}

.card-vino-h-body {
    padding: 7px 9px 9px;
}

.card-vino-h-tipo {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.card-vino-h-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-top: 1px;
}

.card-vino-h-winery {
    font-size: 13px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* ── Vinícola cards ─────────────────────────────────────────── */
.card-vinicola-h {
    flex-shrink: 0;
    width: 150px; /* mismo ancho base que las demás */
    border-radius: 8px;
    overflow: hidden;
    border: 0.5px solid #e8e4e0;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-vinicola-h:hover,
.card-vinicola-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-vinicola-h-cover {
    height: 120px;
    position: relative;
    background: linear-gradient(160deg, #2d1b4e 0%, #1a0f2e 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 6px;
}

.card-vinicola-h-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 8px;
    font-weight: 600;
    background: rgba(255, 215, 0, 0.92);
    color: #5a3800;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.card-vinicola-h-badge--vionda {
    background: rgba(109, 40, 217, 0.9);
    color: #fff;
    text-shadow: none;
}

.card-vinicola-h-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-vinicola-h-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-vinicola-h-body {
    padding: 7px 9px 8px;
}

.card-vinicola-h-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.card-vinicola-h-valle {
    font-size: 13px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tipo de vino cards ──────────────────────────────────────── */
.card-tipo-h {
    flex-shrink: 0;
    width: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease;
}

.card-tipo-h:hover,
.card-tipo-h:active {
    transform: scale(0.97);
    text-decoration: none;
    color: inherit;
}

.card-tipo-h-img {
    height: 130px;
    position: relative;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
}

.card-tipo-h-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card-tipo-h-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

.card-tipo-h-body {
    padding: 8px 10px 9px;
}

.card-tipo-h-nombre {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.card-tipo-h-dot {
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

/* ── Marca cards ─────────────────────────────────────────────── */
.card-marca-h {
    flex-shrink: 0;
    width: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ede8f2;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-marca-h:hover,
.card-marca-h:active {
    transform: scale(0.97);
    box-shadow: 0 4px 16px rgba(123,45,139,0.12);
    text-decoration: none;
    color: inherit;
}

.card-marca-h-logo {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f3fc;
    padding: 14px;
}

.card-marca-h-logo img {
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
}

.card-marca-h-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B2D8B 0%, #a855f7 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-marca-h-body {
    padding: 8px 10px 10px;
    border-top: 1px solid #f0ebf7;
}

.card-marca-h-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-marca-h-count {
    font-size: 11px;
    color: #7B2D8B;
    font-weight: 600;
    margin-top: 2px;
}

/* Desktop overrides para nuevas cards — mismo estándar 220px */
.desktop-container .card-vinicola-h { width: 220px; border-radius: 12px; }
.desktop-container .card-vinicola-h-cover { height: 160px; }
.desktop-container .card-vinicola-h-logo { width: 48px; height: 48px; }
.desktop-container .card-vinicola-h-name { font-size: 14px; font-weight: 500; }
.desktop-container .card-vinicola-h-valle { font-size: 12px; }

.desktop-container .card-tipo-h { width: 180px; border-radius: 12px; }
.desktop-container .card-tipo-h-img { height: 180px; }
.desktop-container .card-tipo-h-nombre { font-size: 14px; }

.desktop-container .card-marca-h { width: 160px; border-radius: 14px; }
.desktop-container .card-marca-h-logo { height: 120px; }
.desktop-container .card-marca-h-name { font-size: 14px; }

/* ── Bottom Navigation (mobile only) ───────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 0.5px solid #e8e4e0;
    display: none;
    align-items: stretch;
    z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 0;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    text-decoration: none;
    color: #bbb;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
    font-family: 'DM Sans', 'Inter', sans-serif;
}

    .bottom-nav-item.active {
        color: var(--brand-color);
    }

    .bottom-nav-item.active span {
        font-weight: 500;
    }

    @media (hover: hover) {
        .bottom-nav-item:hover {
            color: var(--brand-color);
        }

        .bottom-nav-item:hover span {
            font-weight: 500;
        }
}

/* Vionda center button — special style */
.bottom-nav-item.vionda-btn {
    position: relative;
}

.bottom-nav-item.vionda-btn .vionda-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -16px;
    box-shadow: 0 4px 16px rgba(123, 45, 139, 0.45);
    color: #fff;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bottom-nav-item.vionda-btn:hover .vionda-fab,
.bottom-nav-item.vionda-btn:active .vionda-fab {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(123, 45, 139, 0.55);
    color: #fff;
}

.bottom-nav-item.vionda-btn span {
    color: var(--brand-color);
    font-weight: 500;
}

/* Floating locale switch — ocultar en mobile (ahora va en el topbar) */
@media (max-width: 768px) {
    .floating-locale-switch {
        display: none !important;
    }
}

/* ── Locale switch con banderitas en topbar/navbar ─────────────── */
.nav-locale-flags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.nav-locale-flags a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.nav-locale-flags a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

.nav-locale-flags a:hover:not(.active) {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ════════════════════════════════════════════════════════════════
   SITE FOOTER — copiado de vinicola/index.css para unificar
   ════════════════════════════════════════════════════════════════ */

.site-footer {
    background: #000000;
    color: rgba(255, 255, 255, 0.8);
    padding: 52px 24px 48px;
    margin-top: 40px;
    display: none; /* oculto en mobile */
}

@media (min-width: 769px) {
    .site-footer {
        display: block;
    }
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.footer-block {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-bottom: 16px;
}

.footer-home-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--brand-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(192, 132, 212, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    width: fit-content;
}

.footer-home-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.footer-block-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.footer-social-btn:hover {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-support-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.83rem;
    line-height: 1.5;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.footer-support-btn:hover {
    background: rgba(123, 45, 139, 0.22);
    border-color: rgba(123, 45, 139, 0.5);
    color: #fff;
}

.footer-support-btn > i {
    font-size: 1.15rem;
    color: var(--brand-light);
    flex-shrink: 0;
    transition: color 0.25s;
}

.footer-support-btn:hover > i { color: #fff; }

.footer-support-btn strong {
    color: #fff;
    font-weight: 700;
}

.footer-copyright {
    max-width: 1200px;
    margin: 36px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    letter-spacing: 0.4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH OMNIBAR v2  (prefijo: som-)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Trigger button (hero desktop) ─────────────────────────────────────── */
.search-trigger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    padding: 13px 20px 13px 18px;
    border-radius: 50px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    color: #9ca3af;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.search-trigger-btn:hover {
    border-color: #7B2D8B;
    box-shadow: 0 0 0 3px rgba(123, 45, 139, 0.1), 0 2px 8px rgba(0,0,0,0.06);
}
.search-trigger-btn .search-icon {
    position: static;
    transform: none;
    color: #7B2D8B;
    flex-shrink: 0;
    font-size: 13px;
}
.search-trigger-placeholder {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ── Backdrop ───────────────────────────────────────────────────────────── */
.som-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 4, 18, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ── Panel ──────────────────────────────────────────────────────────────── */
.som-panel {
    position: absolute;
    top: 6vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(660px, 96vw);
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    overflow: hidden;
}

/* ── Input row ──────────────────────────────────────────────────────────── */
.som-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}
.som-search-icon {
    color: #7B2D8B;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.som-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-weight: 400;
    color: #0f172a;
    background: transparent;
    line-height: 1.5;
    caret-color: #7B2D8B;
}
.som-input::placeholder {
    color: #94a3b8;
}
.som-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 0.8rem;
    transition: background 0.18s, color 0.18s;
    flex-shrink: 0;
}
.som-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Spinner SVG inline */
.som-spinner {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    animation: som-spin 0.8s linear infinite;
}
@keyframes som-spin { to { transform: rotate(360deg); } }

/* ── Body scrollable ────────────────────────────────────────────────────── */
.som-body {
    overflow-y: auto;
    flex: 1;
    padding: 4px 0 20px;
}
.som-body::-webkit-scrollbar { width: 4px; }
.som-body::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

/* ── Section ────────────────────────────────────────────────────────────── */
.som-section {
    padding: 0;
}
.som-section + .som-section {
    border-top: 1px solid #f8fafc;
    margin-top: 2px;
}
.som-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px 6px;
}
.som-section-label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
}
.som-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: #7B2D8B;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}
.som-clear-btn:hover { background: rgba(123,45,139,0.08); }

/* ── Chips de búsquedas recientes ───────────────────────────────────────── */
.som-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 22px 10px;
}
.som-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.som-chip:hover {
    border-color: #7B2D8B;
    background: rgba(123,45,139,0.06);
    color: #7B2D8B;
}
.som-chip-icon {
    font-size: 0.68rem;
    color: #94a3b8;
}
.som-chip:hover .som-chip-icon { color: #7B2D8B; }

/* ── Grid de regiones populares ─────────────────────────────────────────── */
.som-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 6px 22px 12px;
}
.som-popular-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    padding: 8px 6px;
    border-radius: 12px;
    transition: background 0.15s;
}
.som-popular-item:hover { background: rgba(123,45,139,0.05); }
.som-popular-thumb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    flex-shrink: 0;
}
.som-popular-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
}

/* ── Filas de resultados ────────────────────────────────────────────────── */
.som-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 22px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    border-radius: 0;
}
.som-row:hover { background: rgba(123, 45, 139, 0.05); }
.som-row:active { background: rgba(123, 45, 139, 0.1); }

/* ── Thumbnails ─────────────────────────────────────────────────────────── */
.som-thumb {
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.som-thumb--circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.som-thumb--cover {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.som-vinicola-logo {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.som-vinicola-initials {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B2D8B, #5a1f6b);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.som-thumb--wine {
    width: 48px;
    height: 60px;
    border-radius: 10px;
    background: #f8f5ff;
    box-shadow: inset 0 0 0 1px rgba(123,45,139,0.08);
}
.som-wine-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    padding: 2px;
}
.som-wine-placeholder-icon {
    font-size: 1.3rem;
    color: rgba(123,45,139,0.4);
}

/* ── Info de fila ───────────────────────────────────────────────────────── */
.som-row-info {
    flex: 1;
    min-width: 0;
}
.som-row-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    /* Por defecto: 1 línea con truncado */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Vinos: hasta 2 líneas */
.som-row-name--wrap {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: unset;
}
.som-row-sub {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.som-dot {
    margin: 0 3px;
    color: #cbd5e1;
}
.som-chevron {
    font-size: 0.65rem;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: color 0.15s;
}
.som-row:hover .som-chevron { color: #7B2D8B; }

/* ── Skeletons ──────────────────────────────────────────────────────────── */
.som-skeletons { padding: 16px 22px; }
@keyframes sk-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
.sk-label, .sk-row {
    background: #f1f5f9;
    border-radius: 8px;
    animation: sk-pulse 1.6s ease-in-out infinite;
}
.sk-label {
    width: 100px;
    height: 9px;
    margin-bottom: 10px;
    border-radius: 50px;
}
.sk-row {
    height: 52px;
    margin-bottom: 8px;
}
.som-mt { margin-top: 20px; }

/* ── Sin resultados ─────────────────────────────────────────────────────── */
.som-empty {
    text-align: center;
    padding: 52px 28px 44px;
}
.som-empty-icon { font-size: 2.8rem; margin-bottom: 14px; }
.som-empty-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
    max-width: 280px;
    margin: 0 auto;
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .som-panel {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        border-radius: 0 0 24px 24px;
        max-height: 100svh;
    }
    .som-popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .som-input { font-size: 1rem; }
    .som-thumb--cover { width: 46px; height: 46px; }
    .som-thumb--wine  { width: 42px; height: 54px; }
}

/* ═══════════════════════════════════════════════════════
   CARD EVENTO (compartido: home + región + catálogo)
   ═══════════════════════════════════════════════════════ */
.card-evento-h {
    flex-shrink: 0;
    width: 180px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    user-select: none;
}
.card-evento-h:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(123,45,139,0.12);
    border-color: var(--brand-color);
}
.card-evento-h-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(160deg,#2d1b4e 0%,#1a0f2e 100%);
    position: relative;
}
.card-evento-h-img img { width:100%;height:100%;object-fit:cover;display:block; }
.card-evento-h-img-ph {
    width:100%;height:100%;display:flex;align-items:center;
    justify-content:center;font-size:2rem;color:rgba(255,255,255,0.3);
}
.card-evento-h-badge {
    position:absolute;top:8px;left:8px;background:var(--brand-color);color:#fff;
    font-size:10px;font-weight:700;padding:3px 8px;border-radius:50px;
    text-transform:uppercase;letter-spacing:0.4px;max-width:110px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.card-evento-h-free {
    position:absolute;top:8px;right:8px;background:#16a34a;color:#fff;
    font-size:10px;font-weight:700;padding:3px 8px;border-radius:50px;
}
.card-evento-h-body { padding:12px; }
.card-evento-h-date {
    font-size:11px;color:var(--brand-color);font-weight:600;
    margin-bottom:4px;display:flex;align-items:center;gap:4px;
}
.card-evento-h-name {
    font-size:13px;font-weight:700;color:var(--text-primary);
    line-height:1.3;margin-bottom:5px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.card-evento-h-loc {
    font-size:11px;color:var(--text-secondary);display:flex;align-items:center;gap:4px;
}
.card-evento-h-loc span { overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }

@media (max-width: 768px) {
    .card-evento-h { width: 155px; }
    .card-evento-h-img { height: 140px; }
}
