:root {
  --bg: #fbf7f2;
  --paper: #ffffff;
  --ink: #2a1f23;
  --muted: #7a6b70;
  --line: #eee3dc;
  --rose: #d6336c;
  --rose-d: #a61e4d;
  --rose-l: #fde8ef;
  --green: #2f5d50;
  --green-l: #e6f0ea;
  --gold: #f2b134;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(66, 24, 40, .18);
  --shadow-l: 0 24px 60px -20px rgba(66, 24, 40, .3);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.muted { color: var(--muted); }
.center { text-align: center; display: block; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.container--narrow { width: min(820px, 92%); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.4rem; border-radius: 999px; font-weight: 600; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 8px 20px -8px var(--rose); }
.btn--primary:hover { background: var(--rose-d); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.link { color: var(--rose); font-weight: 600; }
.link:hover { text-decoration: underline; }

.pill { display: inline-block; background: var(--rose-l); color: var(--rose-d); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--rose); margin-bottom: .5rem; }
.eyebrow--light { color: #f7c6d6; }
.badge { display: inline-block; background: var(--green-l); color: var(--green); font-size: .75rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }

/* Topbar + header */
.topbar { background: var(--green); color: #e8f1ec; font-size: .85rem; text-align: center; padding: .55rem 1rem; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; display: flex; align-items: center; gap: .35rem; color: var(--ink); }
.logo__mark { color: var(--rose); font-size: 1.5rem; }
.logo--light { color: #fff; }
.nav { display: flex; gap: 1.6rem; font-weight: 500; font-size: .95rem; margin-left: auto; }
.nav a { position: relative; padding: .3rem 0; }
.nav a:not(.nav__seller)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--rose); transition: width .2s; }
.nav a:hover::after { width: 100%; }
.nav__seller { color: var(--green); font-weight: 600; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.city-btn { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 500; background: #fff; }
.city-btn:hover { border-color: var(--rose); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; background: var(--rose); font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.18); } }
.burger { display: none; font-size: 1.5rem; width: 42px; height: 42px; }

/* Hero */
.hero { padding: 4rem 0 3rem; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin: 1.1rem 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.search { margin-top: 2rem; background: #fff; border-radius: 22px; padding: .6rem; display: flex; gap: .3rem; box-shadow: var(--shadow-l); align-items: stretch; flex-wrap: wrap; }
.search__field { display: flex; flex-direction: column; padding: .45rem .9rem; border-radius: 14px; min-width: 130px; }
.search__field:hover { background: #faf5f1; }
.search__field + .search__field { border-left: 1px solid var(--line); }
.search__field span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search__field input, .search__field select { border: 0; outline: 0; background: transparent; font-weight: 500; padding: .2rem 0; }
.search__field--grow { flex: 1; min-width: 170px; }
.search .btn { border-radius: 16px; padding-inline: 1.8rem; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.hero__trust strong { color: var(--ink); }

.hero__art { position: relative; aspect-ratio: 1; }
.hero__blob { position: absolute; inset: 6% 2% 2% 8%; background: radial-gradient(circle at 30% 30%, #ffd6e2, #f9b9cc 60%, #f3a5bd); border-radius: 46% 54% 44% 56% / 52% 42% 58% 48%; animation: blob 12s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%; transform: rotate(6deg); } }
.hero__card--main { position: absolute; inset: 10% 12% 8% 14%; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-l); background: #fff; }
.hero__card--main svg { width: 100%; height: 100%; }
.hero__float { position: absolute; display: flex; gap: .7rem; align-items: center; background: #fff; padding: .8rem 1rem; border-radius: 16px; box-shadow: var(--shadow-l); font-size: .85rem; animation: float 5s ease-in-out infinite; }
.hero__float span { font-size: 1.5rem; }
.hero__float small { display: block; color: var(--muted); }
.hero__float--a { left: -2%; bottom: 14%; }
.hero__float--b { right: -2%; top: 8%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Secciones */
.section { padding: 4.5rem 0; }
.section--tight { padding: 1rem 0 0; }
.section--soft { background: #f6eee8; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }

/* Categorías */
.cats { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .92rem; transition: all .2s; }
.cat span { font-size: 1.15rem; }
.cat:hover { border-color: var(--rose); }
.cat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Toolbar */
.toolbar { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.toolbar__item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; }
.toolbar__item select { border: 0; outline: 0; background: transparent; font-weight: 600; color: var(--ink); }
.toolbar__check { cursor: pointer; color: var(--ink); font-weight: 500; }
.toolbar__check input { accent-color: var(--rose); width: 16px; height: 16px; }

/* Grilla de productos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; cursor: pointer; animation: fadeUp .5s both; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.card__art { position: relative; aspect-ratio: 1; overflow: hidden; }
.card__art svg { width: 100%; height: 100%; transition: transform .5s; }
.card:hover .card__art svg { transform: scale(1.05); }
.card__tag { position: absolute; top: .8rem; left: .8rem; background: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.card__tag--sale { background: var(--rose); color: #fff; }
.card__fav { position: absolute; top: .7rem; right: .7rem; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .2s; }
.card__fav:hover { transform: scale(1.12); }
.card__fav.on { color: var(--rose); }
.card__today { position: absolute; bottom: .8rem; left: .8rem; background: var(--green); color: #fff; font-size: .72rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; }
.card__body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__shop { font-size: .8rem; color: var(--muted); }
.card__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.rating { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.rating .stars { color: var(--gold); letter-spacing: 1px; }
.rating small { color: var(--muted); white-space: nowrap; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: .6rem; }
.price { font-size: 1.25rem; font-weight: 700; }
.price del { font-size: .85rem; color: var(--muted); font-weight: 400; margin-left: .3rem; }
.card__add { width: 42px; height: 42px; border-radius: 50%; background: var(--rose-l); color: var(--rose-d); font-size: 1.4rem; font-weight: 600; display: grid; place-items: center; transition: all .2s; }
.card__add:hover { background: var(--rose); color: #fff; }
.empty { text-align: center; padding: 3rem; color: var(--muted); }

/* Remote */
.remote { background: var(--green); color: #fff; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; overflow: hidden; }
.remote::after { content: "✿"; position: absolute; right: -40px; bottom: -110px; font-size: 22rem; color: rgba(255,255,255,.05); line-height: 1; }
.remote p { color: #d3e3da; margin: 1rem 0 1.6rem; font-size: 1.05rem; }
.route { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.route__stop { background: rgba(255,255,255,.1); border-radius: 16px; padding: .8rem 1rem; font-size: .85rem; color: #d3e3da; line-height: 1.35; }
.route__stop span { font-size: 1.4rem; display: block; margin-bottom: .2rem; }
.route__stop strong { color: #fff; }
.route__line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 16px); position: relative; }
.route__line span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); font-size: 1.5rem; animation: travel 3.5s ease-in-out infinite; }
@keyframes travel { 0% { left: 0; } 60%, 100% { left: 100%; } }
.steps { list-style: none; display: grid; gap: 1rem; position: relative; z-index: 1; }
.steps li { display: flex; gap: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: 1rem 1.2rem; border-radius: 16px; font-size: .92rem; color: #d3e3da; }
.steps li > span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; color: #fff; font-size: 1rem; }

/* Comercios */
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1.2rem; }
.shop { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: flex; gap: 1rem; align-items: center; transition: box-shadow .2s, transform .2s; }
.shop:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.shop__logo { flex: 0 0 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: #fff; }
.shop__info { flex: 1; min-width: 0; }
.shop__name { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: .4rem; }
.shop__verified { color: #1d9bf0; font-size: .9rem; }
.shop__meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin-top: .25rem; }
.shop__btn { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.shop__btn:hover { border-color: var(--rose); color: var(--rose); }

/* Ocasiones */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.occ { border-radius: var(--radius); padding: 1.6rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; transition: transform .2s; cursor: pointer; }
.occ:hover { transform: translateY(-4px) rotate(-1deg); }
.occ span { font-size: 2.1rem; margin-bottom: .5rem; }
.occ strong { font-family: var(--serif); font-size: 1.2rem; }
.occ small { color: var(--muted); }

/* Reseñas */
.reviews-head { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.score { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.score__num { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.score__stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; margin: .4rem 0 .2rem; }
.score small { color: var(--muted); }
.bars { margin-top: 1rem; display: grid; gap: .35rem; font-size: .8rem; }
.bars div { display: grid; grid-template-columns: 14px 1fr 36px; gap: .5rem; align-items: center; }
.bars i { height: 7px; background: var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--gold); border-radius: 4px; }
.bars b { font-weight: 500; color: var(--muted); text-align: right; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.review__top { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: 0 0 auto; }
.review__who strong { display: block; font-size: .95rem; }
.review__who small { color: var(--muted); font-size: .8rem; }
.review__text { font-size: .95rem; }
.review__product { display: flex; align-items: center; gap: .6rem; padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); cursor: pointer; }
.review__product:hover { color: var(--rose); }
.review__thumb { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.verified { font-size: .75rem; color: var(--green); font-weight: 600; }

/* Vender */
.seller { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem); }
.seller p { color: var(--muted); margin: 1rem 0 1.4rem; font-size: 1.05rem; }
.checks { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.8rem; }
.checks li { padding-left: 1.8rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--green-l); color: var(--green); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.calc { background: var(--rose-l); border-radius: 24px; padding: 1.8rem; display: grid; gap: 1.1rem; }
.calc h3 { font-size: 1.3rem; }
.calc label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; grid-template-columns: 1fr auto; }
.calc output { font-weight: 700; }
.calc input[type=range] { grid-column: 1 / -1; accent-color: var(--rose); width: 100%; }
.calc__rows { background: #fff; border-radius: 16px; padding: 1rem 1.2rem; display: grid; gap: .5rem; font-size: .92rem; }
.calc__rows div { display: flex; justify-content: space-between; }
.calc__total { border-top: 1px solid var(--line); padding-top: .6rem; font-size: 1.1rem; }
.calc__total strong { color: var(--green); }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: 16px; padding: 1.1rem 1.4rem; border: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: .7rem; }

/* Newsletter */
.news { background: linear-gradient(120deg, #ffe1ea, #ffeedd); border-radius: 32px; padding: clamp(2rem, 5vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.news p { color: var(--muted); margin-top: .5rem; }
.news__form { display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: 999px; flex: 1 1 280px; max-width: 440px; }
.news__form input { flex: 1; border: 0; outline: 0; padding: 0 1rem; background: transparent; min-width: 0; }

/* Footer */
.footer { background: var(--ink); color: #c9babf; padding: 4rem 0 1.5rem; margin-top: 2rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer p { margin-top: .8rem; max-width: 300px; font-size: .92rem; }
.footer h4 { color: #fff; margin-bottom: .8rem; font-size: .95rem; }
.footer__inner a:not(.logo) { display: block; font-size: .9rem; padding: .2rem 0; }
.footer__inner a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .82rem; }

/* Modal */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.modal.open, .drawer.open { visibility: visible; pointer-events: auto; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(42, 31, 35, .55); opacity: 0; transition: opacity .25s; backdrop-filter: blur(3px); }
.open .modal__backdrop, .open .drawer__backdrop { opacity: 1; }
.modal__panel { position: relative; margin: 4vh auto; width: min(980px, 94%); max-height: 92vh; background: #fff; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(30px) scale(.97); opacity: 0; transition: all .3s; }
.modal.open .modal__panel { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; background: #f4ece7; z-index: 2; font-size: .95rem; }
.modal__close:hover { background: var(--rose-l); }
.modal__art { min-height: 100%; }
.modal__art svg { width: 100%; height: 100%; min-height: 420px; }
.modal__body { padding: 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .8rem; }
.modal__body h3 { font-size: 1.8rem; }
.modal__shop { display: flex; align-items: center; gap: .7rem; background: #faf5f1; border-radius: 14px; padding: .7rem .9rem; font-size: .88rem; }
.modal__shop .shop__logo { flex-basis: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; }
.opt { display: grid; gap: .45rem; }
.opt__label { font-weight: 600; font-size: .9rem; }
.sizes, .days, .extras { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); border-radius: 12px; padding: .5rem .8rem; font-size: .85rem; text-align: center; transition: all .15s; background: #fff; }
.chip small { display: block; color: var(--muted); font-size: .75rem; }
.chip:hover { border-color: var(--rose); }
.chip.on { border-color: var(--rose); background: var(--rose-l); color: var(--rose-d); }
.opt textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .9rem; resize: none; outline: 0; }
.opt textarea:focus { border-color: var(--rose); }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: .4rem; position: sticky; bottom: -2rem; background: #fff; }
.modal__price { font-size: 1.6rem; font-weight: 700; }
.mreviews { display: grid; gap: .8rem; }
.mreviews h4 { font-size: .95rem; }
.mreview { background: #faf5f1; border-radius: 14px; padding: .8rem 1rem; font-size: .88rem; }
.mreview strong { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .2rem; }
.mreview .stars { color: var(--gold); }

/* Drawer */
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.drawer__head h3 { font-size: 1.4rem; }
.drawer__head .modal__close { top: 1.1rem; }
.drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: grid; gap: 1rem; align-content: start; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: start; }
.citem__art { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; }
.citem__name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.citem__meta { font-size: .78rem; color: var(--muted); }
.citem__qty { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .5rem; font-size: .85rem; }
.citem__qty button { width: 20px; font-weight: 700; }
.citem__price { font-weight: 700; font-size: .95rem; text-align: right; }
.citem__rm { font-size: .75rem; color: var(--muted); text-decoration: underline; margin-top: .3rem; }
.drawer__empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.drawer__empty span { font-size: 3rem; display: block; margin-bottom: .5rem; }
.drawer__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.drawer__row { display: flex; justify-content: space-between; font-size: .92rem; }
.drawer__row--total { font-size: 1.15rem; padding: .3rem 0 .6rem; }

/* Toast */
.toast { position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: .9rem 1.4rem; border-radius: 14px; font-size: .92rem; font-weight: 500; z-index: 200; transition: transform .3s, opacity .3s; opacity: 0; box-shadow: var(--shadow-l); max-width: 92%; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 1rem 4%; gap: .4rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .hero__inner, .remote, .seller, .reviews-head { grid-template-columns: 1fr; }
  .hero__art { max-width: 480px; margin: 0 auto; width: 100%; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .modal__panel { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__art { height: 300px; overflow: hidden; }
  .modal__art svg { min-height: 0; }
  .modal__body { overflow: visible; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar { font-size: .75rem; }
  .city-btn span { display: none; }
  .search { flex-direction: column; }
  .search__field + .search__field { border-left: 0; border-top: 1px solid var(--line); }
  .reviews { grid-template-columns: 1fr; }
  .news { flex-direction: column; align-items: stretch; }
  .news__form { flex: none; width: 100%; max-width: none; }
  .news__form input { width: 100%; }
  .news__form .btn { padding-inline: 1rem; }
  .shops { grid-template-columns: 1fr; }
  .shop { flex-wrap: wrap; }
  .shop__btn { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .card__body { padding: .8rem; }
  .card__name { font-size: 1rem; }
  .price { font-size: 1.05rem; }
  .price del { display: block; margin-left: 0; font-size: .75rem; }
  .card__shop { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card__add { width: 36px; height: 36px; }
  .hero__float { font-size: .75rem; padding: .6rem .8rem; }
  .route { flex-direction: column; align-items: stretch; }
  .route__line { height: 40px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, #fff 0 8px, transparent 8px 16px); }
  .route__line span { animation: none; left: 50%; }
}
