/**
 * Estilos: Página de Negocios Urbanos
 * @package Ubika
 * Mobile-first: estilos base = móvil, @media (min-width: 768px) = escritorio
 */

/* ========================================
   Page Layout
   ======================================== */
body.page-negocios-urbanos > main.container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.nu-listing {
    width: 100%;
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-padding, 1rem);
    padding-bottom: 2rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    display: flex;
    align-items: stretch;
    min-height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
}

.hero-section > * {
    max-width: var(--container-max-width, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.hero-left {
    flex: 1;
    min-width: 0;
    padding: 2.5rem var(--container-padding, 1rem) 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    max-width: var(--container-max-width, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.15;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Contenedor de imagen – placeholder vacío con fondo gris claro */
.hero-image {
    flex: 0 0 auto;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: absolute;
    right: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    transition: filter 0.3s ease;
}

/* Overlay oscuro para que el texto sea legible */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image .img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 13px;
    pointer-events: none;
    user-select: none;
}

.hero-image .img-placeholder i {
    font-size: 32px;
}

/* ── Mobile: la imagen es fondo, texto encima izquierda ── */
@media (max-width: 640px) {
    .hero-section {
        position: relative;
        flex-direction: column;
        min-height: 180px;
        border-radius: 0;
        overflow: hidden;
    }

    /* Ocultar breadcrumb en móvil */
    .hero-section .breadcrumb {
        display: none;
    }

    /* La imagen ocupa todo el hero como fondo */
    .hero-image {
        position: absolute;
        inset: 0;
        width: 100%;
        min-height: 100%;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* El texto queda encima, alineado izquierda */
    .hero-left {
        position: relative;
        z-index: 2;
        padding: 1.25rem var(--container-padding, 1rem);
        max-width: 80%;
    }

    .hero-title {
        font-size: 1.375rem;
        margin-bottom: 0.375rem;
    }

    .hero-subtitle {
        font-size: 0.8125rem;
    }
}

/* ========================================
   Search Bar (floating below hero)
   ======================================== */
.nu-search-bar {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.85rem 1.25rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.875rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
    max-width: 65%;
}

.nu-search-bar .nu-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    background: var(--gray-50, #f9fafb);
    border: 1px solid var(--gray-200, #e5e7eb);
}

.nu-search-bar .nu-search-field i {
    color: var(--gray-400, #9ca3af);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.nu-search-bar .nu-search-field input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--gray-800, #1f2937);
    outline: none;
    min-width: 0;
}

.nu-search-bar .nu-search-field input::placeholder {
    color: var(--gray-400, #9ca3af);
}

.nu-search-bar .nu-search-field--query {
    flex: 1.3;
    position: relative;
}

/* Voice search button in nu-search-bar */
.nu-search-field--query .search-voice-btn {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    padding: 0;
    margin-left: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.nu-search-field--query .search-voice-btn.is-visible {
    display: inline-flex;
}

.nu-search-field--query .search-voice-btn.is-hidden {
    display: none;
}

.nu-search-field--query .search-voice-btn:hover {
    background: rgba(41, 108, 255, 0.14);
    transform: none;
}

.nu-search-field--query .search-voice-btn i {
    font-size: 0.95rem;
    color: var(--primary-600);
}

.nu-search-bar .nu-search-field--location {
    flex: 1;
    position: relative;
}

.nu-search-bar .nu-search-field--location input {
    cursor: pointer;
}

.nu-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 1.25rem;
    background: #facc15;
    color: #1f2937;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.nu-search-btn:hover {
    background: #eab308;
}

.nu-filter-toggle {
    display: none;
}

@media (max-width: 767px) {
    .nu-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        background: white;
        border: 1px solid var(--gray-200, #e5e7eb);
        border-radius: 0.75rem;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        flex-shrink: 0;
    }
    .nu-categories-tabs {
    padding: 0rem !important;
    border: none !important;
}

    .nu-filter-toggle i {
        font-size: 1.1rem;
        color: var(--gray-600, #4b5563);
    }

    .nu-filter-toggle:hover {
        border-color: var(--primary-300, #7eadff);
        color: var(--primary-600, #2156cc);
    }

    .nu-search-bar .nu-search-field--location {
        display: none;
    }

    .nu-search-bar .nu-search-btn {
        display: none;
    }

    .nu-search-bar {
        max-width: 100%;
    }

    .nu-sort-label {
        display: none;
    }

    .nu-clear-filters-btn {
        font-size: 0;
        padding: 0.45rem;
    }

    .nu-clear-filters-btn i {
        margin: 0;
    }
}

/* ========================================
   Category Tabs
   ======================================== */
.nu-categories-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0.875rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.nu-categories-tabs::-webkit-scrollbar {
    display: none;
}

.nu-cat-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background: white;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 60px;
}

.nu-cat-tab i {
    font-size: 1.25rem;
}

.nu-cat-tab span {
    line-height: 1.2;
    text-align: center;
}

.nu-cat-tab:hover {
    border-color: var(--primary-300, #7eadff);
    color: var(--primary-600, #2156cc);
}

.nu-cat-tab--active {
    background: #fff;
    border-color: #facc15;
    color: var(--gray-900, #111827);
}

.nu-cat-tab--active:hover {
    border-color: #eab308;
    color: var(--gray-900, #111827);
}

/* ========================================
   Filter Bar
   ======================================== */
.nu-filter-bar {
    margin-bottom: 0.9rem;
}

/* FAB y bottom sheet solo móvil */
.nu-filters-fab {
    display: none !important;
}

@media (max-width: 767px) {
    .nu-filters-row {
        display: none !important;
    }

    .nu-filters-fab {
        display: flex !important;
    }
}

.nu-filters-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
}

.nu-filters-row::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .nu-filters-row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

.nu-filter-dropdown {
    position: relative;
    flex-shrink: 0;
}

.nu-filter-check {
    flex-shrink: 0;
}

.nu-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.nu-filter-btn:hover {
    border-color: var(--primary-300, #7eadff);
    color: var(--primary-600, #2156cc);
}

.nu-filter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nu-filter-btn i:first-child {
    font-size: 0.9rem;
}

.nu-filter-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nu-filter-dropdown--open .nu-filter-btn {
    border-color: var(--primary-300, #7eadff);
    color: var(--primary-600, #2156cc);
}

.nu-filter-dropdown--open .nu-filter-btn i:last-child {
    transform: rotate(180deg);
}

.nu-filter-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200, #e5e7eb);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.nu-filter-panel--fixed {
    position: fixed;
    transform: none;
    transition: none;
}

.nu-filter-dropdown--open .nu-filter-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nu-filter-panel-inner {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
}

.nu-filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.825rem;
    color: var(--gray-700, #374151);
}

.nu-filter-option:hover {
    background: var(--gray-50, #f9fafb);
}

.nu-filter-option input[type="checkbox"] {
    width: 0.9rem;
    height: 0.9rem;
    accent-color: var(--primary-500, #296CFF);
    flex-shrink: 0;
}

.nu-filter-empty {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400, #9ca3af);
}

.nu-filter-check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.nu-filter-check input[type="checkbox"] {
    width: 0.9rem;
    height: 0.9rem;
    accent-color: var(--primary-500, #296CFF);
    flex-shrink: 0;
}

.nu-filter-check span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nu-filter-check:hover {
    border-color: var(--primary-300, #7eadff);
    color: var(--primary-600, #2156cc);
}

.nu-filter-check:has(input:checked) {
    background: var(--primary-50, #eff6ff);
    border-color: var(--primary-400, #60a5fa);
    color: var(--primary-700, #1d4ed8);
}

.nu-clear-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.75rem;
    background: transparent;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500, #6b7280);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.nu-clear-filters-btn i {
    font-size: 0.85rem;
}

.nu-clear-filters-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.nu-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.nu-results-count {
    font-size: 0.8rem;
    color: var(--gray-500, #6b7280);
}

.nu-sort {
    display: flex;
    align-items: center;
}

.nu-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nu-sort-label {
    font-size: 0.8rem;
    color: var(--gray-500, #6b7280);
}

.nu-sort-select {
    padding: 0.4rem 1.75rem 0.4rem 0.6rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700, #374151);
    background: transparent;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 0.8rem;
}

.nu-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border: none;
    background: var(--gray-300, #d1d5db);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.15s;
}

.nu-search-clear i {
    font-size: 0.7rem;
    color: white;
}

.nu-search-clear:hover {
    background: var(--gray-500, #6b7280);
}

/* ========================================
   Results List
   ======================================== */
.nu-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
}

/* ========================================
   Mobile Horizontal Card Layout
   ======================================== */
.location-card-temp-status--inline {
    display: none;
}

@media (max-width: 768px) {
    .nu-list .location-card-temp {
        display: grid;
        grid-template-columns: 160px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        overflow: hidden;
    }

    .nu-list .location-card-temp-link {
        display: contents;
    }

    .nu-list .location-card-temp-image {
        grid-column: 1;
        grid-row: 1 / 3;
        aspect-ratio: auto;
        min-height: 140px;
    }

    .nu-list .location-card-temp-image .location-card-temp-status:not(.location-card-temp-status--inline) {
        display: none;
    }

    .nu-list .location-card-temp-status--inline {
        display: inline-flex;
        align-self: flex-start;
        margin-bottom: 0.6rem;
        font-size: 0.65rem;
        padding: 0.2rem 0.45rem;
        position: static;
    }

    .nu-list .location-card-temp-logo-wrap {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
        margin-top: -1rem;
        padding: 0 0 12px 12px;
        z-index: 3;
    }

    .nu-list .location-card-temp-logo {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        border: 2px solid #fff;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    }

    .nu-list .location-card-temp-content {
        grid-column: 2;
        grid-row: 2;
        position: relative;
        min-width: 0;
        padding: 8px 14px 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nu-list .location-card-temp-name {
        font-size: 0.875rem;
        margin-bottom: 0.3rem;
    }

    .nu-list .location-card-temp-zone,
    .nu-list .location-card-temp-schedule {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .nu-list .location-card-temp-header {
        margin-bottom: 0.3rem;
    }

    .nu-list .location-card-temp-info {
        gap: 0.25rem;
    }

    .nu-list .location-card-temp-indicator {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

.nu-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--gray-400, #9ca3af);
}

.nu-empty i {
    font-size: 2.5rem;
}

.nu-empty p {
    font-size: 0.9rem;
    margin: 0;
}

.nu-loading {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.nu-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 3px solid rgba(148, 163, 184, 0.22);
    border-top-color: #2563eb;
    border-right-color: rgba(59, 130, 246, 0.56);
    animation: nu-spin 0.8s linear infinite;
}

@keyframes nu-spin {
    100% { transform: rotate(360deg); }
}

/* ========================================
   Pagination
   ======================================== */
.nu-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200, #e5e7eb);
}

.nu-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 0.5rem;
    background: white;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.2s;
}

.nu-page-btn:hover:not(:disabled) {
    border-color: var(--primary-300, #7eadff);
    color: var(--primary-600, #2156cc);
}

.nu-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.nu-page-btn--active {
    background: var(--primary-600, #2156cc);
    border-color: var(--primary-600, #2156cc);
    color: white;
}

.nu-page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    font-size: 0.8rem;
    color: var(--gray-400, #9ca3af);
}

/* ========================================
    Bottom Sections
    ======================================== */
.nu-bottom-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .nu-bottom-sections {
        grid-template-columns: 1fr 1fr;
    }
}

/* CTA Box */
.nu-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 1rem;
    overflow: hidden;
}

.nu-cta-content {
    flex: 1;
    min-width: 0;
}

.nu-cta-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin: 0 0 0.35rem;
}

.nu-cta-text {
    font-size: 0.875rem;
    color: var(--gray-500, #6b7280);
    margin: 0 0 0.75rem;
}

.nu-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: var(--primary-600, #2156cc);
    color: white;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.nu-cta-btn:hover {
    background: var(--primary-700, #194199);
}

.nu-cta-art {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nu-cta-art svg {
    width: 100%;
    height: 100%;
}

/* Map Section */
.nu-map-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50, #f9fafb);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--gray-200, #e5e7eb);
}

.nu-map-content {
    flex: 1;
    min-width: 0;
}

.nu-map-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin: 0 0 0.35rem;
}

.nu-map-text {
    font-size: 0.875rem;
    color: var(--gray-500, #6b7280);
    margin: 0 0 0.75rem;
}

.nu-map-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: white;
    color: var(--primary-600, #2156cc);
    border: 1px solid var(--primary-300, #7eadff);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.nu-map-btn-primary:hover {
    background: var(--primary-50, #eff6ff);
    border-color: var(--primary-600, #2156cc);
}

.nu-map-preview {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.nu-map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
    Location Dropdown
    ======================================== */
.location-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200, #e5e7eb);
    z-index: 140;
    max-height: 340px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.location-dropdown__option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-700, #374151);
    transition: background-color 0.15s;
}

.location-dropdown__option:hover {
    background-color: var(--gray-50, #f9fafb);
}

.location-dropdown__option--geo {
    color: var(--primary-600, #2156cc);
    font-weight: 500;
}

.location-dropdown__option--geo:hover {
    background-color: var(--primary-50, #eff6ff);
}

.location-dropdown__option--all {
    color: var(--gray-500, #6b7280);
}

.location-dropdown__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.location-dropdown__icon-ri {
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 1.125rem;
    text-align: center;
}

.location-dropdown__divider {
    height: 1px;
    background: var(--gray-200, #e5e7eb);
    margin: 0;
}

.location-dropdown__list {
    padding: 0.25rem 0;
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.location-dropdown__loading-text {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--gray-400, #9ca3af);
    text-align: center;
}

.location-dropdown__estado-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-700, #374151);
    transition: background-color 0.15s;
}

.location-dropdown__estado-header:hover {
    background-color: var(--gray-50, #f9fafb);
}

.location-dropdown__estado-name {
    flex: 1;
    font-weight: 500;
}

.location-dropdown__estado-count {
    font-size: 0.75rem;
    color: var(--gray-400, #9ca3af);
    background: var(--gray-100, #f3f4f6);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.location-dropdown__chevron {
    font-size: 1.125rem;
    color: var(--gray-400, #9ca3af);
    transition: transform 0.2s;
}

.location-dropdown__estado--expanded .location-dropdown__chevron {
    transform: rotate(90deg);
    color: var(--primary-500, #296CFF);
}

.location-dropdown__estado--expanded > .location-dropdown__estado-header {
    background-color: var(--primary-50, #eff6ff);
    color: var(--primary-700, #1d4ed8);
}

.location-dropdown__ciudades {
    border-top: 1px solid var(--gray-100, #f3f4f6);
    background: var(--gray-50, #f9fafb);
}

.location-dropdown__ciudad {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--gray-600, #4b5563);
    transition: background-color 0.15s;
}

.location-dropdown__ciudad:hover {
    background-color: var(--primary-50, #eff6ff);
    color: var(--primary-700, #1d4ed8);
}

.location-dropdown__ciudad--all {
    font-weight: 500;
    color: var(--primary-600, #2156cc);
}

.location-dropdown__ciudad-count {
    margin-left: auto;
    font-size: 0.6875rem;
    color: var(--gray-400, #9ca3af);
}

/* ========================================
   Desktop Layout
   ======================================== */
@media (min-width: 768px) {
    .nu-hero {
        padding: 2rem 2.5rem 0;
        min-height: 200px;
    }

    .nu-hero-title {
        font-size: 2rem;
    }

    .nu-hero-subtitle {
        font-size: 1rem;
        max-width: 400px;
    }

    .nu-breadcrumb {
        font-size: 0.8rem;
    }

    .nu-hero-illustration {
        max-width: 480px;
    }

    .nu-search-bar .nu-search-field--query {
        max-width: 400px;
    }

    .nu-search-bar .nu-search-field--location {
        max-width: 320px;
    }

    .nu-categories-tabs {
        gap: 0.6rem;
    }

    .nu-cat-tab {
        flex-direction: row;
        padding: 0.55rem 0.95rem;
        font-size: 0.85rem;
        min-width: auto;
    }

    .nu-filter-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.825rem;
    }

    .nu-sort-row {
        gap: 0.75rem;
    }

    .nu-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }
}

/* ========================================
   Dark Mode
   ======================================== */
[data-theme="dark"] .nu-hero {
    background: #0f172a;
}

[data-theme="dark"] .nu-hero-title {
    color: #f1f5f9;
}

[data-theme="dark"] .nu-hero-subtitle {
    color: #94a3b8;
}

/* Hero section dark mode */
[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

[data-theme="dark"] .hero-title {
    color: #fff;
}

[data-theme="dark"] .hero-subtitle {
    color: rgba(255,255,255,0.85);
}

[data-theme="dark"] .hero-section .breadcrumb {
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .hero-section .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .hero-section .breadcrumb a:hover {
    color: #fff;
}

[data-theme="dark"] .nu-search-bar {
    background: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nu-search-bar .nu-search-field {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .nu-search-bar .nu-search-field input {
    color: #e2e8f0;
}

[data-theme="dark"] .nu-breadcrumb {
    color: #64748b;
}

[data-theme="dark"] .nu-breadcrumb a:hover {
    color: #60a5fa;
}

[data-theme="dark"] .nu-search-field {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .nu-search-field input {
    color: #e2e8f0;
}

[data-theme="dark"] .nu-filter-toggle {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .nu-filter-toggle i {
    color: #94a3b8;
}

[data-theme="dark"] .nu-cat-tab {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .nu-cat-tab:hover {
    border-color: #475569;
    color: #60a5fa;
}

[data-theme="dark"] .nu-cat-tab--active {
    background: #0f172a;
    border-color: #facc15;
    color: #f8fafc;
}

[data-theme="dark"] .nu-categories-tabs {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .nu-filter-btn {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .nu-filter-panel {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .nu-filter-option {
    color: #cbd5e1;
}

[data-theme="dark"] .nu-filter-option:hover {
    background: #334155;
}

[data-theme="dark"] .nu-filter-check {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .nu-filter-check:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

[data-theme="dark"] .nu-filter-check:has(input:checked) {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #93c5fd;
}

[data-theme="dark"] .nu-clear-filters-btn {
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .nu-clear-filters-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

[data-theme="dark"] .nu-sort-select {
    color: #cbd5e1;
}

[data-theme="dark"] .nu-sort-label {
    color: #94a3b8;
}

[data-theme="dark"] .nu-search-btn {
    background: #facc15;
    color: #111827;
}

[data-theme="dark"] .nu-search-btn:hover {
    background: #eab308;
}

[data-theme="dark"] .nu-search-clear {
    background: #475569;
}

[data-theme="dark"] .nu-search-clear:hover {
    background: #64748b;
}

/* Voice button dark mode */
[data-theme="dark"] .nu-search-field--query .search-voice-btn {
    background: rgba(41, 108, 255, 0.15);
    color: var(--primary-400);
}

[data-theme="dark"] .nu-search-field--query .search-voice-btn:hover {
    background: rgba(41, 108, 255, 0.25);
}

[data-theme="dark"] .nu-search-field--query .search-voice-btn.is-listening {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red-400);
}

/* Location Dropdown - dark mode */
[data-theme="dark"] .location-dropdown {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .location-dropdown__option {
    color: #cbd5e1;
}

[data-theme="dark"] .location-dropdown__option:hover {
    background-color: #334155;
}

[data-theme="dark"] .location-dropdown__option--geo {
    color: #60a5fa;
}

[data-theme="dark"] .location-dropdown__option--all {
    color: #94a3b8;
}

[data-theme="dark"] .location-dropdown__divider {
    background: #334155;
}

[data-theme="dark"] .location-dropdown__loading-text {
    color: #64748b;
}

[data-theme="dark"] .location-dropdown__estado-header {
    color: #cbd5e1;
}

[data-theme="dark"] .location-dropdown__estado-header:hover {
    background-color: #334155;
}

[data-theme="dark"] .location-dropdown__estado-count {
    background: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .location-dropdown__chevron {
    color: #64748b;
}

[data-theme="dark"] .location-dropdown__estado--expanded .location-dropdown__chevron {
    color: #60a5fa;
}

[data-theme="dark"] .location-dropdown__estado--expanded > .location-dropdown__estado-header {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93bbfd;
}

[data-theme="dark"] .location-dropdown__ciudades {
    border-top-color: #334155;
    background: #0f172a;
}

[data-theme="dark"] .location-dropdown__ciudad {
    color: #94a3b8;
}

[data-theme="dark"] .location-dropdown__ciudad:hover {
    background-color: rgba(59, 130, 246, 0.15);
    color: #93bbfd;
}

[data-theme="dark"] .location-dropdown__ciudad--all {
    color: #60a5fa;
}
