﻿.product-sidebar {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 10px 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(20, 40, 90, 0.14);
}

.product-sidebar li {
  position: relative;
  margin: 0;
  padding: 0;
}

.product-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.product-sidebar a:hover,
.product-sidebar a:focus-visible {
  background: #eef4ff;
  transform: scale(1.08);
  outline: none;
}

.product-sidebar a.active {
  background: #dfeaff;
  box-shadow: inset 0 0 0 2px #3385ff;
}

.product-sidebar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.product-sidebar a::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: #1f2a44;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.product-sidebar a:hover::after,
.product-sidebar a:focus-visible::after {
  opacity: 1;
}

@media (max-width: 1199px) {
  .product-sidebar {
    display: none;
  }
}
