:root {
  --bg: #0b0d10;
  --surface: #141820;
  --surface2: #1c2230;
  --text: #eef2f7;
  --muted: #8a94a6;
  --accent: #5b8def;
  --accent-soft: rgba(91, 141, 239, 0.12);
  --ozon: #005bff;
  --wb: #a73afd;
  --ym: #fc3f1d;
  --success: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 16, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ozon), var(--wb));
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

nav { display: flex; gap: 24px; }
nav a { color: var(--muted); font-weight: 500; }
nav a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 40px 0 16px;
  max-width: 640px;
}

.hero-scene {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 91, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(167, 58, 253, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(52, 211, 153, 0.1), transparent 45%);
}

.scene-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.scene-icon {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.28;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.scene-icon--wb {
  top: 8%;
  left: 4%;
  --rot: -12deg;
  color: #ddb8ff;
  background: rgba(167, 58, 253, 0.28);
  font-size: 1.4rem;
  opacity: 0.32;
}

.scene-icon--ozon {
  top: 18%;
  right: 6%;
  --rot: 8deg;
  color: #a8caff;
  background: rgba(0, 91, 255, 0.28);
  font-size: 1.2rem;
  opacity: 0.32;
}

.scene-icon--warehouse {
  top: 42%;
  left: 2%;
  --rot: -6deg;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.26;
}

.scene-icon--retail {
  bottom: 28%;
  right: 4%;
  --rot: 10deg;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(52, 211, 153, 0.12);
  opacity: 0.26;
}

.scene-icon--army {
  top: 55%;
  right: 18%;
  --rot: -8deg;
  font-size: 0.95rem;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.2);
  opacity: 0.3;
}

.scene-icon--factory {
  bottom: 12%;
  left: 12%;
  --rot: 6deg;
  font-size: 2rem;
  opacity: 0.22;
  border: none;
  background: none;
}

.scene-icon--chat {
  top: 28%;
  left: 38%;
  --rot: 15deg;
  font-size: 2.2rem;
  opacity: 0.2;
  border: none;
  background: none;
}

.scene-icon--game {
  bottom: 38%;
  left: 55%;
  --rot: -14deg;
  font-size: 1.8rem;
  opacity: 0.22;
  border: none;
  background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-content h1 {
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  margin-bottom: 20px;
  line-height: 1.55;
}

.hero-benefits {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-benefits li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(20, 24, 32, 0.72);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  backdrop-filter: blur(6px);
}

.hero-benefits strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.catalog-section {
  padding-top: 28px;
}

.catalog-section .section-title {
  margin-bottom: 16px;
}

.info-strip {
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--border);
}

.info-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.info-strip-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.info-strip p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 16, 0.6);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
}

.footer-contacts p {
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pay-methods--page {
  margin-bottom: 8px;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

.pay-logo--visa {
  background: #1a1f71;
  color: #fff;
}

.pay-logo--mc {
  background: #eb001b;
  color: #fff;
}

.pay-logo--mir {
  background: #007752;
  color: #fff;
}

.pay-logo--sbp {
  background: #1d1346;
  color: #f5c518;
}

.hero-label {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 24px 0 40px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(91, 141, 239, 0.35);
  transform: translateY(-2px);
}

.card-media-wrap {
  position: relative;
  background: linear-gradient(165deg, #1c2230 0%, #12161f 100%);
  border-bottom: 1px solid var(--border);
}

.card-media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 14px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.card-thumbs {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  overflow-x: auto;
}

.card-thumb {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 4px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
}

.card-thumb.active,
.card-thumb:hover {
  border-color: var(--accent);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pickup-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(91, 141, 239, 0.1);
  border: 1px solid rgba(91, 141, 239, 0.22);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}

.pickup-hint--compact {
  margin: 8px 0 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  gap: 8px;
}

.pickup-hint-icon {
  flex-shrink: 0;
  line-height: 1.2;
}

.pickup-hint strong {
  color: #9ec0ff;
  font-weight: 600;
}

.card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface2);
  color: var(--muted);
}

.badge.no-cam {
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
}

.badge.button-no-cam {
  background: rgba(91, 141, 239, 0.14);
  color: #8eb8ff;
}

.badge.button-style {
  background: var(--accent-soft);
  color: var(--accent);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.card-tagline {
  color: var(--accent);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.card-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.mini-list {
  list-style: none;
  margin-bottom: 18px;
}

.mini-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.stock { font-size: 0.85rem; }
.stock.in { color: var(--success); }
.stock.out { color: #f87171; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.92; text-decoration: none; }
.btn.block { width: 100%; margin-top: 14px; }
.btn:disabled, .btn.disabled {
  background: var(--surface2);
  color: var(--muted);
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.form-page { padding: 40px 0 64px; max-width: 680px; margin: 0 auto; }
.form-page h1 { margin-bottom: 8px; }
.form-page .subtitle { color: var(--muted); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.field-hint {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.alert-info {
  background: var(--accent-soft);
  border: 1px solid rgba(91, 141, 239, 0.25);
}

.alert-success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.order-summary,
.track-result,
.payment-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}

.payment-box-primary {
  border-color: rgba(91, 141, 239, 0.35);
  background: linear-gradient(180deg, var(--surface) 0%, #121722 100%);
}

.checkout-success {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.checkout-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  color: var(--success);
  font-size: 1.75rem;
  line-height: 56px;
}

.checkout-sum { font-size: 1.75rem; font-weight: 700; margin: 8px 0; }
.checkout-provider { color: var(--muted); font-size: 0.95rem; }

.btn-pay {
  width: 100%;
  padding: 14px 20px;
  font-size: 1.05rem;
}

.payment-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.checkout-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.status-timeline {
  list-style: none;
  margin-top: 20px;
}

.status-timeline li {
  padding: 12px 0 12px 28px;
  border-left: 2px solid var(--border);
  position: relative;
  color: var(--muted);
}

.status-timeline li.active {
  color: var(--text);
  border-left-color: var(--accent);
}

.status-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.status-timeline li.active::before { background: var(--accent); }

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.hidden { display: none !important; }

/* --- Product gallery & detail --- */
.breadcrumb {
  padding: 24px 0 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.product-page { padding-bottom: 64px; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
}

.gallery-main {
  background: linear-gradient(165deg, #1c2230 0%, #12161f 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 20px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
  transition: opacity 0.2s;
}

.gallery-caption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.4em;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface2);
  padding: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.product-info .price-lg {
  font-size: 2rem;
  font-weight: 700;
  margin: 16px 0 8px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 10px 0;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--muted);
  width: 42%;
  padding-right: 12px;
}

.apps-section {
  margin-top: 28px;
}

.apps-section h3,
.detail-block h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.app-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.app-chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.app-chip-icon.tg { background: #229ED9; }
.app-chip-icon.wa { background: #25D366; }
.app-chip-icon.vk { background: #0077FF; }
.app-chip-icon.rs { background: #2D2D2D; }
.app-chip-icon.ch { background: #4285F4; }
.app-chip-icon.yt { background: #FF0000; }
.app-chip-icon.ig { background: linear-gradient(45deg, #f09433, #dc2743); }
.app-chip-icon.nv { background: #444; }
.app-chip-icon.oz { background: #005bff; }
.app-chip-icon.wb { background: #a73afd; }
.app-chip-icon.def { background: var(--accent); }

.phone-mockup {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.phone-frame {
  max-width: 220px;
  margin: 0 auto;
  background: #111;
  border-radius: 24px;
  padding: 12px 10px 16px;
  border: 3px solid #333;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 99px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: linear-gradient(180deg, #1a2233 0%, #0f1419 100%);
  border-radius: 14px;
  padding: 14px 10px;
  min-height: 180px;
}

.phone-screen-label {
  font-size: 0.65rem;
  color: #8a94a6;
  margin-bottom: 10px;
  text-align: center;
}

.phone-apps-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.phone-apps-mini span {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.detail-block {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .detail-columns { grid-template-columns: 1fr; }
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.feature-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface2);
  font-size: 0.8rem;
  color: var(--muted);
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.card-actions .btn-outline {
  flex: 1;
  text-align: center;
}

.card-actions .btn {
  flex: 1;
}

.marketplace-links {
  margin-top: 14px;
}

.marketplace-links--compact {
  margin-top: 10px;
}

.marketplace-title {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.marketplace-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: opacity 0.15s;
}

.mp-link:hover {
  text-decoration: none;
  opacity: 0.88;
}

.mp-link.ozon {
  background: rgba(0, 91, 255, 0.14);
  color: #7eb4ff;
  border-color: rgba(0, 91, 255, 0.28);
}

.mp-link.wb {
  background: rgba(167, 58, 253, 0.14);
  color: #c98aff;
  border-color: rgba(167, 58, 253, 0.28);
}

.mp-link.ym {
  background: rgba(252, 63, 29, 0.12);
  color: #ff9a84;
  border-color: rgba(252, 63, 29, 0.25);
}

.product-layout .gallery-main {
  aspect-ratio: 1;
  min-height: 380px;
  padding: 0;
}

.gallery-thumb {
  width: 84px;
  height: 84px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
}

.product-rating .stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.rating-value {
  font-weight: 700;
}

.rating-count {
  color: var(--muted);
  font-size: 0.88rem;
}

.rich-description,
.product-videos,
.product-reviews {
  margin-top: 48px;
}

.rich-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.rich-block h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.rich-block p {
  color: var(--muted);
  font-size: 0.95rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.reviews-note {
  margin-bottom: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.review-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.85rem;
}

.review-date {
  color: var(--muted);
  font-size: 0.82rem;
  margin-left: auto;
}

.review-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.review-verified {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--success);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

.hl-pro { color: var(--success); font-size: 0.9rem; margin-bottom: 6px; }
.hl-con { color: #f87171; font-size: 0.9rem; margin-bottom: 6px; }

.kit-block { margin-top: 20px; }

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pay-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.pay-badges--compact {
  margin-top: 0;
  margin-bottom: 16px;
}

.btn-enot {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-weight: 700;
}

.btn-enot:hover {
  filter: brightness(1.08);
}

.legal-checkout {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 8px 0 14px;
}

.legal-checkout a {
  color: var(--accent);
}

.legal-box p {
  margin-bottom: 14px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.legal-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-muted {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.legal-page .subtitle {
  margin-bottom: 20px;
}

/* ——— Minimal / mobile ——— */
.only-desktop { display: block; }

.steps-strip {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.steps-strip span {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.steps-strip span:not(:last-child)::after {
  content: none;
}

.catalog-section {
  padding-top: 8px;
}

.card--compact .card-body {
  padding: 16px;
}

.card-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--accent);
}

.card-one-liner {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 10px;
}

.card--compact .price-row {
  margin: 0 0 12px;
}

.card--compact .price {
  font-size: 1.25rem;
}

.back-link {
  display: inline-block;
  margin: 12px 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.feature-tags--compact {
  margin: 10px 0;
}

.feature-tags--compact span {
  font-size: 0.72rem;
  padding: 4px 8px;
}

.expand-block {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.expand-block summary {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
}

.expand-block summary::-webkit-details-marker {
  display: none;
}

.expand-block summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.expand-block[open] summary::after {
  content: "−";
}

.expand-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--border);
}

.product-sticky-bar {
  display: none;
}

.product-order-desktop {
  margin-top: 16px;
}

.order-summary--compact {
  padding: 14px;
}

.order-summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--surface2);
  flex-shrink: 0;
}

.order-summary-row h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.track-product {
  color: var(--muted);
  font-size: 0.9rem;
}

.track-sum {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 4px 0 8px;
}

.track-status {
  font-weight: 600;
  margin-bottom: 12px;
}

.rich-block h4 {
  font-size: 0.9rem;
  margin: 12px 0 6px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 12px 0;
  }

  .logo-text {
    display: none;
  }

  nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero-scene {
    padding: 28px 0 20px;
  }

  .hero-content h1 {
    font-size: clamp(1.35rem, 6vw, 1.55rem);
  }

  .hero-benefits li {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .scene-icon {
    opacity: 0.22;
    transform: scale(0.9) rotate(var(--rot, 0deg));
  }

  .scene-icon--wb,
  .scene-icon--ozon {
    opacity: 0.26;
  }

  .info-strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-strip {
    padding: 20px 0 4px;
  }

  .steps-strip {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .steps-strip span {
    flex: 0 0 auto;
    min-width: 100px;
  }

  .footer-top {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav {
    gap: 6px 12px;
  }

  .form-page {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  #order-form .btn.block,
  #track-form .btn.block {
    min-height: 48px;
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 88px;
  }

  .card-body {
    padding: 14px;
  }

  .card-thumbs {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .card-thumb {
    width: 40px;
    height: 40px;
  }

  .gallery-main {
    min-height: 260px;
  }

  .gallery-caption {
    display: none;
  }

  .gallery-thumb {
    width: 56px;
    height: 56px;
  }

  .product-layout .gallery-main {
    min-height: 280px;
  }

  .product-info h1 {
    font-size: 1.35rem;
  }

  .product-info .price-lg {
    font-size: 1.5rem;
    margin: 8px 0 4px;
  }

  .pickup-hint {
    margin: 10px 0;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .product-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(11, 13, 16, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }

  .product-sticky-price {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .product-sticky-bar .btn {
    flex-shrink: 0;
    padding: 12px 20px;
  }

  .product-page {
    padding-bottom: 80px;
  }

  .product-order-desktop {
    display: none;
  }

  .form-page h1 {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }

  .only-desktop {
    display: none !important;
  }

  footer {
    padding: 20px 0 24px;
  }

  .footer-inner p {
    font-size: 0.78rem;
  }

  .status-timeline li {
    padding: 10px 0 10px 24px;
    font-size: 0.88rem;
  }

  .review-card {
    padding: 12px;
  }

  .review-card p {
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) {
  .product-sticky-bar {
    display: none !important;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 380px) {
  .steps-strip span {
    font-size: 0.72rem;
    padding: 6px 8px;
    min-width: 88px;
  }

  .scene-icon--chat,
  .scene-icon--game {
    display: none;
  }

  .pay-logo {
    min-width: 44px;
    padding: 5px 8px;
    font-size: 0.65rem;
  }
}
