/* Manrope (SIL Open Font License) — лежит у нас, чтобы магазин не зависел от доступности Google. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f4f6f3;
  --card: #ffffff;
  --ink: #16211b;
  --muted: #6b7770;
  --line: #e3e8e3;
  --brand: #0e7c4a;
  --brand-2: #13a064;
  --brand-soft: #e4f4ea;
  --accent: #ffc43d;
  --accent-ink: #5a3d00;
  --danger: #d8413b;
  --night: #2b2d6e;
  --night-soft: #ecebff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 40, 25, .06), 0 6px 20px rgba(16, 40, 25, .06);
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1411;
    --card: #182019;
    --ink: #eef3ef;
    --muted: #9aa79f;
    --line: #26312a;
    --brand: #25b56f;
    --brand-2: #34c77f;
    --brand-soft: #173524;
    --accent-ink: #3d2a00;
    --night-soft: #25254a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 15px/1.4 Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  overscroll-behavior-y: contain;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.muted { color: var(--muted); }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
}
.top-row { display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.brand img { border-radius: 10px; flex: none; }
.brand span { display: flex; flex-direction: column; min-width: 0; }
.brand b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.night-badge {
  background: var(--night); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.desk-nav { display: none; }
.search {
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; height: 46px;
  color: var(--muted);
}
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search input { flex: 1; border: 0; outline: 0; background: none; height: 100%; font-size: 16px; min-width: 0; color: var(--ink); }

/* ---------- макет ---------- */
.layout { max-width: 1320px; margin: 0 auto; }
.view { padding: 0 16px; min-width: 0; }
.side, .cart-panel { display: none; }

/* категории */
.chips {
  position: sticky; top: var(--top-h, 122px); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 4px 16px 10px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.banner {
  border-radius: var(--radius); padding: 16px 18px; margin: 6px 0 14px; display: flex; gap: 14px; align-items: center;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff;
}
.banner.night { background: linear-gradient(120deg, #1d1f55 0%, #3b3f9c 100%); }
.banner .big { font-size: 34px; line-height: 1; }
.banner b { display: block; font-size: 16px; }
.banner small { opacity: .88; font-size: 13px; }
.notice { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 12px 14px; margin: 6px 0 12px; font-weight: 600; font-size: 14px; }
.closed { background: #fdecea; color: #8a1f1b; }

.section-h { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.section-h h2 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.section-h a { color: var(--brand); font-weight: 700; font-size: 14px; }

.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

/* ---------- карточки ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; position: relative; transition: transform .15s;
}
.card:active { transform: scale(.985); }
.card .pic {
  aspect-ratio: 1 / 0.86; display: grid; place-items: center; font-size: 56px;
  background: var(--tint, var(--brand-soft)); position: relative;
}
/* товар должен помещаться в рамку целиком: фото бутылок вертикальные,
   при обрезке по центру было видно только горлышко */
.card .pic img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.card .tags { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); }
.tag.sale { background: var(--danger); color: #fff; }
.tag.moon { background: var(--night); color: #fff; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.price s { color: var(--muted); font-size: 13px; }
.price .per { color: var(--muted); font-size: 12px; }
.card .name { font-size: 14px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card .foot { margin-top: auto; padding-top: 6px; }
.card.off { opacity: .55; }

.add {
  width: 100%; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.add:active { background: var(--brand); color: #fff; }
.add[disabled] { background: var(--line); color: var(--muted); }
.stepper {
  display: flex; align-items: center; justify-content: space-between; height: 40px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 800; overflow: hidden;
}
.stepper button { width: 44px; height: 100%; font-size: 22px; font-weight: 700; color: #fff; }
.stepper button:active { background: rgba(0, 0, 0, .12); }
.stepper span { font-size: 15px; white-space: nowrap; }
.stepper.lg { height: 52px; border-radius: 14px; }
.stepper.lg button { width: 60px; }

/* ---------- кнопки / формы ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px;
  border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; width: 100%;
}
.btn:active { filter: brightness(.94); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }
.btn.line { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn.sm { height: 40px; font-size: 14px; width: auto; border-radius: 12px; padding: 0 14px; }
.btn.danger { background: #fdecea; color: var(--danger); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 600; }
.input {
  height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); padding: 0 14px; font-size: 16px; width: 100%; outline: 0;
}
textarea.input { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--brand); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--line); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.seg button { height: 44px; border-radius: 11px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.pay-opt {
  display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 8px; background: var(--card); width: 100%; text-align: left;
}
.pay-opt.on { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt .ic { font-size: 26px; }
.pay-opt b { display: block; }
.pay-opt small { color: var(--muted); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--card); border-radius: 14px; border: 1.5px solid var(--line); margin-bottom: 12px; }
.switch input { width: 46px; height: 28px; appearance: none; background: var(--line); border-radius: 99px; position: relative; transition: .2s; flex: none; cursor: pointer; }
.switch input::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--brand); }
.switch input:checked::after { left: 21px; }

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.panel h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.rows .total { font-size: 19px; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.rows .minus { color: var(--brand); }

/* ---------- корзина ---------- */
.page-h { display: flex; align-items: center; gap: 10px; margin: 8px 0 14px; }
.page-h h1 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; flex: 1; }
.back { width: 40px; height: 40px; border-radius: 12px; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); font-size: 20px; }
.line-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.thumb { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 30px; background: var(--tint, var(--brand-soft)); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.line-item .nm { font-weight: 600; font-size: 14px; line-height: 1.3; }
.line-item .sm { color: var(--muted); font-size: 13px; }
.line-item .stepper { height: 36px; min-width: 112px; }
.line-item .stepper button { width: 36px; font-size: 20px; }
.progress { height: 8px; border-radius: 9px; background: var(--line); overflow: hidden; margin-top: 8px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 9px; transition: width .3s; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .big { font-size: 64px; margin-bottom: 8px; }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

/* ---------- профиль / лояльность ---------- */
.loyal {
  border-radius: 22px; padding: 20px; color: #fff; position: relative; overflow: hidden; margin-bottom: 12px;
  background: radial-gradient(120% 140% at 100% 0%, #3fd08a 0%, #0e7c4a 55%, #0a5a36 100%);
  box-shadow: 0 10px 30px rgba(14, 124, 74, .3);
}
.loyal.lv-1 { background: radial-gradient(120% 140% at 100% 0%, #e6ebf2 0%, #8b97a8 55%, #5d6878 100%); box-shadow: 0 10px 30px rgba(80, 90, 110, .3); }
.loyal.lv-2 { background: radial-gradient(120% 140% at 100% 0%, #ffe28a 0%, #d99a10 55%, #a86d00 100%); box-shadow: 0 10px 30px rgba(190, 130, 0, .3); }
.loyal::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); right: -70px; bottom: -110px; }
.loyal .lv { font-size: 13px; font-weight: 700; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.loyal .bal { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.loyal .bal small { font-size: 16px; font-weight: 700; opacity: .9; }
.loyal .progress { background: rgba(255,255,255,.25); }
.loyal .progress i { background: #fff; }
.loyal .hint { font-size: 13px; opacity: .92; margin-top: 8px; }

.order-card { display: block; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order-top b { font-size: 16px; }
.status { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.status.new { background: #fff3cf; color: #8a5a00; }
.status.done { background: var(--line); color: var(--muted); }
.status.canceled { background: #fdecea; color: var(--danger); }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 6px; }
.track i { height: 6px; border-radius: 6px; background: var(--line); }
.track i.on { background: var(--brand); }
.track-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: 10.5px; color: var(--muted); text-align: center; }
.copy { display: flex; gap: 8px; align-items: center; background: var(--bg); border-radius: 12px; padding: 12px; font-weight: 700; margin: 8px 0; }
.copy span { flex: 1; }

/* ---------- нижняя панель ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 700; position: relative; }
.tabbar svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--brand); }
.tab-badge { position: absolute; top: 6px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; display: grid; place-items: center; }

.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 10px); z-index: 35;
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 10px; border-radius: 16px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 10px 28px rgba(14, 124, 74, .4);
  animation: pop .25s ease;
}
.cart-bar span:nth-child(2) { flex: 1; text-align: left; }
.cart-bar-count { min-width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.2); display: grid; place-items: center; }
body.has-cart { padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 84px); }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }

/* ---------- шторка ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 15, 11, .45); animation: fade .2s; }
.sheet {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 24px 24px 0 0; padding: 10px 16px calc(20px + var(--safe-b));
  animation: up .28s cubic-bezier(.2, .9, .3, 1);
}
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 12px; }
.sheet .x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--card); font-size: 18px; box-shadow: var(--shadow); z-index: 2; }
.sheet .hero { aspect-ratio: 4 / 5; border-radius: 20px; display: grid; place-items: center; font-size: 110px; background: var(--tint, var(--brand-soft)); overflow: hidden; margin-bottom: 14px; }
.sheet .hero img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.sheet h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

.toast {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 14px); transform: translateX(-50%); z-index: 90;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100% - 32px); animation: pop .2s;
}
.toast.err { background: var(--danger); color: #fff; }

.install { display: flex; gap: 12px; align-items: center; }
.install .ic { font-size: 30px; }
.skeleton { background: linear-gradient(90deg, var(--line) 0%, var(--card) 50%, var(--line) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); height: 230px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: 28%; }
}

/* ---------- десктоп ---------- */
@media (min-width: 1000px) {
  body, body.has-cart { padding-bottom: 40px; }
  .tabbar, .cart-bar, .chips { display: none !important; }
  .top { padding: 14px 24px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
  .top-row { flex: none; }
  .search { margin: 0; flex: 1; max-width: 620px; }
  .desk-nav { display: flex; gap: 4px; margin-left: 12px; }
  .desk-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 700; color: var(--muted); }
  .desk-nav a.on, .desk-nav a:hover { background: var(--card); color: var(--ink); }
  .top { justify-content: space-between; }
  .layout { display: grid; grid-template-columns: 230px minmax(0, 1fr) 340px; gap: 24px; padding: 20px 24px; }
  .view { padding: 0; }
  .side { display: block; position: sticky; top: 90px; align-self: start; }
  .side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; color: var(--muted); }
  .side a:hover { background: var(--card); color: var(--ink); }
  .side a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
  .side a em { font-style: normal; font-size: 20px; }
  .cart-panel { display: block; position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .hscroll { grid-auto-columns: minmax(180px, 1fr); grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0; padding: 0; overflow: visible; }
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 24px; max-height: 88vh; padding-bottom: 24px; }
  .sheet::before { display: none; }
  body.no-panel .layout { grid-template-columns: 230px minmax(0, 1fr); }
  body.no-panel .cart-panel { display: none; }
}

/* 18+ — прайс без фото, только в магазине */
.r-gate { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.r-gate .big { font-size: 34px; }
.r-gate > div:nth-child(2) { flex: 1; min-width: 180px; }
.r-gate b, .r-gate small { display: block; }
.r-note { font-size: 13px; background: var(--bg); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; color: var(--muted); }
.r-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.r-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.r-name { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-pic {
  flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; font-size: 28px; background: var(--tint, var(--brand-soft));
}
.r-pic img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.r-row:last-child { border-bottom: 0; }
.r-row b { white-space: nowrap; }
.r-row.off { opacity: .5; }
.r-row b { font-size: 16px; }
.r-foot { flex: none; width: 112px; }
.r-foot .add, .r-foot .stepper { height: 36px; }
.r-foot .add { font-size: 13px; padding: 0 8px; }
.r-foot .stepper button { width: 38px; }

.more-btn { margin: 14px 0 4px; }
