.custom-product-page {
  padding: 20px;
  gap: 30px;
  background-color: #f6f6f6;
}

.category-list {
  padding-right: 20px;
}

.category-list h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.custom-product-price {
  color: #000;
}
.category-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item {
  margin-bottom: 10px;
}

.category-header-custom {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.category-name {
  font-weight: 800;
  color: #333;
  font-size: 14px;
}

.toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.toggle-icon::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-70%) rotate(45deg);
}

.category-header-custom.active .toggle-icon::before {
  transform: translateY(-30%) rotate(-135deg);
}

.category-products {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out,
    transform 0.3s ease-out;
  opacity: 0;
  visibility: hidden;
  background: #f6f6f6;
  transform: translateY(-10px);
  padding: 0;
}

.category-products.active {
  max-height: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: max-height 0.5s ease-in, opacity 0.3s ease-in,
    transform 0.3s ease-in;
}

.products-custom.row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  font-family: "Kanit";
}

.col-custom-md-4.col-custom-sm-6.mb-4 {
  width: 100%;
  margin: 0;
}

.product-title-custom {
  margin-bottom: 1px;
  color: black;
  font-weight: 500;
}
.product-title-custom a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.price {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  margin-left: 10px;
}

.product-actions {
  margin-top: 15px;
}

.custom-product-card {
  background-color: white;
  padding: 15px;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card-link {
  color: black;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-description-custom {
  font-weight: 300;
  color: #666;
  font-size: 0.9em;
  margin: 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.custom-product-price {
  margin-top: 10px;
  font-weight: 500;
}
