.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-3728 .elementor-element.elementor-element-22bbe79{padding:0px 0px 0px 0px;}}/* Start custom CSS for html, class: .elementor-element-907b74d *//* ===============================
   GLOBAL / DESKTOP
================================ */
.ufa-header {
  font-family: 'Sarabun', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Arial, sans-serif;
  width: 100%;
  background: #181818;
}
/* ===============================
   FORCE FULL VIEWPORT WIDTH
   (Fix Elementor / Container)
================================ */
@media (min-width: 1025px) {
  body .ufa-header,
  body .ufa-top,
  body .ufa-nav-bar {
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    margin-left: -50vw;
  }
}

/* กัน scrollbar แนวนอน */
html,
body {
  overflow-x: hidden;
}

/* TOP BAR */
.ufa-top {
  background: #181818;
  border-bottom: 1px solid #FCF6BA;
}

.ufa-top-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ufa-logo img {
  height: 44px;
}

/* ACTIONS (PC) */
.ufa-actions {
  display: flex;
  gap: 10px;
}

.ufa-btn {
  padding: 7px 18px;
  font-size: 13px;
  border-radius: 18px;
  text-decoration: none;
}

.ufa-btn.login {
  background: linear-gradient(180deg, #fff, #e6e6e6);
  color: #000;
}

.ufa-btn.register {
  background: linear-gradient(180deg, #ffe39a, #d6b46c);
  color: #000;
}

/* DESKTOP NAV */
.ufa-nav-bar {
  background: #29272a;
  border-bottom: 1px solid #FCF6BA;
}

.ufa-nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 26px;
}

.ufa-nav a {
  color: #fff;
  text-decoration: none;
}

.ufa-nav .active {
  color: #ffe08a;
}

/* ===============================
   MOBILE MENU (DEFAULT HIDDEN)
================================ */
.ufa-menu-btn,
.ufa-mobile-menu {
  display: none;
}

/* ===============================
   MOBILE ONLY
================================ */

@media (max-width: 1024px) {

  /* TOP BAR จัด 2 แถว */
  .ufa-top-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  /* โลโก้: แถวบนซ้าย */
  .ufa-logo {
    order: 1;
  }

  /* ปุ่ม Menu: แถวบนขวา */
  .ufa-menu-btn {
    order: 2;
    margin-left: auto;
    display: inline-block;
    background: #ffa500;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
  }

  /* ปุ่ม Login / Register: แถวล่าง */
  .ufa-actions {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
  }

 /* BUTTON BASE (CENTER + BOLD) */
.ufa-btn {
  display: flex;                 /* สำคัญ */
  align-items: center;           /* จัดกลางแนวตั้ง */
  justify-content: center;       /* จัดกลางแนวนอน */
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 500;              /* ตัวหนา */
  border-radius: 18px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;                /* กันตัวอักษรลอย */
}

  /* ซ่อนเมนู Desktop */
  .ufa-nav-bar {
    display: none;
  }

  /* MOBILE GRID MENU */
  .ufa-header.menu-open + .ufa-mobile-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #1c1c1c;
  }

  .ufa-mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 16px 10px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    font-size: 14px;
  }

  .ufa-mobile-menu a:nth-child(3n) {
    border-right: none;
  }
}/* End custom CSS */