/* styles.css - TechNexus con letras blancas y azul oscuro combinado */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #0B1120;  /* Azul oscuro profundo */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    background: #0F172A;  /* Azul oscuro real */
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #1E3A8A;  /* Azul más vivo */
}

/* Header */
.app-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #1E3A8A;
    background: #0B1120;
}

.app-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;  /* Blanco puro */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.app-header p {
    color: #E0F2FE;  /* Azul muy claro (casi blanco) */
    font-size: 14px;
    margin-top: 4px;
}

/* Contenido principal (scrollable) */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    scrollbar-width: thin;
    scrollbar-color: #2563EB #0F172A;  /* Azul brillante */
}

.main-content::-webkit-scrollbar {
    width: 8px;
}

.main-content::-webkit-scrollbar-track {
    background: #0F172A;
}

.main-content::-webkit-scrollbar-thumb {
    background: #2563EB;  /* Azul brillante */
    border-radius: 10px;
}

/* Pantallas */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* Cards */
.card {
    background: #1E293B;  /* Azul oscuro con más luz */
    border: 1px solid #2563EB;  /* Borde azul brillante */
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.card:hover {
    border-color: #3B82F6;  /* Azul más claro */
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.card h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #FFFFFF;  /* Blanco puro */
}

.card p {
    color: #E0F2FE;  /* Azul muy claro */
    margin-bottom: 20px;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #FFFFFF;  /* Blanco puro */
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1.5px solid #3B82F6;  /* Azul brillante */
    font-size: 15px;
    transition: 0.2s;
    background: transparent;
    color: #FFFFFF;  /* Blanco puro */
}

.form-group input::placeholder {
    color: #94A3B8;  /* Gris azulado (único texto no blanco) */
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #60A5FA;  /* Azul más claro */
}

/* Botones */
.btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: #1E3A8A;  /* Azul oscuro intenso */
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    transition: 0.2s;
    border: 1px solid #2563EB;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.5);
}

.btn-primary:hover {
    background: #2563EB;  /* Azul más brillante */
    border-color: #3B82F6;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    padding: 10px 18px;
    background: transparent;
    border: 1.5px solid #2563EB;  /* Azul brillante */
    border-radius: 40px;
    color: #FFFFFF;  /* Blanco puro */
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.btn-outline:hover {
    background: #1E3A8A;  /* Azul oscuro */
    border-color: #3B82F6;
    color: #FFFFFF;
}

/* Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 20px;
    padding: 20px;
    transition: 0.2s;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: #3B82F6;
    transform: translateY(-2px);
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0 8px;
    color: #FFFFFF;  /* Blanco puro */
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #93C5FD;  /* Azul muy claro */
    margin-bottom: 15px;
}

.btn-add {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1.5px solid #3B82F6;  /* Azul brillante */
    color: #FFFFFF;  /* Blanco puro */
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-add:hover {
    background: #1E3A8A;  /* Azul oscuro */
    color: white;
    border-color: #60A5FA;
}

/* Carrito */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #2563EB;
}

.cart-item-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #FFFFFF;  /* Blanco puro */
}

.cart-item-price {
    color: #93C5FD;  /* Azul claro */
    font-weight: 600;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #3B82F6;
    border-radius: 30px;
    padding: 5px 15px;
    background: #0F172A;
}

.cart-quantity span {
    cursor: pointer;
    font-weight: 600;
    color: #FFFFFF;  /* Blanco puro */
}

.cart-quantity span:hover {
    color: #93C5FD;
}

.cart-summary {
    background: #1E293B;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #2563EB;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #FFFFFF;  /* Blanco puro */
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #2563EB;
    color: #FFFFFF;  /* Blanco puro */
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #E0F2FE;  /* Azul muy claro */
}

/* Panel de navegación inferior */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 24px;
    background: #0B1120;
    border-top: 1px solid #2563EB;
    margin-top: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.2s;
    color: #94A3B8;  /* Gris azulado (inactivo) */
}

.nav-item.active {
    color: #FFFFFF;  /* Blanco puro */
    background: #1E3A8A;  /* Azul oscuro */
}

.nav-item span:first-child {
    font-size: 20px;
}

.nav-item span:last-child {
    font-size: 12px;
    font-weight: 500;
}

/* Badge del carrito */
.cart-badge {
    background: #2563EB;  /* Azul brillante */
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 5px;
}

/* Mensajes */
.alert {
    padding: 12px 20px;
    background: #1E3A8A;  /* Azul oscuro */
    color: #FFFFFF;  /* Blanco puro */
    border-radius: 12px;
    margin: 10px 0;
    font-size: 14px;
    border-left: 4px solid #60A5FA;  /* Azul claro */
}

.alert.error {
    background: #7F1D1D;  /* Rojo oscuro */
    color: #FECACA;
    border-left-color: #EF4444;
}

/* Zona Gamers Banner */
.gamers-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0B1120 100%) !important;
    border: 1px solid #3B82F6 !important;
    border-radius: 20px !important;
}

.gamers-banner h3, .gamers-banner p, .gamers-banner button {
    color: #FFFFFF !important;
}

/* Checkbox */
input[type="checkbox"] {
    accent-color: #2563EB;  /* Azul brillante */
}

input[type="checkbox"] + label {
    color: #FFFFFF;  /* Blanco puro */
}

/* Links */
.bottom-link a {
    color: #93C5FD !important;  /* Azul claro */
}

.bottom-link {
    color: #E0F2FE !important;
}

/* Perfil */
.profile-avatar {
    background: #1E3A8A !important;  /* Azul oscuro */
}

.profile-item {
    background: #1E293B !important;
    border: 1px solid #2563EB !important;
}

.profile-item strong {
    color: #FFFFFF;  /* Blanco puro */
}

.profile-item p {
    color: #E0F2FE;  /* Azul muy claro */
}

#profileName, #profileEmail {
    color: #FFFFFF !important;  /* Blanco puro */
}

/* ========== ESTILOS PARA ZONA EMPRESARIAL ========== */

.empresa-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    border: 1px solid #3B82F6;
    border-radius: 20px;
    padding: 24px;
}

.empresa-header h3, .empresa-header p, .empresa-header div {
    color: #FFFFFF !important;
}

.empresa-stats {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.empresa-stats .stat-number {
    color: #93C5FD;  /* Azul claro */
    font-size: 28px;
    font-weight: 700;
}

.empresa-stats p {
    color: #FFFFFF;
}

/* Modal */
.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.modal-content h2, .modal-content h3, .modal-content p, .modal-content label {
    color: #FFFFFF !important;
}

/* Órdenes */
.orden-item {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    transition: 0.2s;
}

.orden-item:hover {
    border-color: #3B82F6;
}

.orden-item strong, .orden-item span, .orden-item p {
    color: #FFFFFF !important;
}

.orden-estado {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.orden-estado.entregado {
    background: #1E3A8A;
    color: #FFFFFF;
}

.orden-estado.pendiente {
    background: #7F1D1D;
    color: #FFFFFF;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #2563EB;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3B82F6;
}

/* ========== TEXTOS ADICIONALES ========== */

/* Cualquier texto que pueda haber quedado negro */
h1, h2, h3, h4, h5, h6, p, span, a, li, label, strong, em {
    color: #FFFFFF;  /* Forzar blanco en casi todo */
}

/* Excepciones donde queremos tonos azules claros */
.text-gray, .text-secondary, .subtle-text {
    color: #E0F2FE !important;  /* Azul muy claro */
}

.price, .product-price, .cart-item-price {
    color: #93C5FD !important;  /* Azul claro */
}

/* Para placeholders que deben ser más sutiles */
::placeholder {
    color: #94A3B8 !important;  /* Único texto no blanco */
    opacity: 0.8;
}

.profile-tab {
    transition: all 0.3s ease;
}

.profile-tab.active {
    color: #FFFFFF !important;
    border-bottom: 2px solid #8B5CF6;
}

.ajuste-item input {
    background: #0F172A;
    border: 1px solid #2563EB;
    border-radius: 8px;
    padding: 10px;
    color: white;
    width: 100%;
}

.ajuste-item input:focus {
    outline: none;
    border-color: #8B5CF6;
}

/* ========== NOTIFICACIONES ========== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    min-width: 280px;
    max-width: 350px;
    background: #1E293B;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid;
    animation: slideInRight 0.3s ease forwards;
    backdrop-filter: blur(10px);
}

.notification-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-cart {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-gift {
    border-left-color: #ec4899;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.notification-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    font-size: 14px;
}

.notification-message {
    color: #94A3B8;
    font-size: 13px;
}

.notification-close {
    cursor: pointer;
    color: #64748B;
    font-size: 16px;
    transition: 0.2s;
    padding: 4px;
}

.notification-close:hover {
    color: white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-exit {
    animation: slideOutRight 0.3s ease forwards;
}

/* ========== SISTEMA DE PUNTOS ========== */
.points-card {
    background: linear-gradient(135deg, #1E3A8A 0%, #4C1D95 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #8B5CF6;
    position: relative;
    overflow: hidden;
}

.points-card::before {
    content: "💎";
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 80px;
    opacity: 0.1;
    pointer-events: none;
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.points-total {
    font-size: 42px;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.points-label {
    color: #E0F2FE;
    font-size: 14px;
}

.points-progress {
    background: #0F172A;
    border-radius: 20px;
    height: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.points-progress-bar {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    height: 100%;
    border-radius: 20px;
    transition: width 0.5s ease;
}

.points-level {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.level-bronce { background: #CD7F32; color: white; }
.level-plata { background: #C0C0C0; color: #1a1a1a; }
.level-oro { background: #FFD700; color: #1a1a1a; }
.level-platino { background: #E5E4E2; color: #1a1a1a; }

.points-history {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.points-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #2563EB;
    background: #0F172A;
    margin-bottom: 8px;
    border-radius: 12px;
}

.points-item-info {
    flex: 1;
}

.points-item-title {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.points-item-date {
    color: #94A3B8;
    font-size: 11px;
}

.points-item-amount {
    font-weight: 700;
    font-size: 16px;
}

.points-item-amount.positive {
    color: #10b981;
}

.points-item-amount.negative {
    color: #ef4444;
}

.points-redeem {
    background: #FFD700;
    color: #1a1a1a;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: 0.2s;
}

.points-redeem:hover {
    background: #FFA500;
    transform: scale(0.98);
}

/* ========== REDISEÑO PREMIUM TECHNEXUS ========== */

:root {
    --bg-0: #050913;
    --bg-1: #07101f;
    --bg-2: #0b1120;
    --surface: rgba(10, 16, 31, 0.82);
    --surface-strong: rgba(12, 20, 39, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --border: rgba(121, 160, 255, 0.18);
    --border-strong: rgba(121, 160, 255, 0.32);
    --text: #eef4ff;
    --muted: #9ca9c8;
    --primary: #2563eb;
    --primary-strong: #1d4ed8;
    --secondary: #6466d5;
    --accent: #ae56ab;
    --accent-2: #9c7cff;
    --accent-3: #56c6e8;
    --success: #2dd4bf;
    --warning: #f7b955;
    --danger: #ff6b7a;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --shadow-xl: 0 30px 90px rgba(2, 8, 20, 0.58);
}

* {
    font-family: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    position: relative;
    overflow-x: hidden;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 28%),
        radial-gradient(circle at top right, rgba(174, 86, 171, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(86, 198, 232, 0.08), transparent 22%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
    color: var(--text);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.28;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
}

body::after {
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.16), transparent 18%),
        radial-gradient(circle at 80% 12%, rgba(174, 86, 171, 0.18), transparent 16%),
        radial-gradient(circle at 75% 82%, rgba(86, 198, 232, 0.12), transparent 18%);
    filter: blur(10px);
    opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    letter-spacing: -0.03em;
}

body,
button,
input,
select,
textarea {
    color: var(--text);
}

.app-container {
    width: 100vw;
    max-width: 1360px;
    max-width: none;
    height: 100vh;
    position: relative;
    background: linear-gradient(180deg, rgba(8, 13, 25, 0.92) 0%, rgba(6, 10, 19, 0.98) 100%);
    border: 1px solid rgba(129, 164, 255, 0.18);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 0;
    isolation: isolate;
    z-index: 1;
}

.app-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 24px 28px 18px;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.95), rgba(10, 15, 29, 0.78));
    border-bottom: 1px solid rgba(123, 160, 255, 0.14);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.app-header h1 {
    font-size: 30px;
    line-height: 1;
    background: linear-gradient(90deg, #dfe9ff, #8eb2ff 55%, #74e2d5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app-header p {
    color: var(--muted);
    margin-top: 0;
    padding-left: 2px;
    position: relative;
    z-index: 2;
}

.main-content {
    padding: 24px 28px 30px;
    background: transparent;
    scrollbar-gutter: stable;
}

@media (min-width: 1081px) {
    .main-content {
        margin-left: 258px;
        padding-left: 30px;
    }
}

.screen {
    animation: screenReveal 0.32s ease;
}

@keyframes screenReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.card,
.toolbar-panel,
.hero-banner,
.profile-hero,
.company-cta,
.company-header-card,
.cart-summary,
.points-card,
.orden-item,
.notification,
.modal-content,
.admin-modal-content {
    background: linear-gradient(180deg, rgba(12, 18, 34, 0.96), rgba(8, 12, 22, 0.96));
    border: 1px solid rgba(121, 160, 255, 0.16);
    box-shadow: 0 18px 46px rgba(2, 6, 16, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.card {
    border-radius: var(--radius-xl);
}

.card:hover {
    border-color: rgba(131, 165, 255, 0.28);
    box-shadow: 0 18px 50px rgba(42, 72, 152, 0.24);
    transform: translateY(-2px);
}

.card h2,
.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
}

.hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px !important;
    padding: 28px !important;
    margin-top: 2px;
    border: 1px solid rgba(121, 160, 255, 0.22) !important;
    background: linear-gradient(135deg, rgba(18, 28, 51, 0.96), rgba(10, 16, 33, 0.92)) !important;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(174, 86, 171, 0.18), transparent 30%), radial-gradient(circle at bottom left, rgba(86, 198, 232, 0.12), transparent 26%);
    pointer-events: none;
}

.hero-banner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    margin-bottom: 6px;
}

.toolbar-panel {
    border-radius: 28px !important;
    padding: 22px !important;
    margin-bottom: 24px !important;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.94), rgba(8, 12, 22, 0.94)) !important;
    border: 1px solid rgba(121, 160, 255, 0.16) !important;
}

#screen-products h2,
#screen-profile h2,
#screen-empresa h2 {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 8px;
}

#screen-products > p,
#screen-empresa > p {
    color: var(--muted) !important;
}

#screen-auth .card {
    min-height: 100%;
}

#screen-auth .grid-2 {
    align-items: stretch;
}

#screen-auth .auth-grid {
    gap: 0;
    padding: 18px;
    background: linear-gradient(135deg, rgba(7, 11, 22, 0.92), rgba(11, 17, 33, 0.9));
    border: 1px solid rgba(121, 160, 255, 0.16);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(2, 8, 20, 0.34);
}

#screen-auth .grid-2 > .card:first-child {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    padding: 40px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.24), transparent 24%),
        radial-gradient(circle at bottom left, rgba(174, 86, 171, 0.14), transparent 22%),
        linear-gradient(180deg, rgba(9, 16, 32, 0.98), rgba(7, 11, 22, 0.98)) !important;
    border: 1px solid rgba(121, 160, 255, 0.12);
}

#screen-auth .grid-2 > .card:first-child::after {
    content: "";
    position: absolute;
    inset: auto -12% -14% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.42), transparent 68%);
    filter: blur(10px);
    opacity: 0.45;
}

#screen-auth .grid-2 > .card:first-child h2 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.92;
    max-width: 560px;
    margin-top: 14px;
}

#screen-auth .grid-2 > .card:first-child p {
    max-width: 560px;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.45;
    color: rgba(207, 219, 244, 0.72);
}

#screen-auth .grid-2 > .card:first-child .btn-primary,
#screen-auth .grid-2 > .card:first-child .btn-outline {
    position: relative;
    z-index: 1;
}

#screen-auth .grid-2 > .card:first-child .form-group input {
    background: rgba(255, 255, 255, 0.03) !important;
}

#screen-auth .grid-2 > .card:first-child .btn-primary {
    border-radius: 18px;
    justify-content: center;
}

#screen-auth .grid-2 > .card:first-child::before {
    content: none;
}

#screen-auth .grid-2 > .card:first-child::after {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.34), transparent 70%);
    inset: auto -8% -18% auto;
    width: 360px;
    height: 360px;
}

.auth-marketing-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(580px, 74vh, 760px);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(121, 160, 255, 0.16);
    color: #dfe9ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.auth-metrics div {
    min-width: 0;
    text-align: center;
}

.auth-metrics strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.05;
    white-space: nowrap;
    color: #ffffff;
}

.auth-metrics span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(207, 219, 244, 0.62);
    text-align: center;
}

#screen-auth .grid-2 > .card:last-child {
    padding: clamp(38px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(10, 16, 31, 0.98), rgba(8, 12, 22, 0.98)) !important;
    border-color: rgba(121, 160, 255, 0.18);
}

#screen-auth .grid-2 > .card:last-child h2,
#screen-auth .grid-2 > .card:last-child p,
#screen-auth .grid-2 > .card:last-child label {
    color: #eef4ff !important;
}

.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: clamp(580px, 74vh, 760px);
}

.auth-eyebrow {
    display: inline-block;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(121, 160, 255, 0.22);
    color: #a7c2ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-form-panel h2 {
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 0.98;
    margin-bottom: 10px;
}

#screen-auth .grid-2 {
    align-items: stretch;
    gap: 24px;
    min-height: calc(100vh - 210px);
}

#screen-auth .grid-2 > .card {
    padding: clamp(34px, 3.5vw, 52px);
}

@media (max-width: 1100px) {
    #screen-auth .grid-2 {
        min-height: auto;
        gap: 18px;
    }

    .auth-marketing-panel,
    .auth-form-panel {
        min-height: auto;
    }

    #screen-auth .grid-2 > .card:first-child h2 {
        font-size: clamp(32px, 5.5vw, 48px);
        line-height: 0.96;
    }

    .auth-form-panel h2 {
        font-size: clamp(30px, 5.2vw, 42px);
        line-height: 1.02;
    }
}

.auth-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0 2px;
}

.auth-social-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 14px;
    border-color: rgba(121, 160, 255, 0.2);
    background: rgba(232, 237, 251, 0.96);
    color: #13213d;
    gap: 10px;
    font-weight: 700;
}

.auth-social-btn:hover {
    background: #dfe8fa;
    border-color: rgba(121, 160, 255, 0.34);
}

.auth-social-btn span {
    color: #13213d !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.social-icon-google {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%, #4285f4 100%);
    color: #ffffff;
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(66, 133, 244, 0.18);
}

.social-icon-apple {
    width: 24px;
    height: 24px;
    color: #111111;
}

.social-icon-apple svg {
    width: 22px;
    height: 22px;
    display: block;
}

.auth-social-btn span:last-child {
    font-size: 15px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
    color: rgba(200, 214, 242, 0.55);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(121, 160, 255, 0.2);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: -2px;
}

.auth-row a {
    color: #79a0ff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(224, 236, 255, 0.76);
    font-size: 13px;
    cursor: pointer;
}

.auth-remember input {
    width: 14px !important;
    height: 14px !important;
    margin: 0;
    accent-color: #2563eb;
}

.auth-submit {
    margin-top: 14px;
    border-radius: 16px;
    justify-content: center;
}

.auth-register-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: rgba(200, 214, 242, 0.75);
    font-size: 13px;
}

.auth-register-btn {
    width: auto;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(14, 23, 43, 0.88);
    color: #a7c2ff;
    border-color: rgba(121, 160, 255, 0.22);
}

.auth-register-btn:hover {
    background: rgba(37, 99, 235, 0.18);
}

.auth-footnote {
    margin-top: 16px;
    color: rgba(200, 214, 242, 0.34);
    letter-spacing: 0.2em;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
}

#screen-auth .grid-2 > .card:last-child input {
    background: rgba(6, 11, 22, 0.92) !important;
    border-color: rgba(121, 160, 255, 0.2) !important;
    color: #eef4ff !important;
}

#screen-auth .grid-2 > .card:last-child .btn-primary {
    border-radius: 16px;
}

#screen-auth .grid-2 > .card:last-child .btn-outline {
    border-color: rgba(121, 160, 255, 0.2);
    color: #a7c2ff;
    background: rgba(14, 23, 43, 0.88);
}

#screen-auth .grid-2 > .card:last-child .btn-outline:hover {
    background: rgba(37, 99, 235, 0.18);
}

#screen-auth .grid-2 > .card:last-child .auth-social-btn {
    background: #e8edfb !important;
    border-color: rgba(121, 160, 255, 0.28) !important;
    color: #13213d !important;
}

#screen-auth .grid-2 > .card:last-child .auth-social-btn:hover {
    background: #dfe8fa !important;
    border-color: rgba(121, 160, 255, 0.38) !important;
}

#screen-auth .grid-2 > .card:last-child .auth-social-btn span {
    color: #13213d !important;
    opacity: 1 !important;
}

#screen-auth .grid-2 > .card:last-child .btn-primary {
    box-shadow: 0 20px 38px rgba(58, 111, 255, 0.18);
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
    gap: 18px;
    margin: 18px 0 22px;
}

.product-showcase-main {
    min-height: 300px;
    padding: 28px;
    background:
        radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.28), transparent 22%),
        radial-gradient(circle at 70% 60%, rgba(174, 86, 171, 0.22), transparent 24%),
        linear-gradient(135deg, rgba(10, 18, 34, 0.98), rgba(8, 11, 19, 0.98)) !important;
}

.product-showcase-main h3 {
    font-size: clamp(28px, 3vw, 44px);
    margin: 10px 0 8px;
    max-width: 560px;
}

.showcase-kicker {
    color: #c58afc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.product-showcase-main p,
.product-showcase-side p {
    max-width: 560px;
    color: var(--muted);
}

.showcase-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 26px;
    color: #9ecbff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 700;
}

.showcase-price span {
    font-size: 16px;
    color: rgba(205, 214, 238, 0.48);
    text-decoration: line-through;
}

.product-showcase-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(11, 17, 33, 0.98), rgba(7, 10, 18, 0.98)) !important;
}

.showcase-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(136, 169, 255, 0.18);
    font-size: 20px;
}

.product-showcase-side h4 {
    font-size: 26px;
    margin: 18px 0 10px;
}

.bottom-nav {
    position: absolute;
    left: 22px;
    top: 94px;
    bottom: 22px;
    width: 220px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(7, 10, 18, 0.76);
    border: 1px solid rgba(121, 160, 255, 0.14);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    z-index: 6;
}

.nav-item {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
}

.nav-item span:first-child {
    font-size: 18px;
}

.nav-item span:last-child {
    font-size: 13px;
}

.bottom-nav::before {
    content: "TechNexus\APremium Tech Hub";
    white-space: pre;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.05;
    font-weight: 700;
    color: #e9efff;
    margin: 4px 8px 18px;
}

.bottom-nav::after {
    content: "Acceso rápido";
    display: block;
    margin: auto 8px 6px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

#searchInput,
#filterCategory,
#filterPrice,
#codigoCupon,
#codigoCuponCarrito,
.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    background: rgba(7, 11, 21, 0.9) !important;
    border: 1px solid rgba(121, 160, 255, 0.18) !important;
    border-radius: 18px !important;
    color: var(--text) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#searchInput::placeholder,
#filterCategory::placeholder,
#filterPrice::placeholder,
#codigoCupon::placeholder,
#codigoCuponCarrito::placeholder,
.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(180, 194, 222, 0.7) !important;
}

#searchInput:focus,
#filterCategory:focus,
#filterPrice:focus,
#codigoCupon:focus,
#codigoCuponCarrito:focus,
.form-input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.8) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 56%, var(--accent) 100%);
    color: #ffffff;
    border: 1px solid rgba(160, 186, 255, 0.22);
    border-radius: 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 16px 30px rgba(56, 96, 255, 0.26);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 34px rgba(56, 96, 255, 0.32);
}

.btn-outline {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(136, 169, 255, 0.18);
    border-radius: 18px;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(136, 169, 255, 0.34);
    transform: translateY(-1px);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13, 19, 36, 0.98), rgba(8, 11, 19, 0.96));
    border: 1px solid rgba(131, 166, 255, 0.16);
    border-radius: 24px;
    padding: 18px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(131, 166, 255, 0.3);
    box-shadow: 0 20px 48px rgba(13, 30, 68, 0.34);
}

.product-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 8px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: #9ad4ff;
    margin-bottom: 15px;
}

.btn-add {
    width: 100%;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(174, 86, 171, 0.12));
    border: 1px solid rgba(136, 169, 255, 0.24);
    color: #ffffff;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-add:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(174, 86, 171, 0.18));
    border-color: rgba(136, 169, 255, 0.34);
    transform: translateY(-1px);
}

.profile-hero,
.company-cta,
.company-header-card {
    border-radius: 28px !important;
}

.profile-hero {
    padding: 24px !important;
    background: linear-gradient(135deg, rgba(12, 19, 38, 0.96), rgba(7, 11, 21, 0.96)) !important;
    margin-bottom: 28px !important;
}

.profile-tabs {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(121, 160, 255, 0.16) !important;
}

.profile-tab {
    color: var(--muted) !important;
    border-radius: 14px;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.profile-tab.active {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: rgba(136, 169, 255, 0.2) !important;
    box-shadow: inset 0 0 0 1px rgba(136, 169, 255, 0.1);
}

.company-cta {
    background: linear-gradient(135deg, rgba(12, 17, 32, 0.96), rgba(8, 11, 19, 0.96)) !important;
    border: 1px solid rgba(121, 160, 255, 0.16) !important;
}

.company-header-card {
    background: linear-gradient(135deg, rgba(62, 92, 255, 0.38), rgba(18, 25, 42, 0.96)) !important;
    border: 1px solid rgba(136, 169, 255, 0.2) !important;
}

.company-header-card h3,
.company-header-card p,
.company-header-card span {
    color: #ffffff !important;
}

.company-cta p {
    color: var(--muted) !important;
}

#screen-empresa .grid-3 .card {
    min-height: 146px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#screen-empresa .grid-3 .card p {
    color: var(--muted) !important;
}

.cart-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(121, 160, 255, 0.14);
}

.cart-item-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
}

.cart-summary {
    border-radius: 24px;
    padding: 22px;
    margin-top: 22px;
    background: linear-gradient(180deg, rgba(11, 17, 31, 0.98), rgba(7, 10, 18, 0.98));
}

.summary-row,
.summary-total {
    color: var(--text);
}

.summary-row span:last-child,
.summary-total span:last-child {
    font-weight: 700;
}

.empty-cart {
    border-radius: 24px;
    padding: 54px 22px;
    background: linear-gradient(180deg, rgba(13, 19, 34, 0.94), rgba(8, 12, 20, 0.94));
    border: 1px dashed rgba(121, 160, 255, 0.18);
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: rgba(5, 9, 18, 0.84);
    border-top: 1px solid rgba(121, 160, 255, 0.14);
    backdrop-filter: blur(20px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.26);
}

.nav-item {
    min-width: 84px;
    padding: 10px 14px;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    color: #93a0bf;
}

.nav-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.04);
}

.nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.26), rgba(174, 86, 171, 0.2));
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
}

.cart-badge {
    background: linear-gradient(135deg, #2563eb, #ae56ab);
    color: #ffffff;
}

.alert {
    border-radius: 14px;
    border-left-width: 4px;
}

.modal-overlay,
.admin-modal {
    background: rgba(2, 5, 12, 0.76);
    backdrop-filter: blur(14px);
}

.modal-content,
.admin-modal-content {
    border-radius: 28px;
    border: 1px solid rgba(121, 160, 255, 0.2);
}

.notification {
    border-radius: 18px;
}

.points-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.82), rgba(18, 24, 47, 0.96));
    border-radius: 24px;
}

.points-total {
    color: #ffd96f;
}

.points-progress {
    background: rgba(255, 255, 255, 0.05);
}

.points-progress-bar {
    background: linear-gradient(90deg, #f9d65d, #61e0d2);
}

.points-item {
    background: rgba(7, 11, 22, 0.88);
    border: 1px solid rgba(121, 160, 255, 0.12);
}

.points-item-title {
    color: #ffffff;
}

.points-item-date {
    color: var(--muted);
}

.orden-item strong,
.orden-item span,
.orden-item p {
    color: #ffffff !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(7, 11, 21, 0.95);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.8), rgba(174, 86, 171, 0.82));
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(86, 198, 232, 0.9), rgba(37, 99, 235, 0.95));
}

::selection {
    background: rgba(37, 99, 235, 0.32);
    color: #ffffff;
}

#google_translate_element {
    right: 14px !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    width: 118px !important;
}

.goog-te-gadget .goog-te-combo {
    background: rgba(8, 12, 22, 0.88) !important;
    color: var(--text) !important;
    border: 1px solid rgba(121, 160, 255, 0.18) !important;
    border-radius: 16px !important;
    padding: 8px 10px !important;
    box-shadow: 0 10px 28px rgba(2, 5, 12, 0.26);
}

.goog-te-gadget .goog-te-combo:hover {
    border-color: rgba(136, 169, 255, 0.34) !important;
}

@media (max-width: 1024px) {
    .app-container {
        height: 100vh;
        min-height: 100vh;
    }

    .main-content {
        padding: 20px;
    }

    .app-header {
        padding: 22px 20px 16px;
    }

    .main-content {
        margin-left: 0;
    }

    .bottom-nav {
        position: static;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        align-items: center;
        border-radius: 0;
    }

    .bottom-nav::before,
    .bottom-nav::after {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .app-container {
        border-radius: 0;
        min-height: 100vh;
    }

    .app-header {
        display: block;
    }

    .app-header h1 {
        font-size: 26px;
    }

    .main-content {
        padding: 18px 16px 22px;
    }

    .hero-banner,
    .toolbar-panel,
    .profile-hero,
    .company-cta,
    .company-header-card,
    .card {
        border-radius: 22px !important;
    }

    .profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .bottom-nav {
        padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
        gap: 4px;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .nav-item {
        min-width: 74px;
        flex: 0 0 auto;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .showcase-price {
        font-size: 28px;
    }

    #screen-auth .grid-2 > .card:first-child {
        min-height: 420px;
        padding: 26px;
    }

    #screen-auth .auth-grid {
        padding: 12px;
    }

    .auth-social-row,
    .auth-row,
    .auth-register-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .auth-metrics {
        gap: 14px;
    }

    .auth-form-panel,
    .auth-marketing-panel {
        padding: 28px !important;
    }

    .bottom-nav {
        position: static;
        width: 100%;
        flex-direction: row;
        border-radius: 0;
    }

    .bottom-nav::before,
    .bottom-nav::after {
        display: none;
    }

    #google_translate_element {
        right: 10px !important;
        bottom: calc(92px + env(safe-area-inset-bottom)) !important;
        width: 104px !important;
    }
}

.redeem-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.redeem-card {
    background: #1E293B;
    border-radius: 24px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border: 1px solid #FFD700;
}

.redeem-options {
    margin: 20px 0;
}

.redeem-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #0F172A;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

.redeem-option:hover {
    border-color: #FFD700;
    background: #1E3A8A;
}

.redeem-option.selected {
    border-color: #FFD700;
    background: #1E3A8A;
}

.redeem-value {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
}

/* ========== PANEL DE ADMINISTRACION ========== */

.admin-only {
    display: none;
}

.admin-only.visible {
    display: block;
}

.admin-nav-btn {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white !important;
}

.admin-nav-btn:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.admin-panel {
    background: #0F172A;
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #EF4444;
}

.admin-panel h2 {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.admin-stat-card {
    background: #1E293B;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #2563EB;
}

.admin-stat-card .stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.admin-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
}

.admin-stat-card .stat-label {
    color: #94A3B8;
    font-size: 14px;
    margin-top: 5px;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.admin-btn {
    background: #1E293B;
    border: 1px solid #2563EB;
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.admin-btn-danger {
    background: #7F1D1D;
    border-color: #EF4444;
}

.admin-btn-danger:hover {
    background: #991B1B;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2563EB;
    color: #E0F2FE;
}

.admin-table th {
    background: #1E293B;
    color: #FFD700;
    font-weight: 600;
}

.admin-table tr:hover {
    background: #1E293B;
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.admin-modal-content {
    background: #1E293B;
    border-radius: 24px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 2px solid #EF4444;
}

.admin-modal-content h3 {
    color: white;
    margin-bottom: 20px;
}

.admin-modal-content .form-group {
    margin-bottom: 20px;
}

.admin-modal-content label {
    color: #E0F2FE;
    display: block;
    margin-bottom: 8px;
}

.admin-modal-content input,
.admin-modal-content select,
.admin-modal-content textarea {
    width: 100%;
    padding: 12px;
    background: #0F172A;
    border: 1px solid #2563EB;
    border-radius: 12px;
    color: white;
}

.admin-modal-content textarea {
    resize: vertical;
    min-height: 80px;
}

.productos-list {
    max-height: 400px;
    overflow-y: auto;
}

.producto-edit-item {
    background: #0F172A;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.producto-edit-info {
    flex: 1;
}

.producto-edit-info strong {
    color: white;
    display: block;
}

.producto-edit-info span {
    color: #94A3B8;
    font-size: 14px;
}

.producto-edit-actions {
    display: flex;
    gap: 10px;
}

.producto-edit-actions button {
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
}

.btn-edit {
    background: #2563EB;
    color: white;
    border: none;
}

.btn-delete {
    background: #7F1D1D;
    color: white;
    border: none;
}

.admin-chart {
    background: #1E293B;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.chart-bar {
    background: #2563EB;
    height: 30px;
    border-radius: 8px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: white;
    font-size: 12px;
}

@media (max-width: 900px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

/* ========== FUNCIONALIDADES AVANZADAS ========== */
.header-advanced-actions {
    position: absolute;
    right: 24px;
    top: 20px;
    display: flex;
    gap: 8px;
}

.mini-btn {
    position: relative;
    padding: 6px 10px;
    min-width: 42px;
}

.mini-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    align-items: center;
    justify-content: center;
}

.resenas-section {
    background: #0F172A;
    border: 1px solid #2563EB;
    border-radius: 16px;
    padding: 16px;
}

.resenas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.resena-item {
    background: #1E293B;
    border: 1px solid #2563EB;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

.resena-titulo {
    font-weight: 700;
    margin: 6px 0;
}

.resena-fecha {
    font-size: 12px;
    color: #94A3B8;
}

.resena-acciones {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.resena-acciones button {
    border: 1px solid #2563EB;
    background: #0F172A;
    color: white;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1E293B;
    border: 1px solid #2563EB;
    color: white;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 10px;
    z-index: 10001;
    min-width: 280px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.toast-pedido { border-left: 4px solid #3b82f6; }
.toast-oferta { border-left: 4px solid #f59e0b; }
.toast-sistema { border-left: 4px solid #8b5cf6; }

.noti-list {
    max-height: 420px;
    overflow-y: auto;
}

.noti-item {
    background: #0F172A;
    border: 1px solid #2563EB;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
}

.noti-item.no-leida {
    border-color: #f59e0b;
}

.noti-meta {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.wishlist-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #7F1D1D;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ofertas-relampago {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 1px solid #f59e0b;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
}

.ofertas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.oferta-card {
    background: #0F172A;
    border: 1px solid #f59e0b;
    border-radius: 14px;
    padding: 12px;
    position: relative;
}

.oferta-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: white;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
}

.precio-normal {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 13px;
}

.precio-oferta {
    color: #FDE047;
    font-size: 22px;
    font-weight: 700;
}

.stock-limitado {
    color: #fca5a5;
    font-size: 12px;
    margin: 6px 0;
}

.contador {
    font-family: Consolas, monospace;
    margin-bottom: 8px;
    color: #93C5FD;
}

.chat-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 340px;
    max-width: 90vw;
    background: #0F172A;
    border: 1px solid #2563EB;
    border-radius: 16px;
    z-index: 10002;
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #1E293B;
}

.chat-header button {
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
}

.chat-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
}

.chat-message {
    margin-bottom: 8px;
    border-radius: 10px;
    padding: 8px;
    background: #1E293B;
}

.chat-message.soporte {
    border-left: 3px solid #10b981;
}

.chat-message.usuario {
    border-left: 3px solid #3b82f6;
}

.chat-usuario {
    font-size: 12px;
    color: #93C5FD;
}

.chat-hora {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 4px;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #2563EB;
}

.chat-input input {
    flex: 1;
    background: #1E293B;
    color: white;
    border: 1px solid #2563EB;
    border-radius: 10px;
    padding: 8px;
}

.chat-input button {
    background: #2563EB;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.newsletter-box {
    margin-top: 20px;
    background: linear-gradient(180deg, rgba(11, 17, 33, 0.96), rgba(7, 10, 18, 0.96));
    border: 1px solid rgba(121, 160, 255, 0.16);
    border-radius: 24px;
    padding: 18px;
    font-family: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.newsletter-title {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #eef4ff;
    letter-spacing: -0.03em;
}

.newsletter-text {
    margin: 6px 0 12px;
    color: #9ca9c8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 180px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(121, 160, 255, 0.18);
    background: rgba(7, 11, 21, 0.9);
    color: #eef4ff;
    font-family: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.newsletter-input::placeholder {
    color: rgba(180, 194, 222, 0.7);
}

.newsletter-button {
    margin: 0;
    width: auto;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .header-advanced-actions {
        position: static;
        margin-top: 10px;
    }
}