
  /* ==========================================
     PARTSON — BACK TO TOP BRAND BUTTON
     Float izquierdo + mobile safe
  ========================================== */

  #partsonBackToTop {
    position: fixed !important;
    left: 28px !important;
    right: auto !important;
    bottom: 28px !important;
    z-index: 2147483647 !important;

    width: 54px !important;
    height: 54px !important;
    border-radius: 999px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #111111 !important;
    color: #ffd200 !important;

    border: 2px solid #ffd200 !important;

    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.24),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;

    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transform: translateY(14px) scale(0.94) !important;

    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease,
      background-color 0.22s ease,
      color 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease !important;
  }

  #partsonBackToTop.partson-backtop-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  #partsonBackToTop.partson-backtop-footer-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(14px) scale(0.94) !important;
  }

  @media (hover: hover) and (pointer: fine) {
    #partsonBackToTop:hover {
      background: #ffd200 !important;
      color: #111111 !important;
      border-color: #ffd200 !important;

      transform: translateY(-4px) scale(1.04) !important;

      box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 0 6px rgba(255, 210, 0, 0.16) !important;
    }
  }

  #partsonBackToTop:active {
    transform: translateY(0) scale(0.96) !important;
  }

  #partsonBackToTop svg {
    width: 23px !important;
    height: 23px !important;
    display: block !important;
    flex: 0 0 auto !important;
  }

  @media screen and (max-width: 767px) {
    #partsonBackToTop {
      left: 18px !important;
      right: auto !important;
      bottom: calc(84px + env(safe-area-inset-bottom)) !important;

      width: 46px !important;
      height: 46px !important;

      border-width: 2px !important;
    }

    #partsonBackToTop svg {
      width: 20px !important;
      height: 20px !important;
    }
  }

  @media screen and (max-width: 479px) {
    #partsonBackToTop {
      left: 16px !important;
      right: auto !important;
      bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    }
  }

  /* ==========================================
     PARTSON — CATALOG LOADING STATUS
     Cosmetic only: does not change CMS loading.
  ========================================== */

  #ps-global-search-root.is-catalog-loading .ps-gs-dot {
    animation: psCatalogPulse 1s ease-in-out infinite !important;
  }

  @keyframes psCatalogPulse {
    0%, 100% {
      opacity: 0.42;
      transform: scale(0.82);
    }
    50% {
      opacity: 1;
      transform: scale(1.18);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #ps-global-search-root.is-catalog-loading .ps-gs-dot {
      animation: none !important;
    }
  }

