:root {
  --primary: #052c65;
  --blue: #0d6efd;
  --warning: #fead00;
  --danger: #ff0000;
  --white: #fdfefe;
  --dark: #212529;
}

* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mitr";
}

/* สไตล์พื้นหลังแบบ Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 37, 41, 0.8); /* พื้นหลังสีดำโปร่งแสง */
  display: none; /* ซ่อนตอนเริ่ม */
  z-index: 1000;
}

/* สไตล์ Loader */
.loader {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 1s linear infinite;
}

.loader::before,
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #fff;
  animation: prixClipFix 2s linear infinite;
}

.loader::after {
  border-color: var(--blue);
  animation: prixClipFix 2s linear infinite, rotate 0.5s linear infinite reverse;
  inset: 6px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}
button.roberto-btn {
  padding: 15px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
}

button.roberto-btn:hover {
  padding: 15px;
  background: #002761;
  color: var(--white);
}

button.btn-default {
  padding: 5px 25px;
  background-color: var(--blue);
  color: var(--white);
}

button.btn-default:hover {
  background: #002761;
  color: var(--white);
}

section.bg-header {
  text-align: center;
  padding: 150px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

section.bg-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* เพิ่มความมืด */
  z-index: 1;
}

section.bg-header .container {
  position: relative;
  z-index: 2; /* ให้ข้อความอยู่ด้านหน้า */
  color: var(--white);
}
section.bg-header .container h1 {
  margin-bottom: 25px;
}
section.bg-header nav ol li.breadcrumb-item {
  color: var(--white);
}
section.bg-header nav ol li.breadcrumb-item a {
  color: var(--white);
  transition: 0.3s ease-in-out;
}
section.bg-header nav ol li.breadcrumb-item a:hover {
  color: var(--primary);
  transition: 0.3s ease-in-out;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--white);
}

/* =============================== start menu =============================== */
header.header-area .top-header-area {
  padding: 15px 0;
  background: var(--primary);
}

header.header-area .top-header-area .row .col-6 a {
  text-decoration: none;
  color: var(--white);
  margin-right: 20px;
}
header.header-area .top-header-area .row .col-6 .top-header-content {
  margin-right: 10px;
}
header.header-area
  .top-header-area
  .row
  .col-6
  .top-header-content
  .top-social-area {
  text-align: end;
}

header.header-area .main-header-area .classy-navbar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

header.header-area .main-header-area .classy-navbar a.nav-brand {
  margin: auto 0;
  font-size: 36px;
  font-family: "Bebas Neue";
  text-decoration: none;
}
header.header-area .main-header-area .classy-navbar a.nav-brand img {
  width: 65px;
  padding: 5px 0;
}
header.header-area .main-header-area .classy-navbar .classy-menu {
  margin-right: 0;
  margin: auto 0;
}

header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu {
  list-style: none;
  margin: auto;
}

header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu
  a {
  text-decoration: none;
  color: var(--dark);
  padding: 0 20px;
}

header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu
  a:hover {
  color: var(--primary);
}
header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu.book-now-btn {
  background: var(--blue);
  color: var(--white);
  height: 80px;
  line-height: 80px;
  text-align: center;
  color: #ffffff;
}
header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu.book-now-btn
  a {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--white); /* สีข้อความ */
  text-align: center; /* จัดข้อความกลาง */
  line-height: 80px; /* ให้ข้อความอยู่กลางถ้าจำเป็น */
  text-decoration: none; /* ลบขีดเส้นใต้ */
}

header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu.book-now-btn:hover {
  background: var(--primary);
  color: var(--white);
  transition: 0.3s ease-in-out;
}

/* account user */
header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu.account
  .dropdown
  ul.dropdown-menu
  li
  a.dropdown-item {
  padding: 5px 15px;
}
header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu.account
  .dropdown
  ul.dropdown-menu
  li
  a.dropdown-item:active {
  background: var(--primary);
  color: var(--white);
}

.dropdown-item:focus {
  color: var(--white);
}
/* =============================== end menu =============================== */

/* =============================== start  slide =============================== */
.swiper {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  max-height: 770px;
  object-fit: cover;
}
section.slide .carousel-item img {
  width: 100%;
  max-height: 770px;
  object-fit: cover;
}

section.slide
  .swiper-pagination-progressbar
  .swiper-pagination-progressbar-fill {
  background: var(--primary);
}

section.slide .swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
}
/* =============================== end  slide =============================== */

/* =============================== start  booking =============================== */
section.booking .container {
  max-width: 1920px;
}
section.booking .hotel-search-form {
  padding: 50px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border-radius: 5px;
  position: relative;
  top: -50px;
  z-index: 10;
  background: var(--white);
}

/* =============================== end  booking =============================== */

/* =============================== start  service =============================== */

section.service {
  padding: 75px 0;
}
section.service .grid-service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

section.service .grid-service .service-item {
  padding: 50px;
  margin: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  border-radius: 10px;
  text-align: center;
}

section.service .grid-service .service-item img {
  margin-bottom: 10px;
  width: 100px;
}
section.service .grid-service .service-item:hover img {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}
/* =============================== end  service =============================== */

/* =============================== start room =============================== */
section.room {
  padding: 100px 0;
}
section.room h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 50px;
}

section.room .grid-room {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

section.room .grid-room .room-item {
  margin: 20px;
}
section.room .grid-room .room-item .card {
  width: 100%;
  height: 100%;
  border: 0;

  transition: 0.3s ease-in-out;
}

section.room .grid-room .room-item .card .box-img {
  overflow: hidden;
  max-height: 400px;
  margin: 0;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}
section.room .grid-room .room-item .card .box-img img {
  border-radius: 10px;

  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease-in-out;
}
section.room .grid-room .room-item .card:hover .box-img img {
  transform: scale(1.1);
  transition: 0.3s ease-in-out;
}
section.room .grid-room .room-item .card .card-body {
  width: 100%;
}

section.room .grid-room .room-item .card .card-body h5.card-title {
  color: var(--primary);
  font-weight: bold;
}

section.room .grid-room .room-item .card .card-footer {
  width: 100%;
  background: var(--white);
  border: none;
}

/* =============================== end room =============================== */

/* =============================== start room views  =============================== */

section.room-views {
  padding: 100px 0;
}
section.room-views .box-overview {
  margin: 25px 0;
}
section.room-views .box-overview h3 {
  margin-bottom: 25px;
}
section.room-views .box-overview .overview-icon span {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-image {
  width: 100%;
  border-radius: 5px;
}

.product-image-thumbs {
  align-items: stretch;
  display: flex;
  margin-top: 1rem;
  overflow-x: auto; /* เพิ่มการเลื่อนในแนวนอน */
  overflow-y: hidden; /* ซ่อนการเลื่อนในแนวตั้ง */
  white-space: nowrap; /* บังคับให้รายการอยู่ในบรรทัดเดียว */
  padding-bottom: 1rem; /* เพิ่มพื้นที่สำหรับ scroll bar */
}
/* ปรับแต่ง scrollbar */
.product-image-thumbs::-webkit-scrollbar {
  height: 6px; /* ความสูงของ scrollbar */
}

.product-image-thumbs::-webkit-scrollbar-thumb {
  background-color: var(--primary); /* สีของ scrollbar */
  border-radius: 3px; /* ความโค้งมน */
}

.product-image-thumbs::-webkit-scrollbar-thumb:hover {
  background-color: var(--dark); /* สี scrollbar เมื่อ hover */
}

.product-image-thumbs::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* สีของ track */
  border-radius: 3px;
}

.product-image-thumb {
  flex: 0 0 auto; /* บังคับให้ thumbnail ไม่ย่อ */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  margin-right: 0.5rem; /* ลดระยะห่างระหว่าง thumbnails */
  margin: 0 5px;
}

.product-image-thumb img {
  width: 150px;
  height: 100px;
  object-fit: cover;
}

.product-image-thumb:hover {
  cursor: pointer;
}

.product-image-thumb.active {
  border: 2px solid var(--primary);
  margin: 0 5px;
}

/* =============================== end room views  =============================== */

section.review {
  padding: 50px 0;
}
section.review h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 50px;
}
section.review .box-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  margin: auto;
  justify-content: center;
  background: #0b409c;
  color: #fff;
}

section.review .box-icon i {
  margin: auto;
  font-size: 22px;
}

section.review .swiper {
  padding: 50px 0;
}

section.review .card {
  border: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
section.blog {
  padding: 100px 0;
}
section.blog .grid-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

section.blog .grid-blog .blog-item {
  margin: 20px;
}
section.blog .grid-blog .blog-item .card {
  border: none;
  transition: 0.3s ease-in-out;
  height: 100%;
}
section.blog .grid-blog .blog-item .card:hover {
  transform: translateY(-10px);
  transition: 0.3s ease-in-out;
}
section.blog .grid-blog .blog-item .card a {
  text-decoration: none;
}
section.blog .grid-blog .blog-item .card img {
  border-radius: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
section.blog .grid-blog .blog-item .card .card-body {
  width: 100%;
  padding: 25px 2.5px;
}

section.blog .grid-blog .blog-item .card .card-body h5.card-title {
  color: var(--primary);
  font-weight: bold;
}

section.blog .grid-blog .blog-item .card .card-body p.card-text {
  color: var(--dark);
  opacity: 50%;
  text-indent: 50px;
}

section.blog .grid-blog .blog-item .card .card-footer {
  border: none;
  background: none;
  width: 100%;
}

section.contact-social {
  padding: 100px 0;
}

section.contact-social .grid-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0;
}

section.contact-social .grid-contact .box-item {
  padding: 50px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin: 15px;
  border-radius: 25px;
}

section.contact-social .grid-contact .box-item .icon {
  background-color: #f4f6f4;
  padding: 10px 13px;
  width: fit-content;
  margin: 0;
  border-radius: 50%;
}

section.contact-social .grid-contact .box-item .icon i {
  font-size: 28px;
  color: var(--primary);
}

section.contact-social .grid-contact .box-item h4 {
  font-weight: bold;
}

section.contact-social .grid-contact .box-item p {
  opacity: 50%;
}

section.google-map iframe {
  width: 100%;
  height: 650px;
}

/* ====================== bookingrooms =============================== */
section.bookingrooms {
  margin-bottom: 50px;
}

/* login */

section.login {
  padding: 100px 0;
}

.login_form {
  width: 100%;
  max-width: 767px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 6px;
  padding: 41px 30px;
}

.login_form h3 {
  font-size: 20px;
  text-align: center;
}
/* Google & Apple button styling */
.login_form .login_option {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.login_form .login_option .option {
  width: calc(100% / 2 - 12px);
}
.login_form .login_option .option a {
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #f8f8fb;
  border: 1px solid #dadaf2;
  border-radius: 5px;
  margin: 34px 0 24px 0;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: 0.2s ease;
}
.login_form .login_option .option a:hover {
  background: #ededf5;
  border-color: var(--blue);
}
.login_form .login_option .option a img {
  max-width: 25px;
}
.login_form p {
  text-align: center;
  font-weight: 500;
}
.login_form .separator {
  position: relative;
  margin-bottom: 24px;
}
/* Login option separator styling */
.login_form .separator span {
  background: #fff;
  z-index: 1;
  padding: 0 10px;
  position: relative;
}
.login_form .separator::after {
  content: "";
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  height: 1px;
  background: #c2c2c2;
  display: block;
}
form .input_box label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}
/* Input field styling */
form .input_box input {
  width: 100%;
  height: 57px;
  border: 1px solid #dadaf2;
  border-radius: 5px;
  outline: none;
  background: #f8f8fb;
  font-size: 17px;
  padding: 0px 20px;
  margin-bottom: 25px;
  transition: 0.2s ease;
}
form .input_box input:focus {
  border-color: var(--blue);
}

form .input_box {
  position: relative;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* Space for the eye icon */
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 20px;
  cursor: pointer;
  font-size: 18px;
  color: #666;
}

a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}
a:hover {
  text-decoration: underline;
}
/* Login button styling */
form button.login {
  width: 100%;
  height: 56px;
  border-radius: 5px;
  border: none;
  outline: none;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 28px;
  transition: 0.3s ease;
}
form button.login:hover {
  background: #002761;
}

/* gallery */
section.gallery {
  padding: 100px 25px;
}
section.gallery .gallerySwiper {
  width: 100%;
  height: 100%;
}

section.gallery .gallerySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover; /* ปรับภาพให้ครอบคลุมเต็มพื้นที่ */
  object-position: center; /* จัดให้อยู่กึ่งกลาง */
  cursor: grab;
}

section.gallery .gallerySwiper .swiper-slide {
  position: relative;
  overflow: hidden; /* ซ่อนส่วนที่เกินของภาพ */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px; /* กำหนดความสูงคงที่สำหรับสไลด์ */
}
/* gallery page */
section.gallery .gallery-category {
  margin-bottom: 100px;
}
section.gallery .gallery-category .category-item {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0;
  justify-content: center;
}

section.gallery .gallery-category a.item {
  margin: 10px;
  background: #f1f1f1;
  color: var(--dark);
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
}
section.gallery .gallery-category a.item.active {
  background: var(--primary);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 25px;
}

/* General Gallery Layout */
section.gallery .gallery-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

/* Flex 4-column layout */
section.gallery .gallery-image .filtr-item {
  flex: 1 1 calc(25% - 20px); /* 4-column layout */
  max-width: calc(25% - 20px); /* Adjust width */
  position: relative;
  overflow: hidden;
  opacity: 0; /* Initially invisible */
  transform: scale(0.95); /* Slightly shrink the items */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

/* When the item is visible */
section.gallery .gallery-image .filtr-item.visible {
  opacity: 1; /* Show the item */
  transform: scale(1); /* Scale to normal size */
}

/* Image Styling */
section.gallery .gallery-image .filtr-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure both portrait and landscape images are covered */
  border-radius: 10px;
  transition: transform 0.3s;
}

/* Hover effect */
section.gallery .gallery-image .filtr-item img:hover {
  transform: scale(1.05);
}

footer section.footer {
  background-color: var(--primary);
  color: #fff;
  padding: 40px 20px;
}

footer section.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer section.footer .footer-section {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

footer section.footer .footer-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
}

footer section.footer .footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

footer section.footer .footer-section ul {
  list-style: none;
  padding: 0;
}

footer section.footer .footer-section ul li {
  margin: 5px 0;
}

footer section.footer .footer-section ul li a {
  color: #fff;
  text-decoration: none;
}

footer section.footer .footer-section ul li a:hover {
  text-decoration: underline;
}

footer section.footer .social-media-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

footer section.footer .social-media-icons a {
  text-decoration: none;
  font-size: 20px;
  color: #fff;
}

footer section.footer .footer-bottom {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #fff;
}

footer section.footer .button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
}

footer section.footer .button:hover {
  background-color: #f1f1f1;
}

/* search-rooms */
section.search-rooms {
  padding: 50px 0;
}

section.search-rooms .grid-search-rooms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

section.search-rooms .grid-search-rooms .card {
  margin: 25px 10px;
}
section.search-rooms .grid-search-rooms .card .box-img {
  padding: 15px;
  width: 100%;
}

section.search-rooms .grid-search-rooms .card .box-img img {
  width: 100%;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}

section.search-rooms .grid-search-rooms .card .box-img img:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: 0.3s ease-in-out;
}
section.search-rooms .grid-search-rooms .card .card-body {
  width: 100%;
}
section.search-rooms .grid-search-rooms .card .card-body h5.card-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}
section.search-rooms .grid-search-rooms .card .card-body p.card-text {
  text-indent: 25px;
  color: var(--dark);
  opacity: 75%;
}

section.search-rooms .grid-search-rooms .card .card-footer {
  width: 100%;
  background: none;
  border: none;
  padding-bottom: 25px;
}

section.search-rooms .grid-search-rooms .card .card-footer .price {
  font-size: 22px;
  font-weight: bold;
  margin-left: 0;
}
section.search-rooms .grid-search-rooms .card .card-footer .booking {
  margin-right: 0;
}
section.search-rooms
  .grid-search-rooms
  .card
  .card-footer
  .booking
  button.roberto-btn {
  padding: 10px 25px;
  border-radius: 25px;
}

/* account page */
section.account {
  margin: 100px 0;
}
section.account ul.account-menu {
  margin: 0;
  padding: 0;
}
section.account ul.account-menu li.list-menu {
  padding: 10px 0;
  list-style: none;
}
section.account ul.account-menu li.list-menu.logout {
  color: var(--danger);
}
section.account ul.account-menu li.list-menu a.list-group-item.active {
  border-right: 5px solid var(--primary);
}

/* booking-history */

section.account .row .col-md-9 .card {
  margin-bottom: 25px;
}
section.account .row .col-md-9 .card .card-header {
  background: var(--white);
  padding-top: 12px;
  padding-bottom: 12px;
}

section.account .row .col-md-9 .card .card-footer {
  background: var(--white);
}

section.account .row .col-md-3 {
  height: fit-content;
}

section.account .row .col-md-9 .card .card-footer button.btn-views {
  background: var(--primary);
  color: var(--white);
  border-radius: 25px;
  border: 2px solid var(--primary);
  transition: 0.3s ease-in-out;
}

section.account .row .col-md-9 .card .card-footer button.btn-views:hover {
  background: none;
  transition: 0.3s ease-in-out;
  color: var(--dark);
}

section.account .row .col-md-9 .card .card-footer button.btn-payment {
  background: var(--white);
  color: var(--dark);
  border-radius: 25px;
  border: 2px solid var(--primary);
  transition: 0.3s ease-in-out;
}

section.account .row .col-md-9 .card .card-footer button.btn-payment:hover {
  background: var(--primary);
  transition: 0.3s ease-in-out;
  color: var(--white);
}

section.account .row .col-md-9 .card .card-footer button.btn-review {
  background: var(--white);
  color: #0a3622;
  border-radius: 25px;
  border: 2px solid #198754;
  transition: 0.3s ease-in-out;
}

section.account .row .col-md-9 .card .card-footer button.btn-review:hover {
  background: #198754;
  transition: 0.3s ease-in-out;
  color: var(--white);
}

img.img-promptpay{
  width: 25%;
}
/* For Tablets (iPad) and smaller screens */
@media (max-width: 1024px) {
  section.gallery .gallery-image .filtr-item {
    flex: 1 1 calc(33.33% - 20px); /* 3-column layout */
    max-width: calc(33.33% - 20px);
  }
}

/* For iPad Landscape (1024px and above but in landscape orientation) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  section.gallery .gallery-image .filtr-item {
    flex: 1 1 calc(25% - 20px); /* 4-column layout */
    max-width: calc(25% - 20px);
  }
}

/* For Mobile devices (iPhone and smaller) */
@media (max-width: 767px) {
  section.gallery .gallery-image .filtr-item {
    flex: 1 1 calc(50% - 20px); /* 2-column layout */
    max-width: calc(50% - 20px);
  }
}

/* For Very Small Mobile Devices */
@media (max-width: 480px) {
  section.gallery .gallery-image .filtr-item {
    flex: 1 1 100%; /* Single column layout */
    max-width: 100%;
  }
}
header.header-area
  .main-header-area
  .classy-navbar
  .classy-menu
  ul.nav
  li.list-menu-menu {
  display: none;
}
@media screen and (max-width: 768px) {
  img.img-promptpay{
    width: 50%;
  }


  header.header-area .main-header-area .classy-navbar{
    padding: 5px 0;
  }
  header.header-area .main-header-area .classy-navbar a.nav-brand {
    margin: auto 0;
    font-size: 28px;
    font-family: "Bebas Neue";
    text-decoration: none;
  }
  header.header-area .main-header-area .classy-navbar a.nav-brand img {
    width: 50px;
  }
  section.bg-header {
    padding: 50px 0;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu.book-now-btn {
    background: var(--blue);
    color: var(--white);
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #ffffff;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu.book-now-btn
    a {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--white); /* สีข้อความ */
    text-align: center; /* จัดข้อความกลาง */
    line-height: 50px; /* ให้ข้อความอยู่กลางถ้าจำเป็น */
    text-decoration: none; /* ลบขีดเส้นใต้ */
  }
  section.slide .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 28px;
  }
  header.header-area .top-header-area .row .col-6:nth-child(1) {
    display: none;
  }
  header.header-area .top-header-area .row .col-6:nth-child(2) {
    margin-right: 0;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu {
    display: none;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu {
    display: block;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu {
    margin: auto;
    margin-left: 15px;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu
    a.btn.btn-menu {
    background: var(--primary);
    color: var(--white);
  }

  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu
    ul.nav {
    display: block;
    padding: 0;
    margin: 0;
  }
  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu
    ul.nav
    li.list-menu {
    display: block;
    padding-bottom: 15px;
  }

  header.header-area
    .main-header-area
    .classy-navbar
    .classy-menu
    ul.nav
    li.list-menu-menu
    ul.nav
    li.list-menu
    a {
    padding: 0;
    font-size: 18px;
  }

  section.booking .hotel-search-form {
    padding: 50px 10px;
    top: -65px;
  }

  section.booking .hotel-search-form .row .col-6,
  section.booking .hotel-search-form .row .col-4 {
    margin-bottom: 15px;
    width: 100%;
  }

  /* service */
  section.service .grid-service {
    display: block;
  }
  section.service .grid-service .service-item {
    padding: 50px;
    margin-bottom: 25px;
  }

  section.search-rooms .grid-search-rooms {
    display: block;
  }
  section.search-rooms .grid-search-rooms .card .card-body h5.card-title {
    font-size: 24px;
  }
  section.search-rooms .grid-search-rooms .card .card-body span {
    font-size: 14px;
    margin-bottom: 5px;
  }

  section.search-rooms .grid-search-rooms .card .card-footer {
    width: 100%;
    background: none;
    border: none;
    padding-bottom: 25px;
  }

  section.search-rooms .grid-search-rooms .card .card-footer .price {
    font-size: 20px;
    font-weight: bold;
    margin: auto 0;
  }
  /* blog */
  section.blog .grid-blog {
    display: block;
  }
  section.blog {
    padding: 50px 0;
  }
  /* gallery */
  section.gallery {
    padding: 50px 25px;
  }

  /* room-view */
  section.room-views {
    padding: 50px 0;
  }
  section.room-views .box-overview h1 {
    font-size: 24px; /* ขนาดตัวหนังสือ */
    line-height: 1.4; /* ระยะห่างระหว่างบรรทัด */
  }

  section.room-views .box-overview h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  section.room-views .box-overview h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  section.room-views .box-overview h4 {
    font-size: 18px;
    line-height: 1.4;
  }

  section.room-views .box-overview h5 {
    font-size: 16px;
    line-height: 1.4;
  }

  section.room-views .box-overview h6 {
    font-size: 14px;
    line-height: 1.4;
  }

  section.room-views .box-overview p {
    font-size: 16px;
    line-height: 1.6; /* สำหรับพารากราฟ */
  }
  section.room-views .box-overview img {
    width: 100%;
    border-radius: 5px;
  }

  section.room-views .row .col-md-4 .hotel-search-form form button.roberto-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    border: none;
    z-index: 100;
    transition: all 0.3s ease; /* เพิ่ม transition เพื่อให้การเปลี่ยนแปลงตำแหน่งดูนุ่มนวล */
  }

  /* section.bookingrooms */
  section.bookingrooms .row {
    display: flex;
  }

  section.bookingrooms .row .col-md-8 {
    order: 2; /* ให้ .col-md-8 แสดงหลัง .col-md-4 */
  }

  section.bookingrooms .row .col-md-4 {
    order: 1; /* ให้ .col-md-4 แสดงก่อน .col-md-8 */
  }
  section.payment #payment-form button.roberto-btn {
    position: fixed;
    bottom: 0; /* เริ่มต้นปุ่มจะอยู่นอกหน้าจอ */
    left: 0;
    transition: bottom 0.3s ease; /* ทำให้การแสดงปุ่มนุ่มนวล */
  }

  /* account page */
  section.account {
    margin: 0;
    margin-bottom: 50px;
  }
  section.account .card .card-header .d-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
  }
  section.account .card .card-body h5.card-title {
    font-size: 18px;
  }
  /* order */
  section.account .row .col-md-9 .card .card-footer button.btn-views {
    border-radius: 5px;
  }
  section.account .row .col-md-9 .card .card-footer button.btn-payment {
    border-radius: 5px;
  }
  section.account .row .col-md-9 .card .card-footer button.btn-review {
    border-radius: 5px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
}
