    .search-box {
      position: relative;
      width: 100%;
      max-width: 300px;
    }
    .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 8px;
      max-height: 250px;
      overflow-y: auto;
      z-index: 10;
    }
    .search-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      cursor: pointer;
    }
    .search-item:hover {
      background: #f0f8ff;
    }
    .search-item img {
      width: 25px;
      height: 25px;
      object-fit: cover;
      border-radius: 4px;
    }

/* ปุ่ม pagination */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.pagination-controls button {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 22px;
  box-shadow: 0 3px 6px rgba(0, 119, 182, 0.3);
  transition: all 0.2s ease-in-out;
}

.pagination-controls button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0096c7, #005f73);
  box-shadow: 0 5px 10px rgba(0, 119, 182, 0.4);
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#pageInfo {
  font-weight: 600;
  color: #0077b6;
  font-size: 1rem;
}
/* ============================= */
/* Banner Slide Motion */
/* ============================= */
.banner-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

#bannerSlider {
  position: relative;
  width: 100%;
  aspect-ratio: 1116 / 279;
  overflow: hidden;
  border-radius: 20px;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}



/* ============================= */
/* Fade + Slide Motion Effect */
/* ============================= */
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.9s ease-in-out, opacity 0.9s ease-in-out;
}
.banner-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 3;
}
.banner-slide.prev {
  opacity: 0.8;
  transform: translateX(-20%);
  z-index: 2;
}
.banner-slide.next {
  opacity: 0.8;
  transform: translateX(20%);
  z-index: 1;
}

/* ============================= */
/* Progress Circle (Bottom Left) */
/* ============================= */
.banner-progress {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.banner-progress svg {
  width: 30px;
  height: 30px;
  transform: rotate(-90deg);
}
.banner-progress circle {
  fill: none;
  stroke: #00b8ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset linear;
}


/* ============================= */
/* ปุ่มซ้าย-ขวา */
/* ============================= */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.4);
  color: #0078ff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.banner-nav.left { left: 15px; }
.banner-nav.right { right: 15px; }

.banner-nav:hover {
  background: #0078ff;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0,120,255,0.5);
}

/* ============================= */
/* จุดบอกตำแหน่ง */
/* ============================= */
.banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.banner-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dots .dot.active {
  background: #0078ff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0,120,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .banner-dots .dot {
    width: 8px;
    height: 8px;
  }
}




/* กำหนดจำนวนสินค้าแต่ละแถวแบบ responsive */
/*.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}*/
