/* Mercado Rently — app de pedidos tipo Rappi con la identidad de Rently (landing): fondo claro, Montserrat, degradado y logo de anillo */
:root {
  --bg: #F6F7FB; --card: #FFFFFF; --tx: #1D1D1F; --mut: #6E6E78; --line: #E6E7EE; --soft: #F0F1F6;
  --indigo: #E8452C; --violet: #F26A2E; --magenta: #F58A30; --saffron: #F7A93B; --green: #16A34A;
  --grad: linear-gradient(92deg, #E8452C 0%, #F26A2E 35%, #F58A30 65%, #F7A93B 100%);
  --sh: 0 1px 2px rgba(20,20,40,.06), 0 10px 30px -18px rgba(20,20,40,.35);
  --e: cubic-bezier(.22,.8,.24,1);
  --wrap: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--tx); font: 500 15px/1.45 'Montserrat', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img { display: block; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

/* logo RENTLY (igual a la landing) */
@property --ra { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand { display: inline-flex; align-items: center; font-weight: 900; font-size: 1.32rem; letter-spacing: -0.05em; line-height: 1; text-transform: uppercase; }
.brand .bl { display: inline-block; }
.ro { position: relative; display: inline-block; width: .8em; height: .8em; margin: 0 .035em 0 .02em; flex: none; }
.ro .ro-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--ra), #E8452C, #F26A2E, #F58A30, #F7A93B, #E8452C); -webkit-mask: radial-gradient(circle closest-side, transparent 55%, #000 57%); mask: radial-gradient(circle closest-side, transparent 55%, #000 57%); animation: roSpin 7s linear infinite; }
.ro .ro-core { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; margin: -11% 0 0 -11%; border-radius: 50%; background: var(--grad); animation: roCore 2.8s ease-in-out infinite; }
.ro .ro-wave { position: absolute; left: 50%; top: 50%; width: 44%; height: 44%; margin: -22% 0 0 -22%; border-radius: 50%; box-shadow: 0 0 0 .045em #F26A2E; opacity: 0; animation: roWave 2.8s ease-out infinite; }
.ro .ro-wave + .ro-wave { animation-delay: .5s; }
@keyframes roSpin { to { --ra: 360deg; } }
@keyframes roCore { 0%, 100% { transform: scale(.7); } 12% { transform: scale(1.25); } 30% { transform: scale(.9); } }
@keyframes roWave { 0%, 8% { transform: scale(.4); opacity: 0; } 14% { opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.logo .tag { padding: 4px 9px; border-radius: 99px; background: var(--tx); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* barra superior */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251,251,253,.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(0,0,0,.06); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.search { flex: 1; max-width: 620px; margin-inline: auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--indigo), 0 0 0 5px rgba(232,69,44,.12); }
.search svg { color: var(--mut); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-weight: 600; font-size: 15px; }
.search input::placeholder { color: #9A9AA6; font-weight: 500; }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); font-size: 18px; line-height: 1; color: var(--mut); }
.biz-link { font-size: 13.5px; font-weight: 700; color: var(--mut); white-space: nowrap; }
.biz-link:hover { color: var(--tx); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 800; box-shadow: 0 10px 26px -12px rgba(232,69,44,.8); transition: transform .3s var(--e); }
.cart-btn:hover { transform: translateY(-1px); }
.cart-n { position: absolute; top: -4px; left: 30px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--magenta); font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.cart-t:empty { display: none; }
.cart-btn.bump { animation: bump .45s var(--e); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* inicio */
.hello { padding: 28px 0 8px; }
.hello h1 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.hello p { margin: 10px 0 0; color: var(--mut); font-weight: 600; }
.hello p b { color: var(--tx); }
.sec { padding-top: 34px; }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sh h2 { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.sh small { display: block; margin-top: 4px; color: var(--mut); font-size: 13px; font-weight: 600; }
.sh .more { font-size: 13.5px; font-weight: 800; color: var(--indigo); white-space: nowrap; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 20px 14px; margin: 0 -20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

/* categorías */
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 14px 20px 6px; margin: 0 -20px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; width: 92px; display: grid; justify-items: center; gap: 8px; padding: 6px 2px; border-radius: 18px; font-size: 12px; font-weight: 700; text-align: center; color: var(--tx); transition: transform .3s var(--e); }
.cat:hover { transform: translateY(-2px); }
.cat i { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: #fff; box-shadow: var(--sh); color: var(--c, var(--indigo)); transition: box-shadow .2s, background .2s; }
.cat i svg { width: 28px; height: 28px; }
.cat[aria-pressed=true] i { background: var(--tx); color: #fff; }
.cat span { line-height: 1.2; }

/* banners */
.banners { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 8px; margin: 0 -20px; scrollbar-width: none; scroll-behavior: smooth; }
.banners::-webkit-scrollbar { display: none; }
.banner { position: relative; flex: none; width: min(560px, 86vw); aspect-ratio: 16 / 7.4; border-radius: 26px; overflow: hidden; scroll-snap-align: start; color: #fff; background: #222 center / cover no-repeat; box-shadow: 0 24px 50px -30px rgba(20,20,40,.7); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,20,.82) 0%, rgba(10,10,20,.45) 45%, rgba(10,10,20,0) 75%); }
.banner .bd { position: absolute; inset: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; max-width: 70%; }
.banner .badge { align-self: flex-start; padding: 5px 11px; border-radius: 99px; background: var(--grad); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.banner h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.banner p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.85); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner .go { align-self: flex-start; margin-top: 4px; padding: 9px 16px; border-radius: 99px; background: #fff; color: var(--tx); font-weight: 800; font-size: 13px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: #CFD1DA; transition: width .3s, background .3s; }
.dots i.on { width: 20px; background: var(--indigo); }

/* tarjeta de tienda */
.store { width: 280px; display: grid; gap: 10px; border-radius: 22px; transition: transform .35s var(--e); }
.grid .store { width: auto; }
.store:hover { transform: translateY(-3px); }
.store .cv { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--soft) center / cover no-repeat; box-shadow: var(--sh); }
.store .cv .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tagx { padding: 5px 10px; border-radius: 99px; background: #fff; font-size: 11px; font-weight: 800; color: var(--tx); box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); }
.tagx.g { background: var(--grad); color: #fff; }
.tagx.free { background: #E9F9EF; color: #13803C; }
.store .cv.closed::after { content: "Cerrado ahora"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,20,30,.5); color: #fff; font-weight: 800; font-size: 14px; }
.store .row { display: flex; gap: 12px; align-items: center; padding: 0 2px; }
.lg { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 18px; background: var(--c, var(--violet)) center / cover no-repeat; box-shadow: 0 0 0 3px #fff, var(--sh); }
.store b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store small { display: block; color: var(--mut); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open { color: var(--green); font-weight: 700; } .shut { color: #B42318; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 18px; }

/* producto */
.prod { position: relative; width: 190px; display: grid; gap: 8px; }
.prod .im { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--soft); box-shadow: var(--sh); }
.prod .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e); }
.prod:hover .im img { transform: scale(1.05); }
.prod b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod .pr { font-weight: 900; font-size: 15px; }
.prod small { color: var(--mut); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add { position: absolute; right: 8px; top: calc(190px - 52px); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--indigo); box-shadow: 0 8px 20px -8px rgba(20,20,40,.5); transition: transform .25s var(--e), background .2s, color .2s; }
.add:hover { transform: scale(1.08); background: var(--indigo); color: #fff; }
.add svg { width: 22px; height: 22px; stroke-width: 2.6; }
.stepper { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px; border-radius: 99px; background: var(--indigo); color: #fff; font-weight: 800; box-shadow: 0 8px 20px -10px rgba(232,69,44,.9); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 18px; line-height: 1; }
.stepper button:hover { background: rgba(255,255,255,.18); }
.stepper span { min-width: 22px; text-align: center; }
.prod .stepper { position: absolute; right: 8px; top: calc(190px - 50px); }

/* llamado a negocios */
.promo { margin: 46px 0 10px; padding: 34px; border-radius: 30px; color: #fff; background: radial-gradient(60% 120% at 100% 0%, rgba(247,169,59,.55), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(232,69,44,.9), transparent 60%), linear-gradient(120deg, #F26A2E, #F58A30); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; box-shadow: 0 30px 60px -36px rgba(242,106,46,.9); }
.promo h3 { margin: 0; font-size: clamp(22px, 3vw, 34px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; max-width: 20ch; }
.promo p { margin: 8px 0 0; color: rgba(255,255,255,.85); font-weight: 600; max-width: 46ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 14.5px; white-space: nowrap; transition: transform .3s var(--e), box-shadow .3s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.white { background: #fff; color: var(--tx); }
.btn.pri { background: var(--indigo); color: #fff; box-shadow: 0 12px 28px -12px rgba(232,69,44,.8); }
.btn.pri[disabled] { opacity: .55; pointer-events: none; }
.btn.ghost { background: var(--soft); color: var(--tx); }
.btn.wa { background: #25D366; color: #fff; }
.btn.full { width: 100%; }
footer { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 30px 0 110px; color: var(--mut); font-size: 13px; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; color: var(--tx); }
.chip[aria-pressed=true] { background: var(--tx); color: #fff; box-shadow: none; }
.empty { padding: 50px 20px; text-align: center; border-radius: 26px; background: #fff; box-shadow: var(--sh); }
.empty b { display: block; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.empty p { margin: 6px 0 0; color: var(--mut); }
.skel { border-radius: 20px; background: linear-gradient(90deg, #ECEDF3 0%, #F6F7FB 50%, #ECEDF3 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* página de la tienda */
.shop-head { position: relative; margin: 18px 0 0; }
.shop-cv { height: clamp(170px, 26vw, 280px); border-radius: 28px; background: var(--soft) center / cover no-repeat; position: relative; overflow: hidden; }
.shop-cv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
.back { position: absolute; left: 14px; top: 14px; z-index: 2; height: 40px; padding: 0 14px 0 10px; border-radius: 99px; background: rgba(255,255,255,.92); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13.5px; box-shadow: var(--sh); }
.shop-info { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; margin: -64px 22px 0; padding: 20px 22px; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px -28px rgba(20,20,40,.35), var(--sh); }
.shop-info .lg { width: 76px; height: 76px; font-size: 30px; box-shadow: 0 0 0 4px #fff, var(--sh); }
.si-txt { flex: 1; min-width: 0; }
.shop-info h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.shop-info .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.shop-info .chip { height: 28px; padding: 0 12px; border-radius: 99px; background: var(--soft); color: var(--ink2, #3b3b4f); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; }
.shop-info .chip.open { background: #E7F8EF; color: #12804A; }
.shop-info .chip.shut { background: #FDECEF; color: #B4234A; }
.shop-tl { margin: 10px 0 0; color: var(--mut); font-weight: 500; font-size: 14px; max-width: 70ch; }
.shop-info .btn { flex: none; }
@media (max-width: 720px) {
  .shop-info { flex-wrap: wrap; align-items: flex-start; margin: -48px 10px 0; padding: 16px; gap: 14px; }
  .shop-info .lg { width: 60px; height: 60px; font-size: 24px; }
  .si-txt { flex-basis: calc(100% - 80px); }
  .shop-info .btn { width: 100%; justify-content: center; }
}
.shop-tools { display: flex; gap: 12px; align-items: center; margin: 22px 0 6px; flex-wrap: wrap; }
.shop-tools .search { margin: 0; max-width: 420px; }
.note { padding: 12px 16px; border-radius: 16px; background: #FFF6E6; color: #8A5300; font-weight: 600; font-size: 13.5px; margin-top: 14px; }
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; margin-top: 16px; }
.item { position: relative; display: grid; grid-template-columns: 1fr 112px; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 22px; background: #fff; box-shadow: var(--sh); align-items: stretch; transition: transform .25s var(--e), box-shadow .25s; }
.item:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(20,20,40,.35), var(--sh); }
.item > div:first-child { display: flex; flex-direction: column; padding-top: 4px; }
.item > div:first-child .pr { margin-top: auto; }
.item p:empty { display: none; }
.item b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.015em; }
.item p { margin: 5px 0 10px; color: var(--mut); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .pr { font-weight: 900; font-size: 16px; }
.item .im { position: relative; width: 112px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); }
.item .im img { width: 100%; height: 100%; object-fit: cover; }
.item .add { top: auto; bottom: 8px; right: 8px; width: 38px; height: 38px; }
.item .stepper { position: absolute; right: 20px; bottom: 20px; height: 36px; }
.item .stepper button { width: 28px; height: 28px; }

/* carrito flotante (celular) */
.cart-bar { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: var(--indigo); color: #fff; font-weight: 800; box-shadow: 0 20px 40px -16px rgba(232,69,44,.9); animation: barIn .45s var(--e); }
.cart-bar[hidden] { display: none; }
.cart-bar span:nth-child(2) { flex: 1; }
.cb-n { min-width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.2); display: grid; place-items: center; }
@keyframes barIn { from { transform: translate(-50%, 30px); opacity: 0; } }

/* cajón del pedido */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(15,15,25,.4); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 51; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100% - 20px)); border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -30px rgba(20,20,40,.55); transform: translateX(110%); transition: transform .5s var(--e); display: flex; flex-direction: column; overflow: hidden; }
.drawer.on { transform: none; }
.dh { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.dh h2 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.03em; flex: 1; }
.dh small { display: block; color: var(--mut); font-size: 12.5px; font-weight: 600; }
.x { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); font-size: 20px; line-height: 1; flex: none; }
.db { flex: 1; overflow-y: auto; padding: 16px 18px; display: grid; gap: 14px; align-content: start; }
.df { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ln { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.ln img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--soft); }
.ln b { display: block; font-size: 14px; font-weight: 800; } .ln small { color: var(--mut); font-weight: 600; font-size: 12.5px; }
.ln .stepper { height: 34px; } .ln .stepper button { width: 26px; height: 26px; font-size: 16px; }
.sum { display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; color: var(--mut); font-weight: 600; font-size: 14px; }
.sum div.t { color: var(--tx); font-weight: 900; font-size: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--soft); }
.seg button { height: 40px; border-radius: 12px; font-weight: 800; font-size: 13.5px; color: var(--mut); }
.seg button[aria-pressed=true] { background: #fff; color: var(--tx); box-shadow: 0 4px 12px -6px rgba(0,0,0,.25); }
.fl { display: grid; gap: 6px; }
.fl span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.fl input, .fl textarea { width: 100%; padding: 13px 15px; border-radius: 14px; border: 0; background: var(--soft); outline: none; font-weight: 600; font-size: 15px; transition: box-shadow .2s, background .2s; }
.fl input:focus, .fl textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--indigo), 0 0 0 4px rgba(232,69,44,.12); }
.lbl { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin-top: 4px; }
.pk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pk { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--soft); text-align: left; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s; }
.pk[aria-pressed=true] { background: #fff; box-shadow: inset 0 0 0 2px var(--pc), 0 8px 20px -14px var(--pc); }
.pk i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); }
.pk i svg { width: 19px; height: 19px; }
.pk b { display: block; font-size: 13.5px; font-weight: 800; } .pk small { display: block; font-size: 11px; color: var(--mut); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.bills { display: flex; flex-wrap: wrap; gap: 8px; }
.bills button { height: 38px; padding: 0 14px; border-radius: 99px; background: var(--soft); font-weight: 800; font-size: 13.5px; box-shadow: inset 0 0 0 1.5px transparent; }
.bills button[aria-pressed=true] { background: #fff; box-shadow: inset 0 0 0 2px var(--indigo); color: var(--indigo); }
.chg { padding: 10px 12px; border-radius: 12px; background: #E9F9EF; color: #13803C; font-weight: 700; font-size: 13.5px; }
.chg:empty { display: none; }
.err { color: #D92D20; font-weight: 700; font-size: 13.5px; min-height: 1em; margin: 0; }
.ok { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 10px 0; }
.ok .ck { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; animation: pop .6s cubic-bezier(.34,1.56,.64,1); }
.ok .ck svg { width: 34px; height: 34px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } }
.ok h3 { margin: 4px 0 0; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.ok p { margin: 0; color: var(--mut); font-weight: 600; }
.paybox { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--soft); text-align: left; }
.paybox p { margin: 0; color: var(--tx); font-weight: 600; line-height: 1.45; }
.cp { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--indigo); font-weight: 900; font-size: 17px; }
.cp small { font-size: 11px; font-weight: 800; color: var(--indigo); text-transform: uppercase; letter-spacing: .08em; }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: var(--tx); color: #fff; font-weight: 700; font-size: 14px; transition: opacity .3s, transform .3s var(--e); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(15,15,25,.4); backdrop-filter: blur(3px); }
.modal .box { width: min(420px, 100%); padding: 24px; border-radius: 26px; background: #fff; display: grid; gap: 12px; box-shadow: 0 40px 90px -30px rgba(20,20,40,.6); animation: pop .35s var(--e); }
.modal h3 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.modal p { margin: 0; color: var(--mut); font-weight: 600; }
.modal .row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

@media (min-width: 761px) { .cart-bar { display: none !important; } }
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .biz-link { display: none; }
  .cart-btn { margin-left: auto; padding: 0 14px; height: 42px; }
  .cart-t { display: none; }
  .store { width: 250px; }
  .prod { width: 150px; }
  .add { top: calc(150px - 50px); }
  .prod .stepper { top: calc(150px - 48px); }
  .menu { grid-template-columns: 1fr; }
  .item { grid-template-columns: 1fr 104px; } .item .im { width: 104px; }
  .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92svh; border-radius: 28px 28px 0 0; transform: translateY(105%); }
  .drawer.on { transform: none; }
  .promo { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.cart-n[hidden], .search .clear[hidden] { display: none; }
