/* Витрина «Магазин» и карточка цифрового продукта — строго на токенах AI Soft (style.css). */

.shop-hero-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 64px;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 44px;
  align-items: center;
}

.shop-hero__lead {
  margin: 0 0 28px;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 20px;
  box-shadow: inset 0 1px 0 var(--edge);
  font-size: 14px;
  color: var(--text-help);
}

.shop-hero__meta b {
  display: block;
  font-weight: 500;
  font-size: 18px;
  color: var(--text-head);
}

.shop-section {
  padding-bottom: 88px;
}

.shop-section__head {
  margin-bottom: 24px;
}

/* Быстрая навигация по разделам магазина (/shop/) */
.shop-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.shop-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--edge);
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}

.shop-subnav a:hover {
  color: var(--white);
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--edge-strong);
}

/* Сетка витрины (/shop/) — легко масштабируется под 1, 3, 6+ продуктов */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.shop-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.shop-grid--single .shop-card--active {
  grid-column: span 1;
}

/* Сетка «Информация о магазине» (оплата, доставка, возврат, реквизиты) */
.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.shop-info-card {
  align-content: start;
}

.shop-info-card h3 {
  margin: 0;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-head);
}

.shop-info-card .shop-requisites > div {
  grid-template-columns: 158px minmax(0, 1fr);
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(186, 214, 247, 0.08);
  transition: transform .25s, box-shadow .25s, background .25s;
}

.shop-card--active {
  grid-column: span 2;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(102, 58, 243, 0.16), transparent 65%),
    var(--glass);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.shop-card--active:hover {
  transform: translateY(-3px);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(102, 58, 243, 0.22), transparent 65%),
    var(--glass-2);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge-strong);
}

.shop-card--soon {
  opacity: .84;
  background: rgba(186, 214, 247, 0.02);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.09);
}

.shop-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.shop-card__cat {
  font: 12px/1.2 var(--mono);
  color: var(--text-help);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.shop-card__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.2;
  color: var(--text-head);
  letter-spacing: -0.015em;
}

.shop-card--soon .shop-card__title {
  font-size: 19px;
}

.shop-card__title a {
  text-decoration: none;
}

.shop-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.shop-card__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.shop-card__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-help);
}

.shop-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.shop-card__tags li {
  padding: 4px 9px;
  border-radius: var(--radius-badge);
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.08);
  font: 12px/1.3 var(--mono);
  color: var(--text-muted);
}

.shop-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--edge);
}

.shop-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.shop-price__val {
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.shop-price__note {
  font-size: 13px;
  color: var(--text-help);
}

.shop-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Страница товара (/shop/project-docs-kit/) */
.product-shell {
  position: relative;
  isolation: isolate;
}

.product-particles {
  position: absolute;
  inset: 0 0 auto;
  height: 540px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.product-page {
  padding-top: 32px;
  padding-bottom: 104px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head visual"
    "main aside";
  column-gap: 40px;
  row-gap: 36px;
  align-items: start;
}

.product-layout--no-visual {
  grid-template-areas:
    "head aside"
    "main aside";
}

.product-main {
  grid-area: main;
  display: grid;
  gap: 48px;
  min-width: 0;
}

.product-head {
  grid-area: head;
  display: grid;
  gap: 14px;
  align-self: center;
  min-width: 0;
}

.product-visual {
  grid-area: visual;
  margin: 0;
  min-width: 0;
  align-self: center;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 70% at 50% 0%, rgba(102, 58, 243, 0.2), transparent 72%),
    rgba(9, 11, 22, 0.94);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-head__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.product-head__lead {
  margin: 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--text-muted);
}

/* Превью тёмного интерфейса веб-журнала внутри ZIP */
.shop-preview {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(18, 22, 36, .95), rgba(8, 10, 20, .98));
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.shop-preview__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(186, 214, 247, 0.03);
  box-shadow: inset 0 -1px 0 var(--edge);
}

.shop-preview__dots {
  display: inline-flex;
  gap: 6px;
  flex: none;
}

.shop-preview__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--steel);
}

.shop-preview__dots i:first-child { background: #ff5f57; opacity: .75; }
.shop-preview__dots i:nth-child(2) { background: #febc2e; opacity: .75; }
.shop-preview__dots i:nth-child(3) { background: #28c840; opacity: .75; }

.shop-preview__url {
  margin-left: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 12px/1 var(--mono);
  color: var(--text-help);
}

.shop-preview__pill {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font: 11px/1.2 var(--mono);
  color: var(--ok);
  background: rgba(127, 220, 196, 0.08);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 196, 0.25);
}

.shop-preview__body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.shop-preview__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shop-preview__kpi {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.shop-preview__kpi span {
  display: block;
  font: 10.5px/1.2 var(--mono);
  text-transform: uppercase;
  color: var(--text-help);
}

.shop-preview__kpi b {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-head);
}

.shop-preview__table {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 6, 15, 0.7);
  box-shadow: inset 0 0 0 1px var(--edge);
  font-size: 13px;
}

.shop-preview__row {
  display: grid;
  grid-template-columns: 92px 96px 96px 76px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.07);
}

.shop-preview__row:last-child {
  box-shadow: none;
}

.shop-preview__row--head {
  font: 11px/1.2 var(--mono);
  text-transform: uppercase;
  color: var(--text-help);
  background: rgba(186, 214, 247, 0.03);
}

.pill-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 6px;
  font: 11.5px/1.3 var(--mono);
  background: var(--glass-2);
  color: var(--text);
}

.pill-mini--ok { color: var(--ok); background: rgba(127, 220, 196, 0.12); }
.pill-mini--violet { color: #e4dcff; background: rgba(102, 58, 243, 0.3); }
.pill-mini--warn { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }

/* Сетка преимуществ, шагов и сравнения */
.shop-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-feature {
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(186, 214, 247, 0.07);
}

.shop-feature__title {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text-head);
}

.shop-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-help);
}

.shop-feature .eyebrow {
  margin-bottom: 8px;
}

.shop-compare {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
}

.shop-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.shop-compare th,
.shop-compare td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(186, 215, 247, 0.08);
  vertical-align: top;
}

.shop-compare th {
  font: 500 12px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-help);
  background: rgba(186, 214, 247, 0.03);
}

.shop-compare tr:last-child td {
  border-bottom: none;
}

.shop-compare td:nth-child(2) {
  color: var(--text-help);
}

.shop-compare td:nth-child(3) {
  color: var(--text-head);
  font-weight: 500;
}

.shop-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-step {
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.shop-step__num {
  display: inline-block;
  margin-bottom: 10px;
  font: 500 12px/1 var(--mono);
  color: var(--violet-soft);
}

.shop-step h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-head);
}

.shop-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-help);
}

/* Блок 5 болей (единая стеклянная панель) */
.shop-pains-panel {
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(102, 58, 243, 0.12), transparent 65%),
    var(--glass);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.shop-pains-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-pain-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 24px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
}

.shop-pain-row:last-child {
  box-shadow: none;
}

.shop-pain-row__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(102, 58, 243, 0.18);
  box-shadow: inset 0 0 0 1px rgba(185, 165, 255, 0.3);
  font: 600 13px/1 var(--mono);
  color: var(--violet-soft);
}

.shop-pain-row__body {
  display: grid;
  gap: 6px;
}

.shop-pain-row__title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-head);
}

.shop-pain-row__sol {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-pain-row__sol strong {
  font-weight: 500;
  color: var(--ok);
}

/* Блок «Кому подойдёт / не подойдёт» */
.shop-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-fit-card {
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
}

.shop-fit-card--yes {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(127, 220, 196, 0.09), transparent 65%),
    var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(127, 220, 196, 0.24);
}

.shop-fit-card--no {
  opacity: .88;
}

.shop-fit-card__title {
  margin: 0 0 12px;
  font-size: 17.5px;
  font-weight: 500;
  color: var(--text-head);
}

.shop-fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shop-fit-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.shop-fit-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font: 600 13px/1.5 var(--mono);
}

.shop-fit-card--yes li::before {
  content: "✓";
  color: var(--ok);
}

.shop-fit-card--no li {
  color: var(--text-help);
}

.shop-fit-card--no li::before {
  content: "—";
  color: var(--text-help);
}

/* Аккордеоны состава и FAQ */
.shop-accordions {
  display: grid;
  gap: 10px;
}

.shop-acc {
  border-radius: 14px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--edge);
  transition: background .2s, box-shadow .2s;
}

.shop-acc[open] {
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--edge-strong);
}

.shop-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text-head);
}

.shop-acc summary::-webkit-details-marker {
  display: none;
}

.shop-acc summary::after {
  content: "+";
  font: 500 18px/1 var(--mono);
  color: var(--violet-soft);
  flex: none;
}

.shop-acc[open] summary::after {
  content: "−";
}

.shop-acc__body {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.shop-acc__body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  font: 13px/1.5 var(--mono);
  color: var(--text-muted);
}

/* Предотвращаем растягивание grid/flex-колонок длинными словами/путями */
.product-main > *,
.product-head,
.product-visual,
.checkout-aside,
.checkout-card,
.shop-card,
.shop-feature,
.shop-fit-card,
.shop-step,
.shop-pains-panel,
.shop-pain-row__body,
.shop-acc,
.shop-preview {
  min-width: 0;
}

.shop-pain-row__title,
.shop-pain-row__sol,
.shop-acc__body,
.shop-acc__body ul,
.shop-card__tags li,
.shop-unlock__code,
.checkout-card__legal {
  overflow-wrap: anywhere;
}

/* Правая панель покупки и активации кода */
.checkout-aside {
  grid-area: aside;
  position: sticky;
  top: 88px;
  align-self: start;
  margin-top: 26px;
}

.product-layout--no-visual .checkout-aside {
  margin-top: 0;
}

.checkout-bar,
.checkout-backdrop {
  display: none;
}

.checkout-bar__chev {
  flex: none;
  transition: transform .2s ease;
}

.checkout-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(186, 215, 247, 0.2) transparent;
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(102, 58, 243, 0.14), transparent 70%),
    rgba(9, 11, 22, 0.92);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.checkout-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.checkout-card__price {
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.checkout-card__sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-help);
}

.shop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(5, 6, 15, 0.85);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.shop-tab {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-help);
  font: 500 13px/1 var(--font);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.shop-tab[aria-selected="true"] {
  background: var(--glass-3);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--edge-strong);
}

.shop-panel[hidden] {
  display: none;
}

.shop-form {
  display: grid;
  gap: 12px;
}

.shop-field {
  display: grid;
  gap: 6px;
}

.shop-field label {
  font: 500 12.5px/1.2 var(--font);
  color: var(--text-muted);
}

.shop-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-badge);
  background: rgba(199, 211, 234, 0.06);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--white);
  font: 15px/1.3 var(--font);
  transition: box-shadow .18s, background .18s;
}

.shop-input--mono {
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shop-input::placeholder {
  color: rgba(199, 211, 234, 0.45);
}

.shop-input:focus {
  outline: none;
  background: rgba(199, 211, 234, 0.09);
  box-shadow: inset 0 0 0 1px var(--edge-strong), 0 0 0 3px rgba(102, 58, 243, 0.25);
}

.shop-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-help);
  cursor: pointer;
}

.shop-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--violet);
}

.shop-check a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(185, 165, 255, 0.5);
  text-underline-offset: 2px;
}

.shop-status {
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--text-muted);
}

.shop-status--err {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.1);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.shop-status--ok {
  color: #d1fae5;
  background: rgba(127, 220, 196, 0.1);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 196, 0.32);
}

.shop-unlock {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(127, 220, 196, 0.07);
  box-shadow: inset 0 0 0 1px rgba(127, 220, 196, 0.32);
}

.shop-unlock__label {
  margin: 0;
  font: 11px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ok);
}

.shop-unlock__code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(5, 6, 15, 0.85);
  box-shadow: inset 0 0 0 1px var(--edge);
}

.shop-unlock__code {
  font: 600 17px/1.2 var(--mono);
  letter-spacing: .08em;
  color: var(--white);
}

.shop-unlock__meta {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.checkout-card__legal {
  padding-top: 12px;
  box-shadow: inset 0 1px 0 var(--edge);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-help);
  display: grid;
  gap: 4px;
}

.checkout-card__legal a {
  color: var(--text-muted);
}

/* Платёжные бейджи (МИР и СБП) */
.shop-pay-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shop-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: var(--radius-badge);
  background: rgba(199, 211, 234, 0.05);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--text-head);
  font: 600 12px/1 var(--font);
  letter-spacing: 0.02em;
}

.shop-pay-badge svg {
  display: block;
  flex: none;
}

/* Блок поддержки и обратной связи */
.shop-support__card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse 85% 65% at 0% 0%, rgba(102, 58, 243, 0.14), transparent 70%),
    rgba(9, 11, 22, 0.9);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--edge);
}

.shop-support__head {
  display: grid;
  gap: 8px;
}

.shop-support__head .h2 {
  margin: 0;
}

.shop-support__lead {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-support__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.shop-support__hours {
  margin: 0;
}

.shop-support__hours a {
  color: var(--text);
}

/* Правовые и служебные страницы магазина (/shop/payment-delivery/, /offer/, /privacy/) */
.shop-doc {
  padding-top: 32px;
  padding-bottom: 96px;
  max-width: 920px;
}

.shop-doc__head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.shop-doc__head .h1 {
  margin: 0;
}

.shop-doc__lead {
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-doc__body {
  display: grid;
  gap: 20px;
}

.shop-doc__card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-card);
  background: var(--glass);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--edge);
  min-width: 0;
  overflow-wrap: anywhere;
}

.shop-doc__card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-head);
}

.shop-doc__card p,
.shop-doc__card li {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.shop-doc__card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.shop-doc__card a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(185, 165, 255, 0.45);
  text-underline-offset: 2px;
}

.shop-requisites {
  margin: 0;
  display: grid;
  gap: 10px;
}

.shop-requisites > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 6px 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(5, 6, 15, 0.55);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.08);
}

.shop-requisites dt {
  font: 12px/1.4 var(--mono);
  color: var(--text-help);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-requisites dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-head);
  overflow-wrap: anywhere;
}

.shop-offer-article h3 {
  margin: 18px 0 4px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-head);
}

.shop-offer-article h4 {
  margin: 12px 0 2px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 1020px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-card--active {
    grid-column: span 2;
  }
  .product-layout,
  .product-layout--no-visual {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "aside"
      "head"
      "visual"
      "main";
    gap: 22px;
  }
  .product-layout--no-visual {
    grid-template-areas:
      "aside"
      "head"
      "main";
  }
  .product-page {
    padding-top: 16px;
  }
  .checkout-aside {
    position: sticky;
    top: 64px;
    z-index: 35;
    margin: -16px calc(var(--gutter) * -1) 0;
  }
  .checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px var(--gutter);
    background: rgba(5, 6, 15, 0.94);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .75), inset 0 -1px 0 var(--edge);
  }
  .checkout-bar__info {
    min-width: 0;
    display: grid;
    gap: 2px;
  }
  .checkout-bar__price {
    font: 600 18px/1.1 var(--font);
    color: var(--white);
    font-variant-numeric: tabular-nums;
  }
  .checkout-bar__meta {
    font: 11.5px/1.2 var(--mono);
    color: var(--text-help);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .checkout-bar__toggle {
    flex: none;
    white-space: nowrap;
  }
  .checkout-aside.is-open .checkout-bar__chev {
    transform: rotate(180deg);
  }
  .checkout-drawer__body {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px var(--gutter) 16px;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s cubic-bezier(.22, .68, .28, 1), opacity .18s ease, visibility 0s .22s;
  }
  .checkout-aside.is-open .checkout-drawer__body {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .checkout-card {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(ellipse 90% 60% at 50% 0%, rgba(102, 58, 243, 0.16), transparent 70%),
      rgba(9, 11, 22, 0.98);
  }
  .checkout-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(4, 6, 12, 0.72);
    backdrop-filter: blur(4px);
  }
}

@media (max-width: 820px) {
  .shop-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shop-features,
  .shop-steps,
  .shop-fit-grid,
  .shop-info-grid {
    grid-template-columns: 1fr;
  }
  .shop-pain-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }
  .shop-preview__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-preview__row {
    grid-template-columns: 80px 76px 76px minmax(0, 1fr);
  }
  .shop-preview__row > :nth-child(5) {
    display: none;
  }
}

@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .shop-card--active {
    grid-column: span 1;
  }
  .shop-preview__body {
    padding: 14px;
  }
  .shop-preview__row--head {
    display: none;
  }
  .shop-preview__row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 10px 12px;
  }
  .shop-preview__row > :nth-child(5) {
    display: block;
    flex: 1 1 100%;
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .shop-compare thead {
    display: none;
  }
  .shop-compare table,
  .shop-compare tbody,
  .shop-compare tr,
  .shop-compare td {
    display: block;
    width: 100%;
  }
  .shop-compare tr {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(186, 215, 247, 0.1);
  }
  .shop-compare tr:last-child {
    border-bottom: none;
  }
  .shop-compare td {
    padding: 3px 0;
    border: 0;
  }
  .shop-compare td:first-child {
    font-weight: 500;
    color: var(--text-head);
    margin-bottom: 4px;
  }
  .shop-compare td[data-label]::before {
    content: attr(data-label) ": ";
    font: 11.5px/1.3 var(--mono);
    color: var(--text-help);
  }
  .shop-requisites > div,
  .shop-info-card .shop-requisites > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .shop-hero-wrap .display {
    font-size: clamp(28px, 8.5vw, 44px);
  }
  .product-head .h1,
  .shop-doc__head .h1 {
    font-size: clamp(24px, 7.6vw, 34px);
  }
  .shop-preview__pill {
    display: none;
  }
  .shop-card,
  .checkout-card,
  .shop-feature,
  .shop-fit-card,
  .shop-step,
  .shop-pain-row,
  .shop-doc__card,
  .shop-support__card {
    padding: 16px;
  }
  .shop-acc summary {
    padding: 14px 16px;
    font-size: 14.5px;
  }
  .shop-acc__body {
    padding: 0 16px 14px;
  }
  .shop-tab {
    font-size: 12px;
    padding: 6px;
  }
  .shop-unlock__code-row {
    flex-wrap: wrap;
  }
  .checkout-card__price {
    font-size: 28px;
  }
}
