:root {
      --bg: #0f172a;
      --bg-soft: #111827;
      --card: rgba(255,255,255,.06);
      --line: rgba(255,255,255,.14);
      --text: #f8fafc;
      --muted: #cbd5e1;

      --accent: #22c55e;
      --accent-2: #16a34a;

      --wb: #a855f7;
      --wb-2: #7e22ce;
      --wb-text: #fdf4ff;
      --wb-glow: rgba(168,85,247,.28);

      --ozon: #38bdf8;
      --ozon-2: #2563eb;
      --ozon-text: #eff6ff;
      --ozon-glow: rgba(56,189,248,.26);

      --shadow: 0 12px 40px rgba(0, 0, 0, .25);
      --radius: 18px;
      --radius-lg: 24px;
      --max: 1180px;
    }

    .footer-hub {
      --fh-bg: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
      --fh-line: rgba(255,255,255,.12);
      --fh-line-soft: rgba(255,255,255,.08);
      --fh-text: #f8fafc;
      --fh-muted: #cbd5e1;
      --fh-shadow: 0 12px 40px rgba(0, 0, 0, .25);

      --fh-wb: #a855f7;
      --fh-wb-2: #7e22ce;
      --fh-ozon: #38bdf8;
      --fh-ozon-2: #2563eb;
    }

    .footer-hub {
      padding: 10px 0 24px;
      color: var(--fh-text);
    }

    .footer-hub .container {
      width: min(1180px, calc(100% - 32px));
      margin: 0 auto;
    }

    .footer-hub-card {
      background: var(--fh-bg);
      border: 1px solid var(--fh-line);
      border-radius: 24px;
      padding: 22px;
      box-shadow: var(--fh-shadow);
    }

    .footer-hub-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .footer-hub-title {
      margin: 0 0 8px;
      font-size: 24px;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .footer-hub-text {
      margin: 0;
      color: var(--fh-muted);
      font-size: 14px;
      line-height: 1.6;
      max-width: 68ch;
    }

    .footer-market {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .footer-hub .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 12px 18px;
      border-radius: 12px;
      border: 1px solid transparent;
      font-weight: 700;
      font-size: 14px;
      text-decoration: none;
      white-space: nowrap;
      transition: .2s ease;
      cursor: pointer;
    }

    .footer-hub .btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.03);
    }

    .footer-hub .btn-wb {
      background: linear-gradient(180deg, var(--fh-wb), var(--fh-wb-2));
      color: #fdf4ff;
      box-shadow: 0 8px 18px rgba(168,85,247,.28);
    }

    .footer-hub .btn-ozon {
      background: linear-gradient(180deg, var(--fh-ozon), var(--fh-ozon-2));
      color: #eff6ff;
      box-shadow: 0 8px 18px rgba(56,189,248,.26);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-top: 8px;
    }

    .footer-col {
      background: rgba(255,255,255,.03);
      border: 1px solid var(--fh-line-soft);
      border-radius: 16px;
      padding: 14px;
    }

    .footer-col h3 {
      margin: 0 0 10px;
      font-size: 16px;
      line-height: 1.3;
    }

    .footer-links {
      display: grid;
      gap: 8px;
    }

    .footer-links a,
    .footer-links span {
      color: var(--fh-muted);
      font-size: 14px;
      line-height: 1.45;
      text-decoration: none;
      word-break: break-word;
    }

    .footer-links a:hover {
      color: var(--fh-text);
    }

    .footer-note {
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid var(--fh-line-soft);
      color: #d1fae5;
      font-size: 14px;
      line-height: 1.5;
    }

    .footer-note a {
      color: inherit;
      text-decoration: underline;
    }

    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }

    body {
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(900px 500px at 10% -10%, rgba(34,197,94,.20), transparent 60%),
        radial-gradient(700px 400px at 100% 0%, rgba(59,130,246,.16), transparent 60%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 45%, #0b1220 100%);
      line-height: 1.5;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(var(--max), calc(100% - 32px));
      margin: 0 auto;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid transparent;
      font-weight: 700;
      padding: 12px 18px;
      border-radius: 12px;
      transition: .2s ease;
      cursor: pointer;
      white-space: nowrap;
      user-select: none;
    }

    .btn:hover { transform: translateY(-1px); filter: brightness(1.03); }

    .btn-wb {
      background: linear-gradient(180deg, var(--wb), var(--wb-2));
      color: var(--wb-text);
      box-shadow: 0 8px 18px var(--wb-glow);
      border-color: rgba(255,255,255,.05);
    }

    .btn-ozon {
      background: linear-gradient(180deg, var(--ozon), var(--ozon-2));
      color: var(--ozon-text);
      box-shadow: 0 8px 18px var(--ozon-glow);
      border-color: rgba(255,255,255,.05);
    }

    .btn-info {
      background: rgba(255,255,255,.04);
      color: var(--text);
      border: 1px solid rgba(255,255,255,.14);
      box-shadow: none;
    }

    .btn-info:hover { background: rgba(255,255,255,.08); }

    /* Header */
    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(10px);
      background: rgba(8,12,22,.45);
      border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .header-inner {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 10px 0;
      flex-wrap: wrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: .2px;
    }

    .brand-logo {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background:
        radial-gradient(circle at 70% 30%, rgba(255,255,255,.7), transparent 35%),
        linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #14532d 100%);
      display: grid;
      place-items: center;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 10px 22px rgba(34,197,94,.22);
      font-size: 19px;
    }

    .nav {
      display: flex;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .nav a.link {
      color: var(--muted);
      padding: 8px 10px;
      border-radius: 10px;
      font-size: 14px;
    }

    .nav a.link:hover {
      background: rgba(255,255,255,.04);
      color: var(--text);
    }

    /* Page layout */
    .page { padding: 42px 0 26px; }

    .main-grid {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 22px;
      align-items: start;
    }

    .card {
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      padding: 24px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: auto -60px -60px auto;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(34,197,94,.18), transparent 70%);
      filter: blur(10px);
      pointer-events: none;
    }

    /* LEFT media */
    .media-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      position: relative;
      z-index: 1;
    }

    .clickable {
      cursor: zoom-in;
      -webkit-tap-highlight-color: transparent;
    }

    .clickable:focus-visible {
      outline: 2px solid rgba(255,255,255,.35);
      outline-offset: 3px;
      border-radius: 14px;
    }

    .product-image {
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.08);
      background: rgba(255,255,255,.02);
      transition: transform .18s ease, border-color .18s ease;
    }

    .product-image:hover { border-color: rgba(255,255,255,.18); }

    .product-image img {
      width: 100%;
      aspect-ratio: 3 / 4;
      object-fit: contain;
      display: block;
      background: rgba(255,255,255,.01);
    }

    .thumb-column {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      align-content: start;
      position: relative;
      z-index: 1;
    }

    .thumb-card {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 18px;
      overflow: hidden;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
      box-shadow: 0 8px 20px rgba(0,0,0,.18);
      transform-origin: center center;
    }

    .thumb-card:hover {
      transform: scale(1.06);
      box-shadow: 0 18px 40px rgba(0,0,0,.30);
      border-color: rgba(255,255,255,.18);
      position: relative;
      z-index: 3;
    }

    .thumb-card img {
      width: 100%;
      aspect-ratio: 3 / 4;
      object-fit: contain;
      display: block;
      background: rgba(255,255,255,.02);
    }

    .thumb-caption {
      padding: 10px 12px;
      color: var(--muted);
      font-size: 13px;
      border-top: 1px solid rgba(255,255,255,.06);
      min-height: 44px;
      display: flex;
      align-items: center;
    }

    .back-link { margin-top: 14px; position: relative; z-index: 1; }
    .back-link .btn { width: 100%; }

    /* RIGHT content */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #dcfce7;
      background: rgba(34,197,94,.10);
      border: 1px solid rgba(34,197,94,.25);
      padding: 8px 12px;
      border-radius: 999px;
      position: relative;
      z-index: 1;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 6px rgba(34,197,94,.12);
    }

    .title {
      margin: 14px 0 10px;
      font-size: clamp(28px, 5vw, 44px);
      line-height: 1.05;
      letter-spacing: -.02em;
      position: relative;
      z-index: 1;
    }

    .lead {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 16px;
      max-width: 62ch;
      position: relative;
      z-index: 1;
    }

    .quick-info {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }

    .quick-box {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 14px;
      padding: 12px;
    }

    .quick-box span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 4px;
    }

    .quick-box strong { font-size: 16px; }

    .action-row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
    }

    .section { margin-top: 18px; position: relative; z-index: 1; }
    .section h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.2; }
    .section p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }

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

    .feature {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 14px;
      padding: 12px;
      color: var(--muted);
      font-size: 14px;
    }

    .feature strong {
      display: block;
      color: var(--text);
      margin-bottom: 4px;
      font-size: 14px;
    }

    .specs { display: grid; gap: 10px; }

    .spec-row {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .spec-name { color: var(--muted); font-size: 14px; }
    .spec-value { font-size: 14px; }

    .list {
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .list li { margin: 7px 0; }

    /* Похожие товары */
    .related-block {
      margin-top: 18px;
    }

    .related-wrap {
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .related-wrap::before {
      content: "";
      position: absolute;
      inset: auto -80px -80px auto;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(168,85,247,.12), transparent 70%);
      filter: blur(10px);
      pointer-events: none;
    }

    .related-inner {
      padding: 18px;
      position: relative;
      z-index: 1;
    }

    .related-title {
      margin: 0 0 16px;
      font-size: clamp(22px, 3vw, 30px);
      letter-spacing: -.02em;
      line-height: 1.1;
    }

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

    .related-card {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,.18);
    }

    .related-top {
      padding: 12px;
      border-bottom: 1px solid rgba(255,255,255,.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .mini-badge {
      color: #f5d0fe;
      background: rgba(217,70,239,.10);
      border: 1px solid rgba(217,70,239,.22);
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .related-volume {
      color: var(--muted);
      font-size: 12px;
      white-space: nowrap;
    }

    .related-img {
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background:
        radial-gradient(circle at 20% 20%, rgba(34,197,94,.10), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(59,130,246,.08), transparent 45%),
        rgba(255,255,255,.01);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .related-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .related-body {
      padding: 12px;
      display: grid;
      gap: 8px;
    }

    .related-name {
      margin: 0;
      font-size: 14px;
      line-height: 1.3;
      min-height: 36px;
    }

    .related-note {
      color: var(--muted);
      font-size: 13px;
      min-height: 34px;
    }

    .related-actions {
      display: grid;
      gap: 8px;
    }

    .related-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .related-actions .btn,
    .related-row .btn {
      width: 100%;
      min-width: 0;
      padding: 9px 10px;
      font-size: 13px;
    }

    /* CTA + Footer */
    .cta {
      margin: 10px 0 30px;
      background: linear-gradient(180deg, rgba(34,197,94,.10), rgba(34,197,94,.05));
      border: 1px solid rgba(34,197,94,.22);
      border-radius: 22px;
      padding: 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      flex-wrap: wrap;
      box-shadow: var(--shadow);
    }

    .cta h3 { margin: 0 0 4px; font-size: 20px; }
    .cta p { margin: 0; color: #d1fae5; opacity: .92; font-size: 14px; }

    .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

    footer {
      border-top: 1px solid rgba(255,255,255,.06);
      padding: 18px 0 28px;
      color: #94a3b8;
      font-size: 13px;
    }

    /* LIGHTBOX */
    .lightbox {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      background: rgba(0,0,0,.72);
      backdrop-filter: blur(6px);
      z-index: 9999;
      padding: 18px;
    }

    .lightbox.open { display: grid; }

    .lb-panel {
      width: min(980px, 100%);
      background: rgba(15,23,42,.88);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 30px 90px rgba(0,0,0,.55);
      display: grid;
      grid-template-rows: auto 1fr auto;
    }

    .lb-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .lb-title { color: var(--muted); font-size: 13px; line-height: 1.2; }

    .lb-close {
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.14);
      color: var(--text);
      padding: 8px 10px;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 800;
    }

    .lb-close:hover { background: rgba(255,255,255,.10); }

    .lb-body {
      position: relative;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.06), transparent 55%);
      min-height: 45vh;
    }

    .lb-body img {
      width: 100%;
      height: auto;
      max-height: 78vh;
      object-fit: contain;
      display: block;
      padding: 10px;
    }

    .lb-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      color: var(--text);
      cursor: pointer;
      display: grid;
      place-items: center;
      font-size: 20px;
      font-weight: 900;
      user-select: none;
    }

    .lb-nav:hover { background: rgba(255,255,255,.12); }

    .lb-prev { left: 12px; }
    .lb-next { right: 12px; }

    .lb-bottom {
      padding: 12px 14px;
      border-top: 1px solid rgba(255,255,255,.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .lb-caption { color: var(--muted); font-size: 13px; }
    .lb-counter { color: rgba(255,255,255,.55); font-size: 12px; }

    @media (max-width: 980px) {
      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .main-grid { grid-template-columns: 1fr; }
      .quick-info { grid-template-columns: 1fr; }
      .features { grid-template-columns: 1fr; }
      .spec-row { grid-template-columns: 1fr; gap: 6px; }
      .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

      .header {
        position: static;
        top: auto;
      }

      .header-inner {
        align-items: flex-start;
      }

      .nav {
        gap: 8px;
      }

      .nav a.link {
        display: inline-flex;
        font-size: 13px;
        padding: 6px 8px;
      }
    }

    @media (max-width: 560px) {
      .footer-hub-card {
        padding: 16px;
        border-radius: 18px;
      }

      .footer-hub-title {
        font-size: 20px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-market {
        width: 100%;
        flex-direction: column;
      }

      .footer-hub .btn {
        width: 100%;
        white-space: normal;
      }

      .card { padding: 16px; }
      .header-inner { min-height: 66px; }
      .brand span:last-child { display: none; }
      .btn { width: 100%; }
      .action-row { flex-direction: column; }
      .cta { align-items: flex-start; }
      .cta-actions { width: 100%; }
      .thumb-column { grid-template-columns: 1fr; }
      .thumb-card:hover { transform: scale(1.03); }
      .lb-nav { width: 40px; height: 40px; border-radius: 12px; }
      .related-grid { grid-template-columns: 1fr; }
      .related-row { grid-template-columns: 1fr; }
      .related-inner { padding: 16px; }
    }
