@font-face {
  font-family: "Readex Pro";
  src: url("/assets/fonts/readex-pro-arabic.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  src: url("/assets/fonts/readex-pro-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}
@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}
:root {
  --saffron: #F2A900;
  --cardamom: #2F5D50;
  --rose: #F6D8D6;
  --date: #5B3A29;
  --pistachio: #B9C98B;
  --warm: #FFFDF8;
  --ink: #2b201a;
  --muted: #75675f;
  --line: rgba(91, 58, 41, .16);
  --shadow: 0 18px 48px rgba(47, 93, 80, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Readex Pro", system-ui, sans-serif;
  background: var(--warm);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
a { color: inherit; }
picture { display: block; }
picture img {
  display: block;
  max-width: 100%;
  height: auto;
}
img[data-queue-src] {
  filter: blur(10px);
  transform: scale(1.01);
  transition: filter .18s ease, transform .18s ease;
}
img[data-queue-src].loaded,
img.placeholder-final {
  filter: none;
  transform: none;
}
.app {
  min-height: 100vh;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 8px clamp(14px, 4vw, 40px);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand-tagline {
  position: sticky;
  top: 64px;
  z-index: 19;
  padding: 6px clamp(14px, 4vw, 40px);
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid var(--line);
  color: var(--date);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--cardamom);
  white-space: nowrap;
  min-width: 0;
}
.logo b {
  font-family: "Readex Pro", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.logo span { color: var(--date); font-weight: 700; font-size: 13px; }
.locale-chip {
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--date);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  white-space: nowrap;
}
.picker-backdrop {
  position: fixed;
  inset: 64px 0 0;
  z-index: 60;
  display: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: rgba(43, 32, 26, .08);
}
.picker-backdrop.open { display: block; }
.picker-popover {
  position: fixed;
  top: 70px;
  inset-inline-start: clamp(12px, 4vw, 40px);
  z-index: 75;
  display: none;
  width: min(420px, calc(100vw - 24px));
  max-height: 60vh;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 56px rgba(43, 32, 26, .2);
}
.picker-popover.open { display: grid; gap: 10px; }
.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.popover-head h3 { margin: 0; }
.sheet-search input { width: 100%; min-height: 44px; padding: 10px 12px; }
.city-list { display: grid; gap: 6px; }
.city-region { display: grid; gap: 6px; }
.city-region h4 { margin: 8px 0 0; color: var(--date); font-size: 13px; }
.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  padding: 8px 10px;
  text-align: start;
}
.city-row b span { color: var(--muted); font-size: 12px; font-weight: 700; margin-inline-start: 4px; }
.city-row small { color: var(--muted); white-space: nowrap; }
.city-row.active { border-color: var(--cardamom); background: rgba(185, 201, 139, .2); }
.city-tile, .city-card, .cover-tile, .mood-tile {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  text-align: start;
}
.city-tile.active { outline: 3px solid rgba(47, 93, 80, .22); border-color: var(--cardamom); }
.city-tile b span, .city-card b span { display: block; color: var(--muted); font-size: 12px; }
.city-cover { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 1.35; background: #efe2ca; }
.city-cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-cover { background: linear-gradient(135deg, var(--cardamom), var(--saffron)); }
.currency-override { border-top: 1px solid var(--line); padding-top: 10px; }
.currency-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ui-icon { width: 19px; height: 19px; vertical-align: -4px; }
.sheet-close { flex: 0 0 auto; }
.sheet-open { overflow: hidden; }
.tools {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pill, .icon-btn, .btn, .chip, select, input, textarea {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--date);
  border-radius: 8px;
}
.pill, .icon-btn {
  min-height: 40px;
  padding: 8px 12px;
}
.icon-btn { min-width: 42px; }
.search {
  width: min(100%, 420px);
  justify-self: stretch;
  grid-column: 1 / -1;
  display: none;
}
.search.active {
  display: block;
}
.search input {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: clamp(12px, 4vw, 40px);
}
.hero {
  display: grid;
  gap: 18px;
  align-items: center;
  min-height: min(640px, calc(100svh - 74px));
}
.compact-hero {
  min-height: auto;
  gap: 10px;
  padding-block: 2px 0;
}
.compact-hero h1 {
  font-size: clamp(34px, 9.5vw, 58px);
  max-width: 920px;
}
.compact-hero .lead {
  max-width: 780px;
  font-size: clamp(15px, 3vw, 18px);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
}
.hero-panel > * { min-width: 0; }
.eyebrow, .disclosure {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(246, 216, 214, .7);
  color: var(--date);
  font-weight: 800;
  font-size: 14px;
}
h1, h2, h3 { margin: 0; color: var(--date); line-height: 1.15; }
h1 {
  font-family: "Lalezar", "Readex Pro", sans-serif;
  font-size: clamp(40px, 9vw, 96px);
  font-weight: 400;
  max-width: 100%;
  overflow-wrap: anywhere;
}
h2 { font-size: clamp(26px, 5vw, 44px); }
h3 { font-size: 20px; }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(18px, 3vw, 24px); max-width: min(760px, 100%); color: #6a4d3d; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.btn {
  min-height: 46px;
  padding: 11px 16px;
  font-weight: 900;
  text-decoration: none;
}
.btn.primary { background: var(--saffron); border-color: #d69500; color: #2e1b0f; }
.btn.secondary { background: var(--cardamom); color: #fff; border-color: var(--cardamom); }
.btn.ghost { background: transparent; }
.btn.danger { background: #fff0ee; color: #8b1f12; }
.hero-stage {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff6db, #ffe8e5 55%, #eaf1d1);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.floating-card {
  position: absolute;
  width: 45%;
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 16px 28px rgba(91, 58, 41, .12);
}
.floating-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--warm); }
.floating-card.one { top: 8%; right: 8%; transform: rotate(4deg); }
.floating-card.two { bottom: 8%; left: 8%; transform: rotate(-5deg); }
.stamp {
  position: absolute;
  inset-inline-start: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-12deg) scale(.9);
  display: grid;
  place-items: center;
  width: 170px;
  height: 96px;
  border: 5px solid #b5402c;
  color: #b5402c;
  border-radius: 8px;
  font-family: "Lalezar", "Readex Pro", sans-serif;
  font-size: 48px;
  background: rgba(255,255,255,.45);
  animation: stamp .7s cubic-bezier(.2, 1.4, .3, 1) both;
}
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -80%) rotate(-20deg) scale(1.7); filter: blur(3px); }
  70% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.86); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.96); }
}
.section {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  min-width: 0;
}
.card picture,
.gallery picture {
  display: block;
}
.card img,
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: #fff8e6;
}
.card-media { display: block; text-decoration: none; }
.hook {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  color: #6d574b;
  font-size: 14px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.meta { color: var(--muted); font-size: 14px; }
.value { color: var(--cardamom); font-weight: 900; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.card-footer .value { margin: 0; }
.card-actions { position: static; display: inline-flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.add-mini { background: var(--saffron); border-color: #d69500; color: #2e1b0f; transition: transform .16s ease, background .16s ease, color .16s ease; }
.add-mini:active, .heart:active, .btn:active, .card:active, .chip:active, .city-row:active, .city-tile:active, .cover-tile:active, .mood-tile:active { transform: translateY(1px) scale(.98); filter: brightness(.96); }
.add-mini.in-cart, .btn.is-confirmed { background: var(--pistachio); border-color: #9cac6e; color: #203027; }
.heart[aria-pressed="true"], .heart.is-confirmed { background: var(--rose); color: #7c2431; }
.heart[aria-pressed="true"] { font-weight: 900; }
.heart[aria-pressed="true"] { animation: heart-pop .22s ease; }
@keyframes heart-pop { 50% { transform: scale(1.18); } }
.stepper {
  display: inline-grid;
  grid-template-columns: 32px 28px 32px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid #d69500;
  border-radius: 999px;
  background: var(--saffron);
  color: #2e1b0f;
  font-weight: 900;
}
.stepper button { min-height: 38px; border: 0; background: transparent; color: inherit; font: inherit; }
.toast {
  position: fixed;
  inset-inline: 12px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--date);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast .btn { min-height: 34px; padding: 6px 10px; }
.fly-img {
  position: fixed;
  left: var(--sx);
  top: var(--sy);
  z-index: 130;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
  animation: fly-cart .65s ease-in forwards;
}
@keyframes fly-cart { to { left: var(--tx); top: var(--ty); transform: scale(.25); opacity: .12; } }
.bottom-nav a.pulse, .bottom-nav .badge { transition: transform .18s ease; }
.bottom-nav a.pulse, .bottom-nav .badge.pulse { transform: translateY(-2px) scale(1.08); }
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(47, 93, 80, .18);
  border-top-color: var(--cardamom);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.tabs, .filters { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px; }
.chip { padding: 8px 10px; white-space: nowrap; }
.chip.active { background: var(--cardamom); color: #fff; }
.showing { color: var(--cardamom); font-weight: 900; }
.fade-list { animation: fade-list .18s ease both; }
@keyframes fade-list { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 38vw);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: 4px 10px;
  scroll-snap-type: x proximity;
}
.home-rail { grid-auto-columns: minmax(148px, 42vw); }
.scroll-row.large { grid-auto-columns: minmax(210px, 46vw); }
.scroll-row > * { scroll-snap-align: start; }
.scroll-row .card { min-width: 0; }
.cover-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.cover-tile .btn { justify-self: start; min-height: 34px; padding: 6px 10px; }
.mood-tile { min-height: 116px; align-content: end; background: linear-gradient(135deg, rgba(246,216,214,.8), rgba(185,201,139,.32)); }
.mood-tile span { color: var(--muted); font-size: 13px; }
.city-card-row { grid-auto-columns: minmax(168px, 34vw); }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.cart-panel {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.qty { display: inline-flex; gap: 6px; align-items: center; }
.bottom-nav {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,253,248,.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.bottom-nav a {
  min-height: 52px;
  display: grid;
  place-items: center;
  gap: 2px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--date);
  font-size: 13px;
  font-weight: 800;
}
.bottom-nav a.active { background: #eef4df; color: var(--cardamom); }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--saffron);
  color: #2e1b0f;
  font-size: 12px;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 20px;
  align-items: start;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.detail-image { grid-column: 1 / -1; }
.detail img { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.detail-crop img { height: 210px; object-fit: cover; }
.crop-a img { object-position: 34% 42%; }
.crop-b img { object-position: 66% 56%; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(14px, 3vw, 24px);
}
.form-grid { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--date); font-weight: 800; }
select, input, textarea { width: 100%; min-height: 44px; padding: 10px 12px; }
textarea { resize: vertical; min-height: 88px; }
.map {
  position: relative;
  height: 260px;
  background: #f6ead6;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.mini-map {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(91,58,41,.16) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(47,93,80,.14) 48% 52%, transparent 52%),
    #f6ead6;
}
.mini-map .map-label {
  position: relative;
  z-index: 1;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .86);
  padding: 6px 10px;
  color: var(--date);
  font-weight: 900;
}
.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.tracking-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}
.tracking-step.active {
  border-color: var(--cardamom);
  background: rgba(185, 201, 139, .24);
  color: var(--date);
  font-weight: 900;
}
.map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 8px solid rgba(47,93,80,.18);
  border-left-color: rgba(242,169,0,.5);
  border-radius: 45% 55% 42% 58%;
  transform: rotate(12deg);
}
.courier {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cardamom);
  color: #fff;
  animation: wander 8s linear infinite;
}
@keyframes wander {
  0% { right: 14%; top: 20%; }
  25% { right: 62%; top: 28%; }
  45% { right: 44%; top: 66%; }
  70% { right: 76%; top: 50%; }
  100% { right: 14%; top: 20%; }
}
.chat { display: grid; gap: 8px; }
.bubble {
  width: fit-content;
  max-width: 88%;
  background: #eef4df;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--date);
}
.bubble small { display: block; color: var(--muted); margin-top: 4px; }
.wave {
  display: inline-flex;
  gap: 3px;
  margin-inline-end: 8px;
  vertical-align: middle;
}
.wave span {
  width: 4px;
  height: 18px;
  background: var(--cardamom);
  border-radius: 4px;
}
.receipt {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--date);
  box-shadow: var(--shadow);
}
.receipt .stamp { position: static; transform: rotate(-12deg); margin: 16px auto; }
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.route-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.empty { padding: 24px; text-align: center; background: #fff8e6; border: 1px dashed var(--line); border-radius: 8px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 920px) {
  h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .topbar { grid-template-columns: auto minmax(96px, 1fr) auto auto; }
  .logo { gap: 0; }
  .logo b { font-size: 24px; }
  .logo span { display: none; }
  .locale-chip { padding-inline: 10px; font-size: 13px; }
  .lang-pill, .search-toggle { min-width: 40px; padding-inline: 9px; }
  .search { grid-column: 1 / -1; width: 100%; }
  .hero-panel, .page-grid, .detail, .split { grid-template-columns: 1fr; }
  .hero-panel { width: 100%; }
  .cart-panel { position: static; }
  .hero { min-height: calc(100svh - 64px); align-items: start; }
  .hero.compact-hero { min-height: auto; }
  .hero-panel { gap: 12px; }
  .lead { font-size: 16px; line-height: 1.55; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .actions .ghost { grid-column: 1 / -1; }
  .tabs { margin-inline: -12px; padding-inline: 12px; }
  .hero-stage { min-height: 240px; order: 2; }
  .floating-card { width: 43%; min-width: 0; padding: 8px; }
  .floating-card b { font-size: 13px; line-height: 1.25; }
  .floating-card .value { font-size: 12px; }
  .stamp { width: 128px; height: 72px; font-size: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 8px; }
  .detail-crop img { height: 150px; }
}
@media (min-width: 1100px) {
  .layout { max-width: 1440px; margin-inline: auto; }
  .bottom-nav { display: none; }
  .app { padding-bottom: 0; }
}
