/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 17 2025 | 13:12:32 */
.manual-product-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-item {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  padding: 8px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  transition: background 0.2s;
}

.product-item:hover {
  background: #e9e9e9;
}

.product-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
  flex-shrink: 0;
}

.product-item .title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}


/* === Kategori-scrollmeny === */
.category-scroll-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}

.category-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll-container::-webkit-scrollbar {
  display: none;
}

.category-scroll-container a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  background: #f3f3f3;
  padding: 20px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  width: 180px;
  min-width: 180px;
  height: 220px;
  box-sizing: border-box;
  transition: background 0.2s ease;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
  margin-right: 20px;
}

.category-scroll-container a img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.category-scroll-container a span {
  display: block;
  word-break: break-word;
  font-size: 15px;
  padding: 0 5px;
}

.category-scroll-container a:hover {
  background: #e0e0e0;
}

/* Pilar */
.scroll-arrow {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  z-index: 1;
}

/* Indikator */
.scroll-indicator {
  width: 100%;
  height: 4px;
  background: #eee;
  margin-top: 10px;
  position: relative;
}

.scroll-bar {
  height: 100%;
  width: 25%;
  background: #386641; /* grön */
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: left 0.3s ease, width 0.3s ease;
}

/* Mobilanpassning */
@media (max-width: 768px) {
  .category-scroll-container {
    gap: 15px;
    padding: 10px 10px;
  }

  .category-scroll-container a {
    width: 140px;
    min-width: 140px;
    height: auto;
    padding: 15px 10px;
  }

  .category-scroll-container a img {
    width: 100px;
    height: 100px;
  }

  .category-scroll-container a span {
    font-size: 14px;
    line-height: 1.3;
  }

  .scroll-arrow {
    font-size: 20px;
    padding: 5px;
  }

  .scroll-indicator {
    margin-top: 5px;
  }
}
