/* Chuyển ngôn ngữ VI / JA / EN */
.langSwitch {
  display: flex;
  gap: 6px;
  align-items: center;
}

.langSwitch__btn {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 31, 40, 0.35);
  border-radius: 4px;
  background: transparent;
  color: #001f28;
  font-family: "NHaasGroteskTXPro-55Rg", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  line-height: 1;
}

.langSwitch__btn.is-active {
  background: #001f28;
  color: #fff;
  border-color: #001f28;
}

.langSwitch--fixed {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.headerNav .langSwitch {
  justify-content: center;
  margin: 24px auto 16px;
}

.headerNav .langSwitch__btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.headerNav .langSwitch__btn.is-active {
  background: #fff;
  color: #001f28;
}

@media screen and (min-width: 751px) {
  .headerNav .langSwitch {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  .langSwitch--fixed {
    top: 10px;
    right: 10px;
  }
}

/* Ốc Đào 2 — chỉnh vị trí logo (đẩy lên) */
.fv__logoWrapper {
  top: 0.5vw !important;
}

.opening__logo {
  top: 46% !important;
}

.header__logoWrapper {
  top: 10px !important;
}

.headerNav__logo {
  margin-top: 2vw !important;
  width: 30vw !important;
  max-width: 400px;
}

.header__logoWrapper {
  mix-blend-mode: normal !important;
}

.header__logo {
  width: 210px !important;
}

.header__logo img,
.headerNav__logo img,
.footer__logo,
.footer__logoLink img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.footer__logoLink {
  width: 300px !important;
}

.footer__wrapper {
  align-items: center;
  gap: 32px;
}

.footer__list {
  flex: 0 1 472px;
}

.footer__mapWrap {
  flex: 1 1 360px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.footer__map {
  display: block;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 18px;
}

.fv__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.opening__logo {
  width: 42vw !important;
  max-width: 680px;
  min-width: 280px;
  height: auto;
  object-fit: contain;
}

/* Opening + Hero: tăng sáng / tương phản (tránh ảnh bị chìm) */
.opening__bg.blurInFv {
  filter: blur(15px) brightness(1.12) contrast(1.14) saturate(1.18);
}

.opening__bg.blurInFv.on {
  filter: blur(0) brightness(1.12) contrast(1.14) saturate(1.18);
}

.opening__logo {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

/* Hero: mask PNG gốc */
.fv__mainWrapper {
  overflow: visible;
}

.fv__photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2242 / 1482;
}

.fv__photoImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.06);
  transform-origin: center center;
  filter: brightness(1.1) contrast(1.12) saturate(1.16);
  -webkit-mask-image: url("../assets/imgs/img_fv_1.png");
  mask-image: url("../assets/imgs/img_fv_1.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Product banner */
.product__imgWrapper .product__img {
  display: block;
  width: 100%;
  height: auto;
}

.product__img.mask__animation--img {
  animation: mask-animation 2s linear 0.8s forwards;
}

/* Product: chữ không bị ảnh lục giác đè */
.product .inner-863 {
  position: relative;
  z-index: 3;
}

.product__deco--1 {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.product__decoPhoto {
  display: block;
  width: 100%;
  aspect-ratio: 1304 / 1406;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  transform-origin: center center;
  -webkit-mask-image: url("../assets/imgs/img_product_2.png");
  mask-image: url("../assets/imgs/img_product_2.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@media screen and (min-width: 751px) {
  .product .inner-863 {
    max-width: min(863px, 46vw);
    margin-left: 6.1%;
    margin-right: auto;
  }

  .product__title,
  .product__text {
    max-width: 100%;
  }
}

/* Scene: badge #01–#03 không đè caption */
@media screen and (min-width: 751px) {
  .sceneItem__text {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-left: 6.5rem;
    padding-right: 0.25rem;
    box-sizing: border-box;
  }

  .sceneItem__icon {
    z-index: 1;
  }
}

/* Menu */
.menuItem__img {
  aspect-ratio: 650 / 488;
  object-fit: cover;
  object-position: center;
}

.menuItem__img[src*="oc-huong"] {
  object-position: center 70%;
}

@media screen and (min-width: 751px) {
  .menu__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .menuItem:nth-child(-n + 2) .menuItem__imgWrapper {
    min-height: 0;
  }

  .menuItem:nth-child(-n + 2) .menuItem__img {
    vertical-align: top;
  }
}

@media screen and (max-width: 750px) {
  .header__logo {
    width: 160px !important;
  }

  .footer__wrapper {
    gap: 0;
  }

  .footer__logoLink {
    width: 240px !important;
  }

  .footer__mapWrap {
    order: 0;
    flex: 0 0 auto;
    width: min(100%, 560px);
    max-width: 100%;
    margin: 0 auto 48px;
  }

  .footer__map {
    min-height: 240px;
  }

  .footer__list {
    order: 1;
    width: 73.3vw;
    margin-right: auto;
    margin-left: auto;
  }

  .headerNav__logo {
    width: 55vw !important;
    max-width: 320px;
  }

  .fv__logoWrapper {
    top: 4vw !important;
  }

  .opening__logo {
    top: 44% !important;
    width: 78vw !important;
    max-width: none;
    min-width: 0;
  }

  .header__logoWrapper {
    top: 8px !important;
  }

  .fv__photo {
    aspect-ratio: 750 / 1014;
  }

  .fv__photoImg {
    object-position: center 30%;
    filter: brightness(1.12) contrast(1.14) saturate(1.18);
    -webkit-mask-image: url("../assets/imgs/img_fv_1_sp.png");
    mask-image: url("../assets/imgs/img_fv_1_sp.png");
  }

  .opening__bg.blurInFv,
  .opening__bg.blurInFv.on {
    filter: blur(0) brightness(1.14) contrast(1.16) saturate(1.2);
  }

  .opening__bg.blurInFv:not(.on) {
    filter: blur(15px) brightness(1.14) contrast(1.16) saturate(1.2);
  }

  .product .inner-863 {
    max-width: 100%;
  }

  .product__decoPhoto {
    object-position: center 36%;
  }

  .sceneItem__text {
    padding-left: 32vw;
    padding-top: 2vw;
  }

  /* Store: bỏ layout absolute — hiện đủ địa chỉ, SĐT, giờ mở cửa */
  .storeItem {
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
    gap: 5vw;
  }

  .storeItem__right {
    position: static !important;
    top: auto !important;
    left: auto !important;
    order: -1;
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 2vw;
  }

  .storeItem__rightImg {
    width: 100%;
    height: auto;
    display: block;
  }

  .storeItem__left {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 6vw;
    padding: 0 6.1%;
    box-sizing: border-box;
  }

  .storeItem__leftItemBox {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .storeItem__leftItem:not(:last-of-type) {
    margin-bottom: 22px;
  }

  .storeItem__leftText {
    font-size: 14px;
    line-height: 1.75;
  }

  .storeItem__address,
  .storeItem__leftText--link,
  .storeItem__mapsLink {
    word-break: break-word;
  }
}

.storeItem__mapsLink {
  display: inline-block;
  margin-top: 0.35em;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.storeItem__mapsLink:hover {
  opacity: 0.75;
}

@media screen and (max-width: 480px) {
  .footer__mapWrap {
    margin-bottom: 40px;
  }

  .footer__map {
    min-height: 220px;
  }

  .storeItem__right {
    top: auto !important;
  }
}
