
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff !important;
  font-family: "Noto Sans Lao", "Poppins", sans-serif !important;
}

.form-body {
  margin: 0;
  padding: 0;
  padding-top: 0px;
  padding-bottom: 80px;
  background-color: transparent !important;
}

a {
  text-decoration: none !important;
  color: inherit;
}


section {
  padding: 0 !important;
  margin: 0 !important;
  background-color: transparent !important;
}

section:nth-child(odd),
section:nth-child(even) {
  background-color: transparent !important;
}

section h1, .heading-title, .heading-description, .heading {
  display: none !important;
}

.menu-item {
  padding: 5px !important; /* ໄລຍະຫ່າງລະຫວ່າງກ່ອງ */
}

.menu-card {
  background-color: #ffffff !important;
  
  overflow: hidden;
  border: 1px solid #eaeaea !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06) !important;
}

/* 📸 ຮູບພາບ 1:1 */
.img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; 
  background-color: #f8f9fa;
}

.menu-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 8px !important; /* ຫຼຸດ Padding ໃຫ້ຂໍ້ມູນຂຍັບຂຶ້ນໃກ້ກັນ */
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: none !important;
  background-color: #ffffff !important;
}

/* ຊື່ສິນຄ້າ 1 ແຖວ ຫຼື 2 ແຖວແບບກະທັດຮັດ */
.product-name {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #212121 !important;
  line-height: 1.3 !important;
  max-height: 34px; 
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 4px 0 !important; /* ຫຼຸດ margin ດ້ານລຸ່ມລົງ */
  text-align: left !important;
}

/* 🔥 ກ່ອງຈັດວາງ ລາຄາ ແລະ ຂາຍແລ້ວ ໃຫ້ຢູ່ແຖວດຽວກັນ ແລະ ຕິດຊື່ສິນຄ້າ */
.info-container {
  margin-top: 0px !important; /* ເອົາ margin ດັນອອກ ເພື່ອໃຫ້ຕິດກັບຊື່ສິນຄ້າ */
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; /* ແຍກລາຄາໄວ້ຊ້າຍ ຍອດຂາຍໄວ້ຂວາ */
  flex-wrap: nowrap !important;
  width: 100% !important;
  padding-top: 2px;
}

/* ລາຄາສິນຄ້າ (ຊ້າຍ) */
.card-text {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ff471a !important; 
  margin: 0 !important;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.card-text span {
  font-size: 11px !important;
  font-weight: 500 !important;
}

/* ຈຳນວນການຂາຍ (ຂວາ - ຢູ່ແຖວດຽວກັນກັບລາຄາ) */
.sold-text {
  font-size: 10px !important;
  color: #888888 !important;
  margin: 0 !important;
  text-align: right !important;
  white-space: nowrap;
  padding-left: 5px;
}
/* ບັງຄັບກ່ອງແຊັດໃຫ້ລອຍຢູ່ເທິງສຸດສະເໝີ ແລະ ບໍ່ຖືກບັງດ້ວຍ CSS ອື່ນ */
#chatWidget, .chat-premium-box {
    z-index: 9999999 !important;
    position: fixed !important;
    display: none; /* ໃຫ້ JavaScript ເປັນໂຕປ່ຽນເປັນ flex */
}

/* ບັງຄັບປຸ່ມເປີດແຊັດ (ປຸ່ມລອຍ) */
#openChatBtn, .chat-premium-float-btn {
    z-index: 9999998 !important;
}
/* 🚫 ເອົາ Overlay ເຊັກສິນຄ້າໝົດອອກ */
.sold-out-overlay {
  display: none !important;
}

.button-container {
  display: none !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 576px) {
  .menu-item {
    padding: 3px !important;
  }
  .product-name {
    font-size: 12px !important;
    max-height: 32px;
    margin-bottom: 2px !important;
  }
  .card-text {
    font-size: 13px !important;
  }
  .sold-text {
    font-size: 9px !important;
  }
}
