        /* Base styles */
        body {
            background-color: #f9f3ee;
            font-family: 'Roboto', sans-serif;
        }

        /* Header styles */
        .header {
            padding: 1.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: #f9f3ee;
            /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
            transition: padding 0.3s ease, box-shadow 0.3s ease;
        }

        .header-scrolled {
            padding: 1rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .back-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            /*background-color: white;*/
            display: flex;
            align-items: center;
            justify-content: center;
            /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
        }

        .header .header-title {
            font-size: 1.25rem;
            font-weight: 700;
            transition: opacity 0.2s ease;
            margin: 0;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            color: #555;
            background-color: transparent;
        }
        .breadcrumbs ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.25rem 0.5rem;
            padding: 0;
            margin: 0;
        }
        .breadcrumbs li {
            display: inline-flex;
            align-items: center;
        }
        .breadcrumbs li + li::before {
            content: "›";
            margin: 0 0.5rem;
            color: #999;
        }
        .breadcrumbs a {
            color: #555;
            text-decoration: underline;
        }
        .breadcrumbs [aria-current="page"] {
            color: #111;
            font-weight: 600;
        }

        /* SEO content section */
        .seo-content {
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 1.25rem;
            padding: 1.5rem;
            margin: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            color: #333;
            line-height: 1.6;
        }
        .seo-content h2 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }
        .seo-content h2:first-child { margin-top: 0; }
        .seo-content p { margin-bottom: 0.75rem; }
        .seo-content ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
        .seo-content ul li { margin-bottom: 0.25rem; }
        .seo-content .faq-item { margin-bottom: 1rem; }
        .seo-content .faq-item h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        /* Category section styles */
        .category-section {
            padding: 1rem;
            padding-top: 2.5rem;
            border-radius: 1.5rem 1.5rem 0 0;
            margin-top: 1rem;
            position: relative;
            overflow: visible;
            z-index: 1;
            min-height: 150px;
        }

        .category-image-container {
            position: absolute;
            top: -20px;
            right: 10px;
            width: 30%;
            height: 40%;
            z-index: -1;
            overflow: visible;
            pointer-events: none;
        }

        .category-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: right top;
            filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
        }

        .category-header {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }

        .category-content {
            /*width: 60%;*/
            z-index: 2;
            position: relative;
        }

        .category-title {
            font-size: 32px;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .category-description {
            color: white;
            font-size: 1rem;
            line-height: 1.5;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        /* Filter section styles */
        .filter-sections-wrapper {
            margin-top: 2.5rem;
            border-radius: 1rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            background-color: white;
            overflow: hidden;
        }

        .filter-section {
            padding: 1rem;
        }

        .filter-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-gap: 10px;
            width: 100%;
        }

        .filter-option {
            display: none;
        }

        .filter-label {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0.75rem;
            font-size: 0.95rem;
            color: #666;
            cursor: pointer;
            border-radius: 12px;
            transition: all 0.2s ease;
            user-select: none;
            white-space: nowrap;
            background-color: #f5f5f5;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .filter-option:checked+.filter-label {
            background-color: #f8f9fa;
            color: #333;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateY(-2px);
        }

        .filter-label.active {
            background-color: #f8f9fa;
            color: #333;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateY(-2px);
            border: 2px solid;
            font-weight: 600;
        }

        .filter-label.active[for="filter-today"] {
            border-color: #3498db;
            background-color: rgba(52, 152, 219, 0.1);
        }

        .filter-label.active[for="filter-tomorrow"] {
            border-color: #f39c12;
            background-color: rgba(243, 156, 18, 0.1);
        }

        .filter-label.active[for="filter-weekend"] {
            border-color: #2ecc71;
            background-color: rgba(46, 204, 113, 0.1);
        }

        .filter-label.active[for="filter-all"] {
            border-color: #e74c3c;
            background-color: rgba(231, 76, 60, 0.1);
        }

        .filter-label:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .filter-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: white;
            margin-right: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .filter-text {
            flex: 1;
        }

        .filter-explanation {
            text-align: center;
            color: #666;
            margin: 1rem 0;
            font-size: 0.95rem;
            min-height: 3rem;
            transition: opacity 0.2s ease;
            margin-bottom: 0;
        }

        .filter-explanation em {
            font-style: normal;
            font-weight: 700;
        }

        /* Filtros de categoría */
        .category-filters-section {
            padding: 0.5rem 0 1rem;
        }

        .category-explanation {
            text-align: center;
            color: #666;
            margin:1rem 0;
            font-size: 0.95rem;
            min-height: 1.5rem;
            transition:opacity 0.2s ease;
        }

        /* Events list styles */
        .events-list-section {
            /*background-color: white;*/
            /*border-radius: 0 0 1.5rem 1.5rem;*/
            padding: 1rem;
            /* min-height se gestiona dinámicamente con JavaScript */
        }

        .details-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.2s ease;
            text-align: center;
            border: none;
            cursor: pointer;
            margin-top: 0.5rem;
        }

        .details-button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }

        .details-button i {
            margin-left: 0.5rem;
        }

        /* Empty state */
        .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 3rem 1rem;
            text-align: center;
        }

        .empty-state-icon {
            width: 80px;
            height: 80px;
            margin-bottom: 1.5rem;
            opacity: 0.5;
        }

        .empty-state-text {
            font-size: 1.1rem;
            color: #fff;
            max-width: 250px;
            margin: 0 auto;
        }

        /* Modal for fullscreen image view */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            cursor: default;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: transparent;
            border: none;
            box-shadow: none;
        }

        .modal img {
            max-width: 95%;
            max-height: 95vh;
            object-fit: contain;
            cursor: default;
        }

        .close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 32px;
            height: 32px;
            font-size: 1.2rem;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 1001;
            -webkit-tap-highlight-color: transparent;
        }


        /* Main content adjustment for sticky header */
        main {
            padding-top: 0.5rem;
        }
        
        /* Content wrapper */
        .content-wrapper {
            padding-bottom: 1rem;
        }

        /* Continuous background fix */
        .search-section::after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 0;
            right: 0;
            height: 1rem;
            z-index: -1;
        }

        /* Responsive styles */
        @media (min-width: 768px) {
            .header, .category-section, .events-list-section {
                max-width: 90%;
                margin-left: auto;
                margin-right: auto;
            }

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

            .event-card {
                height: 100%;
            }
        }

        @media (min-width: 1024px) {
            .header, .category-section, .events-list-section {
                max-width: 1200px;
            }
        }

        @media (max-width: 768px) {
            .filter-group {
                grid-gap: 8px;
            }
            
            .filter-label {
                padding: 0.6rem 0.5rem;
                font-size: 0.9rem;
            }
            
            .filter-icon {
                width: 28px;
                height: 28px;
                margin-right: 6px;
                flex-shrink: 0;
            }
            
            .category-title {
                font-size: 24px;
            }
            
            .close-button {
                width: 36px;
                height: 36px;
                top: 15px;
                right: 15px;
            }
        }

        /* Desactivar scroll cuando el bottom sheet está activo */
        body.no-scroll {
            overflow: hidden;
        }

        /* Estilos para sección de eventos recomendados */
        .featured-events-section {
            padding: 1.5rem 1rem;
            /*margin-bottom: 1rem;*/
        }

        .section-header {
            margin-bottom: 1.5rem;
        }

        .section-title-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .star-icon {
            color: #FFC107;
            width: 24px;
            height: 24px;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            margin: 0;
        }

        .regular-events-title {
            margin-bottom: 1.5rem;
        }

        .featured-events-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .featured-event {
            position: relative;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        /* Media query para versiones responsive */
        @media (min-width: 768px) {
            .featured-events-list {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
                gap: 2rem;
            }
        }

        /* Estilos para filtros de categoría */
        .category-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
            padding: 0 10px;
            justify-content: center;
        }

        .category-btn {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            /*border: 1px solid rgba(255, 255, 255, 0.2);*/
            border-radius: 20px;
            /*background: rgba(255, 255, 255, 0.1);*/
            /*color: white;*/
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 0.5rem;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        .category-btn:hover {
            /*background: rgba(255, 255, 255, 0.2);*/
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .category-btn.active {
            /*background: white;*/
            /*color: #60bbf9;*/
            font-weight: 600;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
        }

        .category-btn i {
            margin-right: 0.5rem;
            font-size: 0.9rem;
        }

        .category-explanation {
            text-align: center;
            /*color: white;*/
            font-size: 0.95rem;
            transition: opacity 0.2s ease;
        }

        .category-explanation em {
            font-style: normal;
            font-weight: 700;
        }

        /* Media queries para los filtros de categoría */
        @media (max-width: 767px) {
            .category-filters {
                flex-wrap: wrap;
                justify-content: center;
                gap: 8px;
                /*padding: 10px 15px;*/
            }
            
            .category-btn {
                margin-bottom: 5px;
                font-size: 0.85rem;
            }
        }

        /* Mensaje de "no hay eventos" */
        .no-events-message {
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 1rem;
            padding: 2rem;
            margin: 0 auto;
            text-align: center;
            max-width: 90%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .no-events-message h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .no-events-message p {
            color: #555;
            line-height: 1.6;
        }

        .no-events-message .icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .no-events-message .suggestions {
            margin-top: 1.5rem;
            font-size: 0.95rem;
            color: #777;
        }

        /* Promoted event card styles */
        .promoted-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(243, 156, 18, 0.9);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 1;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .event-card-inner.promoted {
            border: 2px solid rgba(243, 156, 18, 0.5);
            box-shadow: 0 8px 24px rgba(243, 156, 18, 0.15);
        }

        


