.elementor-23 .elementor-element.elementor-element-e5137bf{--display:flex;--min-height:140px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-23 .elementor-element.elementor-element-bb3de64{width:100%;max-width:100%;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-bb3de64 *//* ==== HEADER พื้นหลังพาสเทล ==== */
.pastel-header {
  display: flex;
 justify-content: center; 
  align-items: center;
  padding: 12px 20px;
  padding-bottom: 48px;
  background: linear-gradient(90deg, #fff9c4, #fff59d, #fdd835);
  font-family: 'Kanit', sans-serif;
  position: relative;
  box-shadow:
    inset 0 -4px 0 #fbe57a,
    0 8px 16px rgba(253, 223, 149, 0.4);
    
}


/* ==== โลโก้ ==== */
.logo-area img {
  height: 70px;
  object-fit: contain;
  animation: floatLogo 2s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}



/* ==== MAIN NAV ==== */
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 24px;
  padding: 0;
  gap: 22px;
}

.main-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #4a2c00;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 6px;
  border-radius: 14px;
  min-width: 88px; /* ✅ ความกว้างคงที่ */
  text-align: center;
}


/* Hover effect */
.main-nav li a:hover {
  transform: translateY(-2px);
  color: #d17c00;
}

.main-nav li a.active {
  background: linear-gradient(145deg, #ffd54f, #ffb300); /* สีทองส้ม */
  color: #3e2600;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
  border-radius: 18px 18px 0 0;
}


/* ไอคอนเมนู */
.main-nav li img {
  height: 26px;
  margin-bottom: 4px;
}

/* เมนู "ติดต่อเรา" ไฮไลต์ */
.main-nav a.highlight {
  background: linear-gradient(to top, #fff59d, #fdd835);
  color: #4a2c00;
  border-radius: 18px 18px 0 0;
  padding: 6px 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 235, 59, 0.5);
}


/* ==== โซนปุ่ม ==== */
.button-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==== ปุ่มเหลืองเด่น ==== */
.btn-yellow {
  background: linear-gradient(145deg, #fff176, #fbc02d); /* เหลืองเข้ม + นวล */
  color: #4a2c00;
  padding: 6px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(255, 193, 7, 0.7);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: linear-gradient(145deg, #ffe082, #fdd835);
  box-shadow:
    0 4px 10px rgba(255, 214, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* ==== ปุ่มฟ้าเด่น ==== */
.btn-blue {
  background: linear-gradient(145deg, #4fc3f7, #0288d1);
  color: #fff;
  padding: 6px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid rgba(33, 150, 243, 0.6);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-blue:hover {
  background: linear-gradient(145deg, #29b6f6, #0277bd);
  box-shadow:
    0 4px 10px rgba(33, 150, 243, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ==== HAMBURGER 4 ขีด (คลื่นสีดำ) ==== */
.hamburger {
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  margin-left: 12px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #2c2c2c;
  border-radius: 6px;
  animation: waveLine 1.4s infinite ease-in-out;
}

.hamburger span:nth-child(1) { animation-delay: 0s; }
.hamburger span:nth-child(2) { animation-delay: 0.15s; }
.hamburger span:nth-child(3) { animation-delay: 0.3s; }
.hamburger span:nth-child(4) { animation-delay: 0.45s; }

@keyframes waveLine {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.7); }
}

/* ==== แถบข้อความประกาศ (Wrapper ใหญ่) ==== */
.slide-message-wrapper {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  z-index: 20;
  font-size: 14px;
  flex-wrap: nowrap;
  display: flex;
  justify-content: center;
  padding: 4px 16px;
}

.slide-message-wrapper-inner {
  background: linear-gradient(90deg, #fffde7, #fff9c4, #fdd835);
  width: 95%;
  padding: 3px 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #5a4000;

  /* ✅ กรอบสีทองอ่อน */
  border: 0.1px solid #ffeb3b;

  /* ✅ มุมโค้ง */
  border-radius: 6px;

  /* ✅ เงาดำคมชัด */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4); /* เพิ่มแสงด้านในเล็กน้อย */
}

/* ==== ข้อความ "ประกาศ" ==== */
.slide-message-wrapper .label {
  font-weight: bold;
  color: #e65100;
  margin-right: 10px;
}

/* ==== ข้อความวิ่ง ==== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeAnim 18s linear infinite;
}

@keyframes marqueeAnim {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}


@keyframes marqueeAnim {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
/* ========================
   RESPONSIVE (Mobile / Tablet)
======================== */
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 16px;
    margin: 0 12px;
  }
  
  .btn-yellow, .btn-blue {
    padding: 6px 16px;
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .pastel-header {
    flex-wrap: wrap;
    padding: 12px 14px;
    padding-bottom: 40px;
  }

  .logo-area {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(90deg, #fff9c4, #fff59d, #fdd835);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    padding: 10px 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-left: 20px;
    margin: 0;
  }

  .main-nav li a {
    flex-direction: row;
    font-size: 14px;
    gap: 10px;
  }

  .button-area {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
  }

  .slide-message-wrapper {
    position: relative;
    bottom: unset;
    font-size: 13px;
    flex-wrap: wrap;
    padding: 6px 10px;
    
    
  }
}

/* ==== แสดงเมนูเมื่อกด Hamburger ==== */
.hamburger.active + .main-nav {
  display: flex !important;
}
/* Hamburger ปกติ: ซ่อนใน desktop */
.logo-area .hamburger {
  display: none;
}

@media (max-width: 768px) {
.logo-area {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* ให้โลโก้อยู่กลาง */
  align-items: center;
  margin-bottom: 10px;
}

.logo-area img {
  height: 50px;
}

.logo-area .hamburger {
  display: flex;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}


  /* ซ่อน hamburger ที่อยู่ใน button-area */
  .button-area .hamburger {
    display: none !important;
  }

  .button-area {
    justify-content: center; /* เดิมอาจใช้ space-between */
    width: 100%;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .btn-yellow, .btn-blue {
    padding: 6px 16px;
    font-size: 14px;
    min-width: 120px;
    text-align: center;
  }
}

/* ✅ แก้ toggle เมนู mobile */
@media (max-width: 768px) {
  .main-nav.active {
    display: flex !important;
  }
}

/* ✅ แก้ slide-message-wrapper หายตอนมือถือ */
@media (max-width: 768px) {
  .slide-message-wrapper {
    position: absolute;
    bottom: -22px;
    width: 100%;
    font-size: 13px;
    flex-wrap: wrap;
    padding: 30px 10px;
    display: flex;
    justify-content: center;
    z-index: 10;
  }
  
}
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: stretch; /* ✅ ให้ปุ่มเต็มความกว้าง */
    gap: 10px;
    padding: 12px;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav li a {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-size: 15px;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fffde7;
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.08),
      inset 0 0 0 1px rgba(255, 215, 0, 0.2);
    transition: all 0.25s ease;
    font-weight: 600;
    color: #4e3b00;
  }

  .main-nav li a:hover {
    background: linear-gradient(145deg, #fff59d, #fdd835);
    box-shadow: 0 2px 10px rgba(255, 223, 0, 0.2);
    color: #3b2600;
  }

  .main-nav li img {
    height: 26px;
    margin-bottom: 0;
  }

  /* ยกเว้นปุ่ม active หรือ highlight ไม่ต้องมีสีซ้ำ */
  .main-nav li a.highlight {
    background: linear-gradient(145deg, #fff59d, #fdd835);
    color: #3e2600;
    box-shadow: 0 4px 10px rgba(255, 223, 0, 0.3);
  }

  .main-nav li a.active {
    font-weight: 700;
    background: linear-gradient(145deg, #ffecb3, #ffd54f);
    border: 2px solid #ffca28;
    color: #2e1c00;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-e5137bf */.header-container {
  background: linear-gradient(90deg, #fff9c4, #fff59d, #fdd835);
}/* End custom CSS */