@charset "utf-8";
@media screen and (max-width: 670px){
.header {
	float: left;
	height: auto;
	width: 100%;
}
.box-header-top {
	float: left;
	height: auto;
	width: 100%;
background: #f0f0f0;
background: linear-gradient(280deg,rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
}
.box-mq {
	background-image: url(../images/icon-mq.png);
	background-repeat: no-repeat;
	background-position: left 10px;
	background-size: 7%;
	float: left;
	height: auto;
	width: 80%;
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	line-height: 160%;
	margin-left: 5%;
	padding-top: 10px;
	padding-right: 15px;
	padding-bottom: 3px;
	padding-left: 15px;
}
.box-member-top {
	background-image: url(../images/icon-member.png);
	background-repeat: no-repeat;
	background-position: 15px center;
	background-size: 8%;
	float: left;
	height: auto;
	width: 70%;
	padding-top: 10px;
	padding-right: 10%;
	padding-bottom: 10px;
	padding-left: 20%;
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	line-height: 120%;
	margin-top: 5px;
	position: relative; /* สร้างขอบเขตให้ข้อความที่ลอยออกมา */
	display: inline-block;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #CCC;
	border-bottom-color: #CCC;
}
.box-member-top a {
	color: #008d36;
	text-decoration: none;
}
.box-member-top a:hover {
	color: #00CC00;
	text-decoration: none;	
}
.btn-out {
	color: #FFF;
	height: auto;
	width: 20px;
	background-image: url(../images/icon-logout.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100%;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background-color: transparent;
	float: right;
	padding: 2px;
	margin-right: 10px;
}
.hover-text {
	position: absolute; /* ทำให้ข้อความลอยตัว ไม่กินพื้นที่จริง */
	top: 100%;          /* ให้ลอยอยู่ใต้ปุ่มพอดี */
	left: 80%;
	transform: translateX(-50%); /* จัดให้อยู่กึ่งกลางปุ่ม */
	color: red;
	white-space: nowrap; /* ป้องกันข้อความตัดบรรทัดจนเสียทรง */
	opacity: 0;          /* ซ่อนไว้ */
	pointer-events: none; /* ป้องกันไม่ให้เมาส์ไปโดนข้อความแล้วขวางปุ่ม */
	transition: opacity 0.2s ease;
	z-index: 999999;
	font-size: 0.8rem;
	background-color: #FFF;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}
.btn-out:hover + .hover-text {
  opacity: 1; /* กลับมามองเห็นชัดเจน */
}
.box-header-lower {
	float: left;
	height: auto;
	width: 100%;
background: #FFFFFF;
background: linear-gradient(280deg,rgba(255, 255, 255, 1) 0%, rgba(240, 240, 240, 1) 100%);;
}

.logo {
	float: left;
	height: auto;
	width: 15%;
	margin-left: 5%;
	margin-top: 1%;
	text-align: center;
}
.logo img {
	height: auto;
	width: 100%;
}
.box-search-top {
	background-image: url(../images/bg-top-01.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 10rem;
	float: left;
	height: auto;
	width: 90%;
	padding-top: 2%;
	padding-bottom: 2.6%;
	padding-left: 0%;
	margin-left: 5%;
	display: none;
}
.box-search-top-m {
	float: left;
	height: auto;
	width: 30%;
	margin-top: 4%;
	margin-left: 5%;
	
}

.box-search-input {
	float: left;
	height: auto;
	width: 70%;
}
.btn-search-input {
	float: right;
	height: auto;
	width: 95%;
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	padding-top: 1.5%;
	padding-right: 2%;
	padding-bottom: 1.5%;
	padding-left: 4%;
	line-height: 120%;
	border-top-width: 1px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
}

.box-search-go {
	float: left;
	height: auto;
	width: 30%;
}
.btn-search-go {
	float: left;
	height: auto;
	width: 90%;
	font-family: serithairegular;
	color: #333;
	background-color: #f1f84a;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	line-height: 120%;
	border: 1px solid #CCC;
	font-size: 1rem;
	padding-top: 6%;
	padding-right: 8px;
	padding-bottom: 6%;
	padding-left: 8px;
}
.box-cart-top {
	float: right;
	height: auto;
	width: 34%;
	padding-top: 1%;
	padding-bottom: 1%;
	background-image: url(../images/bg-top-02.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 18rem;
}

.icon-cart-top {
	display: inline-flex; /* ใช้ flex เพื่อให้จัดกึ่งกลางรูปได้ง่าย */
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 20px; /* ระยะห่างจากขอบถึงรูป */
	background-color: #FFF;
	border: 1px solid #CCC;
	border-radius: 50%; /* ใช้ 50% แทน 360px เพื่อความชัวร์ว่าเป็นวงกลม */
	cursor: pointer;
	transition: 1s;
	text-decoration: none; /* เอาขีดเส้นใต้ลิ้งก์ออก */
	float: left;
}

/* ปรับรูปภาพให้ขยายตามขนาดพื้นที่โดยไม่เสียสัดส่วน */
.icon-cart-top img {
    max-width: 100%;
    height: auto;
}

/* แถม: เอฟเฟกต์ตอน Hover ให้ดูรู้ว่าเป็นปุ่ม */
.icon-cart-top:hover {
    background-color: #f1f84a;
    border-color: #999;
}



.num-cart-top {
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	text-align: center;
	padding: 5px;
	float: right;
	height: auto;
	width: 30%;
	margin-top: 20px;
	margin-right: 10%;
}
.box-menu {
	float: left;
	height: auto;
	width: 100%;
	background-color: #006e42;
	padding-top: 1%;
	padding-bottom: 1%;
}
.box-menu-type {
	background-color: #f1f84a;
	float: left;
	height: auto;
	width: 45%;
	border-radius: 10px;
	padding-right: 1%;
	padding-left: 2%;
	margin-left: 2%;
	margin-top: 2%;
	padding-top: 2%;
	padding-bottom: 2%;
}
.select-menu-type {
	float: left;
	height: auto;
	width: 10%;
	margin: 1%;
}
.select-menu-type img {
	height: auto;
	width: 100%;
}
.name-menu-type {
	font-family: "Noto Sans Thai";
	font-size: 1rem;
	color: #333;
	float: left;
	height: auto;
	width: 70%;
	margin-left: 15%;
	margin-top: 3%;
}
.menu {
	float: right;
	height: auto;
	width: 55%;
	margin-right: 12%;
	margin-top: 0.8%;
	display: none;
}
.menu ul {
	float: left;
	height: auto;
	width: 100%;
}
.menu ul li {
	font-family: serithairegular;
	font-size: 1rem;
	color: #FFF;
	text-decoration: none;
	float: left;
	height: auto;
	width: auto;
	margin-right: 3%;
	margin-left: 3%;
	list-style-type: none;
}
.menu ul li a {
	color: #FFF;
	text-decoration: none;
}
.menu ul li a:hover {
	color: #EDF449;
	text-decoration: none;
}
.menu-m {
	float: right;
	height: auto;
	width: 20%;
	display: inline-block;
}
.banner {
	float: left;
	height: auto;
	width: 100%;
	display: none;
}
.banner-m {
	float: left;
	height: auto;
	width: 100%;
	display: inline-block;
}


.header .banner #banner-01 .splide__track .splide__list .splide__slide img {
	height: auto;
	width: 100%;
}


.banner-m #banner-02 .splide__track .splide__list .splide__slide img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover; /* เพื่อให้รูปเติมเต็มพื้นที่โดยไม่เสียสัดส่วน */
	float: left;
	margin-left: 0px;
}

#banner-02 .splide__list {
  padding: 0 !important;
  margin: 0 !important;
}

#banner-02 .splide__slide img {
  width: 100% !important;
  display: block;
}



.box-welcome {
	background-color: #EFF649;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 2%;
	margin-bottom: 2%;
}


.box-welcome-in {
	float: left;
	height: auto;
	width: 85%;
	margin-left: 7.5%;
	background-color: #FFF;
	border: 1px dashed #CCC;
	padding-top: 5%;
	padding-bottom: 5%;
}
.box-welcome-in-left {
	float: left;
	height: auto;
	width: 100%;
	border-right-width: 1px;
	border-right-style: dashed;
	border-right-color: #CCC;
}
.title-welcome {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: bold;
	color: #006B40;
	float: left;
	height: auto;
	width: 90%;
	padding-left: 10%;
}
.text-welcome {
	font-family: serithairegular;
	font-size: 1rem;
	line-height: 140%;
	color: #333;
	float: left;
	height: auto;
	width: 90%;
	margin-top: 1%;
	margin-bottom: 1%;
	padding-left: 10%;
}


.box-welcome-in-right {
	float: left;
	height: auto;
	width: 80%;
	margin-top: 1%;
	margin-left: 10%;
}
.title-tel-welcome {
	float: left;
	height: auto;
	width: 80%;
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	padding-top: 10px;
	padding-bottom: 0px;
}
.text-tel-welcome {
	background-image: url(../images/icon-contact-welcome.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 10%;
	float: left;
	height: auto;
	width: 80%;
	font-family: serithairegular;
	font-size: 1rem;
	color: #666;
	padding-left: 15%;
	padding-top: 10px;
	padding-bottom: 10px;
}
.text-tel-welcome a {
	color: #666;
	text-decoration: none;
}
.text-tel-welcome a:hover {
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
	color: #006E42;
}
.box-title-home {
	float: left;
	height: auto;
	width: 90%;
	margin-bottom: 8%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #006E42;
	margin-left: 5%;
	margin-top: 8%;
}
.title-home {
	font-family: "Noto Sans Thai";
	color: #006E42;
	height: auto;
	width: 60%;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #006E42;
	padding-bottom: 1%;
	float: left;
	font-size: 1rem;
}
.box-type-car {
	float: left;
	height: auto;
	width: 100%;
	margin-left: 0%;
}
.title-home {
}



.type-car-list {
	height: auto;
	width: 100%;
}

.logo-car {
	float: left;
	height: auto;
	width: 100%;
	text-align: center;
}
.header .box-type-car #picture-01 .splide__track .splide__list .splide__slide .type-car-list .logo-car a img {
	height: auto;
	width: 100%;
}

.name-car {
	font-family: serithairegular;
	font-size: 1rem;
	color: #333;
	text-align: center;
	float: left;
	height: auto;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 30px;
}
.name-car a {
	color: #333;
	text-decoration: none;
}
/* ปุ่มเปิดการค้นหาแบบ Custom Icon */
        .btn-open {
	background: #28a745;
	border: none;
	padding: 12px 20px;
	color: white;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	font-family: serithairegular;
        }

        /* หน้าจอ Popup */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #28a745; /* สีเขียวหลัก */
            display: none; /* ปิดไว้ก่อน */
            z-index: 9999;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* ปุ่มปิด (แบบวงกลม) */
        .close-container {
            position: absolute;
            top: 20px;
            right: 20px;
        }

        .btn-close {
            background: rgba(0, 0, 0, 0.1);
            border: 2px solid white;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }

        .btn-close:hover { background: rgba(255, 255, 255, 0.2); }

        /* ส่วนเนื้อหาภายใน */
        .search-box {
	width: 90%;
	max-width: 500px;
	text-align: center;
	font-family: serithairegular;
	font-size: 1rem;
        }

        .search-box h2 {
	color: white;
	margin-bottom: 25px;
	font-weight: 300;
	font-family: serithairegular;
	font-size: 1rem;
        }

        /* ฟอร์มค้นหา */
        .input-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .input-group input {
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	outline: none;
	width: 85%;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	font-family: "Noto Sans Thai";
	line-height: 160%;
        }

        .btn-search-submit {
	padding: 15px;
	background: #1e7e34;
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 1rem;
	cursor: pointer;
	font-weight: bold;
	font-family: serithairegular;
        }

   
      
       
}
