:root {
  --cream: #FBF5E6;
  --cream-2: #F7EDD6;
  --navy: #16307A;
  --navy-deep: #0E2156;
  --yellow: #FFD400;
  --yellow-2: #FFE45C;
  --red: #D6202A;
  --ink: #171B22;
  --muted: #6B6357;
  --card-border: #F3D7A2;
  --radius: 20px;
  --shadow: 0 1px 0 rgba(22, 48, 122, .04), 0 8px 18px -14px rgba(22, 48, 122, .35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #3A3B39 0%, #262725 55%, #1C1D1C 100%);
  color: #fff;
  padding: 18px 16px 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  position: relative;
  margin: 12px 0 0;
  font-size: clamp(64px, 21vw, 132px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: .88;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.hero-photo {
  width: 100vw;
  height: min(46svh, 420px);
  margin: 2px calc(50% - 50vw) 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.hero-foot {
  position: relative;
  z-index: 3;
  margin: 4px 0 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #5A5346;
}

/* ---------- sticky chips ---------- */
.chips {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 245, 230, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 48, 122, .08);
}

.chips-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

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

.chip {
  flex: none;
  scroll-snap-align: center;
  border: 1.5px solid rgba(22, 48, 122, .16);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}

.chip:active { transform: scale(.97); }

.chip[aria-current="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- search ---------- */
.toolbar {
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 0 14px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(22, 48, 122, .14);
  border-radius: 999px;
  padding: 9px 12px;
  box-shadow: var(--shadow);
}

.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
}

.search input::placeholder { color: #A69C8C; }

.search button {
  border: 0;
  background: #EFE7D5;
  color: var(--ink);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.count {
  margin: 8px 4px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-height: 1em;
}

/* ---------- sections ---------- */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px 40px;
}

.section {
  padding-top: 26px;
  scroll-margin-top: 70px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title {
  position: relative;
  margin: 0;
  padding: 0 2px;
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--navy);
}

.section-title::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -3px;
  height: .28em;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-2));
  border-radius: 3px;
  z-index: -1;
  transform: skewX(-8deg);
}

.ko {
  flex: none;
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
}

.section-note {
  margin: -4px 2px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

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

@media (min-width: 680px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- card ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 10px 10px 12px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-height: 40px;
}

.card:has(.hot) .card-top { padding-right: 28px; }

.no {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
  letter-spacing: -.02em;
}

.card h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--navy-deep);
  text-transform: uppercase;
}

.card .en {
  margin: 2px 0 0;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--red);
}

.hot {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 3px 6px;
  border-radius: 4px;
  transform: rotate(8deg);
  box-shadow: 0 2px 6px rgba(214, 32, 42, .35);
}

.best {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  transform: rotate(6deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.card:has(.best) .card-top { padding-right: 56px; }

.photo {
  height: 132px;
  margin: 6px 0 8px;
  display: grid;
  place-items: center;
}

.photo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 680px) {
  .best {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  transform: rotate(6deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.card:has(.best) .card-top { padding-right: 56px; }

.photo { height: 170px; }
  .card h3 { font-size: 16px; }
  .card .en { font-size: 11px; }
}

.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.price {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #EFC63F;
  box-shadow: 0 2px 0 rgba(239, 198, 63, .35);
  min-width: 0;
}

.price .v {
  background: var(--yellow);
  color: #201A00;
  font-size: 12.5px;
  font-weight: 900;
  padding: 3px 7px;
  line-height: 1.1;
  white-space: nowrap;
}

.price .l {
  background: #fff;
  color: #2A2A2A;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px 3px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  border-top: 1.5px solid #EFC63F;
}

.card-note {
  margin: 7px 0 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.tag {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--navy);
  background: rgba(22, 48, 122, .07);
  border-radius: 999px;
  padding: 2px 7px;
}

/* ---------- empty / footer ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-weight: 700;
}

.empty strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 6px; }

.foot {
  background: var(--navy-deep);
  color: #EAE6D8;
  text-align: center;
  padding: 26px 16px 34px;
}

.foot-logo {
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 18px;
}

.foot p { margin: 8px 0 0; font-size: 12.5px; }

.foot .muted { opacity: .85; font-size: 11px; letter-spacing: .08em; }
.foot a, .foot-branches a { color: #fff !important; text-decoration: underline; }

.to-top {
  position: fixed;
  right: 14px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px -6px rgba(14, 33, 86, .6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  z-index: 40;
}

.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

html { scroll-behavior: smooth; }

@media (min-width: 900px) {
  .hero-photo {
    width: min(100%, 840px);
    height: 340px;
    margin: 6px auto 0;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-photo img { object-position: 50% 42%; }

  .chips-track {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
}

/* --- staging additions (Claude-approved) --- */
.hero-brand { margin: 10px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #FFE45C; }
.branches { margin: 14px auto 6px; max-width: 640px; }
.branches-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #fff; }
.branches-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.branch-btn { border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.branch-btn[aria-current="true"] { background: #FFD400; border-color: #FFD400; color: #201A00; }
.branches-note { margin: 8px 0 0; font-size: 12px; color: #EAE6D8; }
.branch-cta { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.cta { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 900; font-size: 14px; text-decoration: none; }
.cta-call { background: #D6202A; color: #fff; }
.cta-zalo { background: #008FE5; color: #fff; }
.featured { max-width: 1120px; margin: 18px auto 0; padding: 0 14px; }
.featured-title { margin: 0 0 8px; color: var(--navy); font-size: 20px; font-weight: 900; }
.featured-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.featured-item { flex: none; background: #fff; border: 1.5px solid var(--card-border); border-radius: 12px; padding: 8px 12px; text-decoration: none; color: var(--navy-deep); display: flex; flex-direction: column; }
.featured-item small { color: var(--muted); font-size: 11px; font-weight: 700; }
.featured-note { margin: 6px 2px 0; font-size: 11.5px; color: var(--muted); }
.photo img { aspect-ratio: 380 / 260; width: 100%; height: 100%; object-fit: contain; }
.foot-branches p { margin: 4px 0 0; }

.cta-pick { background: #FFD400; color: #201A00; border: 0; cursor: pointer; }
