/* Homepage-only enhancement. The shared pages and original form/Pixel logic stay intact. */
.product-moments { background: var(--warm); }
.moments-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 7%; align-items: end; margin-bottom: 38px; }
.moments-heading h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.15; margin: 0; }
.moments-heading > p { max-width: 390px; color: var(--muted); margin: 0; }
.moments-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.moments-grid figure { margin: 0; min-width: 0; }
.moments-grid img { display: block; width: 100%; height: auto; border-radius: 16px; }
.moments-grid figcaption { padding: 20px 0 12px; }
.moments-grid figcaption span { color: var(--red-dark); font-family: var(--font-uppercase); font-size: .67rem; letter-spacing: .1em; }
.moments-grid figcaption p { margin: 8px 0 0; font-size: 1.15rem; font-weight: 700; }
.product-moments .partner-text-link { margin-top: 22px; }
.regional-partner { background: var(--warm); }
.regional-layout { display: grid; grid-template-columns: minmax(210px, 310px) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.regional-poster { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--black); }
.regional-poster img { display: block; width: 100%; height: auto; }
.regional-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; padding-left: 4px; border: 1px solid #fff; border-radius: 50%; background: #090909c9; color: #fff; }
.regional-duration { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 20px; background: #090909df; color: #fff; font-size: .75rem; }
.regional-copy h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.15; }
.regional-copy > p:not(.eyebrow) { max-width: 510px; color: var(--muted); margin-bottom: 28px; }
.regional-copy .button { padding: 16px 24px; gap: 20px; }
.regional-copy .partner-text-link { display: flex; width: fit-content; margin-top: 18px; }
@media (max-width: 820px) {
  .moments-heading { grid-template-columns: 1fr; gap: 20px; }
  .moments-heading > p { max-width: 560px; }
  .regional-layout { grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); gap: 30px; }
}
@media (max-width: 620px) {
  .moments-grid { grid-template-columns: 1fr; gap: 24px; }
  .regional-layout { grid-template-columns: 1fr; }
  .regional-copy { grid-row: 1; }
  .regional-poster { width: min(100%, 300px); justify-self: center; }
}
/* Supplied portrait model images: retain the entire storefront without cropping. */
.models-portrait .model-media { aspect-ratio: auto; }
.models-portrait .model-media img { display: block; height: auto; object-fit: contain; }
/* Supplied Bắc Ninh renders: preserve the complete image at every viewport. */
.journey-bac-ninh .journey-media { background: #e9e4dc; }
.journey-bac-ninh .journey-media img { object-fit: contain; }
.journey-bac-ninh .construction-viewport,
.journey-bac-ninh .construction-slide { min-height: 0; }
.journey-bac-ninh .construction-slide.is-active { display: block; }
.journey-bac-ninh .construction-media { min-height: 0; aspect-ratio: 1448 / 743; }
.journey-bac-ninh .construction-media::after { display: none; }
.journey-bac-ninh .construction-photo { padding: 0; object-fit: contain; filter: none; }
.journey-bac-ninh .construction-slide figcaption { min-height: 176px; padding: 24px 30px; border-left: 0; border-top: 1px solid #2c2c2c; }
.journey-bac-ninh .construction-slide figcaption span { margin-bottom: 10px; }
.journey-bac-ninh .construction-slide figcaption strong { font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.25; }
.journey-bac-ninh .construction-slide figcaption p { margin-top: 12px; }
.journey-bac-ninh .construction-carousel .carousel-arrow { top: auto; bottom: 2px; width: 40px; height: 40px; transform: none; }
.journey-bac-ninh .construction-carousel .carousel-prev { left: 0; }
.journey-bac-ninh .construction-carousel .carousel-next { right: 0; }
@media (max-width: 560px) {
  .journey-bac-ninh .journey-media { aspect-ratio: auto; }
  .journey-bac-ninh .journey-media img { display: block; height: auto; }
  .journey-bac-ninh .construction-slide figcaption { min-height: 204px; padding: 20px; }
}
.partner-page [hidden] { display: none !important; }
.partner-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgb(0 0 0 / 76%), rgb(0 0 0 / 0%));
  transition: background-color 200ms ease, border-color 200ms ease;
}
.partner-page .site-header.is-scrolled {
  background: rgb(9 9 9 / 96%);
  border-bottom-color: #333;
  backdrop-filter: blur(12px);
}
.partner-page .desktop-nav { gap: clamp(14px, 1.7vw, 26px); }
.partner-page .hero { position: relative; color: white; isolation: isolate; }
.partner-page .hero-viewport { height: min(900px, 100svh); min-height: 680px; }
.partner-page .hero-slide img { object-position: center top; }
.partner-page .hero-slide figcaption { display: none; }
.partner-page .hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 20% 0 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(0 0 0 / 90%), transparent 92%);
}
.hero-partner-copy {
  position: absolute;
  z-index: 3;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-partner-copy .eyebrow { font-size: .72rem; margin-bottom: 16px; }
.hero-partner-copy h1 { font-family: var(--font-body); font-size: clamp(3rem, 5.2vw, 5rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 20px; max-width: 760px; }
.hero-partner-copy h1 span { font-family: var(--font-uppercase); letter-spacing: 0; }
.hero-partner-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.7; color: #eee; margin: 0 0 26px; }
.hero-partner-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-partner-actions a { pointer-events: auto; }
.hero-partner-actions .button { gap: 30px; min-height: 54px; padding: 14px 24px; }
.partner-text-link { font-size: .88rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 10px; display: inline-flex; gap: 16px; align-items: center; }
.partner-text-link:hover { opacity: .8; }
.hero-image-note { position: absolute; z-index: 3; bottom: 8px; right: 26px; margin: 0; color: #ccc; font-size: .64rem; }
.partner-page .hero-dots { bottom: 30px; }
.partner-page .hero-carousel .carousel-arrow { top: 43%; }
.partner-reasons { background: var(--warm); }
.partner-reasons-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px 7%; align-items: end; }
.partner-reasons-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.partner-reasons-heading h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.16; margin: 0; }
.partner-reasons-heading > p:last-child { color: var(--muted); font-size: .95rem; max-width: 440px; margin: 0; }
.partner-reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--line); }
.partner-reasons-grid article { padding: 32px 28px 4px; border-right: 1px solid var(--line); }
.partner-reasons-grid article:first-child { padding-left: 0; }
.partner-reasons-grid article:last-child { padding-right: 0; border: 0; }
.partner-index { font-family: var(--font-uppercase); font-size: .72rem; letter-spacing: .08em; color: var(--red-dark); }
.partner-reasons-grid h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.35; margin: 24px 0 14px; }
.partner-reasons-grid p { font-size: .87rem; color: var(--muted); margin: 0 0 22px; }
.partner-reasons-grid a { font-size: .83rem; font-weight: 700; text-underline-offset: 5px; display: inline-flex; gap: 16px; }
.partner-offer-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; margin-top: 48px; color: white; background: var(--black); border-radius: 12px; border-left: 5px solid var(--red); }
.partner-offer-strip .partner-index { color: #ffb5b5; font-family: var(--font-body); font-size: .68rem; font-weight: 700; }
.partner-offer-strip p { margin: 8px 0 4px; font-size: 1.15rem; }
.partner-offer-strip small { color: #bdbdbd; font-size: .74rem; }
.partner-offer-strip .button { flex-shrink: 0; padding: 14px 24px; gap: 20px; }
.signature-products { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 8%; margin-top: 65px; padding-top: 42px; border-top: 1px solid rgb(255 255 255 / 40%); }
.signature-heading h3 { font-size: clamp(2.4rem, 3.7vw, 3.5rem); line-height: 1.15; margin: 16px 0 22px; }
.signature-heading > p:last-child { font-size: .95rem; max-width: 390px; color: #ffeaea; }
.signature-details article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; border-bottom: 1px solid rgb(255 255 255 / 35%); padding: 8px 0 22px; margin-bottom: 24px; }
.signature-number { font-family: var(--font-uppercase); font-size: 1.6rem; line-height: 1.3; }
.signature-details h4 { font-family: var(--font-body); font-size: 1.3rem; margin: 0 0 10px; }
.signature-details p { font-size: .9rem; margin: 0; color: #ffeaea; }
/* Always available during the campaign, even after the once-per-session popup. */
.offer-reminder {
  position: fixed;
  z-index: 95;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(108px, calc(env(safe-area-inset-bottom) + 108px));
  display: block;
  width: 128px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}
.offer-reminder-image { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 4px 5px rgb(0 0 0 / 30%)); animation: offer-art-breathe 5s ease-in-out infinite; }
.offer-reminder:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #111; }
.offer-reminder:is(:hover, :focus-visible) .offer-reminder-image,
.partner-page:has(form:focus-within) .offer-reminder-image { animation-play-state: paused; }
.partner-page:has(#zalo-dialog[open]) .offer-reminder,
.partner-page:has(.menu-toggle[aria-expanded="true"]) .offer-reminder { visibility: hidden; pointer-events: none; }
@keyframes offer-art-breathe {
  0%, 65%, 100% { transform: translateY(0); filter: drop-shadow(0 4px 5px rgb(0 0 0 / 30%)); }
  30% { transform: translateY(-3px); filter: drop-shadow(0 3px 7px rgb(255 204 38 / 45%)); }
}
.partner-offer-dialog {
  padding: 0;
  width: min(520px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: none;
}
.partner-offer-dialog::backdrop { background: rgb(0 0 0 / 68%); backdrop-filter: blur(5px); }
.partner-offer-dialog[open] { animation: offer-pop-in 220ms ease-out; }
.offer-artwork { position: relative; width: min(100%, max(240px, calc((100dvh - 210px) * .8))); margin-inline: auto; }
.offer-art-link { display: block; border-radius: 16px; text-decoration: none; }
.offer-art-link img { display: block; width: 100%; height: auto; }
.offer-art-link:focus-visible { outline: 3px solid white; outline-offset: -3px; }
/* The supplied artwork already includes the X. This real, labelled button makes it work. */
.offer-close { position: absolute; z-index: 2; left: 93.6%; top: 5.3%; transform: translate(-50%, -50%); width: max(44px, 10%); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.offer-close > span { visibility: hidden; }
.offer-close:hover { background: rgb(0 0 0 / 9%); }
.offer-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.offer-conditions { padding: 12px 16px 8px; margin-top: 6px; border-radius: 12px; background: rgb(0 0 0 / 75%); text-align: center; }
.offer-conditions #partner-offer-terms { margin: 0; font-size: .73rem; line-height: 1.6; }
.offer-conditions #partner-offer-terms strong { display: block; color: #ffe179; }
.offer-date { font-size: .7rem; line-height: 1.5; color: #ffe179; margin: 7px 0; }
.offer-registration-note { font-size: .65rem; line-height: 1.5; color: #ddd; margin: 0; }
.offer-dismiss { min-height: 44px; padding: 10px 8px; border: 0; color: white; background: transparent; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: .72rem; cursor: pointer; }
.offer-art-fallback { display: flex; min-height: 280px; padding: 60px 24px 24px; flex-direction: column; justify-content: center; gap: 18px; border-radius: 20px; background: #ffe179; color: #111; text-align: center; }
.offer-art-fallback strong { font-size: 2rem; }
.offer-art-fallback > span { padding: 14px; border-radius: 8px; background: #075b36; color: white; font-weight: 700; }
.artwork-unavailable .offer-art-link img { display: none; }
.artwork-unavailable .offer-close { background: white; color: #111; font: 32px Arial, sans-serif; }
.artwork-unavailable .offer-close > span { visibility: visible; }
@keyframes offer-pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  /* Keep the destination form in view on narrow tablets and landscape phones. */
  .partner-page .final-layout { grid-template-columns: minmax(0, 1fr); }
  .partner-page .header-inner { gap: 16px; }
  .partner-page .desktop-nav { gap: 14px; font-size: .68rem; }
  .partner-page .desktop-header-cta { font-size: .68rem; padding: 12px 16px; }
  .hero-partner-copy { padding-inline: 42px; }
}
@media (max-width: 820px) {
  /* Share the existing bottom action row, instead of covering the phone form. */
  .offer-reminder { right: max(10px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); width: 88px; }
  .partner-page.has-offer-reminder .mobile-sticky-cta { right: calc(110px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 72px; padding-inline: 8px; font-size: .74rem; text-align: center; }
  .partner-page .hero-viewport { min-height: 620px; height: 85svh; }
  .partner-page .mobile-menu { background: rgb(9 9 9 / 98%); max-height: calc(100dvh - 70px); overflow: auto; }
  .hero-partner-copy { padding-inline: 32px; }
  .hero-partner-copy h1 { font-size: 3.3rem; }
  .partner-reasons-heading { grid-template-columns: 1fr; }
  .partner-reasons-grid { gap: 22px; }
  .partner-reasons-grid article { padding-inline: 0; border: 0; }
  .partner-offer-strip { flex-direction: column; align-items: flex-start; }
  .signature-products { gap: 30px; }
}
@media (max-width: 560px) {
  /* Keep the full 4:3 picture on phones; copy sits below it, never over the food/people. */
  .partner-page .hero-viewport { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .partner-page .hero-slide img { object-fit: contain; object-position: center; }
  .partner-page .hero::after { display: none; }
  .hero-partner-copy { position: relative; bottom: auto; left: auto; transform: none; width: 100%; padding: 27px 22px 24px; }
  .hero-partner-copy .eyebrow { font-size: .57rem; margin-bottom: 14px; }
  .hero-partner-copy h1 { font-size: clamp(2.15rem, 8.5vw, 3rem); line-height: 1.12; margin-bottom: 15px; }
  .hero-partner-copy > p:not(.eyebrow) { font-size: .82rem; margin-bottom: 20px; }
  .hero-partner-actions { gap: 10px 20px; }
  .hero-partner-actions .button { font-size: .75rem; min-height: 48px; padding: 12px 18px; }
  .hero-partner-actions .partner-text-link { font-size: .72rem; }
  .hero-image-note { position: static; padding: 0 22px 20px; font-size: .58rem; color: #aaa; }
  .partner-page .hero-dots { bottom: 16px; }
  .partner-reasons { padding-block: 58px; }
  .partner-reasons-grid { grid-template-columns: 1fr; margin-top: 30px; gap: 0; }
  .partner-reasons-grid article { padding: 25px 0; border-bottom: 1px solid var(--line); }
  .partner-reasons-grid h3 { font-size: 1.45rem; margin-top: 15px; }
  .partner-reasons-grid p { max-width: 380px; }
  .partner-offer-strip { padding: 23px; margin-top: 25px; }
  .partner-offer-strip p { font-size: 1.05rem; }
  .signature-products { grid-template-columns: 1fr; margin-top: 35px; padding-top: 30px; gap: 25px; }
  .signature-heading h3 { font-size: 2.35rem; }
  .signature-details article { grid-template-columns: 36px 1fr; gap: 12px; }
  .signature-details h4 { font-size: 1.1rem; }
  .signature-details p { font-size: .85rem; }
  .offer-conditions { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-page .site-header { transition: none; }
  .partner-offer-dialog[open] { animation: none; }
  .offer-reminder-image { animation: none; }
}
