/**
* Template Name: Restaurantly
* Template URL: https://bootstrapmade.com/restaurantly-restaurant-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Playfair Display", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - MaLoei (Green & Gold) */
:root { 
  --background-color: #FAF7F0;        /* พื้นหลังหลัก (ครีมอ่อน โทนเขียว-ทอง) */
  --default-color: #1F2D25;           /* สีตัวอักษรทั่วไป (เทาเข้มเกือบดำ ให้อ่านง่าย) */
  --heading-color: #585777;           /* สีหัวข้อ (เขียวเข้ม) */
  --accent-color: #C0A062;            /* สีเน้น/ลิงก์ (สีทอง gold, เส้นใต้เมนู Home และ Subtitle) */
  --surface-color: #FFFFFF;           /* สีพื้นกล่อง/การ์ด (สีเทาอ่อนๆ เพื่อให้ตัดกับพื้นขาวเล็กน้อย) */
  --contrast-color: #FFFFFF;          /* สีตัดเพื่อให้อ่านง่าย (ข้อความสีขาวบนปุ่ม) */
  
  /* ชุดสีปุ่มตามหน้าเว็บในรูปภาพ */
  --button-primary: #585777;          /* สีสำหรับปุ่ม Login (ขวาบน) และ Order Now (เขียวเข้ม) */
  --contrast-green: #C0A062;          /* สีสำหรับปุ่ม Reservations (ปรับเป็นสีน้ำตาลอ่อน/เบจ ตามรูป) */
  --contrast-purple: #555078;         /* สีสำหรับปุ่ม Login to Reorder (สีเทาอมน้ำตาลเข้ม) */
  --contrast-red: #555078;            /* สีสำหรับปุ่ม Buy Gift Voucher (สีเทาอมน้ำตาลเข้ม โทนเดียวกับ Reorder) */
  
  --topbar-bg-color: #343449;         /* สีพื้นหลังแถบบนสุด (ดำสนิท - คงไว้ตามเดิมถ้ามีแถบ Topbar ซ่อนอยู่) */
}

/* Nav Menu Colors */
:root {
  --nav-color: #1F2D25;               /* สีข้อความเมนู (สีเทาเข้ม) */
  --nav-hover-color: #C0A062;         /* สีตอนเอาเมาส์ชี้เมนู/เมนูที่กำลังเลือก (สีทองหม่น) */
  --nav-mobile-background-color: #FFFFFF; /* พื้นหลังเมนูมือถือ (สีขาว) */
  --nav-dropdown-background-color: #FFFFFF; 
  --nav-dropdown-color: #1F2D25;      
  --nav-dropdown-hover-color: #C0A062; 
}

/* Color Presets */
.light-background {
  --background-color: #FFFDF7;
  --surface-color: #FFFFFF;
}

.dark-background {
  --background-color: #343449;        /* โทนดาร์กใช้สีเทาดำเข้ม */
  --default-color: #E0E0E0;           /* ตัวหนังสือสว่างขึ้นให้อ่านง่าย */
  --heading-color: #FFFFFF;           /* หัวข้อสีขาว */
  --surface-color: rgba(88, 87, 119, 0.85); /* กล่องพื้นหลังโปร่งแสงในโหมดมืด */
  --contrast-color: #FFFFFF;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  /* color: color-mix(in srgb, var(--accent-color), transparent 25%); */
  text-decoration: none;
  	top:1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--default-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #343449;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .topbar {
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
  background-color: #ffffff;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--accent-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--default-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.header .topbar .languages ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--accent-color);
}

.header .topbar .languages ul a {
  color: var(--default-color);
}

.header .topbar .languages ul a:hover {
  color: var(--accent-color);
}

.header .topbar .languages ul li+li {
  padding-left: 10px;
}

.header .topbar .languages ul li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  content: "/";
}

.header .branding {
  background-color: #ffffff;
  min-height: 60px;
  padding: 10px 0;
  transition: 0.3s;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}




.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-book-a-table,
.header .btn-book-a-table:focus {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 24px;
  margin: 0 5px 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-book-a-table:hover,
.header .btn-book-a-table:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

.scrolled .header .branding {
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #343449;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* index-page */

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 77px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--accent-color);
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  /* background: color-mix(in srgb, var(--background-color), transparent 50%); */
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero h2 span {
  color: var(--accent-color);
}


.span-color {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}
.cta-btn {
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0px 4px 10px rgba(255, 152, 0, 0.2); /* เพิ่มเงาสีส้มอ่อน */
}

.cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 85%, black);
  border-color: color-mix(in srgb, var(--accent-color) 85%, black);
  transform: translateY(-2px); /* เอฟเฟกต์ปุ่มเด้งลอยขึ้น */
  box-shadow: 0px 6px 15px rgba(255, 152, 0, 0.3);
}

.cta-btn2 {
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  background: transparent;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cta-btn2:hover {
  background: var(--accent-color);
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(255, 152, 0, 0.2);
}

.cta-btn3 {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  background: transparent;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 0px 10px 10px 0px;
  transition: 0.3s;
  flex-shrink: 0;
}

.cta-btn3:hover {
  background: var(--accent-color);
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
}
.cta-btn-cl {
  color: var(--contrast-red);
  border: 2px solid var(--contrast-red);
  background: transparent;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.cta-btn-cl:hover {
  background: var(--contrast-red);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.2);
}


.cta-btn-ckout {
  color:#ffffff;
  border: 2px solid var(--contrast-red);
  background-color: var(--contrast-red);
  font-weight: 400;
  font-size: 16px;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  transition: 0.3s;
  flex-shrink: 0;
  margin-right: 5px;
  margin-left: 5px;
}





.cta-btn-color {
  background-color:var(--accent-color);
  color:#ffffff;
}

.cta-btn-red {
  border: 2px solid var(--contrast-red);
  background-color:var(--contrast-red);
  color:#ffffff;
  
}


.cta-btn:first-child {
  /* margin-right: 10px; */
}

.cta-btn:hover , .cta-btn2:hover ,.cta-btn3:hover ,.cta-btn-cl:hover ,.cta-btn-ckout:hover {
  /* background: color-mix(in srgb, var(--accent-color), transparent 20%); */
  position:relative;
	top:1px;
}





@media (max-width: 480px) {
 .cta-btn {
    font-size: 14px;
  }
   .cta-btn2 {
    font-size: 14px;
  }

   .cta-btn3 {
    font-size: 14px;
  }

  .fosds  {
    font-size: 12px; 
  }


}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
    .fosds  {
    font-size: 12px; 
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: url("../img/about-bg.jpg") center center;
  background-size: cover;
  position: relative;
  padding: 80px 0;
}

.about:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 12%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.about .container {
  position: relative;
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .about-img {
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 80%);
  transition: 0.3s;
}

.about .about-img:hover {
  transform: scale(1.03);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.why-us .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.why-us .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.why-us .card-item h4 a {
  color: var(--heading-color);
}

.why-us .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.why-us .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.why-us .card-item:hover span,
.why-us .card-item:hover h4 a,
.why-us .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

.menu .menu-filters {
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.menu .menu-filters li {
  color: var(--default-color);
  margin-bottom: 10px;
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px 10px 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: all ease-in-out 0.3s;
  font-family: var(--heading-font);
}

.menu .menu-filters li:hover,
.menu .menu-filters li.filter-active {
  color: var(--accent-color);
}

.menu .menu-filters li:last-child {
  margin-right: 0;
}

.menu .menu-item {
  margin-top: 50px;
  position: relative;
}

.menu .menu-img {
  width: 80px;
  border-radius: 50%;
  float: left;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.menu .menu-content {
  margin-left: 95px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.menu .menu-content::after {
  content: "......................................................................" "...................................................................." "....................................................................";
  position: absolute;
  left: 20px;
  right: 0;
  top: -4px;
  z-index: 1;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.menu .menu-content a {
  /* color: var(--heading-color); */
  /* background: var(--background-color); */
  padding-right: 10px;
  /* position: relative; */
  z-index: 3;
  font-weight: 700;
  transition: 0.3s;
}

.menu .menu-content a:hover {
  color: var(--accent-color);
}

.menu .menu-content span {
  background: var(--background-color);
  color: var(--accent-color);
  position: relative;
  z-index: 3;
  padding: 0 10px;
  font-weight: 600;
}

.menu .menu-ingredients {
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Specials Section
--------------------------------------------------------------*/
.specials {
  overflow: hidden;
}

.specials .nav-tabs {
  border: 0;
}

.specials .nav-link {
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--heading-color);
  border-radius: 0;
  border-right: 2px solid var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.specials .nav-link:hover {
  color: var(--accent-color);
}

.specials .nav-link.active {
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.specials .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.specials .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.specials .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.specials .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .specials .nav-link {
    border: 0;
    padding: 15px;
  }

  .specials .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events {
  --default-color: #ffffff;
  --background-color: #000000;
  --heading-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.events .slider-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.events:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.events .section-title h2 {
  color: #ffffff;
}

.events .container {
  position: relative;
  z-index: 3;
}

.events .event-item h3 {
  font-weight: 700;
  font-size: 30px;
}

.events .event-item .price {
  font-size: 26px;
  font-family: var(--default-font);
  font-weight: 700;
  margin-bottom: 15px;
}

.events .event-item .price span {
  border-bottom: 2px solid var(--accent-color);
}

.events .event-item ul {
  list-style: none;
  padding: 0;
}

.events .event-item ul li {
  padding-bottom: 10px;
}

.events .event-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.events .event-item p:last-child {
  margin-bottom: 0;
}

.events .swiper-wrapper {
  height: auto;
}

.events .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.events .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.events .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Book A Table Section
--------------------------------------------------------------*/
.book-a-table .reservation-img {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.book-a-table .reservation-form-bg {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.book-a-table .php-email-form {
  padding: 30px;
}

@media (max-width: 575px) {
  .book-a-table .php-email-form {
    padding: 20px;
  }
}

.book-a-table .php-email-form input[type=text],
.book-a-table .php-email-form input[type=email],
.book-a-table .php-email-form input[type=number],
.book-a-table .php-email-form input[type=date],
.book-a-table .php-email-form input[type=time],
.book-a-table .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 20%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.book-a-table .php-email-form input[type=text]:focus,
.book-a-table .php-email-form input[type=email]:focus,
.book-a-table .php-email-form input[type=number]:focus,
.book-a-table .php-email-form input[type=date]:focus,
.book-a-table .php-email-form input[type=time]:focus,
.book-a-table .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.book-a-table .php-email-form input[type=text]::placeholder,
.book-a-table .php-email-form input[type=email]::placeholder,
.book-a-table .php-email-form input[type=number]::placeholder,
.book-a-table .php-email-form input[type=date]::placeholder,
.book-a-table .php-email-form input[type=time]::placeholder,
.book-a-table .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.book-a-table .php-email-form button[type=submit] {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  background: transparent;
  padding: 14px 60px;
  transition: 0.4s;
  border-radius: 50px;
}

.book-a-table .php-email-form button[type=submit]:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Chefs Section
--------------------------------------------------------------*/
.chefs {
  --default-color: #ffffff;
  --contrast-color: #ffffff;
}

.chefs .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.chefs .member .member-info {
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

.chefs .member .member-info-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  transition: bottom 0.4s;
}

.chefs .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.chefs .member .member-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.chefs .member .social {
  position: absolute;
  left: 0;
  bottom: -38px;
  right: 0;
  height: 48px;
  transition: bottom ease-in-out 0.4s;
  text-align: center;
}

.chefs .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 10px;
  display: inline-block;
}

.chefs .member .social a:hover {
  color: var(--accent-color);
}

.chefs .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.chefs .member:hover .member-info {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  transition: 0.4s;
}

.chefs .member:hover .member-info-content {
  bottom: 60px;
  transition: bottom 0.4s;
}

.chefs .member:hover .social {
  bottom: 0;
  transition: bottom ease-in-out 0.4s;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  --contrast-color: #343449;  /* gold needs dark text: white on #C0A062 is 2.5:1 */
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

 #getaddress_dropdown  {
  margin-top:0.75rem;
  margin-bottom: 5px;
  width:100% !important;
 }

 #getaddress_dropdown option  {
  color: var(--default-color);
  background-color: var(--background-color);
 }
 

 #getaddress_dropdown ,
 .inputselect ,
 input[type=text],
 input[type=email],
 input[type=number],
 input[type=date],
 input[type=time],
 textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}


  #getaddress_dropdown:focus,
 .inputselect:focus,
 input[type=text]:focus,
 input[type=email]:focus,
  input[type=number]:focus,
 input[type=date]:focus,
 input[type=time]:focus,
 textarea:focus {
  border-color: var(--accent-color);
}

  #getaddress_dropdown::placeholder,
 .inputselect::placeholder,
 input[type=text]::placeholder,
 input[type=email]::placeholder,
  input[type=number]::placeholder,
 input[type=date]::placeholder,
 input[type=time]::placeholder,

 textarea::placeholder {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

 button[type=submit] {
  color:  #ffffff;       
  /* background: none; */
  border: 2px solid var(--accent-color);
  padding: 8px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

 button[type=submit]:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}




.footer22 {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 10px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--background-color);
    width: 100%;
    transition: 0.3s;
}






.input-container {
  display: flex;
  align-items: center;
  border: 1px solid #006A38; color: var(--default-color);  
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);

  padding: .1rem .1rem;

  /* width: 500px; */
  border-radius: 4px;
}

.input-field , .getaddress_input {
  flex: 1;
  background-color: transparent;
  border: none;
  color: #006A38;
  outline: none;
  font-size: 14px;
  padding: .375rem .75rem;
}

.input-field::placeholder , .getaddress_input::placeholder {
  color: #006A38;
}

.toggle-button {
  background-color: #ededed;
  border: none;
  padding: 7px;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#getaddress_button {
    background-color: #006A38;
     color: #ffffff;
    border: none;
    padding: 9px;
    cursor: pointer;
    border-radius: 0px 6px 6px 0px;;
    align-items: center;
    justify-content: center;
}



.menusidebar , .menusidebarpay {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    /* background-color: rgba(12, 11, 9, 0.61); */

    font-weight: 400;
    font-size: 14px;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    transition: 0.3s;
    flex-shrink: 0;
    margin-right: 5px;
    margin-left: 5px;
}




.menusidebar_no {
    color: var(--default-color);
    border: 2px solid var(--default-color);
    background-color: rgba(12, 11, 9, 0.61);

    font-weight: 400;
    font-size: 14px;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    transition: 0.3s;
    flex-shrink: 0;
    margin-right: 5px;
    margin-left: 5px;
}

.category-scroll-all {
   background-color: #ffffff;
}

.category-scroll {
  display: flex;
  overflow-x: auto;
  gap: 2px;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  cursor: grab; /* เพิ่มบรรทัดนี้ เพื่อให้เมาส์เป็นรูปมือบน PC */
}

.category-scroll:active {
  cursor: grabbing; /* เมื่อคลิกค้างให้เปลี่ยนเป็นรูปมือกำ */
}

.category-btn {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.category-btn:hover {
  background-color: var(--accent-color);
}




.food-list {
  display: grid;
  /* display: flex; */
  flex-direction: column;
  grid-template-columns: repeat(auto-fit, minmax(260px, 365px));

  gap: 16px;
  /* max-width: 880px; */
  /* margin: auto; */
  padding: 10px;

  margin-left: auto;
  margin-right: auto;
}

.food-card {
  display: flex;
  align-items: center;          /* จัดรูปกับข้อความให้อยู่กลาง */
  gap: 14px;

  border: 1px solid var(--accent-color);
  border-radius: 14px;
  background: #ffffff;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  padding: 14px;

  /* max-width: 420px; */

}

.category-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);

    padding: 6px 14px;
    margin-top: 10px;

    width: 100%;
    grid-column: 1 / -1;  
    
    margin: 0 auto;
}


.food-img {
  width: 80px;
  height: 80px;

  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;   /* ⭐ สำคัญ: ไม่ให้รูปโดนบีบ */
}




.food-img2 {
  /* width: 100px; */
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  padding: 2px;
}



.food-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.food-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);
}

.food-description {
  font-size: 13px;
  /* color: #ffffff; */
  margin: 4px 0 8px;
  line-height: 1.3;
}

.food-price {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.add-btn {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s;
}

.add-btn:hover {
  background-color: var(--accent-color);
}

.order_de{
      color: var(--contrast-red);
}


@media (max-width: 768px) {
  .food-list {
   grid-template-columns: 1fr;
  }
  .food-img {
    width: 100px;
    height: 100px;
  }

}


.footer_order {
    font-size: 20px;
    color: #ffffff;

    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 10px;
 
    /* background-color: var(--background-color); */
    /* border-bottom: 1px solid var(--background-color); */

    background-color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);

    width: 100%;
    transition: 0.3s;
}



.rettext {
    font-size: 20px;
    color:  var(--accent-color);
}

.rettext-t2{
    font-size: 18px;
    color:  var(--accent-color);
}



.REQUIRED {
 
    background-color: #ff1b1b;
    border-radius: 5px;
    color: #ffffff;
    font-size: 12px;
    padding: 0px 10px;
    float: right;

}

.OPTIONAL {
 
  background-color: #cfcfcf;
  border-radius: 5px;
  color: #424242;
  font-size: 12px;
  padding: 0px 10px;
  float: right;

}




/* The Modal (background) */
.reveal-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

  /* max-width: 480px;
            margin-left: auto;
    margin-right: auto; */
}

/* Modal Content/Box */
.modal-content {
  /* background-color: #fefefe; */
    background-color: var(--background-color);
  margin: auto; 
  padding: 20px;
  border: 1px solid #888;

  width: 100%; /* Could be more or less, depending on screen size */
  max-width: 600px;
  height: 100vh;


}


.modal-content-or {

  /* background-color: #fefefe; */
    background-color: var(--background-color);
  /* margin: auto;  */
  /* padding: 20px; */
  /* border: 1px solid #888; */
  width: 100%; /* Could be more or less, depending on screen size */
  height:100%;

  /* max-width: 480px; */
  /* position: fixed; */
}

#basket {
  background-color: var(--background-color);
  
}

#basket .inner {
    /* max-height: 300px; */
    overflow-y: scroll;
    overflow-x: hidden;
    height:85vh;
}



/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.addText_Order {
  border: 1px solid var(--accent-color);
  color: #ffffff;
  background-color: var(--accent-color);
  width: 100%;
  padding: 8px 9px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
} 

  /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */

 

  .checkbox-row {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid #ccc;
    margin-bottom: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s;
    color: var(--accent-color);
  }


    /* .checkbox-row.checked {
      background-color: #d7f5d7;
    } */

    .checked-checkbox-row {
      background-color: var(--accent-color);
      color: var(--default-color);
      border: 1px solid var(--accent-color);
    }

    .text-row {
      display: flex;
      justify-content: space-between;
      width: 100%;
      font-size: 16px;
    }

    .left-text {
      text-align: left;
    }

    .right-text {
      text-align: right;
    }



    .option-checkbox {
        display: none;
    }

      /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */


        .order-list {
        /* max-width: 600px; */
        margin: auto;
        
        /* background-color: #585777;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3); */
         border: 1px solid var(--accent-color);

      }

      .order-item {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          padding: 9px 0;
          /* border-bottom: 1px solid #333; */
          flex-wrap: nowrap;
          gap: 6px;
      }

      .order-item-de {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          padding: 2px 0;
          /* border-bottom: 1px solid #333; */
          flex-wrap: nowrap;
          gap: 6px;
      }

      .order-item:last-child {
        border-bottom: none;
      }

      .item-name {
      /* color: #ffffff; */
      /* font-weight: bold; */
      font-size: 16px;
      flex: 1;
      word-break: break-word;
      white-space: normal;
      line-height: 21px;
      }

      .quantity-control {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 10px;
        flex-shrink: 0;
      }

      .qty-btn {
        /* background-color: gold;
        border: none;
        color: black;
        font-size: 20px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-weight: bold; */

        color: var(--accent-color);
        font-size: 25px;

      }



      .item-price {
         color: var(--default-color);
        min-width: 70px;
        text-align: right;
        font-size: 1em;
        flex-shrink: 0;
         padding: 0px 9px;
      }

        .item-price2 {
         color: var(--default-color);
        min-width: 70px;
        text-align: right;
        font-size: 1em;
        flex-shrink: 0;
         padding: 0px 3px;
      }


      .total-row {
         /* padding: 0px 9px; */
        /* margin-top: 5px; */
        padding: 4px 0px;
        /* margin-top: 5px; */
        font-size: 15px;
        font-weight: bold;
        text-align: right;
        color: var(--accent-color);
        /* border-top: 1px solid #333; */
      }

    .total-row span {
        padding: 0px 9px;
      }
          
  
  /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */
  /* ////////////////////////////////////////////////////////////////// */

      .okgotocheckout_no {
        color: var(--heading-color);
        border: 2px solid var(--accent-color);
        font-weight: 400;
        font-size: 14px;
        /* text-transform: uppercase; */
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 30px;
        border-radius: 50px;
        transition: 0.3s;
        flex-shrink: 0;
        margin-right: 5px;
        margin-left: 5px;
      }


      .inputsubmit_pay {
         color: var(--accent-color);
        border: 2px solid var(--accent-color);
         background-color:#ffffff;
        font-weight: 400;
        /* font-size: 14px; */
        /* text-transform: uppercase; */
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 30px;
        border-radius: 50px;
        transition: 0.3s;
        flex-shrink: 0;
        margin-right: 5px;
        margin-left: 5px;
       
        width: 100%;
      }


      .proceedtopayment {
        background-color: var(--accent-color);
        color: var(--default-color);
        border: 2px solid var(--accent-color);
        font-weight: 400;
        /* font-size: 14px; */
        /* text-transform: uppercase; */
        letter-spacing: 1px;
        display: inline-block;
        padding: 8px 30px;
        border-radius: 50px;
        transition: 0.3s;
        flex-shrink: 0;
        margin-right: 5px;
        margin-left: 5px;
        width: 100%;
      }

      .fs20 {
        font-size: 20px;
      }
        

      .cardv2 {
          border: 1px solid var(--accent-color);
          color: var(--default-color);
          padding: 16px 20px;
          border-radius: 10px;
      }




      
        /*Vertical Steps*/
.list-group.vertical-steps{
  padding-left:10px;

}
.list-group-item{
  /* background-color: var(--background-color); */
      background-color: 
 color-mix(in srgb, var(--background-color) 90%, white 5%);
    color:var(--accent-color);
}


.list-group.vertical-steps .list-group-item{

  background-color: '';
  border:none;
  border-left:3px solid #ece5dd;
  box-sizing:border-box;
  border-radius:0;
  counter-increment: step-counter;
  padding-left:20px;
  padding-right:0px;
  padding-bottom:20px;  
  padding-top:0px;
}

.list-group.vertical-steps .list-group-item.active{
  background-color:transparent;
  color:inherit;
}
.list-group.vertical-steps .list-group-item:last-child{
  border-left:3px solid transparent;
  padding-bottom:0;
}
.list-group.vertical-steps .list-group-item::before {
  border-radius: 50%;
  background-color:#ece5dd;
  color:#555;
  content: counter(step-counter);
  display:inline-block;
  float:left;
  height:25px;
  line-height:25px;
  margin-left:-35px;
  text-align:center;  
  width:25px;  
}
.list-group.vertical-steps .list-group-item span,
.list-group.vertical-steps .list-group-item a{
  display:block;
  overflow:hidden;
  padding-top:2px;
}

/*Active/ Completed States*/
.list-group.vertical-steps .list-group-item.active::before{
  background-color:#585777;
  color:#fff;
}
.list-group.vertical-steps .list-group-item.completed{
  border-left:3px solid #585777;
}
.list-group.vertical-steps .list-group-item.completed::before{
  background-color:#585777;
  color:#fff;
}
.list-group.vertical-steps .list-group-item.completed:last-child{
  border-left:3px solid transparent;
}

li::marker {
  content: '';
  font-size: 1.2em;
}

.view_purchaseorder table {
 width: 100%;
}

#placeOrderBtn table {
 width: 100%;
}


.fosds  {
  font-size: 14px; 
    color:var(--accent-color);
   
}

.xvb {
 

/* background-color: #ffffff; */
    border-radius: 0px;
    /* border: 1px solid #dcdcdc; */
    /* display: inline-block; */
    cursor: pointer;
    /* color: var(--accent-color); */
    font-family: Arial;
    font-size: 17px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    /* text-shadow: 0px 1px 1px #ffffff; */
    width: 100%;
    text-align: center;

    color: red;
    /* font-size: 48px; */
    font-weight: bold;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;


}

.viewText {
       color:var(--accent-color);
}

.c-v{
   color:red;
   font-weight: bold;

}

.voucher_img {
   width: 100%;
   max-width: 500px;
}

#variantOptions {
    max-height: 100vh; 
    overflow-y: auto;
    overflow-x: hidden;
     
}


@media (min-width: 480px) {
    .sm\:max-w-md {
        max-width: 480px;
    }

    /* .header {
        max-width: 480px;
            margin-left: auto;
    margin-right: auto;
    } */
}

.size-full {
    width: 100%;
    height: 100%;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}



::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}





.payment-loading {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #f5f7fa, #e4ebf5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: system-ui, -apple-system, sans-serif;
}

/* .payment-loading h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111827;
} */


.payment-loading .card {
    background: #fff;
    padding: 20px 8px;
    border-radius: 17px;
    text-align: center;
    width: 360px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.payment-loading .spinner {
  width: 56px;
  height: 56px;
  border: 5px solid #e0e0e0;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.payment-loading .desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.payment-loading .secure {
  font-size: 20px;
  margin-bottom: 10px;
  color: #16a34a;
  font-weight: 500;
}


.menu-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px;
}

/* ปุ่มเมนู */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 11px 25px;
    background: linear-gradient(145deg, #ffffff, #f1f1f1);
    border-radius: 44px;
    text-decoration: none;
    color: var(--surface-color);
    font-size: 17px;
    font-weight: 600;
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

/* icon */
.menu-btn img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* ให้ span รับสีจาก parent */
.menu-btn span {
    color: inherit;
}

/* hover effect */
.menu-btn:hover {
    background: linear-gradient(145deg, var(--accent-color), var(--accent-color));
    color: var(--surface-color);
    transform: translateY(-4px);

    /* box-shadow:
        10px 10px 18px rgba(0,0,0,0.18),
        -6px -6px 14px rgba(255,255,255,0.6); */
}

.login-status.dark {
    margin: 14px auto 20px;
    padding: 8px 16px;

    width: fit-content;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 14px;
    font-weight: 500;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* ข้อความ */
.login-status.dark .label {
    color: rgba(255, 255, 255, 0.75);
}

.login-status.dark .user {
    color: #ffffff;
    font-weight: 700;
}




/* สำหรับหน้าจอ PC */
@media (min-width: 992px) {

  
    #basket.reveal-modal2 {
        display: block !important; /* บังคับให้แสดงตลอดเวลาในหน้า PC */
        position: sticky;           /* ให้เลื่อนตามหน้าจอเวลา Scroll */
        top: 120px;                 /* ระยะห่างจากด้านบน */
        width: 100%;                /* กว้างเต็มคอลัมน์ที่มันอยู่ */
        height: auto;               /* สูงตามเนื้อหา */
        transform: none;            /* ยกเลิกการจัดกึ่งกลางของแบบมือถือ */
        left: auto;                 /* ยกเลิกค่าของแบบมือถือ */
        background-color: #1a1814;  /* สีพื้นหลังตามธีมคุณ */
        border: 1px solid #625b4b;
        z-index: 1;                 /* ไม่ต้องทับหน้าจอเหมือน Modal */
        box-shadow: none;
    }
    /* ซ่อนปุ่ม Footer ด้านล่างในหน้าจอ PC เพราะมีตะกร้าด้านข้างแล้ว */
    .footer_order {
        display: none !important;
    }

    /* ปรับความสูงของรายการอาหารให้พอดี */
    .food-list {
        margin-bottom: 50px;
    }

    .addText_Order {
      background-color: #FDF9EE;
      border: 1px solid #FDF9EE;
      color: var(--accent-color);
    }

  .basket-pc-container {
      border: 1px solid #FDF9EE;
      position: -webkit-sticky; /* รองรับ Safari */
      position: sticky;
      
      /* 1. ระยะห่างจากขอบบน "ขณะที่กำลังเลื่อน" (Sticky) */
      /* ถ้าต้องการให้ตอนเลื่อนลงไปแล้ว มันไม่ชิดขอบบนเป๊ะ ให้เพิ่มตัวเลขนี้ */
      top: 150px; 
      
      /* 2. ระยะห่างจากองค์ประกอบด้านบน "ตอนที่อยู่บนสุด" (Static) */
      /* ตัวนี้จะช่วยดันให้ตะกร้าลงมาข้างล่าง ไม่ไปจ่ออยู่บนสุดของ Column */
      margin-top: 50px !important; 

      height: fit-content;

      z-index: 10;
  }

  .showview_orders {
     
      max-height: 80vh;
      overflow-y: auto;
  }

    /* ปรับแต่งแถบ Scrollbar ของตะกร้าให้ดูสวยงาม (Optional) */
    .basket-pc-container::-webkit-scrollbar {
        width: 5px;
    }
    .basket-pc-container::-webkit-scrollbar-thumb {
        background: #FDF9EE;
        border-radius: 10px;
    }
  .category-btn {
    padding: 12px 18px;
    font-size: 18px;
  }

  .total-row {

      padding: 10px 0px;

      font-size: 20px;

  }

}

/* ส่วนของมือถือ (ที่คุณมีอยู่แล้ว) */
@media (max-width: 991px) {
    .reveal-modal2 {
        display: none; 
        position: fixed;
        z-index: 999;
        /* left: 50%; */
        top: 0%;
        width: 100%; /* ในมือถือให้กว้าง 90% */
        height: 100%;
        max-height: 100%;
        /* transform: translate(-50%, -50%); */
        overflow: auto;
        background-color: #1a1814;


    }



}


.navmenu .dropdown > a::after {
        content: none; 
    }

.navmenu .dropdown-menu {
    display: none !important; 
    position: absolute; 
    top: 100%; /* ให้อยู่ใต้ปุ่ม Menu พอดี */
    left: 0;
    
    /* ตกแต่งกล่องให้เหมือนในรูปที่คุณแนบมา */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
}

/* 2. แสดงผลเมื่อคลิก (Bootstrap จะเติม class 'show' ให้อัตโนมัติเมื่อกด) */
.navmenu .dropdown .dropdown-menu.show {
    display: flex !important; /* ใช้ flex เพื่อให้เมนูเรียงเป็นแนวนอนตามรูปของคุณ */
    flex-direction: row;
    gap: 20px; /* ระยะห่างระหว่าง MenuA, MenuB, MenuC */
}

/* ตกแต่งตัวอักษรในเมนูย่อยเพิ่มเติม (ปรับสีได้ตามต้องการ) */
.navmenu .dropdown-menu .dropdown-item {
    color: #585777; /* สีตัวอักษรโทนเขียวเข้ม (ธีมเขียว-ทอง) */
    font-weight: bold;
    padding: 5px 10px;
}

.navmenu .dropdown-menu .dropdown-item:hover {
    background-color: transparent; /* ไม่ให้มีพื้นหลังตอนเอาเมาส์ชี้ */
    color: #C0A062; /* สีตัวอักษรตอนเอาเมาส์ชี้ (สีทอง) */
}


/* =========================================
   1. สำหรับหน้าจอคอมพิวเตอร์ (Desktop >= 1200px) 
   ให้แสดงผลเป็นแนวนอนตอนกด
========================================= */
@media (min-width: 1200px) {
    .navmenu .dropdown-menu {
        display: none; /* ซ่อนไว้ก่อน */
        position: absolute; 
        top: 100%; 
        left: 0;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
        padding: 10px 20px;
        margin-top: 10px;
        border: none;
    }

    /* เมื่อกดปุ่ม Menu จะมีคลาส .show เข้ามา ให้แสดงผลเป็นแนวนอน */
    .navmenu .dropdown > .dropdown-menu.show {
        display: flex !important; 
        flex-direction: row;
        gap: 20px; 
    }

    .navmenu .dropdown-menu .dropdown-item {
        color: #585777;
        font-weight: bold;
        padding: 5px 10px;
    }

    .navmenu .dropdown-menu .dropdown-item:hover {
        background-color: transparent;
        color: #C0A062;
    }
}

/* =========================================
   2. สำหรับหน้าจอมือถือ (Mobile < 1200px) 
   ให้แสดงผลเป็นแนวตั้งตามปกติของ Bootstrap
========================================= */
@media (max-width: 1199px) {
    /* ซ่อนเมนูย่อยเป็นค่าเริ่มต้น และปรับให้อยู่ในแถวปกติ (ไม่ลอย) */
    .navmenu .dropdown .dropdown-menu {
        display: none !important;
        position: static !important; /* สำคัญมาก: ให้ดันเมนู Contact ลงไปด้านล่าง */
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.03); /* สีพื้นหลังอ่อนๆ ให้รู้ว่าเป็นเมนูย่อย */
        border: none;
        box-shadow: none;
        padding: 10px 0 10px 20px; /* เยื้องขวาเล็กน้อยให้ดูเป็นซับเมนู */
        transform: translate3d(0px, 0px, 0px) !important;
    }

    /* เมื่อกดปุ่ม Menu จะมีคลาส show เพิ่มเข้ามา ให้แสดงผล */
    .navmenu .dropdown > .dropdown-menu.show {
        display: block !important; 
    }
    
    .navmenu .dropdown-menu .dropdown-item {
        padding: 10px 15px;
        color: #585777; /* สีเดียวกับเมนูหลัก */
        font-weight: normal;
        
    }
}
/* =========================================
   Kin Pla theme: same header colours as the main site (assets/css/main.css)
========================================= */
#header .topbar,
#header .branding,
#header .category-scroll-all {
  background: #F2F6FE;
}

#header .logo h1,
#header .navmenu a,
#header .navmenu a:focus,
#header .mobile-nav-toggle {
  color: #585777;
}

#header .navmenu a:hover,
#header .navmenu .active,
#header .navmenu .active:focus {
  color: #585777;
}

#header .navmenu a::before {
  background-color: #EFC52E;
}

/* Login / account button */
#header .btn-book-a-table,
#header .btn-book-a-table:focus {
  background: #706F95;
  border-color: #706F95;
  color: #FFFFFF;
}

#header .btn-book-a-table:hover,
#header .btn-book-a-table:focus:hover {
  background: #585777;
  border-color: #585777;
  color: #FFFFFF;
}
