.gallery-items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-items li {
  flex: 0 0 calc(25% - 16px); /* Desktop: คงที่ 4 คอลัมน์ */
  max-width: calc(25% - 16px);
  box-sizing: border-box;
  margin-left: 10px;
  margin-right: 10px;
}

@media (max-width: 992px) {
  .gallery-items li {
    flex: 0 0 calc(33.333% - 16px); /* Tablet: 3 คอลัมน์ */
    max-width: calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  .gallery-items li {
    flex: 0 0 calc(50% - 16px); /* Mobile: 2 คอลัมน์ */
    max-width: calc(50% - 16px);
  }
}

@media (max-width: 480px) {
  .gallery-items li {
    flex: 0 0 100%; /* จอเล็กมาก: 1 คอลัมน์ */
    max-width: 100%;
  }
}

/* รูป */
.gallery-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery-image:hover {
  transform: scale(1.05);
}

#chatbot-button {
  position: fixed;
  bottom: 80px;
  right: 5px;
  z-index: 9999;
}
.chat-btn {
  background: #007bff;
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.chat-btn:hover {
  background: #0056b3;
}

/* Chatbox */
#chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: none; /* ซ่อนตอนแรก */
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}
.chat-header {
  background: #007bff;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-body {
  padding: 15px;
  font-size: 14px;
  height: calc(100% - 50px);
  overflow-y: auto;
}
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
