/* ==========================================================================
   Fê 2go — giao diện vẽ tay: giấy kem, mực đen, đỏ & vàng
   ========================================================================== */
:root {
  --paper: #fffaf0;
  --paper-deep: #f8eeda;
  --card: #fffdf8;
  --ink: #11100f;
  --muted: #5b5247;
  --red: #f23831;
  --red-deep: #c9241e;
  --red-btn: #d62b25;
  --yellow: #ffd629;
  --coffee: #c98b5e;
  --matcha: #9bc46b;
  --peach: #f7a56a;
  --taro: #b79ae0;
  --berry: #f08fb1;
  --green: #1f9d55;

  --line: 3px solid var(--ink);
  --line-thin: 2px solid var(--ink);
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 5px 6px 0 var(--ink);
  --shadow-small: 3px 4px 0 var(--ink);

  --font-display: "Grandstander", "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-hand: "Patrick Hand", "Grandstander", "Segoe UI", cursive;

  --header-h: 76px;
  --chips-h: 58px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--chips-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 14rem, rgba(255, 214, 41, 0.2), transparent 18rem),
    radial-gradient(circle at 94% 30rem, rgba(242, 56, 49, 0.09), transparent 20rem);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border: var(--line);
  border-radius: var(--radius-small);
  background: var(--yellow);
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------- Chữ ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 1.1rem + 2.6vw, 2.9rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--red-deep);
  letter-spacing: 0.02em;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.underline-doodle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.underline-doodle::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.16em;
  height: 0.34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c22-7 39 5 61-1s38-6 60 0 46 3 73-3' fill='none' stroke='%23f23831' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat left center / 100% 100%;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.9s var(--ease-out) 0.25s;
}

.no-gsap .reveal:not(.is-visible) .underline-doodle::after,
.motion h2:not(.is-drawn) .underline-doodle::after {
  clip-path: inset(0 100% 0 0);
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 22px;
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-small);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease-bounce),
    box-shadow 0.18s var(--ease-out),
    background-color 0.18s;
}

.btn:hover {
  transform: translate(-2px, -3px) rotate(-1deg);
  box-shadow: 6px 8px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-red {
  background: var(--red-btn);
  color: #fff;
}

.btn-ink {
  background: var(--ink);
  color: var(--yellow);
}

.btn-ink:hover {
  box-shadow: 6px 8px 0 var(--red);
}

.btn-paper {
  background: var(--card);
}

.btn-paper:hover {
  background: var(--yellow);
}

.btn-small {
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: var(--line-thin);
  font-family: var(--font-display);
  font-weight: 800;
  white-space: nowrap;
}

.link-arrow span {
  transition: transform 0.2s var(--ease-bounce);
}

.link-arrow:hover span {
  transform: translateX(5px);
}

.tag {
  display: inline-block;
  padding: 2px 8px 1px;
  border: var(--line-thin);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.25;
  vertical-align: 0.12em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.tag-best {
  background: var(--yellow);
}

.tag-new {
  background: var(--red-btn);
  color: #fff;
}

/* ---------- Hiệu ứng xuất hiện ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px) rotate(-0.5deg);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.25s;
}

.site-header.is-stuck {
  box-shadow: 0 3px 0 var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: block;
  flex: none;
  transition: transform 0.25s var(--ease-bounce);
}

.brand:hover {
  transform: rotate(-4deg) scale(1.06);
}

.brand-logo {
  width: auto;
  height: 62px;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 2.6vw, 34px);
  font-family: var(--font-display);
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}

/* Màn hình vừa: nhường chỗ cho nút đổi ngôn ngữ. */
@media (max-width: 1240px) {
  .header-actions .open-badge {
    display: none;
  }
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 14px;
    font-size: 0.92rem;
  }

  .header-cta {
    display: none;
  }
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.open-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9a9186;
}

.open-badge.is-open::before {
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.open-badge-inline {
  margin-left: 6px;
  vertical-align: middle;
}

.scroll-road {
  position: relative;
  height: 4px;
}

.scroll-road-fill {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--red) 0 16px, transparent 16px 24px);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.scroll-rider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: auto;
  opacity: 0;
  /* Xe trong ảnh quay mặt sang trái; lật lại để chạy đúng chiều thanh tiến độ. */
  transform: translateX(calc(var(--p, 0) * (100vw - 48px))) scaleX(-1);
  transition: opacity 0.3s;
  pointer-events: none;
}

.site-header.is-riding .scroll-rider {
  opacity: 1;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(22px, 4vw, 56px) 0 clamp(30px, 5vw, 70px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}

/* Không có GSAP (hoặc không có JS): chữ hero trồi lên bằng CSS. */
html:not(.js) .hero-anim,
.no-gsap .hero-anim {
  animation: rise-in 0.8s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

/* Có GSAP: giấu sẵn để dàn cảnh mở màn không bị nháy. */
.js:not(.no-gsap) .hero-anim,
.js:not(.no-gsap) .hero-stage {
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 1.1rem + 4.6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Hai tagline nằm chồng lên nhau trong cùng một ô lưới, nên chiều cao tiêu đề không nhảy khi đổi. */
.hero-title {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  display: block;
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out),
    visibility 0s;
}

.hero-slide:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    visibility 0s linear 0.45s;
}

/* Có GSAP: từng chữ tự bay ra bay vào, không cần hiệu ứng mờ của cả khối. */
.motion .hero-slide,
.motion .hero-slide:not(.is-active) {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-title mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.12em;
  background: none;
  color: inherit;
  white-space: nowrap;
}

.hero-title mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.16em -0.04em 0.02em;
  border-radius: 0.14em 0.3em 0.18em 0.26em;
  background: var(--yellow);
  transform: rotate(-1.6deg) scaleX(var(--mark, 1));
  transform-origin: left center;
}

html:not(.js) .hero-title mark::before,
.no-gsap .hero-title mark::before {
  animation: swipe-in 0.7s var(--ease-out) 0.75s both;
}

.hero-text {
  max-width: 34rem;
  margin-top: 18px;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.14rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-award {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 8px 18px 8px 8px;
  border: var(--line);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: var(--shadow-small);
  rotate: -1.5deg;
}

.award-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: var(--line-thin);
  border-radius: 50%;
  background: var(--card);
}

.award-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.award-text {
  display: grid;
  line-height: 1.2;
}

.award-text strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 900;
}

.award-text small {
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-facts > div {
  min-width: 108px;
  padding: 10px 16px 9px;
  border: var(--line);
  border-radius: var(--radius-small);
  background: var(--card);
  box-shadow: var(--shadow-small);
  transition: transform 0.25s var(--ease-bounce);
}

.hero-facts > div:nth-child(1) {
  transform: rotate(-2deg);
}

.hero-facts > div:nth-child(2) {
  transform: rotate(1.2deg);
  background: var(--yellow);
}

.hero-facts > div:nth-child(3) {
  transform: rotate(-0.8deg);
}

.hero-facts > div:hover {
  transform: rotate(0) translateY(-4px);
}

.hero-facts dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.hero-facts dt small {
  font-size: 0.62em;
}

.hero-facts dd {
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-facts > div:nth-child(2) dd {
  color: var(--ink);
}

/* Sân khấu minh hoạ */
.hero-stage {
  position: relative;
  aspect-ratio: 5 / 4;
}

@media (min-width: 1280px) {
  .hero-stage {
    margin-right: clamp(-60px, -3vw, 0px);
  }
}

.hero-stage [data-depth] {
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
}

.sun {
  position: absolute;
  top: 6%;
  left: 12%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.85;
  animation: breathe 6s ease-in-out infinite;
}

.cloud {
  position: absolute;
  width: 92px;
  height: 30px;
  border: var(--line);
  border-radius: 999px;
  background: var(--card);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 9px;
  border: var(--line);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: var(--card);
}

.cloud::before {
  left: 12px;
  width: 34px;
  height: 22px;
}

.cloud::after {
  right: 12px;
  width: 42px;
  height: 30px;
}

.cloud-a {
  top: 4%;
  right: 10%;
  animation: drift 13s ease-in-out infinite alternate;
}

.cloud-b {
  top: 24%;
  left: 2%;
  scale: 0.7;
  animation: drift 17s ease-in-out infinite alternate-reverse;
}

.float-doodle {
  position: absolute;
  font-family: var(--font-display);
  line-height: 1;
  scale: var(--pop, 1);
  animation: bob 4s ease-in-out infinite;
}

.fd-heart-a {
  top: 16%;
  left: 40%;
  font-size: 2rem;
  color: var(--red);
}

.fd-heart-b {
  bottom: 30%;
  left: 6%;
  font-size: 1.6rem;
  animation-delay: -1.3s;
}

.fd-star-a {
  top: 44%;
  right: 2%;
  font-size: 1.8rem;
  color: var(--red);
  animation-name: twinkle;
  animation-duration: 3s;
}

.fd-star-b {
  top: 2%;
  left: 52%;
  font-size: 1.3rem;
  animation-name: twinkle;
  animation-duration: 3.6s;
  animation-delay: -1s;
}

.hero-rider-wrap {
  position: absolute;
  inset: 8% -4% 6% -6%;
  display: flex;
  align-items: flex-end;
}

html:not(.js) .hero-rider-wrap,
.no-gsap .hero-rider-wrap {
  animation: ride-in 1.1s var(--ease-out) 0.2s both;
}

.hero-rider {
  width: 100%;
  transform-origin: 60% 90%;
  translate: calc(var(--drive, 0) * 1%) 0;
  animation: engine 0.9s ease-in-out infinite;
}

.speed {
  position: absolute;
  right: -4%;
  height: 4px;
  border-radius: 4px;
  background: var(--ink);
  animation: speed 1.3s linear infinite;
}

.speed-a {
  top: 46%;
  width: 16%;
}

.speed-b {
  top: 58%;
  width: 10%;
  animation-delay: -0.4s;
}

.speed-c {
  top: 68%;
  width: 20%;
  animation-delay: -0.8s;
  background: var(--red);
}

.hero-road {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 2%;
  height: 6px;
  overflow: hidden;
}

.hero-road span {
  display: block;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 62px);
  animation: road 0.9s linear infinite;
}

.hero-sticker {
  position: absolute;
  right: 3%;
  bottom: 10%;
  display: grid;
  place-items: center;
  padding: 12px 18px 10px;
  border: var(--line);
  border-radius: 16px 18px 14px 20px;
  background: var(--red);
  box-shadow: var(--shadow-small);
  color: #fff;
  font-family: var(--font-display);
  line-height: 1.05;
  text-align: center;
  rotate: 7deg;
  scale: var(--pop, 1);
  animation: wobble 3.6s ease-in-out 1.8s infinite;
}

html:not(.js) .hero-sticker,
.no-gsap .hero-sticker {
  animation:
    pop-in 0.6s var(--ease-bounce) 1.1s both,
    wobble 3.6s ease-in-out 1.8s infinite;
}

.hero-sticker strong {
  font-size: 1.5rem;
  font-weight: 900;
}

.hero-sticker span {
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 800;
}

/* ==========================================================================
   Dải chữ chạy
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 2;
  margin: 0 -2vw;
  padding: 13px 0 11px;
  border-block: var(--line);
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  rotate: -1.2deg;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  flex: none;
  align-items: center;
}

.marquee-set span {
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.marquee-set i {
  color: var(--red);
  font-style: normal;
  font-size: 1.2rem;
}

/* ==========================================================================
   Đầu mục
   ========================================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   Vì sao đáng tiền
   ========================================================================== */
.value {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(64px, 9vw, 120px) 0 clamp(20px, 3vw, 40px);
}

.value-lead {
  max-width: 36rem;
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
}

.value-out {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.value-out li {
  position: relative;
  padding: 6px 14px 5px;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--muted);
  rotate: -2deg;
}

.value-out li:nth-child(2) {
  rotate: 1.5deg;
}

.value-out li::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 4px;
  border-radius: 4px;
  background: var(--red);
  transform: rotate(-4deg) scaleX(var(--strike, 1));
  transform-origin: left center;
}

.value-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  counter-reset: pillar;
}

.value-pillars li {
  position: relative;
  padding: 34px 16px 16px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-small);
  counter-increment: pillar;
}

.value-pillars li::before {
  content: counter(pillar);
  position: absolute;
  top: -16px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  rotate: -8deg;
}

.value-pillars li:nth-child(2)::before {
  background: var(--matcha);
}

.value-pillars li:nth-child(3)::before {
  background: var(--peach);
}

.value-pillars strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

.value-pillars span {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.value-visual {
  --fill: 100;
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
}

.value-visual::before {
  content: "";
  position: absolute;
  inset: 16% 4% 2%;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: var(--yellow);
  opacity: 0.6;
}

.value-cup {
  position: relative;
  display: block;
  width: 78%;
  margin-inline: auto;
  overflow: visible;
}

.cup-straw {
  stroke: var(--red);
  stroke-width: 14;
  stroke-linecap: round;
}

.cup-glass {
  fill: #fffdf8;
}

.cup-liquid {
  transform: translateY(calc((100 - var(--fill)) * 2.5px));
}

.cup-tea {
  fill: #b9763f;
}

.cup-milk {
  fill: #e9c08f;
}

.cup-foam {
  fill: #fff3d6;
  stroke: var(--ink);
  stroke-width: 4;
}

.cup-pearls circle {
  fill: #2a1a12;
}

.cup-outline,
.cup-lid,
.cup-rim {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cup-lid {
  fill: rgba(255, 253, 248, 0.55);
}

.cup-rim {
  fill: var(--card);
}

.cup-shine {
  fill: none;
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.55;
}

.value-tag {
  position: absolute;
  padding: 5px 12px 4px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 2px 3px 0 var(--ink);
  font-family: var(--font-hand);
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
}

.value-tag-a {
  top: 34%;
  right: -4%;
  rotate: 4deg;
}

.value-tag-b {
  top: 56%;
  left: -6%;
  rotate: -5deg;
  background: var(--yellow);
}

.value-tag-c {
  bottom: 8%;
  right: -2%;
  rotate: -3deg;
}

.value-meter {
  position: absolute;
  top: 2%;
  left: 0;
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border: var(--line);
  border-radius: 50%;
  background: var(--red-btn);
  box-shadow: var(--shadow-small);
  color: #fff;
  font-family: var(--font-display);
  line-height: 1;
  text-align: center;
  rotate: -10deg;
  align-content: center;
}

.value-meter b {
  font-size: 2rem;
  font-weight: 900;
}

.value-meter small {
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
}

@media (max-width: 860px) {
  .value {
    grid-template-columns: 1fr;
  }

  .value-visual {
    order: -1;
    width: min(78%, 300px);
  }

  .value-pillars {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .value-tag {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Món nổi bật
   ========================================================================== */
.featured {
  padding: clamp(56px, 8vw, 100px) 0 clamp(20px, 3vw, 40px);
}

.featured-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.feature-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 16px 14px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition:
    transform 0.28s var(--ease-bounce),
    box-shadow 0.28s var(--ease-out);
}

.feature-card:nth-child(odd) a {
  rotate: -0.6deg;
}

.feature-card:nth-child(even) a {
  rotate: 0.7deg;
}

.feature-card a:hover {
  transform: translate(-3px, -8px) rotate(0.6deg);
  box-shadow: 9px 13px 0 var(--ink);
}

.feature-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  margin-bottom: 12px;
}

.feature-art::before {
  content: "";
  position: absolute;
  inset: 16% 12% 6%;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: var(--yellow);
  opacity: 0.55;
  transition: transform 0.4s var(--ease-bounce), opacity 0.3s;
}

.feature-card:nth-child(3n + 2) .feature-art::before {
  background: var(--peach);
}

.feature-card:nth-child(3n) .feature-art::before {
  background: var(--matcha);
}

/* Ảnh nằm gọn trong khung cố định, nên chữ và giá ở mọi thẻ thẳng hàng nhau dù ảnh cao thấp khác nhau. */
.feature-art img {
  position: absolute;
  inset: 4% 9% 2%;
  width: 82%;
  height: 94%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-bounce);
}

.feature-card a:hover .feature-art img {
  transform: translateY(-6px) rotate(-5deg) scale(1.07);
}

.feature-card a:hover .feature-art::before {
  transform: scale(1.14) rotate(12deg);
  opacity: 0.8;
}

.feature-tag {
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 0.9rem;
  rotate: 6deg;
  transform: none;
}

.feature-cat {
  font-family: var(--font-hand);
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.2;
}

.feature-name {
  margin-top: 2px;
  min-height: 2.36em; /* chừa sẵn hai dòng để tên dài, tên ngắn vẫn thẳng hàng */
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.18;
}

.feature-price {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red-deep);
}

.feature-price small,
.price-value small {
  font-size: 0.72em;
  margin-left: 1px;
}

/* ==========================================================================
   Ảnh thật (polaroid)
   ========================================================================== */
.gallery {
  padding: clamp(50px, 7vw, 90px) 0 clamp(10px, 2vw, 30px);
  overflow-x: clip;
}

.gallery .section-head {
  margin-bottom: clamp(10px, 2vw, 22px);
}

.gallery-rows {
  display: grid;
  gap: 6px;
}

/* Mặc định: mỗi hàng vuốt ngang được (điện thoại, không JS, giảm chuyển động). */
.gallery-track {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-row {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
  width: max-content;
  padding: 22px max(16px, calc((100vw - 1180px) / 2)) 26px;
}

.polaroid-item {
  flex: none;
  scroll-snap-align: center;
}

.polaroid {
  position: relative;
  display: block;
  width: clamp(178px, 19vw, 262px);
  padding: 10px 10px 0;
  border: var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  rotate: var(--r, 0deg);
  cursor: zoom-in;
  transition:
    rotate 0.35s var(--ease-bounce),
    transform 0.35s var(--ease-bounce),
    box-shadow 0.3s var(--ease-out);
}

/* Miếng băng dính */
.polaroid::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 74px;
  height: 24px;
  border: 2px solid rgba(17, 16, 15, 0.55);
  background: rgba(255, 214, 41, 0.86);
  transform: translateX(-50%) rotate(-4deg);
}

.polaroid-item:nth-child(3n) .polaroid::before {
  background: rgba(242, 56, 49, 0.78);
  transform: translateX(-50%) rotate(5deg);
}

.polaroid-item:nth-child(3n + 2) .polaroid::before {
  background: rgba(155, 196, 107, 0.86);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--line-thin);
  border-radius: 6px;
  background: var(--paper-deep);
}

.polaroid-caption {
  display: block;
  padding: 8px 2px 10px;
  font-family: var(--font-hand);
  font-size: 1.08rem;
  line-height: 1.2;
  text-align: center;
}

.polaroid:hover,
.polaroid:focus-visible {
  z-index: 2;
  rotate: 0deg;
  transform: translateY(-10px) scale(1.06);
  box-shadow: 10px 14px 0 var(--ink);
}

/* Máy tính có GSAP: hai hàng trôi ngược chiều nhau theo độ cuộn. */
@media (min-width: 861px) {
  .motion .gallery-track {
    overflow: visible;
  }

  .motion .gallery-row {
    will-change: transform;
  }
}

/* Xem ảnh lớn */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(17, 16, 15, 0.86);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: min(92vw, 760px);
  padding: 12px 12px 4px;
  border: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 10px 12px 0 var(--red);
  rotate: -1deg;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  border: var(--line-thin);
  border-radius: 8px;
}

.lightbox figcaption {
  padding-bottom: 8px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: center;
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--shadow-small);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s var(--ease-bounce);
}

.lightbox-btn:hover {
  transform: scale(1.12) rotate(-6deg);
}

.lightbox-prev {
  top: 50%;
  left: max(12px, 3vw);
  margin-top: -27px;
}

.lightbox-next {
  top: 50%;
  right: max(12px, 3vw);
  margin-top: -27px;
}

.lightbox-close {
  top: max(12px, 2.4vh);
  right: max(12px, 3vw);
  background: var(--card);
}

.lightbox-count {
  position: absolute;
  bottom: max(12px, 2.4vh);
  left: 50%;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  transform: translateX(-50%);
}

@media (max-width: 760px) {
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: max(10px, 2vh);
    margin-top: 0;
  }

  .lightbox img {
    max-height: calc(100dvh - 230px);
  }
}

/* ==========================================================================
   Ưu đãi
   ========================================================================== */
.promo {
  padding: clamp(36px, 6vw, 72px) 0;
}

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px);
  border: var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.55) 0 5px, transparent 6px) 0 0 / 46px 46px,
    var(--yellow);
  box-shadow: 8px 10px 0 var(--ink);
}

.promo-art {
  display: grid;
  place-items: center;
  padding: 6%;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  aspect-ratio: 1;
  max-width: 340px;
  justify-self: center;
  width: 100%;
  rotate: -3deg;
}

.promo-art img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  animation: bob 4.5s ease-in-out infinite;
}

.promo-copy h2 {
  font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.3rem);
  font-weight: 900;
}

.promo-copy .eyebrow {
  color: var(--ink);
}

.promo-copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 12px;
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.promo-burst {
  position: absolute;
  top: -34px;
  right: clamp(12px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 104px;
  aspect-ratio: 1;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  clip-path: polygon(50% 0, 61% 12%, 75% 7%, 79% 21%, 93% 25%, 88% 39%, 100% 50%, 88% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 88%, 50% 100%, 39% 88%, 25% 93%, 21% 79%, 7% 75%, 12% 61%, 0 50%, 12% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 12%);
  animation: wobble 3s ease-in-out infinite;
}

.promo-burst b {
  font-size: 2rem;
}

.promo-burst i {
  font-style: normal;
  font-size: 1.3rem;
  color: var(--yellow);
}

/* ==========================================================================
   Bảng giá
   ========================================================================== */
.menu {
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(48px, 7vw, 90px) 0 clamp(54px, 7vw, 96px);
  border-block: var(--line);
  background:
    radial-gradient(rgba(17, 16, 15, 0.07) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    var(--paper-deep);
}

.price-note {
  max-width: 40rem;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.price-updated {
  white-space: nowrap;
}

.menu-search {
  position: relative;
  display: block;
  flex: 0 1 360px;
  min-width: min(100%, 260px);
}

.menu-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.menu-search input {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 48px;
  border: var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-small);
  font-size: 1rem;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.menu-search input::placeholder {
  color: #6f665b;
}

.menu-search input:focus {
  outline: none;
  transform: translate(-1px, -2px);
  box-shadow: 5px 7px 0 var(--red);
}

.menu-chips {
  position: sticky;
  top: calc(var(--header-h) + 4px);
  z-index: 30;
  margin-bottom: 26px;
  border-block: var(--line-thin);
  background: rgba(248, 238, 218, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu-chips-inner {
  display: flex;
  gap: 10px;
  height: var(--chips-h);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.menu-chips-inner::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 6px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease-bounce);
}

.chip span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--paper-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
}

.chip:hover {
  transform: translateY(-2px) rotate(-2deg);
  background: var(--yellow);
}

.chip.is-active {
  background: var(--ink);
  color: var(--yellow);
}

.chip.is-active span {
  background: var(--yellow);
  color: var(--ink);
}

.chip.is-empty {
  border-style: dashed;
  background: transparent;
  color: var(--muted);
}

.chip.is-empty span {
  background: transparent;
}

.menu-status {
  margin-bottom: 18px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
}

.menu-columns {
  columns: 2;
  column-gap: 28px;
}

.menu-cat {
  --accent: var(--yellow);
  break-inside: avoid;
  padding: 20px 22px 18px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.menu-cat[data-accent="coffee"] {
  --accent: var(--coffee);
}

.menu-cat[data-accent="matcha"] {
  --accent: var(--matcha);
}

.menu-cat[data-accent="peach"] {
  --accent: var(--peach);
}

.menu-cat[data-accent="taro"] {
  --accent: var(--taro);
}

.menu-cat[data-accent="red"] {
  --accent: #ff8d86;
}

.menu-cat[data-accent="berry"] {
  --accent: var(--berry);
}

.menu-flow {
  display: grid;
  gap: 28px;
}

/* Khoảng cách giữa các thẻ trong cùng cột dùng lề trên (lề ở chỗ ngắt cột tự bị bỏ),
   nên khối cột không thừa lề dưới và không đè lên hàng kế tiếp. */
.menu-columns .menu-cat + .menu-cat {
  margin-top: 28px;
}

.menu-cat-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 3px dashed var(--ink);
}

.menu-cat-art {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
}

.menu-cat-art::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: var(--line-thin);
  border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%;
  background: var(--accent);
  transition: transform 0.5s var(--ease-bounce);
}

.menu-cat-art img {
  position: relative;
  max-width: 112%;
  max-height: 112%;
  width: auto;
  object-fit: contain;
  transition: transform 0.45s var(--ease-bounce);
}

.menu-cat:hover .menu-cat-art::before {
  transform: rotate(24deg) scale(1.05);
}

.menu-cat:hover .menu-cat-art img {
  transform: rotate(-6deg) scale(1.08);
}

.menu-cat-count {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--red-deep);
  line-height: 1.2;
}

.menu-cat-head h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.9rem);
  font-weight: 900;
}

.menu-cat-blurb {
  margin-top: 3px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

.group-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  font-family: var(--font-hand);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.group-label span {
  padding: 1px 12px 0;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--accent);
  rotate: -1.5deg;
}

.group-label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ink);
  opacity: 0.2;
}

.menu-cat-wide .price-list {
  columns: 3;
  column-gap: 34px;
}

.price-row {
  position: relative;
  break-inside: avoid;
  padding: 8px 8px 7px;
  margin-inline: -8px;
  border-radius: 10px;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left center / 0% 100%;
  transition: background-size 0.35s var(--ease-out);
}

.price-row:hover {
  background-size: 100% 100%;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-name {
  font-weight: 600;
  line-height: 1.35;
}

.price-dots {
  flex: 1;
  min-width: 18px;
  border-bottom: 3px dotted rgba(17, 16, 15, 0.35);
  translate: 0 -4px;
}

.price-value {
  flex: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-bounce);
}

.price-row:hover .price-value {
  transform: scale(1.12) rotate(-3deg);
}

.price-desc {
  margin-top: 1px;
  padding-right: 4.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.price-row:hover .price-desc {
  color: var(--ink);
}

.price-row mark {
  padding: 0 1px;
  border-radius: 3px;
  background: var(--yellow);
  color: inherit;
}

.menu-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 36px 20px;
  border: 3px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
}

.menu-empty .btn {
  margin-top: 10px;
}

/* ==========================================================================
   Đặt món
   ========================================================================== */
.order {
  padding: clamp(60px, 9vw, 110px) 0 clamp(30px, 5vw, 60px);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
}

.order-art img {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  animation: bob 5s ease-in-out infinite;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.order-card {
  --brand: var(--yellow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 20px 18px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s var(--ease-out);
}

.order-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  border-bottom: var(--line-thin);
  background: var(--brand);
}

.order-card:hover {
  transform: translate(-2px, -6px) rotate(-0.6deg);
  box-shadow: 8px 12px 0 var(--ink);
}

.order-grab {
  --brand: #19b85b;
}

.order-shopee {
  --brand: #f2603a;
}

.order-xanh {
  --brand: #22c7c0;
}

.order-store {
  --brand: var(--yellow);
}

.order-num {
  position: absolute;
  top: 18px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(17, 16, 15, 0.22);
}

.order-card h3 {
  font-size: 1.45rem;
  font-weight: 900;
}

.order-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.order-hint {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 14px;
  border: 2px dashed var(--ink);
  border-radius: 12px;
  font-family: var(--font-hand);
  font-size: 1.05rem;
}

/* ==========================================================================
   Câu chuyện
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(50px, 8vw, 100px) 0;
}

.story-copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.story-points {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.story-points li {
  position: relative;
  padding-left: 32px;
}

.story-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: var(--line-thin);
  border-radius: 7px;
  background: var(--yellow);
  font-size: 0.8rem;
  font-weight: 700;
  rotate: -5deg;
}

.comic-frame {
  padding: 10px;
  border: var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  box-shadow: 8px 10px 0 var(--ink);
  rotate: 1.4deg;
  transition: rotate 0.5s var(--ease-bounce), transform 0.5s var(--ease-bounce);
}

.comic-frame:hover {
  rotate: 0deg;
  transform: scale(1.02);
}

.comic-frame img {
  width: 100%;
  border-radius: 10px;
  clip-path: inset(0 calc((100 - var(--reveal, 100)) * 1%) 0 0);
}

.story-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.story-steps i {
  font-style: normal;
}

.story-steps span {
  padding: 1px 12px 0;
  border: 2px solid transparent;
  border-radius: 999px;
  transition:
    opacity 0.35s,
    background-color 0.35s,
    border-color 0.35s,
    transform 0.45s var(--ease-bounce);
}

.story-steps.has-steps span:not(.is-on) {
  opacity: 0.32;
}

.story-steps.has-steps span.is-on {
  border-color: var(--ink);
  background: var(--yellow);
  transform: rotate(-3deg) scale(1.08);
}

.story-art figcaption {
  margin-top: 16px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  text-align: center;
}

/* ==========================================================================
   Ghé tiệm
   ========================================================================== */
.visit {
  padding: clamp(20px, 4vw, 50px) 0 clamp(60px, 8vw, 110px);
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 50px);
  padding: clamp(20px, 3.4vw, 40px);
  border: var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 8px 10px 0 var(--red);
}

.visit-art img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.visit-facts {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.visit-facts dt {
  font-family: var(--font-hand);
  font-size: 1.02rem;
  color: var(--red-deep);
  line-height: 1.2;
}

.visit-facts dd {
  font-size: 1.08rem;
  font-weight: 600;
}

.visit-facts a {
  border-bottom: var(--line-thin);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: var(--line);
  background: var(--paper-deep);
}

.footer-scene {
  position: relative;
  height: clamp(130px, 17vw, 210px);
  overflow: hidden;
  background: var(--paper);
}

.footer-road {
  position: absolute;
  inset: auto 0 0;
  height: 20px;
  border-top: var(--line);
  background: repeating-linear-gradient(90deg, var(--ink) 0 30px, transparent 30px 60px) center 9px / 100% 3px no-repeat,
    var(--paper-deep);
}

.footer-prop {
  position: absolute;
  bottom: 12px;
  width: auto;
}

.footer-corner {
  left: max(1vw, calc(50% - 620px));
  height: 88%;
}

.footer-pack {
  left: 50%;
  height: 48%;
  translate: -90% 0;
}

.footer-cart {
  right: max(1vw, calc(50% - 620px));
  height: 96%;
}

.footer-rider {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: clamp(110px, 13vw, 170px);
  animation: drive 22s linear infinite;
}

.footer-rider img {
  animation: engine 0.8s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 40px 0 26px;
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-brand p {
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
}

.footer-col h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 3px 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-col .social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: var(--line-thin);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 2px 3px 0 var(--ink);
  transition: transform 0.2s var(--ease-bounce), background-color 0.2s;
}

.social svg {
  width: 21px;
  height: 21px;
  fill: var(--ink);
}

.footer-col .social:hover {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--yellow);
}

.footer-legal {
  padding: 16px 0 26px;
  border-top: 2px dashed rgba(17, 16, 15, 0.3);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================================
   Thanh đặt món (điện thoại)
   ========================================================================== */
.mobile-bar {
  display: none;
}

/* ==========================================================================
   Đa ngôn ngữ, quy đổi tiền, thẻ đưa cho nhân viên
   ========================================================================== */
/* Tiếng Hàn / tiếng Trung: giữ font Latin đứng trước (tên món tiếng Việt vẫn đúng font),
   chữ Hàn/Trung rơi xuống font hiển thị riêng rồi tới font hệ thống. */
html:lang(ko) {
  --font-display: "Grandstander", "Jua", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Be Vietnam Pro", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "Gaegu", "Jua", "Malgun Gothic", cursive;
  word-break: keep-all;
}

html:lang(ja) {
  --font-display: "Grandstander", "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-body: "Be Vietnam Pro", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "Yomogi", "Hiragino Maru Gothic ProN", "Yu Gothic", cursive;
  line-break: strict;
}

html:lang(zh-Hant) {
  --font-display: "Grandstander", "LXGW WenKai TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Be Vietnam Pro", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "LXGW WenKai TC", "PingFang TC", "Microsoft JhengHei", cursive;
}

/* Tiêu đề lớn tiếng Nhật dài 8-9 chữ toàn chiều rộng, tiếng Tây Ban Nha dài hơn tiếng Việt: thu cỡ chữ cho vừa một dòng. */
html:lang(ja) .hero-title {
  font-size: clamp(1.95rem, 0.7rem + 3.3vw, 3.3rem);
}

html:lang(es) .hero-title {
  font-size: clamp(2.3rem, 0.9rem + 4vw, 4.3rem);
}

html:lang(zh-Hant) .hero-title {
  line-height: 1.16;
  letter-spacing: 0;
}

html:lang(zh-Hans) {
  --font-display: "Grandstander", "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Be Vietnam Pro", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", cursive;
}

/* Font hiển thị Hàn/Trung chỉ có một độ đậm: không cho trình duyệt tự làm đậm giả. */
html:lang(ko) :is(h1, h2, h3, h4, .btn, .chip, .marquee-set span),
html:lang(ja) :is(h1, h2, h3, h4, .btn, .chip, .marquee-set span),
html:lang(zh-Hans) :is(h1, h2, h3, h4, .btn, .chip, .marquee-set span) {
  font-synthesis: none;
}

html:lang(ko) .hero-title,
html:lang(ja) .hero-title,
html:lang(zh-Hans) .hero-title {
  line-height: 1.16;
  letter-spacing: 0;
}

/* Nhãn tên thương hiệu đối tác (chữ thường, không phải logo) */
.brand-chip {
  display: inline-block;
  padding: 0 8px 0 7px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 0.86em;
  font-weight: 700;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: 0.06em;
}

.lang-menu {
  position: relative;
  flex: none;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 12px 5px 14px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

/* Quả địa cầu nhỏ + mũi tên */
.lang-menu summary::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    radial-gradient(ellipse 38% 100% at center, transparent 58%, var(--ink) 60% 76%, transparent 78%);
}

.lang-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  rotate: 45deg;
  transition: rotate 0.25s var(--ease-bounce), margin 0.25s;
}

.lang-menu[open] summary {
  background: var(--yellow);
}

.lang-menu[open] summary::after {
  margin-top: 4px;
  rotate: -135deg;
}

.lang-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.lang-menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 7px;
  border-radius: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-menu a b {
  font-family: "Grandstander", "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.lang-menu a span {
  font-family: "Be Vietnam Pro", system-ui, "PingFang SC", "Hiragino Sans", "Malgun Gothic", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-menu a:hover {
  background: var(--yellow);
}

.lang-menu a[aria-current="page"] {
  background: var(--ink);
}

.lang-menu a[aria-current="page"] b,
.lang-menu a[aria-current="page"] span {
  color: var(--yellow);
}

/* Điện thoại: bảng chọn ngôn ngữ trượt lên từ đáy, hai cột, vừa tầm ngón cái. */
@media (max-width: 760px) {
  .lang-menu[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(17, 16, 15, 0.5);
  }

  .lang-menu nav {
    position: fixed;
    inset: auto 12px calc(14px + env(safe-area-inset-bottom)) 12px;
    z-index: 71;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 -4px 0 var(--ink), var(--shadow);
    animation: sheet-up 0.3s var(--ease-out);
  }

  .lang-menu a {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 54px;
    padding: 9px 12px;
    border: var(--line-thin);
    border-radius: 12px;
  }

  .lang-menu a b {
    font-size: 1rem;
  }
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 4px 0 18px;
}

.footer-langs a {
  padding: 6px 12px 5px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.footer-langs a:hover {
  background: var(--yellow);
}

.footer-langs a[aria-current="page"] {
  background: var(--ink);
  color: var(--yellow);
}

.menu-tools {
  display: grid;
  flex: 0 1 380px;
  gap: 10px;
  min-width: min(100%, 260px);
}

.menu-tools .menu-search {
  flex: none;
  min-width: 0;
}

.currency {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

html:not(.js) .currency {
  display: none;
}

.currency-label {
  margin-right: 4px;
  font-family: var(--font-hand);
  font-size: 1.05rem;
}

.currency button {
  padding: 5px 12px 4px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease-bounce);
}

.currency button:hover {
  transform: translateY(-2px);
  background: var(--yellow);
}

.currency button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--yellow);
}

.currency-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.price-alt {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--red-deep);
  text-align: right;
  white-space: nowrap;
}

.feature-price .price-alt {
  text-align: left;
}

.menu-tap-hint {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px 2px;
  border: 2px dashed var(--ink);
  border-radius: 999px;
  font-family: var(--font-hand);
  font-size: 1.02rem;
}

/* Tên tiếng Việt nhỏ dưới tên đã dịch */
.price-vi-line {
  margin-top: 1px;
  line-height: 1.3;
}

.price-vi,
.feature-vi {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.feature-vi {
  display: block;
  margin-top: 2px;
  line-height: 1.25;
}

.price-row-tap {
  cursor: pointer;
}

.price-open {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.staff-card {
  width: min(92vw, 460px);
  max-height: 92dvh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.staff-card::backdrop {
  background: rgba(17, 16, 15, 0.82);
}

.staff-card-inner {
  display: grid;
  gap: 12px;
  padding: 22px 22px 20px;
  border: var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 10px 12px 0 var(--red);
  text-align: center;
}

.staff-card-title {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--red-deep);
}

.staff-card-local {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.staff-card-vi {
  display: grid;
  gap: 4px;
  padding: 18px 14px 16px;
  border: var(--line);
  border-radius: 16px;
  background: var(--yellow);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}

.staff-card-vi span {
  font-size: 0.95rem;
  font-weight: 500;
}

.staff-card-vi strong {
  font-family: "Grandstander", "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.7rem, 1.2rem + 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.12;
}

.staff-card-vi em {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
}

.staff-card-vi b {
  justify-self: center;
  margin-top: 6px;
  padding: 2px 16px 1px;
  border: var(--line-thin);
  border-radius: 999px;
  background: var(--card);
  font-family: "Grandstander", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.staff-card-note {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  /* Điện thoại: thanh dưới cùng đã có nút đặt món, nhường chỗ trên header cho nút đổi ngôn ngữ. */
  .header-cta {
    display: none;
  }

  .menu-tools {
    flex-basis: 100%;
  }
}

/* ==========================================================================
   Lớp chuyển động (GSAP)
   ========================================================================== */
.intro {
  display: none;
}

.js:not(.no-gsap):not(.intro-seen) .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.intro-panel {
  position: absolute;
  inset: 0;
}

.intro-panel-a {
  background: var(--ink);
}

.intro-panel-b {
  background:
    radial-gradient(rgba(17, 16, 15, 0.1) 2px, transparent 2.2px) 0 0 / 26px 26px,
    var(--yellow);
}

.intro-logo {
  position: relative;
  width: min(52vw, 280px);
  height: auto;
  opacity: 0;
}

/* GSAP tự điều khiển: tắt transition/animation CSS trùng thuộc tính. */
.motion .reveal,
.motion .comic-frame,
.motion .feature-art img {
  transition: none;
}

.motion .feature-card a {
  transition: box-shadow 0.28s var(--ease-out);
}

@media (min-width: 861px) and (min-height: 620px) {
  .motion .comic-frame {
    rotate: none;
  }
}

/* Script chính không chạy được: hiện hết nội dung. */
html.failsafe .reveal {
  opacity: 1;
  transform: none;
}

/* Không có JS thì ô tìm món không làm gì: ẩn đi. */
html:not(.js) .menu-search {
  display: none;
}

.motion .marquee-track,
.motion .promo-burst,
.motion .sun,
.motion .cloud {
  animation: none;
}

.motion .split-word,
.motion .split-char {
  will-change: transform;
}

.lenis,
.lenis body {
  height: auto;
}

html.lenis {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.feature-card {
  perspective: 800px;
}

.promo-card .confetti {
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  pointer-events: none;
}

.menu-chips-inner {
  position: relative;
}

.chip {
  position: relative;
  z-index: 1;
}

.chip-indicator {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 60px;
  height: 38px;
  margin-top: -19px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 2px 3px 0 var(--red);
  opacity: 0;
  pointer-events: none;
}

.motion .chip.is-active {
  border-color: transparent;
  background: transparent;
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(-1deg);
  }
}

@keyframes swipe-in {
  from {
    transform: rotate(-1.6deg) scaleX(0);
  }
}

@keyframes ride-in {
  from {
    opacity: 0;
    transform: translateX(34%);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    scale: 0.3;
  }
}

@keyframes engine {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-0.5deg);
  }
}

@keyframes speed {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: translateX(160%);
    opacity: 0;
  }
}

@keyframes road {
  from {
    transform: translateX(-62px);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes drift {
  to {
    transform: translateX(38px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.55) rotate(40deg);
    opacity: 0.5;
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.07);
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(5deg) scale(1.04);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(31, 157, 85, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes drive {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-200px);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .featured-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .menu-cat-wide .price-list {
    columns: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .main-nav,
  .header-actions .open-badge {
    display: none;
  }

  .brand-logo {
    height: 52px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 16 / 11;
  }

  .hero-sticker {
    right: 0;
    bottom: 6%;
    padding: 8px 12px 6px;
  }

  .hero-sticker strong {
    font-size: 1.15rem;
  }

  .hero-sticker span {
    font-size: 0.9rem;
  }

  .featured-rail {
    display: flex;
    gap: 14px;
    margin-inline: -16px;
    padding: 14px 16px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .featured-rail::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 62%;
    max-width: 240px;
    scroll-snap-align: center;
  }

  .promo-card,
  .order-layout,
  .story,
  .visit-card {
    grid-template-columns: 1fr;
  }

  .promo-art {
    max-width: 230px;
  }

  .promo-burst {
    width: 84px;
    top: -26px;
  }

  .promo-burst b {
    font-size: 1.6rem;
  }

  .order-art img {
    max-width: 240px;
  }

  .menu-columns {
    columns: 1;
  }

  .visit-art img {
    max-width: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --chips-h: 54px;
  }

  html {
    scroll-padding-top: calc(var(--chips-h) + 14px);
  }

  body {
    padding-bottom: 74px;
  }

  /* Trên điện thoại header không dính, chỉ giữ thanh nhóm món + thanh đặt món. */
  .site-header {
    position: static;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .scroll-road {
    display: none;
  }

  .menu-chips {
    top: 0;
  }

  .menu-cat {
    padding: 16px 16px 14px;
  }

  .menu-cat-art {
    width: 82px;
  }

  .menu-cat-wide .price-list {
    columns: 1;
  }

  .price-desc {
    padding-right: 3.4rem;
  }

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

  .footer-inner {
    gap: 22px 18px;
  }

  .footer-pack {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: var(--line);
    background: var(--paper);
    transform: translateY(110%);
    visibility: hidden;
    transition:
      transform 0.4s var(--ease-out),
      visibility 0s linear 0.4s;
  }

  .mobile-bar.is-visible,
  html:not(.js) .mobile-bar,
  html.failsafe .mobile-bar {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-bar a {
    display: grid;
    flex: 1 1 0;
    place-items: center;
    min-width: 0;
    min-height: 46px;
    padding: 4px 6px;
    overflow-wrap: anywhere;
    border: var(--line);
    border-radius: 12px;
    background: var(--card);
    box-shadow: 2px 3px 0 var(--ink);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-bar a:active {
    transform: translate(2px, 3px);
    box-shadow: none;
  }

  .mobile-bar .mobile-bar-main {
    background: var(--red-btn);
    color: #fff;
  }

  .mobile-bar .mobile-bar-grab {
    background: #c9f3d8;
  }

  .mobile-bar .mobile-bar-shopee {
    background: #ffd9cc;
  }

  .mobile-bar .mobile-bar-call {
    flex: 0 0 62px;
    background: var(--yellow);
  }
}

@media (max-width: 420px) {
  .mobile-bar {
    gap: 6px;
    padding-inline: 8px;
  }

  .mobile-bar a {
    font-size: 0.8rem;
  }

  .mobile-bar .mobile-bar-call {
    flex-basis: 50px;
  }

  .hero-facts > div {
    min-width: 0;
    flex: 1 1 0;
    padding: 8px 10px 7px;
  }

  .hero-facts dt {
    font-size: 1.35rem;
  }

  .hero-facts dd {
    font-size: 0.72rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Giảm chuyển động
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .footer-rider {
    left: 30%;
  }
}

@media print {
  .site-header,
  .marquee,
  .mobile-bar,
  .menu-chips,
  .menu-search,
  .footer-scene,
  .hero-stage {
    display: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
