/* ===== Fasti — demo estática (HTML + CSS) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --fasti: #ff3d57;
  --fasti-dark: #e02441;
  --fasti-soft: #fff0f2;
  --ink: #17172b;
  --ink-2: #4a4a63;
  --muted: #8b8ba3;
  --line: #ececf3;
  --bg: #f6f6fa;
  --card: #ffffff;
  --yellow: #ffc93c;
  --green: #12b76a;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(23, 23, 43, .08);
  --shadow-lg: 0 14px 40px rgba(23, 23, 43, .14);
  /* color del restaurante (se sobrescribe en cada landing) */
  --brand: var(--fasti);
  --brand-soft: var(--fasti-soft);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ===== Logo Fasti ===== */
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 28px; letter-spacing: -1.2px; color: var(--fasti); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--fasti);
  display: grid; place-items: center; transform: rotate(-8deg);
  box-shadow: 0 6px 14px rgba(255, 61, 87, .35);
}
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo-light { color: #fff; }
.logo-light .logo-mark { background: #fff; }
.logo-light .logo-mark svg { fill: var(--fasti); }

/* ===== Barra superior ===== */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.address { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.address b { color: var(--ink); display: block; font-size: 14px; }
.address .pin { width: 34px; height: 34px; border-radius: 50%; background: var(--fasti-soft); display: grid; place-items: center; color: var(--fasti); font-size: 16px; }
.search {
  flex: 1; display: flex; align-items: center; gap: 10px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; height: 46px; color: var(--muted);
}
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 999px; padding: 11px 22px; transition: .2s;
}
.btn-primary { background: var(--fasti); color: #fff; }
.btn-primary:hover { background: var(--fasti-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 20px; }
.cart-btn .count { position: absolute; top: -2px; right: -2px; background: var(--fasti); color: #fff; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }

/* ===== Categorías (chips con icono) ===== */
.cats { background: #fff; border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.cat span { width: 62px; height: 62px; border-radius: 20px; background: var(--bg); display: grid; place-items: center; font-size: 28px; transition: .2s; }
.cat:hover span, .cat.active span { background: var(--fasti-soft); transform: translateY(-3px); }
.cat.active { color: var(--fasti); font-weight: 700; }

/* ===== Hero de Fasti ===== */
.hero { padding: 28px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.hero-main {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 360px; color: #fff;
  background: linear-gradient(100deg, rgba(23,23,43,.92) 0%, rgba(23,23,43,.65) 45%, rgba(23,23,43,0) 75%), url('img/hero-fasti.jpg') center/cover;
  padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.hero-main .tag { align-self: flex-start; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; letter-spacing: .5px; text-transform: uppercase; }
.hero-main h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -1.5px; max-width: 520px; }
.hero-main h1 em { font-style: normal; color: var(--fasti); }
.hero-main p { max-width: 420px; opacity: .9; }
.code { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.6); border-radius: 14px; padding: 10px 16px; font-size: 14px; backdrop-filter: blur(4px); }
.code b { font-size: 18px; letter-spacing: 2px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.mini-banner { border-radius: 24px; padding: 24px; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.mini-banner h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.5px; }
.mini-banner p { font-size: 13px; opacity: .9; }
.mb-1 { background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,.05) 70%), url('img/delivery.jpg') center/cover; }
.mb-2 { background: linear-gradient(135deg, var(--fasti) 0%, #ff7a45 100%); }
.mb-2 .big { position: absolute; right: 18px; top: 10px; font-size: 64px; font-weight: 800; opacity: .25; letter-spacing: -3px; }

/* ===== Secciones ===== */
.section { padding: 36px 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 24px; letter-spacing: -.6px; line-height: 1.2; }
.section-head p { color: var(--muted); font-size: 14px; }
.section-head a { color: var(--fasti); font-weight: 600; font-size: 14px; white-space: nowrap; }
.timer { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.timer b { background: var(--ink); color: #fff; border-radius: 6px; padding: 2px 7px; font-variant-numeric: tabular-nums; }

/* ===== Tarjetas de producto en promoción ===== */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; }
.scroller > * { scroll-snap-align: start; }
.promo-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.promo-card:hover .promo-img img { transform: scale(1.06); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--fasti); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.badge.yellow { background: var(--yellow); color: var(--ink); }
.badge.green { background: var(--green); }
.promo-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.promo-rest { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.dot-logo { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; }
.promo-body h4 { font-size: 15px; line-height: 1.3; }
.prices { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; font-size: 17px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.add { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--fasti); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1; transition: .2s; }
.add:hover { transform: scale(1.1) rotate(90deg); }

/* ===== Tarjetas de restaurantes ===== */
.rest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rest-card { background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: .25s; position: relative; }
.rest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rest-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.rest-cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.rest-card:hover .rest-cover img { transform: scale(1.05); }
.rest-logo {
  position: absolute; left: 16px; bottom: -26px; width: 58px; height: 58px; border-radius: 16px; border: 3px solid #fff;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.5px; box-shadow: var(--shadow); z-index: 2;
}
.rest-body { padding: 34px 16px 16px; }
.rest-body h3 { font-size: 17px; letter-spacing: -.3px; }
.rest-body .kind { font-size: 13px; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.meta .star { color: #f5a623; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; margin-top: 12px; }
.pill-green { background: #e7f8ef; color: var(--green); }
.pill-red { background: var(--fasti-soft); color: var(--fasti); }
.featured-ribbon { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }

/* ===== Banner Fasti Plus ===== */
.plus {
  margin: 40px 0 10px; border-radius: 28px; background: var(--ink); color: #fff; padding: 40px 44px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.plus::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,61,87,.55), transparent 70%); }
.plus h2 { font-size: 32px; letter-spacing: -1px; line-height: 1.1; }
.plus h2 span { color: var(--yellow); }
.plus p { opacity: .8; margin: 10px 0 20px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.perk { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px; font-size: 13px; }
.perk b { display: block; font-size: 22px; margin-bottom: 2px; }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.step .n { width: 44px; height: 44px; border-radius: 14px; background: var(--fasti-soft); color: var(--fasti); font-weight: 800; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #c9c9da; margin-top: 56px; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer li { list-style: none; margin-bottom: 8px; }
.footer li a:hover { color: #fff; }
.stores { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.store { border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 14px; font-size: 12px; color: #fff; line-height: 1.2; }
.store b { display: block; font-size: 14px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 20px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* =====================================================
   LANDING DE RESTAURANTE
   ===================================================== */
.r-hero { position: relative; height: 340px; overflow: hidden; }
.r-hero img { width: 100%; height: 100%; object-fit: cover; }
.r-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 60%); }
.r-hero .back { position: absolute; top: 20px; left: max(16px, calc((100% - 1200px) / 2)); z-index: 2; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.r-hero .slogan { position: absolute; z-index: 2; right: max(16px, calc((100% - 1200px) / 2)); bottom: 70px; color: #fff; font-size: clamp(22px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; text-align: right; line-height: 1.05; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.r-info { position: relative; z-index: 3; margin-top: -56px; }
.r-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 24px 28px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.r-logo { width: 96px; height: 96px; border-radius: 24px; background: var(--brand); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: -.5px; flex: 0 0 auto; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.r-logo small { display: block; font-size: 30px; margin-bottom: 4px; }
.r-title { flex: 1; min-width: 220px; }
.r-title h1 { font-size: 30px; letter-spacing: -1px; line-height: 1.1; }
.r-title p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.r-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.r-tags span { background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.r-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.r-stat { background: var(--bg); border-radius: 16px; padding: 10px 16px; text-align: center; min-width: 100px; }
.r-stat b { display: block; font-size: 17px; }
.r-stat span { font-size: 12px; color: var(--muted); }

.r-nav { position: sticky; top: 72px; z-index: 40; background: var(--bg); padding: 18px 0 10px; }
.r-nav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.r-nav a { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: .2s; }
.r-nav a:hover, .r-nav a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.r-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding-top: 10px; }
.menu-sec { margin-bottom: 30px; }
.menu-sec h2 { font-size: 22px; letter-spacing: -.5px; margin-bottom: 4px; }
.menu-sec > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* Promos grandes del restaurante */
.deal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.deal { position: relative; border-radius: 20px; overflow: hidden; min-height: 210px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: .25s; }
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.deal::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.05) 70%); z-index: 1; }
.deal > *:not(img) { position: relative; z-index: 2; }
.deal .badge { position: absolute; z-index: 2; }
.deal h3 { font-size: 20px; line-height: 1.15; letter-spacing: -.4px; }
.deal p { font-size: 13px; opacity: .85; }
.deal .prices .old { color: rgba(255,255,255,.65); }
.deal .price { font-size: 20px; }
.deal .add { background: var(--brand); }

/* Ítems del menú (texto + foto) */
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.item { background: #fff; border-radius: 18px; padding: 14px; display: flex; gap: 14px; box-shadow: 0 2px 10px rgba(23,23,43,.05); transition: .2s; border: 1px solid transparent; }
.item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.item-txt { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item-txt h4 { font-size: 15px; line-height: 1.3; }
.item-txt p { font-size: 13px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .prices { padding-top: 4px; }
.item .price { font-size: 16px; }
.item .off { background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 6px; }
.item-img { position: relative; width: 112px; height: 112px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-img .add { position: absolute; right: 6px; bottom: 6px; width: 30px; height: 30px; font-size: 20px; background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hot { font-size: 11px; font-weight: 700; color: #f97316; }

/* Carrito lateral */
.cart { position: sticky; top: 140px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.cart h3 { font-size: 18px; margin-bottom: 4px; }
.cart .sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.cart-line { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.cart-line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.cart-line div { flex: 1; }
.cart-line small { color: var(--muted); display: block; font-size: 12px; }
.qty { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 999px; padding: 2px 4px; font-weight: 600; }
.qty i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--brand); }
.totals { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 14px; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals .disc { color: var(--green); font-weight: 600; }
.totals .total { font-weight: 700; font-size: 17px; padding-top: 6px; border-top: 1px dashed var(--line); }
.cart .btn { width: 100%; margin-top: 16px; background: var(--brand); color: #fff; padding: 14px; font-size: 15px; }
.cart .btn:hover { filter: brightness(.92); }
.cart-note { margin-top: 12px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 10px 12px; font-size: 12px; font-weight: 600; text-align: center; }

.other-rests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Barra fija inferior (móvil) */
.mobile-cart { display: none; }

/* ===== Temas por restaurante ===== */
.t-rally { --brand: #e4002b; --brand-soft: #fde8ec; }
.t-forno { --brand: #1f8a4c; --brand-soft: #e6f5ec; }
.t-kaito { --brand: #1d1d1f; --brand-soft: #efeff3; }
.t-verde { --brand: #6aa31f; --brand-soft: #eef7e2; }
.bg-rally { background: linear-gradient(135deg, #e4002b, #ff6a00); }
.bg-forno { background: linear-gradient(135deg, #1f8a4c, #c8102e); }
.bg-kaito { background: linear-gradient(135deg, #1d1d1f, #c0392b); }
.bg-verde { background: linear-gradient(135deg, #6aa31f, #f2b705); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .rest-grid { grid-template-columns: repeat(2, 1fr); }
  .r-layout { grid-template-columns: 1fr; }
  .cart { display: none; }
  .mobile-cart {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: var(--brand); color: #fff;
    border-radius: 18px; padding: 14px 20px; align-items: center; justify-content: space-between; font-weight: 600; box-shadow: var(--shadow-lg);
  }
  .mobile-cart span { background: rgba(255,255,255,.2); border-radius: 10px; padding: 2px 10px; }
  body.has-mcart { padding-bottom: 90px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .plus { grid-template-columns: 1fr; padding: 32px 24px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .address { display: none; }
  .items, .deal-grid { grid-template-columns: 1fr; }
  .other-rests { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar .wrap { gap: 10px; }
  .logo { font-size: 22px; }
  .logo-mark { width: 32px; height: 32px; }
  .top-actions .btn-ghost { display: none; }
  .top-actions .btn-primary { padding: 9px 14px; font-size: 13px; }
  .search { height: 42px; padding: 0 14px; }
  .hero-main { padding: 28px 22px; min-height: 320px; }
  .hero-side { grid-template-columns: 1fr; }
  .rest-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 20px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .r-hero { height: 240px; }
  .r-hero .slogan { display: none; }
  .r-card { padding: 20px; }
  .r-logo { width: 76px; height: 76px; }
  .r-title h1 { font-size: 24px; }
  .r-stat { min-width: 0; flex: 1; padding: 8px 10px; }
  .item-img { width: 96px; height: 96px; }
}
@media (max-width: 480px) {
  .search { display: none; }
  .topbar .wrap { justify-content: space-between; }
}

/* ===== Ajustes ===== */
/* El logo del restaurante sobresale de la portada: no recortarlo */
.rest-cover { overflow: visible; }
.rest-cover img { border-radius: 20px 20px 0 0; }
.rest-card:hover .rest-cover img { transform: none; }
/* Promos grandes: más alto y espacio para la etiqueta */
.deal { min-height: 280px; padding-top: 56px; }
.deal .badge { top: 16px !important; left: 16px !important; position: absolute !important; }
.deal > h3, .deal > p, .deal > .prices { position: relative; z-index: 2; }
.deal .prices { margin-top: 10px; }
