
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: 'Geist Mono', monospace;
  color: var(--muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.product-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.product-breadcrumb a:hover { color: var(--text); }
.product-breadcrumb-sep { opacity: 0.35; }
.product-breadcrumb-cat {
  display: inline-flex; align-items: center; gap: 5px;
}
.product-breadcrumb-cat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  flex-shrink: 0;
}
.product-breadcrumb-current {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.15s;
}
.product-back:hover { color: var(--text); }

.product-wrap {
  padding: 48px 0 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.product-media { display: flex; flex-direction: column; gap: 16px; }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 40%, rgba(167,139,250,0.04) 0%, transparent 60%),
              linear-gradient(160deg, #141414 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.05);
  letter-spacing: 6px;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.carousel-track { width: 100%; height: 100%; }
.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}
.carousel-slide.active { display: block; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--green);
  transform: scale(1.3);
}

.product-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.product-video-wrap iframe,
.product-video-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.product-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-category {
  font-size: 0.68rem;
  font-family: inherit;
  color: var(--green);
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 3px 12px;
  border-radius: 999px;
  text-transform: lowercase;
  width: fit-content;
}

.product-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stars-display {
  display: flex;
  gap: 3px;
}
.stars-display .star {
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  transition: color 0.1s;
  line-height: 1;
}
.stars-display .star.filled { color: #f5c542; }
.stars-display .star.hovered { color: #f5c542; }
.product-rating-info {
  font-size: 0.75rem;
  font-family: inherit;
  color: var(--muted);
}
.product-rating-note {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}
.product-your-rating {
  font-size: 0.72rem;
  font-family: inherit;
  color: var(--green);
}

.product-desc-full {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.75;
}
.product-desc-full.markdown-body p { margin: 0 0 0.75em; }
.product-desc-full.markdown-body p:last-child { margin-bottom: 0; }
.product-desc-full.markdown-body strong { color: var(--fg); font-weight: 600; }
.product-desc-full.markdown-body em { font-style: italic; }
.product-desc-full.markdown-body s { opacity: 0.6; }
.product-desc-full.markdown-body h2, .product-desc-full.markdown-body h3 { color: var(--fg); font-weight: 600; margin: 1em 0 0.4em; }
.product-desc-full.markdown-body ul, .product-desc-full.markdown-body ol { padding-left: 1.4em; margin: 0.5em 0; }
.product-desc-full.markdown-body li { margin: 0.2em 0; }
.product-desc-full.markdown-body code { background: rgba(255,255,255,0.07); border-radius: 4px; padding: 1px 5px; font-family: inherit; font-size: 0.85em; }
.product-desc-full.markdown-body pre { background: rgba(255,255,255,0.05); border-radius: 6px; padding: 10px 14px; overflow-x: auto; margin: 0.75em 0; }
.product-desc-full.markdown-body pre code { background: none; padding: 0; }
.product-desc-full.markdown-body blockquote { border-left: 3px solid var(--border); padding-left: 12px; opacity: 0.7; margin: 0.5em 0; }

.product-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-versions {
  font-size: 0.7rem;
  font-family: inherit;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
}

.product-price { display: flex; align-items: center; }
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 16px;
  letter-spacing: -0.3px;
}
.price-badge.free { color: #4ade80; background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); }
.price-badge.promo { color: #f87171; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.2); }
.price-old { text-decoration: line-through; opacity: 0.4; font-size: 0.75em; font-weight: 400; }
.price-promo-tag { font-size: 0.6em; opacity: 0.8; }

.product-actions {
  display: flex;
  gap: 10px;
}
.product-actions .btn-download {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--green);
  color: #050505;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.2s, box-shadow 0.2s;
}
.product-actions .btn-download:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(167,139,250,0.3);
}
.product-actions .btn-download.locked {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: not-allowed;
  box-shadow: none;
  opacity: 1;
  transform: none;
}
.product-actions .btn-cart {
  width: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  color: var(--muted2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-actions .btn-cart:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.product-actions .btn-cart.in-cart { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.3); }
.product-actions .btn-wish {
  width: 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 100px;
  color: var(--muted2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-actions .btn-wish:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.product-actions .btn-wish.in-wishlist { background: rgba(255,100,150,0.1); border-color: rgba(255,100,150,0.3); color: #ff6495; }

.product-social-proof {
  font-size: 0.75rem;
  font-family: inherit;
  color: var(--muted);
}

.related-section {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-bottom: 48px;
}
.related-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08); }
.related-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.related-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #141414;
}
.related-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.related-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.related-tag {
  font-size: 0.62rem;
  font-family: inherit;
  color: var(--green);
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.15);
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}
.related-price {
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--green);
  font-weight: 700;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}

.comments-section {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.comments-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}

.comment-form {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  padding: 10px 14px;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.comment-form textarea:focus { border-color: rgba(255,255,255,0.22); }
.comment-form-foot {
  display: flex;
  justify-content: flex-end;
}
.btn-comment-submit {
  background: var(--green);
  color: #050505;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 100px;
  padding: 8px 22px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.2s, box-shadow 0.2s;
}
.btn-comment-submit:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(167,139,250,0.3); }

.comment-login-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: inherit;
  margin-bottom: 32px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.comment-login-note a { color: var(--green); text-decoration: none; }

.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comments-empty {
  font-size: 0.8rem;
  font-family: inherit;
  color: var(--muted);
  text-align: center;
  padding: 32px 0;
}

.comment {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment.reply {
  margin-left: 32px;
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.05);
}
.comment.has-heart { border-color: rgba(255,100,150,0.25); background: rgba(255,100,150,0.03); }

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.comment-avatar-initial {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  font-family: inherit;
  flex-shrink: 0;
}
.comment-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.comment-author:hover { text-decoration: underline; }
.badge-verified {
  font-size: 0.62rem;
  font-family: inherit;
  background: rgba(167,139,250,0.08);
  color: var(--green);
  border: 1px solid rgba(167,139,250,0.2);
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.badge-admin {
  font-size: 0.62rem;
  font-family: inherit;
  background: rgba(167,139,250,0.12);
  color: var(--green);
  border: 1px solid rgba(167,139,250,0.25);
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.comment-heart-badge {
  font-size: 0.82rem;
  margin-left: auto;
}
.comment-time {
  font-size: 0.7rem;
  font-family: inherit;
  color: var(--muted);
  margin-left: auto;
}

.comment-body {
  font-size: 0.875rem;
  color: var(--muted2);
  line-height: 1.65;
  word-break: break-word;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.comment-vote {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn-vote {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  font-family: inherit;
  line-height: 1.4;
}
.btn-vote:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.btn-vote.active-up   { background: rgba(167,139,250,0.12); color: var(--green); border-color: rgba(167,139,250,0.3); }
.btn-vote.active-down { background: rgba(255,80,80,0.1); color: #ff6060; border-color: rgba(255,80,80,0.25); }
.vote-score {
  font-size: 0.78rem;
  font-family: inherit;
  color: var(--muted2);
  min-width: 18px;
  text-align: center;
}
.btn-reply {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: inherit;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  transition: color 0.12s;
}
.btn-reply:hover { color: var(--text); }
.btn-heart-admin {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s;
}
.btn-heart-admin:hover { background: rgba(255,100,150,0.1); color: #ff6495; border-color: rgba(255,100,150,0.3); }
.btn-heart-admin.hearted { background: rgba(255,100,150,0.12); color: #ff6495; border-color: rgba(255,100,150,0.3); }

.reply-form {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reply-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 8px 12px;
  resize: vertical;
  min-height: 64px;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.reply-form textarea:focus { border-color: rgba(255,255,255,0.22); }
.reply-form-foot { display: flex; gap: 8px; justify-content: flex-end; }
.btn-reply-cancel {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-family: inherit;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.12s;
}
.btn-reply-cancel:hover { color: var(--text); }

.comment-mention {
  color: var(--green);
  font-weight: 600;
  margin-right: 2px;
}

.btn-delete-comment {
  background: none;
  border: 1px solid rgba(255,80,80,0.25);
  color: #ff6060;
  font-size: 0.7rem;
  font-family: inherit;
  padding: 3px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s;
}
.btn-delete-comment:hover { background: rgba(255,80,80,0.1); }

.btn-show-more-comments,
.btn-show-more-replies {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 0.75rem;
  font-family: inherit;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.12s, border-color 0.12s;
  display: block;
}
.btn-show-more-comments { width: 100%; margin-top: 16px; }
.btn-show-more-comments:hover,
.btn-show-more-replies:hover { color: var(--text); border-color: rgba(255,255,255,0.15); }

.replies { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  user-select: none;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,0.16); color: #fff; }
.carousel-slide img { cursor: zoom-in; }
.product-img { cursor: zoom-in; }

.carousel-video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.carousel-video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  transition: background 0.15s, transform 0.15s;
  pointer-events: none;
}
.carousel-video-link:hover .play-btn {
  background: rgba(0,0,0,0.85);
  transform: translate(-50%, -50%) scale(1.08);
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .product-title { font-size: 1.5rem; }
}
@media (max-width: 540px) {
  .comment.reply { margin-left: 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .product-wrap { padding: 32px 0 60px; }
  .product-actions { flex-wrap: wrap; gap: 8px; }
  .product-actions .btn-cart { flex: 1; }
  .product-actions .btn-wish { width: 44px; }
  .ver-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ver-table { min-width: 500px; }
  .product-meta-row { flex-wrap: wrap; gap: 6px; }
  .product-sidebar { border-radius: 14px; padding: 20px 16px; }
  .tab-btn { padding: 8px 14px; font-size: 0.8rem; }
}

.versions-wrap { margin: 48px 0 32px; }
.versions-title { font-size:1.1rem;font-weight:700;color:#fff;letter-spacing:-0.3px;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--border); }

.ver-filter { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px; }
.ver-filter-btn { font-family:inherit;font-size:0.72rem;padding:5px 12px;border-radius:100px;border:1px solid rgba(255,255,255,0.07);background:rgba(255,255,255,0.03);color:var(--muted2);cursor:pointer;transition:all 0.15s; }
.ver-filter-btn:hover { border-color:rgba(255,255,255,0.18);color:var(--text); }
.ver-filter-btn.active { background:var(--green);border-color:var(--green);color:#050505;font-weight:700; }

.ver-table-wrap { overflow-x:auto; }
.ver-table { width:100%;border-collapse:collapse;font-size:0.84rem; }
.ver-table thead tr { border-bottom:1px solid var(--border); }
.ver-table th { text-align:left;padding:8px 12px;font-size:0.72rem;font-family:inherit;color:var(--muted);font-weight:500;white-space:nowrap; }
.ver-row { border-bottom:1px solid var(--border);transition:background 0.12s; }
.ver-row:last-child { border-bottom:none; }
.ver-row:hover { background:rgba(255,255,255,0.02); }
.ver-row td { padding:12px 12px;vertical-align:middle; }

.ver-badge { font-family:inherit;font-size:0.78rem;font-weight:700;color:#fff; }
.ver-badge.ver-latest { color:var(--green); }
..ver-latest-label { font-family:inherit;font-size:0.62rem;background:rgba(167,139,250,0.1);color:var(--green);padding:2px 8px;border-radius:100px;margin-left:6px;;margin-left:6px; }

.sw-chip { font-family:inherit;font-size:0.68rem;background:rgba(255,255,255,0.05);border:1px solid var(--border);color:var(--muted2);padding:2px 7px;border-radius:4px;margin-right:4px;display:inline-block; }

.ver-cl-text { color:var(--muted2);font-size:0.82rem;line-height:1.5; }
.muted-text { color:var(--muted2); }

.ver-dl-btn { font-family:inherit;font-size:0.75rem;font-weight:700;color:#050505;background:var(--green);border:none;border-radius:100px;padding:6px 16px;cursor:pointer;text-decoration:none;display:inline-block;transition:opacity 0.15s,transform 0.2s,box-shadow 0.2s;white-space:nowrap; }
.ver-dl-btn:hover { opacity:0.9;transform:translateY(-1px);box-shadow:0 4px 14px rgba(167,139,250,0.3); }
.ver-dl-locked { font-size:0.82rem;color:var(--muted); }

.product-tabs {
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  padding: 14px 20px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: #fff; border-bottom-color: var(--green); }

.tab-badge {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
  color: var(--muted);
  vertical-align: middle;
}
.tab-badge:empty { display: none; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel .product-desc-full {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

#commentsAnchorOpis {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.changelog-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.changelog-entry:last-child { border-bottom: none; }

.changelog-entry-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.changelog-entry-date {
  margin-left: auto;
  font-size: 0.72rem;
}

.changelog-entry-body {
  font-size: 0.875rem;
  color: var(--muted2);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
