.elementor-13 .elementor-element.elementor-element-3ebf1ec{--display:flex;--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13 .elementor-element.elementor-element-3ebf1ec:not(.elementor-motion-effects-element-type-background), .elementor-13 .elementor-element.elementor-element-3ebf1ec > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#000000;}.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-13 .elementor-element.elementor-element-3ebf1ec{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-17e5de2a *//* ===============================
   GLOBAL / DESKTOP
================================ */
.ufa-header {
  font-family: 'Sarabun', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Arial, sans-serif;
  width: 100%;
  background: transparent;
}

/* ===============================
   DESKTOP ONLY (≥1025px)
   FORCE FULL VIEWPORT WIDTH
================================ */
@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: transparent;
  border-bottom: 1px solid #FCF6BA;
}

.ufa-top-inner {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===============================
   LOGO
================================ */
.ufa-logo img {
  height: 44px;
}

/* ===============================
   ACTIONS (PC)
================================ */
.ufa-actions {
  display: flex;
  gap: 10px;
}

/* ===============================
   BUTTON BASE
================================ */
.ufa-btn {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

.ufa-btn.login {
  background: linear-gradient(180deg, #ffffff, #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;
  width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 26px;
}

.ufa-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.ufa-nav .active {
  color: #ffe08a;
}

/* ===============================
   MOBILE MENU (DEFAULT HIDDEN)
================================ */
.ufa-menu-btn,
.ufa-mobile-menu {
  display: none;
}

/* ===============================
   MOBILE + TABLET (≤1024px)
   ใช้ Layout แบบ Mobile
================================ */
@media (max-width: 1024px) {

  /* ===== BG GRADIENT (เฉพาะ Mobile/Tablet) ===== */
   body .ufa-header,
  body .ufa-top,
  body .ufa-nav-bar {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  
  
  .ufa-header,
  .ufa-top {
    background: linear-gradient(
      180deg,
      #470000 35%,
      #000000 100%
    );
  }

  /* 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;
  }

  /* ซ่อนเมนู 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: linear-gradient(
      180deg,
      #470000 35%,
      #000000 100%
    );
    width: 100%;
  }

  .ufa-mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 16px 10px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
  }/* End custom CSS */