/* PEAK shop. Брендбук «Панджара» v1.0: Lime-фон, арочное окно (свод 0.38 ширины), Unbounded + Manrope, решётка тон-в-тон. */
:root {
  --lime: #E7E1D6;
  --pearl: #F3EFE7;
  --concrete: #DDD8CF;
  --stone: #CFC7B9;
  --midnight: #081B2A;
  --navy: #12304A;
  --ink: #14212B;
  --text-2: #3E4A52;
  --text-3: #4F5A60;
  --champagne: #C7A868;
  --gold: #8E7442;
  --gold-text: #6F5A2E;
  --button: #3D55E8;
  --line: rgba(20, 33, 43, .12);
  --display: 'Unbounded', 'Manrope', Arial, sans-serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', Menlo, monospace;
  --gutter: 16px;
  --tabs-h: 62px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--lime);
  color: var(--ink);
  font: 15px/1.45 var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
button:focus-visible { outline: 2px solid var(--button); outline-offset: 2px; }
input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.app { max-width: 560px; margin: 0 auto; padding-bottom: calc(var(--tabs-h) + 24px + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; overflow-x: clip; }
body.has-bar .app { padding-bottom: calc(var(--tabs-h) + 96px + env(safe-area-inset-bottom, 0px)); }
.app.enter > * { animation: rise .45s var(--ease) both; }
.app.enter > *:nth-child(2) { animation-delay: .04s; }
.app.enter > *:nth-child(3) { animation-delay: .08s; }
.app.enter > *:nth-child(n+4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  padding: 10px var(--gutter);
  background: rgba(231, 225, 214, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .logo { height: 24px; display: block; }
.top-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo-btn { display: block; }
.lang { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { font: 600 11px var(--sans); letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; color: var(--text-2); }
.lang button[aria-pressed="true"] { background: var(--midnight); color: var(--pearl); }
a { color: inherit; }
a.card-open, .line > a { display: block; text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.foot { padding: 28px var(--gutter) 8px; border-top: 1px solid var(--line); margin-top: 24px; display: grid; gap: 12px; }
.foot p { margin: 0; font-size: 12px; color: var(--text-3); max-width: 70ch; }
.foot .co-info { color: var(--text-2); }
.foot p a, .consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.tg-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 999px; background: #2AABEE; color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; }
.submit-inline { display: block; width: 100%; height: 50px; margin: 12px 0 8px; border-radius: 999px; background: var(--button); color: #fff; font-weight: 700; font-size: 15px; text-align: center; }
.pd-name { font: 300 24px/1.12 var(--display); text-transform: uppercase; margin: 6px 0; }
.pd-buy { margin-bottom: 18px; max-width: 320px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 6px 0; }

/* bottom tabs */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
  background: rgba(243, 239, 231, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabs button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  height: 50px; justify-content: center; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--text-3); transition: color .2s;
}
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tabs button[aria-current="page"] { color: var(--midnight); }
.tabs button[aria-current="page"]::before {
  content: ''; position: absolute; top: -7px; left: 50%; width: 28px; height: 2px; margin-left: -14px; background: var(--gold); border-radius: 2px;
}
.badge {
  position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--button); color: #fff; font-size: 10px; display: grid; place-items: center; animation: pop .3s var(--ease);
}

.badge[hidden] { display: none; }
@keyframes pop { from { transform: scale(.4); } to { transform: none; } }

/* bottom action bar (outside Telegram; inside Telegram the MainButton is used) */
.bar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px)); z-index: 19;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(rgba(231, 225, 214, 0), var(--lime) 40%);
}
.bar button {
  display: block; width: 100%; max-width: 528px; margin: 0 auto; height: 50px; border-radius: 999px; text-align: center;
  background: var(--button); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(61, 85, 232, .28);
}
.bar button:disabled { opacity: .5; }
.in-tg .bar { display: none; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px);
  background: var(--midnight); color: var(--pearl); font-size: 13px; padding: 10px 16px; border-radius: 999px;
  opacity: 0; transition: .2s; pointer-events: none; z-index: 30; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translateX(-50%); }
.in-tg .toast { bottom: calc(var(--tabs-h) + 20px + env(safe-area-inset-bottom, 0px)); }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.page-title { font: 300 26px/1.1 var(--display); text-transform: uppercase; margin: 20px var(--gutter) 14px; }
.footnote { padding: 24px var(--gutter) 8px; font-size: 12px; color: var(--text-3); margin: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }

/* windows: arch for own line, rectangle frame for PEAK Select (as on the packaging) */
.window {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%;
  background: var(--tint, var(--concrete));
}
.window.arch { border-radius: 50% 50% 0 0 / 30.4% 30.4% 0 0; }
.window.rect { border-radius: 2px; }
.window.rect::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(255, 246, 225, .7); pointer-events: none; }
.window img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }

/* ===== 1. Brand ===== */
.b-hero { position: relative; padding: 28px var(--gutter) 36px; overflow: hidden; isolation: isolate; }
.b-shadow {
  position: absolute; inset: -30% -60%; z-index: -1;
  background: url(img/shadow.svg) center / 900px auto repeat;
  opacity: .9; animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-6%, -2%, 0) rotate(-1deg); } to { transform: translate3d(5%, 3%, 0) rotate(1deg); } }
.b-arch {
  position: relative; width: min(64%, 260px); aspect-ratio: 4 / 5; margin: 6px auto 28px;
  border-radius: 50% 50% 0 0 / 30.4% 30.4% 0 0; overflow: hidden;
  background: linear-gradient(180deg, #0E2A40, var(--midnight) 70%);
  box-shadow: 0 30px 60px -20px rgba(8, 27, 42, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: archIn 1s var(--ease) both;
}
@keyframes archIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.b-lattice {
  position: absolute; inset: -120px 0 0; background: url(img/tile-midnight.svg) 0 0 / 30px 60px repeat;
  animation: latt 30s linear infinite; opacity: .95;
}
.b-lattice::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 52%, rgba(199, 168, 104, .22), transparent 70%); }
@keyframes latt { to { transform: translateY(60px); } }
.b-arc { position: relative; width: 62%; fill: var(--champagne); animation: wipe 1.3s .55s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.b-word {
  position: relative; margin-top: 10px; font: 300 30px/1 var(--display); letter-spacing: .38em; padding-left: .38em; color: var(--pearl);
  animation: fade 1s 1.1s both;
}
.b-sub { position: relative; margin-top: 8px; font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--champagne); animation: fade 1s 1.3s both; }
@keyframes fade { from { opacity: 0; letter-spacing: .6em; } }
.b-title { font: 300 30px/1.1 var(--display); text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; }
.b-title span { display: block; overflow: hidden; animation: line .8s var(--ease) both; }
.b-title span:nth-child(1) { animation-delay: .9s; }
.b-title span:nth-child(2) { animation-delay: 1s; }
.b-title span:nth-child(3) { animation-delay: 1.15s; }
.b-title span:nth-child(4) { animation-delay: 1.25s; }
@keyframes line { from { opacity: 0; transform: translateY(70%); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.gold { color: var(--gold); }
.b-lead { color: var(--text-2); max-width: 34ch; margin: 0 0 22px; animation: rise .8s 1.4s var(--ease) both; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--midnight); color: var(--pearl); font-weight: 700; font-size: 14px; letter-spacing: .03em;
  animation: rise .8s 1.5s var(--ease) both;
}
.cta::after { content: '\2192'; transition: transform .25s; }
.cta:active::after { transform: translateX(4px); }

.b-sec { padding: 32px var(--gutter); border-top: 1px solid var(--line); position: relative; }
.b-sec p { margin: 0; color: var(--text-2); max-width: 60ch; }
.b-h2 { font: 300 22px/1.15 var(--display); text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.line-card { display: flex; flex-direction: column; gap: 6px; }
.line-card .window { margin-bottom: 8px; }
.line-card h3 { margin: 0; font: 400 13px/1.2 var(--display); text-transform: uppercase; }
.line-card p { font-size: 13px; color: var(--text-3); }
.line-card:active img { transform: scale(1.04); }

.dirs { display: grid; }
.dir-row {
  display: grid; grid-template-columns: 10px 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.dir-row:first-child { border-top: 1px solid var(--line); }
.dir-row .dot { width: 9px; height: 9px; }
.dir-name { font: 400 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.dir-n { font: 500 12px var(--mono); color: var(--text-3); grid-row: span 2; }
.dir-text { grid-column: 2; font-size: 13px; color: var(--text-3); }

.b-dark { background: var(--midnight); color: var(--pearl); border: 0; overflow: hidden; }
.b-dark .eyebrow { color: var(--champagne); }
.b-dark-lattice { position: absolute; inset: 0; background: url(img/tile-midnight.svg) 0 0 / 30px 60px repeat; opacity: .8; pointer-events: none; }
.b-dark > *:not(.b-dark-lattice) { position: relative; }
.proto { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.proto li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid rgba(188, 201, 206, .18); }
.proto time { font: 500 15px var(--mono); color: var(--champagne); grid-row: span 2; padding-top: 1px; }
.proto b { font: 400 13px/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.proto span { font-size: 13px; color: #B9C4C8; }

.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.trust div { background: var(--lime); padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.trust b { font: 300 20px/1 var(--display); text-transform: uppercase; color: var(--gold); }
.trust span { font-size: 12.5px; color: var(--text-2); }

/* ===== 2. Catalog ===== */
.cat-head { display: flex; align-items: baseline; justify-content: space-between; padding-right: var(--gutter); }
.cat-n { font: 500 12px var(--mono); color: var(--text-3); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s;
}
.chip[aria-pressed="true"] { background: var(--midnight); color: var(--pearl); border-color: var(--midnight); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--gutter); }
.card { background: var(--pearl); border-radius: 4px; padding: 8px 8px 12px; display: flex; flex-direction: column; min-width: 0; }
.card-open { display: block; }
.card-open:active img { transform: scale(1.04); }
.dir {
  display: flex; align-items: center; gap: 6px; margin: 12px 0 4px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3);
}
.card h3 { margin: 0; font: 400 13px/1.25 var(--display); text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; }
.card .form { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.card .row { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.price { font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.add { height: 38px; border-radius: 999px; background: var(--midnight); color: var(--pearl); font-size: 13px; font-weight: 600; width: 100%; text-align: center; }
.add:active { transform: scale(.97); }
.add:disabled { background: var(--stone); color: var(--text-3); }
.stepper {
  height: 38px; border-radius: 999px; border: 1px solid var(--midnight); background: var(--pearl);
  display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; text-align: center;
  font-weight: 700; font-size: 14px; width: 100%;
}
.stepper button { height: 100%; font-size: 18px; text-align: center; }
.disc { font-size: 10.5px; color: var(--text-3); margin-top: 8px; line-height: 1.35; }

/* product page */
.pd-win { margin: 12px var(--gutter) 0; }
.pd-body { padding: 0 var(--gutter); }
.pd h2 { font: 300 24px/1.12 var(--display); text-transform: uppercase; margin: 6px 0; }
.pd .meta { color: var(--text-3); font-size: 13px; }
.pd .lead { font-size: 16px; margin: 16px 0; }
.price-l { font-size: 22px; font-weight: 700; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.block { border-top: 1px solid var(--line); padding: 14px 0; }
.block h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.block p { margin: 0; color: var(--text-2); font-size: 14px; }
.warn { background: var(--pearl); border-left: 2px solid var(--gold); padding: 10px 12px; font-size: 13px; color: var(--text-2); margin: 4px 0 14px; }

/* ===== 3. Cart ===== */
.line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; margin: 0 var(--gutter); padding: 12px 0; border-bottom: 1px solid var(--line); }
.line > div { min-width: 0; }
.line h3 { margin: 0 0 2px; font: 400 12px/1.25 var(--display); text-transform: uppercase; }
.line .sub { font-size: 12px; color: var(--text-3); }
.line .bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.line .stepper { width: 112px; height: 32px; grid-template-columns: 32px 1fr 32px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px var(--gutter); font-size: 15px; }
.total b { font-size: 20px; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 48px var(--gutter); color: var(--text-2); }
.empty .arch-mini { width: 72px; height: 90px; margin: 0 auto 16px; border-radius: 50% 50% 0 0 / 30.4% 30.4% 0 0; background: var(--concrete); }
.ghost { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--midnight); font-weight: 600; font-size: 14px; text-align: center; }
.ghost.small { height: 36px; font-size: 13px; margin: -4px 0 16px; }

form.co { padding: 0 var(--gutter); }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--pearl); border-radius: 4px; padding: 12px; font-size: 16px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--midnight); }
.field textarea { min-height: 72px; resize: vertical; }
.field.err input { border-color: #B3412E; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seg label { border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: var(--pearl); font-size: 14px; font-weight: 600; cursor: pointer; }
.seg label small { display: block; font-weight: 400; font-size: 12px; color: var(--text-3); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--midnight); box-shadow: inset 0 0 0 1px var(--midnight); }
.hint { font-size: 12px; color: var(--text-3); margin: -4px 0 16px; }

.done { text-align: center; padding: 40px var(--gutter); }
.done-win { width: 160px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--midnight); }
.done-win .b-arc { width: 64%; }
.done h2 { font: 300 24px/1.15 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.done p { color: var(--text-2); margin: 0 auto 8px; max-width: 32ch; }
.done .num { font-weight: 700; color: var(--ink); }

/* ===== Сайт на компьютере ===== */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { font-size: 16px; }
  .app { max-width: 1200px; padding-bottom: 48px; }
  body.has-bar .app { padding-bottom: 120px; }
  .top { min-height: 68px; padding-right: 420px; }
  .top .logo { height: 28px; }
  .tabs {
    position: fixed; top: 0; bottom: auto; left: auto; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); z-index: 11;
    display: flex; gap: 6px; height: 68px; align-items: center; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .tabs button { flex-direction: row; gap: 8px; height: 40px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
  .tabs svg { width: 18px; height: 18px; }
  .tabs button[aria-current="page"] { background: var(--midnight); color: var(--pearl); }
  .tabs button[aria-current="page"]::before { display: none; }
  .badge { position: static; margin-left: 2px; }
  .lang { margin-right: 0; }
  .bar { bottom: 0; background: none; padding-bottom: 24px; }
  .bar button { max-width: 420px; }
  .toast { bottom: 96px; }

  .b-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding: 64px var(--gutter) 72px; }
  .b-arch { order: 2; width: min(100%, 400px); margin: 0 auto; }
  .b-copy { order: 1; }
  .b-title { font-size: clamp(40px, 4.6vw, 60px); }
  .b-lead { font-size: 18px; max-width: 40ch; }
  .b-sec { padding: 64px var(--gutter); display: grid; grid-template-columns: 280px 1fr; column-gap: 48px; align-items: start; }
  .b-sec > .eyebrow { grid-column: 1; grid-row: 1 / span 3; padding-top: 6px; }
  .b-sec > *:not(.eyebrow):not(.b-dark-lattice) { grid-column: 2; }
  .b-h2 { font-size: 32px; }
  .b-sec p { font-size: 17px; }
  .lines { grid-template-columns: 1fr 1fr; gap: 28px; max-width: 720px; }
  .proto li { grid-template-columns: 96px 1fr; padding: 18px 0; }
  .proto time { font-size: 18px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust div { padding: 22px 18px; }

  .page-title { font-size: 36px; margin-top: 36px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 12px 12px 16px; }
  .card h3 { font-size: 15px; }
  .card .row { flex-direction: row; align-items: center; justify-content: space-between; }
  .card .add, .card .stepper { width: 150px; }
  .window img { transition: transform .8s var(--ease); }
  .card:hover .window img, .line-card:hover .window img { transform: scale(1.04); }

  .pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 36px var(--gutter) 0; align-items: start; }
  .pd-win { margin: 0; position: sticky; top: 100px; }
  .pd-body { padding: 0; }
  .pd .foot { grid-column: 1 / -1; }
  .pd-name { font-size: 40px; }

  .cart-list, .app[data-view="cart"] .total, .app[data-view="cart"] .footnote, form.co, .app[data-view="cart-checkout"] .page-title, .app[data-view="cart"] .page-title, .empty { max-width: 720px; margin-left: auto; margin-right: auto; }
  .app[data-view="cart"] .page-title, .app[data-view="cart-checkout"] .page-title { padding: 0 var(--gutter); }
  .line { grid-template-columns: 96px 1fr; }
  .app[data-view="cart"] .total { padding: 0 var(--gutter); box-sizing: border-box; }
}
@media (min-width: 1150px) { .grid { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 520px) {
  .grid { gap: 14px; }
  .b-title { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
