/*
 * sheco-side-rail.css
 * Fixed vertical contact rail — global, all pages.
 */

.sheco-side-rail {
  position: fixed;
  right: 0;
  top: 75%;
  transform: translateY(-50%);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}

.sheco-side-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 54px;
  padding: 10px 6px;
  background: #1E6937;
  color: #fff;
  text-decoration: none;
  box-shadow: -2px 0 8px rgba(25, 44, 39, 0.12);
  transform-origin: right center;
}

.sheco-side-rail__item:first-child {
  border-radius: 8px 0 0 0;
}

.sheco-side-rail__item:last-child {
  border-radius: 0 0 0 8px;
}

.sheco-side-rail__item:hover {
  background: #2d8e50;
  color: #fff;
  transform: scaleX(1.12);
  transition: background 0.25s ease, transform 0.25s ease;
}

.sheco-side-rail__item--trial {
  background: linear-gradient(180deg, #FFC107, #FF6B35);
  color: #192c27;
}

.sheco-side-rail__item--trial:hover {
  background: linear-gradient(180deg, #ffd54f, #ff8555);
  color: #192c27;
}

.sheco-side-rail__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sheco-side-rail__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sheco-side-rail__item {
    width: 48px;
    padding: 8px 5px;
  }

  .sheco-side-rail__label {
    font-size: 9px;
  }

  .sheco-side-rail__icon svg {
    width: 14px;
    height: 14px;
  }
}
