.psc-store-tabs {
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef2f6;
  backdrop-filter: blur(12px);
}

.admin-bar .psc-store-tabs {
  top: 32px;
}

.psc-store-tabs__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px;
  min-height: 52px;
  align-items: stretch;
}

.psc-store-tabs__inner::-webkit-scrollbar {
  display: none;
}

.psc-store-tabs button.psc-store-tabs__btn,
.psc-store-tabs .psc-store-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #8b95a1 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  letter-spacing: -0.25px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: color .18s ease, opacity .18s ease !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  background-image: none !important;
  outline: none !important;
  min-width: 0 !important;
  vertical-align: middle !important;
}

.psc-store-tabs button.psc-store-tabs__btn::after,
.psc-store-tabs .psc-store-tabs__btn::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transition: background .18s ease, transform .18s ease;
  transform: scaleX(0.4);
}

.psc-store-tabs button.psc-store-tabs__btn:hover,
.psc-store-tabs button.psc-store-tabs__btn:focus,
.psc-store-tabs .psc-store-tabs__btn:hover,
.psc-store-tabs .psc-store-tabs__btn:focus {
  color: #333d4b !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.psc-store-tabs button.psc-store-tabs__btn.is-active,
.psc-store-tabs .psc-store-tabs__btn.is-active {
  color: #191f28 !important;
  font-weight: 800 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.psc-store-tabs button.psc-store-tabs__btn.is-active::after,
.psc-store-tabs .psc-store-tabs__btn.is-active::after {
  background: #224471;
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .psc-store-tabs__inner {
    min-height: 48px;
    padding: 0 10px;
  }

  .psc-store-tabs button.psc-store-tabs__btn,
  .psc-store-tabs .psc-store-tabs__btn {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  .psc-store-tabs button.psc-store-tabs__btn::after,
  .psc-store-tabs .psc-store-tabs__btn::after {
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 782px) {
  .admin-bar .psc-store-tabs {
    top: 46px;
  }
}
