.ps-mobile-dock {
  display: none;
}

@media (max-width: 767px) {
  .ps-mobile-dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }

  .ps-mobile-dock__bar {
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    max-width: 460px;
    margin: 0 auto;
    min-height: 56px;
    padding: 5px 10px;
    border-radius: 48px;
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px 6px rgba(16, 17, 19, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.55);
  }

  .ps-mobile-dock__item,
  .ps-mobile-dock button.floating-cart-button.ps-mobile-dock__cart {
    position: static;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #334155;
    box-shadow: none;
    text-decoration: none;
    font-family: "YekanBakhFaNum", Tahoma, sans-serif;
    cursor: pointer;
    transform: none;
    -webkit-tap-highlight-color: transparent;
  }

  .ps-mobile-dock__item:hover,
  .ps-mobile-dock__item:focus,
  .ps-mobile-dock__item:focus-visible,
  .ps-mobile-dock button.floating-cart-button.ps-mobile-dock__cart:hover,
  .ps-mobile-dock button.floating-cart-button.ps-mobile-dock__cart:focus {
    background: transparent !important;
    color: #13369d;
    box-shadow: none;
    transform: none;
    outline: none;
  }

  .ps-mobile-dock button.floating-cart-button.ps-mobile-dock__cart .material-symbols-outlined {
    color: inherit !important;
    font-size: 22px;
  }

  .ps-mobile-dock__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
  }

  .ps-mobile-dock__item .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
  }

  .ps-mobile-dock__custom-icon {
    width: 20px;
    height: 20px;
    display: block;
    background-color: currentColor;
    -webkit-mask: var(--ps-dock-icon) center / contain no-repeat;
    mask: var(--ps-dock-icon) center / contain no-repeat;
  }

  .ps-mobile-dock__label {
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
  }

  .ps-mobile-dock__item.is-active {
    color: #13369d;
  }

  .ps-mobile-dock__item.is-active .ps-mobile-dock__icon-wrap {
    background: rgba(19, 54, 157, 0.12);
  }

  .ps-mobile-dock__cart .ps-mobile-dock__badge,
  .ps-mobile-dock .floating-cart-badge,
  .ps-mobile-dock .ps-compare-badge {
    position: absolute;
    top: -3px;
    left: -4px;
    right: auto;
    width: 16px;
    min-width: 16px;
    height: 16px;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #e11d48;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1.5px #fff;
    box-sizing: border-box;
  }

  .ps-mobile-dock__cart .ps-mobile-dock__badge.is-visible,
  .ps-mobile-dock .floating-cart-badge.is-visible,
  .ps-mobile-dock .ps-compare-badge.is-visible,
  .ps-mobile-dock__cart .ps-mobile-dock__badge:not([hidden]),
  .ps-mobile-dock .floating-cart-badge:not([hidden]),
  .ps-mobile-dock .ps-compare-badge:not([hidden]) {
    display: inline-flex !important;
  }

  .ps-mobile-dock__cart .ps-mobile-dock__badge[hidden],
  .ps-mobile-dock .floating-cart-badge[hidden],
  .ps-mobile-dock .ps-compare-badge[hidden] {
    display: none !important;
  }
}
