/* PrivilegeFans · estilo 2026 (capa final, se carga la última)
 * 1. Menos negrita: los pesos 800/900 se dibujan con Lato Bold en vez de Lato Black (más ligera y profesional), en toda la web.
 * 2. Iconos con color según su significado en la navegación y los menús (inicio azul, explorar verde azulado, mensajes violeta,
 *    notificaciones naranja, dinero verde, seguridad índigo, corona dorada, denuncias rojo…). Paleta sobria, con buen contraste.
 *    Lo seleccionado (.on/.active) y lo peligroso (.danger) conservan su estilo. Los iconos dentro de botones de color no se tocan. */

@font-face { font-family: Lato; src: url('../assets/fonts/Lato-Bold.ttf') format('truetype'); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --ic-blue: #2E6FD8; --ic-sky: #1690C9; --ic-teal: #0E9384; --ic-green: #23935A; --ic-amber: #C98A07; --ic-gold: #C29A1E;
  --ic-orange: #DD6B2B; --ic-rose: #EBB72A; --ic-red: #D23B3B; --ic-violet: #7A4BD6; --ic-indigo: #4C5BD4; --ic-pink: #EBB72A; --ic-slate: #5B6F86;
}

/* significado → color (solo define la variable; cada zona decide si la usa) */
i:is(.fa-house, .fa-circle-user, .fa-user, .fa-user-pen, .fa-id-card, .fa-address-card, .fa-circle-question, .fa-life-ring, .fa-book, .fa-book-open,
  .fa-rectangle-list, .fa-list, .fa-list-ul, .fa-newspaper, .fa-table-cells-large, .fa-at, .fa-circle-info) { --ic: var(--ic-blue); }
i:is(.fa-robot, .fa-compass, .fa-earth-europe, .fa-earth-americas, .fa-globe, .fa-language, .fa-headset, .fa-map-location-dot, .fa-location-dot, .fa-route) { --ic: var(--ic-teal); }
i:is(.fa-message, .fa-comment, .fa-comments, .fa-comment-dots, .fa-envelope, .fa-envelope-open, .fa-inbox, .fa-paper-plane, .fa-users, .fa-user-group,
  .fa-user-plus, .fa-people-group, .fa-user-check) { --ic: var(--ic-violet); }
i:is(.fa-bell, .fa-bullhorn, .fa-rocket, .fa-store, .fa-shop, .fa-bag-shopping, .fa-cart-shopping, .fa-gavel, .fa-tag, .fa-tags, .fa-fire, .fa-box) { --ic: var(--ic-orange); }
i:is(.fa-gem, .fa-calendar, .fa-calendar-days, .fa-calendar-check, .fa-clock, .fa-video, .fa-tower-broadcast, .fa-phone, .fa-phone-volume) { --ic: var(--ic-sky); }
i:is(.fa-wallet, .fa-credit-card, .fa-money-bill, .fa-money-bill-wave, .fa-money-bill-trend-up, .fa-sack-dollar, .fa-coins, .fa-building-columns, .fa-dollar-sign,
  .fa-receipt, .fa-chart-line, .fa-chart-column, .fa-chart-simple, .fa-chart-pie, .fa-piggy-bank, .fa-hand-holding-dollar, .fa-file-invoice-dollar) { --ic: var(--ic-green); }
i:is(.fa-crown, .fa-certificate, .fa-medal, .fa-award, .fa-trophy) { --ic: var(--ic-gold); }
i:is(.fa-star, .fa-lightbulb, .fa-wand-magic-sparkles, .fa-sparkles, .fa-note-sticky) { --ic: var(--ic-amber); }
i:is(.fa-heart, .fa-face-smile, .fa-face-grin-hearts, .fa-hand-holding-heart, .fa-ticket, .fa-ticket-simple, .fa-percent) { --ic: var(--ic-rose); }
i:is(.fa-camera, .fa-image, .fa-images, .fa-photo-film, .fa-film, .fa-clapperboard, .fa-music, .fa-microphone, .fa-palette, .fa-circle-play) { --ic: var(--ic-pink); }
i:is(.fa-lock, .fa-shield, .fa-shield-halved, .fa-user-shield, .fa-key, .fa-fingerprint, .fa-user-lock, .fa-eye-slash, .fa-hard-drive, .fa-database, .fa-id-badge) { --ic: var(--ic-indigo); }
i:is(.fa-flag, .fa-triangle-exclamation, .fa-ban, .fa-user-slash, .fa-user-xmark, .fa-trash, .fa-trash-can, .fa-circle-exclamation) { --ic: var(--ic-red); }
i:is(.fa-gear, .fa-gears, .fa-sliders, .fa-magnifying-glass, .fa-right-from-bracket, .fa-arrow-right-from-bracket, .fa-ellipsis, .fa-pen, .fa-pen-to-square,
  .fa-file-lines, .fa-file-import, .fa-download, .fa-eye, .fa-qrcode, .fa-link) { --ic: var(--ic-slate); }

/* zonas donde los iconos van en color */
html body .pfx-topbar :is(.top-action, .top-gear) > i,
html body .pfx-menu-item:not(.danger) > i,
html body .aju-nav-item:not(.on):not(.danger) i,
html body .perf-tab i,
html body .hc-tile:not(.on) i,
html body .nf-tab:not(.on) i,
html body .pfc-f:not(.on) i,
html body .adm-nav a:not(.on) i,
html body .mobile-nav button:not(.active) i,
html body .mobile-head-btn > i { color: var(--ic, currentColor) !important; }

/* la pestaña activa del perfil y el acceso activo de la cabecera siguen marcados por su subrayado; el icono no se apaga */
html body .pfx-topbar .top-action.active > i { filter: saturate(1.15); }

/* carrito en la cabecera (escritorio: junto a la lupa; móvil: junto al diamante): número rojo de productos; sin nada, solo el icono */
html body .pfx-topbar .top-cart { position: relative; }
html body .pfx-topbar .top-cart .badge.cart, html body .pfx-topbar .mobile-head-btn .badge.cart { position: absolute; top: 4px; right: 2px; left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #E0312D; color: #fff; border: 2px solid #fff; font: 800 10px/14px Lato, Arial, sans-serif; display: grid; place-items: center; pointer-events: none; }
html body .pfx-topbar .badge.cart[hidden] { display: none; }
html body .pfx-topbar .top-cart > i, html body .pfx-topbar .mobile-head-btn[data-route="tienda/carrito"] > i { --ic: var(--ic-slate); }
/* menú principal: Tienda en verde azulado y Subastas en naranja (dos colores distintos) */
html body .pfx-topbar .top-action[data-route="tienda/explorar"] > i, html body .mobile-nav button[data-route="tienda/explorar"]:not(.active) i { --ic: var(--ic-teal); }
html body .pfx-topbar .top-action[data-route="subastas"] > i, html body .mobile-nav button[data-route="subastas"]:not(.active) i { --ic: var(--ic-orange); }
