/* WildDragon 2026 mobile bottom bar. */

@media (min-width: 768px) {
  html body .nasa-bottom-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  @supports selector(body:has(*)) {
    html body:has(.nasa-bottom-bar.nasa-active) {
      padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    }
  }

  html body .nasa-bottom-bar,
  html body .nasa-bottom-bar.nasa-transition,
  html body .nasa-bottom-bar.wd-bottom-bar-footer-placed {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100900 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 5px max(8px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(29, 24, 42, 0.12) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 -8px 24px rgba(25, 20, 35, 0.12) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    overflow: visible !important;
    transform: translate3d(0, 100%, 0) !important;
    transition:
      transform 220ms ease,
      opacity 180ms ease,
      visibility 180ms ease !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    contain: layout style paint !important;
  }

  html body .nasa-bottom-bar.nasa-active,
  html body .nasa-bottom-bar.wd-bottom-bar-footer-placed.nasa-active {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
  }

  html body .nasa-bottom-bar:empty {
    display: none !important;
  }

  html body .nasa-bottom-bar *,
  html body .nasa-bottom-bar *::before,
  html body .nasa-bottom-bar *::after {
    box-sizing: border-box !important;
  }

  html body .nasa-bottom-bar ul,
  html body .nasa-bottom-bar ol,
  html body .nasa-bottom-bar li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  html body .nasa-bottom-bar a,
  html body .nasa-bottom-bar a:hover,
  html body .nasa-bottom-bar a:focus,
  html body .nasa-bottom-bar a:visited {
    color: inherit !important;
    text-decoration: none !important;
  }

  html body .nasa-bottom-bar .hidden-tag:not(.nasa-active):not(.nasa-show),
  html body .nasa-bottom-bar .nasa-bottom-bar-icons > li.hidden-tag:not(.nasa-active):not(.nasa-show) {
    display: none !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons.nasa-1-columns {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons.nasa-2-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons.nasa-3-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons.nasa-4-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons > li {
    position: relative !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 62px !important;
    text-align: center !important;
  }

  html body .nasa-bottom-bar .nasa-bot-icons {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 100% !important;
    height: 62px !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 5px 4px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #2f3037 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    transform: translateZ(0) !important;
    transition:
      transform 150ms ease,
      color 150ms ease,
      background-color 150ms ease !important;
  }

  html body .nasa-bottom-bar .nasa-bot-icons:hover,
  html body .nasa-bottom-bar .nasa-bot-icons:focus-visible {
    background: #f7f4fc !important;
    color: #5f25c8 !important;
    outline: none !important;
  }

  html body .nasa-bottom-bar .nasa-bot-icons:active {
    transform: translate3d(0, 1px, 0) scale(0.98) !important;
  }

  html body .nasa-bottom-bar .nasa-bot-icons svg,
  html body .nasa-bottom-bar .nasa-bot-icons .nasa-icon {
    display: block !important;
    flex: 0 0 auto !important;
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
    margin: 0 !important;
    color: currentColor !important;
    fill: currentColor !important;
    filter: none !important;
  }

  html body .nasa-bottom-bar .nasa-bottom-bar-icons .wishlist-link,
  html body .nasa-bottom-bar .nasa-bottom-bar-icons .wishlist-link:not(.botbar-wishlist-link),
  html body .nasa-bottom-bar .nasa-bottom-bar-icons .icon-text.hidden-tag {
    display: none !important;
  }

  html body .nasa-bottom-bar .nasa-mini-number,
  html body .nasa-bottom-bar .nasa-wishlist-count {
    position: absolute !important;
    top: 6px !important;
    right: calc(50% - 21px) !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #16a36f !important;
    color: #fff !important;
    box-shadow: 0 5px 10px rgba(22, 163, 111, 0.28) !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  html body .nasa-bottom-bar .nasa-mini-number[hidden],
  html body .nasa-bottom-bar .nasa-wishlist-count[hidden],
  html body .nasa-bottom-bar .nasa-mini-number.nasa-product-empty,
  html body .nasa-bottom-bar .nasa-wishlist-count.nasa-product-empty {
    display: none !important;
  }

  html body .nasa-bottom-bar + .nasa-bottom-bar {
    display: none !important;
  }

  body.nasa-filter-open .nasa-bottom-bar,
  body.m-ovhd .nasa-bottom-bar {
    pointer-events: none !important;
  }
}

@media (max-width: 360px) {
  html body .nasa-bottom-bar .nasa-bot-icons {
    font-size: 11px !important;
  }

  html body .nasa-bottom-bar .nasa-bot-icons svg,
  html body .nasa-bottom-bar .nasa-bot-icons .nasa-icon {
    width: 23px !important;
    height: 23px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .nasa-bottom-bar,
  html body .nasa-bottom-bar *,
  html body .nasa-bottom-bar *::before,
  html body .nasa-bottom-bar *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
