
        /* Actualizado solo variables de colores para tema oscuro slate con verde neón */
        :root {
            --primary-color: #8fd6ff; /* Verde neón para elementos principales */
            --primary-dark: #00ffff; /* Verde oscuro */
            --primary-light: #0081b0; /* Slate oscuro para fondos */
            --secondary-color: #0f172a; /* Slate medio */
            --secondary-dark: #0081b0; /* Slate muy oscuro */
            --success-color: #8fd6ff; /* Verde neón para éxito */
            --danger-color: #ef4444; /* Rojo para peligro */
            --dark-color: #0f172a; /* Texto claro */
            --light-color: #0081b0; /* Fondo oscuro */
            --gray-color: #475569; /* Gris claro para textos secundarios */
            --accent-color: #8fd6ff; /* Verde neón para acentos */
            --white: #0f172a;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            /* Fondo oscuro con gradiente slate */
            background: linear-gradient(135deg, #0081b0 0%, #0081b0 100%);
            color: var(--dark-color);
            line-height: 1.6;
            /* Added responsive fixes to prevent horizontal overflow */
            overflow-x: hidden;
            max-width: 100vw;
            position: relative;
        }

        /* Added html overflow fix */
        html {
            overflow-x: hidden;
            max-width: 100vw;
            /* Agregar fondo oscuro al HTML para que coincida con el body cuando los modales están abiertos */
            background: linear-gradient(135deg, #0081b0 0%, #0081b0 100%);
        }

        /* Constraint para contenido principal, no modales */
        .container, .services-grid, .welcome-section, img, video {
            max-width: 100%;
        }

        header {
            background: #0081b0;
            box-shadow: 0 1px 0 #e2e8f0;
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 2;
        }

        .logo {
            display: flex;
            align-items: center;
            position: relative;
        }

        /* LOGO SIN BRILLO - EXACTAMENTE IGUAL QUE LAS OTRAS PÁGINAS */
        .logo img {
            max-width: 80px;
            height: auto;
            border-radius: 8px;
            transition: all 0.3s ease;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
        }

        .logo img:hover {
            transform: scale(1.05);
        }

        .header-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .credit-display-header {
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            color: #0f172a;
            background: rgba(143, 214, 255, 0.1);
            padding: 0.4rem 0.85rem;
            border-radius: 20px;
            border: 1px solid rgba(143, 214, 255, 0.25);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .credit-display-header:hover {
            background: rgba(143, 214, 255, 0.15);
            border-color: rgba(143, 214, 255, 0.4);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            align-items: center;
        }

        .nav-links a {
            color: #0f172a;
            text-decoration: none;
            padding: 0.8rem 1.2rem;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            /* Fondo oscuro translúcido */
            background: rgba(0, 129, 176, 0.5);
            /* Borde verde neón sutil */
            border: 1px solid rgba(143, 214, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            /* Brillo verde neón */
            background: linear-gradient(90deg, 
                transparent, 
                rgba(143, 214, 255, 0.3), 
                transparent);
            transition: left 0.5s ease;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a:hover {
            /* Hover con verde neón */
            background: rgba(143, 214, 255, 0.2);
            transform: translateY(-2px);
            /* Sombra verde neón */
            box-shadow: 0 8px 25px rgba(143, 214, 255, 0.3);
            /* Borde verde neón más visible */
            border-color: rgba(143, 214, 255, 0.5);
        }

        /* Contenedor principal */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
        }

        /* Barra de búsqueda */
        .search-filter-bar {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            align-items: center;
        }

        .search-input {
            flex: 1;
            padding: 0.65rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 0.9rem;
            background: #0081b0;
            color: #0f172a;
            transition: all 0.2s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: #cbd5e1;
            box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.3);
        }

        .search-input::placeholder {
            color: #0f172a;
        }



        /* Grid de servicios */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        @media (min-width: 768px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }

        /* Tarjetas de servicio - Limpio y ordenado */
        .service-card {
            background: #0081b0;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            animation: fadeInUp 0.3s ease-out;
            position: relative;
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
        }

        .service-card:hover {
            transform: translateY(-3px);
            border-color: #cbd5e1;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: #8fd6ff;
            border-radius: 0 0 16px 16px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .service-card:hover::after {
            opacity: 1;
        }

        .service-card.out-of-stock {
            opacity: 0.45;
            pointer-events: none;
        }

        /* Boton de informacion - pill "Terminos" esquina superior derecha */
        .info-button {
            position: absolute;
            top: 8px;
            right: 8px;
            z-index: 5;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: rgba(0, 129, 176, 0.85);
            border: 1px solid #e2e8f0;
            color: #0f172a;
            cursor: pointer;
            font-size: 0.65rem;
            font-weight: 600;
            padding: 0.25rem 0.55rem;
            border-radius: 6px;
            transition: all 0.2s ease;
            opacity: 1;
            white-space: nowrap;
            line-height: 1;
            backdrop-filter: blur(4px);
        }

        .info-button:hover {
            border-color: rgba(143, 214, 255, 0.4);
            background: rgba(143, 214, 255, 0.15);
            color: #8fd6ff;
        }

        /* Imagen del servicio */
        .service-image {
            width: 100%;
            height: 130px;
            background: #0081b0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .service-card:hover .service-image img {
            transform: scale(1.05);
        }

        .service-image .placeholder-initials {
            font-size: 1.8rem;
            font-weight: 800;
            color: #0f172a;
            letter-spacing: 2px;
            text-transform: uppercase;
            position: absolute;
            z-index: 1;
            user-select: none;
        }

        .service-image.has-image .placeholder-initials {
            display: none;
        }

        /* Badge de sin stock sobre la imagen */
        .out-of-stock-badge {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 129, 176, 0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 4;
        }

        .out-of-stock-badge span {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.25);
            padding: 0.3rem 0.9rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Contenido de la tarjeta */
        .service-content {
            padding: 0.9rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .service-title {
            font-size: 0.9rem;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 0.5rem;
            line-height: 1.35;
            min-height: 2.4rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .service-bottom {
            margin-top: auto;
        }

        /* Tags de atributos - centrados bajo el titulo */
        .service-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 5px;
            margin-bottom: 0.75rem;
        }

        .service-tag {
            background: rgba(251, 191, 36, 0.08);
            color: #d4a017;
            border: 1px solid rgba(251, 191, 36, 0.15);
            padding: 0.2rem 0.55rem;
            border-radius: 20px;
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            text-align: center;
            letter-spacing: 0.3px;
        }

        /* Mostrar maximo 2 tags en movil */
        @media (max-width: 768px) {
            .service-tag:nth-child(n+3) {
                display: none;
            }
        }

        /* Precio y Stock en linea */
        .service-price-row {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .service-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: #0f172a;
            line-height: 1;
        }

        .service-price .currency-label {
            font-size: 0.65rem;
            font-weight: 500;
            color: #0f172a;
            margin-left: 2px;
        }

        /* Stock */
        .service-stock {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.75rem;
            color: #0f172a;
        }

        .stock-icon {
            width: 12px;
            height: 12px;
        }

        /* Fila de cantidad + boton */
        .add-to-cart-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Selector de cantidad */
        .quantity-selector {
            width: auto;
            flex: 0 0 60px;
            padding: 0.55rem 0.4rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.85rem;
            background: #0081b0;
            color: #0f172a;
            transition: all 0.2s ease;
        }

        .quantity-selector:focus {
            outline: none;
            border-color: #cbd5e1;
            box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.3);
        }

        /* Boton agregar - solido y limpio */
        .add-button {
            flex: 1;
            padding: 0.55rem;
            background: #8fd6ff;
            color: #0081b0;
            border: none;
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .add-button:hover {
            filter: brightness(1.1);
        }

        .add-button:active {
            transform: scale(0.98);
        }

        .add-button:disabled {
            background: #e2e8f0;
            color: #0f172a;
            cursor: not-allowed;
            transform: none;
            flex: unset;
            width: 100%;
        }

        /* === CARRITO MODAL CENTRADO === */
        .cart-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1005;
        }

        .cart-content {
            background: #0081b0 !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 16px !important;
            width: 400px !important;
            max-width: calc(100vw - 2rem) !important;
            max-height: 520px !important;
            display: flex !important;
            flex-direction: column !important;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
            animation: cartFadeIn 0.2s ease-out !important;
            position: relative !important;
        }

        @keyframes cartFadeIn {
            from { opacity: 0; transform: scale(0.96); }
            to { opacity: 1; transform: scale(1); }
        }

        .cart-header {
            padding: 0.85rem 1.1rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            background: #0081b0;
            border-radius: 16px 16px 0 0;
        }

        .cart-header h3 {
            font-size: 0.85rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .cart-header h3 i {
            color: #0f172a;
            font-size: 0.8rem;
        }

        .cart-close-btn {
            background: none;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 0.75rem;
        }

        .cart-close-btn:hover {
            border-color: #cbd5e1;
            color: #0f172a;
        }

        .cart-body {
            flex: 1;
            overflow-y: auto;
            padding: 0.65rem;
            min-height: 0;
        }

        .cart-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem 1rem;
            color: #0f172a;
            text-align: center;
        }

        .cart-empty i {
            font-size: 1.8rem;
            margin-bottom: 0.4rem;
            color: #0f172a;
        }

        .cart-empty p {
            font-size: 0.78rem;
            color: #0f172a;
            margin: 0;
        }

        .cart-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.55rem 0.65rem;
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            margin-bottom: 0.35rem;
            transition: border-color 0.2s ease;
        }

        .cart-item:hover {
            border-color: #cbd5e1;
        }

        .cart-item-info {
            flex: 1;
            min-width: 0;
        }

        .cart-item-name {
            font-size: 0.75rem;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 0.1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cart-item-detail {
            font-size: 0.65rem;
            color: #0f172a;
        }

        .cart-item-price {
            font-size: 0.75rem;
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
            margin-right: 0.2rem;
        }

        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }

        .cart-qty-btn {
            width: 22px;
            height: 22px;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            background: transparent;
            color: #0f172a;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            transition: all 0.15s ease;
        }

        .cart-qty-btn:hover {
            border-color: #cbd5e1;
            color: #0f172a;
        }

        .cart-qty-btn.cart-qty-remove {
            border-color: rgba(239, 68, 68, 0.25);
            color: #f87171;
        }

        .cart-qty-btn.cart-qty-remove:hover {
            background: rgba(239, 68, 68, 0.1);
        }

        .cart-qty-value {
            font-size: 0.7rem;
            font-weight: 700;
            color: #0f172a;
            min-width: 16px;
            text-align: center;
        }

        .cart-footer {
            padding: 0.75rem 1.1rem;
            border-top: 1px solid #e2e8f0;
            flex-shrink: 0;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .cart-total span:first-child {
            font-size: 0.75rem;
            font-weight: 600;
            color: #0f172a;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .cart-total-price {
            color: #0f172a;
            font-size: 0.95rem;
            font-weight: 800;
        }

        .checkout-button {
            width: 100%;
            padding: 0.55rem;
            background: #e2e8f0;
            border: none;
            border-radius: 10px;
            color: #0081b0;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: all 0.2s ease;
        }

        .checkout-button:hover {
            background: #0f172a;
        }

        .checkout-button:disabled {
            background: #e2e8f0;
            color: #0f172a;
            cursor: not-allowed;
        }

        /* Modal de descripción - Armonizado con el resto de modales */
        .description-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1002;
            padding: 1rem;
            box-sizing: border-box;
        }

        .description-content {
            background: #0081b0;
            border-radius: 16px;
            max-width: 420px;
            width: 100%;
            max-height: 85vh;
            overflow-y: auto;
            animation: modalSlideIn 0.3s ease-out;
            border: 1px solid #e2e8f0;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
            max-width: calc(100vw - 2rem);
        }

        .description-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #0081b0;
            border-radius: 16px 16px 0 0;
        }

        .description-header h3 {
            font-size: 1rem;
            font-weight: 700;
            margin: 0;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .description-header h3 i {
            color: #8fd6ff;
            font-size: 0.95rem;
        }

        .description-close-btn {
            background: none;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 0.85rem;
        }

        .description-close-btn:hover {
            border-color: #cbd5e1;
            color: #0f172a;
        }

        .description-body {
            padding: 1.25rem 1.5rem;
        }

        .description-body h3 {
            margin-bottom: 0.75rem;
            color: #0f172a;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .description-body p {
            line-height: 1.7;
            color: #0f172a;
            font-size: 0.85rem;
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            padding: 1rem;
        }

        /* MODAL DE TRANSFERENCIA */
        .transfer-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1003;
            backdrop-filter: blur(4px);
        }

        .transfer-content {
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            width: 100%;
            max-width: 440px;
            max-height: 85vh;
            overflow-y: auto;
            animation: modalSlideIn 0.3s ease-out;
            margin: 1rem;
        }

        .transfer-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .transfer-header h3 {
            font-size: 1rem;
            font-weight: 700;
            margin: 0;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-close-btn {
            background: none;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            width: 32px;
            height: 32px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 0.85rem;
        }

        .modal-close-btn:hover {
            border-color: #cbd5e1;
            color: #0f172a;
        }

        .transfer-body {
            padding: 1.25rem 1.5rem;
        }

        .transfer-info {
            margin-bottom: 1rem;
        }

        .transfer-field {
            margin-bottom: 0.75rem;
            padding: 0.75rem;
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
        }

        .transfer-field label {
            display: block;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 0.35rem;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .transfer-field .value {
            font-size: 0.95rem;
            color: #0f172a;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
        }

        .account-number {
            font-family: 'Courier New', monospace;
            font-size: 1rem;
            font-weight: 700;
            color: #0f172a;
            letter-spacing: 1px;
        }

        .copy-button {
            background: rgba(143, 214, 255, 0.15);
            color: #8fd6ff;
            border: 1px solid rgba(143, 214, 255, 0.25);
            border-radius: 8px;
            padding: 0.4rem 0.75rem;
            cursor: pointer;
            font-size: 0.75rem;
            font-weight: 600;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            min-width: 70px;
            justify-content: center;
        }

        .copy-button:hover {
            background: rgba(143, 214, 255, 0.25);
            border-color: rgba(143, 214, 255, 0.4);
        }

        .copy-button.copied {
            background: rgba(143, 214, 255, 0.3);
            color: #34d399;
        }

        .transfer-note {
            background: rgba(251, 191, 36, 0.06);
            border: 1px solid rgba(251, 191, 36, 0.2);
            border-radius: 10px;
            padding: 0.75rem;
            margin-top: 1rem;
            color: #fbbf24;
            font-size: 0.8rem;
            line-height: 1.5;
        }

        .transfer-note i {
            color: #fbbf24;
            margin-right: 0.4rem;
        }



        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .floating-reports {
    position: fixed;
    bottom: 210px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(0, 129, 176, 0.85);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    color: #f87171;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.floating-reports:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.5);
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .floating-reports {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 190px;
        right: 15px;
    }
}

        /* Boton flotante de registro de compras */
        .floating-purchases {
            position: fixed;
            bottom: 9rem;
            right: 1rem;
            width: 48px;
            height: 48px;
            background: rgba(0, 129, 176, 0.85);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 999;
            transition: all 0.2s ease;
            box-shadow: none;
        }

        .floating-purchases:hover {
            background: rgba(139, 92, 246, 0.15);
            border-color: rgba(139, 92, 246, 0.5);
            transform: none;
            box-shadow: none;
        }

        .purchases-icon {
            color: #a78bfa;
            font-size: 1.2rem;
        }

        /* Modal de registro de compras */
        .purchases-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1001;
            padding: 1rem;
            box-sizing: border-box;
        }

        .purchases-modal.active {
            display: flex;
        }

        .purchases-content {
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            width: 100%;
            max-width: 900px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
            animation: modalSlideIn 0.3s ease-out;
        }

        .purchases-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            flex-shrink: 0;
            position: relative;
        }

        .purchases-header h3 {
            margin: 0;
            /* Texto claro */
            color: var(--dark-color);
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .close-purchases {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--gray-color);
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-purchases:hover {
            background: rgba(241, 245, 249, 0.1);
            color: #0f172a;
        }

        /* Improved statistics cards design with better spacing and colors */
        .purchases-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .stat-item {
            background: #0081b0;
            color: #0f172a;
            padding: 0.85rem 0.75rem;
            border-radius: 10px;
            text-align: center;
            border: 1px solid #e2e8f0;
        }

        .stat-value {
            display: block;
            font-size: 1.75rem;
            /* Texto verde neón */
            color: var(--primary-color);
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            display: block;
            font-size: 0.875rem;
            /* Texto claro */
            color: var(--dark-color);
            opacity: 0.9;
        }

        /* Added search input styling */
        .purchases-search {
            padding: 0 1.5rem;
            margin-bottom: 1rem;
        }

        .purchases-search-input {
            width: 100%;
            padding: 0.75rem 1rem;
            /* Borde slate */
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.875rem;
            /* Fondo slate oscuro */
            background: #0081b0;
            /* Texto claro */
            color: var(--dark-color);
            transition: border-color 0.2s ease;
        }

        .purchases-search-input:focus {
            outline: none;
            /* Borde verde neón al focus */
            border-color: var(--primary-color);
        }

        .purchases-body {
            flex: 1;
            overflow-y: auto;
            padding: 0 1.5rem 1.5rem;
        }

        /* Completely redesigned purchase cards with better organization and visual hierarchy */
        .purchases-grid {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .purchase-card {
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 1.25rem;
            transition: border-color 0.2s ease;
        }

        .purchase-card:hover {
            border-color: #cbd5e1;
        }

        .purchase-card h4 {
            margin: 0 0 1rem 0;
            /* Texto claro */
            color: var(--dark-color);
            font-size: 1.25rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding-bottom: 0.75rem;
            /* Borde slate */
            border-bottom: 1px solid #e2e8f0;
        }

        .purchase-card h4 i {
            /* Icono verde neón */
            color: var(--primary-color);
            font-size: 1.1rem;
        }

        .purchase-info {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .purchase-info-item {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .purchase-info-item i {
            color: var(--gray-color);
            font-size: 0.875rem;
            margin-right: 0.5rem;
        }

        .purchase-info-item .label {
            font-size: 0.75rem;
            color: var(--gray-color);
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
        }

        .purchase-info-item .value {
            font-size: 0.875rem;
            /* Texto claro */
            color: var(--dark-color);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            word-break: break-all;
        }

        .copy-account-btn {
            background: rgba(143, 214, 255, 0.15);
            color: #8fd6ff;
            border: 1px solid rgba(143, 214, 255, 0.25);
            padding: 0.2rem 0.45rem;
            border-radius: 6px;
            font-size: 0.7rem;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .copy-account-btn:hover {
            background: rgba(143, 214, 255, 0.25);
            border-color: rgba(143, 214, 255, 0.4);
        }

        .no-purchases {
            text-align: center;
            padding: 3rem 1rem;
            color: var(--gray-color);
        }

        .no-purchases i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #0f172a;
        }

        /* Modal de confirmacion de compra */
        .confirm-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .confirm-content {
            background: #0081b0;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 1.5rem;
            max-width: 400px;
            width: 100%;
            text-align: center;
        }

        .confirm-icon {
            width: 48px;
            height: 48px;
            background: rgba(143, 214, 255, 0.1);
            border: 1px solid rgba(143, 214, 255, 0.25);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.2rem;
            color: #8fd6ff;
        }

        .confirm-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0 0 1rem;
        }

        .confirm-summary {
            text-align: left;
            margin-bottom: 0.75rem;
            max-height: 200px;
            overflow-y: auto;
        }

        .confirm-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0.6rem;
            background: #0081b0;
            border-radius: 8px;
            margin-bottom: 0.4rem;
            font-size: 0.8rem;
        }

        .confirm-item-name {
            color: #0f172a;
            font-weight: 500;
            flex: 1;
            margin-right: 0.5rem;
        }

        .confirm-item-qty {
            color: #0f172a;
            margin-right: 0.5rem;
            white-space: nowrap;
        }

        .confirm-item-price {
            color: #8fd6ff;
            font-weight: 600;
            white-space: nowrap;
        }

        .confirm-total {
            display: flex;
            justify-content: space-between;
            padding: 0.6rem;
            background: rgba(143, 214, 255, 0.08);
            border: 1px solid rgba(143, 214, 255, 0.2);
            border-radius: 8px;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            font-weight: 700;
            color: #0f172a;
        }

        .confirm-total-price {
            color: #8fd6ff;
        }

        .confirm-actions {
            display: flex;
            gap: 0.5rem;
        }

        .confirm-cancel {
            flex: 1;
            padding: 0.6rem;
            background: transparent;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            color: #0f172a;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .confirm-cancel:hover {
            border-color: #cbd5e1;
            color: #0f172a;
        }

        .confirm-accept {
            flex: 1;
            padding: 0.6rem;
            background: #8fd6ff;
            border: none;
            border-radius: 8px;
            color: #0081b0;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
        }

        .confirm-accept:hover {
            filter: brightness(1.1);
        }

        .confirm-accept:disabled {
            background: #e2e8f0;
            color: #0f172a;
            cursor: not-allowed;
        }

        @media (max-width: 768px) {
            .purchases-content {
                margin: 0.5rem;
                max-height: 90vh;
            }
            
            .purchases-header {
                padding: 1rem;
            }

            .purchases-body {
                padding: 0 1rem 1rem;
            }

            .purchases-search {
                padding: 0 1rem;
            }
            
            /* Better mobile layout for statistics */
            .purchases-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
                margin-bottom: 1rem;
            }

            .stat-item {
                padding: 0.1rem;
                border-radius: 10px;
                margin: 0.5rem;
            }

            .stat-value {
                font-size: 1.5rem;
            }

            /* Single column layout for mobile purchase info */
            .purchase-info {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            .purchase-card {
                padding: 1rem;
            }

            .purchase-card h4 {
                font-size: 1.1rem;
            }
            
            .floating-purchases {
                bottom: 8rem;
                width: 42px;
                height: 42px;
                right: 0.75rem;
            }
        }

        /* Boton flotante de WhatsApp */
        .floating-whatsapp {
            position: fixed;
            bottom: 5rem;
            right: 1rem;
            width: 48px;
            height: 48px;
            background: rgba(0, 129, 176, 0.85);
            border: 1px solid rgba(37, 211, 102, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 999;
            transition: all 0.2s ease;
            text-decoration: none;
            box-shadow: none;
        }

        .floating-whatsapp:hover {
            background: rgba(37, 211, 102, 0.15);
            border-color: rgba(37, 211, 102, 0.5);
            transform: none;
            box-shadow: none;
        }

        .whatsapp-icon {
            color: #4ade80;
            font-size: 1.2rem;
        }

        /* Carrito flotante - este si se mantiene mas visible */
        .floating-cart {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            width: 48px;
            height: 48px;
            background: rgba(0, 129, 176, 0.85);
            border: 1px solid rgba(143, 214, 255, 0.4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.2s ease;
            box-shadow: none;
        }

        .floating-cart:hover {
            background: rgba(143, 214, 255, 0.15);
            border-color: rgba(143, 214, 255, 0.6);
            transform: none;
            box-shadow: none;
        }

        .cart-icon {
            color: #34d399;
            font-size: 1.2rem;
        }

        .cart-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #8fd6ff;
            color: #0081b0;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 800;
            border: 2px solid #0081b0;
        }

        /* Modal del carrito */
        .cart-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1001;
            /* Added padding and box-sizing for proper modal positioning */
            padding: 1rem;
            box-sizing: border-box;
        }

        .cart-content {
            /* Fondo slate oscuro */
            background: #0081b0;
            border-radius: 12px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            /* Borde verde neón */
            border: 2px solid rgba(143, 214, 255, 0.3);
            /* Added viewport constraint and full width for mobile */
            max-width: calc(100vw - 2rem);
            width: 100%;
        }

        .cart-header {
            padding: 1rem;
            /* Borde verde neón */
            border-bottom: 1px solid rgba(143, 214, 255, 0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            /* Gradiente verde neón */
            background: #0081b0;
            color: #0f172a;
            border-radius: 10px 10px 0 0;
        }

        .cart-body {
            padding: 1rem;
            max-height: 300px;
            overflow-y: auto;
        }

        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            /* Borde slate */
            border-bottom: 1px solid #e2e8f0;
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .cart-footer {
            padding: 1rem;
            /* Borde verde neón */
            border-top: 1px solid rgba(143, 214, 255, 0.3);
            /* Fondo slate oscuro */
            background: #0081b0;
            border-radius: 0 0 10px 10px;
        }

        .cart-total {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-align: center;
            /* Texto verde neón */
            color: var(--primary-color);
        }

        .checkout-button {
            width: 100%;
            padding: 1rem;
            /* Gradiente verde neón */
            background: linear-gradient(135deg, var(--success-color), var(--primary-dark));
            color: #0f172a;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .checkout-button:hover {
            /* Hover verde más brillante */
            background: linear-gradient(135deg, #34d399, var(--success-color));
            transform: translateY(-2px);
            /* Sombra verde neón */
            box-shadow: 0 4px 12px rgba(143, 214, 255, 0.5);
        }

        .checkout-button:disabled {
            /* Gris para deshabilitado */
            background: #cbd5e1;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* Notificaciones */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            color: #0f172a;
            font-weight: 500;
            z-index: 1002;
            animation: slideIn 0.3s ease-out;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .notification.success {
            /* Fondo verde neón para éxito */
            background: var(--success-color);
        }

        .notification.error {
            /* Fondo rojo para error */
            background: var(--danger-color);
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Delays para animaciones */
        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }

        /* Responsive - IGUAL QUE LAS OTRAS PÁGINAS */
        @media (max-width: 768px) {
            .container {
                padding: 0.75rem;
            }

            .services-grid {
                gap: 0.75rem;
            }

            .service-content {
                padding: 0.75rem;
            }

            .service-title {
                font-size: 0.9rem;
                min-height: 2.4rem;
            }

            .service-price {
                font-size: 1.1rem;
            }

            .floating-cart {
                width: 48px;
                height: 48px;
                bottom: 0.75rem;
                right: 0.75rem;
            }

            .floating-purchases {
                width: 48px;
                height: 48px;
                bottom: 8.3rem;
                right: 0.75rem;
            }

            .purchases-icon {
                font-size: 1.5rem;
            }
            
            .floating-whatsapp {
                width: 48px;
                height: 48px;
                bottom: 4.5rem;
                right: 0.75rem;
            }

            .cart-icon, .whatsapp-icon {
                font-size: 1.25rem;
            }

            .nav-links a span {
                display: none;
            }

            .logo img {
                max-width: 80px;
            }

            .description-content {
                margin: 0.5rem;
                max-width: none;
            }

            .transfer-content {
                margin: 0.5rem;
            }

            .transfer-body {
                padding: 1.5rem;
            }

            .account-number {
                font-size: 1rem;
            }

            /* Header responsive igual que las otras páginas */
            nav {
                padding: 0 1rem;
                gap: 0.3rem;
            }

            nav ul {
                gap: 0.3rem;
            }

            nav a {
                padding: 0.8rem 1.2rem;
                font-size: 0.9em;
            }
        }

        @media (max-width: 480px) {
            nav {
                padding: 0 1rem;
            }

            .logo img {
                max-width: 70px;
            }

            nav a {
                padding: 0.8rem 1.2rem;
                font-size: 0.9em;
            }

            .transfer-field .value {
                flex-direction: row;
                align-items: center;
                gap: 0.5rem;
            }

            .copy-button {
                align-self: flex-end;
            }
        }

        /* Estados de carga */
        .loading {
            opacity: 0.6;
            pointer-events: none;
        }

        /* Alertas */
        .alert {
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            animation: slideInLeft 0.4s ease-out;
            font-weight: 500;
        }

        @keyframes slideInLeft {
            from { 
                opacity: 0; 
                transform: translateX(-30px); 
            }
            to { 
                opacity: 1; 
                transform: translateX(0); 
            }
        }

        .alert-success {
            /* Fondo verde neón translúcido */
            background: linear-gradient(135deg, rgba(143, 214, 255, 0.2) 0%, rgba(143, 214, 255, 0.1) 100%);
            /* Texto verde neón */
            color: var(--success-color);
            /* Borde verde neón */
            border-left: 4px solid var(--success-color);
            border-radius: 12px 12px 12px 0;
        }

        .alert-danger {
            /* Fondo rojo translúcido */
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
            /* Texto rojo */
            color: var(--danger-color);
            /* Borde rojo */
            border-left: 4px solid var(--danger-color);
            border-radius: 12px 12px 12px 0;
        }

        /* Added compact credentials display styles */
        .credentials-compact {
            background: linear-gradient(135deg, rgba(143, 214, 255, 0.15) 0%, rgba(143, 214, 255, 0.05) 100%);
            border: 1px solid rgba(143, 214, 255, 0.3);
            border-radius: 8px;
            padding: 0.75rem;
            margin-bottom: 1rem;
            animation: slideInLeft 0.4s ease-out;
        }

        .credentials-header-compact {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            color: var(--success-color);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .credentials-body-compact {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .credential-row {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(0, 129, 176, 0.5);
            padding: 0.4rem 0.6rem;
            border-radius: 6px;
            border: 1px solid rgba(143, 214, 255, 0.2);
        }

        .credential-label {
            font-size: 0.75rem;
            color: var(--gray-color);
            font-weight: 600;
            min-width: 60px;
        }

        .credential-value {
            flex: 1;
            font-size: 0.85rem;
            color: var(--dark-color);
            font-family: 'Courier New', monospace;
            word-break: break-all;
        }

        .copy-btn-compact {
            background: var(--success-color);
            border: none;
            color: #0f172a;
            padding: 0.3rem 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.75rem;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            flex-shrink: 0;
        }

        .copy-btn-compact:hover {
            background: #34d399;
            transform: scale(1.05);
        }



        @media (max-width: 768px) {
            .credentials-compact {
                padding: 0.6rem;
            }

            .credential-row {
                padding: 0.35rem 0.5rem;
            }

            .credential-label {
                min-width: 50px;
                font-size: 0.7rem;
            }

            .credential-value {
                font-size: 0.8rem;
            }

            .copy-btn-compact {
                padding: 0.25rem 0.4rem;
                font-size: 0.7rem;
            }
        }

        /* Titulo de cada cuenta en compras multiples */
        .credential-account-title {
            font-size: 0.8rem;
            font-weight: 700;
            color: #0f172a;
            padding: 0.3rem 0;
            margin-top: 0.4rem;
            border-top: 1px solid rgba(143, 214, 255, 0.15);
        }

        .credential-account-title:first-child {
            margin-top: 0;
            border-top: none;
        }

        /* Boton global copiar todo */
        .copy-all-global-btn {
            width: 100%;
            background: #8fd6ff;
            border: none;
            color: #0081b0;
            padding: 0.6rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 700;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .copy-all-global-btn:hover {
            filter: brightness(1.1);
        }

        .copy-all-global-btn:active {
            transform: scale(0.98);
        }




        /* === BARRA DE STATS === */
        .catalog-stats-bar {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .catalog-stat {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            background: transparent;
            border: 1px solid #e2e8f0;
            font-size: 0.8rem;
            color: #0f172a;
        }

        .catalog-stat .stat-num {
            font-weight: 600;
            color: #0f172a;
        }

        .catalog-stat.out-stock .stat-num {
            color: #f87171;
        }



        /* Icono de busqueda dentro del input */
        .search-wrapper {
            position: relative;
            flex: 1;
        }

        .search-wrapper .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-color);
            font-size: 0.9rem;
            pointer-events: none;
        }

        .search-wrapper .search-input {
            padding-left: 2.5rem;
        }

        /* Added no-scroll class to prevent body scroll when modals are open */
        .no-scroll {
            overflow: hidden;
            position: fixed;
            width: 100%;
            /* Asegurar que el body mantenga el fondo oscuro cuando se abre el modal */
            background: linear-gradient(135deg, #0081b0 0%, #0081b0 100%);
            top: 0;
            left: 0;
        }
