        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar.sticky-top { top: 0; margin: 0; }
        main {
            flex: 1 0 auto;
        }
        footer {
            flex-shrink: 0;
            width: 100%;
            bottom: 0;
        }
        
        /* Estilos mejorados para los menús desplegables con animación */
        .navbar-dark .navbar-nav .dropdown-menu {
            background-color: #0d6efd;
            border: none;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            padding: 0.5rem 0;
            margin-top: 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            visibility: hidden;
            transform-origin: top center;
            transform: scaleY(0);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
        }
        
        .navbar-dark .navbar-nav .dropdown-menu.show {
            visibility: visible;
            opacity: 1;
            transform: scaleY(1);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .navbar-dark .navbar-nav .dropdown-menu .dropdown-item {
            color: #fff !important;
            padding: 0.6rem 1.5rem;
            transition: all 0.2s ease;
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .navbar-dark .navbar-nav .dropdown-menu .dropdown-item:hover {
            color: #000 !important;
            background-color: rgba(255, 255, 255, 0.1) !important;
            padding-left: 1.75rem;
        }
        
        .navbar-dark .navbar-nav .dropdown-menu .dropdown-item:hover:before {
            content: '';
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background-color: var(--light-color);
            border-radius: 50%;
        }
        
        .navbar-dark .dropdown-menu .dropdown-header {
            color: #ffffff !important;
            font-weight: 600 !important;
        }
        
        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .header-actions .btn {
            transition: all 0.3s ease;
            border-radius: 50px;
            padding: 0.4rem 0.8rem;
            font-size: 0.9rem;
            white-space: nowrap;
        }
        
        .header-actions .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .header-actions .btn-outline-light {
            border-width: 2px;
        }
        
        .header-actions .btn-light {
            font-weight: 500;
        }
        
        #cart-counter, #cart-counter-mobile {
            font-size: 0.65rem;
            padding: 0.3em 0.5em;
        }
        
        .mobile-user-dropdown {
            position: relative;
        }
        
        .mobile-user-dropdown .dropdown-menu {
            position: fixed !important;
            top: 60px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            min-width: 240px !important;
            max-width: 90vw !important;
            width: auto !important;
            z-index: 9999 !important;
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
            border: 2px solid rgba(255, 255, 255, 0.3) !important;
            border-radius: 12px !important;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
            opacity: 0 !important;
            visibility: hidden !important;
            transform: translateX(-50%) scale(0.9) !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            padding: 0.5rem 0 !important;
            margin: 0 !important;
        }
        
        .mobile-user-dropdown .dropdown-menu.show {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateX(-50%) scale(1) !important;
        }
        
        .mobile-user-dropdown .dropdown-menu .dropdown-header {
            color: #ffffff !important;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
            border-radius: 10px 10px 0 0 !important;
            padding: 1rem !important;
            text-align: center !important;
            font-weight: 700 !important;
            font-size: 1.1rem !important;
            margin-bottom: 0.5rem !important;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        }
        
        .mobile-user-dropdown .dropdown-menu .dropdown-item {
            color: #ffffff !important;
            padding: 0.8rem 1.2rem !important;
            text-align: left !important;
            display: flex !important;
            align-items: center !important;
            font-size: 1rem !important;
            font-weight: 500 !important;
            transition: all 0.3s ease !important;
            margin: 0.2rem 0.5rem !important;
            border-radius: 8px !important;
            background: transparent !important;
        }
        
        .mobile-user-dropdown .dropdown-menu .dropdown-item:hover,
        .mobile-user-dropdown .dropdown-menu .dropdown-item:focus {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
            color: #ffffff !important;
            transform: translateX(3px) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        }
        
        .mobile-user-dropdown .dropdown-menu .dropdown-item i {
            margin-right: 0.8rem !important;
            min-width: 18px !important;
            font-size: 1rem !important;
            opacity: 0.9 !important;
        }
        
        .mobile-user-dropdown .dropdown-menu .dropdown-divider {
            border-color: rgba(255, 255, 255, 0.3) !important;
            margin: 0.5rem 0.8rem !important;
            opacity: 1 !important;
        }
        
        .cookie-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 999999;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(3px);
        }

        .cookie-modal-overlay.show {
            display: flex;
        }

        .cookie-modal {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            width: 95%;
            max-width: 650px;
            text-align: left;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 1000000;
            animation: modalSlideIn 0.5s ease-out;
            max-height: 90vh;
            overflow-y: auto;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.7) translateY(-50px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .cookie-modal h3 {
            margin-top: 0;
            margin-bottom: 20px;
            color: #333;
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
            border-bottom: 2px solid #0d6efd;
            padding-bottom: 10px;
        }

        .cookie-modal p {
            margin-bottom: 20px;
            color: #555;
            line-height: 1.7;
            font-size: 1rem;
        }

        .cookie-modal .cookie-links {
            margin: 15px 0;
            text-align: center;
        }

        .cookie-modal .cookie-links a {
            margin: 0 8px;
            color: #0d6efd;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .cookie-modal .cookie-links a:hover {
            color: #0b5ed7;
            text-decoration: underline;
        }

        .cookie-modal .button-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 25px;
        }

        .cookie-modal button {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            flex: 1;
            min-width: 140px;
        }

        .cookie-modal .btn-primary {
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
        }

        .cookie-modal .btn-primary:hover {
            background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
        }

        .cookie-modal .btn-secondary {
            background: linear-gradient(135deg, #6c757d 0%, #5c636a 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
        }

        .cookie-modal .btn-secondary:hover {
            background: linear-gradient(135deg, #5c636a 0%, #495057 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
        }

        .cookie-modal .btn-danger {
            background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
        }

        .cookie-modal .btn-danger:hover {
            background: linear-gradient(135deg, #bb2d3b 0%, #b02a37 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
        }

        .cookie-blocked {
            pointer-events: none !important;
            user-select: none !important;
            overflow: hidden !important;
        }

        .cookie-blocked * {
            pointer-events: none !important;
        }

        .cookie-modal-overlay * {
            pointer-events: auto !important;
        }

        .cookie-status {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(13, 110, 253, 0.9);
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            z-index: 1000;
            display: none;
        }

        .cookie-status.show {
            display: block;
            animation: fadeInUp 0.5s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .cookie-preferences-link {
            color: #b0b0b0 !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
            display: inline-flex !important;
            align-items: center !important;
            font-weight: normal !important;
        }

        .cookie-preferences-link:hover {
            color: #ffffff !important;
            padding-left: 5px !important;
            text-decoration: none !important;
        }

        .cookie-preferences-link i {
            margin-right: 0.5rem !important;
            font-size: 0.8rem !important;
        }

        .assistant-notification {
            position: fixed;
            bottom: 100px;
            right: 20px;
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
            color: white;
            padding: 12px 20px;
            border-radius: 25px;
            box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 1000;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            max-width: 280px;
            backdrop-filter: blur(10px);
        }

        .assistant-notification.show {
            opacity: 1;
            transform: translateX(0);
        }

        .assistant-notification::before {
            content: '';
            position: absolute;
            left: -8px;
            bottom: 15px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid #0d6efd;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
        }

        .assistant-notification .close-btn {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.7rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        @media (max-width: 768px) {
            .assistant-notification {
                bottom: 80px;
                right: 15px;
                left: 15px;
                max-width: none;
                text-align: center;
            }
            
            .assistant-notification::before {
                left: 50%;
                transform: translateX(-50%);
                bottom: -8px;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-top: 8px solid #0d6efd;
                border-bottom: 8px solid transparent;
            }
        }
        
        .navbar {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .navbar.scrolled {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            background-color: rgba(13, 110, 253, 0.98) !important;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            transition: transform 0.3s ease;
        }
        
        .navbar-brand:hover img {
            transform: rotate(5deg) scale(1.05);
        }
        
        .navbar-nav .nav-link {
            padding: 0.7rem 1rem;
            font-weight: 500;
            transition: all 0.2s ease;
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .navbar-nav .nav-link:hover {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        
        .navbar-nav .nav-link.active {
            font-weight: 600;
        }
        
        .navbar-nav .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 1rem;
            right: 1rem;
            height: 3px;
            background: var(--light-color);
            border-radius: 2px;
        }
        
        footer {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: #e0e0e0;
            padding: 2rem 0 1rem;
        }
        footer h5 {
            color: #ffffff;
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        footer h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: #0d6efd;
            border-radius: 2px;
        }
        footer .list-unstyled li {
            margin-bottom: 0.6rem;
        }
        footer .list-unstyled a {
            color: #b0b0b0;
            text-decoration: none;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
        }
        footer .list-unstyled a:hover {
            color: #ffffff;
            padding-left: 5px;
        }
        footer .list-unstyled a i {
            margin-right: 0.5rem;
            font-size: 0.8rem;
        }
        footer p {
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
        .social-icons {
            margin-top: 1rem;
        }
        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
            margin-right: 0.7rem;
            color: #ffffff;
            font-size: 1.1rem;
        }
        .social-icons a:hover {
            background: #0d6efd;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
        }
        footer hr {
            background-color: rgba(255, 255, 255, 0.1);
        }
        footer .text-center p {
            color: #a0a0a0;
            font-size: 0.9rem;
        }
        
        @media (max-width: 991.98px) {
            .navbar-collapse {
                padding-top: 1rem;
                background-color: rgba(13, 110, 253, 0.95);
                border-radius: 0 0 10px 10px;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
                margin-top: 0.5rem;
                max-height: 70vh;
                overflow-y: auto;
            }
            .navbar-nav {
                padding: 1rem 0;
            }
            .navbar-nav .nav-link {
                padding: 0.8rem 1.5rem;
                text-align: center;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            .navbar-nav .nav-link:last-child {
                border-bottom: none;
            }
            
            .header-actions {
                gap: 0.3rem;
            }
            
            .header-actions .btn {
                padding: 0.3rem 0.6rem;
                font-size: 0.8rem;
                min-width: auto;
            }
            
            .mobile-user-dropdown .btn {
                padding: 0.3rem 0.8rem !important;
            }
            
            .mobile-user-dropdown .dropdown-menu {
                top: 55px !important;
            }
        }

        @media (max-width: 576px) {
            .header-actions .btn {
                padding: 0.25rem 0.5rem;
                font-size: 0.75rem;
            }
            
            .mobile-user-dropdown .dropdown-menu {
                min-width: 200px !important;
                max-width: 85vw !important;
                top: 50px !important;
            }
            
            .mobile-user-dropdown .dropdown-menu .dropdown-item {
                padding: 0.6rem 1rem !important;
                font-size: 0.9rem !important;
            }
            
            .mobile-user-dropdown .dropdown-menu .dropdown-header {
                padding: 0.8rem !important;
                font-size: 1rem !important;
            }
        }
        
        @media (min-width: 992px) {
            .dropdown-hover:hover > .dropdown-menu {
                visibility: visible;
                opacity: 1;
                transform: scaleY(1);
                transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
            }
            .dropdown-hover > .dropdown-menu:hover {
                visibility: visible;
                opacity: 1;
                transform: scaleY(1);
            }
            .dropdown:hover .dropdown-menu {
                display: block;
                margin-top: 0;
            }
        }
        
        @media (max-width: 767.98px) {
            footer .col-md-4 {
                text-align: center;
                margin-bottom: 1.5rem;
            }
            .social-icons {
                justify-content: center;
            }
            footer h5::after {
                left: 50%;
                transform: translateX(-50%);
            }
        }

        .dropdown-submenu {
            position: relative;
        }

        .dropdown-submenu .dropdown-menu {
            position: absolute !important;
            top: 0 !important;
            left: 100% !important;
            margin-top: -1px;
            margin-left: 0;
            min-width: 200px;
            display: none;
        }

        .dropdown-submenu:hover > .dropdown-menu {
            display: block !important;
        }

        .dropdown-submenu.dropdown-submenu-left .dropdown-menu {
            left: -100% !important;
            right: 0;
        }

        .dropdown-submenu > .dropdown-toggle::after {
            display: inline-block;
            margin-left: auto;
            vertical-align: 0.255em;
            content: "";
            border-top: 0.3em solid transparent;
            border-right: 0;
            border-bottom: 0.3em solid transparent;
            border-left: 0.3em solid;
            transform: rotate(0deg);
            float: right;
            margin-top: 0.5em;
        }

        @media (max-width: 767px) {
            .dropdown-submenu .dropdown-menu {
                position: static !important;
                left: auto !important;
                top: auto !important;
                float: none;
                width: 100%;
                margin-top: 0;
                background-color: #f8f9fa;
                border-left: 3px solid #007bff;
            }
            
            .dropdown-submenu .dropdown-menu .dropdown-item {
                padding-left: 2rem;
                font-size: 0.9em;
            }
        }
                /* Estilos para el modal de la tienda */
        #tiendaModal .modal-content {
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        #tiendaModal .modal-header {
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
            color: white;
            border-bottom: none;
        }
        #tiendaModal .modal-title {
            font-weight: 600;
            font-size: 1.3rem;
        }
        #tiendaModal .modal-body {
            padding: 1.5rem;
            text-align: center;
            font-size: 1rem;
            color: #333;
        }
        #tiendaModal .modal-footer {
            border-top: none;
            justify-content: center;
        }
        #tiendaModal .btn-primary {
            background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
            border: none;
            padding: 0.6rem 1.5rem;
            font-weight: 500;
        }
        #tiendaModal .btn-primary:hover {
            background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
            transform: translateY(-2px);
        }
        #tiendaModal .btn-secondary {
            background: linear-gradient(135deg, #6c757d 0%, #5c636a 100%);
            border: none;
        }
        #tiendaModal .btn-secondary:hover {
            background: linear-gradient(135deg, #5c636a 0%, #495057 100%);
            transform: translateY(-2px);
        }
        @media (max-width: 576px) {
            #tiendaModal .modal-dialog {
                margin: 0.5rem;
            }
            #tiendaModal .modal-title {
                font-size: 1.1rem;
            }
            #tiendaModal .modal-body {
                font-size: 0.9rem;
                padding: 1rem;
            }
        }
        /* Evitar selección de texto y arrastrar imágenes */
    body {
        -webkit-user-select: none; /* Safari */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Estándar */
    }
    img {
        pointer-events: none; /* Evita interacciones como arrastrar imágenes */
    }