/* Only User. Objects share the food artwork style; no glossy tile or glyph fallback. */
html[data-yovoy-app="user"] :where(.yovoy-illustrated-icon, .taxonomy-icon-3d.has-image) {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--illustrated-icon-size, 48px);
  height: var(--illustrated-icon-size, 48px);
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  overflow: visible;
}
html[data-yovoy-app="user"] .yovoy-illustrated-icon::before,
html[data-yovoy-app="user"] .yovoy-illustrated-icon::after,
html[data-yovoy-app="user"] .taxonomy-icon-3d.has-image::before,
html[data-yovoy-app="user"] .taxonomy-icon-3d.has-image::after { display: none !important; content: none !important; }
html[data-yovoy-app="user"] .yovoy-illustrated-icon > img,
html[data-yovoy-app="user"] .taxonomy-icon-3d.has-image > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  transform: none !important;
  user-select: none;
}
html[data-yovoy-app="user"] .subcategory-tile { min-width: 0; }
html[data-yovoy-app="user"] .subcategory-tile .subcategory-title { overflow-wrap: anywhere; }
html[data-yovoy-app="user"] .category-strip .category-icon-3d { width: 100%; height: 100%; }
html[data-yovoy-app="user"] .food-business-placeholder { padding: 10px; }
html[data-yovoy-app="user"] .food-business-placeholder .food-business-fallback { width: 100%; height: 100%; }
html[data-yovoy-app="user"] .user-service-card-media.has-taxonomy-icon,
html[data-yovoy-app="user"] .user-service-profile-photo.has-taxonomy-icon,
html[data-yovoy-app="user"] .user-service-card-offering-media.has-taxonomy-icon,
html[data-yovoy-app="user"] .user-service-offering-media.has-taxonomy-icon,
html[data-yovoy-app="user"] .user-service-offering-option-media.has-taxonomy-icon {
  border-color: #e9edf1;
  background: #f6f9ff;
  box-shadow: none;
}

/* Preserve labels, focus, events and small universal controls; replace pictograms only. */
html[data-yovoy-app="user"] .bi:is(.bi-house,.bi-house-fill,.bi-house-door-fill) { --user-object: url('illustrated-icons/home.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-heart,.bi-heart-fill,.bi-chat-heart-fill,.bi-person-hearts) { --user-object: url('illustrated-icons/heart.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-geo-alt,.bi-geo-alt-fill,.bi-pin-map-fill,.bi-map,.bi-map-fill,.bi-crosshair,.bi-compass,.bi-compass-fill) { --user-object: url('illustrated-icons/pin.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-person,.bi-person-fill,.bi-person-badge,.bi-person-badge-fill,.bi-person-plus,.bi-person-check-fill,.bi-person-workspace,.bi-people-fill) { --user-object: url('illustrated-icons/person.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-gift,.bi-gift-fill,.bi-tags-fill,.bi-tag-fill,.bi-ticket-perforated-fill,.bi-stars) { --user-object: url('illustrated-icons/gift.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-bell,.bi-bell-fill) { --user-object: url('illustrated-icons/bell.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-bag,.bi-bag-check,.bi-bag-check-fill,.bi-bag-plus-fill,.bi-bag-heart-fill,.bi-receipt,.bi-receipt-cutoff,.bi-file-earmark-text,.bi-file-earmark-text-fill,.bi-clipboard2-check-fill,.bi-card-checklist) { --user-object: url('illustrated-icons/order-bag.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-delivery-motorcycle,.bi-scooter,.bi-truck,.bi-truck-front-fill) { --user-object: url('illustrated-icons/courier.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-tools,.bi-wrench-adjustable-circle-fill,.bi-hammer,.bi-scissors,.bi-gear-fill) { --user-object: url('illustrated-icons/tools.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-shop,.bi-shop-window,.bi-buildings) { --user-object: url('illustrated-icons/shop-menu.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-award,.bi-trophy,.bi-trophy-fill,.bi-shield-check,.bi-check2-shield) { --user-object: url('illustrated-icons/license.webp'); }
html[data-yovoy-app="user"] .bi.bi-search { --user-object: url('illustrated-icons/search.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-basket2-fill,.bi-basket-fill,.bi-cart4) { --user-object: url('illustrated-icons/basket.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-box-seam-fill,.bi-send-fill,.bi-send-check-fill,.bi-signpost-split,.bi-signpost-split-fill,.bi-inbox-fill) { --user-object: url('illustrated-icons/parcel.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-grid,.bi-grid-fill,.bi-grid-3x3-gap-fill,.bi-grid-1x2-fill) { --user-object: url('category-icons-3d/other.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-briefcase-fill,.bi-person-vcard-fill) { --user-object: url('category-icons-3d/professional-services.webp'); }
html[data-yovoy-app="user"] .bi:is(.bi-cup-hot,.bi-cup-hot-fill,.bi-cup-fill) { --user-object: url('illustrated-icons/coffee.webp'); }

html[data-yovoy-app="user"] .bi:is(
 .bi-house,.bi-house-fill,.bi-house-door-fill,.bi-heart,.bi-heart-fill,.bi-chat-heart-fill,.bi-person-hearts,
 .bi-geo-alt,.bi-geo-alt-fill,.bi-pin-map-fill,.bi-map,.bi-map-fill,.bi-crosshair,.bi-compass,.bi-compass-fill,
 .bi-person,.bi-person-fill,.bi-person-badge,.bi-person-badge-fill,.bi-person-plus,.bi-person-check-fill,.bi-person-workspace,.bi-people-fill,
 .bi-gift,.bi-gift-fill,.bi-tags-fill,.bi-tag-fill,.bi-ticket-perforated-fill,.bi-stars,.bi-bell,.bi-bell-fill,
 .bi-bag,.bi-bag-check,.bi-bag-check-fill,.bi-bag-plus-fill,.bi-bag-heart-fill,.bi-receipt,.bi-receipt-cutoff,.bi-file-earmark-text,.bi-file-earmark-text-fill,.bi-clipboard2-check-fill,.bi-card-checklist,
 .bi-delivery-motorcycle,.bi-scooter,.bi-truck,.bi-truck-front-fill,.bi-tools,.bi-wrench-adjustable-circle-fill,.bi-hammer,.bi-scissors,.bi-gear-fill,
 .bi-shop,.bi-shop-window,.bi-buildings,.bi-award,.bi-trophy,.bi-trophy-fill,.bi-shield-check,.bi-check2-shield,.bi-search,
 .bi-basket2-fill,.bi-basket-fill,.bi-cart4,.bi-box-seam-fill,.bi-send-fill,.bi-send-check-fill,.bi-signpost-split,.bi-signpost-split-fill,.bi-inbox-fill,
 .bi-grid,.bi-grid-fill,.bi-grid-3x3-gap-fill,.bi-grid-1x2-fill,.bi-briefcase-fill,.bi-person-vcard-fill,.bi-cup-hot,.bi-cup-hot-fill,.bi-cup-fill
)::before {
  display: inline-block;
  width: 1.24em;
  height: 1.24em;
  content: "" !important;
  vertical-align: -.2em;
  background: var(--user-object) center / contain no-repeat;
  font-size: inherit;
  filter: none;
  transform: none;
}
html[data-yovoy-app="user"] .bottom-nav .bi::before { width: 1.45em; height: 1.45em; }
html[data-yovoy-app="user"] .bottom-nav .yovoy-illustrated-icon { width: 32px; height: 32px; }
html[data-yovoy-app="user"] .topbar .bi::before { width: 1.35em; height: 1.35em; }
html[data-yovoy-app="user"] .bi.bi-delivery-motorcycle {
  width: auto;
  height: auto;
  background: transparent;
  mask: none;
  -webkit-mask: none;
}
html[data-yovoy-app="user"] .bi.bi-delivery-motorcycle::before { display: inline-block !important; }
html[data-yovoy-app="user"] .user-entry-option-icon { background: transparent; }
html[data-yovoy-app="user"] .user-entry-option-icon .bi::before { width: 1.8em; height: 1.8em; }
html[data-yovoy-app="user"] #view-drivers .delivery-mode-selector > button > i {
  background: transparent;
  font-size: 30px;
}
@media (prefers-reduced-motion: reduce) {
  html[data-yovoy-app="user"] .yovoy-illustrated-icon,
  html[data-yovoy-app="user"] .yovoy-illustrated-icon > img { animation: none; transition: none; }
}

/* Menús con imágenes propias: independientes de fuentes y pseudoelementos. */
html[data-yovoy-app="user"] .bi:is(.bi-tags-fill,.bi-tag-fill) { --user-object: url('illustrated-icons/promotions.webp'); }
html[data-yovoy-app="user"] .user-menu-icon { display: block; flex: 0 0 auto; width: 32px; height: 32px; max-width: 100%; object-fit: contain; filter: none; pointer-events: none; }
html[data-yovoy-app="user"] .topbar-actions .user-menu-icon { width: 28px; height: 28px; max-width: 100%; }
html[data-yovoy-app="user"] #bottom-nav > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
html[data-yovoy-app="user"] #bottom-nav > button.d-none, html[data-yovoy-app="user"] #bottom-nav > button[hidden] { display: none !important; }
html[data-yovoy-app="user"] #bottom-nav .user-menu-icon { width: 32px; height: 32px; margin: 0; }
html[data-yovoy-app="user"] .user-entry-option-icon .user-menu-icon { width: 100%; height: 100%; }
@media (max-width: 360px) {
  html[data-yovoy-app="user"] .topbar-actions .user-menu-icon { width: 24px; height: 24px; }
  html[data-yovoy-app="user"] #bottom-nav .user-menu-icon { width: 29px; height: 29px; }
}

/* El aro animado del último botón sobresalía del viewport a 320px. */
html[data-yovoy-app="user"] .topbar .user-license-button::after { display: none; animation: none; }
