@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap");

:root {
  --font-ar: "Cairo", "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --teal-900: #043b3a;
  --teal-800: #064b49;
  --teal-700: #0a6460;
  --teal-100: #e4f0ee;
  --coral: #ff674f;
  --coral-soft: #fff0ec;
  --cream: #fbf4ed;
  --cream-2: #fffaf4;
  --surface: #ffffff;
  --surface-soft: #fffdfa;
  --ink: #172422;
  --muted: #687875;
  --line: #eee4db;
  --shadow: 0 24px 70px rgba(34, 24, 17, .12);
  --shadow-soft: 0 12px 34px rgba(21, 26, 24, .08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --phone-w: 360px;
  --phone-h: 746px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ar);
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 103, 79, .10), transparent 27%),
    radial-gradient(circle at 84% 8%, rgba(4, 75, 73, .11), transparent 28%),
    linear-gradient(135deg, #fffaf5 0%, #fbf2ea 46%, #fffaf6 100%);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: not-allowed;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 103, 79, .35);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(4, 75, 73, .04) 0 1px, transparent 1px),
    radial-gradient(circle at 90% 40%, rgba(255, 103, 79, .04) 0 1px, transparent 1px);
  background-size: 28px 28px, 34px 34px;
  z-index: -1;
}

.presentation-shell {
  width: min(1600px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.presentation-header {
  direction: ltr;
  min-height: 116px;
  display: grid;
  grid-template-columns: max-content 1px 320px 1fr;
  align-items: center;
  column-gap: 36px;
  margin: 0 6px 14px;
}

.brand-block,
.headline-block,
.feature-row {
  direction: rtl;
}

.brand-word {
  position: relative;
  color: var(--teal-800);
  font-size: clamp(54px, 5vw, 82px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-word::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  bottom: 3px;
  left: 8px;
  box-shadow: 18px -58px 0 -2px var(--teal-800);
}

.brand-block p {
  margin: 12px 0 0;
  color: var(--teal-800);
  font-size: 19px;
  font-weight: 700;
}

.header-divider {
  height: 80px;
  background: rgba(4, 75, 73, .22);
}

.headline-block h1 {
  margin: 0;
  color: var(--teal-800);
  font-size: 25px;
  line-height: 1.35;
  font-weight: 700;
}

.paint-stroke {
  display: block;
  width: 44px;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-5deg);
  opacity: .9;
}

.feature-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  justify-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.feature-row li {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--teal-800);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.feature-icon {
  width: 42px;
  height: 42px;
  color: var(--teal-800);
  display: grid;
  place-items: center;
}

.showcase {
  direction: ltr;
  display: grid;
  grid-template-columns: repeat(4, var(--phone-w));
  justify-content: center;
  gap: clamp(22px, 2.3vw, 42px);
  align-items: start;
}

.phone {
  direction: rtl;
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fffefe 0%, var(--cream-2) 100%);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 31px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(4, 75, 73, .035);
  isolation: isolate;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(18, 29, 28, .04);
  z-index: 5;
}

.status-bar {
  direction: ltr;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 4px;
  color: #121715;
  font-size: 12px;
  font-weight: 800;
  z-index: 7;
}

.status-on-cover {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.signal {
  width: 15px;
  height: 11px;
  display: inline-block;
  background: linear-gradient(90deg, #111 22%, transparent 22% 30%, #111 30% 52%, transparent 52% 60%, #111 60% 82%, transparent 82%);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 45%);
}

.status-on-cover .signal,
.status-on-cover .wifi,
.status-on-cover .battery {
  filter: invert(1);
}

.wifi {
  position: relative;
  width: 14px;
  height: 10px;
  display: inline-block;
}

.wifi::before,
.wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #111;
  border-color: #111 transparent transparent transparent;
  border-radius: 50%;
}

.wifi::before {
  width: 14px;
  height: 14px;
  top: 1px;
}

.wifi::after {
  width: 7px;
  height: 7px;
  top: 6px;
}

.battery {
  width: 20px;
  height: 10px;
  display: inline-block;
  border: 2px solid #111;
  border-radius: 3px;
  position: relative;
}

.battery::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 1px;
  background: #111;
}

.battery::after {
  content: "";
  position: absolute;
  inset: 2px 2px 2px 7px;
  border-radius: 1px;
  background: #111;
}

.screen-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.screen-body::-webkit-scrollbar {
  display: none;
}

.svg-icon,
.svg-icon svg,
[data-icon] svg {
  width: 1.2em;
  height: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

.svg-icon svg,
[data-icon] svg {
  stroke-width: 2;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--teal-800);
  box-shadow: 0 8px 24px rgba(4, 75, 73, .08);
  position: relative;
}

.has-badge em {
  position: absolute;
  top: -3px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  font-size: 10px;
  font-style: normal;
  box-shadow: 0 5px 14px rgba(255, 103, 79, .35);
}

.home-screen {
  padding: 0 17px 14px;
}

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 8px;
}

.greeting-copy {
  text-align: right;
}

.greeting-copy h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--ink);
}

.greeting-copy p {
  margin: 4px 0 0;
  color: var(--ink);
  opacity: .85;
  font-size: 13px;
  font-weight: 650;
}

.address-pill,
.search-card {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: var(--teal-800);
}

.address-pill {
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 750;
}

.address-pill .chev {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 11px;
}

.search-card {
  margin-top: 10px;
  color: var(--muted);
  box-shadow: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .84);
}

.search-card input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
}

.search-card input::placeholder {
  color: #91a09d;
}

.category-scroller {
  margin-top: 10px;
  padding-bottom: 4px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(58px, 1fr);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.category-chip {
  min-width: 58px;
  min-height: 60px;
  border-radius: 15px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, .86);
  color: #222f2c;
  box-shadow: 0 6px 18px rgba(43, 31, 22, .05);
  border: 1px solid rgba(238, 228, 219, .8);
}

.category-chip span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--coral);
  background: #fff3ef;
  font-size: 17px;
}

.category-chip b {
  font-size: 12px;
  font-weight: 800;
}

.category-chip.active {
  color: #fff;
  background: var(--teal-800);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(4, 75, 73, .22);
}

.category-chip.active span {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.promo-card {
  direction: ltr;
  position: relative;
  width: 100%;
  height: 112px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 58%, rgba(255, 255, 255, .18), transparent 24%),
    linear-gradient(135deg, #053c3b 0%, #075c58 62%, #0b6d67 100%);
  box-shadow: 0 17px 36px rgba(4, 75, 73, .24);
  text-align: right;
}

.promo-card img {
  position: absolute;
  left: -8px;
  bottom: -4px;
  width: 148px;
  height: 118px;
  object-fit: cover;
  border-radius: 999px;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.25));
}

.promo-copy {
  direction: rtl;
  position: absolute;
  right: 20px;
  top: 18px;
  display: grid;
  justify-items: start;
  gap: 2px;
}

.promo-copy strong {
  font-size: 23px;
  line-height: 1.05;
  font-weight: 900;
}

.promo-copy span {
  font-size: 14px;
  font-weight: 750;
}

.promo-copy small {
  margin-top: 7px;
  background: var(--coral);
  color: #fff;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.slider-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.56);
}

.slider-dots .active {
  width: 13px;
  border-radius: 999px;
  background: var(--coral);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 3px 9px;
}

.section-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.section-title button {
  background: transparent;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.restaurant-strip {
  direction: rtl;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 104px;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}

.restaurant-strip::-webkit-scrollbar {
  display: none;
}

.restaurant-card {
  position: relative;
  overflow: hidden;
  min-height: 196px;
  text-align: right;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(238, 228, 219, .8);
  display: grid;
  grid-template-rows: 104px 1fr;
}

.restaurant-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.restaurant-card div {
  padding: 9px 9px 10px;
}

.restaurant-card h4,
.restaurant-card p {
  margin: 0;
}

.restaurant-card h4 {
  font-size: 13px;
  font-weight: 900;
}

.restaurant-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
}

.restaurant-card span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  color: #42514d;
  font-size: 11px;
  font-weight: 700;
}

.restaurant-card i,
.restaurant-title i,
.driver-card i {
  color: #ffb000;
  font-style: normal;
}

.favorite-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.restaurant-screen {
  padding: 0;
  background: #fffaf5;
}

.restaurant-hero {
  position: relative;
  height: 143px;
  overflow: visible;
}

.restaurant-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.05) 55%, rgba(0,0,0,0));
}

.restaurant-hero > img {
  width: 100%;
  height: 143px;
  object-fit: cover;
}

.hero-actions {
  position: absolute;
  inset: 45px 18px auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-actions button {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.26);
}

.brand-badge {
  position: absolute;
  right: 24px;
  bottom: -34px;
  z-index: 4;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: #fffdf9;
  color: var(--teal-800);
  border: 2px solid #efe2d6;
  box-shadow: 0 12px 26px rgba(21, 26, 24, .12);
}

.brand-badge strong {
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.brand-badge small {
  font-size: 7px;
  letter-spacing: 0;
  margin-top: 3px;
  color: #7d8a86;
}

.restaurant-panel {
  position: relative;
  z-index: 2;
  min-height: calc(100% - 118px);
  margin-top: -22px;
  padding: 48px 16px 14px;
  border-radius: 30px 30px 0 0;
  background: #fffdf9;
  box-shadow: 0 -14px 30px rgba(255,255,255,.75);
}

.restaurant-title {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  margin-bottom: 12px;
}

.restaurant-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.restaurant-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.restaurant-title span {
  display: inline-flex;
  gap: 4px;
  color: #53625f;
  font-size: 12px;
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.metrics-grid div {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  color: var(--teal-800);
  box-shadow: 0 8px 20px rgba(58, 48, 38, .04);
}

.metrics-grid b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.metrics-grid span {
  font-size: 15px;
  color: var(--teal-700);
}

.metrics-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.metrics-grid .star {
  color: #ffb000;
  font-size: 15px;
}

.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tabs button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: #5e6b68;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.menu-tabs .active {
  background: var(--teal-800);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(4, 75, 73, .18);
}

.menu-list {
  display: grid;
  gap: 11px;
  margin-top: 4px;
}

.menu-item {
  min-height: 106px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(238, 228, 219, .8);
  box-shadow: 0 10px 26px rgba(36, 28, 21, .06);
}

.menu-item img {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 18px;
  background: #f5eee6;
}

.item-copy {
  min-width: 0;
  flex: 1;
}

.item-copy h3,
.item-copy p {
  margin: 0;
}

.item-copy h3 {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink);
}

.item-copy p {
  margin-top: 4px;
  min-height: 30px;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1.5;
  font-weight: 650;
}

.item-copy b {
  display: inline-block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 900;
}

.add-button {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--teal-800);
  box-shadow: 0 10px 18px rgba(4, 75, 73, .22);
}

.checkout-screen {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0 16px 12px;
}

.simple-topbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin-top: 2px;
}

.simple-topbar h2 {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

.simple-topbar button {
  grid-column: 3;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
}

.cart-list {
  display: grid;
  gap: 10px;
}

.cart-status-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(4, 75, 73, .10);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 75, 73, .98), rgba(10, 100, 96, .92)),
    var(--teal-800);
  box-shadow: 0 18px 34px rgba(4, 75, 73, .18);
}

.cart-status-card div {
  display: grid;
  gap: 3px;
}

.cart-status-card span {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
}

.cart-status-card strong {
  font-size: 14px;
  font-weight: 900;
}

.cart-status-card b {
  flex: 0 0 auto;
  min-width: 86px;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 13px;
  color: var(--teal-900);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.empty-cart {
  min-height: 182px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 22px 18px;
  text-align: center;
  border: 1px dashed rgba(10, 100, 96, .22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(228, 240, 238, .64), rgba(255, 255, 255, .92)),
    #fff;
}

.empty-cart > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--teal-800);
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 75, 73, .10);
}

.empty-cart strong,
.empty-cart p {
  margin: 0;
}

.empty-cart strong {
  font-size: 15px;
  font-weight: 900;
}

.empty-cart p {
  max-width: 230px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.empty-cart button {
  min-width: 118px;
  height: 38px;
  margin-top: 4px;
  border-radius: 13px;
  color: #fff;
  background: var(--coral);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(255, 103, 79, .22);
}

.cart-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  background: #fff;
  border: 1px solid rgba(238, 228, 219, .85);
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cart-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 103, 79, .28);
  box-shadow: 0 14px 32px rgba(31, 24, 18, .09);
}

.cart-item img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #f7efe7;
}

.cart-copy {
  flex: 1;
  min-width: 0;
}

.cart-copy h3,
.cart-copy p {
  margin: 0;
}

.cart-copy h3 {
  font-size: 13.5px;
  font-weight: 900;
}

.cart-copy p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.qty-control {
  width: 126px;
  height: 34px;
  margin-top: 7px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  border: 1px solid rgba(10, 100, 96, .14);
  border-radius: 12px;
  overflow: hidden;
  background: #f8fbfa;
}

.qty-control button {
  height: 100%;
  background: transparent;
  color: var(--teal-800);
  display: grid;
  place-items: center;
}

.qty-control button:first-child {
  color: var(--coral);
  border-inline-start: 1px solid rgba(10, 100, 96, .10);
}

.qty-control button:last-child {
  border-inline-end: 1px solid rgba(10, 100, 96, .10);
}

.qty-control b {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.field-card {
  position: relative;
  display: grid;
  min-height: 56px;
  gap: 3px;
  padding: 11px 44px 10px 50px;
  background: #fff;
  border: 1px solid rgba(238, 228, 219, .9);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(31, 24, 18, .05);
}

.field-card label {
  position: absolute;
  top: -18px;
  right: 3px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 900;
}

.field-card button {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.field-card > i,
.field-card > .svg-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal-800);
  font-style: normal;
}

.coupon-card {
  margin-top: 7px;
  min-height: 48px;
  padding-top: 12px;
}

.coupon-card span {
  color: #3f4a48;
  font-size: 12px;
  font-weight: 800;
}

.address-card {
  margin-top: 14px;
}

.address-card strong {
  font-size: 12.8px;
  font-weight: 900;
}

.address-card span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
}

.checkout-screen.is-cart-empty .coupon-card,
.checkout-screen.is-cart-empty .address-card,
.checkout-screen.is-cart-empty .payment-section,
.checkout-screen.is-cart-empty .summary-card {
  display: none;
}

.checkout-screen.is-cart-empty .checkout-actions {
  margin-top: auto;
}

.payment-section {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.payment-section h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 900;
}

.payment-option {
  height: 41px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  color: #394744;
  font-size: 11.7px;
  font-weight: 800;
}

.payment-option.active {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 2px rgba(10, 100, 96, .08);
}

.payment-option:has(input:checked) {
  border-color: var(--teal-700);
  box-shadow: 0 0 0 2px rgba(10, 100, 96, .08);
}

.payment-option input {
  accent-color: var(--teal-800);
}

.payment-option em {
  margin-inline-start: auto;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--teal-800);
  background: #f8fbfa;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.summary-card {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid rgba(238, 228, 219, .9);
  box-shadow: var(--shadow-soft);
}

.summary-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11.7px;
  font-weight: 700;
}

.summary-card b {
  color: var(--ink);
  font-weight: 900;
}

.summary-card .discount-line,
.summary-card .discount-line b {
  color: var(--coral);
}

.summary-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
  color: var(--ink) !important;
}

.checkout-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  margin-inline: -2px;
  padding: 8px 2px 2px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0), #fffaf4 34%);
}

.ghost-back,
.checkout-button {
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.ghost-back {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(238, 228, 219, .9);
}

.checkout-button {
  color: #fff;
  background: linear-gradient(135deg, #ff775f, var(--coral));
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(255, 103, 79, .30);
}

.checkout-button:disabled {
  color: #7b8885;
  background: #e9eeed;
  box-shadow: none;
}

.tracking-screen {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0 16px 12px;
}

.order-card,
.driver-card,
.eta-card,
.details-card {
  background: #fff;
  border: 1px solid rgba(238, 228, 219, .9);
  border-radius: 17px;
  box-shadow: var(--shadow-soft);
}

.order-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}

.order-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #ecdccf;
  color: var(--teal-800);
  background: #fffdf9;
  font-size: 13px;
}

.order-card h3,
.order-card p {
  margin: 0;
}

.order-card h3 {
  font-size: 14px;
  font-weight: 900;
}

.order-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.track-board {
  direction: ltr;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 12px;
  min-height: 228px;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid rgba(238, 228, 219, .9);
  background: #f4efe8;
  box-shadow: var(--shadow-soft);
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin {
  position: absolute;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0,0,0,.14);
}

.map-pin.home {
  left: 20px;
  bottom: 36px;
  background: var(--coral);
}

.map-pin.rider {
  right: 20px;
  top: 42px;
  background: var(--teal-800);
}

.timeline {
  direction: rtl;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 8px 16px 8px 0;
  display: grid;
  align-content: space-between;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 28px;
  right: 15px;
  width: 2px;
  background: #d7d0c8;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  align-items: center;
}

.timeline li > span:first-child {
  position: relative;
  z-index: 2;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cfc8c0;
  color: #cfc8c0;
}

.timeline li.done > span:first-child {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.timeline li.current > span:first-child {
  width: 36px;
  height: 36px;
  margin-right: -3px;
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 103, 79, .35);
}

.timeline b,
.timeline small {
  display: block;
}

.timeline b {
  color: var(--ink);
  font-size: 11.7px;
  font-weight: 900;
}

.timeline small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}

.timeline .current b {
  color: var(--teal-800);
  font-size: 13px;
}

.driver-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
}

.driver-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  background: #f4eee8;
}

.driver-card small,
.driver-card h3,
.driver-card p {
  margin: 0;
}

.driver-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.driver-card h3 {
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 900;
}

.driver-card p {
  margin-top: 2px;
  color: #53625f;
  font-size: 11px;
  font-weight: 800;
}

.driver-actions {
  margin-inline-start: auto;
  display: flex;
  gap: 8px;
}

.driver-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-800);
  background: var(--teal-100);
}

.eta-card {
  min-height: 77px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
}

.eta-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.eta-card strong {
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
}

.eta-card small {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
}

.details-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  text-align: right;
}

.details-card div {
  display: grid;
  gap: 2px;
}

.details-card b {
  font-size: 13.5px;
  font-weight: 900;
}

.details-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.details-card i {
  margin-inline-start: auto;
  color: var(--teal-800);
  font-style: normal;
}

.bottom-nav {
  flex: 0 0 74px;
  height: 74px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 4px;
  padding: 7px 9px 9px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid rgba(238, 228, 219, .9);
  box-shadow: 0 -18px 34px rgba(44, 34, 25, .07);
  backdrop-filter: blur(20px);
  z-index: 8;
}

.bottom-nav button {
  position: relative;
  height: 58px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  color: #64726f;
  background: transparent;
  border-radius: 16px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.bottom-nav button span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  color: currentColor;
  background: transparent;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bottom-nav button svg {
  width: 1.16em;
  height: 1.16em;
  stroke-width: 2.25;
}

.bottom-nav b {
  font-size: 9.8px;
  line-height: 1.2;
  font-weight: 850;
}

.cart-nav-button em {
  position: absolute;
  top: 4px;
  right: calc(50% - 6px);
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 9px;
  color: #fff;
  background: var(--coral);
  font-size: 9px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(255, 103, 79, .28);
}

.bottom-nav .active {
  color: var(--teal-800);
  background: rgba(4, 75, 73, .065);
  transform: translateY(-1px);
}

.bottom-nav .active span {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  box-shadow: 0 10px 20px rgba(4, 75, 73, .18);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 120%);
  z-index: 50;
  pointer-events: none;
  min-width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 13px 18px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: rgba(4, 59, 58, .96);
  box-shadow: 0 18px 44px rgba(4, 59, 58, .24);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 1500px) {
  :root {
    --phone-w: 336px;
    --phone-h: 726px;
  }

  .presentation-shell {
    width: min(1440px, calc(100vw - 32px));
  }

  .presentation-header {
    grid-template-columns: max-content 1px 280px 1fr;
    column-gap: 28px;
  }

  .feature-row {
    gap: 16px;
  }

  .promo-card img {
    width: 136px;
  }

  .restaurant-strip {
    grid-auto-columns: 99px;
  }

  .restaurant-card {
    min-height: 188px;
    grid-template-rows: 98px 1fr;
  }

  .restaurant-card img {
    height: 98px;
  }

  .track-board {
    min-height: 212px;
  }
}

@media (max-width: 1180px) {
  .presentation-header {
    grid-template-columns: max-content 1px 1fr;
    row-gap: 20px;
  }

  .feature-row {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 6px;
  }

  .showcase {
    grid-template-columns: repeat(2, var(--phone-w));
  }
}

@media (max-width: 760px) {
  body {
    background: #fffaf4;
  }

  .noise-layer,
  .presentation-header {
    display: none;
  }

  .presentation-shell {
    width: 100%;
    min-height: 100svh;
    padding: max(8px, env(safe-area-inset-top)) 0 max(8px, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
  }

  .showcase {
    width: 100%;
    display: block;
  }

  .phone {
    display: none;
    width: min(100vw - 16px, 402px);
    height: min(100svh - 16px, 852px);
    margin: 0 auto;
    border-radius: 29px;
  }

  .phone.is-active {
    display: flex;
  }

  .toast {
    bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .home-screen,
  .checkout-screen,
  .tracking-screen {
    padding-left: 13px;
    padding-right: 13px;
  }

  .category-scroller {
    grid-auto-columns: 56px;
  }

  .promo-copy strong {
    font-size: 22px;
  }

  .track-board {
    grid-template-columns: .92fr 1.08fr;
    gap: 8px;
  }

  .timeline {
    padding-right: 13px;
  }

  .timeline b {
    font-size: 11px;
  }
}
