@charset "UTF-8";
/* Светлая тема «Клевер»: ФАЙЛ СГЕНЕРИРОВАН из statica/space/shop.css скриптом _tools/gen_klever.py — вручную не править. Ручные правки — в statica/space/klever.css. */
/* ==========================================================================
   Магазин цифровых товаров (v2.20): витрина, товар, корзина, покупки, мой магазин, мои товары, всплывающие уведомления.
   Страницы — templates/shop*.tpl, сценарий — shop.js. Цвета и скругления — из темы «Глубокий космос» (переменные --sp-*).
   ========================================================================== */
.shp { padding: 0 7px 14px; color: var(--sp-text, #28312d); font-size: 14px; line-height: 1.5; }
.shp *, .shp *::before, .shp *::after { box-sizing: border-box; }
.shp a { text-decoration: none; }
.shp small { font-size: 12px; }
.shp [hidden] { display: none !important; }

/* --- кнопки --- */
.shp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 18px; border: 0; border-radius: 12px; cursor: pointer;
  font: 600 14px/1.2 var(--sp-font, Arial, sans-serif); color: #101412 !important; text-align: center;
  background: var(--sp-accent-grad, linear-gradient(135deg, #adea53, #adea53 55%, #40964f)); box-shadow: 0 8px 20px -10px rgba(110, 170, 60, 0.332), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform .18s, filter .18s, box-shadow .18s; }
.shp-btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.shp-btn:active { transform: translateY(1px); }
.shp-btn:disabled, .shp-btn.is-busy { cursor: default; filter: grayscale(.7) brightness(.75); transform: none; pointer-events: none; }
.shp-btn--ghost { color: var(--sp-head, #161b18) !important; background: rgba(196, 240, 130, 0.1); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.133); }
.shp-btn--ghost:hover { background: rgba(196, 240, 130, 0.2); filter: none; }
.shp-btn--big { min-height: 48px; padding: 12px 26px; font-size: 15px; }

/* --- вкладки магазина --- */
.shp-nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 16px; padding: 6px; border-radius: 16px; background: rgba(247, 250, 245, 0.45); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-nav__i { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 9px; border-radius: 11px;
  color: #35413b; font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background-color .18s, color .18s; }
.shp-nav__i:hover { background: rgba(196, 240, 130, 0.12); color: #101412; }
.shp-nav__i.is-cur { color: #101412; background: var(--sp-accent-grad, linear-gradient(135deg, #adea53, #adea53 55%, #40964f)); box-shadow: 0 8px 18px -10px rgba(110, 170, 60, 0.332); }
.shp .shp-nav__n { color: #22593d !important; }
.shp-nav__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 700; font-style: normal; color: #22593d; background: var(--sp-gold, #c6f086); }
.shp-tabs { display: flex; gap: 6px; margin: 0 0 14px; border-bottom: 1px solid rgba(47, 122, 79, 0.162); }
.shp-tabs a { padding: 9px 16px; border-radius: 10px 10px 0 0; color: #3b4841; font-weight: 600; }
.shp-tabs a.is-cur { color: #101412; background: rgba(196, 240, 130, 0.14); box-shadow: inset 0 -2px 0 var(--sp-cyan, rgba(110, 170, 60, 0.35)); }

/* --- поиск и отбор --- */
.shp-find { display: grid; grid-template-columns: 2fr 1.4fr 1.3fr .8fr .8fr; gap: 10px 12px; align-items: end; margin: 0 0 14px; padding: 14px; border-radius: 16px;
  background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-find__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shp-find__f > span, .shp-f > span { font-size: 12px; color: #2f7a4f; }
.shp input[type="text"], .shp input[type="search"], .shp input[type="url"], .shp select, .shp textarea {
  width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 11px; border: 1px solid rgba(47, 122, 79, 0.252); background: var(--sp-field, rgba(249, 251, 247, 0.62));
  color: var(--sp-head, #161b18); font: 14px/1.4 var(--sp-font, Arial, sans-serif); outline: none; transition: border-color .18s, box-shadow .18s; }
.shp textarea { resize: vertical; min-height: 84px; }
.shp input:focus, .shp select:focus, .shp textarea:focus { border-color: var(--sp-cyan, #2f7a4f); box-shadow: 0 0 0 3px rgba(110, 170, 60, 0.056); }
.shp select option { background: #f5f8f2; color: #1a201d; }
.shp-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: #2e3833; }
.shp-find .shp-check { grid-column: 1 / 4; }
.shp-check input { width: 18px; height: 18px; flex: none; accent-color: #2f7a4f; }
.shp-check--box { display: flex; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(198, 240, 134, 0.07); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.098); }
.shp-check--box input { margin-top: 2px; }
.shp-find__btns { grid-column: 4 / 6; display: flex; gap: 8px; justify-content: flex-end; }

/* --- разделы и сортировка --- */
.shp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.shp-cat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; color: #2e3833; font-size: 13px; background: rgba(196, 240, 130, 0.08);
  box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.077); transition: background-color .18s, box-shadow .18s, color .18s; }
.shp-cat b { font-size: 11px; font-weight: 700; color: #5d7267; }
.shp-cat:hover { color: #101412; background: rgba(196, 240, 130, 0.18); }
.shp-cat.is-cur { color: #101412; background: linear-gradient(135deg, rgba(173, 234, 83, 0.55), rgba(173, 234, 83, 0.5)); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.21); }
.shp-cat.is-cur b { color: #1b211e; }
.shp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 14px; }
.shp-bar__n { color: #2f7a4f; }
.shp-bar__n b { color: var(--sp-head, #161b18); }
.shp-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: #2f7a4f; }
.shp-sort a { padding: 4px 10px; border-radius: 999px; color: #3b4841; }
.shp-sort a:hover { color: #101412; background: rgba(196, 240, 130, 0.14); }
.shp-sort a.is-cur { color: #101412; background: rgba(196, 240, 130, 0.22); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.158); }

/* --- витрина: три карточки в ряд, три ряда на странице --- */
.shp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shp-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 16px; overflow: hidden; color: inherit;
  background: linear-gradient(180deg, rgba(237, 243, 232, 0.72), rgba(247, 249, 244, 0.86)); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)), 0 10px 26px -18px rgba(32, 59, 42, 0.27);
  transition: transform .22s, box-shadow .22s; }
.shp-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--sp-edge-hi, rgba(110, 170, 60, 0.175)), 0 18px 36px -18px rgba(110, 170, 60, 0.262); }
.shp-card__pic { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 30% 25%, #307655, #eef4ea 60%, #f6f9f4); }
.shp-card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.shp-card:hover .shp-card__pic img { transform: scale(1.06); }
.shp-card__pic.is-empty, .shp-item__pic.is-empty, .shp-row__pic.is-empty, .shp-imgpick__view.is-empty { display: grid; place-items: center; }
.shp-card__pic.is-empty > i { font-size: 46px; color: rgba(47, 122, 79, 0.5); filter: drop-shadow(0 0 16px rgba(110, 170, 60, 0.14)); }
.shp-tag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; font-style: normal; line-height: 1.5; color: #0b261a;
  background: linear-gradient(135deg, #a7f3d0, #34d399); box-shadow: 0 4px 12px -4px rgba(32, 59, 42, 0.21); }
.shp-tag--ref { left: auto; right: 10px; color: #22593d; background: linear-gradient(135deg, #d4f4a4, #adea53); }
.shp-card__body { display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; padding: 12px 14px 14px; min-width: 0; }
.shp-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; font-weight: 700; font-size: 15px; line-height: 1.35;
  color: var(--sp-head, #161b18); overflow-wrap: anywhere; }
.shp-card__meta { display: block; font-size: 12px; color: #2f7a4f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shp-card__meta i { width: 15px; color: #2f7a4f; }
.shp-card__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 9px; border-top: 1px solid rgba(47, 122, 79, 0.126); }
.shp-card__price { font-size: 19px; font-weight: 800; color: var(--sp-gold, #2f7a4f); white-space: nowrap; text-shadow: none; }
.shp-card__price small { font-size: 12px; font-weight: 600; color: #2f7a4f; }
.shp-card__sold { font-size: 11px; color: #5d7267; white-space: nowrap; }

/* --- пустые состояния, плашки, показатели --- */
.shp-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 18px; border-radius: 16px; text-align: center;
  background: rgba(245, 248, 242, 0.45); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-empty > i { font-size: 44px; color: rgba(47, 122, 79, 0.55); }
.shp-empty > b { font-size: 17px; color: var(--sp-head, #161b18); }
.shp-empty > span { color: #2f7a4f; max-width: 440px; }
.shp-empty .shp-btn { margin-top: 8px; }
.shp-note { display: block; padding: 10px 14px; margin: 0 0 12px; border-radius: 12px; font-size: 13px; color: #2a342f; background: rgba(196, 240, 130, 0.09); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.091); }
.shp-note--ok { color: #2c3631; background: rgba(94, 227, 154, 0.1); box-shadow: inset 0 0 0 1px rgba(94, 227, 154, 0.108); }
.shp-note--warn { color: #2f7a4f; background: rgba(198, 240, 134, 0.09); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.112); }
.shp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin: 0 0 14px; border-radius: 14px; }
.shp-alert > i { flex: none; margin-top: 2px; font-size: 18px; }
.shp-alert--warn { color: #2f7a4f; background: rgba(198, 240, 134, 0.09); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.119); }
.shp-alert--ok { color: #2c3631; background: rgba(94, 227, 154, 0.1); box-shadow: inset 0 0 0 1px rgba(94, 227, 154, 0.114); }
.shp-st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.6; white-space: nowrap; color: #2d3732; background: rgba(148, 164, 184, 0.16); }
.shp-st--ok { color: #298e57; background: rgba(94, 227, 154, 0.14); }
.shp-st--wait { color: #2f7a4f; background: rgba(198, 240, 134, 0.14); }
.shp-st--bad { color: #ba2c39; background: rgba(255, 122, 133, 0.16); }
.shp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.shp-kpi { padding: 12px 14px; border-radius: 14px; background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-kpi span { display: block; font-size: 12px; color: #2f7a4f; }
.shp-kpi b { display: block; margin-top: 3px; font-size: 19px; color: var(--sp-head, #161b18); white-space: nowrap; }
.shp-h { margin: 18px 0 10px; font-size: 16px; color: var(--sp-head, #161b18); }
.shp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }

/* --- страница товара --- */
.shp-crumbs { margin: 0 0 12px; font-size: 13px; color: #5d7267; }
.shp-crumbs i { margin: 0 6px; font-size: 10px; }
.shp-item { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; margin: 0 0 18px; }
.shp-item__pic { align-self: start; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: radial-gradient(circle at 30% 25%, #307655, #eef4ea 60%, #f6f9f4);
  box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)), 0 20px 44px -26px rgba(110, 170, 60, 0.28); }
.shp-item__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.shp-item__pic.is-empty > i { font-size: 90px; color: rgba(47, 122, 79, 0.5); }
.shp-item__side { min-width: 0; }
.shp-item__title { margin: 0 0 10px; font-size: 24px; line-height: 1.25; color: var(--sp-head, #161b18); overflow-wrap: anywhere; }
.shp-item__price { margin: 0 0 14px; font-size: 34px; font-weight: 800; line-height: 1.25; color: var(--sp-gold, #2f7a4f); text-shadow: none; }
.shp-item__price small { font-size: 16px; font-weight: 600; color: #2f7a4f; }
.shp-item__buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.shp-item__buy .shp-btn { flex: 1 1 180px; min-height: 48px; font-size: 15px; }
.shp-item__buy .shp-note { flex: 1 1 100%; margin: 0; }
.shp-item__hint { margin: 0 0 14px; font-size: 12px; color: #2f7a4f; }
.shp-item__hint i { color: var(--sp-green, #298e57); }
.shp-facts { list-style: none; margin: 0 0 14px; padding: 0; border-radius: 14px; overflow: hidden; background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: 13px; }
.shp-facts li + li { border-top: 1px solid rgba(47, 122, 79, 0.09); }
.shp-facts span { color: #2f7a4f; }
.shp-facts b { color: var(--sp-head, #161b18); text-align: right; }
.shp-seller { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: inherit; background: rgba(196, 240, 130, 0.08); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.091); transition: background-color .18s; }
.shp-seller:hover { background: rgba(196, 240, 130, 0.16); }
.shp-seller > span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.shp-seller b { display: block; color: var(--sp-head, #161b18); overflow-wrap: anywhere; }
.shp-seller small { color: #2f7a4f; }
.shp-seller__ico, .shp-shophead__ico, .shp-hero__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 19px; color: #101412; background: linear-gradient(135deg, #baed6e, #40964f); }
.shp-block { margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: rgba(245, 248, 242, 0.45); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-block > h2 { margin: 0 0 10px; font-size: 17px; color: var(--sp-head, #161b18); }
.shp-block > h2 i { color: var(--sp-gold, #2f7a4f); margin-right: 4px; }
.shp-block > p { margin: 0 0 12px; }
.shp-descr { font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.shp-refbox { background: linear-gradient(135deg, rgba(198, 240, 134, 0.1), rgba(245, 248, 242, 0.45) 60%); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.105); }
.shp-refbox p b { color: var(--sp-gold, #2f7a4f); white-space: nowrap; }
.shp-copy { display: flex; gap: 8px; align-items: stretch; }
.shp-copy input { flex: 1 1 0; min-width: 0; font-size: 13px; }
.shp-copy .shp-btn { flex: none; }
.shp-rules { margin: 0; padding-left: 20px; list-style: disc; }
.shp-rules li::marker { color: var(--sp-cyan, #2f7a4f); }
.shp-rules li { margin: 0 0 6px; }

/* --- строки: корзина, покупки, мои товары --- */
.shp-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 0 0 10px; border-radius: 14px; background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-row.is-off { opacity: .62; }
.shp-row__pic { flex: none; display: block; width: 92px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 30% 25%, #307655, #eef4ea 60%, #f6f9f4); }
.shp-row__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shp-row__pic.is-empty > i { font-size: 24px; color: rgba(47, 122, 79, 0.5); }
.shp-row__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shp-row__title { font-weight: 700; font-size: 15px; color: var(--sp-head, #161b18) !important; overflow-wrap: anywhere; }
.shp-row__title:hover { color: var(--sp-link-hover, #1e2521) !important; }
.shp-row__meta { font-size: 12px; color: #2f7a4f; }
.shp-row__why { font-size: 12px; color: #ba2c39; }
.shp-row__price { flex: none; font-size: 17px; font-weight: 800; color: var(--sp-gold, #2f7a4f); white-space: nowrap; }
.shp-row__price small { font-size: 12px; font-weight: 600; color: #2f7a4f; }
.shp-row__del, .shp-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 38px; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; cursor: pointer;
  font: 600 13px/1 var(--sp-font, Arial, sans-serif); color: #2e3833 !important; background: rgba(196, 240, 130, 0.1); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.105); transition: background-color .18s, color .18s; }
.shp-row__del:hover, .shp-ico--bad:hover { color: #101412 !important; background: rgba(255, 122, 133, 0.28); box-shadow: inset 0 0 0 1px rgba(255, 122, 133, 0.18); }
.shp-ico:hover { color: #101412 !important; background: rgba(196, 240, 130, 0.22); }
.shp-ico span { display: none; }
.shp-row__acts { flex: none; display: flex; gap: 6px; }
.shp-total { margin: 14px 0 0; padding: 16px 18px; border-radius: 16px; background: rgba(245, 248, 242, 0.55); box-shadow: inset 0 0 0 1px var(--sp-edge-hi, rgba(110, 170, 60, 0.14)); }
.shp-total__sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.shp-total__sum span { color: #3b4841; }
.shp-total__sum b { font-size: 26px; color: var(--sp-gold, #2f7a4f); white-space: nowrap; }
.shp-total__hint { margin: 10px 0 0; font-size: 12px; color: #2f7a4f; }
.shp-pays { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.shp-pay { flex: 1 1 200px; cursor: pointer; }
.shp-pay input { position: absolute; opacity: 0; pointer-events: none; }
.shp-pay span { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 14px; border-radius: 12px; color: #2e3833; background: rgba(196, 240, 130, 0.08); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.098); transition: box-shadow .18s, background-color .18s; }
.shp-pay input:checked + span { color: #101412; background: rgba(173, 234, 83, 0.28); box-shadow: inset 0 0 0 2px var(--sp-cyan, rgba(110, 170, 60, 0.35)); }
.shp-pay input:focus-visible + span { outline: 2px solid var(--sp-cyan, #2f7a4f); outline-offset: 2px; }
.shp-payform { margin: 14px 0 0; padding: 18px; border-radius: 16px; text-align: center; background: rgba(94, 227, 154, 0.08); box-shadow: inset 0 0 0 1px rgba(94, 227, 154, 0.108); }
.shp-payform__head { margin: 0 0 12px; }
.shp-payform__head b { display: block; font-size: 18px; color: var(--sp-head, #161b18); }
.shp-payform__head span { color: #2c3631; }
.shp-payform .btn { display: inline-block; margin: 4px; }
.shp-buy { margin: 0 0 12px; padding: 14px 16px; border-radius: 16px; background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-buy__top { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.shp-buy__right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.shp-buy__get { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0 0 10px; }
.shp-buy__get .shp-copy { flex: 1 1 280px; }
.shp-buy__note { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; font-size: 13px; overflow-wrap: anywhere; background: rgba(249, 251, 247, 0.5); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.07); }
.shp-buy .shp-note:last-child, .shp-buy__get:last-child, .shp-buy__note:last-child { margin-bottom: 0; }
.shp-claim summary { cursor: pointer; font-size: 13px; color: var(--sp-link, #2f7a4f); }
.shp-claim[open] summary { margin-bottom: 10px; }
.shp-claim textarea { margin: 0 0 10px; }

/* --- мой магазин --- */
.shp-hero, .shp-shophead { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 18px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(173, 234, 83, 0.2), rgba(64, 150, 79, 0.12) 60%, rgba(245, 248, 242, 0.45)); box-shadow: inset 0 0 0 1px var(--sp-edge-hi, rgba(110, 170, 60, 0.14)); }
.shp-hero__ico { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; }
.shp-hero h2 { margin: 0 0 6px; font-size: 20px; color: var(--sp-head, #161b18); }
.shp-hero p { margin: 0; color: #2e3833; }
.shp-shophead > div { flex: 1 1 0; min-width: 0; }
.shp-shophead b { display: block; font-size: 19px; color: var(--sp-head, #161b18); overflow-wrap: anywhere; }
.shp-shophead span { font-size: 13px; color: #2f7a4f; }
.shp-shophead p { margin: 6px 0 0; font-size: 13px; color: #2e3833; overflow-wrap: anywhere; }
.shp-steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: shp; display: grid; gap: 10px; }
.shp-steps li { counter-increment: shp; position: relative; padding: 12px 14px 12px 56px; border-radius: 14px; background: rgba(245, 248, 242, 0.45); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-steps li::before { content: counter(shp); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; color: #101412; background: var(--sp-accent-grad, linear-gradient(135deg, #adea53, #adea53 55%, #40964f)); }
.shp-steps b { color: var(--sp-head, #161b18); }

/* --- формы «блоками» (v2.21): каждое поле — полоса на всю ширину, слева название и пояснение, справа поле; полосы идут одна под другой --- */
.shp-lines { display: block; margin: 0; }
.shp-line { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 8px 22px; align-items: start; margin: 0 0 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); transition: box-shadow .18s; }
.shp-line:focus-within { box-shadow: inset 0 0 0 1px var(--sp-edge-hi, rgba(110, 170, 60, 0.175)); }
.shp-line__lbl { display: block; min-width: 0; padding-top: 9px; cursor: default; }
label.shp-line__lbl { cursor: pointer; }
.shp-line__lbl b { display: block; font-size: 14px; color: var(--sp-head, #161b18); }
.shp-line__lbl small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: #596d63; }
.shp-line__ctl { min-width: 0; }
.shp-line__ctl .shp-calc { margin-top: 8px; }
.shp-line__ctl .shp-check--box { margin: 0; }
.shp-lines__foot { margin: 16px 0 0; }

/* --- формы --- */
.shp-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 760px; }
.shp-form > * { grid-column: 1 / -1; min-width: 0; }
.shp-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.shp-f > span i { font-style: normal; color: #566880; }
.shp-f > span i::before { content: "— "; }
.shp-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.shp-imgpick { display: flex; align-items: center; gap: 14px; }
.shp-imgpick__view { flex: none; display: block; width: 160px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 30% 25%, #307655, #eef4ea 60%, #f6f9f4); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.098); }
.shp-imgpick__view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shp-imgpick__view.is-empty > i { font-size: 34px; color: rgba(47, 122, 79, 0.5); }
.shp-imgpick small { display: block; margin-top: 8px; color: #2f7a4f; overflow-wrap: anywhere; }
.shp-filebtn { position: relative; overflow: hidden; }
.shp-filebtn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.shp-calc { justify-content: center; min-height: 62px; padding: 10px 14px; border-radius: 12px; font-size: 13px; color: #2a342f; background: rgba(94, 227, 154, 0.07); box-shadow: inset 0 0 0 1px rgba(94, 227, 154, 0.078); }
.shp-calc:empty { display: none; }
.shp-calc b { color: #298e57; white-space: nowrap; }

/* --- таблицы --- */
.shp-tblwrap { overflow-x: auto; margin: 0 0 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
.shp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.shp-tbl th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 600; color: #2f7a4f; white-space: nowrap; background: rgba(173, 234, 83, 0.14); }
.shp-tbl td { padding: 10px 12px; vertical-align: top; border-top: 1px solid rgba(47, 122, 79, 0.09); overflow-wrap: anywhere; }
.shp-tbl .is-num { text-align: right; white-space: nowrap; }
.shp-tbl small { display: block; color: #5d7267; font-size: 11px; }
.shp-tbl a { color: var(--sp-link, #2f7a4f); }

/* --- всплывающие уведомления магазина (правый нижний угол) --- */
.shp-pops { position: fixed; right: 18px; bottom: 86px; z-index: 990; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 24px)); pointer-events: none; }
.shp-pop { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 40px 14px 14px; position: relative; border-radius: 16px; color: var(--sp-text, #28312d);
  background: linear-gradient(135deg, rgba(233, 239, 246, 0.97), rgba(244, 247, 241, 0.97)); box-shadow: 0 22px 50px -16px rgba(32, 59, 42, 0.285), inset 0 0 0 1px var(--sp-edge-hi, rgba(110, 170, 60, 0.175));
  animation: shp-pop-in .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.shp-pop.is-out { animation: shp-pop-out .3s ease-in both; }
.shp-pop__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 18px; color: #101412; background: linear-gradient(135deg, #baed6e, #40964f); }
.shp-pop--sale .shp-pop__ico, .shp-pop--ref .shp-pop__ico { background: linear-gradient(135deg, #adea53, #beee77); }
.shp-pop--refund .shp-pop__ico, .shp-pop--claim .shp-pop__ico, .shp-pop--bad .shp-pop__ico { background: linear-gradient(135deg, #f43f5e, #40964f); }
.shp-pop--ok .shp-pop__ico, .shp-pop--buy .shp-pop__ico { background: linear-gradient(135deg, #10b981, #40964f); }
.shp-pop__txt { flex: 1 1 0; min-width: 0; }
.shp-pop__txt b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--sp-head, #161b18); }
.shp-pop__txt span { display: block; font-size: 13px; overflow-wrap: anywhere; }
.shp-pop__txt a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--sp-cyan, #2f7a4f); }
.shp-pop__x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 8px; cursor: pointer; font-size: 15px; color: #2f7a4f; background: transparent; }
.shp-pop__x:hover { color: #101412; background: rgba(25, 61, 45, 0.07); }
@keyframes shp-pop-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes shp-pop-out { to { opacity: 0; transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) { .shp-pop, .shp-pop.is-out { animation: none; } .shp-card, .shp-card__pic img, .shp-btn { transition: none; } }

/* --- планшет и телефон --- */
@media (max-width: 900px) {
  .shp-find { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shp-find__f--wide, .shp-find .shp-check, .shp-find__btns { grid-column: 1 / -1; }
  .shp-find__btns { justify-content: stretch; }
  .shp-find__btns .shp-btn { flex: 1 1 0; }
}
@media (max-width: 760px) {
  .shp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shp-item { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .shp-item__title { font-size: 21px; }
  .shp-item__price { font-size: 30px; }
}
@media (max-width: 600px) {
  .shp { padding: 0 2px 12px; }
  .shp-nav { gap: 6px; }
  .shp-nav__i { flex: 1 1 calc(50% - 6px); padding: 8px 8px; font-size: 13px; }
  .shp-cats { flex-wrap: nowrap; overflow-x: auto; margin-right: -2px; padding-bottom: 6px; scrollbar-width: thin; }
  .shp-cat { flex: none; }
  .shp-card__body { padding: 10px 10px 12px; }
  .shp-card__title { font-size: 14px; }
  .shp-card__foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .shp-card__price { font-size: 17px; }
  .shp-tag { left: 6px; top: 6px; padding: 2px 7px; font-size: 10px; }
  .shp-tag--ref { left: 6px; right: auto; top: auto; bottom: 6px; }
  .shp-row { flex-wrap: wrap; gap: 10px 12px; }
  .shp-row__pic { width: 72px; }
  .shp-row__main { flex: 1 1 calc(100% - 90px); }
  .shp-row__price { margin-left: 84px; }
  .shp-row__del { margin-left: auto; }
  .shp-row__acts { flex: 1 1 100%; }
  .shp-row__acts .shp-ico { flex: 1 1 0; height: 42px; }
  .shp-ico span { display: inline; }
  .shp-buy__top { flex-wrap: wrap; }
  .shp-buy__right { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .shp-buy__get .shp-btn, .shp-copy .shp-btn { flex: 1 1 100%; }
  .shp-copy { flex-wrap: wrap; }
  .shp-copy input { flex: 1 1 100%; }
  .shp-f2 { grid-template-columns: minmax(0, 1fr); }
  .shp-line { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px; }
  .shp-line__lbl { padding-top: 0; }
  .shp-imgpick { flex-direction: column; align-items: flex-start; }
  .shp-hero, .shp-shophead { flex-wrap: wrap; }
  .shp-shophead .shp-btn { flex: 1 1 100%; }
  .shp-actions .shp-btn { flex: 1 1 100%; }
  .shp-total__sum { flex-direction: column; gap: 2px; }
  .shp-tabs a { flex: 1 1 0; text-align: center; padding: 9px 8px; }
  .shp-pops { right: 12px; bottom: 76px; }
  /* таблицы на телефоне — карточками: каждая строка отдельным блоком, слева подпись колонки (её ставит shop.js из заголовка) */
  .shp-tblwrap { overflow: visible; box-shadow: none; border-radius: 0; }
  .shp-tbl, .shp-tbl tbody { display: block; }
  .shp-tbl tr:first-child { display: none; }
  .shp-tbl tr { display: block; margin: 0 0 10px; padding: 6px 12px; border-radius: 14px; background: rgba(245, 248, 242, 0.5); box-shadow: inset 0 0 0 1px var(--sp-edge, rgba(110, 170, 60, 0.063)); }
  .shp-tbl td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 7px 0; border-top: 1px solid rgba(47, 122, 79, 0.09); text-align: right; }
  .shp-tbl td:first-child { border-top: 0; }
  .shp-tbl td::before { content: attr(data-th); grid-column: 1; grid-row: 1 / span 6; text-align: left; font-size: 12px; color: #2f7a4f; }
  .shp-tbl td > * { grid-column: 2; min-width: 0; justify-self: end; }
  .shp-tbl .is-num { white-space: normal; }
}

/* --- раздел «Помощь»: заголовки групп вопросов о магазине (v2.21) --- */
.faq-group { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; font-size: 17px; color: var(--sp-head, #161b18); scroll-margin-top: 90px; }
.faq-group i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 15px; color: #101412; background: linear-gradient(135deg, #baed6e, #40964f); }
.shp-help { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; color: #3b4841; background: rgba(196, 240, 130, 0.07); box-shadow: inset 0 0 0 1px rgba(110, 170, 60, 0.07); }
.shp-help i { color: var(--sp-cyan, #2f7a4f); }
.shp-help a { color: var(--sp-link, #2f7a4f); font-weight: 600; }
