/* Лучина — демо интернет-магазина с корзиной */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/lora-cyrillic-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/lora-latin-normal.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; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/lora-cyrillic-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/lora-latin-italic.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; }
@font-face { font-family: 'Manrope'; font-weight: 400 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-weight: 400 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: #FBF7F1; --paper: #FFFFFF; --beige: #F3E9DC; --line: #E8DED2;
  --ink: #2A211B; --ink-soft: #6B5B4E; --muted: #7E6D60;
  --accent: #9A4A24; --accent-dk: #7A3A1B; --accent-lt: #F6E7DD;
  --sage: #4F6147; --sage-lt: #EEF2EA;
  --honey: #E0A63A;
  --err: #8A2E1F; --err-bg: #FBEAE4;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(42,33,27,.05), 0 14px 34px rgba(42,33,27,.09);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 12px; letter-spacing: -.005em; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }
a { color: var(--accent-dk); }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* демо-плашка */
.demo-note { padding: 10px 0; font-size: 14px; background: var(--ink); color: #F3E9DC; }
.demo-note a { color: #fff; font-weight: 700; }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251,247,241,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo svg { width: 22px; height: 28px; flex: none; }
.menu { display: flex; gap: 20px; margin-left: auto; font-size: 15px; font-weight: 600; }
.menu a { color: var(--ink-soft); text-decoration: none; }
.menu a:hover { color: var(--accent-dk); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 100px; background: none; color: var(--ink); font-weight: 700; cursor: pointer; }
.cart-btn:hover { background: var(--ink); color: #fff; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 13px; display: grid; place-items: center; }
.cart-btn__n[data-zero] { background: var(--line); color: var(--ink-soft); }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 100px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--accent-dk); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #CDBFB2; color: #5C4E43; cursor: not-allowed; }
.btn--ghost { background: none; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }

/* первый экран */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 28px; padding-block: 40px 36px; align-items: center; }
.hero__kicker { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--accent-dk); margin-bottom: 10px; }
.hero__lead { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 22px; }
.hero__photo { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.perks { display: grid; gap: 12px; padding-bottom: 38px; }
.perk { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.perk svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 14px; color: var(--ink-soft); }

/* каталог */
.section { padding: 44px 0; }
[id] { scroll-margin-top: 84px; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__lead { color: var(--ink-soft); max-width: 62ch; }
.shop-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { height: 42px; padding: 0 18px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); font-weight: 700; font-size: 15px; cursor: pointer; }
.tab:hover { border-color: var(--ink-soft); }
.tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.sort select { height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font: inherit; color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__photo { position: relative; aspect-ratio: 4 / 5; background: var(--beige); }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__hit { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 100px; background: var(--paper); color: var(--accent-dk); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card__name { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--ink); text-decoration: none; }
.card__name::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__short { font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card__price { font-weight: 800; font-size: 17px; }
.card__add { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.card__add:hover { background: var(--accent-dk); }
.card__add svg { width: 20px; height: 20px; }

/* о мастерской */
.about { display: grid; gap: 24px; align-items: center; }
.about__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 12px; margin-top: 16px; }
.fact { padding-left: 16px; border-left: 3px solid var(--honey); }
.fact b { font-family: var(--serif); font-size: 20px; display: block; }
.fact span { color: var(--ink-soft); font-size: 15px; }

.ship-grid { display: grid; gap: 12px; margin-top: 18px; }
.ship { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ship b { display: block; font-size: 17px; margin-bottom: 4px; }
.ship span { color: var(--ink-soft); font-size: 15px; }
.ship em { font-style: normal; font-weight: 800; color: var(--sage); }

/* подвал */
.footer { padding: 34px 0 46px; background: var(--ink); color: #E8DED2; font-size: 14px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 20px; }
.footer h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 18px; font-weight: 600; color: #fff; }
.footer p { margin: 0 0 6px; }
.footer__note { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); color: #CDBFB2; }

/* карточка товара */
.crumbs { font-size: 14px; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs a { color: var(--ink-soft); }
.product { display: grid; gap: 28px; padding: 18px 0 40px; }
.product__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--beige); max-width: 560px; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__cat { font-size: 14px; font-weight: 700; color: var(--accent-dk); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.product__short { font-size: 18px; color: var(--ink-soft); }
.product__price { font-size: 30px; font-weight: 800; margin: 14px 0 4px; }
.product__stock { font-size: 14px; font-weight: 700; color: var(--sage); }
.product__stock--no { color: var(--err); }
.opt-title { font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 18px 0 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; cursor: pointer; }
.opt:hover { border-color: var(--ink-soft); }
.opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt--out { color: var(--muted); text-decoration: line-through; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; background: var(--paper); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); border-radius: 100px; }
.qty button:disabled { color: #CDBFB2; cursor: default; }
.qty output { min-width: 30px; text-align: center; font-weight: 700; }
.buy .btn { flex: 1; min-width: 200px; }
.added { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--sage); min-height: 24px; }
.specs { margin: 22px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--beige); font-size: 14px; color: var(--ink); }
.notice a { font-weight: 700; }

/* корзина — выезжающая панель */
.overlay { position: fixed; inset: 0; background: rgba(42,33,27,.42); z-index: 80; opacity: 0; transition: opacity .2s; }
.overlay.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 90; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 40px rgba(42,33,27,.18); }
.drawer.show { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 26px; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.x:hover { background: var(--beige); }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 20px; }
.drawer__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--paper); }
.free { margin-bottom: 14px; font-size: 14px; }
.free__bar { height: 8px; border-radius: 100px; background: var(--beige); overflow: hidden; margin-top: 6px; }
.free__bar i { display: block; height: 100%; background: var(--honey); border-radius: 100px; transition: width .3s; }
.free--ok { color: var(--sage); font-weight: 700; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 10px; }
.line__name { font-weight: 700; line-height: 1.3; }
.line__var { font-size: 14px; color: var(--ink-soft); }
.line__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line .qty { height: 38px; }
.line .qty button { width: 36px; font-size: 17px; }
.line__del { border: 0; background: none; color: var(--ink-soft); font-size: 14px; text-decoration: underline; cursor: pointer; padding: 8px 2px; }
.line__sum { font-weight: 800; white-space: nowrap; }
.upsell { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--paper); }
.upsell img { width: 52px; height: 64px; object-fit: cover; border-radius: 8px; }
.upsell div { flex: 1; font-size: 14px; }
.upsell b { display: block; font-size: 15px; }
.upsell button { min-height: 40px; padding: 0 14px; border-radius: 100px; border: 1.5px solid var(--accent); background: none; color: var(--accent-dk); font-weight: 700; cursor: pointer; }
.upsell button:hover { background: var(--accent); color: #fff; }
.total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.total-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.empty b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 6px; }

/* оформление */
.checkout { display: grid; gap: 26px; padding: 12px 0 50px; align-items: start; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box + .box { margin-top: 14px; }
.box h2 { font-size: 22px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .legend { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field textarea { min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #CDBFB2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-lt); }
.field input[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.field small { font-size: 13px; color: var(--ink-soft); }
.field__err { font-size: 14px; font-weight: 700; color: var(--err); }
.two { display: grid; gap: 0 14px; }
.radios { display: grid; gap: 8px; margin-bottom: 14px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; }
.radio:hover { border-color: #CDBFB2; }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.radio b { display: block; }
.radio span { font-size: 14px; color: var(--ink-soft); }
.radio em { font-style: normal; font-weight: 800; white-space: nowrap; margin-left: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex: none; }
.summary .line { grid-template-columns: 56px 1fr auto; }
.summary .line img { width: 56px; height: 70px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row--total { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.form-err { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--err-bg); color: var(--err); font-weight: 700; font-size: 15px; }

.done { max-width: 720px; margin: 0 auto; padding-block: 40px 60px; }
.done__num { display: inline-block; padding: 6px 14px; border-radius: 100px; background: var(--sage-lt); color: var(--sage); font-weight: 800; margin-bottom: 14px; }
.tg { margin-top: 22px; border-radius: 18px; background: #E6EBEF; padding: 18px; }
.tg__label { font-size: 13px; font-weight: 700; color: #4A5968; margin-bottom: 10px; }
.tg__msg { background: #fff; border-radius: 4px 16px 16px 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; box-shadow: 0 1px 2px rgba(0,0,0,.08); font-family: var(--sans); }

/* текстовые страницы */
.doc { max-width: 780px; padding-block: 18px 56px; }
.doc h2 { margin-top: 30px; font-size: 26px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.req { display: grid; gap: 0; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.req div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.req div:last-child { border-bottom: 0; }
.req dt { color: var(--ink-soft); }
.req dd { margin: 0; }

/* как устроено */
.how { display: grid; gap: 14px; margin-top: 18px; }
.how__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.how__item h3 { font-family: var(--sans); font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.how__item p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.no { background: var(--beige); }
.price-row { display: grid; gap: 12px; margin-top: 16px; }
.price-row div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; }
.price-row b { display: block; font-size: 17px; margin-bottom: 4px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--beige); border-radius: 5px; padding: 1px 5px; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 100px; font-weight: 700; font-size: 15px; opacity: 0; transition: .25s; z-index: 70; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 640px) {
  .perks { grid-template-columns: repeat(3, 1fr); }
  .ship-grid { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: repeat(3, 1fr); }
  .how { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1.15fr; padding-block: 56px 44px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .about { grid-template-columns: 420px 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .checkout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .checkout aside { position: sticky; top: 88px; }
}
@media (min-width: 640px) and (max-width: 899px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .menu { display: none; }
  .top__in { justify-content: space-between; }
  .sort { margin-left: 0; width: 100%; }
  .sort select { flex: 1; }
  .specs div, .req div { grid-template-columns: 1fr; gap: 2px; }
  .cart-btn__label { display: none; }
  .demo-long { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Приложение (PWA) ===== */
.install-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; border-radius: 100px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.install-btn:hover { background: var(--accent-dk); }
.install-btn:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.install-btn svg { width: 18px; height: 18px; }
.pwa-hint { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sage-lt); color: var(--ink); font-size: 15px; }
.pwa-hint svg { flex: none; width: 28px; height: 28px; color: var(--sage); margin-top: 2px; }
.net-toast { position: fixed; left: 50%; bottom: 20px; z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow); transform: translate(-50%, 140%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.net-toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 760px) { .install-btn span { display: none; } .install-btn { width: 44px; padding: 0; justify-content: center; } }
@media (display-mode: standalone) { .demo-note { padding-top: max(10px, env(safe-area-inset-top)); } }
