.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  line-height: 1.4em;
  color: #222;
  text-decoration: none;
}
.product-name:hover {
  color: var(--secondary-blue);
  text-decoration: none;
}
.card-body > a:first-child {
  color: #222;
  transition: color 0.3s ease;
}
.card-body > a:first-child:hover {
  color: var(--secondary-blue);
}
.special-border {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  z-index: 0;
}

.special-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(120deg, #007bff, #00e0ff, #007bff);
  background-size: 200% 200%;
  animation: borderFlow 3s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.catalog-section {
  position: relative;
  overflow: hidden;
}

.catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--secondary-blue);
  color: var(--secondary-blue);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.catalog-nav:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}
.catalog-prev {
  left: 0;
}
.catalog-next {
  right: 0;
}
@media (max-width: 991px) {
  .catalog-prev {
    left: 4px;
  }
  .catalog-next {
    right: 4px;
  }
  .catalog-nav {
    width: 36px;
    height: 36px;
    border-width: 1.5px;
  }
}
@media (max-width: 576px) {
  .catalog-prev {
    left: 2px;
  }
  .catalog-next {
    right: 2px;
  }
  .catalog-nav {
    width: 32px;
    height: 32px;
  }
}
