/* 3 · Fresh Order — bright food-app look: white, fresh green, mango orange, floating cut-out dishes */
:root {
  --bg: #fbfaf6; --white: #fff; --ink: #14201b; --muted: #66706b; --line: #e9e6de; --soft: #f2f0ea;
  --green: #0f9d6b; --green-d: #0a7a53; --green-l: #e3f5ec; --mango: #ff8a1f; --mango-l: #fff1e2; --chili: #e5482f;
  --f: 'Outfit', 'Anuphan', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 48px); --wrap: 1240px; --r: 22px; --sh: 0 18px 40px -18px rgba(20, 32, 27, .22);
  --bk-bg: var(--white); --bk-surface: var(--white); --bk-text: var(--ink); --bk-muted: var(--muted); --bk-line: var(--line);
  --bk-accent: var(--green); --bk-on-accent: #fff; --bk-radius: 14px; --bk-font: var(--f); --bk-send: #22b35e;
}
body { background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f); }
html[lang="th"] body { line-height: 1.7; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; }
html[lang="th"] h2 { line-height: 1.25; letter-spacing: 0; font-weight: 700; }
.g { color: var(--green); }
.kick { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--mango); }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin: 14px 0 0; }
.sec { padding: clamp(70px, 9vw, 120px) var(--pad); }
.sec-head { max-width: var(--wrap); margin: 0 auto clamp(26px, 4vw, 44px); }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; transition: .2s; cursor: pointer; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 26px -12px rgba(15, 157, 107, .8); }
.btn-green:hover { background: var(--green-d); transform: translateY(-2px); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: var(--green-l); color: var(--green-d); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); }
.status { font-size: 12px; font-weight: 600; color: var(--muted); }
.status.is-open { color: var(--green); }
.status.is-open::before { content: '● '; }
.stars { color: #f5b301; letter-spacing: 1px; font-size: .8em; }

/* intro: plate spins in, then slides away */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--green); animation: introOut .7s 1.5s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro-plate { width: 180px; height: 180px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 18px rgba(255, 255, 255, .18), 0 30px 60px rgba(0, 0, 0, .2); animation: plate 1.2s cubic-bezier(.2, .8, .2, 1.1) both; }
.intro-plate img { width: 120px; }
@keyframes plate { from { transform: scale(.2) rotate(-200deg); opacity: 0; } }
@keyframes introOut { to { clip-path: circle(0 at 50% 50%); } }
.intro { clip-path: circle(150% at 50% 50%); }
.no-intro .intro { display: none; }

/* header */
.hd { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 12px var(--pad); background: rgba(251, 250, 246, .86); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.hd.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .2); }
.hd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hd-brand b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hd-brand i, .ft-word i { color: var(--mango); font-style: normal; }
.hd-nav { margin-left: auto; display: flex; gap: 6px; }
.hd-nav a { padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--muted); }
.hd-nav a:hover { background: var(--soft); color: var(--ink); }
.lang { display: flex; background: var(--soft); border-radius: 12px; padding: 3px; }
.lang button { padding: 6px 10px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
/* hero */
.hero { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: clamp(30px, 5vw, 70px) var(--pad) clamp(50px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--green-l); color: var(--green-d); font-weight: 600; font-size: 14px; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(15, 157, 107, .2); }
.hero h1 { font-size: clamp(50px, 6.6vw, 96px); line-height: .98; }
html[lang="th"] .hero h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.2; letter-spacing: -.01em; }
.hero-sub { margin: 22px 0 0; font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--intro, 1.8s) + var(--i, 0) * .08s); }
.hero-copy > :nth-child(2) { --i: 1; } .hero-copy > :nth-child(3) { --i: 2; } .hero-copy > :nth-child(4) { --i: 3; } .hero-copy > :nth-child(5) { --i: 4; }
.no-intro { --intro: 0s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.quick { margin-top: 30px; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--sh); border: 1px solid var(--line); }
.q-fields { display: grid; grid-template-columns: 1.3fr 1fr .8fr auto; gap: 6px; }
.q-fields label { display: grid; padding: 8px 12px; border-radius: 14px; background: var(--soft); cursor: pointer; min-width: 0; }
.q-fields small { font-size: 12px; font-weight: 600; color: var(--muted); }
.q-fields select { appearance: none; border: 0; background: transparent; font-weight: 700; font-size: 16px; padding: 0; outline: none; cursor: pointer; min-width: 0; text-overflow: ellipsis; }
.q-fields .btn { border-radius: 14px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 0; margin: 28px 0 0; }
.hero-proof li { display: grid; }
.hero-proof b { font-size: 22px; font-weight: 800; }
.hero-proof small { color: var(--muted); font-size: 13px; }

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 600px; justify-self: center; width: 100%; }
.blob { position: absolute; border-radius: 50%; }
.b1 { inset: 8% 6% 10% 8%; background: radial-gradient(circle at 35% 30%, #fff 0, #e6f6ee 40%, #cdeedd 100%); animation: morph 12s ease-in-out infinite alternate; }
.b2 { width: 34%; height: 34%; right: -2%; top: 2%; background: var(--mango-l); animation: morph 9s ease-in-out infinite alternate-reverse; }
@keyframes morph { 0% { border-radius: 50% 46% 54% 48% / 48% 54% 46% 52%; } 100% { border-radius: 42% 58% 40% 60% / 58% 42% 60% 40%; transform: rotate(14deg); } }
.ring { position: absolute; inset: 14% 12% 16% 14%; border-radius: 50%; border: 2px dashed rgba(15, 157, 107, .25); animation: spin 60s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.dish { position: absolute; margin: 0; filter: drop-shadow(0 24px 22px rgba(20, 32, 27, .25)); transition: translate .3s linear; animation: pop .9s cubic-bezier(.2, .8, .2, 1.3) both; animation-delay: calc(var(--intro, 1.8s) + var(--dl, .2s)); }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
.dish img { width: 100%; animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-10px) rotate(2deg); } }
.dish figcaption { position: absolute; left: 50%; bottom: -6%; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: #fff; box-shadow: var(--sh); white-space: nowrap; font-size: 13px; }
.dish figcaption span { padding: 3px 9px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; }
.d-main { width: 52%; left: 22%; top: 24%; --dl: .1s; }
.d-a { width: 34%; left: -2%; top: 50%; --dl: .3s; }
.d-a img { animation-delay: -1.5s; }
.d-b { width: 36%; right: -2%; top: 52%; --dl: .45s; }
.d-b img { animation-delay: -3s; }
.d-c { width: 15%; left: 12%; top: 6%; --dl: .6s; }
.d-d { width: 17%; right: 12%; top: 4%; --dl: .7s; }
.float-tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--sh); font-size: 14px; transition: translate .3s linear; animation: pop .8s both; animation-delay: calc(var(--intro, 1.8s) + .9s); }
.float-tag .ic { color: #fff; background: var(--green); border-radius: 8px; padding: 4px; width: 26px; height: 26px; }
.t1 { left: 40%; top: 6%; } .t2 { left: 2%; bottom: 6%; }
.t2 .ic { background: var(--mango); }

/* band */
.band { background: var(--ink); color: #fff; padding: 16px 0; --mq-gap: 2.4rem; --mq-dur: 34s; }
.band span { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; font-weight: 700; font-size: 20px; }
.band span::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--mango); }

/* menu */
.chips-wrap { position: sticky; top: 70px; z-index: 20; margin: 0 calc(var(--pad) * -1) 28px; padding: 10px var(--pad); background: rgba(251, 250, 246, .92); backdrop-filter: blur(10px); }
.chips { max-width: var(--wrap); margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: .2s; }
.chip img, .chip .cdot { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--green-l); }
.chip .cdot { display: grid; place-items: center; color: var(--green); }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.row { max-width: var(--wrap); margin: 0 auto 44px; scroll-margin-top: 140px; }
.row-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.row-h h3 { font-size: 28px; }
html[lang="th"] .row-h h3 { font-size: 24px; }
.row-h small { color: var(--muted); font-weight: 600; }
.row-nav { display: flex; gap: 6px; }
.row-nav button { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.row-nav button:first-child .ic { transform: scaleX(-1); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.item { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s; min-width: 0; }
.item:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.item-img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.item:hover .item-img img { transform: scale(1.05); }
.item-img .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px; font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--green-d);
  background: radial-gradient(circle at 80% 20%, #fff 0, transparent 40%), linear-gradient(135deg, var(--green-l), #f7f3df); }
.item-img .ph.c-roti, .item-img .ph.c-drinks, .item-img .ph.c-starters { color: #b4570a; background: radial-gradient(circle at 80% 20%, #fff 0, transparent 40%), linear-gradient(135deg, var(--mango-l), #fdf6dc); }
.item-img .ph.c-soup, .item-img .ph.c-curry { color: #b2361f; background: radial-gradient(circle at 80% 20%, #fff 0, transparent 40%), linear-gradient(135deg, #fde7df, #fbf0dd); }
.tagrow { position: absolute; left: 10px; top: 10px; display: flex; gap: 5px; }
.tagrow span { padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.tagrow .t-spicy { color: var(--chili); } .tagrow .t-sig { color: var(--mango); } .tagrow .t-veg { color: var(--green); }
.tagrow .ic { width: 13px; height: 13px; }
.item-b { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.item-b h4 { margin: 0; font-size: 17px; line-height: 1.3; }
.item-b .alt { font-size: 13px; color: var(--muted); margin-top: -6px; }
.item-b p { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seg { display: flex; flex-wrap: wrap; gap: 5px; }
.seg button { padding: 5px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; background: var(--soft); color: var(--muted); transition: .15s; }
.seg button[aria-pressed="true"] { background: var(--green-l); color: var(--green-d); box-shadow: inset 0 0 0 1.5px var(--green); }
.sel { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-weight: 600; font-size: 14px; }
.item-f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.item-f .pr { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.item-f .pr small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.item-f .per { font-size: 12px; color: var(--muted); font-weight: 600; }
/* book + phone */
.book { background: linear-gradient(180deg, var(--bg), var(--green-l)); }
.book-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.book-card { margin-top: 26px; background: #fff; border-radius: 26px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--sh); border: 1px solid var(--line); }
.phone-col { position: sticky; top: 100px; display: grid; justify-items: center; gap: 14px; }
.phone { width: min(340px, 100%); height: 640px; border-radius: 44px; background: #0b141a; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5), inset 0 0 0 2px #2a3942; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 14px; background: #000; z-index: 3; }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 46px 14px 12px; background: #1f2c34; color: #e9edef; border-radius: 32px 32px 0 0; }
.ph-top img { width: 38px; height: 38px; border-radius: 50%; }
.ph-top b { display: block; font-size: 15px; }
.ph-top small { font-size: 12px; color: #8696a0; }
.ph-chat { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; scrollbar-width: none;
  background: #0b141a radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 14px 14px; }
.bubble { align-self: flex-end; max-width: 88%; padding: 8px 10px 18px; border-radius: 10px 2px 10px 10px; background: #005c4b; color: #e9edef; font-size: 13px; line-height: 1.45; white-space: pre-wrap; position: relative; animation: bub .35s cubic-bezier(.2, .8, .2, 1); }
.bubble::after { content: attr(data-time) '  ✓✓'; position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #8eb8b0; }
@keyframes bub { from { transform: translateY(10px) scale(.96); opacity: .4; } }
.typing { align-self: flex-end; padding: 10px 14px; border-radius: 10px; background: #005c4b; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #cfe9e3; animation: tp 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 50% { transform: translateY(-4px); opacity: .5; } }
.ph-input { display: flex; align-items: center; justify-content: space-between; margin: 8px 6px 6px; padding: 10px 14px; border-radius: 22px; background: #1f2c34; color: #8696a0; font-size: 14px; }
.ph-input .ic { color: #00a884; }
.phone-note { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }

/* proof */
.proof { background: #fff; }
.proof-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px; }
.score { padding: 34px; border-radius: 28px; background: var(--ink); color: #fff; display: grid; justify-items: start; gap: 6px; }
.score b { font-size: 96px; line-height: 1; font-weight: 800; }
.stars.big { font-size: 26px; }
.score small { color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.mentions { padding: 34px; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); }
.ment { display: flex; flex-wrap: wrap; gap: 10px; }
.ment span { padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; }
.ment span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--green)); }

/* visit */
.visit-card { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.visit-info { padding: clamp(24px, 4vw, 50px); }
.addr { font-size: 17px; color: var(--muted); margin: 18px 0 22px; }
.info-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.info-tiles > div { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--bg); }
.info-tiles .ic { color: var(--green); }
.info-tiles a { text-decoration: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-map { min-height: 420px; }
.visit-map iframe { width: 100%; height: 100%; border: 0; }

/* footer */
.ft { padding: 60px var(--pad) 120px; overflow: hidden; }
.ft-word { font-size: clamp(90px, 23vw, 360px); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: var(--green); text-align: center; }
.ft-row { max-width: var(--wrap); margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }

.mbar { display: none; }
.fd-toast { background: var(--ink); }

@media (max-width: 1080px) {
  .hd-nav { display: none; }
  .lang { margin-left: auto; }
  .feature { grid-template-columns: 1fr; }
  .finder-in { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; order: -1; margin-bottom: -10px; }
  .book-grid { grid-template-columns: 1fr; }
  .phone-col { position: static; }
  .proof-grid, .visit-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .hd { gap: 10px; }
  .hd-brand small { display: none; }
  .hero-art { width: 92%; }
  .dish figcaption { font-size: 11px; }
  .t1 { left: 46%; top: 0; } .float-tag { font-size: 12px; padding: 7px 10px; }
  .q-fields { grid-template-columns: 1fr 1fr; }
  .q-fields label:first-child { grid-column: 1 / -1; }
  .hd-book { display: none !important; }
  .q-fields .btn { grid-column: 1 / -1; }
  .chips-wrap { top: 64px; }
  .track { grid-auto-columns: 78%; }
  .row-nav { display: none; }
  .phone { height: 560px; }
  .info-tiles { grid-template-columns: 1fr; }
  .visit-map { min-height: 320px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mbar a:first-child { background: var(--soft); }
  .mbar > * { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: 14px; font-weight: 700; font-size: 14px; text-decoration: none; }
  .mbar-main { background: var(--green); color: #fff; }
}

/* header button */
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.q-title { display: flex; align-items: center; gap: 8px; margin: 2px 6px 10px; font-weight: 700; font-size: 14px; color: var(--green-d); }
.sec-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 40px; }
.sec-head.split .lead { margin: 0; max-width: 40ch; }

/* chef's picks: feature + tabs */
.feature { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.f-img { position: relative; aspect-ratio: 5 / 4; border-radius: 32px; overflow: hidden; background: var(--soft); box-shadow: var(--sh); }
.f-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.12); opacity: .2; } 20% { opacity: 1; } }
.f-img .badge { position: absolute; left: 18px; top: 18px; display: flex; gap: 6px; }
.f-img .badge span { padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 700; }
.f-info { display: grid; gap: 14px; align-content: center; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.f-num { font-weight: 800; color: var(--mango); font-size: 15px; letter-spacing: .06em; }
.f-info h3 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; }
html[lang="th"] .f-info h3 { line-height: 1.3; }
.f-alt { color: var(--muted); margin-top: -8px; }
.f-info p { margin: 0; font-size: 18px; color: var(--muted); }
.f-why { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--green-l); }
.f-why b { font-size: 13px; color: var(--green-d); }
.f-bars { display: grid; gap: 6px; }
.f-bar { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.f-bar i { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.f-bar i b { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 3px; animation: grow 1s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { width: 0; } }
.f-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.f-opts span { padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.f-opts b { color: var(--green-d); }
.feature-tabs { max-width: var(--wrap); margin: 30px auto 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ftab { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; padding: 8px; border-radius: 16px; text-align: left; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.25; transition: .2s; }
.ftab img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.ftab[aria-selected="true"] { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.ftab .pg { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--green); }
.ftab[aria-selected="true"] .pg { animation: pg 6s linear forwards; }
@keyframes pg { to { width: 100%; } }

/* menu finder */
.finder { background: var(--ink); color: #fff; }
.finder-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 5vw, 70px); }
.finder h2 { margin-bottom: 30px; }
.finder .g { color: #5fe0a9; }
.q-block { display: grid; gap: 10px; margin-bottom: 22px; }
.q-block > b { font-size: 15px; color: rgba(255, 255, 255, .7); }
.finder .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.finder .opts button { padding: 11px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; transition: .2s; }
.finder .opts button:hover { background: rgba(255, 255, 255, .12); }
.finder .opts button[aria-checked="true"] { background: #5fe0a9; color: var(--ink); border-color: #5fe0a9; }
.finder-r { display: grid; gap: 16px; align-content: start; }
.finder-sum { margin: 0; color: rgba(255, 255, 255, .7); font-size: 16px; min-height: 1.6em; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); align-items: center; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.res-img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: linear-gradient(135deg, #1f3a2f, #2b4a3c); display: grid; place-items: center; font-size: 22px; font-weight: 700; color: #5fe0a9; text-align: center; line-height: 1.1; padding: 6px; }
.res b { display: block; font-size: 16px; line-height: 1.3; }
.res small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; }
.res .why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.res .why span { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: rgba(95, 224, 169, .14); color: #5fe0a9; }
.res .m { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.res .m i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.res .m i b { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #5fe0a9, var(--mango)); animation: grow .9s .2s both; }
.finder-r .btn { justify-self: start; }

@media (max-width: 1080px) { .feature-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .feature-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad); }
  .ftab { flex: none; width: 170px; }
  .results { grid-template-columns: 1fr; }
  .f-img { border-radius: 24px; }
}

@media (max-width: 1080px) { .feature, .finder-in { grid-template-columns: 1fr; } }
