:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #282b27;
  background: #e9ece7;
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
  --accent: #d87556;
  --accent-dark: #9e4d34;
  --accent-light: #f9eee7;
  --canvas: #faf8f4;
  --ink: #282b27;
  --muted: #84867c;
  --line: #eeeee7;
  --hero-bg: #efe4d6;
}
* { box-sizing: border-box; }
body { margin: 0; }
body[data-app="food"] { --accent: #3b6552; --accent-dark: #234c39; --accent-light: #eaf0e4; --canvas: #f7f8f1; --hero-bg: #2c4c39; }
body[data-app="booking"] { --accent: #7664a3; --accent-dark: #56457f; --accent-light: #eeeaf7; --canvas: #f8f6fc; --hero-bg: #ebe5f3; --line: #eeeaf4; }
body[data-app="groupbuy"] { --accent: #528243; --accent-dark: #355e28; --accent-light: #eaf2df; --canvas: #f8faf3; --hero-bg: #e5efd3; }
body[data-app="home-service"] { --accent: #d78a43; --accent-dark: #96602c; --accent-light: #fcf0df; --canvas: #fbf8f3; --hero-bg: #f2e5d3; }
button, input, textarea { font: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .35; }
button, input, textarea { -webkit-appearance: none; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { flex-shrink: 0; width: 22px; height: 22px; }
img { display: block; max-width: 100%; }
strong, h1, h2, h3, h4 { font-weight: 650; }
.app-shell { position: relative; display: flex; flex-direction: column; width: min(100%, 430px); height: 100dvh; min-height: 420px; margin: 0 auto; overflow: hidden; background: var(--canvas); }
.status-bar { height: 33px; flex-shrink: 0; padding: 9px 25px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; line-height: 1; }
.status-bar strong { font-weight: 700; }
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { width: 16px; height: 16px; stroke-width: 2.3; }
.status-icons svg:last-child { width: 24px; }
.app-header { height: 59px; flex-shrink: 0; padding: 7px 20px 12px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; gap: 4px; }
.brand strong { font-size: 20px; font-weight: 750; letter-spacing: 1.7px; }
.brand small { font-size: 8px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent-dark); }
.capsule { height: 29px; width: 86px; border: 1px solid #d5d7cf; display: flex; align-items: center; justify-content: center; gap: 10px; background: #ffffff70; border-radius: 18px; }
.capsule > span:first-child { letter-spacing: 1px; font-size: 19px; line-height: 10px; padding-bottom: 7px; }
.capsule i { width: 1px; height: 15px; background: #d5d7cf; }
.capsule-circle { width: 15px; height: 15px; border: 1.7px solid #292d28; border-radius: 50%; position: relative; }
.capsule-circle::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #292d28; inset: 3.3px; }
.app-main { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 19px 20px; scrollbar-width: none; scroll-behavior: smooth; }
.app-main::-webkit-scrollbar { display: none; }
.app-main.has-cart { padding-bottom: 100px; }
.location-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 13px; }
.location { display: flex; align-items: center; gap: 5px; padding: 0; min-width: 0; min-height: 26px; color: #555c50; text-align: left; font-size: 11px; }
.location span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.location svg { width: 14px; height: 14px; color: var(--accent); }
.location svg:last-child { width: 11px; height: 11px; color: var(--muted); }
.tiny-chip { flex-shrink: 0; display: inline-block; padding: 4px 7px; border: 1px solid var(--accent-light); border-radius: 5px; color: var(--accent-dark); background: var(--accent-light); font-size: 9px; line-height: 1; }
.search-box { display: flex; gap: 9px; align-items: center; width: 100%; min-height: 40px; padding: 0 13px; border: 1px solid #e9eae2; border-radius: 11px; background: #fff; margin-bottom: 15px; }
.search-box svg { width: 17px; height: 17px; color: #93978b; }
.search-box input { width: 100%; min-width: 0; padding: 10px 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 12px; }
.search-box input::placeholder { color: #a1a498; }
.search-box:focus-within { border-color: var(--accent); }
.hero { position: relative; isolation: isolate; min-height: 224px; padding: 23px 19px; border-radius: 17px; overflow: hidden; background: var(--hero-bg); }
.hero-copy { position: relative; z-index: 2; max-width: 81%; }
.eyebrow { display: block; font-size: 7px; line-height: 1.5; font-weight: 650; letter-spacing: 1.6px; color: var(--accent-dark); }
.hero h1 { font-size: 25px; line-height: 1.4; letter-spacing: -.6px; margin: 11px 0 7px; font-weight: 750; }
.hero p { font-size: 10px; color: #6e705f; line-height: 1.6; margin: 0; }
.hero-cta { margin-top: 17px; display: flex; align-items: center; gap: 15px; min-height: 32px; padding: 7px 11px 7px 13px; border-radius: 6px; background: var(--accent-dark); color: #fff; font-size: 10px; }
.hero-cta svg { width: 13px; height: 13px; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: -1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hero-bg) 0%, transparent 90%); }
.hero-decoration { position: absolute; z-index: -1; width: 145px; height: 145px; border-radius: 50%; border: 1px solid #ffffff60; right: -53px; top: -52px; }
.hero-label { position: absolute; right: 12px; bottom: 13px; padding: 5px 8px; background: #ffffffe0; color: var(--accent-dark); border-radius: 20px; font-size: 8px; }
body[data-app="food"] .hero { color: #fff; }
body[data-app="food"] .hero h1 { font-size: 23px; }
body[data-app="food"] .hero p, body[data-app="food"] .eyebrow { color: #d4dfcd; }
body[data-app="food"] .hero-cta { background: #eff1d9; color: #294d37; }
body[data-app="food"] .hero-image { width: 52%; opacity: .92; }
body[data-app="food"] .hero-image::after { background: linear-gradient(90deg, var(--hero-bg) 2%, transparent 100%); }
body[data-app="booking"] .hero h1 { color: #493859; }
body[data-app="booking"] .hero-image, body[data-app="home-service"] .hero-image { width: 62%; opacity: .65; }
body[data-app="groupbuy"] .hero-image { width: 60%; }
body[data-app="groupbuy"] .hero h1 { color: #36552c; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 18px 0 14px; }
.quick-item { padding: 0; display: flex; align-items: center; flex-direction: column; gap: 6px; min-width: 0; }
.quick-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--accent-light); color: var(--accent-dark); border-radius: 14px; }
.quick-icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.quick-item:nth-child(2) .quick-icon { background: #eaeede; color: #6e7e46; }
.quick-item:nth-child(3) .quick-icon { background: #efe8dd; color: #aa8855; }
.quick-item:nth-child(4) .quick-icon { background: #e9edf0; color: #687c81; }
body[data-app="booking"] .quick-item:nth-child(2) .quick-icon { background: #f2e4ed; color: #b36b95; }
.quick-item strong { font-size: 11px; font-weight: 600; }
.quick-item small { color: #989c90; font-size: 8px; }
.benefit-strip { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 6px; }
.benefit-strip span { display: flex; align-items: center; gap: 3px; white-space: nowrap; color: #8a8e7d; font-size: 9px; }
.benefit-strip svg { width: 12px; height: 12px; color: var(--accent); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 21px 0 11px; }
.section-kicker { display: block; font-size: 8px; font-weight: 650; letter-spacing: 1.2px; color: var(--accent); }
.section-head .section-kicker { font-size: 9px; letter-spacing: 1px; }
.section-head h2 { font-size: 17px; margin: 5px 0 0; letter-spacing: -.3px; font-weight: 700; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-height: 36px; padding: 5px 0 5px 8px; color: #94988b; font-size: 10px; white-space: nowrap; }
.text-button svg { width: 12px; height: 12px; }
.category-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding: 1px 0; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs button { flex-shrink: 0; min-height: 34px; padding: 7px 13px; border-radius: 7px; font-size: 11px; color: #8a8e82; }
.category-tabs button.active { background: var(--accent); color: #fff; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 11px; }
.product-card { background: #fff; border-radius: 13px; overflow: hidden; min-width: 0; border: 1px solid #eeeee7; }
.product-media { display: block; position: relative; width: 100%; height: 142px; padding: 0; overflow: hidden; background: #edece2; }
.product-media img { height: 100%; width: 100%; object-fit: cover; }
.product-tag { position: absolute; left: 8px; top: 8px; background: #fffdf2e8; color: var(--accent-dark); font-size: 8px; padding: 4px 6px; border-radius: 4px; }
.product-copy { padding: 11px 10px 8px; }
.product-name { display: block; padding: 0; color: var(--ink); font-size: 12px; text-align: left; line-height: 1.5; font-weight: 600; max-width: 100%; }
.product-copy > p { margin: 5px 0 9px; font-size: 8px; color: #969a8f; line-height: 1.6; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.price { font-size: 19px; font-weight: 650; letter-spacing: -.5px; color: var(--accent); white-space: nowrap; }
.price small { margin-right: 2px; font-size: 11px; font-weight: 500; }
.price del { font-size: 8px; color: #a6aa9d; font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.price em { font-size: 9px; font-weight: 400; font-style: normal; color: #a3a495; margin-left: 4px; letter-spacing: 0; }
.add-button { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }
.add-button, .close-button, .stepper button { position: relative; }
.add-button::before, .close-button::before, .stepper button::before { content: ""; position: absolute; inset: -6px; }
.add-button svg { width: 16px; height: 16px; }
.product-list { display: grid; gap: 12px; }
.product-list .product-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); padding: 9px; gap: 12px; border-radius: 13px; }
.product-list .product-media { border-radius: 9px; height: 112px; }
.product-list .product-tag { top: 6px; left: 6px; font-size: 7px; padding: 4px 5px; }
.product-list .product-copy { padding: 6px 2px 0 0; }
.product-list .product-name { font-size: 14px; }
.product-list .product-copy p { font-size: 10px; margin: 8px 0 13px; }
.product-list .price del { font-size: 9px; }
.group-notice { padding: 12px 10px; margin-top: 14px; background: var(--accent-light); border-radius: 9px; display: flex; gap: 5px; align-items: center; }
.group-notice strong { font-size: 10px; color: var(--accent-dark); }
.group-notice > span:last-child { font-size: 8px; margin-left: auto; color: #889575; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.appointment-promo { display: flex; align-items: center; gap: 10px; margin-top: 14px; border-radius: 10px; padding: 12px; background: var(--accent-light); }
.promo-icon { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border-radius: 50%; background: #ffffffb0; color: var(--accent); font-size: 26px; }
.promo-icon svg { width: 18px; height: 18px; }
.appointment-promo strong { font-size: 11px; display: block; color: var(--accent-dark); }
.appointment-promo small { display: block; font-size: 8px; margin-top: 5px; color: #8d8499; }
.promo-arrow { font-size: 21px; color: var(--accent); margin-left: auto; }
.service-list { display: grid; gap: 11px; }
.service-card { display: flex; gap: 12px; padding: 10px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 13px; text-align: left; min-width: 0; }
.service-photo { width: 92px; height: 109px; flex-shrink: 0; border-radius: 9px; overflow: hidden; background: var(--accent-light); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-body { display: block; flex: 1; min-width: 0; padding: 2px 0 0; }
.service-tag { display: inline-block; color: var(--accent); font-size: 8px; font-weight: 500; background: var(--accent-light); border-radius: 4px; padding: 3px 6px; line-height: 1.3; }
.service-body > strong { display: block; font-size: 14px; margin: 8px 0 7px; }
.service-desc { display: block; font-size: 9px; line-height: 1.5; color: #92968c; }
.service-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.service-foot .price { font-size: 19px; }
.duration { color: #a1a496; font-size: 8px; }
.service-arrow { display: grid; place-items: center; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: var(--accent-light); color: var(--accent); }
.service-arrow svg { width: 11px; height: 11px; }
.notice { text-align: center; font-size: 9px; color: #aaada1; line-height: 1.8; margin: 25px 7px 4px; }
.bottom-nav { display: flex; align-items: center; justify-content: space-around; height: calc(70px + env(safe-area-inset-bottom, 0px)); padding: 7px 10px calc(8px + env(safe-area-inset-bottom, 0px)); flex-shrink: 0; background: #fffffff5; border-top: 1px solid #eceee5; z-index: 4; }
.bottom-nav button { position: relative; display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 5px; width: 24%; height: 52px; color: #a3a899; }
.bottom-nav button.active { color: var(--accent); }
.bottom-nav svg { width: 21px; height: 21px; stroke-width: 1.5; }
.bottom-nav .active svg { stroke-width: 2; }
.nav-label { font-size: 10px; }
.badge { position: absolute; top: 3px; left: calc(50% + 6px); min-width: 14px; height: 14px; display: grid; place-items: center; padding: 0 3px; border-radius: 10px; font-size: 8px; color: #fff; background: var(--accent); border: 2px solid #fff; }
.floating-cart { position: absolute; left: 19px; right: 19px; bottom: calc(83px + env(safe-area-inset-bottom, 0px)); z-index: 3; display: flex; align-items: center; gap: 11px; width: calc(100% - 38px); height: 59px; padding: 9px 13px; border-radius: 14px; background: #29372c; color: #fff; box-shadow: 0 5px 20px #29372c24; }
.cart-icon { position: relative; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: #ffffff1c; }
.cart-icon b { position: absolute; top: -2px; right: -2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 10px; background: var(--accent); font-size: 8px; display: grid; place-items: center; }
.cart-copy { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.cart-copy strong { font-size: 17px; }
.cart-copy > span { font-size: 8px; color: #ccd3c5; }
.cart-action { display: flex; align-items: center; gap: 7px; margin-left: auto; font-size: 11px; }
.cart-action svg { width: 13px; height: 13px; }
.scene-caption { display: none; }
.page-title { margin: 21px 0 24px; }
.page-title h1 { font-size: 24px; font-weight: 750; line-height: 1.4; margin: 9px 0 9px; letter-spacing: -.8px; }
.page-title p { font-size: 11px; color: #919588; line-height: 1.8; margin: 0; }
.empty-state { padding: 42px 13px; text-align: center; }
.empty-state > svg { width: 58px; height: 58px; stroke-width: 1; color: var(--accent); margin-bottom: 12px; }
.empty-state h2 { margin: 6px 0 12px; font-size: 19px; }
.empty-state p { font-size: 12px; color: #93978b; line-height: 1.9; margin: 0 0 25px; }
.empty-state .primary-button { max-width: 230px; margin: 0 auto; }
.search-empty { padding: 45px 15px; color: #9b9f93; text-align: center; }
.search-empty svg { width: 35px; height: 35px; margin-bottom: 12px; }
.search-empty p { font-size: 12px; line-height: 1.8; }
.primary-button { display: flex; justify-content: center; align-items: center; gap: 4px; width: 100%; min-height: 47px; padding: 12px 15px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 12px; border: 1px solid var(--accent); border-radius: 7px; color: var(--accent); font-size: 10px; background: #fff; }
.order-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 17px 14px 10px; margin-bottom: 16px; }
.order-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.order-head > span:first-child { font-size: 13px; font-weight: 650; }
.order-head small { display: block; margin-top: 5px; font-size: 8px; color: #adb0a4; font-weight: 400; }
.order-status { font-size: 11px; font-weight: 600; color: var(--accent); padding-top: 1px; }
.order-items { display: grid; gap: 12px; }
.order-item { display: flex; align-items: center; gap: 10px; }
.order-item img { width: 57px; height: 60px; object-fit: cover; border-radius: 7px; }
.order-item > div { flex: 1; min-width: 0; }
.order-item strong { font-size: 12px; }
.order-item p { font-size: 9px; margin: 7px 0 0; color: #9ca092; line-height: 1.7; }
.order-item > span { font-size: 12px; white-space: nowrap; }
.booking-summary { display: flex; align-items: center; gap: 9px; background: var(--canvas); border-radius: 9px; padding: 11px; margin-top: 15px; color: #7e8575; }
.booking-summary svg { width: 16px; height: 16px; color: var(--accent); }
.booking-summary > span { font-size: 10px; line-height: 1.8; overflow-wrap: anywhere; }
.booking-summary small { display: block; font-size: 9px; color: #a0a594; margin-top: 3px; }
.order-progress { display: flex; justify-content: space-between; margin: 19px 2px 16px; }
.order-progress span { position: relative; display: flex; align-items: center; flex: 1; flex-direction: column; gap: 7px; font-size: 8px; color: #b4b7ac; }
.order-progress span::before { content: ""; position: absolute; top: 4px; left: -50%; width: 100%; height: 1px; background: #e9ebdf; }
.order-progress span:first-child::before { display: none; }
.order-progress i { position: relative; width: 9px; height: 9px; background: #e8ebdf; border-radius: 50%; }
.order-progress .done { color: var(--accent); }
.order-progress .done i, .order-progress .done::before { background: var(--accent); }
.order-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.order-summary > span { font-size: 8px; color: #a4a798; }
.order-summary > strong { font-size: 10px; }
.order-summary b { font-size: 17px; margin-left: 5px; color: var(--accent); }
.order-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 3px; }
.order-footer .text-button { font-size: 10px; }
.completed-label { font-size: 9px; color: var(--accent); margin-right: auto; }
.profile-card { display: flex; align-items: center; gap: 14px; margin: 22px 0 25px; }
.avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-light); border: 4px solid #fff; }
.avatar svg { width: 30px; height: 30px; stroke-width: 1.3; }
.profile-card h1 { margin: 6px 0 5px; font-size: 22px; }
.profile-card p { font-size: 10px; color: #969a8e; margin: 0; }
.profile-card > .tiny-chip { margin-left: auto; }
.profile-stats { display: flex; padding: 16px 4px; margin-bottom: 23px; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.profile-stats button { display: flex; flex-direction: column; gap: 8px; align-items: center; flex: 1; padding: 5px; border-right: 1px solid var(--line); }
.profile-stats button:last-child { border: 0; }
.profile-stats strong { font-size: 22px; color: var(--accent); }
.profile-stats span { font-size: 10px; color: #8d9384; }
.membership-card { position: relative; overflow: hidden; background: var(--accent-dark); border-radius: 14px; color: #fff; padding: 24px 18px; margin-bottom: 22px; }
.membership-card > div { position: relative; z-index: 1; }
.membership-card span { font-size: 7px; letter-spacing: 2px; opacity: .8; }
.membership-card h2 { font-size: 17px; margin: 12px 0 9px; }
.membership-card p { font-size: 9px; opacity: .7; margin: 0; }
.membership-card > svg { position: absolute; width: 88px; height: 88px; right: -2px; bottom: -13px; opacity: .16; stroke-width: 1; transform: rotate(-15deg); }
.menu-list { background: #fff; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; }
.menu-list button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.menu-list button:last-child { border: 0; }
.menu-list button > svg:first-child { width: 19px; height: 19px; color: var(--accent); }
.menu-list button > span { flex: 1; font-size: 12px; }
.menu-list button > svg:last-child { width: 14px; height: 14px; color: #b0b6a6; }
.store-hero { position: relative; height: 190px; border-radius: 15px; overflow: hidden; margin-bottom: 20px; }
.store-hero img { width: 100%; height: 100%; object-fit: cover; }
.store-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, #172d21aa); }
.store-hero span { position: absolute; bottom: 17px; left: 16px; z-index: 1; color: #fff; font-size: 12px; }
.store-card { display: flex; gap: 10px; align-items: center; padding: 17px 13px; background: #fff; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; }
.store-card > div { flex: 1; min-width: 0; }
.store-card h2 { margin: 9px 0 6px; font-size: 15px; }
.store-card p { margin: 0 0 8px; font-size: 10px; color: #969e8c; }
.store-card small { color: #a5aa9c; font-size: 8px; line-height: 1.6; }
.store-card .secondary-button { font-size: 9px; padding: 8px; }
.sheet { position: fixed; inset: auto 0 0; width: min(100%, 430px); max-width: 100%; max-height: 88dvh; padding: 0; margin: 0 auto; border: 0; border-radius: 23px 23px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -12px 60px #14201220; }
.sheet::backdrop { background: #1c251d80; backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-rise .18s ease-out; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 16px 20px 10px; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 17px; }
.close-button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f5f5ef; color: #8c9585; }
.close-button svg { width: 16px; height: 16px; }
.sheet-content { max-height: calc(88dvh - 64px); overflow: auto; overscroll-behavior: contain; padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px)); scrollbar-width: thin; scrollbar-color: #d4d8ca transparent; }
.detail-image { width: 100%; max-height: 195px; object-fit: cover; border-radius: 12px; margin: 6px 0 18px; }
.detail-heading h3 { margin: 10px 0 7px; font-size: 21px; }
.detail-heading p { margin: 0 0 13px; font-size: 11px; color: #92998a; }
.detail-heading .price { font-size: 24px; }
.detail-heading .price del { font-size: 12px; }
.spec-group { margin: 23px 0 0; }
.spec-group h4 { font-size: 12px; margin: 0 0 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { min-height: 36px; padding: 9px 11px; border: 1px solid #eaede1; border-radius: 8px; color: #828b75; background: #fafbf7; font-size: 10px; }
.choice.active { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }
.quantity-row { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 19px; font-size: 12px; }
.stepper { display: flex; align-items: center; flex-shrink: 0; gap: 6px; }
.stepper button { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; background: #f3f5ec; color: var(--accent); }
.stepper button svg { width: 13px; height: 13px; }
.stepper span { min-width: 20px; text-align: center; font-size: 12px; }
.sheet-footer { padding-top: 13px; margin-top: 7px; }
.demo-note { padding: 10px 12px; margin: 17px 0 0; border-radius: 8px; background: var(--canvas); color: #979e8c; font-size: 10px; line-height: 1.8; }
.cart-item { display: flex; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 61px; height: 69px; object-fit: cover; border-radius: 9px; }
.cart-item-copy { flex: 1; min-width: 0; }
.cart-item-copy h3 { font-size: 12px; margin: 0 0 6px; }
.cart-item-copy p { font-size: 9px; color: #9da594; margin: 0 0 7px; }
.cart-item-copy .price { font-size: 16px; }
.cart-item .stepper { gap: 3px; }
.cart-item .stepper button { width: 25px; height: 28px; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 8px; font-size: 12px; }
.cart-total > span { color: #8e9784; }
.cart-total strong { color: var(--accent); font-size: 18px; }
.form-label { display: flex; flex-direction: column; gap: 9px; margin-top: 19px; font-size: 11px; font-weight: 600; }
.form-label input, .form-label textarea { width: 100%; border: 1px solid #e5e9dd; border-radius: 9px; padding: 12px; resize: vertical; background: #fafbf7; font-size: 11px; color: #656e5c; font-weight: 400; }
.form-label textarea::placeholder { color: #afb5a7; }
.checkout-venue { display: flex; align-items: center; gap: 12px; padding: 15px; background: var(--accent-light); border-radius: 11px; margin: 7px 0 20px; color: var(--accent); }
.checkout-venue > svg { width: 27px; height: 27px; }
.checkout-venue strong { font-size: 13px; }
.checkout-venue p { margin: 7px 0 0; font-size: 10px; color: #8b9580; }
.checkout-items { display: grid; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 24px; }
.checkout-items > div { display: flex; gap: 12px; justify-content: space-between; font-size: 11px; }
.checkout-items small { display: block; margin-top: 6px; font-size: 9px; color: #a1a894; }
.checkout-items strong { flex-shrink: 0; }
.reserve-service { display: flex; gap: 12px; align-items: center; padding: 15px; margin-top: 5px; background: var(--canvas); border-radius: 12px; }
.reserve-service .quick-icon { flex-shrink: 0; width: 49px; height: 56px; }
.reserve-service h3 { font-size: 16px; margin: 0 0 7px; }
.reserve-service p { font-size: 9px; color: #9aa28d; line-height: 1.8; margin: 0 0 7px; }
.reserve-service .price { font-size: 20px; }
.date-row { display: flex; gap: 6px; overflow: auto; scrollbar-width: none; padding-bottom: 3px; }
.date-row::-webkit-scrollbar { display: none; }
.date-choice { display: flex; flex: 0 0 47px; flex-direction: column; align-items: center; gap: 10px; min-height: 64px; padding: 11px 3px; background: #fafbf7; border: 1px solid #e9ecdf; border-radius: 8px; color: #8f9980; }
.date-choice small { font-size: 9px; }
.date-choice strong { font-size: 13px; font-weight: 500; }
.date-choice.active { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.time-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time-grid .choice { font-size: 9px; padding: 10px 3px; }
.location-choices button { display: flex; width: 100%; align-items: center; gap: 11px; padding: 20px 3px; border-bottom: 1px solid var(--line); text-align: left; }
.location-choices button > svg:first-child { color: var(--accent); width: 19px; height: 19px; }
.location-choices button > svg:last-child { margin-left: auto; width: 14px; height: 14px; color: var(--accent); }
.location-choices button > span { font-size: 12px; line-height: 1.7; }
.location-choices small { display: block; color: #a5ad99; font-size: 9px; margin-top: 4px; }
.coupon-card { display: flex; gap: 17px; padding: 20px 14px; border: 1px solid var(--accent-light); border-radius: 11px; background: var(--canvas); margin: 12px 0; }
.coupon-card > span { display: flex; flex-direction: column; gap: 8px; align-items: center; flex-shrink: 0; border-right: 1px dashed #d4d9c5; padding-right: 14px; color: var(--accent); }
.coupon-card strong { font-size: 29px; }
.coupon-card small { font-size: 9px; }
.coupon-card h3 { font-size: 12px; margin: 5px 0 11px; line-height: 1.7; }
.coupon-card p { color: #9ca88c; font-size: 9px; margin: 0; line-height: 1.8; }
.help-content { margin-top: 8px; }
.help-content h3 { font-size: 14px; margin: 23px 0 11px; }
.help-content p { font-size: 11px; color: #8f9981; line-height: 2; margin: 0 0 12px; }
.toast { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 85%; z-index: 10; background: #263129e8; padding: 13px 19px; border-radius: 10px; color: #fff; font-size: 12px; line-height: 1.6; text-align: center; box-shadow: 0 3px 15px #17211912; }
.toast[hidden] { display: none; }
@keyframes sheet-rise { from { transform: translateY(20px); opacity: .3; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 521px) {
  body { padding: 26px 12px 12px; background: radial-gradient(ellipse at 25% 15%, #f7f8f3, transparent 65%), #e8ece4; }
  .app-shell { max-height: 890px; height: calc(100dvh - 80px); border: 1px solid #fff; border-radius: 27px; box-shadow: 0 20px 60px #31432a1c, 0 0 0 6px #ffffff80; }
  .scene-caption { display: block; margin: 17px auto 0; text-align: center; color: #798371; font-size: 11px; }
  .scene-caption span { font-size: 9px; margin-left: 11px; color: #9aa491; }
  .sheet { bottom: 40px; border-radius: 23px; max-height: 85dvh; }
  .sheet-content { max-height: calc(85dvh - 64px); }
}
@media (max-width: 359px) {
  .app-header, .app-main { padding-left: 14px; padding-right: 14px; }
  .hero { padding-left: 15px; min-height: 213px; }
  .hero h1 { font-size: 22px; }
  body[data-app="food"] .hero h1 { font-size: 21px; }
  .hero p { font-size: 9px; }
  .eyebrow { font-size: 6px; letter-spacing: 1px; }
  .quick-item small { font-size: 7px; }
  .section-head h2 { font-size: 15px; }
  .category-tabs { gap: 3px; }
  .category-tabs button { padding-left: 10px; padding-right: 10px; font-size: 10px; }
  .product-media { height: 129px; }
  .product-copy { padding: 9px 8px 7px; }
  .price { font-size: 17px; }
  .price del { margin-left: 3px; font-size: 7px; }
  .add-button { width: 27px; height: 27px; }
  .service-photo { width: 78px; }
  .service-card { gap: 9px; }
  .service-body > strong { font-size: 13px; }
  .service-desc { font-size: 8px; }
  .service-foot { gap: 4px; }
  .duration { font-size: 7px; }
  .group-notice > span:last-child { font-size: 7px; }
  .cart-item { gap: 7px; }
  .cart-item img { width: 47px; height: 59px; }
  .cart-item-copy h3 { font-size: 10px; }
  .sheet-head, .sheet-content { padding-left: 16px; padding-right: 16px; }
  .profile-card { gap: 9px; }
  .profile-card h1 { font-size: 20px; }
  .profile-card .tiny-chip { font-size: 8px; }
  .page-title h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
