*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: #2c2c2c;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Navbar (CSS ถูก inject โดย company-navbar.php แล้ว — ใส่ fallback เฉพาะ active class ไว้สำหรับหน้าหลัก) */
.navbar-links a {
  font-weight: 700;
  white-space: nowrap;
}

.navbar-links a.nav-active,
.navbar-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: unset;
  max-height: none;
  display: block;
  overflow: hidden;
  background: #1a1a2e;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-sizer-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  line-height: 0 !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: 100% 100% !important;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .28) 100%);
}

/* Hero floating particle effect (เอฟเฟกต์อนุภาคลอยหลังแบนเนอร์) */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-fx .fx-p {
  position: absolute;
  bottom: -10%;
  border-radius: 50%;
}

@keyframes fx-twinkle {

  0%,
  100% {
    opacity: .15;
    transform: scale(.7);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes fx-fall {
  0% {
    transform: translateY(-10%) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateY(620px) translateX(24px);
    opacity: .2;
  }
}

@keyframes fx-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    transform: translateY(-620px) translateX(18px);
    opacity: 0;
  }
}

@keyframes fx-drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  15% {
    opacity: .9;
  }

  50% {
    transform: translateY(-260px) translateX(-20px);
  }

  100% {
    transform: translateY(-560px) translateX(20px);
    opacity: 0;
  }
}

/* 1. ประกายดาว */
.hero-fx-sparkles .fx-p {
  top: var(--fx-top);
  left: var(--fx-left);
  bottom: auto;
  width: var(--fx-size);
  height: var(--fx-size);
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, .8);
  animation: fx-twinkle var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

/* 2. หิมะ */
.hero-fx-snow .fx-p {
  top: -5%;
  left: var(--fx-left);
  bottom: auto;
  width: var(--fx-size);
  height: var(--fx-size);
  background: rgba(255, 255, 255, .85);
  animation: fx-fall var(--fx-dur) linear var(--fx-delay) infinite;
}

/* 3. ฟองอากาศ */
.hero-fx-bubbles .fx-p {
  left: var(--fx-left);
  width: var(--fx-size);
  height: var(--fx-size);
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  animation: fx-rise var(--fx-dur) ease-in var(--fx-delay) infinite;
}

/* 4. เทคโนโลยี (ดิจิทัล) */
.hero-fx-tech .fx-p {
  top: var(--fx-top);
  left: var(--fx-left);
  bottom: auto;
  width: var(--fx-size);
  height: var(--fx-size);
  border-radius: 2px;
  background: #22d3ee;
  box-shadow: 0 0 6px 1px rgba(34, 211, 238, .8);
  animation: fx-twinkle var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

/* 5. คอนเฟตติ */
.hero-fx-confetti .fx-p {
  top: -5%;
  left: var(--fx-left);
  bottom: auto;
  border-radius: 1px;
  width: calc(var(--fx-size) * 1.6);
  height: var(--fx-size);
  background: hsl(var(--fx-hue), 85%, 60%);
  animation: fx-confetti-fall var(--fx-dur) linear var(--fx-delay) infinite;
}

@keyframes fx-confetti-fall {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateY(620px) rotate(540deg);
    opacity: .15;
  }
}

/* 6. เส้นแสงตก (ฝนดาว) */
.hero-fx-lines .fx-p {
  top: -10%;
  left: var(--fx-left);
  bottom: auto;
  border-radius: 2px;
  width: 2px;
  height: calc(var(--fx-size) * 9);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9));
  animation: fx-streak var(--fx-dur) linear var(--fx-delay) infinite;
}

@keyframes fx-streak {
  0% {
    transform: translateY(-15%) translateX(0) rotate(18deg);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  100% {
    transform: translateY(640px) translateX(180px) rotate(18deg);
    opacity: 0;
  }
}

/* 7. สายฝน */
.hero-fx-rain .fx-p {
  top: -10%;
  left: var(--fx-left);
  bottom: auto;
  border-radius: 2px;
  width: 1.5px;
  height: calc(var(--fx-size) * 6);
  background: linear-gradient(to bottom, rgba(186, 230, 253, 0), rgba(186, 230, 253, .85));
  animation: fx-rain-fall var(--fx-dur) linear var(--fx-delay) infinite;
}

@keyframes fx-rain-fall {
  0% {
    transform: translateY(-15%);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  100% {
    transform: translateY(640px);
    opacity: .3;
  }
}

/* 8. ดาวตก */
.hero-fx-meteor .fx-p {
  top: -10%;
  left: var(--fx-left);
  bottom: auto;
  border-radius: 3px;
  width: 3px;
  height: calc(var(--fx-size) * 13);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, .7);
  animation: fx-meteor-fall var(--fx-dur) linear var(--fx-delay) infinite;
}

@keyframes fx-meteor-fall {
  0% {
    transform: translateY(-15%) translateX(0) rotate(24deg);
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  100% {
    transform: translateY(640px) translateX(260px) rotate(24deg);
    opacity: 0;
  }
}

/* 9. หิ่งห้อย */
.hero-fx-fireflies .fx-p {
  top: var(--fx-top);
  left: var(--fx-left);
  bottom: auto;
  width: var(--fx-size);
  height: var(--fx-size);
  background: #d9f99d;
  box-shadow: 0 0 8px 2px rgba(217, 249, 157, .85);
  animation: fx-firefly var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

@keyframes fx-firefly {

  0%,
  100% {
    opacity: .2;
    transform: translate(0, 0) scale(.8);
  }

  25% {
    opacity: 1;
    transform: translate(var(--fx-drift), -14px) scale(1.1);
  }

  50% {
    opacity: .4;
    transform: translate(calc(var(--fx-drift) * -1), 6px) scale(.9);
  }

  75% {
    opacity: 1;
    transform: translate(var(--fx-drift), -8px) scale(1.05);
  }
}

/* 10. ประกายไฟ */
.hero-fx-embers .fx-p {
  left: var(--fx-left);
  width: var(--fx-size);
  height: var(--fx-size);
  background: #fb923c;
  box-shadow: 0 0 6px 2px rgba(251, 146, 60, .75);
  animation: fx-ember-rise var(--fx-dur) ease-out var(--fx-delay) infinite;
}

@keyframes fx-ember-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translateY(-540px) translateX(var(--fx-drift));
    opacity: 0;
  }
}

/* 11. ละอองทอง */
.hero-fx-dust .fx-p {
  left: var(--fx-left);
  width: var(--fx-size);
  height: var(--fx-size);
  background: rgba(245, 184, 0, .75);
  box-shadow: 0 0 4px 1px rgba(245, 184, 0, .5);
  animation: fx-drift var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

/* 12. วงแสงโบเก้ */
.hero-fx-bokeh .fx-p {
  top: var(--fx-top);
  left: var(--fx-left);
  bottom: auto;
  width: calc(var(--fx-size) * 4);
  height: calc(var(--fx-size) * 4);
  background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
  animation: fx-bokeh-float var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

@keyframes fx-bokeh-float {

  0%,
  100% {
    opacity: .25;
    transform: translate(0, 0) scale(.9);
  }

  50% {
    opacity: .7;
    transform: translate(var(--fx-drift), -24px) scale(1.15);
  }
}

/* 13. ดาวพร่างพราว */
.hero-fx-stars .fx-p {
  top: var(--fx-top);
  left: var(--fx-left);
  bottom: auto;
  width: calc(var(--fx-size) * .6);
  height: calc(var(--fx-size) * .6);
  background: #fff;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, .9);
  animation: fx-twinkle var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

/* 14. โค้ดดิจิทัล (Matrix) */
.hero-fx-matrix .fx-p {
  top: -10%;
  left: var(--fx-left);
  bottom: auto;
  border-radius: 1px;
  width: 2px;
  height: calc(var(--fx-size) * 5);
  background: linear-gradient(to bottom, rgba(74, 222, 128, 0), rgba(74, 222, 128, .9));
  animation: fx-rain-fall var(--fx-dur) linear var(--fx-delay) infinite;
}

/* 15. ลูกโป่ง */
.hero-fx-balloons .fx-p {
  left: var(--fx-left);
  width: calc(var(--fx-size) * 2.2);
  height: calc(var(--fx-size) * 2.8);
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  background: hsl(var(--fx-hue), 75%, 60%);
  opacity: .85;
  animation: fx-balloon-rise var(--fx-dur) ease-in-out var(--fx-delay) infinite;
}

@keyframes fx-balloon-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  12% {
    opacity: .85;
  }

  50% {
    transform: translateY(-280px) translateX(var(--fx-drift));
  }

  100% {
    transform: translateY(-580px) translateX(0);
    opacity: 0;
  }
}

/* 16. สายลม */
.hero-fx-wind .fx-p {
  top: var(--fx-top);
  left: -10%;
  bottom: auto;
  border-radius: 2px;
  width: calc(var(--fx-size) * 6);
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
  animation: fx-wind-blow var(--fx-dur) linear var(--fx-delay) infinite;
}

@keyframes fx-wind-blow {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateX(760px);
    opacity: 0;
  }
}

/* 17. ลำแสง (โครงสร้างต่างจากอนุภาคทั่วไป ใช้ลำแสงหมุนช้าไม่กี่เส้น) */
.hero-fx-rays .hero-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 100%);
  transform-origin: 0 50%;
  animation: fx-ray-rotate var(--fx-dur) linear infinite;
}

.hero-split-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
  gap: 3rem;
}

.hero-content {
  color: #fff;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: .92;
}

.hero-content .hero-desc {
  font-size: .95rem;
  opacity: .8;
  margin-top: .5rem;
}

.hero.hl-left .hero-split-wrap {
  justify-content: flex-start;
}

.hero.hl-left .hero-content {
  text-align: left;
}

.hero.hl-right .hero-split-wrap {
  justify-content: flex-end;
}

.hero.hl-right .hero-content {
  text-align: right;
}

.hero.hl-split-right .hero-split-wrap {
  justify-content: space-between;
}

.hero.hl-split-right .hero-content {
  flex: 1;
  text-align: left;
}

.hero.hl-split-right .hero-split-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero.hl-split-left .hero-split-wrap {
  justify-content: space-between;
}

.hero.hl-split-left .hero-content {
  flex: 1;
  text-align: left;
  order: 2;
}

.hero.hl-split-left .hero-split-img {
  flex: 1;
  display: flex;
  justify-content: center;
  order: 1;
}

.hero-split-img img {
  width: 100%;
  max-width: 460px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.hero-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 3;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hero-zone-prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 1.25rem;
}

.hero-zone-next {
  right: 0;
  justify-content: flex-end;
  padding-right: 1.25rem;
}

.hero-arrow {
  color: rgba(255, 255, 255, .85);
  font-size: 2.5rem;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.hero-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, .8);
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: all .2s;
  padding: 0;
}

.hero-dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* Shared */
section[id] {
  scroll-margin-top: 68px;
}

.section {
  padding: 4rem 2rem;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 24px;
  line-height: 1.35;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.section-sub {
  color: #888;
  margin-bottom: 2.5rem;
  font-size: .95rem;
}

.section-more-btn {
  margin-top: 2rem;
  text-align: center;
}

.btn-more {
  display: inline-block;
  padding: .65rem 2rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 4px;
  font-size: .95rem;
  transition: background .2s, color .2s;
}

.btn-more:hover {
  background: var(--primary);
  color: #fff;
}

/* About */
.about-section {
  background: #fff;
  padding: 4rem 2rem;
}

.about-inner {
  display: flex;
  align-items: stretch;
  gap: 4rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.about-inner.no-img {
  flex-direction: column;
  text-align: center;
}

.about-img-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.about-section.al-img-right .about-img-wrap {
  order: 2;
}

.about-section.al-img-right .about-text {
  order: 1;
}

.about-section.al-img-top .about-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.about-section.al-img-top .about-top-label {
  display: inline-flex;
  align-self: center;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

.about-section.al-img-top .about-img-wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.about-section.al-img-top .about-img-wrap img {
  margin: 0 auto;
}

.about-section.al-img-top .about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.about-section.al-img-top .about-points {
  align-items: center;
}

.about-section.al-img-top .section-more-btn {
  text-align: center;
}

.about-text .section-label {
  margin-bottom: 1rem;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  font-size: inherit;
  margin-bottom: 1.5rem;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.about-points .point {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  color: #333;
}

.about-points .check {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Menu/Services */
.menu-section {
  background: white;
  padding: 4rem 2rem;
  text-align: center;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.menu-tab {
  padding: .45rem 1.5rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--dark);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  border-radius: 20px;
  transition: all .2s;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--primary);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.menu-grid.ml-3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-width);
}

.menu-grid.ml-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}

.menu-grid.ml-1col {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.menu-grid.ml-list {
  grid-template-columns: 1fr;
  max-width: 860px;
  gap: 1rem;
}

.menu-grid.ml-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.75rem;
  max-width: var(--content-width);
  margin: 0 auto;
  align-items: center;
}

.menu-grid.ml-featured .menu-card.main-feat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.menu-grid.ml-featured .menu-card.main-feat .menu-img {
  width: 100%;
  overflow: hidden;
}

.menu-grid.ml-featured .menu-card.main-feat .menu-img img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-grid.ml-featured .menu-card.main-feat .menu-body {
  padding: 1.75rem;
}

.menu-grid.ml-featured .menu-card.main-feat .menu-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  white-space: normal;
}

.menu-grid.ml-featured .menu-card.main-feat .menu-body p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.menu-grid.ml-featured .menu-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-grid.ml-featured .menu-side-col .menu-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.menu-grid.ml-featured .menu-side-col .menu-card .menu-img {
  width: 130px;
  min-width: 130px;
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.menu-grid.ml-featured .menu-side-col .menu-card .menu-img img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-grid.ml-featured .menu-side-col .menu-card .menu-body {
  padding: 1rem 1.25rem;
}

.menu-grid.ml-featured .menu-side-col .menu-card .menu-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  white-space: normal;
}

@media (max-width: 768px) {
  .menu-grid.ml-featured {
    grid-template-columns: 1fr;
  }
}

.menu-card {
  background: white;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #e2e8f0;
  transition: transform .2s, border-color .2s;
  border-radius: 0;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: var(--primary);
}

.menu-card .menu-img {
  overflow: hidden;
  display: block;
}

.menu-card .menu-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}

.menu-card:hover .menu-img img {
  transform: scale(1.07);
}

.menu-card .menu-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
}

.menu-card .menu-img-ph .material-icons {
  font-size: 3rem;
  color: #9ca3af;
}

.menu-card .menu-body {
  padding: 1.25rem;
  text-align: left;
}

.menu-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 .35rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.menu-grid.ml-list .menu-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  border-radius: 0;
}

.menu-grid.ml-list .menu-card .menu-img {
  width: 260px;
  min-width: 260px;
  /* height: 170px; */
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
}

.menu-grid.ml-list .menu-card .menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-grid.ml-list .menu-card .menu-body {
  flex: 1;
  padding: 1.5rem 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-grid.ml-list .menu-card .menu-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  white-space: normal;
}

.menu-grid.ml-list .menu-card .menu-body p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-section {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.gallery-grid.gl-grid-1 {
  columns: 1;
  max-width: 540px;
}

.gallery-grid.gl-grid-2 {
  columns: 2;
  max-width: 860px;
}

.gallery-grid.gl-grid-3 {
  columns: 3;
  max-width: var(--content-width);
}

.gallery-grid.gl-grid-4 {
  columns: 4;
  max-width: var(--content-width);
}

.gallery-grid.gl-masonry {
  columns: 3;
}

/* Gallery List Layout */
.gallery-grid.gl-list {
  columns: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.gallery-grid.gl-list .gallery-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 0;
  text-decoration: none;
  overflow: hidden;
}

.gallery-grid.gl-list .gallery-item .gl-item-img {
  width: 240px;
  min-width: 240px;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.gallery-grid.gl-list .gallery-item .gl-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid.gl-list .gallery-item .gallery-item-title {
  position: static !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 1.1rem !important;
  font-weight: 700;
  padding: 1.25rem 1.75rem !important;
  flex: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .gallery-grid.gl-list .gallery-item {
    flex-direction: column !important;
  }

  .gallery-grid.gl-list .gallery-item .gl-item-img {
    width: 100% !important;
    height: 200px !important;
  }
}

/* Gallery Featured Layout */
.gallery-grid.gl-featured {
  columns: auto !important;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.75rem;
  max-width: var(--content-width);
  margin: 0 auto;
  align-items: center;
}

.gallery-grid.gl-featured .gallery-item.main-feat {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.gallery-grid.gl-featured .gallery-item.main-feat img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.gallery-grid.gl-featured .gallery-side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-grid.gl-featured .gallery-side-col .gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.gallery-grid.gl-featured .gallery-side-col .gallery-item img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery-grid.gl-featured {
    grid-template-columns: 1fr;
  }

  .gallery-grid.gl-featured .gallery-item.main-feat img {
    height: 240px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 0;
  cursor: pointer;
  break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s;
}

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

.gallery-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem .75rem;
  text-align: left;
}

.gallery-img-ph {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
}

.gallery-img-ph .material-icons {
  font-size: 3rem;
  color: #9ca3af;
}


/* Chef/Team */
.chef-section {
  padding: 4rem 2rem;
  text-align: center;
}

.chef-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: var(--content-width);
  margin: 0 auto;
}

.chef-grid.ct-grid,
.chef-grid.ct-4col,
.chef-grid.team-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content-width);
}

.chef-grid.ct-3col,
.chef-grid.team-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
}

.chef-grid.ct-2col,
.chef-grid.team-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.chef-grid.ct-1col,
.chef-grid.team-grid-1 {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}

.chef-grid.ct-list,
.chef-grid.team-list {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.chef-grid.ct-list .chef-card,
.chef-grid.team-list .chef-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
}

.chef-grid.ct-featured,
.chef-grid.team-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}

.chef-grid.ct-featured .chef-card.main-feat,
.chef-grid.team-featured .chef-card.main-feat {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.chef-grid.ct-featured .chef-card.main-feat .chef-img,
.chef-grid.team-featured .chef-card.main-feat .chef-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.25rem;
}

.chef-grid.ct-featured .chef-card.main-feat h3,
.chef-grid.team-featured .chef-card.main-feat h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.chef-grid.ct-featured .chef-side-col,
.chef-grid.team-featured .chef-side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chef-grid.ct-featured .chef-side-col .chef-card,
.chef-grid.team-featured .chef-side-col .chef-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.chef-grid.ct-featured .chef-side-col .chef-img,
.chef-grid.team-featured .chef-side-col .chef-img {
  width: 70px;
  height: 70px;
  margin: 0;
  flex-shrink: 0;
  border-width: 3px;
}

@media (max-width: 768px) {

  .chef-grid.ct-featured,
  .chef-grid.team-featured {
    grid-template-columns: 1fr;
  }
}

.chef-card {
  text-align: center;
}

.chef-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary);
}

.chef-grid.ct-list .chef-img,
.chef-grid.team-list .chef-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  margin: 0;
}

.chef-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chef-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .25rem;
}

.chef-card p {
  font-size: .85rem;
  color: #888;
}

/* ── Org Chart Tree on Homepage ── */
.org-tree-home-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0;
}

.org-tree-leader-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}

.org-tree-node {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  position: relative;
  text-align: left;
  border-radius: 0;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.org-tree-node:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.org-tree-node.lead-node {
  border-top: 4px solid var(--primary);
  min-width: 340px;
  max-width: 440px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.org-node-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2.5px solid var(--primary);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-node-img.sm {
  width: 54px;
  height: 54px;
  border-width: 2px;
}

.org-node-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-node-meta {
  flex: 1;
}

.org-node-tag {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 0;
}

.org-node-tag.sm {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
}

.org-node-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem 0;
}

.org-node-meta p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.org-tree-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-tree-line-stem {
  width: 2px;
  height: 24px;
  background: #cbd5e1;
}

.org-tree-line-bar {
  width: 80%;
  max-width: 900px;
  height: 2px;
  background: #cbd5e1;
}

.org-tree-subs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: var(--content-width);
  margin-top: 0;
  padding-top: 24px;
}

.org-tree-node.sub-node {
  border-top: 3px solid #94a3b8;
  padding: 1rem 1.25rem;
}

.org-tree-drop-stem {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 24px;
  background: #cbd5e1;
}

@media (max-width: 768px) {

  .org-tree-line-bar,
  .org-tree-drop-stem {
    display: none;
  }

  .org-tree-subs-grid {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }

  .org-tree-node.lead-node {
    min-width: 100%;
  }
}

/* News */
.news-tpl-section {
  padding: 4rem 2rem;
  text-align: center;
}

.news-tpl-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-width);
  margin: 0 auto;
}

.news-tpl-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content-width);
}

.news-tpl-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-width);
}

.news-tpl-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
}

.news-tpl-grid.cols-1 {
  grid-template-columns: 1fr;
  max-width: 580px;
}

.news-tpl-grid.nl-list {
  grid-template-columns: 1fr;
  max-width: 860px;
  gap: 1.25rem;
}

.news-tpl-grid.nl-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.75rem;
  max-width: var(--content-width);
  margin: 0 auto;
  align-items: center;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat .news-tpl-img {
  width: 100%;
  overflow: hidden;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat .news-tpl-img img {
  width: 100%;
  height: auto;
  display: block;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat .news-tpl-body {
  padding: 1.75rem;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat .news-tpl-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.news-tpl-grid.nl-featured .news-tpl-card.main-feat .news-tpl-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
}

.news-tpl-grid.nl-featured .news-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-tpl-grid.nl-featured .news-side-col .news-tpl-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.news-tpl-grid.nl-featured .news-side-col .news-tpl-card .news-tpl-img {
  width: 140px;
  min-width: 140px;
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.news-tpl-grid.nl-featured .news-side-col .news-tpl-card .news-tpl-img img {
  width: 100%;
  height: auto;
  display: block;
}

.news-tpl-grid.nl-featured .news-side-col .news-tpl-card .news-tpl-body {
  padding: 1rem 1.25rem;
}

.news-tpl-grid.nl-featured .news-side-col .news-tpl-card .news-tpl-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.news-tpl-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.news-tpl-grid.nl-list .news-tpl-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
}

.news-tpl-grid.nl-list .news-tpl-card .news-tpl-img {
  width: 240px;
  min-width: 240px;
  height: auto;
  flex-shrink: 0;
}

.news-tpl-grid.nl-list .news-tpl-card .news-tpl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-tpl-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  border-color: var(--primary);
}

.news-tpl-img {
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.news-tpl-img img {
  width: 100%;
  height: auto;
  display: block;
}

.news-tpl-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
}

.news-tpl-img-ph .material-icons {
  font-size: 3rem;
  color: #9ca3af;
}

.news-tpl-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tpl-date {
  font-size: .78rem;
  color: #94a3b8;
  margin-bottom: .4rem;
}

.news-tpl-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: .5rem;
}

.news-tpl-excerpt {
  font-size: .85rem;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
}

.news-tpl-more {
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
}

/* Contact */
.contact-section {
  padding: 4rem 2rem;
}

.contact-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.contact-item .icon {
  color: var(--primary);
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact-label {
  font-size: .8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-val {
  font-size: .95rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.5;
}

.social-block {
  margin-top: 2.5rem;
}

.block-label {
  font-size: .9rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
}

.social-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.social-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.social-btn.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-btn.line {
  background: #06c755;
  color: #fff;
}

/* Split Layout (Left: Map, Right: Info) */
.contact-split-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  text-align: left;
  margin-top: 1.5rem;
}

.contact-map-col {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.contact-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-col .social-block {
  margin-top: 0.5rem;
}

.contact-info-col .block-label {
  text-align: left;
  margin-bottom: 0.75rem;
}

.contact-info-col .social-links {
  justify-content: flex-start;
}

@media(max-width:900px) {
  .contact-split-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-map-col,
  .contact-map-col iframe {
    min-height: 350px;
    height: 350px;
  }
}

/* Footer */
.site-footer {
  padding: 4.5rem 2rem 2.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
}

.footer-container {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 0.5rem auto;
  display: block;
  filter: drop-shadow(1px 0 0 #ffffff) drop-shadow(-1px 0 0 #ffffff) drop-shadow(0 1px 0 #ffffff) drop-shadow(0 -1px 0 #ffffff);
}

.footer-brand h2,
.footer-brand-row h3,
.footer-logo-title-row h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact block inside footer */
.contact-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.5;
}

.contact-details div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.contact-details div .material-icons {
  font-size: 1.15rem;
  opacity: 0.7;
}

/* Social media circle links */
.footer-social-circles {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-circle .material-icons {
  font-size: 1.15rem;
}

.social-circle:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

/* Navigation inside footer */
.footer-nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav-links a {
  opacity: 0.8;
  font-weight: 500;
  transition: opacity 0.18s;
}

.footer-nav-links a:hover {
  opacity: 1;
}

/* 1. Center Layout overrides */
.fl-center .footer-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* 2. Columns Layout overrides */
.fl-columns .footer-cols-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 3rem;
  text-align: left;
}

.fl-columns .footer-logo {
  margin-left: 0;
}

.fl-columns .footer-tagline {
  margin-left: 0;
  text-align: left;
}

.fl-columns .contact-details div {
  justify-content: flex-start;
}

.fl-columns .footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.fl-columns .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fl-columns .footer-col ul a {
  opacity: 0.8;
  transition: opacity 0.18s;
}

.fl-columns .footer-col ul a:hover {
  opacity: 1;
}

/* 3. Minimal Layout overrides */
.fl-minimal .footer-minimal-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.fl-minimal .footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fl-minimal .footer-brand-row h3 {
  margin: 0;
}

/* 4. Brand + Contact Layout overrides (ตรงกับรูปภาพผู้ใช้งาน) */
.fl-brand-contact .footer-brand-contact-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  gap: 3rem;
  flex-wrap: wrap;
}

.fl-brand-contact .brand-side {
  flex: 1.2;
  min-width: 280px;
}

.fl-brand-contact .contact-side {
  flex: 1;
  min-width: 280px;
}

.fl-brand-contact .footer-logo-title-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.fl-brand-contact .footer-logo-title-row h2 {
  margin: 0;
  text-align: center;
}

.fl-brand-contact .footer-tagline {
  margin: 0 auto;
  text-align: center;
}

.fl-brand-contact .contact-title {
  text-align: left;
}

.fl-brand-contact .contact-details div {
  justify-content: flex-start;
}

.fl-brand-contact .footer-social-circles {
  justify-content: flex-start;
  margin-top: 1.25rem;
}

/* Bottom copyright divider line */
.footer-bottom-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.55;
}

/* หมายเหตุ: กติกา responsive ของ footer อยู่ใน company-footer.php แล้ว (ครอบคลุมและ specificity สูงกว่า) */

/* Scroll top */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
  transition: opacity .2s, transform .2s;
  opacity: 0;
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: all;
}

/* Responsive */
@media(max-width:768px) {
  .hero {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    display: block !important;
  }

  .hero-sizer-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    line-height: 0 !important;
  }

  .hero-slides,
  .hero-overlay,
  .hero-fx,
  .hero-split-wrap {
    position: absolute !important;
    inset: 0 !important;
  }

  .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .hero-split-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: clamp(0.95rem, 4vw, 1.45rem) !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .85);
    margin-bottom: .25rem !important;
  }

  .hero-content p {
    font-size: clamp(0.75rem, 2.8vw, 0.95rem) !important;
    line-height: 1.35 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .85);
    margin-bottom: 0 !important;
  }

  .hero-content .hero-desc {
    font-size: 0.75rem !important;
    margin-top: .2rem !important;
  }

  .hero-wave {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
  }

  .hero-wave svg {
    display: block !important;
    width: 100% !important;
    height: 25px !important;
  }

  .hero-dots {
    bottom: 0.4rem !important;
    gap: .3rem;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 18px;
  }

  .hero-zone {
    width: 15%;
  }

  .hero-arrow {
    font-size: 1.6rem;
  }

  .hero-zone-prev {
    padding-left: 0.5rem;
  }

  .hero-zone-next {
    padding-right: 0.5rem;
  }

  .about-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .menu-grid.ml-1col,
  .menu-grid.ml-list {
    grid-template-columns: 1fr !important;
  }

  .menu-grid.ml-list .menu-card {
    flex-direction: column !important;
  }

  .menu-grid.ml-list .menu-card .menu-img {
    width: 100% !important;
    height: 180px !important;
  }

  .gallery-grid {
    columns: 2 !important;
  }

  .gallery-grid.gl-grid-1 {
    columns: 1 !important;
  }

  .chef-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .chef-grid.ct-1col,
  .chef-grid.ct-list,
  .chef-grid.team-grid-1,
  .chef-grid.team-list {
    grid-template-columns: 1fr !important;
  }

  .news-tpl-grid {
    grid-template-columns: 1fr !important;
  }

  .news-tpl-grid.nl-list .news-tpl-card {
    flex-direction: column !important;
  }

  .news-tpl-grid.nl-list .news-tpl-img {
    width: 100% !important;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .about-section,
  .menu-section,
  .gallery-section,
  .chef-section,
  .news-section {
    padding: 2.5rem 1rem;
  }
}

@media(max-width:480px) {
  .hero-content h1 {
    font-size: clamp(0.85rem, 3.8vw, 1.15rem) !important;
  }

  .hero-content p {
    font-size: clamp(0.7rem, 2.6vw, 0.85rem) !important;
  }

  .hero-wave svg {
    height: 20px !important;
  }

  .hero-dots {
    bottom: 0.3rem !important;
  }

  .hero-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .hero-dot.active {
    width: 15px !important;
  }

  .menu-grid,
  .chef-grid {
    grid-template-columns: 1fr !important;
  }

  .gallery-grid {
    columns: 1 !important;
  }

  .section-label {
    font-size: 1rem;
    padding: 6px 16px;
    margin-bottom: 0.75rem;
  }

  .section-sub {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }
}

/* Ensure 'ดูทั้งหมด' and section more buttons are always 100% white text */
.section-more-btn {
  text-align: center;
  margin-top: 2rem;
}

.btn-more,
a.btn-more,
.section-more-btn a,
.section-more-btn .btn-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  padding: 0.75rem 2rem !important;
  background: var(--btn-color, var(--primary)) !important;
  color: #ffffff !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.btn-more *,
a.btn-more *,
.section-more-btn a *,
.section-more-btn .btn-more * {
  color: #ffffff !important;
}

.btn-more:hover,
a.btn-more:hover,
.section-more-btn a:hover,
.section-more-btn .btn-more:hover {
  color: #ffffff !important;
  background: var(--btn-color, var(--primary)) !important;
  filter: brightness(1.12) !important;
  opacity: 0.95 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ─── Sidebar Menu Layout & Component Styles ─── */
.site-main-with-sidebar {
  display: flex;
  gap: 2.25rem;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.site-main-with-sidebar.mode-right,
.site-main-with-sidebar.sidebar-pos-right {
  flex-direction: row-reverse;
}

.site-main-with-sidebar.mode-both {
  flex-direction: row;
}

.site-sidebar-component {
  width: 270px;
  min-width: 250px;
  max-width: 300px;
  flex-shrink: 0;
}

.site-main-with-sidebar.mode-both .site-sidebar-component {
  width: 240px;
  min-width: 220px;
  max-width: 260px;
}

.sidebar-inner-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}

.sidebar-block-card {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  width: 100%;
}

.sidebar-block-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-block-header {
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0;
  width: 100%;
}

.sidebar-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: inherit;
  letter-spacing: 0.2px;
  text-align: center;
  width: 100%;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
}

.sidebar-menu-item {
  border-bottom: 1px dashed #f1f5f9;
}

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

.sidebar-menu-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: all 0.2s ease;
  gap: 0.6rem;
}

.sidebar-item-bullet {
  color: var(--primary);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.sidebar-item-text {
  flex: 1;
  line-height: 1.4;
}

.sidebar-item-arrow {
  font-size: 1.1rem;
  color: #94a3b8;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.sidebar-menu-link:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 1.45rem;
}

.sidebar-menu-link:hover .sidebar-item-bullet {
  transform: rotate(45deg);
}

.sidebar-menu-link:hover .sidebar-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* ── Scroll Layouts (Horizontal Scroll Carousel) ── */
.scroll-carousel-wrap {
  position: relative;
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
}

.scroll-nav-btn {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0.92;
  user-select: none;
}

.scroll-nav-btn:hover {
  background: var(--primary, #2563eb);
  color: #ffffff;
  border-color: var(--primary, #2563eb);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.scroll-nav-btn.prev {
  left: -20px;
}

.scroll-nav-btn.next {
  right: -20px;
}

@media (max-width: 992px) {
  .scroll-nav-btn.prev {
    left: -8px;
  }

  .scroll-nav-btn.next {
    right: -8px;
  }
}

@media (max-width: 768px) {
  .scroll-nav-btn {
    width: 36px;
    height: 36px;
  }

  .scroll-nav-btn.prev {
    left: 4px;
  }

  .scroll-nav-btn.next {
    right: 4px;
  }
}

.menu-grid.ml-scroll,
.gallery-grid.gl-scroll,
.chef-grid.ct-scroll,
.news-tpl-grid.nl-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 1.5rem !important;
  padding: 0.5rem 0.5rem 1.5rem !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  columns: auto !important;
  max-width: var(--content-width) !important;
  margin: 0 auto !important;
}

.menu-grid.ml-scroll .menu-card,
.gallery-grid.gl-scroll .gallery-item,
.chef-grid.ct-scroll .chef-card,
.news-tpl-grid.nl-scroll .news-tpl-card {
  flex: 0 0 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  margin-bottom: 0 !important;
  scroll-snap-align: start !important;
  box-sizing: border-box !important;
}

.gallery-grid.gl-scroll .gallery-item img {
  height: auto !important;
  object-fit: cover !important;
}

.menu-grid.ml-scroll::-webkit-scrollbar,
.gallery-grid.gl-scroll::-webkit-scrollbar,
.chef-grid.ct-scroll::-webkit-scrollbar,
.news-tpl-grid.nl-scroll::-webkit-scrollbar {
  height: 6px !important;
}

.menu-grid.ml-scroll::-webkit-scrollbar-thumb,
.gallery-grid.gl-scroll::-webkit-scrollbar-thumb,
.chef-grid.ct-scroll::-webkit-scrollbar-thumb,
.news-tpl-grid.nl-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
  border-radius: 4px !important;
}