
html,
body {
  touch-action: none; /* ปิดการสัมผัสสำหรับการซูม */
  user-select: none; /* ปิดการเลือกข้อความ */
  font-size: 14px;
  user-select: none; /* ปิดการเลือกข้อความ */
  -webkit-user-select: none; /* สำหรับเบราว์เซอร์ที่ใช้ WebKit เช่น Chrome และ Safari */
  -ms-user-select: none; /* สำหรับ Internet Explorer/Edge */
  -moz-user-select: none; /* สำหรับ Firefox */
  max-width: 1080px;
  min-height: 1920px;
  /* height: 100vh; */
  margin: 0 auto;
}

body{
  background-image: url("https://selfkiosk.safariworld.com/assets/images/bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

img {
  user-select: none;
  pointer-events: none;
}

.topbar {
  font-size: 14px;
}

.banner_display {
  height: 250px;
  width: 100%;
  object-fit: cover;
  background-color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  color: rgba(240, 248, 255, 0.535);
}

.quantity-badge-div{
  position: relative;
}

.quantity-badge {
  font-size: 16px;
  background-color: #FCAB08;
  color:#fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 3px;
  right: 3px;
  display: none;
}

.remove-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  color: white;
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  color: tomato;
  justify-content: center; /* จัดตำแหน่งในแนวนอน */
  align-items: center; /* จัดตำแหน่งในแนวตั้ง */
}

.tab-content {
  width: 100%;

}

.product-list {
  width: 85%;
  margin: 0 auto;
}


.card-img-top {
  width: 100% !important;

}


.card-footer {
  border-top: 0px solid;

  border-radius: 0 0 10px 10px;
}

.quantity {
  display: inline-block;
  min-width: 20px;
  text-align: center;
}

/* ลบเส้นขอบของแท็บ */
.custom-nav-tabs {
  border: none;
  width: 100%;
}

.custom-nav-tabs .nav-link {
  border: none; /* ลบเส้นขอบรอบแท็บ */
  color: #717171; /* ตั้งค่าสีตัวอักษรเป็นสีดำ */
  font-weight: bold; /* ทำให้ตัวอักษรดูชัดเจนขึ้น */
  font-size: 20px;
  border-radius: 50px;

}

/* สีเมื่อ hover */
.custom-nav-tabs .nav-link:hover {
  color: #dcb21c; /* สีตัวอักษรเมื่อ hover */

}

/* แท็บที่ active */
.custom-nav-tabs .nav-link.active {
  color: #dcb21c; /* สีตัวอักษรของแท็บที่เลือก */
  font-weight: bold;
  position: relative; /* ใช้เพื่อเพิ่มเส้นใต้ */
  border: none;
}

/* เส้นใต้เมื่อ active */
.custom-nav-tabs .nav-link.active::after {
  content: "";
  display: block;
  width: 100%; /* ความกว้างของเส้นใต้ */
  height: 3px; /* ความหนาของเส้นใต้ */
  position: absolute;
  bottom: 0; /* วางไว้ที่ขอบล่างของแท็บ */
  left: 0; /* เริ่มจากซ้าย */
}

.btn-checkout {
  min-height: 0px;
  border-radius: 35px;
  font-size: 36px;
  padding: 15px 60px;
  text-align: center;
  box-shadow: #0000006d 0px 5px 10px 0px;
}

.back-to-home-btn{
  border-radius: 35px;
  font-size: 36px;
  padding: 15px 60px;
  text-align: center;
}

.btn-clear {
  min-height: 0px;
  border-radius: 35px;
  font-size: 36px;
  padding: 15px 60px;
  text-align: center;
}

#cart-count {
  font-size: 0.5em; /* ขนาดตัวอักษรของ badge */

  text-align: center;
  color: #717171;
}

.text_category {
  margin-top: 15px;
  padding-top: 30px;
  border-top: #00000015 2px solid;
  padding-bottom: 20px;
  display: none;
}

.fixed-bottom {
  max-width: 1080px;
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  background-color: #d5d5d5a2;
  box-shadow: 0px -5px 10px 0px #00000015;
}

.mini-cart {
  width: 100%;
  margin: 0 auto;
}


#total-amount {
  font-weight: bold;
}

#countdown {
  font-size: 1rem;
  color: #ffffff;
  position: absolute;
  top: 50px;
  right: 30px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.card-items-list {
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-top: 20px;
  padding: 25px 10px;
  background-color: #ffffffa2;
  border-radius: 15px;
}

.card-items-list .items-img {
  width: 15%;
}

.card-items-list .items-img img {
  width: 100%;
}

.card-items-list .items-detail {
  width: 100%;
  padding: 0 20px;
  height: auto;
  display: flex;
  align-content: space-around;
  flex-direction: column;
  justify-content: space-between;
}

.card-items:hover{
  background-color: #f0f0f0;
  transform: scale(1.03); /* ขยายธงเล็กน้อย */
}

.payment_method{
  height: 350px;
  text-align: center;
  background-color: #ffffffa2;
  border-radius: 50px;
  display: flex; /* เปิดใช้งาน Flexbox */
  flex-direction: column;
  justify-content: center; /* จัดให้อยู่ตรงกลางแนวนอน */
  align-items: center; /* จัดให้อยู่ตรงกลางแนวตั้ง */
  font-size:  32px;
  margin-bottom: 20px;
}

.version{
  position: fixed;
  top: 15;
  left: 15;
  font-size: 10px;
  color: #ffffffa2;
}

.col-minicart{
  max-width: 170px;
  min-width: 170px;
}

#mini-cart-lists{
  position: fixed;
  bottom: 190px;
}
/* เปลี่ยนสีของ scrollbar */
#mini-cart-lists::-webkit-scrollbar {
  height: 5px; /* ความสูงของ scrollbar แนวนอน */
}

#mini-cart-lists::-webkit-scrollbar-track {
  background: #f1f1f1; /* สีพื้นหลังของ scrollbar */
}

#mini-cart-lists::-webkit-scrollbar-thumb {
  background: #ff9100; /* สี scrollbar */
  border-radius: 15px; /* เพิ่มความโค้งมนของ scrollbar */
}

#mini-cart-lists::-webkit-scrollbar-thumb:hover {
  background: #ff9100; /* สี scrollbar เมื่อ hover */
}

#mini-cart-lists{
  padding-bottom: 5px;
}

.language-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 1000;
  text-align: center;
  margin-top: 20px;
  background-color: #ffffffbe; /* สีพื้นหลัง */
  border: 2px solid #ffffff; /* ขอบสีน้ำเงิน */
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  color: #000;
}

.language-page{
  margin-top:20%;
}

.language-logo{
  width: 450px;
  height: 450px;
}

/* ส่วนเลือกภาษา */
.language-selection h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* ปุ่มเลือกภาษา */
.btn-language {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffffbe; /* สีพื้นหลัง */
  border: 2px solid #ffffff; /* ขอบสีน้ำเงิน */
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  height: 250px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* เพิ่มเงา */
  transition: all 0.3s ease; /* เอฟเฟกต์เวลา hover */
  cursor: pointer;
}

/* ธงและข้อความ */
.flag-icon {
  width: 150px;
  margin-bottom: 10px;
}

.btn-language span {
  font-size: 24px;
  color: #000;
}

/* เอฟเฟกต์ hover */
.btn-language:hover {
  background-color: #ffffff; /* เปลี่ยนพื้นหลัง */
  color: #000; /* เปลี่ยนสีข้อความ */
  transform: scale(1.05); /* ขยายขนาดเล็กน้อย */
}

.btn-language:hover span {
  color: #000;
}

.btn-language:hover .flag-icon {
  transform: scale(1.1); /* ขยายธงเล็กน้อย */
}

.product_des{
  background-color: #542c109f;
  width: 250px;
  margin: 0 auto;
  margin-top: -60px;
  padding-top:50px;
  color:#fff;
  padding-left: 15px;
  padding-right: 15px;
}

.ticket_name {
  font-size: 1em;
  font-weight: bold;
}

.cart_lists{
  width: 100%;
  max-height: 1350px;
  overflow: auto;
  padding: 10px;
}

/* เปลี่ยนสีของ scrollbar */
.cart_lists::-webkit-scrollbar {
  width: 15px; /* ความสูงของ scrollbar แนวนอน */
}

.cart_lists::-webkit-scrollbar-track {
  background: #f1f1f1; /* สีพื้นหลังของ scrollbar */
}

.cart_lists::-webkit-scrollbar-thumb {
  background: #ff9100; /* สี scrollbar */
  border-radius: 15px; /* เพิ่มความโค้งมนของ scrollbar */
}

.cart_lists::-webkit-scrollbar-thumb:hover {
  background: #ff9100; /* สี scrollbar เมื่อ hover */
}

.card-minicart{
  background-color: #ffffff60;
}


.divbox_remark {
  border: 2px solid red; /* กรอบสีแดง */
  padding: 10px; /* ระยะห่างด้านใน */
  background-color: #fff5f5; /* พื้นหลังชมพูอ่อน */
  color: #d80000; /* สีตัวอักษรแดงเข้ม */
  font-weight: bold; /* ตัวหนา */
  border-radius: 5px; /* มุมโค้งนิดๆ */
  margin-bottom: 20px;
  text-align: center;
}