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

@media (max-width: 767px) {
  .ps-mobile-dock {
    position: fixed;
    z-index: 45;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    font-family:
      Inter,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Helvetica Neue",
      Arial,
      sans-serif;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  html.ps-dock-space body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.ps-mobile-dock--hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.ps-mobile-dock a.ps-mobile-dock__call,
.ps-mobile-dock a.ps-mobile-dock__calc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ps-mobile-dock a.ps-mobile-dock__call,
.ps-mobile-dock a.ps-mobile-dock__call:hover,
.ps-mobile-dock a.ps-mobile-dock__call:focus {
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  text-decoration: none;
}

.ps-mobile-dock a.ps-mobile-dock__calc,
.ps-mobile-dock a.ps-mobile-dock__calc:hover,
.ps-mobile-dock a.ps-mobile-dock__calc:focus {
  color: #fff;
  background: linear-gradient(90deg, rgb(34, 197, 94), rgb(22, 163, 74));
  border: 0;
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.22);
  text-decoration: none;
}

.ps-mobile-dock a.ps-mobile-dock__calc:active {
  background: linear-gradient(90deg, rgb(22, 163, 74), rgb(21, 128, 61));
}

.ps-mobile-dock a:focus-visible {
  outline: 2px solid rgb(34, 197, 94);
  outline-offset: 2px;
}

.ps-mobile-dock svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .ps-mobile-dock {
    transition: none;
  }
}
