
.header-widget span {
    font-size: 13px;
    font-weight: 600;
    margin-left: 6px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    text-align: left;
    line-height: 18px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-widget:hover span {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(2px);
    letter-spacing: 0.5px;
}

/* ==================== MODERN AI-INSPIRED HEADER REDESIGN ==================== */

/* Header Top Oscuro y Delgado - Diseño Premium */
.header-top {
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2d2d2d 50%, 
        #1a1a1a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 6px 0; /* Más delgado */
    position: relative;
    overflow: visible; /* Permitir que los dropdowns se muestren */
    z-index: 1000; /* Z-index alto para que esté sobre otros elementos */
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(99, 102, 241, 0.1),
        rgba(168, 85, 247, 0.1),
        transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.header-top .container {
    padding: 0 15px;
    overflow: visible; /* Asegurar que los dropdowns no se corten */
    position: relative;
}

.header-top .row {
    align-items: center;
    min-height: 35px; /* Altura mínima reducida */
    overflow: visible; /* Asegurar que los dropdowns no se corten */
}

/* Fix adicional para elementos select que pueden estar cortados */
.header-top-select {
    position: relative;
    z-index: 1005;
}

/* Ocultar header-top en móvil para evitar barra oscura vacía */
@media (max-width: 767px) {
    .header-top {
        display: none !important;
    }
    
    /* Ocultar botón de búsqueda del formulario en móvil para evitar duplicado */
    .header-form button {
        display: none !important;
    }
    
    /* CENTRAR LOGO EN MÓVIL - Corrección específica */
    .header-media-group {
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        height: 50px !important;
    }
    
    .header-media-group .header-user {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
    }
    
    .header-media-group a {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 5 !important;
    }
    
    .header-media-group a img {
        width: auto !important;
        height: 40px !important;
    }
    
    /* Asegurar que solo se vea el botón de búsqueda móvil */
    .header-src {
        display: block !important;
    }
    
    /* Mejorar el espaciado del header principal en móvil */
    .header-part {
        padding: 12px 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Asegurar que el contenido del header sea visible */
    .header-content {
        padding: 0 15px !important;
    }
    
    /* Mejorar la visibilidad del formulario de búsqueda en móvil */
    .header-form {
        display: block !important;
        margin: 8px 0 !important;
    }
}

.header-top-welcome p {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 13px; /* Texto más pequeño */
    margin: 0;
    padding: 8px 0;
}

.header-top-select {
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.header-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 8px; /* Padding muy compacto */
    transition: all 0.3s ease;
    position: relative;
    z-index: 1010;
    min-width: 80px; /* Ancho muy compacto */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-select:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.header-select i {
    color: #60a5fa;
    margin-right: 8px;
    font-size: 14px;
}

.header-select .nice-select {
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 11px; /* Tamaño muy compacto */
    min-height: auto;
    line-height: 1.2;
    min-width: 60px; /* Ancho mínimo muy reducido */
    font-weight: 400;
}

.header-select .nice-select .current {
    color: #e5e7eb;
    font-size: 11px;
    padding: 0 16px 0 0; /* Espacio muy reducido para la flecha */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-select .nice-select::after {
    border-color: #9ca3af transparent transparent;
    border-width: 3px 3px 0; /* Flecha más pequeña */
    margin-top: -1px;
}

/* Dropdown menus del header-top - Z-index y estilos mejorados */
.header-select .nice-select {
    position: relative;
    z-index: 1010;
}

.header-select .nice-select .list {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 
                0 1px 4px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 2px;
    overflow: visible;
    z-index: 1020;
    max-height: 150px; /* Altura muy compacta */
    overflow-y: auto;
    min-width: 110px; /* Ancho muy pequeño */
    width: auto;
    padding: 2px 0; /* Padding mínimo */
}

.header-select .nice-select .option {
    color: #e5e7eb;
    padding: 6px 10px; /* Padding muy pequeño */
    font-size: 11px; /* Tamaño muy compacto */
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 1px 4px; /* Margen muy reducido */
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    min-height: 12px;
    display: flex;
    align-items: center;
}

.header-select .nice-select .option:hover,
.header-select .nice-select .option.focus,
.header-select .nice-select .option.selected.focus {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2), 
        rgba(168, 85, 247, 0.2));
    color: #ffffff;
    transform: translateX(2px); /* Efecto sutil */
}

.header-select .nice-select .option.selected {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15), 
        rgba(168, 85, 247, 0.15));
    color: #60a5fa;
    font-weight: 500;
}

.header-select .nice-select .option.selected::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #60a5fa;
    font-weight: bold;
    font-size: 8px;
}

.header-select .nice-select .option.selected {
    padding-left: 16px; /* Espacio muy reducido para el indicador */
}

/* Scrollbar personalizado para los dropdowns */
.header-select .nice-select .list::-webkit-scrollbar {
    width: 4px;
}

.header-select .nice-select .list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.header-select .nice-select .list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border-radius: 2px;
}

.header-select .nice-select .list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

/* Fix adicional para dropdowns nativos como fallback */
.header-select select {
    background: #2d2d2d;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    position: relative;
    z-index: 1015;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.header-select select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.header-select select option {
    background: #2d2d2d;
    color: #e5e7eb;
    padding: 8px;
}

/* Mejora de la visibilidad general de los dropdowns */
.header-top * {
    position: relative;
}

.header-select .nice-select.open .list,
.header-select select[size] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1020 !important;
    margin-top: 2px;
}

/* Overlay para evitar interferencias */
.header-top::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 999;
    pointer-events: none;
    display: none;
}

.header-select .nice-select.open ~ * {
    z-index: 998;
}

/* Cuando hay un dropdown abierto */
.header-select .nice-select.open {
    z-index: 1025 !important;
    background: rgba(255, 255, 255, 0.08); /* Highlight sutil */
    border-color: rgba(99, 102, 241, 0.2);
}

.header-select .nice-select.open .list {
    z-index: 1030 !important;
    position: absolute !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

/* Animación de entrada del dropdown */
@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mejora del scroll del dropdown */
.header-select .nice-select .list:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.header-top-list {
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 5px;
}

.header-top-list li {
    margin: 0;
}

.header-top-list li a {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.header-top-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2), 
        rgba(168, 85, 247, 0.2),
        rgba(52, 211, 153, 0.2));
    transition: left 0.3s ease;
    z-index: -1;
}

.header-top-list li a:hover::before {
    left: 0;
}

.header-top-list li a:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.header-top-list li a:active {
    transform: translateY(0) scale(0.98);
}

/* Separadores elegantes */
.header-top-list li:not(:last-child)::after {
    content: '•';
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    font-size: 8px;
    vertical-align: middle;
}

/* Efectos responsive para header top delgado */
@media (max-width: 767px) {
    .header-top {
        padding: 4px 0;
    }
    
    .header-top .row {
        min-height: 30px;
    }
    
    .header-top-welcome,
    .header-top-select {
        display: none; /* Ocultar en móvil para mantener delgado */
    }
    
    .header-top-list {
        justify-content: center;
        gap: 3px;
    }
    
    .header-top-list li a {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .header-top-list li:not(:last-child)::after {
        margin: 0 4px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-top-welcome p {
        font-size: 12px;
    }
    
    .header-select {
        padding: 3px 6px;
        min-width: 70px; /* Muy compacto en tablet */
    }
    
    .header-select .nice-select .list {
        min-width: 100px; /* Muy sutil en tablet */
    }
    
    .header-select .nice-select .option {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .header-top-list li a {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* Mejoras muy sutiles para desktop grande */
@media (min-width: 1200px) {
    .header-select {
        min-width: 85px; /* Apenas más ancho */
    }
    
    .header-select .nice-select .list {
        min-width: 115px; /* Muy sutil pero funcional */
    }
    
    .header-select .nice-select .option {
        padding: 6px 11px; /* Padding muy compacto */
        font-size: 11px;
    }
}

/* Header Principal moderno sin sombra */
.header-part {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    box-shadow: none;
    position: relative;
    z-index: 900;
    overflow: visible;
}

.header-content {
    overflow: visible;
    padding: 8px 0;
}

/* Estilos específicos para badges de favoritos */
.header-widget[title*="favorito"] sup,
.header-widget[title*="Favorito"] sup,
.header-widget[href*="favorites"] sup {
    position: absolute !important;
    top: -8px !important;
    right: -6px !important;
    z-index: 1000 !important;
    visibility: visible !important;
    display: flex !important;
    border-radius: 50% !important;
    border: none !important;
    width: 18px !important;
    height: 18px !important;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
    color: white !important;
}

/* Contenedor específico que pueda tener overflow hidden */
.container,
.header-container,
.navbar-container {
    overflow: visible !important;
}

/* Fix adicional para evitar cualquier corte */
.header-widget {
    isolation: isolate; /* Crear nuevo contexto de apilamiento */
}

/* Asegurar que el contador no se corte */
.header-widget {
    overflow: visible !important;
    position: relative;
}

.header-widget-group {
    overflow: visible !important;
}

.header-part.active {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.1);
}

/* Logo con hover effect moderno */
.header-logo img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.1));
}

.header-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(99, 102, 241, 0.2));
}

/* ===== BUSCADOR LIMPIO Y MODERNO ===== */

.header-form {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 50px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    transition: none !important;
    position: relative !important;
}

.header-form:focus-within {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15) !important;
}

.header-form input {
    flex: 1 !important;
    height: 100% !important;
    padding: 0 16px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #374151 !important;
    font-weight: 400 !important;
}

.header-form input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.header-form button {
    width: 45px !important;
    height: 45px !important;
    border: none !important;
    background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 11px 11px 0 !important;
    transition: none !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header-form button:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5) !important;
}

.header-form button i {
    font-size: 14px !important;
    color: white !important;
    line-height: 1 !important;
    width: 14px !important;
    height: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

/* Widgets con diseño limpio y colorido siguiendo el logo */
.header-widget {
    border-radius: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #3b82f6;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.15);
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
}

.header-widget:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    border-color: #2563eb;
    background: #3b82f6;
}

.header-widget i,
.header-widget .fas,
.header-widget .fa-solid,
.header-widget .fa-regular,
.header-widget [data-feather] {
    color: #3b82f6 !important;
    transition: all 0.2s ease;
    font-size: 16px;
    margin-right: 6px;
    stroke: #3b82f6 !important;
    width: 18px;
    height: 18px;
}

.header-widget:hover i,
.header-widget:hover .fas,
.header-widget:hover .fa-solid,
.header-widget:hover .fa-regular,
.header-widget:hover [data-feather] {
    color: #ffffff !important;
    transform: scale(1.05);
    stroke: #ffffff !important;
}

.header-widget:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Estilos para el contador de favoritos funcionando */
.header-widget sup {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    border-radius: 50%;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulseImproved 2.5s ease-in-out infinite;
    position: absolute;
    top: -8px;
    right: -6px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 10;
    line-height: 1;
    text-align: center;
}

/* Animación específica para el contador de favoritos */
@keyframes pulseImproved {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
    }
}

/* Efecto cuando el widget tiene focus o está activo */
.header-widget:focus,
.header-widget.active {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1),
                0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Estilos limpios para imágenes de widgets */
.header-widget img {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.header-widget:hover img {
    transform: scale(1.02);
}

/* Estilos limpios para texto de widgets */
.header-widget span p {
    margin: 0;
    line-height: 1.3;
}

.header-widget span p:first-child {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #9ca3af;
}

.header-widget span p:last-child {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
}

.header-widget:hover span p:first-child {
    color: #e2e8f0;
}

.header-widget:hover span p:last-child {
    color: #ffffff;
}

/* Container de widgets limpio */
.header-widget-group {
    overflow: visible;
    padding: 4px 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Responsive para widgets */
@media (max-width: 991px) {
    .header-widget {
        margin: 2px;
        padding: 6px 8px;
        min-width: 36px;
    }
    
    .header-widget i,
    .header-widget [data-feather] {
        font-size: 14px;
        margin-right: 4px;
        width: 16px !important;
        height: 16px !important;
    }
    
    .header-widget span {
        font-size: 11px;
    }
    
    .header-widget sup {
        top: -6px;
        right: -4px;
        width: 16px;
        height: 16px;
        font-size: 8px;
        padding: 0;
    }
}

/* Navbar ultra compacto y sutil */
.navbar-part {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 800;
    padding: 4px 0;
    box-shadow: none;
}

.navbar-link {
    position: relative;
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
    transition: all 0.2s ease;
    color: #6b7280;
    margin: 0 1px;
    border: 1px solid transparent;
    font-size: 13px;
}

.navbar-link:hover {
    color: #ffffff;
    background: #3b82f6;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.navbar-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.navbar-link i,
.navbar-link [data-feather] {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px;
    stroke: currentColor !important;
    transition: all 0.2s ease;
}

.navbar-link:hover i,
.navbar-link:hover [data-feather] {
    transform: scale(1.05);
}

/* Dropdowns limpios y modernos */
.dropdown-position-list {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 6px;
    min-width: 180px;
}

.dropdown-position-list li a {
    border-radius: 6px;
    padding: 10px 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #6b7280;
    font-weight: 500;
    border: 1px solid transparent;
}

.dropdown-position-list li a:hover {
    color: #ffffff;
    background: #3b82f6;
    border-color: #2563eb;
    transform: translateX(2px);
}

.dropdown-position-list li a img {
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.dropdown-position-list li a:hover img {
    transform: scale(1.05);
}

/* Megamenu elegante */
.megamenu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.megamenu-title {
    color: #374151;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    font-size: 16px;
}

.megamenu-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}

.megamenu-list li a {
    color: #6b7280;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.megamenu-list li a:hover {
    color: #ffffff;
    background: #3b82f6;
    border-color: #2563eb;
    transform: translateX(2px);
}

.megamenu-list li a img {
    margin-right: 8px;
    transition: transform 0.2s ease;
}

.megamenu-list li a:hover img {
    transform: scale(1.05);
}

/* Info contact ultra compacta */
.navbar-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 4px 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 2px;
}

.navbar-info:hover {
    background: #3b82f6;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.navbar-info:hover i {
    color: #ffffff !important;
}

.navbar-info:hover p {
    color: #ffffff !important;
}

.navbar-info:hover small {
    color: #e2e8f0 !important;
}

.navbar-info i,
.navbar-info [data-feather] {
    color: #3b82f6;
    font-size: 12px;
    transition: all 0.2s ease;
    stroke: #3b82f6 !important;
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
}

.navbar-info p {
    margin: 0;
    transition: all 0.2s ease;
}

.navbar-info small {
    display: block;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.navbar-info span {
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

/* Animaciones y efectos adicionales */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-part {
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

/* Responsive ultra compacto */
@media (max-width: 991px) {
    .header-widget {
        margin: 3px;
        padding: 6px 8px;
    }
    
    .header-content {
        padding: 6px 0;
    }
    
    .navbar-part {
        padding: 3px 0;
    }
    
    .navbar-link {
        padding: 5px 8px;
        font-size: 12px;
        margin: 0;
    }
    
    .navbar-link i,
    .navbar-link [data-feather] {
        width: 12px !important;
        height: 12px !important;
        margin-right: 3px;
    }
    
    .navbar-info {
        padding: 3px 6px;
        margin: 0 1px;
        gap: 3px;
    }
    
    .navbar-info i,
    .navbar-info [data-feather] {
        font-size: 10px;
        width: 10px !important;
        height: 10px !important;
    }
    
    .navbar-info small {
        font-size: 7px;
    }
    
    .navbar-info span {
        font-size: 9px;
    }
    
    .dropdown-position-list {
        min-width: 140px;
        padding: 3px;
    }
    
    .dropdown-position-list li a {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .megamenu {
        padding: 12px;
    }
    
    .megamenu-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .megamenu-list li a {
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .header-content {
        padding: 4px 0;
    }
    
    .navbar-part {
        padding: 2px 0;
    }
    
    .navbar-link {
        padding: 4px 6px;
        font-size: 11px;
        margin: 0;
    }
    
    .navbar-link i,
    .navbar-link [data-feather] {
        width: 10px !important;
        height: 10px !important;
        margin-right: 2px;
    }
    
    .navbar-info {
        padding: 2px 4px;
        gap: 2px;
    }
    
    .navbar-info small {
        display: none;
    }
    
    .navbar-info span {
        font-size: 8px;
    }
    
    .navbar-info i,
    .navbar-info [data-feather] {
        width: 8px !important;
        height: 8px !important;
    }
}

/* ==================== END MODERN HEADER REDESIGN ==================== */

.content_html ul {
    list-style-type: disc !important; /* Hiển thị dấu chấm đầu dòng */
    padding-left: 40px; /* Khoảng cách từ cạnh trái đến nội dung danh sách */
    margin: 0;
}

.footer-part {
    padding-top: 30px;
    background: white;
}

#top-menu-left {
    position: fixed;
    left: 0; /* Đổi từ right: 0; thành left: 0; */
    top: 100px;
    z-index: 99;
    width: 50px;
}

#top-menu-left li {
    display: flex;
    justify-content: flex-start; /* Đổi từ justify-content: flex-end; thành justify-content: flex-start; */
    list-style: none;
    margin-bottom: -5px;
}

#top-menu-left i {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

#top-menu-left i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

#top-menu-left li a {
    background: #f5f6fa;
    border-radius: 0 10px 10px 0; /* Đổi từ border-radius: 10px 0 0 10px; thành border-radius: 0 10px 10px 0; */
    box-shadow: 0 0 5px 0 rgb(48 56 70 / 20%);
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: 13px;
    width: 195px;
    margin-left: 0px; /* Đổi từ margin-right: -10px; thành margin-left: -10px; */
    cursor: pointer;
}

#top-menu-left span {
    padding: 10px 0 10px 10px; /* Đổi từ padding: 10px 10px 10px 0; thành padding: 10px 0 10px 10px; */
    width: 140px;
}

#top-menu-left li a.active {
    background: var(--primary);
    margin-left: 0; /* Đổi từ margin-right: 0; thành margin-left: 0; */
    color: #fff;
    width: 195px;
    margin-left: -143px; /* Đổi từ margin-right: -143px; thành margin-left: -143px; */
}

body:not(.scrolling) #top-menu-left li a:not(.active) {
    width: 60px;
}

body:not(.scrolling) #top-menu-left li a:not(.active) span {
    display: none;
}

#top-menu-left:hover li a:hover span {
    display: block !important;
}

@media screen and (min-width: 768px) {
    #top-menu-left:hover li a:hover {
        width: 195px !important;
    }
}

@media screen and (min-width: 1401px) {
    #top-menu-left li a {
        margin-left: 0px; /* Đổi từ margin-right: -10px; thành margin-left: -10px; */
        font-size: 16px;
    }

    #top-menu-left i {
        margin: 12px;
    }

    #top-menu-left span {
        left: 0; /* Đổi từ left: 105px; thành left: 0; */
        padding: 15px 0 15px 15px; /* Đổi từ padding: 15px 15px 15px 0; thành padding: 15px 0 15px 15px; */
        width: 165px;
    }

    #top-menu-left i img {
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    #top-menu-left li a.active {
        margin-left: 0; /* Đổi từ margin-right: 0; thành margin-left: 0; */
        width: 240px;
    }

    #top-menu-left li a.active span {
        left: 54px;
    }
}

@media screen and (max-width: 767px) {
    #top-menu-left,
    #top-menu-left li {
        pointer-events: none;
    }

    #top-menu-left i img {
        border-radius: 30%;
    }

    #top-menu-left i {
        border-radius: 30%;
    }

    #top-menu-left span {
        visibility: hidden;
        opacity: 0;
    }

    #top-menu-left li a.active span {
        visibility: visible;
        opacity: 1;
    }

    #top-menu-left li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }

    #top-menu-left li a.active {
        width: 145px;
    }
}

/* END */
#top-menu-right {
    position: fixed;
    right: 0;
    top: 105px;
    z-index: 99;
    width: 50px;
}

#top-menu-right li {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin-bottom: -5px;
}

#top-menu-right i {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

#top-menu-right i img {
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

#top-menu-right li a {
    background: #f5f6fa;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 5px 0 rgb(48 56 70 / 20%);
    display: inline-flex;
    align-items: center;
    color: #000;
    font-size: 13px;
    width: 195px;
    margin-right: 0px;
    cursor: pointer;
}

#top-menu-right span {
    padding: 10px 10px 10px 0;
    width: 140px;
}

#top-menu-right li a.active {
    background: var(--primary);
    margin-right: 0;
    color: #fff;
    width: 195px;
    margin-right: -143px;
}

body:not(.scrolling) #top-menu-right li a:not(.active) {
    width: 60px;
}

body:not(.scrolling) #top-menu-right li a:not(.active) span {
    display: none;
}

#top-menu-right:hover li a:hover span {
    display: block !important;
}

@media screen and (min-width: 768px) {
    #top-menu-right:hover li a:hover {
        width: 195px !important;
    }
}

@media screen and (min-width: 1401px) {
    #top-menu-right li a {
        margin-right: 0px;
        font-size: 16px;
    }

    #top-menu-right i {
        margin: 12px;
    }

    #top-menu-right span {
        left: 105px;
        padding: 15px 15px 15px 0;
        width: 165px;
    }

    #top-menu-right i img {
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    #top-menu-right li a.active {
        margin-right: 0;
        width: 240px;
    }

    #top-menu-right li a.active span {
        left: 54px;
    }
}

@media screen and (max-width: 767px) {
    #top-menu-right,
    #top-menu-right li {
        pointer-events: none;
    }

    #top-menu-right i img {
        border-radius: 30%;
    }

    #top-menu-right i {
        border-radius: 30%;
    }

    #top-menu-right span {
        visibility: hidden;
        opacity: 0;
    }

    #top-menu-right li a.active span {
        visibility: visible;
        opacity: 1;
    }

    #top-menu-right li a {
        width: 58px;
        height: 45px;
        pointer-events: auto;
    }

    #top-menu-right li a.active {
        width: 145px;
    }
}


.footer-copytext a {
    color: #ffffff;
}
ul, li {
    list-style-type: none;
    margin-left: 0px;
}
.header-logo img {
    height: 70px;
}
/* START THEME BOX4 */
.product-box4 {
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    overflow: hidden;
    border: 1px solid var(--bs-border-color)
}

.product-head-box4 {
    display: flex;
    border-bottom: 1px solid var(--bs-border-color);
    padding: 13px;
    background: #f5f5f5
}

.product-head-box4 img {
    height: 40px
}

.product-head-box4 h4 {
    width: calc(100% - 40px);
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    margin: 0
}

.product-body-box4 {
    border-bottom: 1px solid #e1ecf8;
    padding: 15px;
    min-height: 186px
}

.product-body-box4 p {
    margin-bottom: -4px;
    font-size: 14px
}

.product-body-box4 p i {
    color: #558b2f;
    margin-right: 3px;
}

.product-footer-box4 {
    padding: 15px;
    border-bottom: 1px solid #e1ecf8
}

.product-footer-box4 strong {
    display: block;
    font-size: 12px;
    margin-bottom: 5px
}

.product-footer-box4 img {
    height: 20px
}

.border-end-box4 {
    border-right: 1px solid #e1ecf8 !important
}

.product-buttons-box4 {
    padding: 15px
}

.price-box4 {
    text-align: right
}

.price-box4 strong {
    font-size: 18px;
    color: #f5b907;
    margin: 0
}
.proce-box4-not-discount{
    font-size: 18px;
    color: #f5b907;
    margin: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-box4 span {
    text-decoration: line-through;
    font-size: 14px;
    color: #c2c2c2;
    font-weight: 500
}

/* ==================== MODERN BOX4 BUY BUTTON ==================== */

.buy-btn-box4 {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border: 2px solid transparent;
    border-radius: 8px;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    width: 100%;
    padding: 8px 12px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.3px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.buy-btn-box4:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af) !important;
    color: #fff !important;
}
.buy-btn-box4.disabled {
    text-transform: uppercase; /* In hoa text*/
    background: rgb(182, 179, 179); /* Màu nền xám */
    color: #666; /* Màu chữ xám nhạt */
    cursor: not-allowed; /* Con trỏ không cho phép */
    pointer-events: none; /* Không sự kiện click */
}

/* ==================== MODERN BOX4 DETAIL BUTTON ==================== */

.more-btn-box4 {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(203, 213, 225, 0.05)) !important;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px;
    color: #64748b;
    box-shadow: 0 4px 16px rgba(148, 163, 184, 0.2);
    width: 100%;
    padding: 8px 12px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    letter-spacing: 0.3px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.more-btn-box4:hover {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.15), rgba(203, 213, 225, 0.1)) !important;
    border-color: rgba(148, 163, 184, 0.4);
    color: #475569;
}
/* END THEME BOX4 */

/* ==================== MODERN WALLET CARD REDESIGN ==================== */

/* Contenedor principal del modal wallet */
.account-card.card-wallet-home {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.8));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: sticky !important;
    top: 115px !important;
    padding: 20px !important;
    overflow: hidden;
    transition: none !important;
    z-index: 10 !important;
}

.account-card.card-wallet-home:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
    transform: none !important;
    transition: none !important;
}

/* Sección de saldo principal */
.my-wallet {
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.06));
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.my-wallet::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(59, 130, 246, 0.1),
        transparent);
    animation: shimmer 3s infinite;
}

.my-wallet p {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-wallet h3 {
    font-size: 28px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

/* Grid de tarjetas de estadísticas - Layout vertical */
.wallet-card-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.wallet-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 80px;
}

.wallet-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(147, 197, 253, 0.08));
    border-color: rgba(59, 130, 246, 0.3);
    transform: none !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transition: none !important;
}

.wallet-card p {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: none !important;
}

.wallet-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    transition: none !important;
}

.wallet-card:hover p {
    color: #3b82f6;
    transition: none !important;
}

.wallet-card:hover h3 {
    color: #1e40af;
    transition: none !important;
}

/* Botones sociales para usuarios no logueados */
.user-form-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-form-social li {
    width: 100%;
}

.user-form-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.user-form-social a.facebook {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.user-form-social a.facebook:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.user-form-social a.google {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9));
    color: #ffffff;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.user-form-social a.google:hover {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.95), rgba(21, 128, 61, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
}

.user-form-social a i {
    margin-right: 8px;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {
    .account-card.card-wallet-home {
        padding: 16px !important;
        margin-bottom: 20px;
    }
    
    .my-wallet {
        padding: 16px 12px;
        margin-bottom: 16px;
    }
    
    .my-wallet h3 {
        font-size: 24px;
    }
    
    .wallet-card-group {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .wallet-card {
        padding: 12px 8px;
    }
    
    .wallet-card h3 {
        font-size: 14px;
    }
    
    .wallet-card p {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .wallet-card-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-form-social a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* ==================== END WALLET CARD REDESIGN ==================== */

.modal-dialog {
    position: relative;
    width: 100%; /* adjust as needed */
}

.modal-content {
    position: relative;
    background-color: #fff; /* modal background color */
    border-radius: 10px;
}

.modal-header {
    padding: 15px;
}
.modal-footer {
    padding: 0px;
}

/* Close button styles */
.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}



 

.all-product-main .box-product-main {
    border-radius: 10px;
    height: 100px;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    background-size: cover;
    transition: box-shadow .2s;
    width: 100%;
}

.box-img-product {
    background: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 / 19%), inset 0 -1px 4px rgb(0 0 0 / 25%);
    border-radius: 14px;
    height: 75px;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.box-text-style {
    color: #fff;
}

.btn-see-more {
    display: none;
    border: 0;
    width: 130px;
    border-radius: 30px;
    background: #fff;
    font-weight: 700;
    margin-left: 92px;
}

.box-product-main:hover .btn-see-more {
    visibility: visible;
    margin-top: 15px;
    height: 30px;
    display: block;
}

.box-product-main .btn-see-more:hover {
    background-color: #ffffe6;
}

.row-menu-home {
    margin: -6px 4px 10px;
}

.row-menu-home .form-provide-home {
    display: block;
    border-radius: 15px;
    padding: 15px 10px;
    background-color: #f7f7f782;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border: 1px solid #eaeaea;
    color: inherit;
}

.table-padded {
    border-collapse: separate;
    border-spacing: 0 10px;
    padding-right: 8px;
    padding-top: 18px;
}

.btn-custom {
    color: #ffffff;
    font-size: 15px;
    font-family: Arial, sans-serif;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 10%);
    padding: 10px;
    width: 230px;
}

.btn-custom-available {
    background-color: #00a1f7;
}

.btn-custom-sold {
    background-color: #444444;
}

.btn-custom-sold:hover {
    background-color: #2e2e2e;
    color: #fff;
}

.btn-custom-available:hover {
    background-color: #f64444;
    color: #fff;
}
 
.posterd {
    padding: 20px;
    background: #4e8666bd;
    border: 1px #eee solid;
    border-radius: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}
.welcomto {
    display: flex;
    align-items: center;
}
.box-intro {
    background: #fff;
    box-shadow: 0 4px 4px rgb(0 0 0 / 19%), inset 0 -4px 8px rgb(0 0 0 / 25%);
    border-radius: 14px;
    height: 90px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}
.describe-intro {
    margin-top: 15px;
    opacity: 0.9;
    font-size: 17px;
    line-height: 1.4;
}

/* Diseño compacto para categorías */
ul.custom-button-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    padding: 10px 0;
    margin: 0;
}

ul.custom-button-list li {
    display: flex;
}

.btn-category-home {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-category-home:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.btn-category-home.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-category-home a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: inherit;
    font-weight: inherit;
}

.btn-category-home img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    ul.custom-button-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 6px;
    }
    
    .btn-category-home {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 36px;
    }
    
    .btn-category-home img {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    ul.custom-button-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .btn-category-home {
        padding: 5px 8px;
        font-size: 10px;
        min-height: 32px;
    }
}