body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f4f8;
  margin: 0;
  padding: 20px;
}

.shop-heading {
  text-align: center;
  margin: 10px 0 10px; /* Reduced top and bottom space */
  font-size: 20px;      /* Smaller font size */
  color: #222;
  font-weight: 600;
}
.heading-line {
  width: 60px;
  height: 3px;
  background: #ff9900;
  margin: 8px auto 16px;
  border: none;
  border-radius: 3px;
}


.search-bar {
  text-align: center;
  margin-bottom: 15px;
}

.search-bar input {
  width: 80%;
  max-width: 400px;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 15px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 10px;
}

.product-card {
  flex: 0 0 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.product-info {
  padding: 12px;
}

.product-info h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.product-info p {
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-info a {
  background: #ff9900;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  text-align: center;
  transition: background 0.3s ease;
}

.product-info a:hover {
  background: #e58200;
}

.footer {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #888;
}

/* Category slider */
.category-slider {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 10px 8px;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.category-btn {
  flex: 0 0 auto;
  text-align: center;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 70px;
  white-space: nowrap;
}

.category-btn img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: white;
  padding: 4px;
  margin-bottom: 4px;
  transition: border 0.2s ease;
}

.category-btn p {
  font-size: 12px;
  color: #444;
  margin: 0;
  line-height: 1;
}

.category-btn:hover img,
.category-btn.active img {
  border-color: #ff9900;
}
.badge {
  display: inline-block;
  background: #ffe1b3;
  color: #b25900;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: bold;
}

.price {
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
}

.no-results {
  font-size: 16px;
  color: #666;
  text-align: center;
  padding: 40px 0;
}
.shop-container {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-btn {
  background: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.scroll-btn:hover {
  background: #f0f0f0;
}

.scroll-btn.left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.scroll-btn.right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}
