/* Public restaurant directory (website). Brand red matches the app. */
:root {
    --hp-red: #fe1d25;
    --hp-red-dark: #d9141b;
    --hp-ink: #1d1d1f;
    --hp-muted: #6b7280;
    --hp-line: #ececf0;
    --hp-bg: #f7f7f9;
    --hp-green: #1a9d4a;
    --hp-wa: #25D366;
}
* { box-sizing: border-box; }
body.hp-web { margin: 0; background: var(--hp-bg); color: var(--hp-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.45; }
.hp-web a { color: inherit; text-decoration: none; }
.hp-web img { max-width: 100%; display: block; }
.hp-container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Header */
.hp-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--hp-line); }
.hp-header-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.hp-logo img { height: 38px; width: auto; }
.hp-nav { display: flex; gap: 22px; margin-left: 14px; font-weight: 600; font-size: 15px; }
.hp-nav a { color: #444; padding: 6px 0; border-bottom: 2px solid transparent; }
.hp-nav a:hover, .hp-nav a.active { color: var(--hp-red); border-color: var(--hp-red); }
.hp-header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 999px; padding: 10px 18px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn-claim { background: var(--hp-red); color: #fff !important; font-size: 15px; box-shadow: 0 6px 16px -6px rgba(254,29,37,.7); letter-spacing: .1px; }
.hp-btn-claim:hover { background: var(--hp-red-dark); }
.hp-btn-ghost { background: #fff; color: var(--hp-red) !important; border: 1.5px solid var(--hp-red); }
.hp-btn-ghost:hover { background: #fff4f4; }
.hp-btn-wa { background: var(--hp-wa); color: #fff !important; }
.hp-btn svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) {
    .hp-nav { display: none; }
    .hp-header-inner { gap: 10px; height: 58px; }
    .hp-logo img { height: 32px; }
    .hp-btn { padding: 9px 14px; font-size: 14px; }
    .hp-btn-ghost.hide-sm { display: none; }
}

/* Hero + search */
.hp-hero { background: linear-gradient(135deg, #fe1d25 0%, #ff6a3d 100%); color: #fff; padding: 38px 0 64px; }
.hp-hero h1 { margin: 0 0 6px; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -.5px; }
.hp-hero p { margin: 0; opacity: .95; font-size: clamp(14px, 2vw, 17px); }
.hp-search { margin-top: -30px; position: relative; z-index: 2; }
.hp-searchbox { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 6px 8px 6px 18px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.35); }
.hp-searchbox svg { width: 20px; height: 20px; fill: var(--hp-red); flex: none; }
.hp-searchbox input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 13px 4px; min-width: 0; background: transparent; }
.hp-clear { border: 0; background: #f1f1f4; border-radius: 999px; width: 30px; height: 30px; cursor: pointer; font-size: 18px; line-height: 1; color: #666; display: none; }
.hp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.hp-chips::-webkit-scrollbar { display: none; }
.hp-chip { flex: none; border: 1.5px solid var(--hp-line); background: #fff; border-radius: 999px; padding: 7px 15px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: #444; }
.hp-chip:hover { border-color: var(--hp-red); color: var(--hp-red); }
.hp-chip.on { background: var(--hp-red); border-color: var(--hp-red); color: #fff; }
.hp-sep { flex: none; width: 1px; background: var(--hp-line); margin: 4px 4px; }

.hp-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 12px; }
.hp-meta h2 { margin: 0; font-size: 20px; }
.hp-meta span { color: var(--hp-muted); font-size: 14px; }

/* Cards */
.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 12px; }
.hp-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--hp-line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; animation: hp-rise .35s ease both; }
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(0,0,0,.35); }
.hp-card-img { position: relative; aspect-ratio: 16 / 10; background: #eee; }
.hp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.96); color: var(--hp-green); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.hp-badge.off { color: #8a8a93; }
.hp-badge.unclaimed { background: var(--hp-red); color: #fff; }
.hp-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hp-card-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hp-card-body h3 { margin: 0; font-size: 17px; font-weight: 800; }
.hp-cuisine { color: var(--hp-muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-addr { color: var(--hp-muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-dish { font-size: 13px; color: var(--hp-red); font-weight: 600; }
.hp-card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; }
.hp-card-foot small { color: var(--hp-muted); font-weight: 500; }
.hp-claim-link { color: var(--hp-red) !important; font-weight: 700; }
.hp-claim-link:hover { text-decoration: underline; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hp-skel { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--hp-line); }
.hp-skel div { background: linear-gradient(90deg, #eee 25%, #f6f6f6 37%, #eee 63%); background-size: 400% 100%; animation: hp-shim 1.3s infinite; }
.hp-skel .a { aspect-ratio: 16/10; } .hp-skel .b { height: 14px; margin: 14px 15px 8px; border-radius: 6px; width: 60%; } .hp-skel .c { height: 12px; margin: 0 15px 16px; border-radius: 6px; width: 40%; }
@keyframes hp-shim { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.hp-more { display: block; margin: 20px auto 40px; }
.hp-empty { text-align: center; padding: 50px 16px 60px; color: var(--hp-muted); }
.hp-empty h3 { color: var(--hp-ink); margin: 8px 0; }

/* Detail */
.hp-back { display: inline-flex; gap: 6px; align-items: center; margin: 16px 0 10px; font-weight: 600; color: #555; font-size: 14px; }
.hp-back:hover { color: var(--hp-red); }
.hp-rest { background: #fff; border: 1px solid var(--hp-line); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 340px 1fr; }
.hp-rest-img { background: #eee; min-height: 230px; }
.hp-rest-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-rest-info { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.hp-rest-info h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.4px; }
.hp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hp-fact { background: var(--hp-bg); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; color: #444; }
.hp-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.hp-status.ok { color: var(--hp-green); } .hp-status.off { color: #8a8a93; } .hp-status.un { color: var(--hp-red); }
.hp-claimbox { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: #fff1f1; border: 1.5px solid var(--hp-red); display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hp-claimbox strong { display: block; font-size: 15px; }
.hp-claimbox span { color: #7a1014; font-size: 13.5px; }
.hp-claimed-ok { margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: #ecfdf3; color: #067647; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .hp-rest { grid-template-columns: 1fr; } .hp-rest-img { aspect-ratio: 16/9; min-height: 0; } .hp-rest-info { padding: 18px 16px; } }

.hp-menubar { position: sticky; top: 64px; z-index: 40; background: var(--hp-bg); padding: 14px 0 6px; }
@media (max-width: 760px) { .hp-menubar { top: 58px; } }
.hp-menubar .hp-searchbox { box-shadow: 0 6px 18px -10px rgba(0,0,0,.3); border: 1px solid var(--hp-line); }
.hp-menubar .hp-searchbox input { padding: 10px 4px; font-size: 15px; }
.hp-tog { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.hp-tog::-webkit-scrollbar { display: none; }
.hp-cat { margin-top: 24px; scroll-margin-top: 190px; }
.hp-cat h2 { font-size: 19px; margin: 0 0 12px; }
.hp-cat h2 small { color: var(--hp-muted); font-weight: 500; font-size: 14px; }
.hp-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .hp-items { grid-template-columns: 1fr; } }
.hp-item { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; padding: 14px; display: flex; gap: 12px; justify-content: space-between; }
.hp-item-txt { min-width: 0; flex: 1; }
.hp-vm { display: inline-block; width: 16px; height: 16px; border: 1.5px solid var(--hp-green); border-radius: 3px; position: relative; vertical-align: middle; margin-right: 6px; }
.hp-vm::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--hp-green); }
.hp-vm.nv { border-color: #b3261e; } .hp-vm.nv::after { background: #b3261e; }
.hp-item h4 { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.hp-price { font-weight: 800; font-size: 15px; }
.hp-item p { margin: 6px 0 0; color: var(--hp-muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-item-side { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 0; }
.hp-item-side img { width: 104px; height: 92px; object-fit: cover; border-radius: 12px; background: #eee; }
.hp-item-side.nopic { justify-content: center; }
.hp-item-side.nopic .hp-add { margin-top: 0; }
.hp-item-side:has(> img) .hp-add { margin-top: -14px; }
.hp-add { margin-top: -14px; background: #fff; color: var(--hp-green); border: 1.5px solid #d6e9dd; font-weight: 800; letter-spacing: .5px; border-radius: 10px; padding: 7px 26px; cursor: pointer; font-size: 14px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); position: relative; }
.hp-add:hover { background: #f1fbf4; }

/* App popup */
.hp-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15,15,20,.55); backdrop-filter: blur(3px); }
.hp-modal.open { display: flex; animation: hp-fade .2s ease; }
.hp-modal-card { background: #fff; border-radius: 24px; max-width: 400px; width: 100%; padding: 30px 26px 26px; text-align: center; position: relative; animation: hp-pop .28s cubic-bezier(.2,1.2,.4,1); }
.hp-modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: #f1f1f4; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; cursor: pointer; line-height: 1; }
.hp-modal-ico { width: 74px; height: 74px; border-radius: 20px; margin: 0 auto 14px; background: var(--hp-red); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -10px rgba(254,29,37,.7); }
.hp-modal-ico img { width: 50px; height: 50px; object-fit: contain; }
.hp-modal-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.hp-modal-card p { margin: 0 0 20px; color: var(--hp-muted); font-size: 15px; }
.hp-modal-card .hp-btn { width: 100%; padding: 14px 18px; font-size: 16px; }
.hp-modal-later { margin-top: 10px; background: none; border: 0; color: var(--hp-muted); font: inherit; cursor: pointer; font-size: 14px; padding: 8px; }
@keyframes hp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hp-pop { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }

.hp-footer { border-top: 1px solid var(--hp-line); background: #fff; padding: 22px 0 90px; color: var(--hp-muted); font-size: 14px; }
.hp-footer .hp-container { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.hp-footer a:hover { color: var(--hp-red); }
.hp-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
