:root {
  --ink: #18231f;
  --muted: #738078;
  --line: #e7ebe4;
  --paper: #f5f7f3;
  --white: #fff;
  --coral: #e55a43;
  --coral-soft: #fff0e8;
  --teal: #117c6f;
  --yellow: #f4c96a;
  --shadow: 0 18px 48px rgba(34, 52, 43, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245, 247, 243, .9); border-bottom: 1px solid rgba(231, 235, 228, .8); backdrop-filter: blur(18px); }
.header-inner { max-width: 1240px; height: 78px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 196px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--coral); font-weight: 800; font-size: 19px; box-shadow: 0 7px 14px rgba(229, 90, 67, .2); }
.brand strong { display: block; font-size: 16px; letter-spacing: -.2px; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: auto; color: #6f7b75; font-size: 14px; }
.main-nav a { position: relative; padding: 29px 0 25px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; bottom: 17px; left: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); background: var(--coral); }
.main-nav a:focus-visible, .icon-button:focus-visible, .avatar:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; border-radius: 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; min-width: 232px; justify-content: flex-end; }
.icon-button, .avatar, .close-button { border: 0; background: transparent; }
.icon-button { position: relative; color: #66736d; font-size: 24px; line-height: 1; padding: 8px; }
.notification-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border: 2px solid var(--paper); border-radius: 50%; background: var(--coral); }
.avatar { width: 34px; height: 34px; border-radius: 50%; color: #1f5f57; background: #d6ebe3; font-size: 13px; font-weight: 700; }

.hero-shell { max-width: 1240px; min-height: 480px; margin: 0 auto; padding: 72px 28px 60px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.hero-copy { padding-left: 6px; }
.eyebrow, .section-kicker { margin: 0; color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow span { width: 21px; height: 2px; background: var(--coral); }
.hero-copy h1 { margin: 22px 0 18px; font-size: clamp(40px, 5vw, 64px); letter-spacing: -2.8px; line-height: 1.1; font-weight: 700; }
.hero-copy h1 em { color: var(--teal); font-style: normal; }
.hero-description { max-width: 405px; margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.search-box { width: min(500px, 100%); height: 57px; display: flex; align-items: center; padding: 5px 6px 5px 18px; background: var(--white); border: 1px solid #e5eae4; border-radius: 13px; box-shadow: 0 10px 28px rgba(49, 74, 58, .07); }
.search-icon { margin-right: 9px; color: #7e8d83; font-size: 25px; line-height: 1; transform: rotate(-20deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #a1aca5; }
.search-box button { height: 45px; padding: 0 21px; border: 0; border-radius: 9px; color: white; background: var(--coral); font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.search-box button:hover { background: #cf4934; transform: translateY(-1px); }
.hero-meta { display: flex; gap: 26px; margin-top: 25px; color: #7a867f; font-size: 11px; }
.hero-meta b { margin-right: 4px; color: var(--ink); font-size: 14px; }
.hero-art { position: relative; min-height: 365px; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: #d8eee6; filter: blur(1px); }
.hero-card { position: absolute; width: 310px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.hero-card-back { right: 2%; top: 23px; height: 212px; padding: 28px; color: #fff; background: #157b6d; transform: rotate(7deg); }
.hero-card-back::after { content: ""; position: absolute; width: 210px; height: 210px; right: -50px; top: -70px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 56px rgba(255,255,255,.04); }
.hero-card-back span { display: block; margin-bottom: 44px; opacity: .8; font-size: 11px; letter-spacing: 1px; }
.hero-card-back strong { display: block; font-size: 24px; letter-spacing: -1px; }
.hero-card-back small { display: block; margin-top: 7px; color: #c1e8df; font-size: 12px; }
.hero-card-front { left: 5%; top: 60px; display: grid; grid-template-columns: 124px 1fr; min-height: 215px; background: #fff; transform: rotate(-5deg); }
.dish-plate { position: relative; display: grid; place-items: center; background: #f1dfbf; overflow: hidden; }
.dish-plate::before, .dish-plate::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(98, 65, 24, .17); }
.dish-plate::before { width: 138px; height: 138px; }
.dish-plate::after { width: 102px; height: 102px; }
.dish-main { z-index: 1; font-size: 74px; filter: drop-shadow(0 10px 6px rgba(75, 50, 24, .16)); }
.hero-carousel-image { z-index: 1; width: 100%; height: 100%; min-height: 215px; object-fit: cover; display: block; mix-blend-mode: multiply; transition: opacity .28s ease, transform .4s ease; }
.hero-carousel-image.is-changing { opacity: .25; transform: scale(1.05); }
.hero-carousel-image.is-error { display: none; }
#heroCarouselFallback { display: none; }
#heroCarouselFallback.is-visible { display: inline; }
.dish-leaf { position: absolute; color: #7c9c53; font-size: 16px; }
.leaf-a { top: 20px; left: 18px; transform: rotate(20deg); }
.leaf-b { right: 17px; bottom: 20px; transform: rotate(-30deg); }
.hero-card-info { display: flex; flex-direction: column; justify-content: center; padding: 21px 19px; }
.tag { width: max-content; padding: 5px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; }
.tag-red { color: var(--coral); background: var(--coral-soft); }
.hero-card-info strong { margin-top: 15px; font-size: 18px; letter-spacing: -.6px; }
.hero-card-info small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.hero-card-info > div { display: flex; align-items: baseline; gap: 7px; margin-top: 18px; }
.hero-card-info b { color: var(--coral); font-size: 22px; }
.hero-card-info del { color: #adb6b0; font-size: 11px; }
.hero-card-info div span { margin-left: auto; color: #8c9790; font-size: 10px; }
.floating-note { position: absolute; padding: 9px 12px; color: var(--ink); border: 1px solid rgba(231,235,228,.9); border-radius: 9px; background: rgba(255,255,255,.88); box-shadow: 0 8px 20px rgba(43, 64, 51, .1); font-size: 11px; font-weight: 700; }
.note-one { right: 0; top: 18px; color: var(--teal); }
.note-two { left: 1%; bottom: 41px; color: #9b7016; }

.content-shell { max-width: 1240px; margin: 0 auto; padding: 16px 28px 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading h2 { margin: 7px 0 0; font-size: 28px; letter-spacing: -1px; }
.text-button { border: 0; color: var(--teal); background: transparent; font-size: 12px; font-weight: 700; }
.text-button span { margin-left: 5px; font-size: 16px; }
.category-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; margin: 27px 0 60px; }
.category-card { position: relative; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; overflow: hidden; border: 1px solid transparent; border-radius: 13px; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.category-card:hover, .category-card.selected { border-color: rgba(17,124,111,.23); box-shadow: 0 10px 24px rgba(39, 72, 59, .08); transform: translateY(-3px); }
.category-card .cat-emoji { font-size: 28px; line-height: 1; }
.category-card strong { font-size: 13px; }
.category-card small { color: #89958e; font-size: 10px; }
.category-card::after { content: ""; position: absolute; width: 64px; height: 64px; right: -28px; bottom: -33px; border-radius: 50%; background: rgba(230, 245, 237, .9); }
.restaurants-heading { margin-top: 4px; }
.view-tools { display: flex; align-items: center; gap: 14px; }
.sort-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: #eaeee8; }
.sort-tab { border: 0; padding: 7px 11px; border-radius: 6px; color: #7c8981; background: transparent; font-size: 11px; }
.sort-tab.active { color: var(--ink); background: #fff; box-shadow: 0 2px 5px rgba(50, 68, 54, .08); font-weight: 700; }
.filter-button { border: 1px solid var(--line); padding: 9px 12px; border-radius: 8px; color: #65736a; background: #fff; font-size: 11px; }
.filter-button span { margin-right: 4px; font-size: 15px; }
.active-filters { min-height: 28px; display: flex; gap: 8px; margin-top: 20px; }
.filter-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px; color: var(--teal); background: #dff0e9; font-size: 10px; }
.filter-pill button { border: 0; color: inherit; background: transparent; font-size: 14px; line-height: .7; }
.restaurant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.restaurant-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: box-shadow .22s ease, transform .22s ease; animation: card-in .5s both; }
.restaurant-card:nth-child(2) { animation-delay: .05s; }
.restaurant-card:nth-child(3) { animation-delay: .1s; }
.restaurant-card:nth-child(4) { animation-delay: .15s; }
.restaurant-card:nth-child(5) { animation-delay: .2s; }
.restaurant-card:nth-child(6) { animation-delay: .25s; }
.restaurant-card:hover { box-shadow: 0 16px 32px rgba(38, 62, 46, .1); transform: translateY(-4px); }
.restaurant-image { position: relative; height: 166px; overflow: hidden; background: #dfe5db; }
.restaurant-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.restaurant-card:hover .restaurant-image img { transform: scale(1.04); }
.restaurant-badge { position: absolute; top: 12px; left: 12px; padding: 6px 8px; border-radius: 6px; color: #fff; background: rgba(24,35,31,.72); font-size: 10px; font-weight: 700; }
.heart-button { position: absolute; top: 9px; right: 9px; width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(19, 32, 26, .32); font-size: 18px; line-height: 1; }
.heart-button.liked { color: #ff9b85; background: #fff; }
.restaurant-body { padding: 16px 16px 14px; }
.restaurant-title-line { display: flex; justify-content: space-between; align-items: start; gap: 9px; }
.restaurant-title-line h3 { margin: 0; font-size: 17px; letter-spacing: -.6px; }
.rating { color: #9a6f1d; font-size: 11px; white-space: nowrap; }
.rating span { color: #8b978f; }
.restaurant-meta { display: flex; align-items: center; gap: 9px; margin-top: 8px; color: #8a968e; font-size: 10px; }
.restaurant-meta span:not(:last-child)::after { content: "·"; margin-left: 9px; color: #c1c9c2; }
.restaurant-tags { display: flex; gap: 6px; margin-top: 14px; }
.restaurant-tag { padding: 5px 7px; border-radius: 5px; color: #64776c; background: #eef3ec; font-size: 9px; }
.menu-preview { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #eef1ed; }
.menu-preview p { margin: 0; color: #6c7971; font-size: 11px; line-height: 1.45; }
.menu-price { color: var(--coral); font-size: 14px; font-weight: 800; }
.add-button { width: 29px; height: 29px; border: 0; border-radius: 8px; color: #fff; background: var(--teal); font-size: 20px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.add-button:hover { background: #0d6259; transform: scale(1.05); }
.empty-state { padding: 70px 0; text-align: center; }
.empty-icon { font-size: 42px; color: #9db0a4; transform: rotate(-20deg); }
.empty-state h3 { margin: 12px 0 6px; font-size: 18px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.outline-button { border: 1px solid var(--teal); padding: 9px 15px; border-radius: 8px; color: var(--teal); background: transparent; font-size: 12px; }

.deal-strip { max-width: 1184px; margin: 0 auto 70px; padding: 30px 35px; display: flex; align-items: center; gap: 28px; border-radius: 16px; color: #fff; background: #1d6158; box-shadow: var(--shadow); }
.deal-strip .section-kicker { color: #9be0cb; }
.deal-strip h2 { margin: 7px 0 6px; font-size: 25px; letter-spacing: -.8px; }
.deal-strip h2 span { color: #fbd385; }
.deal-strip p:not(.section-kicker) { margin: 0; color: #b6ddd3; font-size: 12px; }
.deal-timer { margin-left: auto; min-width: 112px; text-align: center; }
.deal-timer small { display: block; margin-bottom: 6px; color: #b7d8d0; font-size: 10px; }
.deal-timer strong { color: #fff; font-size: 24px; letter-spacing: 1px; }
.deal-button { border: 0; padding: 12px 15px; border-radius: 8px; color: #1d6158; background: #fbd385; font-size: 12px; font-weight: 700; }
.deal-button span { margin-left: 9px; font-size: 15px; }

.cart-drawer { position: fixed; z-index: 20; top: 0; right: 0; width: min(420px, 100vw); height: 100vh; display: flex; flex-direction: column; padding: 28px; background: #fff; box-shadow: -16px 0 40px rgba(25, 46, 35, .16); transform: translateX(105%); transition: transform .28s ease; }
.cart-drawer.open { transform: translateX(0); }
.profile-drawer { position: fixed; z-index: 20; top: 0; right: 0; width: min(438px, 100vw); height: 100vh; display: flex; flex-direction: column; padding: 28px; overflow: hidden; background: #fff; box-shadow: -16px 0 40px rgba(25, 46, 35, .16); transform: translateX(105%); transition: transform .32s cubic-bezier(.22,.8,.25,1); }
.profile-drawer.open { transform: translateX(0); }
.profile-drawer-head { flex: 0 0 auto; }
.profile-content { flex: 1; overflow-y: auto; padding: 22px 0 8px; scrollbar-width: thin; scrollbar-color: #d7e1da transparent; }
.signed-out-panel { padding: 26px 3px 8px; animation: profile-in .38s .08s both; }
.auth-lock { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 0 22px; border-radius: 16px; color: var(--teal); background: #e3f2ec; font-size: 24px; }
.signed-out-panel h3 { margin: 0; font-size: 24px; letter-spacing: -.9px; }
.signed-out-panel p { max-width: 300px; margin: 9px 0 23px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.profile-secondary { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 0; border: 0; color: var(--teal); background: transparent; font-size: 12px; font-weight: 700; text-align: left; }
.profile-secondary span { font-size: 17px; }
.invite-note { display: block; margin-top: 34px; color: #9aa69f; font-size: 10px; line-height: 1.6; }
.sign-out-button { justify-content: center; margin-top: 18px; border-top: 1px solid var(--line); color: #a06e65; }
.auth-modal-shell { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; background: rgba(14, 25, 19, .32); transition: opacity .22s ease, visibility .22s ease; }
.auth-modal-shell.show { visibility: visible; opacity: 1; }
.auth-modal { position: relative; width: min(420px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 24px 70px rgba(23, 45, 34, .2); transform: translateY(12px) scale(.98); transition: transform .28s cubic-bezier(.22,.8,.25,1); }
.auth-modal-shell.show .auth-modal { transform: translateY(0) scale(1); }
.auth-modal h2 { margin: 8px 0 5px; font-size: 27px; letter-spacing: -1px; }
.auth-subtitle { margin: 0; color: var(--muted); font-size: 12px; }
.auth-close { position: absolute; top: 18px; right: 18px; }
.auth-switcher { display: flex; gap: 5px; margin-top: 24px; padding: 4px; border-radius: 8px; background: #eef2ed; }
.auth-switch { flex: 1; border: 0; padding: 9px; border-radius: 6px; color: #859188; background: transparent; font-size: 11px; font-weight: 700; }
.auth-switch.active { color: var(--ink); background: var(--white); box-shadow: 0 2px 5px rgba(50,68,54,.08); }
.auth-form { margin-top: 18px; }
.auth-form label { display: block; margin: 0 0 13px; color: #66746b; font-size: 10px; font-weight: 700; }
.auth-form input { width: 100%; margin-top: 6px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }
.auth-form input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(17,124,111,.1); }
.auth-form .checkout-button, .auth-form .profile-cta { margin-top: 3px; }
.auth-error { min-height: 16px; margin: 9px 0 0; color: var(--coral); font-size: 10px; }
.auth-footnote { display: block; margin-top: 20px; color: #a0aaa3; font-size: 10px; }
.profile-edit-shell { position: fixed; z-index: 41; inset: 0; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; background: rgba(14, 25, 19, .32); transition: opacity .22s ease, visibility .22s ease; }
.profile-edit-shell.show { visibility: visible; opacity: 1; }
.profile-edit-modal { position: relative; width: min(490px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow-y: auto; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 24px 70px rgba(23, 45, 34, .2); transform: translateY(12px) scale(.98); transition: transform .28s cubic-bezier(.22, .8, .25, 1); }
.profile-edit-shell.show .profile-edit-modal { transform: translateY(0) scale(1); }
.profile-edit-modal h2 { margin: 8px 0 5px; font-size: 27px; letter-spacing: -1px; }
.profile-edit-grid { display: grid; grid-template-columns: 1fr .55fr .75fr; gap: 10px; }
.field-hint { color: #98a59d; font-size: 9px; font-weight: 400; }
.profile-identity { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 13px; color: var(--ink); background: #edf5f0; animation: profile-in .38s .08s both; }
.profile-avatar { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #1c776b; box-shadow: 0 10px 20px rgba(17, 124, 111, .2); font-size: 23px; font-weight: 700; }
.profile-identity h3 { margin: 0; font-size: 18px; letter-spacing: -.5px; }
.profile-identity p { margin: 4px 0 9px; color: #708079; font-size: 11px; }
.member-pill { display: inline-flex; padding: 5px 8px; border-radius: 6px; color: #9d6d14; background: #fff1c9; font-size: 10px; font-weight: 700; }
.edit-profile { position: absolute; top: 14px; right: 14px; width: 29px; height: 29px; border: 1px solid #d5e5dc; border-radius: 8px; color: #367a6e; background: #fff; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.edit-profile:hover { transform: rotate(-8deg); background: #e5f3ec; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 26px; animation: profile-in .38s .13s both; }
.profile-stats div { padding: 13px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { color: var(--ink); font-size: 19px; letter-spacing: -.5px; }
.profile-stats span { margin-top: 4px; color: #89958e; font-size: 10px; }
.profile-section { margin-top: 24px; animation: profile-in .38s .18s both; }
.profile-section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #718079; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .9px; }
.profile-section-heading small { color: #a1aea5; font-size: 9px; font-weight: 500; letter-spacing: .2px; text-transform: none; }
.profile-section-heading button { border: 0; color: var(--teal); background: transparent; font-size: 11px; font-weight: 700; }
.profile-summary { padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: #7f8e84; background: #fbfdfb; font-size: 11px; line-height: 1.6; }
.profile-summary strong { color: var(--ink); }
.profile-row { width: 100%; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border: 0; border-bottom: 1px solid #edf1ed; color: var(--ink); background: transparent; text-align: left; transition: padding .2s ease, color .2s ease; }
.profile-row:hover { padding-left: 5px; color: var(--teal); }
.profile-row-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--teal); background: #e3f2ec; font-size: 15px; }
.profile-row strong, .profile-row small { display: block; }
.profile-row strong { font-size: 12px; }
.profile-row small { margin-top: 4px; color: #8b978f; font-size: 10px; }
.profile-row b { color: #9eaaa2; font-size: 18px; font-weight: 400; }
.profile-pay-section { margin-top: 19px; }
.profile-pay-section .profile-row { padding: 12px 0; }
.recent-order { display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf1ed; }
.recent-order-visual { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 9px; background: #f6e8d8; font-size: 20px; }
.recent-order strong, .recent-order small { display: block; }
.recent-order strong { font-size: 12px; }
.recent-order small { margin-top: 4px; color: #8c9990; font-size: 10px; }
.recent-order b { color: var(--coral); font-size: 12px; }
.profile-cta { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding: 15px; border: 0; border-radius: 11px; color: #fff; background: var(--teal); text-align: left; box-shadow: 0 10px 20px rgba(17,124,111,.15); transition: transform .2s ease, box-shadow .2s ease; animation: profile-in .38s .23s both; }
.profile-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 25px rgba(17,124,111,.22); }
.profile-cta strong, .profile-cta small { display: block; }
.profile-cta strong { font-size: 13px; }
.profile-cta small { margin-top: 5px; color: #b8e1d7; font-size: 10px; }
.profile-cta > span:last-child { color: #d7f1e8; font-size: 11px; font-weight: 700; white-space: nowrap; }
.drawer-overlay { position: fixed; z-index: 19; inset: 0; visibility: hidden; opacity: 0; background: rgba(14, 25, 19, .25); transition: opacity .28s ease, visibility .28s ease; }
.drawer-overlay.show { visibility: visible; opacity: 1; }
.drawer-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 6px 0 0; font-size: 26px; letter-spacing: -1px; }
.close-button { width: 32px; height: 32px; border-radius: 50%; color: #68776e; background: #f0f3ef; font-size: 24px; line-height: 1; }
.cart-content { flex: 1; overflow-y: auto; padding: 15px 0; }
.cart-empty { padding: 72px 15px; color: var(--muted); text-align: center; font-size: 13px; }
.cart-empty strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 17px; }
.cart-item { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #eef1ec; }
.cart-item-image { width: 58px; height: 58px; overflow: hidden; border-radius: 9px; background: #e5ebe4; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { margin: 0 0 5px; font-size: 13px; }
.cart-item small { color: #8a978f; font-size: 10px; }
.cart-item-right { text-align: right; }
.cart-item-right strong { display: block; color: var(--coral); font-size: 13px; }
.quantity-control { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; }
.quantity-control button { width: 21px; height: 21px; border: 1px solid var(--line); border-radius: 6px; color: var(--teal); background: #fff; font-size: 14px; line-height: 1; }
.quantity-control span { min-width: 14px; color: var(--ink); font-size: 11px; text-align: center; }
.cart-footer { padding-top: 16px; border-top: 1px solid var(--line); }
.fee-line, .total-line { display: flex; justify-content: space-between; align-items: center; color: #7e8b83; font-size: 12px; }
.total-line { margin-top: 10px; color: var(--ink); font-size: 14px; }
.total-line strong { color: var(--coral); font-size: 25px; }
.checkout-button { width: 100%; margin-top: 16px; padding: 13px; border: 0; border-radius: 9px; color: #fff; background: var(--coral); font-size: 13px; font-weight: 700; }
.checkout-button span { float: right; font-size: 18px; line-height: 14px; }
.primary-button { width: 100%; margin-top: 3px; padding: 13px; border: 0; border-radius: 9px; color: #fff; background: var(--coral); font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 9px 18px rgba(229,90,67,.2); }
.primary-button span { float: right; font-size: 18px; line-height: 14px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 27px; padding: 11px 15px; border-radius: 8px; color: #fff; background: #213c32; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 0 28px 32px; display: flex; justify-content: space-between; color: #9aa59e; font-size: 11px; }
.site-footer div { display: flex; gap: 12px; }
.site-footer strong { color: var(--ink); }

@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes profile-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .header-inner { height: 68px; padding: 0 18px; }
  .brand { min-width: auto; }
  .main-nav { display: none; }
  .header-actions { min-width: auto; }
  .hero-shell { min-height: auto; grid-template-columns: 1fr; padding: 52px 20px 42px; gap: 20px; }
  .hero-copy { padding-left: 0; }
  .hero-art { min-height: 300px; transform: scale(.9); transform-origin: top center; margin-bottom: -34px; }
  .content-shell { padding: 14px 20px 50px; }
  .category-row { grid-template-columns: repeat(3, 1fr); margin-bottom: 48px; }
  .restaurant-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-strip { margin: 0 20px 52px; padding: 25px; }
}
@media (max-width: 620px) {
  .header-actions .icon-button { display: none; }
  .hero-copy h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-meta { gap: 14px; flex-wrap: wrap; }
  .hero-art { transform: scale(.72); min-height: 250px; margin-bottom: -69px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .restaurants-heading { margin-top: 0; }
  .view-tools { width: 100%; justify-content: space-between; }
  .sort-tabs { overflow-x: auto; max-width: calc(100vw - 120px); }
  .sort-tab { white-space: nowrap; }
  .restaurant-grid { grid-template-columns: 1fr; }
  .restaurant-image { height: 184px; }
  .deal-strip { align-items: start; flex-wrap: wrap; gap: 16px; }
  .deal-timer { margin-left: 0; text-align: left; }
  .deal-button { margin-left: auto; }
  .site-footer { padding: 0 20px 28px; flex-direction: column; gap: 9px; }
}
