:root {
  color-scheme: light;
  --ink: #26180f;
  --muted: #65584f;
  --line: #eaded1;
  --surface: #fff;
  --accent: #a33d05;
  --accent-soft: #fff1e5;
  --green: #176b38;
  --green-soft: #e7f8ed;
  --orange-gradient: linear-gradient(180deg, #ff9a28, #ff6e18);
  --shadow-sm: 0 8px 22px rgba(65, 33, 8, .07);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; min-height: 100dvh; background: repeating-linear-gradient(90deg, rgba(255, 194, 71, .12) 0, rgba(255, 194, 71, .12) 18px, rgba(255, 255, 255, .45) 18px, rgba(255, 255, 255, .45) 72px), linear-gradient(180deg, #fffdf9, #fff6ea); color: var(--ink); font: 16px/1.5 Poppins, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
button, input, select { font: inherit; color: inherit; letter-spacing: 0; }
button, select, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button, input, select { min-height: 44px; }
button { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 10px 14px; font-weight: 800; }
button:disabled { cursor: wait; opacity: .65; }
a { color: var(--green); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #0679b6; outline-offset: 3px; }
[hidden], .hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone-shell { max-width: 1200px; margin: auto; padding: max(12px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
.screen { min-width: 0; padding: 12px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 249, 241, .94)); box-shadow: 0 20px 55px rgba(65, 33, 8, .1); }
.hero-card { padding: 4px 4px 0; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 86px; }
.brand-logo { width: 150px; height: 86px; object-fit: contain; }
.app-store-links.se360-store-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 440px; margin: 8px 0 12px; }
.app-store-links .se360-store-link { min-height: 48px; padding: 10px 8px; gap: 8px; border-radius: 16px; font-size: 14px; }
.hero-card h1 { margin: 12px 0 16px; font-size: 27px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.favorites-filter { display: flex; gap: 7px; align-items: center; font-size: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.favorites-filter[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.favorite-count { font-size: 12px; min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.nearby-actions { display: flex; gap: 8px; margin: 8px 0 16px; align-items: center; }
.nearby-button { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; font-size: 16px; }
.nearby-button > span { min-width: 0; overflow-wrap: anywhere; }
.nearby-button:disabled { opacity: 1; }
.nearby-feedback { margin: -4px 0 16px; color: var(--green); font-size: 13px; overflow-wrap: anywhere; }
.nearby-feedback[data-state="warning"] { color: #854000; }
.search-panel { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.search-field, .location-select-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 22px; padding: 0 14px; background: var(--surface); min-width: 0; box-shadow: var(--shadow-sm); }
.search-field:focus-within, .location-select-wrap:focus-within { border-color: #0679b6; box-shadow: 0 0 0 1px #0679b6; }
.search-field > .icon { color: var(--muted); }
.search-field input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 12px 0; height: 48px; font-size: 16px; }
.search-field input:focus { outline: none; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input::placeholder { color: var(--muted); }
.location-select-wrap { padding-right: 8px; position: relative; }
.location-select-wrap > .icon { color: var(--accent); }
.location-select-wrap select { -webkit-appearance: none; appearance: none; border: 0; background: transparent; width: 100%; min-width: 0; padding: 8px 30px 8px 0; font-size: 16px; }
.select-chevron { display: flex; position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 10px; }
.search-field .icon-button { border: 0; background: transparent; margin-right: -10px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 12px 1px 8px; overscroll-behavior-x: contain; }
.chip { flex: 0 0 auto; min-height: 44px; padding: 9px 18px; font-size: 14px; border-color: transparent; box-shadow: var(--shadow-sm); }
.chip.active { background: var(--orange-gradient); color: var(--ink); border-color: #ff891d; }
.filter-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 16px; }
.open-filter { display: flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; cursor: pointer; }
.open-filter input { width: 19px; height: 19px; min-height: 0; margin: 0; accent-color: var(--green); }
.more-filters { margin-left: auto; }
.more-filters > summary { display: flex; align-items: center; justify-content: flex-end; gap: 7px; min-height: 44px; font-size: 14px; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
.more-filters[open] { flex: 1 0 100%; margin: 0; }
.more-filters[open] > summary { justify-content: flex-start; }
.filter-fields { display: grid; gap: 12px; padding: 12px 0 16px; }
.filter-fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; min-width: 0; }
.filter-fields select { width: 100%; border: 1px solid var(--line); background: white; border-radius: 16px; padding: 10px; font-size: 16px; }
.delivery-panel { margin-top: 4px; border-top: 1px solid var(--line); }
.delivery-panel > summary { display: flex; align-items: center; gap: 9px; min-height: 48px; color: var(--green); font-weight: 800; font-size: 14px; list-style: none; }
.delivery-panel > summary span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.delivery-panel > summary .icon:last-child { width: 16px; height: 16px; flex-basis: 16px; }
.delivery-panel[open] > summary .icon:last-child { transform: rotate(180deg); }
.delivery-panel[data-active="true"] > summary { color: var(--green); }
.delivery-content { padding: 8px 0; }
.address-radius-form > label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.address-actions { display: grid; gap: 8px; }
.address-actions input { width: 100%; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 12px; font-size: 16px; }
.primary-button, .shop-button { background: var(--orange-gradient); color: var(--ink); border: 1px solid #ff891d; box-shadow: 0 10px 24px rgba(255, 122, 26, .2); }
.privacy-note { margin: 10px 0; color: var(--muted); font-size: 13px; }
.delivery-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.text-button { border-color: transparent; background: transparent; color: var(--green); }
.location-feedback { padding: 12px; margin: 12px 0 0; background: #fff1db; border-radius: 16px; font-size: 14px; overflow-wrap: anywhere; }
.location-feedback[data-state="success"] { background: var(--green-soft); color: var(--green); }
.location-feedback[data-state="warning"], .offline-notice { background: #fff5db; color: #654a00; }
.offline-notice { padding: 12px; border-radius: 16px; font-size: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 18px 0 12px; }
.section-head h2 { font-size: 20px; margin: 0; }
.section-head > span { color: var(--muted); font-size: 14px; }
.partner-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
.partner-card { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto; align-content: start; column-gap: 12px; row-gap: 10px; background: linear-gradient(180deg, #fff, #fffaf4); border: 1px solid rgba(38, 24, 15, .07); border-radius: 24px; padding: 14px; box-shadow: 0 12px 28px rgba(65, 33, 8, .08); min-width: 0; }
.partner-logo { width: 72px; height: 72px; align-self: start; border: 1px solid rgba(38, 24, 15, .06); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #fffdfa, #fff6ea); }
.partner-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.partner-body { min-width: 0; padding-right: 28px; }
.partner-meta-top { color: var(--muted); font-size: 12px; line-height: 1.4; margin-bottom: 7px; overflow-wrap: anywhere; }
.city-pill { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 800; }
.partner-body h3 { font-size: 18px; line-height: 1.25; margin: 0 0 6px; font-weight: 800; overflow-wrap: anywhere; }
.partner-availability { font-size: 12px; font-weight: 700; margin: 0 0 5px; color: var(--muted); }
.partner-availability[data-state="open"] { color: var(--green); }
.partner-availability[data-state="closed"] { color: #9a3e00; }
.favorite-button { position: absolute; top: 6px; right: 6px; border: 0; color: var(--muted); background: transparent; }
.favorite-button[aria-pressed="true"] { color: var(--accent); }
.favorite-button[aria-pressed="true"] .icon { fill: var(--accent-soft); }
.card-cuisines { margin: 0; font-size: 12px; color: var(--accent); overflow-wrap: anywhere; }
.card-cuisines summary, .card-cuisines p, p.card-cuisines { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.card-cuisines summary { min-height: 44px; list-style: none; }
.category-pill { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.more-count { border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; font-size: 11px; font-weight: 800; }
.card-cuisines p { margin: 5px 0 0; }
.partner-signals { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.partner-signals span { padding: 4px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-weight: 700; }
.delivery-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; padding: 12px; background: var(--green-soft); color: var(--green); border-radius: 18px; }
.delivery-facts > strong { flex: 1 0 100%; font-size: 12px; }
.shop-button { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 18px; min-height: 48px; text-decoration: none; font-size: 15px; font-weight: 800; }
.partner-card[data-availability="closed"] .shop-button { background: #fff1e5; color: var(--ink); border-color: #f2c99f; box-shadow: none; }
.unverified-restaurants { padding: 16px 0; border-top: 1px solid var(--line); margin-top: 16px; font-size: 14px; }
.unverified-restaurants summary { min-height: 44px; font-weight: 650; }
.unverified-restaurants a { display: block; padding: 12px 0; }
.empty-state { padding: 30px 16px; text-align: center; border: 1px dashed #c6aa8f; border-radius: 24px; }
.empty-state strong, .empty-state span { display: block; margin-bottom: 12px; }
.empty-state span { color: var(--muted); font-size: 14px; }
.availability-note, .preference-notice { color: var(--muted); font-size: 12px; margin: 16px 0; }
.preference-notice { color: #654a00; }
.app-info { margin: 24px 12px 0; padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.app-info h2 { color: var(--ink); font-size: 19px; margin: 0 0 12px; }
.app-info h3 { color: var(--ink); font-size: 16px; margin: 24px 0 8px; }
.app-info p { margin: 8px 0; }
.app-city-links { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; }
.app-city-links a { display: inline-block; padding: 6px 0; }
.app-download-links { border-top: 1px solid var(--line); padding: 12px 0; }
.app-download-links summary { min-height: 44px; display: flex; align-items: center; font-weight: 650; }
.app-download-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.app-download-stores a { padding: 10px 14px; min-height: 44px; background: var(--ink); color: white; text-decoration: none; border-radius: 16px; }
.bottom-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }
.bottom-nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) { .shop-button:hover, .primary-button:hover { background: linear-gradient(180deg, #ffad45, #ff7a1a); border-color: #ff891d; } .favorite-button:hover { background: var(--accent-soft); } .chip:not(.active):hover { border-color: #eeac72; } .partner-card:hover { border-color: #f2c99f; } }
@media (min-width: 700px) {
  .phone-shell { padding-top: 20px; }
  .screen { padding: 20px; border-radius: 34px; }
  .hero-card h1 { font-size: 32px; margin: 20px 0; }
  .nearby-actions, .nearby-feedback { max-width: 380px; }
  .search-row { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .filter-fields { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .address-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .delivery-content { max-width: 780px; }
  .app-info { max-width: 850px; }
}
@media (min-width: 1120px) { .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 359px) {
  .phone-shell { padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
  .screen { padding: 10px; }
  .brand-row { gap: 6px; }
  .brand-logo { width: 120px; }
  .favorites-filter { padding: 10px 8px; gap: 5px; font-size: 13px; }
  .hero-card h1 { font-size: 24px; }
  .partner-card { padding: 12px; grid-template-columns: 58px minmax(0, 1fr); column-gap: 10px; }
  .partner-logo { width: 58px; height: 58px; }
  .partner-body h3 { font-size: 16px; }
}
@media (display-mode: standalone) { .app-download-links, .app-store-links.se360-store-links { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
