/* Restaurants & Vendors — storefront styles */

/* ── Home strip: Popular restaurants (mobile-first) ───────────────────── */
.section--vendors {
  margin-bottom: 8px;
  padding-bottom: 0;
}
.section--vendors .section-head {
  padding-left: 16px;
  padding-right: 16px;
  margin-bottom: 12px;
}
.vendors-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 16px 14px;
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.vendor-mini {
  /* ~2.15 cards visible on a phone shell */
  flex: 0 0 clamp(148px, 42vw, 168px);
  max-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  min-width: 0;
  transition: transform 0.18s ease;
}
.vendor-mini:active {
  transform: scale(0.98);
}
.vendor-mini:hover,
.vendor-mini:focus-visible {
  transform: none;
  box-shadow: none;
  outline: none;
}
.vendor-mini__media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
}
.vendor-mini__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vendor-mini__cover-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9CA3AF;
  font-size: 28px;
  background: #f3f4f6;
}
.vendor-mini__fade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.55), transparent);
  pointer-events: none;
}
/* Badges: no border / no background — text + icon only */
.vendor-mini__rating {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.vendor-mini__rating i {
  color: #FBBF24;
  font-size: 12px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.vendor-mini__veg {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  color: #22c55e;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.vendor-mini__logo {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.18);
}
.vendor-mini__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vendor-mini__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
  min-width: 0;
}
.vendor-mini__name {
  font-size: 13.5px;
  font-weight: 750;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vendor-mini__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 550;
  color: #6B7280;
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vendor-mini__meta > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.vendor-mini__dot {
  flex-shrink: 0;
  opacity: 0.7;
}

@media (max-width: 380px) {
  .vendors-scroll { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .section--vendors .section-head { padding-left: 14px; padding-right: 14px; }
  .vendor-mini { flex-basis: clamp(136px, 44vw, 156px); max-width: 156px; }
  .vendor-mini__media { border-radius: 14px; }
  .vendor-mini__logo { width: 30px; height: 30px; border-radius: 9px; }
}

@media (min-width: 431px) {
  .vendor-mini {
    flex-basis: 168px;
    max-width: 168px;
  }
}

/* ── Restaurants list page ────────────────────────────────────────────── */
.rv-page { padding: 0 16px 24px; }
.rv-page__head { padding: 8px 4px 12px; }
.rv-page__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B45309; }
.rv-page__title { margin: 4px 0 2px; font-size: 24px; font-weight: 800; color: #111827; letter-spacing: -.01em; }
.rv-page__sub { margin: 0; font-size: 13px; color: #6B7280; }

.rv-search { margin: 8px 0 12px; }
.rv-search--inline { margin: 4px 0 12px; }
.rv-search__shell {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.rv-search__icon { color: #9CA3AF; font-size: 16px; }
.rv-search__shell input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: transparent;
  font-size: 14px; color: #111827;
}
.rv-search__clear {
  width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  background: #F3F4F6; color: #6B7280;
  text-decoration: none;
}
.rv-search__go {
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand, #810100);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.rv-search__go:active {
  transform: scale(0.97);
  background: var(--brand-dark, #5c0000);
}

.rv-diet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}
.rv-diet__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #4B5563;
  background: #fff;
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rv-diet__btn span {
  font-size: 11px;
  font-weight: 700;
  color: #9CA3AF;
}
.rv-diet__btn.is-on {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.rv-diet__btn.is-on span { color: rgba(255, 255, 255, 0.72); }
.rv-diet__btn--veg.is-on {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
.rv-diet__btn--nonveg.is-on {
  background: #DC2626;
  border-color: #DC2626;
  color: #fff;
}

.rv-chips {
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; padding: 4px 2px 12px;
}
.rv-chip {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 12px; font-weight: 700;
  border: 1px solid rgba(17, 24, 39, 0.08);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s ease;
}
.rv-chip:hover { border-color: rgba(129, 1, 0, 0.35); }
.rv-chip span { color: #9CA3AF; font-weight: 600; }
.rv-chip.is-on { background: #111827; color: #fff; border-color: #111827; }
.rv-chip.is-on span { color: rgba(255, 255, 255, 0.7); }
.rv-chip--veg.is-on { background: #047857; border-color: #047857; }
.rv-chip--nonveg.is-on { background: #B91C1C; border-color: #B91C1C; }
.rv-chip__sep { display: inline-block; width: 1px; height: 20px; background: #E5E7EB; margin: 0 2px; flex-shrink: 0; }

.rv-section { margin-top: 10px; }
.rv-section__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 12px;
}
.rv-section__title {
  margin: 0; font-size: 16px; font-weight: 800; color: #111827;
  display: inline-flex; align-items: center; gap: 8px;
}
.rv-section__count { font-size: 12px; color: #6B7280; font-weight: 600; }

.vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.vendors-grid--rows {
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Horizontal restaurant rows */
.vendor-card,
.vendor-card--row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
  transition: box-shadow .15s ease;
}
.vendor-card__link {
  position: absolute; inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}
.vendor-card__media,
.vendor-card__main { position: relative; z-index: 0; }
.vendor-card__fav { z-index: 2; }
.vendor-card:hover,
.vendor-card:focus-within {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.vendor-card__media {
  flex: 0 0 132px;
  width: 132px;
  min-height: 124px;
  align-self: stretch;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  overflow: hidden;
}
.vendor-card__media img {
  width: 100%;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
  display: block;
}
.vendor-card__media-ph {
  width: 100%;
  height: 100%;
  min-height: 124px;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #B45309;
}

.vendor-card__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 12px 14px;
}

.vendor-card__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.vendor-card__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #F3F4F6;
  display: grid;
  place-items: center;
  color: #B45309;
  font-size: 16px;
}
.vendor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vendor-card__headings {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}
.vendor-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.015em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vendor-card__tagline {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-card__fav {
  flex: 0 0 auto;
  margin: -4px -4px 0 0;
  position: relative;
}
.vendor-card__fav-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  color: #9CA3AF;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: color .15s ease, transform .15s ease;
}
.vendor-card__fav-btn:hover {
  color: #E11D48;
  transform: scale(1.08);
  background: transparent;
}
.vendor-card__fav-btn.is-on {
  background: transparent;
  color: #E11D48;
  box-shadow: none;
}

.vendor-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.vendor-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.vendor-card__meta-item i { font-size: 12px; color: #9CA3AF; }
.vendor-card__meta-item--rating { color: #92400E; }
.vendor-card__meta-item--rating i { color: #F59E0B; }
.vendor-card__meta-item--rating small {
  font-weight: 600;
  color: #A8A29E;
}

.vendor-card__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
}
.vendor-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.vendor-card__flag--veg { color: #059669; }
.vendor-card__flag--nonveg { color: #DC2626; }

/* Legacy cover/body selectors kept for any leftover markup */
.vendor-card__cover { display: none; }
.vendor-card__body { display: none; }

@media (max-width: 380px) {
  .vendor-card__media {
    flex-basis: 112px;
    width: 112px;
    min-height: 118px;
  }
  .vendor-card__media img,
  .vendor-card__media-ph { min-height: 118px; }
  .vendor-card__main { padding: 10px 10px 10px 12px; }
  .vendor-card__avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .vendor-card__title { font-size: 14px; }
  .rv-diet__btn { font-size: 12px; gap: 4px; padding: 8px 6px; }
  .rv-diet__btn span { display: none; }
}

@media (min-width: 560px) {
  .vendor-card__media {
    flex-basis: 168px;
    width: 168px;
    min-height: 140px;
  }
  .vendor-card__media img,
  .vendor-card__media-ph { min-height: 140px; }
  .vendor-card__avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .vendor-card__title { font-size: 16px; }
  .vendor-card__main { padding: 14px 16px; gap: 10px; }
}

.rv-empty {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  border: 1px dashed rgba(17, 24, 39, 0.12);
  margin-top: 12px;
}
.rv-empty__icon {
  width: 56px; height: 56px; border-radius: 999px;
  background: #FEF3C7; color: #B45309;
  display: grid; place-items: center;
  font-size: 22px; margin: 0 auto 12px;
}
.rv-empty h2 { margin: 0 0 6px; font-size: 16px; color: #111827; }
.rv-empty p { margin: 0 0 14px; font-size: 13px; color: #6B7280; }
.rv-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px; text-decoration: none;
  border: 0; cursor: pointer;
}
.rv-btn--solid { background: #111827; color: #fff; }
.rv-btn--ghost { background: #fff; color: #374151; border: 1px solid rgba(17, 24, 39, 0.12); }

/* Restaurant detail — full-bleed cover (no header / no top white gap) */
.app-main:has(> .rv-detail),
.app-main:has(> .flash + .rv-detail) {
  padding-top: 0;
  background: #2a2018;
}
.app-main > .flash:has(+ .rv-detail) {
  margin: 0;
  border-radius: 0;
  position: relative;
  z-index: 5;
}
.rv-detail {
  --rv-ink: #1a1410;
  --rv-muted: #6b625a;
  --rv-line: rgba(26, 20, 16, 0.08);
  --rv-brand: var(--brand, #810100);
  --rv-paper: #f7f3ee;
  --rv-surface: #fffdf9;
  padding: 0 0 28px;
  margin: 0;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(129, 1, 0, 0.07), transparent 55%),
    linear-gradient(180deg, #efe8df 0%, var(--rv-paper) 28%, #f7f3ee 100%);
}
.rv-detail__hero {
  position: relative;
  height: min(48vw, 260px);
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, #2a2018, #4a3428);
  margin: 0;
  border-radius: 0;
}
.rv-detail__cover {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02);
  animation: rvCoverIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes rvCoverIn {
  from { transform: scale(1.08); opacity: 0.7; }
  to { transform: scale(1.02); opacity: 1; }
}
.rv-detail__cover--ph {
  display: grid; place-items: center;
  color: rgba(255, 245, 230, 0.55); font-size: 64px;
}
.rv-detail__hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.45) 0%, transparent 42%),
    linear-gradient(0deg, rgba(20, 12, 8, 0.55) 0%, transparent 50%);
}
.rv-detail__hero-nav {
  position: absolute; inset: 0;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 14px;
  display: flex; align-items: flex-start; justify-content: space-between;
  box-sizing: border-box;
}
html.flutter-app .rv-detail__hero-nav {
  padding-top: calc(12px + 15px + env(safe-area-inset-top, 0px));
}
.rv-detail__back,
.rv-detail__fav {
  width: 42px; height: 42px; border-radius: 14px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--rv-ink);
  border: 0; cursor: pointer;
  display: inline-grid; place-items: center;
  font-size: 16px; text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(20, 12, 8, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.rv-detail__back:active,
.rv-detail__fav:active { transform: scale(0.94); }
.rv-detail__fav.is-on { background: var(--rv-brand); color: #fff; }

.rv-detail__panel {
  position: relative;
  margin: -36px 14px 0;
  padding: 18px 16px 16px;
  background: var(--rv-surface);
  border-radius: 22px;
  border: 1px solid var(--rv-line);
  box-shadow: 0 18px 40px rgba(26, 20, 16, 0.1);
  z-index: 2;
  animation: rvPanelUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes rvPanelUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.rv-detail__ident {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px;
}
.rv-detail__logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(26, 20, 16, 0.14);
  margin-top: -40px;
  flex-shrink: 0;
  padding: 6px;
  box-sizing: border-box;
  display: block;
}
.rv-detail__logo--ph {
  display: grid;
  place-items: center;
  color: var(--rv-brand);
  font-size: 26px;
  padding: 0;
  background: #fff7f2;
}
.rv-detail__ident-body { min-width: 0; flex: 1; }
.rv-detail__eyebrow {
  margin: 0; font-size: 11px; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase; color: var(--rv-brand);
}
.rv-detail__title {
  margin: 4px 0 4px; font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 800; color: var(--rv-ink); letter-spacing: -.03em; line-height: 1.15;
}
.rv-detail__tag { margin: 0; font-size: 13px; color: var(--rv-muted); line-height: 1.35; }

.rv-detail__meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 8px;
}
.rv-detail__meta-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 999px;
  background: #f3ebe3; color: #3f342c;
  font-size: 12px; font-weight: 700;
  border: 1px solid transparent;
}
.rv-detail__meta-chip--rating { background: #fff4cc; color: #7a4e00; }
.rv-detail__meta-chip--rating i { color: #e0a100; }
.rv-detail__meta-chip--rating small { font-weight: 600; opacity: .75; }
.rv-detail__meta-chip--link {
  text-decoration: none;
  background: rgba(129, 1, 0, 0.08);
  color: var(--rv-brand);
}

.rv-detail__address {
  margin: 8px 0 0; font-size: 13px; color: var(--rv-muted);
  display: flex; align-items: flex-start; gap: 6px; line-height: 1.4;
}
.rv-detail__address i { color: var(--rv-brand); margin-top: 2px; }
.rv-detail__desc {
  margin: 10px 0 0; font-size: 13px; color: #4d433c; line-height: 1.55;
}

/* Search / chips */
.rv-detail .rv-search--inline,
.rv-detail .rv-chips { padding-left: 14px; padding-right: 14px; }
.rv-detail .rv-search--inline { margin-top: 16px; }
.rv-detail .rv-search__shell {
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  box-shadow: 0 6px 16px rgba(26, 20, 16, 0.04);
}
.rv-detail .rv-chip {
  background: var(--rv-surface);
  border-color: var(--rv-line);
  color: #3f342c;
}
.rv-detail .rv-chip.is-on {
  background: var(--rv-ink);
  border-color: var(--rv-ink);
  color: #fff;
}

/* ── Menu list (replaces cramped product grid) ── */
.rv-menu {
  padding: 8px 14px 8px;
}
.rv-menu__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin: 8px 2px 14px;
}
.rv-menu__eyebrow {
  margin: 0;
  font-size: 11px; font-weight: 750;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rv-brand);
}
.rv-menu__title {
  margin: 2px 0 0;
  font-size: 26px; font-weight: 800;
  letter-spacing: -.03em; color: var(--rv-ink); line-height: 1.1;
}
.rv-menu__count {
  font-size: 12px; font-weight: 700; color: var(--rv-muted);
  padding: 6px 10px; border-radius: 999px;
  background: rgba(26, 20, 16, 0.05);
}

.rv-menu__group { margin-bottom: 18px; }
.rv-menu__group-title {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin: 0 2px 10px;
  font-size: 15px; font-weight: 800; color: var(--rv-ink);
  letter-spacing: -.01em;
}
.rv-menu__group-title em {
  font-style: normal; font-size: 12px; font-weight: 700;
  color: var(--rv-muted);
}

.rv-menu__list {
  display: flex; flex-direction: column; gap: 10px;
}

.rv-dish {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 20, 16, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: rvDishIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rv-dish:nth-child(1) { animation-delay: 0.02s; }
.rv-dish:nth-child(2) { animation-delay: 0.06s; }
.rv-dish:nth-child(3) { animation-delay: 0.1s; }
.rv-dish:nth-child(4) { animation-delay: 0.14s; }
.rv-dish:nth-child(5) { animation-delay: 0.18s; }
@keyframes rvDishIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.rv-dish:active { transform: scale(0.985); }
.rv-dish--no-img { grid-template-columns: 1fr; }

.rv-dish__copy {
  min-width: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.rv-dish__marks {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.rv-dish__food.food-type { margin: 0; }
.rv-dish__ribbon {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(129, 1, 0, 0.1);
  color: var(--rv-brand);
  font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.rv-dish__rate {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 800; color: #7a4e00;
}
.rv-dish__rate .fi { color: #e0a100; font-size: 11px; }

.rv-dish__name { margin: 0; }
.rv-dish__name-btn {
  display: block; width: 100%;
  padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 800;
  color: var(--rv-ink); letter-spacing: -.02em;
  line-height: 1.25;
}
.rv-dish__name-btn:active { opacity: 0.75; }

.rv-dish__desc {
  margin: 0;
  font-size: 12.5px; line-height: 1.45;
  color: var(--rv-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-dish__desc--muted { font-weight: 600; }

.rv-dish__buy {
  margin-top: auto;
  padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.rv-dish__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  min-width: 0;
}
.rv-dish__mrp {
  font-size: 12px; color: #9a8f86;
  text-decoration: line-through; font-weight: 600;
}
.rv-dish__amt {
  font-size: 16px; font-weight: 800; color: var(--rv-ink);
  letter-spacing: -.02em;
}
.rv-dish__amt.is-deal { color: var(--rv-brand); }
.rv-dish__per { font-size: 11px; font-weight: 700; color: var(--rv-muted); }

.rv-dish__add {
  appearance: none; border: 1.5px solid var(--rv-brand);
  background: #fff;
  color: var(--rv-brand);
  min-width: 72px; min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit; font-size: 12px; font-weight: 850;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(129, 1, 0, 0.12);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.rv-dish__add:hover { background: var(--rv-brand); color: #fff; }
.rv-dish__add:active { transform: scale(0.96); }
.rv-dish__add--in {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-color: #047857; color: #047857;
  background: #ecfdf5; box-shadow: none; cursor: default;
}

.rv-dish__media {
  position: relative;
  width: 112px; height: 112px;
  padding: 0; border: 0; border-radius: 16px;
  overflow: hidden; cursor: pointer;
  background: #efe6dc;
  box-shadow: inset 0 0 0 1px rgba(26, 20, 16, 0.06);
  flex-shrink: 0;
  align-self: center;
}
.rv-dish__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.rv-dish__media:active img { transform: scale(1.05); }
.rv-dish__media-glow {
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.28), transparent);
  pointer-events: none;
}
.rv-dish__ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  color: #a89888; font-size: 28px;
}

@media (min-width: 520px) {
  .rv-dish {
    grid-template-columns: 128px minmax(0, 1fr);
    padding: 16px;
  }
  .rv-dish__media { width: 128px; height: 128px; border-radius: 18px; }
  .rv-dish__name-btn { font-size: 17px; }
}

/* Restaurant reviews */
.rv-reviews {
  margin: 8px 14px 20px;
  padding: 18px 16px;
  background: var(--rv-surface, #fffdf9);
  border: 1px solid var(--rv-line, rgba(26, 20, 16, 0.08));
  border-radius: 20px;
}
.rv-reviews__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.rv-reviews__eyebrow {
  margin: 0; font-size: 11px; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--rv-brand, #810100);
}
.rv-reviews__title {
  margin: 2px 0 0; font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; color: var(--rv-ink, #1a1410);
}
.rv-reviews__score {
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.rv-reviews__score strong { font-size: 22px; font-weight: 800; color: var(--rv-ink, #1a1410); }
.rv-reviews__score span { font-size: 13px; line-height: 1; }
.rv-reviews__score small { font-size: 11px; font-weight: 700; color: var(--rv-muted, #6b625a); }
.rv-reviews__empty { margin: 0 0 12px; font-size: 13px; color: var(--rv-muted, #6b625a); }
.rv-reviews__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.rv-review {
  background: #f7f1ea; border-radius: 14px; padding: 12px 14px;
}
.rv-review__top {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  margin-bottom: 4px;
}
.rv-review__top strong { font-size: 13px; color: var(--rv-ink, #1a1410); }
.rv-review__top time { font-size: 11px; color: var(--rv-muted, #6b625a); font-weight: 600; }
.rv-review__stars { font-size: 12px; margin-bottom: 4px; }
.rv-review__text { margin: 0; font-size: 13px; line-height: 1.45; color: #4d433c; }
.rv-reviews__done {
  margin: 0; padding: 12px 14px; border-radius: 12px;
  background: #FFF1E8; border: 1px solid #FDBA74;
  color: #9A3412; font-size: 13px; font-weight: 700;
}
.rv-reviews__cta { display: inline-flex; margin-top: 4px; }
.rv-reviews__form {
  margin-top: 4px; padding: 14px;
  background: #f7f1ea; border-radius: 14px;
}
.rv-reviews__form h3 {
  margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--rv-ink, #1a1410);
}
.rv-reviews__picker {
  display: flex; gap: 8px; font-size: 28px; margin: 0 0 12px; cursor: pointer;
}
.rv-reviews__picker .fi { color: #D1D5DB; transition: color .1s; }
.rv-reviews__form textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid rgba(26, 20, 16, 0.12); border-radius: 12px;
  padding: 12px; font-size: 14px; font-family: inherit;
  resize: vertical; min-height: 84px; background: #fff;
  margin-bottom: 10px;
}
.rv-reviews__form .rv-btn { width: 100%; justify-content: center; }

/* Small vendor chip on product cards */
.product-card__vendor {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px; font-weight: 700;
  text-decoration: none;
  border: 1px solid #FDE68A;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card__vendor i { color: #B45309; }
.product-card__vendor:hover { background: #FDE68A; }
