.smart-carousel {
    position: relative;
    max-width: 1100px;
    margin: 20px auto;
    overflow: hidden;
  }
  
  .smart-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
  }
  
  .smart-carousel-item {
    flex: 0 0 auto;
    padding: 8px;
    box-sizing: border-box;
    max-width: 220px;
  }
  
  .smart-carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    cursor: pointer;
  }
  
  .smart-carousel-item img:hover {
    transform: scale(1.05);
  }
  
  .smart-carousel-prev,
  .smart-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
  }
  
  .smart-carousel-prev { left: 8px; }
  .smart-carousel-next { right: 8px; }
  
  @media (max-width: 768px) {
    .smart-carousel-item {
      max-width: 150px;
    }
    .smart-carousel-item img {
      max-height: 150px;
    }
  }
  