@charset "utf-8";
@media screen and (min-width: 901px) and (max-width: 1199px){
.header {
	background-color: transparent;
	float: left;
	height: auto;
	width: 100%;
}
.tab-stop {
	background-color: transparent;
	position: fixed;
	overflow: visible;
	visibility: visible;
	z-index: 99999;
	height: auto;
	width: 100%;
}

/* --- ส่วนของ .box-top --- */
.home-page .box-top {
	background-color: rgba(255, 255, 255, 0.6);;
	
}

/* เมื่อเลื่อนลงมา -> สไลด์ซ่อน .box-top */
.home-page .box-top.scrolled {
	background-color: #d6c0a9 !important; 
}
/* --- ส่วนของ .box-top (ใช้ร่วมกันทุกหน้า) --- */
.box-top {
	background-color: #d6c0a9;
	float: left;
	height: auto;
	width: 100%;
	transition: background-color 0.3s ease;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgba(230, 220, 208, 0.2);
	/* คุณสมบัติสำหรับการสไลด์ซ่อน */
    max-height: 100px; /* กำหนดความสูงประมาณการ */
    opacity: 1;
    overflow: hidden;
    transition: all 0.5s ease; /* ความนุ่มนวลตอนซ่อน */
}

/* เมื่อเลื่อนลงมา -> ซ่อน .box-top ทุกหน้า (นำ .home-page ออกแล้ว) */
.box-top.scrolled {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}
.top-tel {
	float: left;
	height: auto;
	width: 2.5%;
	margin-left: 5%;
	text-align: right;
	margin-top: 0.3%;
}
.top-tel img {
	height: auto;
	width: 1.5rem;
}

.num-top-tel {
	float: left;
	width: 200px;
	padding-top: 12px;
	font-family: serithairegular;
	font-size: 1rem;
	color: #8e6839;
	margin-left: 1%;
	font-weight: normal;
}
.num-top-tel a {
	color: #8D6939;
	text-decoration: none;
}

.box-top-right {
	float: right;
	height: auto;
	width: 30%;
	margin-right: 5%;
}
.top-social {
	float: left;
	width: 75%;
	margin-top: 1%;
}
.top-social img  {
	height: auto;
	width: 1.5rem;
	margin-left: 2%;
}
.top-social img:hover {
	/* ขยายใหญ่ขึ้น 1.2 เท่า (หรือ 120%) */
	transform: scale(1.2); /* ปรับตัวเลขได้ตามต้องการ เช่น 1.1, 1.3 */
}

.top-language {
	float: right;
	width: auto;
	margin-top: 4%;
}
.btn-language {
	background-color: #8E6839;
	width: 100%;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	font-family: serithairegular;
	font-size: 1rem;
	color: #FFFFFF;
	padding-top: 3px;
	padding-bottom: 2px;
	padding-right: 3px;
	padding-left: 3px;
	border-radius: 5px; /* ขอบมน */	
}
.btn-language option {
	background-color: #FFF; /* เปลี่ยนพื้นหลังรายการให้เป็นสีขาวสะอาดตา */
	color: #333; /* สีตัวอักษรของรายการภาษา */
	padding: 10px;
	font-family: 'serithairegular', sans-serif;
}
/* --- ส่วนของ .box-top-middle --- */
.home-page .box-top-middle {
	background-color: transparent !important; /* เริ่มต้นให้โปร่งใส */

}

/* เมื่อเลื่อนลงมา 10% -> คืนค่าสีเดิมของ .box-top-middle */
.home-page .box-top-middle.scrolled {
	background-color: #e6dcd0 !important;
}
.box-top-middle {

	background-color: #e6dcd0; /* หรือ  ตามที่คุณต้องการ */
	float: left;
	height: auto;
	width: 100%;
	transition: background-color 0.3s ease;
}
.logo {
	float: left;
	height: auto;
	width: 12%;
	margin-left: 5%;
}
.logo img {
	width: 12rem;
	height: auto;
	transition: transform 1s ease-in-out;
}

.logo img:hover {
	/* ขยายใหญ่ขึ้น 1.2 เท่า (หรือ 120%) */
transform: scale(1.1);
}
.logo-m {
	float: left;
	height: 129px;
	width: 300px;
	margin-left: 5%;
}


.box-menu-m {
	display: none;
}
.booknow-top {
	float: right;
	height: 75px;
	width: 200px;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 22px;
	background-color: #FFFFFF;
	color: #FFF;
	text-align: center;
	display: inline-block;
	margin-top: 30px;
	margin-right: 5%;
}
.btn-booknow-top {
	font-family: 'serithairegular', sans-serif;
	font-size: 1.1rem; /* ปรับลดลงเล็กน้อยเพื่อให้ดูสมส่วนโมเดิร์นขึ้น */
	color: #FFF;
	text-align: center;
	
	/* ปรับโครงสร้างขนาดและการจัดวาง */
	width: auto; /* แนะนำให้ใช้ auto หรือกำหนดพิกเซล เช่น 160px แทน 100% เพื่อไม่ให้ยาวล้นบาร์ */
	min-width: 140px; 
	padding: 10px 24px; /* ใช้ padding แทนการฟิกซ์ความสูง % เพื่อให้ปุ่มสมมาตรทุกหน้าจอ */
	
	background-color: #8e6839;
	border: none; /* ลบขอบเดิมออกทั้งหมด */
	border-radius: 25px; /* ปรับให้ขอบมนทรงแคปซูล เพิ่มความโมเดิร์นและดูเป็นมิตรน่ากด */
	cursor: pointer;
	
	/* ดันเงาจางๆ โทนสีทองผสมดำ เพื่อให้ปุ่มดูลอยมีมิติ */
	box-shadow: 0 4px 15px rgba(142, 104, 57, 0.25);
	
	/* ตั้งค่า Transition สำหรับอนิเมชั่นแบบลื่นไหลระดับพรีเมียม */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	
	/* จัดการส่วนที่อาจติดมาจากระบบเดิม */
	margin-top: 3%;
	margin-bottom: 2%;
	display: inline-block;
	outline: none;
	-webkit-appearance: none; /* ล้างค่าหน้าตาปุ่มเริ่มต้นของไอโฟน/ซาฟารี */
}

/* =========================================
   อนิเมชั่นเมื่อเอาเมาส์มาวาง (Hover Effect)
========================================= */
.btn-booknow-top:hover {
	background-color: #76542b; /* ปรับสีทองให้เข้มขึ้นเล็กน้อยเพิ่มมิติ */
	color: #FFF;
	
	/* อนิเมชั่นขยายตัวขึ้น 3% + ดันปุ่มลอยขึ้นข้างบนเล็กน้อย */
	transform: translateY(-2px) scale(1.03);
	
	/* เพิ่มความฟุ้งของเงาตามการลอยของปุ่ม เพื่อให้สมจริง */
	box-shadow: 0 8px 25px rgba(142, 104, 57, 0.45);
	
	/* เพิ่มประกายความสว่างให้ตัวปุ่มเล็กน้อย (เหมือนมีแสงตกกระทบ) */
	filter: brightness(1.1);
}

/* เอฟเฟกต์เมื่อกดคลิก (Active) ให้ปุ่มยุบลงไปเหมือนถูกกดจริง */
.btn-booknow-top:active {
	transform: translateY(1px) scale(0.98);
	box-shadow: 0 2px 8px rgba(142, 104, 57, 0.3);
}

.booknow-top-under {
	float: right;
	height: auto;
	width: 14%;

	margin-top: 2%;
	margin-right: 5%;
}

.btn-booknow-top {
	font-family: serithairegular;
	font-size: 1.2rem;
	color: #FFF;
	text-align: center;
	height: 50%;
	width: 100%;
	background-color: #8e6839;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	margin-top: 3%;
	margin-bottom: 2%;
	padding-top: 3%;
	padding-bottom: 3%;
}
.booknow-top-01{
	float: right;
	height: auto;
	width: auto;
	margin-top: 1.5%;
	margin-right: 5%;
}
.btn-booknow-top-01 {
	font-family: 'serithairegular', sans-serif;
	font-size: 1.1rem; /* ปรับลดลงเล็กน้อยเพื่อให้ดูสมส่วนโมเดิร์นขึ้น */
	color: #FFF;
	text-align: center;
	
	/* ปรับโครงสร้างขนาดและการจัดวาง */
	width: auto; /* แนะนำให้ใช้ auto หรือกำหนดพิกเซล เช่น 160px แทน 100% เพื่อไม่ให้ยาวล้นบาร์ */
	min-width: 140px; 
	padding: 10px 24px; /* ใช้ padding แทนการฟิกซ์ความสูง % เพื่อให้ปุ่มสมมาตรทุกหน้าจอ */
	
	background-color: #8e6839;
	border: none; /* ลบขอบเดิมออกทั้งหมด */
	border-radius: 25px; /* ปรับให้ขอบมนทรงแคปซูล เพิ่มความโมเดิร์นและดูเป็นมิตรน่ากด */
	cursor: pointer;
	
	/* ดันเงาจางๆ โทนสีทองผสมดำ เพื่อให้ปุ่มดูลอยมีมิติ */
	box-shadow: 0 4px 15px rgba(142, 104, 57, 0.25);
	
	/* ตั้งค่า Transition สำหรับอนิเมชั่นแบบลื่นไหลระดับพรีเมียม */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	
	/* จัดการส่วนที่อาจติดมาจากระบบเดิม */
	margin-top: 3%;
	margin-bottom: 2%;
	display: inline-block;
	outline: none;
	-webkit-appearance: none; /* ล้างค่าหน้าตาปุ่มเริ่มต้นของไอโฟน/ซาฟารี */
}

/* =========================================
   อนิเมชั่นเมื่อเอาเมาส์มาวาง (Hover Effect)
========================================= */
.btn-booknow-top-01:hover {
	background-color: #76542b; /* ปรับสีทองให้เข้มขึ้นเล็กน้อยเพิ่มมิติ */
	color: #FFF;
	
	/* อนิเมชั่นขยายตัวขึ้น 3% + ดันปุ่มลอยขึ้นข้างบนเล็กน้อย */
	transform: translateY(-2px) scale(1.03);
	
	/* เพิ่มความฟุ้งของเงาตามการลอยของปุ่ม เพื่อให้สมจริง */
	box-shadow: 0 8px 25px rgba(142, 104, 57, 0.45);
	
	/* เพิ่มประกายความสว่างให้ตัวปุ่มเล็กน้อย (เหมือนมีแสงตกกระทบ) */
	filter: brightness(1.1);
}

/* เอฟเฟกต์เมื่อกดคลิก (Active) ให้ปุ่มยุบลงไปเหมือนถูกกดจริง */
.btn-booknow-top-01:active {
	transform: translateY(1px) scale(0.98);
	box-shadow: 0 2px 8px rgba(142, 104, 57, 0.3);
}

.banner {
	float: left;
	width: 100%;
}
.banner #slide1 .splide__track .splide__list .splide__slide img {
	height: 100vh;
	width: 100%;
}

.banner-etc {
	float: left;
	width: 100%;
}
/* 1. ตัดขอบที่ตัว Track ของ Splide (สำคัญที่สุดในการสไลด์) */
.banner-etc.image #slide1 .splide__track {
	border-radius: 12px !important;
	overflow: hidden !important;
	/* แก้ปัญหา Rendering Bug บน Safari/iOS มือถือ */
	-webkit-mask-image: -webkit-radial-gradient(white, black) !important;
	isolation: isolate !important;
}

/* 2. กำหนดให้สไลด์แต่ละแผ่นไม่ล้นกรอบ */
.banner-etc.image #slide1 .splide__slide {
	border-radius: 12px !important;
	overflow: hidden !important;
	/* บังคับเบราว์เซอร์ให้ประมวลผลมุมโค้งให้ถูกต้อง */
	-webkit-backface-visibility: hidden !important;
	backface-visibility: hidden !important;
	transform: translate3d(0, 0, 0) !important;
}

/* 3. จัดการตัวรูปภาพให้แนบพอดีกรอบมน 100% */
.banner-etc.image #slide1 .splide__track .splide__list .splide__slide img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}
.banner-m-etc {
	float: left;
	width: 100%;
	display: none;
}
.banner-m {
	float: left;
	width: 100%;
	display: none;
}

.box-booknow {
	width: 80%;
	background-color: rgba(255, 255, 255, 0.9);
	float: left;
	height: auto;
	padding-bottom: 5%;
	margin-top: -120px;
	position: absolute;
	z-index: 9999;
	padding-left: 5%;
	padding-top: 2%;
	margin-left: 0%;
	padding-right: 5%;
	border-radius: 12px 12px 0px 0px; 
}
.box-booknow-01 {
	float: left;
	height: auto;
	width: 25%;
	margin-right: 1%;
}
.box-booknow-02 {
	float: left;
	height: auto;
	width: 10%;
	margin-right: 2%;
}

.title-booknow {
	font-family: serithairegular;
	font-size: 1.1rem;
	color: #363636;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 2%;
	margin-left: 5%;
}
.input-booknow {
	float: left;
	height: auto;
	width: 80%;
	margin-top: 1%;
	font-family: serithairegular;
	font-size: 1.2rem;
	margin-left: 5%;
}
.input-booknow-02 {
	float: left;
	height: auto;
	width: 70%;
	margin-top: 4%;
	font-family: serithairegular;
	font-size: 1.2rem;
	margin-left: 2%;
}

#input_from {
	font-family: Noto Sans Thai;
	border-radius: 12px;
	border: 1px solid #666666;
	/* มาตรฐานช่องกรอก (บิล 30 พ.ย. 2026): สูงคงที่ ไม่ใช้ padding เป็น %; Mac และ Windows เท่ากัน */
	box-sizing: border-box;
	height: 44px;
	line-height: normal;
	margin-top: 0;
	width: 100%;
	padding: 0 14px;
	font-size: 1rem;
}
#input_to {
	font-family: Noto Sans Thai;
	border-radius: 12px;
	border: 1px solid #666666;
	/* มาตรฐานช่องกรอก (บิล 30 พ.ย. 2026): สูงคงที่ ไม่ใช้ padding เป็น %; Mac และ Windows เท่ากัน */
	box-sizing: border-box;
	height: 44px;
	line-height: normal;
	margin-top: 0;
	width: 100%;
	padding: 0 14px;
	font-size: 1rem;
}
.btn-input-booknow {
	font-family: serithairegular;
	font-size: 1rem;
	color: #333;
	float: left;
	border-radius: 12px;
	border: 1px solid #666666;
	/* มาตรฐานช่องกรอก (บิล 30 พ.ย. 2026): สูงคงที่ ไม่ใช้ padding เป็น %; Mac และ Windows เท่ากัน */
	box-sizing: border-box;
	height: 44px;
	line-height: normal;
	margin-top: 0;
	width: 100%;
	padding: 0 36px 0 14px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238e6839' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	text-align: center;
	text-align-last: center;
	cursor: pointer;
}
.image{
 
}

@keyframes enter-animation {
	0% {
		transform: translateY(100px);
    opacity: 0;
	}
	100% {
		transform: translateY(0);
    opacity: 1;
	}
}
@media (prefers-reduced-motion: no-preference) {
  .image-animation {
    animation: enter-animation 0.8s 1;
  }
}

/* ปุ่ม “จองตอนนี้” ในแถบจอง (หน้าแรก) สูงเท่าช่องวันที่ / จำนวนคน (44px); บิล 30 พ.ย. 2026 */
  .booknow-top-under .btn-booknow-top-01 { box-sizing: border-box; height: 44px; padding-top: 0; padding-bottom: 0; line-height: 44px; }

}
