.container-map {
  background: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 900px;
  margin: auto;
  display: flex;
  gap: 20px;
}
.map {
  display: grid;
  grid-template-columns: repeat(13, 6.5%);
  grid-auto-rows: 50px;
  gap: 10px;
}
.stall {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  text-align: center;
  color: white;
  cursor: pointer;
  line-height: 16px;
  font-size: 12px;
  padding: 3px;
}
.span-2 {
  grid-row: span 2; /* ให้กิน 2 แถว */
  background: blue; /* แยกสีให้เห็นชัด */
}
.span-col-2 {
  grid-column: span 2; /* กิน 2 คอลัมน์ติดกัน */
  background: blue;
}
.available {
  background-color: #4caf50;
} /* ว่าง */
.selected {
  background-color: #fbc02d;
  color: #4f4b1d;
} /* กำลังเลือก */
.booked {
  background-color: #f44336;
  cursor: not-allowed;
} /* ราคง */
.reserved {
  background-color: #ffc107;
} /* กอนเลบ */
.text {
  background-color: transparent;
  color: #333;
  cursor: not-allowed;
}
.unavailable {
  background-color: #eee1b8;
  cursor: not-allowed;
}
.tree {
  background: url('../img/tree.png') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: not-allowed;
}
.details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stall-info,
.summary {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
}
.stall-info h2 {
  margin: 0;
}

.cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fbc02d;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}
.legend div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend .box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-block;
}
.vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}