/* VARIABLES CSS */
:root {
    /* Colores primarios */
    --color-primary: #00288e;
    --color-secondary: #37b34a;
    --color-accent: #ffb800;

    /* Grises */
    --color-gray-50: #f9f9f9;
    --color-gray-100: #eeeeee;
    --color-gray-200: #eaeaea;
    --color-gray-700: #333333;
    --color-gray-900: #1a1a1a;

    /* Estados */
    --color-success: #37b34a;
    --color-error: #dc2626;
    --color-warning: #ffb800;
    --color-info: #00288e;

    /* Tipografía */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 48px;

    /* Espaciado */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Bordes */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transiciones */
    --transition: all 0.3s ease;
}

/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

/* CONTENEDOR */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =========================================
   HEADER - Diseño Original WordPress
   Fondo azul #00288e con layout de 3 columnas
   ========================================= */
header.header {
    background-color: #00288e !important;
    background: #00288e !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header .container {
    background-color: transparent;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 0;
    gap: 24px;
}

/* Menú Principal - Izquierda */
.header .nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: start;
}

.header .nav a {
    color: #ffffff !important;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 15px;
    text-decoration: none;
}

.header .nav a:hover,
.header .nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #37b34a !important;
    transform: translateY(-1px);
}

/* Menú móvil y botón hamburguesa ocultos en desktop */
.header .nav.mobile-nav {
    display: none;
}

.header .mobile-menu-toggle {
    display: none;
}

/* Logo - Centro */
.header .logo {
    justify-self: center;
    text-align: center;
    display: block;
}

.header .logo h1 {
    font-size: 24px;
    color: #ffffff !important;
    margin: 0;
}

.header .logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Acciones - Derecha (Iconos de usuario/carrito) */
.header .nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.header .nav-auth .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.header .nav-auth .icon-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    position: relative;
    text-decoration: none;
}

.header .nav-auth .icon-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.header .nav-auth .icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.header .nav-auth .icon-btn:hover svg {
    transform: scale(1.1);
}

.header .nav-auth .icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    padding: 0;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icono de carrito específico */
.header .nav-auth .cart-icon {
    position: relative;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 50px 1fr 50px;
        /* Botón hamburguesa, logo, solo icono de usuario */
        gap: var(--spacing-sm);
        align-items: center;
        padding: 0 var(--spacing-md);
    }

    /* Menú hamburguesa en móvil */
    .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .header .nav.mobile-nav-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .header .nav a {
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 18px;
    }

    .header .nav a:last-child {
        border-bottom: none;
    }

    .header .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        justify-self: start;
    }

    .header .mobile-menu-toggle:hover,
    .header .mobile-menu-toggle.mobile-menu-toggle-open {
        background: rgba(255, 255, 255, 0.15);
    }

    .header .logo {
        order: 0;
        justify-self: center;
    }

    .header .logo img {
        height: 40px;
        /* Ligeramente más pequeño en móvil */
    }

    .header .nav-auth {
        order: 0;
        justify-self: end;
        gap: 8px;
    }

    .header .nav-auth .icon-btn {
        width: 40px;
        height: 40px;
    }

    /* Ocultar elementos en móvil para ahorrar espacio */
    .header .nav-auth .btn-link,
    .header .nav-auth .btn-primary,
    .header .nav-auth span {
        display: none;
    }

    /* User Dropdown para móvil */
    .user-dropdown {
        position: relative;
        display: inline-block;
    }

    .user-dropdown-btn {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .user-dropdown-btn .dropdown-arrow {
        transition: transform 0.2s ease;
    }

    .user-dropdown-btn:hover .dropdown-arrow {
        transform: rotate(180deg);
    }

    .user-dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 180px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .user-dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .user-dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        right: 20px;
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        transition: background-color 0.2s ease;
        font-size: 14px;
    }

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

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

    .dropdown-item svg {
        flex-shrink: 0;
    }
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* SECCIONES */
.section {
    padding: var(--spacing-3xl) 0;
}

.section.bg-light {
    background-color: var(--color-gray-50);
}

.section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    color: var(--color-gray-900);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

/* GRIDS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

/* CATEGORY BANNERS */
.category-banners-container {
    margin-bottom: var(--spacing-xl);
}

.banner {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.banner-slider,
.banner-single {
    position: relative;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.banner-below-content {
    padding: var(--spacing-lg);
    background-color: #ffffff;
}

@media (min-width: 768px) {
    .banner-single {
        display: flex;
        align-items: stretch;
        gap: var(--spacing-lg);
    }

    .banner-single .banner-image-wrapper,
    .banner-single .banner-below-content {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.banner-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
    text-align: center;
    color: white;
}

.banner-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-btn {
    background-color: var(--color-accent);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.banner-btn:hover {
    background-color: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

/* Banner tipo info (solo texto/alerta) */
.banner-info {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: var(--spacing-lg);
}

.banner-info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: #e3f2fd;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
}

.banner-info-icon {
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.banner-info-content {
    flex: 1;
}

.banner-info-content strong {
    display: block;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

.banner-info-content p {
    margin: 0;
    color: var(--color-gray-700);
    line-height: 1.6;
}

/* Responsive para banners */
@media (max-width: 768px) {
    .banner-title {
        font-size: var(--font-size-lg);
    }

    .banner-text {
        font-size: var(--font-size-sm);
    }

    .banner-content-overlay {
        padding: var(--spacing-md);
    }

    .banner-info-box {
        flex-direction: column;
        padding: var(--spacing-md);
    }
}

/* FOOTER */
.footer {
    background-color: var(--color-gray-900);
    color: #fff;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer h3,
.footer h4 {
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: var(--spacing-sm);
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* LOADING */
.loading {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--color-gray-700);
}

/* ERROR */
.error-message {
    background-color: #fee;
    color: var(--color-error);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* ========================================
   SLIDER PRINCIPAL
   ======================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50px;
    right: 50px;
    text-align: left;
    color: #fff;
    z-index: 2;
    max-width: 600px;
}

.slide-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(0, 40, 142, 0.4) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 40, 142, 0.2) 100%);
    z-index: 1;
}

/* Controles del Slider */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--color-secondary);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Secciones Destacadas (Tours y Paquetes) */
.featured-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: calc(var(--spacing-3xl) * -1);
    position: relative;
    z-index: 10;
    padding: 0 var(--spacing-md);
}

.featured-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

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

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-content {
    padding: var(--spacing-xl);
}

.featured-content h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.featured-content p {
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        /* Más alto para mejor proporción en móvil */
    }

    .slide-content {
        bottom: 60px;
        left: 20px;
        right: 20px;
        max-width: none;
        text-align: center;
    }

    .slide-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }

    .slide-content h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }

    .slide-content p {
        font-size: 16px;
        margin-bottom: var(--spacing-lg);
    }

    .featured-sections {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: var(--spacing-lg);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-dots {
        bottom: 20px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* =========================================
   SELECTOR DE IDIOMA
   NOTA: Actualmente oculto - solo español por ahora
   Para reactivar: cambiar display: none a display: block
   ========================================= */
.language-selector {
    position: relative;
    justify-self: center;
    display: none;
    /* OCULTO - Cambiar a 'block' para reactivar */
}

.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.flag-icon {
    font-size: 20px;
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--color-gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.lang-option .flag-icon {
    font-size: 24px;
}

/* =====================================================
   CATEGORÍAS PRINCIPALES
   ===================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 40, 142, 0.8), rgba(55, 179, 74, 0.6));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.category-content {
    padding: 2rem;
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

.category-content p {
    color: var(--color-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.category-btn {
    width: 100%;
    justify-content: center;
}

/* Membership Highlight */
.membership-highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.membership-content h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Responsive para categorías */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        margin: 0 1rem;
    }

    .category-image {
        height: 200px;
    }

    .category-content {
        padding: 1.5rem;
    }

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

    .membership-highlight {
        padding: 2rem;
        margin: 2rem 1rem 0;
    }
}

/* =====================================================
   SCROLL INFINITO Y CARGA PROGRESIVA
   ===================================================== */
.load-more-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--color-gray-700);
    font-style: italic;
    background: var(--color-gray-50);
    border-radius: var(--border-radius);
    margin: 1rem 0;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.load-more-spinner::before {
    content: "⏳ ";
    margin-right: 0.5rem;
}

@keyframes pulse {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray-500);
    font-size: 1.1rem;
}

.loading::before {
    content: "⌛ ";
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}