/* Site-specific overrides for /sites/bun-bo-tho-da-co-ba/ */

/* Vietnamese: full Unicode support (Poppins/JP fonts miss diacritics) */
html[lang="vi"] body {
  font-family: "Be Vietnam Pro", "Noto Sans", system-ui, sans-serif;
}

html[lang="vi"] .fn-Poppins,
html[lang="vi"] .fn-Poppins500,
html[lang="vi"] .fn-Poppins600,
html[lang="vi"] .fn-Noto500,
html[lang="vi"] .fn-shuei,
html[lang="vi"] .fn-Crimson,
html[lang="vi"] .langBtn {
  font-family: "Be Vietnam Pro", "Noto Sans", system-ui, sans-serif !important;
}

html[lang="vi"] .fn-Poppins500,
html[lang="vi"] .fn-Noto500 {
  font-weight: 500;
}

html[lang="vi"] .fn-Poppins600 {
  font-weight: 600;
}

html[lang="vi"] .lesp-008,
html[lang="vi"] .lesp-015 {
  letter-spacing: 0.03em;
}

/* Section titles: horizontal (except menu title on PC — see below) */
.text-tategaki,
#ind_Shop .ind_Shop_ttl,
#ind_Shop .ind_Shop_ttl p,
#ind_Shop .ind_Shop_ttl span {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed;
}

/* Make "How to Eat Like a Local" a fixed area without scrolling/slider. */
#ind_Topics {
  overflow: hidden;
}

#ind_Topics #indtopics {
  /* fixed visible area */
  height: 640px;
  overflow: hidden !important;
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}

/* Keep any legacy list from becoming a horizontal scroller */
#ind_Topics .TopicsList {
  overflow: hidden !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#ind_Topics #indtopics::-webkit-scrollbar,
#ind_Topics .TopicsList::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* CTA buttons in hero */
.heroCTA {
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: calc(100% - 32px);
  max-width: 720px;
}

.heroBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2b2b2b;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.heroBtnSecondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.heroCopy {
  text-align: center;
}

.heroTitle {
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.heroSub {
  font-size: 14px;
  opacity: 0.95;
}

/* How-to box */
.howtoLead {
  margin: 18px auto 0;
  max-width: 860px;
}

/* Menu title (replace legacy image title) */
#ind_Menu .menuTitle {
  color: #6b5648;
  margin: 0;
  line-height: 1.2;
}

#ind_Menu .ind_Menu_right {
  flex: 1 1 auto;
  min-width: 0;
}

.menuPageCta {
  margin-top: 20px;
  text-align: left;
}

.menuPageCta_btn {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #7a2e3a;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.menuPageCta_btn__icon {
  grid-column: 1;
  grid-row: 1;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.menuPageCta_btn__label {
  grid-column: 2;
  grid-row: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.menuPageCta_btn__line {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menuPageCta_btn:hover {
  color: #5f2430;
  opacity: 0.9;
}

.menuPageCta_btn:active {
  opacity: 0.75;
}

/* PC: vertical title like original template */
@media (min-width: 751px) {
  #ind_Menu .ind_Menu_left {
    width: 18% !important;
    max-width: 112px;
    flex: 0 0 auto;
    text-align: center;
    padding-top: 6px;
    padding-right: 0;
  }

  #ind_Menu .menuTitle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-size: clamp(22px, 1.6vw, 30px);
    letter-spacing: 0.12em;
    margin: 0 auto;
    display: inline-block;
  }
}

#ind_Shop .ind_Shop_ttl,
#ind_Shop .ind_Shop_right .ind_Shop_ttl {
  width: auto !important;
  max-width: 100% !important;
}

#ind_Shop .ind_Shop_ttl p {
  line-height: 1.35;
  white-space: nowrap;
}

.howtoBox {
  margin: 20px auto 0;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 20px;
  color: #2b2b2b;
}

.howtoTitle {
  margin-bottom: 10px;
}

.howtoSteps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.howtoStep {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 14px;
}

.howtoStepImg {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.04);
  /* Make images feel fuller (near-square) */
  aspect-ratio: 1 / 1;
}

.howtoStepImg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.howtoSafety {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 235, 235, 0.85);
}

/* Give About section a little breathing room from hero */
#ind_Concept {
  margin-top: 18px;
}

/* Shift About image slightly downward for better framing */
#ind_Concept .ind_Concept_left {
  /* Crop the image a bit shorter */
  max-height: 520px;
  overflow: hidden;
}

#ind_Concept .ind_Concept_left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

/* Shop info + embedded map */
#ind_Shop .ind_ShopInner {
  justify-content: center;
}

#ind_Shop .ind_Shop_right {
  width: 100%;
}

.shopInfo {
  margin: 14px auto 0;
  max-width: 680px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shopInfo p {
  margin-top: 8px;
}

.shopInfo p:first-child {
  margin-top: 0;
}

.shopInfo a {
  text-decoration: none;
}

.shopMap {
  margin: 14px auto 0;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.shopMap iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* Center text inside "Mở Google Maps" button */
#ind_Shop .ind_Shop_btn .flex {
  justify-content: center;
  align-items: center;
}

#ind_Shop .ind_Shop_btn .morebtn_txt {
  text-align: center;
}

/* Remove trailing dot/icon on the button */
#ind_Shop .ind_Shop_btn .morebtn_svg {
  display: none;
}

/* Center the shop section title */
#ind_Shop .ind_Shop_ttl p {
  text-align: center;
}

/* Larger header logo */
#header .header_logo img {
  max-width: 200px;
  height: auto;
}

/* Top bar: language - logo - menu (PC + mobile) */
#topBar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Top bar overlays hero; hero uses full viewport height */
#wrapper {
  padding-top: 0;
}

.langSwitch {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.topBarLogo {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.topBarLogo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  line-height: 0;
}

.topBarLogo img,
.topBarLogo .topBarLogoImg {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: min(220px, 52vw);
  height: auto;
}

.topBarMenu {
  flex: 0 0 auto;
}

.langBtn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.92);
  color: #2b2b2b;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  line-height: 1;
}

.langBtn.isActive {
  background: rgba(43, 43, 43, 0.9);
  color: #fff;
  border-color: rgba(43, 43, 43, 0.9);
}

/* Use template menu sizing, but keep in bar flow */
.topBarMenu.navInner {
  position: static;
  width: 56px;
  height: 56px;
  right: auto;
  top: auto;
}

.topBarMenu .menu-trigger {
  width: 56px;
  height: 56px;
  display: inline-block;
}

/* Hero video: full-bleed */
#ind_KV {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 740px;
  position: relative;
  overflow: hidden;
}

#video-area {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#ind_KV .video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* Larger hero (KV) logo - override template fixed sizing */
#ind_KV .ind_KV_logo {
  top: 0px !important;
}

#ind_KV .ind_KV_logo img {
  width: 220px !important;
  height: auto !important;
  max-width: min(220px, 60vw) !important;
}

/* Footer nav: Vietnamese labels need breathing room */
.footer_nav_top ul.flex-jcs {
  justify-content: center;
  gap: 12px clamp(20px, 4vw, 40px);
}

.footer_nav_top ul.flex-jcs li {
  flex: 0 0 auto;
}

.footer_nav_top ul.flex-jcs li a {
  white-space: nowrap;
}

@media (max-width: 750px) {
  .footer_nav {
    display: block !important;
    max-width: 100% !important;
    transform: none !important;
    margin-bottom: 0 !important;
  }

  .footer_nav .footer_nav_top {
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Bottom row is empty on this site — hide so top nav can use full width */
  .footer_nav .footer_nav_bottom {
    display: none;
  }

  .footer_nav_top ul.flex-jcs.sp-noflex {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }

  .footer_nav_top ul.flex-jcs.sp-noflex li a {
    padding: 8px 0;
    font-size: 0.85em;
  }

  #ind_Topics #indtopics {
    height: 920px;
  }

  #topBar {
    padding: 8px 10px;
  }

  /* Mobile uses portrait hero-video-mobile.mp4 — cover fills screen */
  #ind_KV {
    min-height: 100svh;
    height: 100svh;
    max-height: none;
    background: #000;
  }

  #video-area {
    height: 100%;
  }

  #ind_KV .video.show-750 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
  }

  .topBarLogo img,
  .topBarLogo .topBarLogoImg {
    max-height: 56px;
    max-width: min(180px, 58vw);
  }

  .topBarLogo a {
    padding: 3px 8px;
  }

  .langBtn {
    font-size: 11px;
    padding: 6px 7px;
  }

  .heroCTA {
    bottom: 18px;
  }

  .howtoSteps {
    grid-template-columns: 1fr;
  }

  .howtoStepImg {
    aspect-ratio: 1 / 1;
  }

  #ind_Shop .ind_Shop_rightInner {
    width: 100%;
  }

  .shopInfo {
    max-width: 520px;
    padding: 0 12px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  #ind_Menu .ind_MenuInner {
    flex-direction: column;
    align-items: center;
  }

  #ind_Menu .ind_Menu_left {
    width: 100% !important;
    text-align: center;
    padding-right: 0;
    margin-bottom: 12px;
  }

  #ind_Menu .menuTitle {
    writing-mode: horizontal-tb !important;
    white-space: nowrap;
    font-size: clamp(22px, 4vw, 32px);
    letter-spacing: 0.06em;
  }

  #ind_Menu .ind_Menu_right {
    width: 100% !important;
    display: block;
  }

  #ind_Shop .ind_Shop_ttl p {
    white-space: normal;
    font-size: clamp(17px, 4.5vw, 22px);
    line-height: 1.4;
  }

  .shopMap iframe {
    height: 220px;
  }
}
