@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --orange: #ff5b22;
  --orange-dark: #d94816;
  --orange-soft: #fff0e9;
  --ink: #171717;
  --muted: #77736f;
  --line: #e8e5e1;
  --paper: #ffffff;
  --cream: #fbfaf8;
  --green: #3f8d62;
  --shadow: 0 22px 60px rgba(37, 24, 16, .08);
  --radius-lg: 30px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif; font-weight: 500; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; cursor: pointer; }

.app-shell { min-height: 100vh; overflow: hidden; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; max-width: 1220px; margin: 0 auto; padding: 0 28px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(232,229,225,.7); }
.brand { display: inline-flex; align-items: center; gap: 10px; direction: ltr; }
.brand-type { display: grid; line-height: .78; letter-spacing: -1.5px; font-size: 20px; font-weight: 950; text-transform: lowercase; }
.brand-type b { font-weight: 950; }
.brand-type em { color: var(--orange); font-style: normal; font-weight: 950; }
.brand-mark { width: 30px; height: 30px; border: 3px solid var(--ink); border-radius: 9px 9px 13px 13px; display: grid; place-items: center; transform: rotate(-8deg); position: relative; background: var(--orange); }
.brand-mark::before { content: ''; width: 7px; height: 11px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; position: absolute; top: -8px; }
.brand-mark span { display: block; width: 11px; height: 3px; border-radius: 9px; background: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.location-pill { color: var(--muted); font-size: 12px; font-weight: 700; }
.pin-dot { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.icon-button { width: 45px; height: 45px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); position: relative; display: grid; place-items: center; transition: .25s ease; }
.icon-button:hover { background: var(--orange); transform: rotate(-8deg); }
.cart-icon { font-size: 22px; line-height: 1; transform: rotate(-45deg); }
.cart-count { position: absolute; top: -5px; left: -1px; background: var(--orange); color: #fff; width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; font-size: 10px; font-weight: 800; }

.page-wrap { max-width: 1220px; margin: 0 auto; padding: 30px 28px 120px; min-height: calc(100vh - 80px); }
.page-enter { animation: pageIn .48s cubic-bezier(.22,.8,.24,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { color: var(--orange); letter-spacing: 1.4px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.muted { color: var(--muted); }
.display { font-size: clamp(43px, 7vw, 87px); letter-spacing: -5px; line-height: .93; margin: 0; font-weight: 950; max-width: 720px; }
.display em { color: var(--orange); font-style: normal; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 74px 0 22px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 3.5vw, 42px); line-height: 1; letter-spacing: -1.8px; font-weight: 950; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; max-width: 330px; }
.link-arrow { color: var(--orange); font-size: 13px; font-weight: 800; white-space: nowrap; }

.hero { min-height: 490px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 60px; padding: 48px 0 28px; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 99px; padding: 7px 12px 7px 9px; font-size: 11px; font-weight: 800; margin-bottom: 22px; transform: rotate(-2deg); }
.hero-kicker b { background: var(--orange); color: #fff; border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: 10px; }
.hero-copy > p { color: var(--muted); font-size: 16px; line-height: 1.85; max-width: 480px; margin: 26px 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 19px; border-radius: 99px; font-size: 13px; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 9px 18px rgba(23,23,23,.1); }
.button-primary { background: var(--orange); color: #fff; }
.button-dark { background: var(--ink); color: #fff; }
.button-ghost { background: transparent; border: 1px solid var(--line); }
.button-light { background: var(--paper); color: var(--ink); }
.full-button { width: 100%; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.avatar-stack { display: flex; direction: ltr; }
.avatar-stack span { width: 25px; height: 25px; border: 2px solid #fff; background: var(--orange-soft); border-radius: 50%; display: grid; place-items: center; margin-right: -7px; font-size: 11px; }
.avatar-stack span:nth-child(2) { background: #d7f0dd; }
.avatar-stack span:nth-child(3) { background: #ece1d5; }

.hero-art { min-height: 455px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ''; width: 380px; height: 380px; border-radius: 50%; background: var(--orange); position: absolute; top: 16px; left: 2%; opacity: .95; }
.hero-art::after { content: 'سناك سريع\A من قلب الإمارات'; white-space: pre; position: absolute; right: -7px; top: 35px; font-weight: 950; font-size: 13px; line-height: 1.35; transform: rotate(8deg); }
.pump-card { width: 290px; height: 370px; background: var(--ink); border: 7px solid #fff; border-radius: 154px 154px 30px 30px; transform: rotate(7deg); position: relative; z-index: 1; box-shadow: 20px 24px 0 rgba(23,23,23,.12); padding: 30px 24px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.pump-card::before { content: ''; width: 58px; height: 58px; border: 2px solid var(--orange); border-radius: 50%; position: absolute; top: 42px; left: 50%; transform: translateX(-50%); }
.pump-card::after { content: 'SF'; position: absolute; top: 57px; left: 50%; transform: translateX(-50%); font-size: 18px; color: var(--orange); font-weight: 950; }
.pump-word { font-size: 11px; letter-spacing: 2px; font-weight: 800; margin-top: 78px; text-align: center; opacity: .65; }
.pump-menu { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid #444; padding-top: 15px; }
.pump-menu strong { font-size: 38px; line-height: .8; color: var(--orange); letter-spacing: -2px; }
.pump-menu span { font-size: 11px; color: #bbb; }
.floating-sticker { position: absolute; z-index: 2; bottom: 18px; left: 7%; width: 130px; height: 130px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; text-align: center; font-weight: 950; font-size: 15px; line-height: 1.1; transform: rotate(-12deg); box-shadow: 6px 7px 0 var(--ink); }
.floating-sticker b { color: var(--orange); font-size: 27px; display: block; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 17px 0; }
.mini-stat { padding: 0 20px; border-left: 1px solid var(--line); }
.mini-stat:first-child { border-left: 0; }
.mini-stat strong { font-size: 22px; font-weight: 950; }
.mini-stat p { margin: 3px 0 0; font-size: 11px; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; min-height: 325px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; }
.product-tag { background: var(--orange); color: #fff; border-radius: 4px; padding: 5px 8px; font-size: 10px; font-weight: 800; transform: rotate(-3deg); }
.product-art { height: 145px; display: grid; place-items: center; position: relative; }
.product-art::before { content: ''; width: 126px; height: 92px; background: #f2ddd0; border-radius: 50% 50% 38% 38%; position: absolute; transform: rotate(-8deg); }
.product-art.drink::before { width: 70px; height: 112px; border-radius: 12px 12px 23px 23px; background: #d9f3f1; border: 4px solid #fff; box-shadow: 0 7px 0 #85cdc6; transform: rotate(8deg); }
.product-art.ice::before { width: 116px; height: 90px; background: #e7d6ed; border-radius: 50%; }
.product-emoji { font-size: 57px; position: relative; z-index: 1; filter: drop-shadow(0 7px 4px rgba(0,0,0,.12)); }
.product-info { padding-top: 10px; }
.product-info h3 { margin: 0; font-size: 18px; letter-spacing: -.5px; font-weight: 950; }
.product-info p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.price { font-size: 22px; font-weight: 950; letter-spacing: -.8px; white-space: nowrap; }
.price small { font-size: 10px; font-weight: 700; letter-spacing: 0; }
.add-button { background: var(--ink); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 25px; line-height: 1; transition: .2s ease; }
.add-button:hover { background: var(--orange); transform: rotate(90deg); }

.category-row { display: flex; gap: 8px; flex-wrap: wrap; }
.category-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 16px; font-size: 12px; font-weight: 800; transition: .2s ease; }
.category-chip.active, .category-chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-row { display: flex; gap: 12px; align-items: center; margin: 28px 0 22px; }
.search-field { flex: 1; position: relative; }
.search-field input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 99px; padding: 0 48px 0 18px; outline: 0; color: var(--ink); background: var(--cream); }
.search-field input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.search-field span { position: absolute; right: 18px; top: 14px; color: var(--orange); font-size: 18px; }
.menu-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.menu-title h1, .page-title h1 { margin: 0; font-size: clamp(38px, 6vw, 70px); line-height: .96; letter-spacing: -3px; font-weight: 950; }
.menu-title h1 em, .page-title h1 em { color: var(--orange); font-style: normal; }
.result-count { color: var(--muted); font-size: 12px; }

.offer-banner { margin-top: 80px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 29px 34px; display: flex; align-items: center; justify-content: space-between; gap: 26px; overflow: hidden; position: relative; }
.offer-banner::after { content: '10'; position: absolute; left: 27%; top: -36px; font-size: 190px; color: var(--orange); opacity: .14; font-weight: 950; }
.offer-banner h3 { position: relative; z-index: 1; margin: 0; font-size: clamp(24px, 3.5vw, 39px); line-height: 1.1; font-weight: 950; }
.offer-banner p { color: #b9b7b4; margin: 8px 0 0; font-size: 12px; }

.page-title { margin: 20px 0 42px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-title p { color: var(--muted); max-width: 290px; line-height: 1.7; font-size: 13px; margin: 0; }
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: start; }
.form-panel, .summary-panel, .profile-panel { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 25px; background: var(--paper); }
.form-panel h2, .summary-panel h2, .profile-panel h2 { margin: 0 0 20px; font-size: 23px; font-weight: 950; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 13px; padding: 0 14px; height: 47px; outline: 0; }
.field textarea { height: 86px; padding-top: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.delivery-option input { display: none; }
.delivery-option span { display: block; border: 1px solid var(--line); padding: 13px; border-radius: 13px; font-size: 12px; font-weight: 800; cursor: pointer; }
.delivery-option input:checked + span { border-color: var(--orange); background: var(--orange-soft); }
.summary-panel { background: var(--cream); position: sticky; top: 103px; }
.summary-items { display: grid; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 17px; }
.summary-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.summary-item > div { display: flex; align-items: center; gap: 10px; }
.summary-thumb { width: 37px; height: 37px; display: grid; place-items: center; background: #fff; border-radius: 10px; font-size: 20px; }
.summary-item small { display: block; color: var(--muted); margin-top: 2px; }
.summary-totals { display: grid; gap: 10px; font-size: 12px; }
.total-row { display: flex; justify-content: space-between; }
.total-row.final { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 5px; font-size: 18px; font-weight: 950; }
.total-row.final strong { color: var(--orange); }
.checkout-disclaimer { font-size: 10px; color: var(--muted); text-align: center; margin: 12px 0 0; line-height: 1.6; }

.orders-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.orders-tabs button { background: transparent; padding: 0 0 13px; color: var(--muted); font-size: 13px; font-weight: 800; border-bottom: 2px solid transparent; }
.orders-tabs button.active { color: var(--ink); border-color: var(--orange); }
.orders-list { display: grid; gap: 15px; max-width: 840px; }
.order-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; background: var(--paper); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-number { font-size: 15px; font-weight: 950; }
.order-date { font-size: 11px; color: var(--muted); margin-top: 4px; }
.status-badge { color: var(--green); background: #e8f5ed; padding: 6px 10px; border-radius: 99px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.order-items { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 0; }
.order-chip { background: var(--cream); border-radius: 99px; padding: 8px 11px; font-size: 11px; }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-total { font-size: 13px; font-weight: 950; }
.order-total strong { color: var(--orange); font-size: 20px; }
.order-progress { display: flex; align-items: center; margin-top: 18px; }
.progress-step { flex: 1; text-align: center; position: relative; font-size: 10px; color: var(--muted); }
.progress-step::before { content: ''; display: block; width: 10px; height: 10px; margin: 0 auto 7px; border-radius: 50%; background: var(--line); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); position: relative; z-index: 1; }
.progress-step::after { content: ''; position: absolute; top: 5px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.progress-step:first-child::after { display: none; }
.progress-step.done { color: var(--green); }
.progress-step.done::before { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.progress-step.done::after { background: var(--green); }

.profile-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 20px; align-items: start; }
.profile-card { background: var(--ink); color: #fff; min-height: 320px; border-radius: var(--radius-md); padding: 24px; position: relative; overflow: hidden; }
.profile-card::after { content: 'SF'; position: absolute; left: -18px; bottom: -70px; font-size: 220px; line-height: 1; color: var(--orange); opacity: .8; font-weight: 950; }
.profile-avatar { width: 75px; height: 75px; border: 2px solid var(--orange); border-radius: 50%; display: grid; place-items: center; font-size: 29px; font-weight: 950; background: #272727; position: relative; z-index: 1; }
.profile-card h2 { margin: 21px 0 4px; font-size: 24px; position: relative; z-index: 1; }
.profile-card p { margin: 0; color: #bab8b4; font-size: 12px; position: relative; z-index: 1; }
.profile-meta { position: absolute; bottom: 23px; right: 24px; z-index: 1; color: #fff; font-size: 10px; line-height: 1.7; }
.preference-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-top: 1px solid var(--line); font-size: 12px; }
.toggle { width: 40px; height: 23px; background: var(--line); border-radius: 99px; position: relative; display: inline-block; cursor: pointer; }
.toggle::after { content: ''; position: absolute; width: 17px; height: 17px; top: 3px; right: 3px; border-radius: 50%; background: #fff; transition: .2s ease; }
.toggle.on { background: var(--orange); }
.toggle.on::after { right: 20px; }

.empty-state { text-align: center; padding: 50px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); }
.empty-icon { width: 55px; height: 55px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); font-size: 25px; margin: 0 auto 15px; }
.empty-state h3 { margin: 0; font-size: 20px; font-weight: 950; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 8px 0 19px; }

.bottom-nav { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: min(430px, calc(100% - 32px)); background: rgba(23,23,23,.96); border: 1px solid #333; border-radius: 20px; z-index: 25; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; box-shadow: 0 15px 35px rgba(0,0,0,.18); direction: rtl; }
.bottom-nav a { border-radius: 15px; color: #9f9b97; min-height: 51px; display: grid; place-items: center; align-content: center; gap: 2px; transition: .2s ease; }
.bottom-nav a span { font-size: 17px; line-height: 1; }
.bottom-nav a small { font-size: 9px; font-weight: 800; }
.bottom-nav a.active, .bottom-nav a:hover { color: #fff; background: var(--orange); }

.cart-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .28s ease; }
.cart-drawer.open { opacity: 1; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(23,23,23,.42); backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 28px; transform: translateX(100%); transition: transform .4s cubic-bezier(.22,.8,.24,1); display: flex; flex-direction: column; }
.cart-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 7px 0 0; font-size: 27px; line-height: 1; font-weight: 950; }
.close-drawer { background: var(--cream); border-radius: 50%; width: 34px; height: 34px; font-size: 22px; }
.drawer-items { overflow: auto; padding: 18px 0; display: grid; gap: 13px; }
.drawer-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; }
.drawer-thumb { width: 46px; height: 46px; border-radius: 13px; background: var(--orange-soft); display: grid; place-items: center; font-size: 24px; }
.drawer-item h4 { margin: 0; font-size: 13px; font-weight: 900; }
.drawer-item p { margin: 4px 0 0; font-size: 10px; color: var(--muted); }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 7px; overflow: hidden; }
.qty-control button { width: 22px; height: 22px; background: #fff; font-size: 14px; }
.qty-control span { width: 22px; text-align: center; font-size: 11px; font-weight: 800; }
.drawer-price { font-size: 13px; font-weight: 950; align-self: start; }
.drawer-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.total-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font-size: 13px; }
.total-line strong { color: var(--orange); font-size: 24px; font-weight: 950; }
.drawer-empty { display: none; margin-top: 22px; }
.drawer-empty.show { display: block; }

.toast-region { position: fixed; top: 91px; right: 28px; z-index: 80; display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 15px; font-size: 12px; box-shadow: var(--shadow); animation: toastIn .3s ease both; }
.toast b { color: var(--orange); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-7px) translateX(7px); } to { opacity: 1; transform: translateY(0) translateX(0); } }

@media (max-width: 800px) {
  .topbar { padding: 0 17px; height: 70px; }
  .page-wrap { padding: 25px 17px 115px; }
  .location-pill { display: none; }
  .hero { grid-template-columns: 1fr; gap: 15px; min-height: auto; padding-top: 30px; }
  .hero-art { min-height: 315px; order: -1; transform: scale(.83); margin: -35px 0 -35px; }
  .hero-art::before { width: 290px; height: 290px; left: 13%; top: 7px; }
  .pump-card { width: 220px; height: 280px; padding: 20px; }
  .pump-word { margin-top: 49px; }
  .pump-menu strong { font-size: 29px; }
  .floating-sticker { width: 100px; height: 100px; font-size: 12px; left: 5%; bottom: 8px; }
  .floating-sticker b { font-size: 21px; }
  .hero-copy > p { font-size: 14px; }
  .display { letter-spacing: -3px; }
  .section-heading { margin-top: 51px; }
  .section-heading p { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { min-height: 290px; padding: 12px; }
  .product-art { height: 120px; }
  .product-art::before { width: 105px; height: 78px; }
  .product-art.drink::before { width: 57px; height: 90px; }
  .product-emoji { font-size: 45px; }
  .product-info h3 { font-size: 15px; }
  .product-info p { display: none; }
  .price { font-size: 18px; }
  .add-button { width: 35px; height: 35px; font-size: 21px; }
  .mini-stats { gap: 0; }
  .mini-stat { padding: 0 9px; }
  .mini-stat strong { font-size: 18px; }
  .mini-stat p { font-size: 9px; }
  .offer-banner { margin-top: 55px; padding: 24px 19px; }
  .offer-banner .button { padding: 0 13px; }
  .menu-title, .page-title { display: block; }
  .menu-title .result-count, .page-title p { display: block; margin-top: 13px; }
  .checkout-layout, .profile-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .profile-card { min-height: 250px; }
  .form-panel, .summary-panel, .profile-panel { padding: 19px; }
  .search-row { margin-top: 24px; }
  .toast-region { top: 79px; right: 16px; left: 16px; }
  .toast { text-align: center; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 270px; }
  .product-art { height: 105px; }
  .hero-art { transform: scale(.72); margin: -65px 0 -68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Street Fuel interaction upgrades */
.order-mode { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 13px; color: var(--orange-dark); font-size: 11px; font-weight: 800; }
.order-mode span { background: var(--orange-soft); border-radius: 99px; padding: 7px 10px; }
.feedback-cta, .feedback-panel { margin-top: 70px; border-radius: var(--radius-lg); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--orange-soft); border: 1px solid #ffd7c8; }
.feedback-cta h2, .feedback-panel h2 { margin: 7px 0 5px; font-size: clamp(25px, 4vw, 40px); line-height: 1; font-weight: 950; letter-spacing: -1.5px; }
.feedback-cta p, .feedback-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.feedback-panel { align-items: flex-start; background: var(--ink); color: #fff; border: 0; }
.feedback-copy { flex: 1; padding-top: 5px; }
.feedback-form { flex: 1.1; display: grid; gap: 8px; }
.feedback-form label { font-size: 11px; font-weight: 800; }
.feedback-form textarea { width: 100%; min-height: 80px; resize: vertical; border: 1px solid #444; border-radius: 13px; background: #252525; color: #fff; padding: 12px 14px; outline: 0; }
.feedback-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,91,34,.15); }
.rating-row { display: flex; align-items: center; gap: 14px; }
.rating-row input { accent-color: var(--orange); flex: 1; }
.rating-row output { min-width: 42px; color: var(--orange); font-size: 12px; font-weight: 900; }
.star { color: #57524e; letter-spacing: 2px; font-size: 16px; }
.star.filled { color: var(--orange); }
.last-feedback { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #bdb8b3; }

@media (max-width: 800px) {
  .feedback-cta, .feedback-panel { margin-top: 45px; padding: 24px 20px; flex-direction: column; align-items: stretch; }
  .feedback-cta .button, .feedback-panel .button { align-self: flex-start; }
  .order-mode { font-size: 10px; }
}

.admin-login { max-width: 560px; margin: 0 auto; }
.admin-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-toolbar > span { color: var(--muted); font-size: 12px; font-weight: 800; margin-left: 8px; }
.admin-orders { display: grid; gap: 16px; max-width: 980px; }
.admin-order { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 21px; background: var(--paper); box-shadow: 0 12px 32px rgba(37,24,16,.04); }
.admin-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.admin-order-head h3 { margin: 5px 0 2px; font-size: 21px; font-weight: 950; }
.admin-order-head p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-status { background: var(--orange-soft); color: var(--orange-dark); padding: 7px 11px; border-radius: 99px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.admin-status.done { color: var(--green); background: #e8f5ed; }
.status-complete { color: var(--green); background: #e8f5ed; }
.admin-order-details { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 15px 0 8px; color: var(--muted); font-size: 11px; }
.admin-order-details strong { color: var(--orange); font-size: 20px; margin-right: auto; }
.admin-items, .admin-notes { margin: 4px 0; color: var(--ink); font-size: 12px; font-weight: 700; }
.admin-notes { color: var(--orange-dark); font-weight: 600; }
.admin-order-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.admin-order-actions select { height: 42px; border: 1px solid var(--line); border-radius: 99px; background: var(--cream); padding: 0 12px; font-size: 12px; font-weight: 800; }
@media (max-width: 800px) { .admin-toolbar { align-items: stretch; } .admin-toolbar .button { min-height: 40px; padding: 0 12px; font-size: 11px; } .admin-order-details strong { margin-right: 0; } }

.top-cart-summary { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 800; transition: .22s ease; }
.top-cart-summary:hover { border-color: var(--orange); background: var(--orange-soft); transform: translateY(-2px); }
.top-cart-summary strong { color: var(--orange); font-size: 13px; }
.cart-page-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.cart-items-panel { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 23px; background: var(--paper); }
.cart-page-items { display: grid; gap: 14px; }
.cart-page-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 13px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-page-item h3 { margin: 0; font-size: 16px; font-weight: 950; }
.cart-page-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.cart-page-item > strong { color: var(--orange); font-size: 16px; }
.cart-note-field { margin-top: 22px; }
.cart-summary { position: sticky; top: 103px; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.payment-option input { display: none; }
.payment-option span { display: block; border: 1px solid var(--line); padding: 13px; border-radius: 13px; font-size: 12px; font-weight: 800; cursor: pointer; }
.payment-option input:checked + span { border-color: var(--orange); background: var(--orange-soft); }
.payment-option.disabled { opacity: .55; }
.payment-option.disabled span { cursor: not-allowed; }
.confirmation-page { max-width: 920px; margin: 0 auto; }
.confirmation-hero { text-align: center; padding: 20px 0 35px; }
.confirm-check { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 31px; font-weight: 950; box-shadow: 0 0 0 10px var(--orange-soft); }
.confirmation-hero h1 { margin: 12px 0 10px; font-size: clamp(43px, 7vw, 76px); line-height: .92; letter-spacing: -4px; font-weight: 950; }
.confirmation-hero h1 em { color: var(--orange); font-style: normal; }
.confirmation-hero p { color: var(--muted); font-size: 13px; }
.tracking-card, .waiting-card { border-radius: var(--radius-lg); padding: 27px 31px; background: var(--cream); border: 1px solid var(--line); }
.tracking-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tracking-head h2, .waiting-card h2 { margin: 6px 0 0; font-size: 26px; font-weight: 950; }
.tracking-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin: 30px 0 22px; }
.tracking-step { text-align: center; color: var(--muted); font-size: 10px; position: relative; }
.tracking-step::after { content: ''; position: absolute; top: 13px; right: 58%; width: 84%; height: 2px; background: var(--line); z-index: 0; }
.tracking-step:first-child::after { display: none; }
.tracking-step span { display: grid; place-items: center; width: 27px; height: 27px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; z-index: 1; }
.tracking-step b { display: block; font-weight: 800; }
.tracking-step.done { color: var(--green); }
.tracking-step.done span { background: var(--green); color: #fff; border-color: var(--green); }
.tracking-step.done::after { background: var(--green); }
.tracking-step.current { color: var(--orange-dark); }
.tracking-step.current span { background: var(--orange); border-color: var(--orange); color: #fff; }
.tracking-meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; }
.tracking-meta strong { color: var(--orange); }
.waiting-card { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--ink); color: #fff; border: 0; }
.waiting-card p { margin: 6px 0; color: #aaa; font-size: 12px; }
.game-score { color: var(--orange); font-size: 13px; font-weight: 900; }
.game-button { min-width: 190px; min-height: 60px; border: 2px solid var(--orange); border-radius: 18px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 900; transition: .2s ease; }
.game-button:hover { transform: rotate(-2deg) scale(1.03); box-shadow: 0 9px 0 rgba(255,255,255,.12); }
.confirmation-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.status-complete { color: var(--green); background: #e8f5ed; }
.profile-meta b { color: var(--orange); }
@media (max-width: 800px) {
  .top-cart-summary { padding: 0 9px; }
  .top-cart-summary span { display: none; }
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .payment-options { grid-template-columns: 1fr; }
  .tracking-card, .waiting-card { padding: 21px 18px; }
  .tracking-steps { gap: 0; }
  .tracking-step { font-size: 8px; }
  .tracking-step b { min-height: 24px; }
  .waiting-card { align-items: stretch; flex-direction: column; }
  .game-button { width: 100%; }
}
.owner-shortcut { color: var(--muted); font-size: 10px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.owner-shortcut:hover { color: var(--orange); }
@media (max-width: 800px) { .owner-shortcut { display: inline; font-size: 9px; } }
