body {
  width: 100%;
  height: 100%;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
}
legend {
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 12px;
  font-weight: normal;
}
/* Chrome border line */
button:focus {
  outline: none !important;
}
/* container */
#container {
  width: 100%;
  min-height: 100vh; /* ความสูงหน้าจอ */
  margin-bottom: 0;
}

/* content */
#content, #column-left, #column-right {
  padding-bottom: 730px;
}

@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  #content {
    padding-bottom: 80px;
  }
}
#alert {
  z-index: 9999;
  position: fixed;
  top: 30%;
  left: 50%;
  width: 400px;
  margin-left: -200px;
}
@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}
#alert .alert {
  margin-bottom: 15px;
}
#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}
#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}
#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}
#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}
#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}
#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}
#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}
#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}
/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}
#top ul.list-inline {
  margin-bottom: 0;
}
#top .list-inline-item > a, #top .list-inline-item .dropdown > a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}
/* logo */
#logo {
  text-align: center;
  margin: 7px 0 7px 0;
}
#logo img {
  max-width: 150px;
  height: auto;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  #logo {
    text-align: left;
  }
}
/* search */
#search {
  margin-bottom: 10px;
}
#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}
#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
  margin-bottom: 10px;
}
#cart .img-thumbnail {
  min-width: 100px;
}
#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}
#cart .dropdown-menu {
  background: #eee;
}
#cart .dropdown-menu li {
  min-width: 300px;
}
@media (max-width: 768px) {
  #logo {
    flex: 1;
  }

  #menu {
    flex: 1;
    text-align: right;
  }
}
/* menu */
#menu {
  background-color: #ffffff;
  border-radius: 0;
  border: none;
}
#menu .navbar-nav > li > a {
  color: #060eaf;
  font-size: 26px;
}
/* สีตัวอักษรเมนูเมื่อ hover */
#menu .navbar-nav > li > a:hover {
  color: #0ba0e6; /* สีเมื่อเอาเมาส์ชี้ */
  background-color: transparent; /* ลบพื้นหลัง hover ได้ */
}
#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}
#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}
@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
  #menu .dropdown-inner {
    flex-direction: row;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
    left: -200px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
    left: -400px;
  }
  #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
    left: -600px;
  }
}
#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .navbar-toggler i {
  color: #0c3399;
  border-color: #0c3399;
  font-size: 1.2em;
}
/* default boostrap changes */
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
.nav-tabs {
  margin-bottom: 15px;
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
/* footer */
footer {
  border: 1px solid #000000;
  width: 100%;
  padding-top: 30px;
  background-color: #303030;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}
footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}
footer a {
  color: #ccc;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}
.breadcrumb i {
  font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}
.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}
.product-thumb .image {
  text-align: center;
}
.product-thumb .image a:hover {
  opacity: 0.8;
}
.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}
.product-thumb .description h4 {
  font-weight: bold;
}
.product-thumb .button {
  display: flex;
  width: 100%;
  bottom: 0;
}
.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}
.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}
.product-thumb .button button + button {
  border-left: 1px solid var(--bs-border-color);
}
@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% -  15px);
    margin-left: 15px;
  }
}
.rating .fa-stack {
  width: 20px;
}
.rating .fa-star {
  color: #999;
  font-size: 15px;
}
.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}
.rating .fa-star + .fa-star {
  color: #E69500;
}
/* product list */
.price {
  color: #444;
}
.price-new {
  font-weight: 600;
}
.price-old {
  color: #dc512c;
  text-decoration: line-through;
}
.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}
/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.blog-thumb h4 {
  font-weight: bold;
}
.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}
.blog-thumb .image a:hover {
  opacity: 0.8;
}
.blog-thumb .description {
  padding: 15px;
}
/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}
#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}
/* ปรับไอคอนเมนูมือถืออยู่ขวาบน */
.navbar-toggler {
  margin-left: auto;
  border: none;
  background: none;
  font-size: 1.5rem;
}
/* ซ่อนเมนูปกติในมือถือ */
@media (max-width: 768px) {
  #menu ul.navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    margin: 0;
  }
  #menu ul.navbar-nav li {
    width: 100%;
  }
  #menu ul.navbar-nav li a {
    display: block;
    padding: 10px 15px;
    width: 100%;
    border-bottom: 1px solid #eee;
    color: #000;
    text-align: left;
  }
}
/* --------- Custom Mobile Menu Fix --------- */
#menu .navbar-nav {
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  #menu .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  #menu .navbar-nav .nav-link {
    padding: 10px 15px;
    width: 100%;
  }
}
/* จัดเมนูให้อยู่ตรงกลางใน Desktop */
@media (min-width: 992px) {
  #menu .navbar-collapse {
    display: flex;
    justify-content: center;
  }

  #menu .navbar-nav {
    justify-content: center;
    width: 100%;
  }
}
#logo img {
  max-height: 150px;
}

/* ป้องกันโลโก้เลื่อนลงเมื่อเปิดเมนูมือถือ */
@media (max-width: 768px) {
  #logo {
    flex: 1 1 auto;
  }
  #menu .navbar-collapse {
    width: 100%;
  }
}
/* เมนูในมือถือเป็น overlay ทับ ไม่ดันเนื้อหาอื่น */
@media (max-width: 768px) {
  #navbar-menu {
    position: absolute;
    top: 70px; /* ความสูงของ header + padding */
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(240, 240, 240, 1);
  }

  #menu .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  #menu .navbar-nav .nav-link {
    width: 100%;
    padding: 10px 15px;
    text-align: left;
  }
}
/* ===== ปรับตำแหน่งและความชัดเจนของปุ่มแฮมเบอร์เกอร์และเมนูบนมือถือ ===== */

/* เพิ่ม z-index ให้ปุ่มแฮมเบอร์เกอร์ลอยอยู่บนสุด */
.navbar-toggler {
  position: relative;
  z-index: 1050;
  margin-left: auto; /* ให้ไปชิดขวา */
}

/* ปรับขนาดฟ้อนต์เมนูบนมือถือให้เล็กลง */
@media (max-width: 768px) {
  #menu .navbar-nav .nav-link {
    font-size: 20px; /* ลดขนาดฟ้อนต์เพื่อไม่ให้เบียดกัน */
    padding: 5px 10px;
  }

  #menu .navbar-nav {
    padding-top: 5px; /* เผื่อระยะไม่ให้ชนกับปุ่มแฮมเบอร์เกอร์ */
  }

  #navbar-menu {
    margin-top: 5px; /* ป้องกันเมนูทับปุ่ม */
  }
}
.navbar-toggler i.fa-bars {
  color: #eee;
  font-size: 24px;
  border: none;
  padding: 0;
}
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 10px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler i.fa-bars:focus,
.navbar-toggler i.fa-bars:active {
  outline: none;
  box-shadow: none;
}

.navbar-toggler i.fa-bars {
  color: #333;
  font-size: 24px;
}
@media (max-width: 768px) {
  #navbar-menu {
    margin-top: 85px; /* หรือมากกว่านี้ถ้ายังชนโลโก้ */
  }
}
#content .product-thumb .description {
  font-size: 18px; /* หรือขนาดที่ต้องการ */
}

#content .product-thumb h4 {
  font-size: 20px;
}
footer {
  font-size: 18px;
}

footer h5 {
  font-size: 20px;
}

footer a {
  font-size: 18px;
}
.overlay-png {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-12%, -12%) scale(0.95);
  opacity: 0;
  max-width: 80%;
  margin-top: 0px
  z-index: 10;
  pointer-events: none;

  /* Animation */
  animation: fadeInSlide 1s ease-out 0.8s forwards;
}

/* Keyframes */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

}
/* เพิ่มเอฟเฟกต์ hover แล้วขยับที่รูป Trip Gallery */
.trip-gallery .trip-item img {
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.trip-gallery .trip-item img:hover {
  transform: scale(1.05);
}
/* เพิ่มเอฟเฟกต์ hover สำหรับ Trip Package */
.trip-package-container .trip-package-item img {
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.trip-package-container .trip-package-item img:hover {
  transform: scale(1.03);
}
/* ซ่อนเมนูด้านซ้าย */
#column-left {
  display: none !important;
}
/* สีปุ่มปกติ */
.btn {
  background-color: #1d4aa5;
  /* สีพื้นหลังปุ่ม */
  color: #ffffff;
  /* สีตัวอักษรในปุ่ม */
  border-color: #1d4aa5;
  /* สีขอบปุ่ม (ถ้ามี) */
}

/* สีปุ่มเมื่อเมาส์วาง (hover) */
.btn:hover {
  background-color: #19a96c;
  /* สีพื้นหลังปุ่มเมื่อ hover */
  color: #ffffff;
  /* สีตัวอักษรในปุ่มเมื่อ hover */
  border-color: #19a96c;
  /* สีขอบปุ่มเมื่อ hover */
}

/* อาจจะมี class ของปุ่มเฉพาะ เช่นสำหรับปุ่มซื้อ */
.btn-primary {
  /* หรือ class อื่นๆ ที่ปุ่มหลักใช้ */
  background-color: #1d4aa5;
  color: #ffffff;
  border-color: #1d4aa5;
}

.btn-primary:hover {
  background-color: #19a96c;
  color: #ffffff;
  border-color: #19a96c;
}

/* สำหรับชื่อหมวดหมู่ในเมนูนำทางด้านข้างหรือด้านบน */
.list-group a.list-group-item,
/* Sidebar Categories */
.navbar-nav>li>a,
/* Top Navigation Categories (ถ้ามี) */
.category-name a {
  /* สำหรับบางธีมที่ใช้ class นี้ */
  color: #1d4aa5;
}

.list-group a.list-group-item:hover,
.navbar-nav>li>a:hover,
.category-name a:hover {
  color: #19a96c;
}

/* สำหรับชื่อหมวดหมู่ในหน้าหมวดหมู่เอง */
h1.page-title,
/* ถ้า H1 คือชื่อหมวดหมู่ */
.breadcrumb li:last-child a {
  /* ใน breadcrumb */
  color: #1d4aa5;
}

/* สำหรับชื่อสินค้าในรายการสินค้า (Grid/List View) */
.product-thumb .caption h4 a {
  color: #1d4aa5;
}

.product-thumb .caption h4 a:hover {
  color: #19a96c;
}

/* สำหรับชื่อสินค้าในหน้าแสดงสินค้าเดี่ยว (Product Page) */
.product-name h1,
/* หรืออาจจะเป็น h2, h3 แล้วแต่ธีม */
#content h1 {
  color: #1d4aa5;
}

/* ชื่อสินค้าในหน้าสินค้าเดี่ยวอาจจะไม่มี hover effect ถ้าไม่ใช่ลิงก์ */

/* ปุ่มเฉพาะสำหรับ HTML Content */
.my-custom-button {
  background-color: #1d4aa5;
  /* สีพื้นหลังปุ่ม */
  color: #ffffff;
  /* สีตัวอักษรในปุ่ม */
  border-color: #1d4aa5;
  /* สีขอบปุ่ม */
}

.my-custom-button:hover {
  background-color: #19a96c;
  /* สีพื้นหลังเมื่อ hover */
  color: #ffffff;
  border-color: #19a96c;
}

/* ทำให้ช่องว่างหายไปอย่างสมบูรณ์ */
#product-info .col-md-6>.list-unstyled {
  margin-bottom: 0 !important;
}

/* Custom styles for More Information button - Added by user */
.custom-contact-wrapper {
  text-align: center;
  margin-top: 15px;
}

.custom-contact-button {
  display: inline-block;
  background-color: #007bff;
  /* Messenger blue */
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.custom-contact-button:hover {
  background-color: #003399;
  color: white;
}
/* ====================================
   Responsive Background Image Styles for Header/Menu Area
   ==================================== */

/* สำหรับ header ทั้งส่วน */
.header-background {
  background-image: url('/image/catalog/background/header-bg-desktop.webp');
  /* เปลี่ยนชื่อและ path ตามจริง */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
}

/* Responsive สำหรับมือถือ */
@media (max-width: 767px) {
  .header-background {
    background-image: url('/image/catalog/background/header-bg-mobile.webp');
    min-height: 150px;
  }
}

/* Responsive สำหรับแท็บเล็ต */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-background {
    background-image: url('/image/catalog/background/header-bg-tablet.webp');
    min-height: 180px;
  }
}
/* ทำให้เมนูโปร่งใส (หากเมนูอยู่ใน .header-background) */
.header-background .navbar,
.header-background .header-top {
  background-color: transparent !important;
  box-shadow: none !important;
  /* เอาเงาออกด้วยหากมี */
}
/* เมนูหลักด้านบน (หน้าจอใหญ่) */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    color: #f2c200 !important;
    /* สีเหลืองทอง */
    font-weight: bold;
    /* ตัวหนา */
    letter-spacing: 1.5px;
    /* ระยะห่างระหว่างตัวอักษร */
  }

  .navbar-nav .nav-item {
    margin: 0 15px;
    /* ซ้าย-ขวาห่างกัน 15px */
  }

  .navbar-nav .nav-link:hover {
    color: #f62953 !important;
    /* สีชมพูอมแดงเมื่อ hover */
    /* font-weight: bold; */
    /* ไม่จำเป็นต้องซ้ำ ถ้าข้างบนกำหนดแล้ว */
  }
}

/* เมนูแฮมเบอร์เกอร์ (หน้าจอมือถือ) */
@media (max-width: 991.98px) {
  .navbar-collapse .nav-link {
    color: #0326aa !important;
    /* สีน้ำเงินสำหรับเมนูดรอปดาวน์มือถือ */
  }

  .navbar-collapse .nav-link:hover {
    color: #2db281 !important;
    /* สีเขียวเวลา hover บนมือถือ */
  }
}

/* เปลี่ยนสีไอคอนแฮมเบอร์เกอร์ */
.navbar-toggler .fa-bars {
  color: #f62953 !important;
  /* เปลี่ยนเป็นสีชมพู */
  font-size: 24px;
  /* ปรับขนาดได้ตามต้องการ */
  font-weight: bold;
  /* ตัวหนา */
}
        }
/* ทำให้แถบ breadcrumb เต็มจอและเปลี่ยนพื้นหลัง */
.breadcrumb {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #094eb5 !important;
  padding: 10px 20px;
  z-index: 1;
}

/* เปลี่ยนสีข้อความและลิงก์ */
.breadcrumb li,
.breadcrumb li a {
  color: #ffffff !important;
}

/* ลบพื้นหลังหรือเงาอื่น ๆ ที่อาจมาทับ */
.breadcrumb::before,
.breadcrumb::after {
  display: none;
}
ul.breadcrumb {
  background-color: #094eb5 !important;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 10px 20px !important;
  color: #ffffff !important;
}

ul.breadcrumb li a {
  color: #ffffff !important;
}
ul.breadcrumb {
  background-color: #094eb5 !important;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 10px 20px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}
ul.breadcrumb::before,
ul.breadcrumb::after {
  display: none !important;
}

.breadcrumb+* {
  margin-top: 0 !important;
}
footer {
  background-color: #012458 !important;
  color: #ffffff;
}
.breadcrumb li.breadcrumb-item {
  /* ซ่อนเฉพาะ li ที่มีเนื้อหาคือ » */
  display: none !important;
}

.breadcrumb li.breadcrumb-item a {
  display: inline-block !important; /* แสดงเฉพาะลิงก์กลับมา */
}
<style type="text/css">html {
  scroll-behavior: smooth;
}

/* --- Trip Gallery --- */
.trip-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -10px 60px;
  animation: fadeIn 1s ease-in;
}

.trip-gallery .trip-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.trip-gallery .trip-item:nth-child(1) {
  animation-delay: 0.2s;
}

.trip-gallery .trip-item:nth-child(2) {
  animation-delay: 0.4s;
}

.trip-gallery .trip-item:nth-child(3) {
  animation-delay: 0.6s;
}

.trip-gallery .trip-item:nth-child(4) {
  animation-delay: 0.8s;
}

.trip-gallery .trip-item:nth-child(5) {
  animation-delay: 1s;
}

.trip-gallery .trip-item:nth-child(6) {
  animation-delay: 1.2s;
}

.trip-gallery .trip-item a {
  display: block;
  width: 100%;
  transition: transform 0.3s ease;
}

.trip-gallery .trip-item a:hover {
  transform: scale(1.05);
}

.trip-gallery .trip-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .trip-gallery .trip-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* --- Trip Package --- */
.trip-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px;
  animation: fadeIn 1s ease-in;
}

.trip-box {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.trip-box:hover {
  transform: translateY(-5px);
}

.trip-box img {
  width: 100%;
  height: auto;
  display: block;
}

.trip-content {
  padding: 15px;
  text-align: center;
}

.trip-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.trip-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.trip-btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.trip-btn:hover,
.trip-btn:focus {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .trip-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* --- Animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

</style>
/* ✅ บังคับมือถือบางรุ่น ให้แสดง 1 คอลัมน์ */
@media (max-width: 767.98px) {
  .force-mobile-1col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  content: "";
  padding-top: 177.78%;
  /* 16:9 */
}

.ratio>iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.carousel {
  margin-top: 5px;
  border: 0px solid #fff !important;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 50px;
}