/* Single Product Page */
.product-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
}

/* Left Column */
.product-main {}

/* Screenshots Gallery */
.product-gallery {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--gap-md);
}

.gallery-main {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: var(--gap-xs);
    padding: var(--gap-sm);
    overflow-x: auto;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.gallery-thumb {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--neon-green);
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Description Tabs */
.product-tabs {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.product-tabs .tabs {
    padding: 0 var(--gap-md);
    background: var(--bg-tertiary);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
}

.product-tabs .tab-item {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
}

.product-tabs .tab-item.active {
    color: var(--neon-green);
    border-bottom-color: var(--neon-green);
}

.product-tabs .tab-content {
    padding: var(--gap-md);
}

.product-tabs .tab-content h2,
.product-tabs .tab-content h3 {
    font-size: var(--fs-md);
    margin-top: var(--gap-md);
    color: var(--neon-green);
}

.product-tabs .tab-content h2:first-child,
.product-tabs .tab-content h3:first-child {
    margin-top: 0;
}

.product-tabs .tab-content ul {
    padding-left: var(--gap-lg);
}

.product-tabs .tab-content li {
    margin-bottom: var(--gap-xs);
    color: var(--text-secondary);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: var(--gap-xs) 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li i {
    color: var(--neon-green);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Changelog */
.changelog-item {
    padding: var(--gap-sm) 0;
    border-bottom: 1px solid var(--border);
}

.changelog-item:last-child { border-bottom: none; }

.changelog-version {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-xs);
}

.changelog-version .badge {
    font-family: var(--font-mono);
}

.changelog-date {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Right Column - Sidebar */
.product-sidebar {
    position: relative;
}

.product-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--gap-md);
    position: sticky;
    top: calc(var(--header-height) + var(--gap-md));
}

.product-price-main {
    text-align: center;
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-md);
    border-bottom: 1px solid var(--border);
}

.product-price-main .price-current,
.product-price-main .price-sale {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--neon-green);
    font-family: var(--font-mono);
}

.product-price-main .price-original {
    font-size: var(--fs-md);
    color: var(--price-old);
    text-decoration: line-through;
    margin-left: var(--gap-sm);
}

.product-price-main .badge-sale {
    margin-left: var(--gap-sm);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.product-actions .btn {
    padding: 10px;
    font-size: var(--fs-base);
}

/* Product Details List */
.product-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-details li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--gap-sm) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-sm);
}

.product-details li:last-child { border-bottom: none; }

.product-details .detail-label {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    font-family: var(--font-mono);
}

.product-details .detail-label i {
    width: 16px;
    text-align: center;
    color: var(--neon-green);
    font-size: var(--fs-xs);
}

.product-details .detail-value {
    color: var(--text-primary);
    font-weight: var(--fw-medium);
    text-align: right;
    max-width: 60%;
}

/* Product Tags */
.product-tags {
    margin-top: var(--gap-sm);
    padding-top: var(--gap-sm);
    border-top: 1px solid var(--border);
}

.product-tags h4 {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    margin-bottom: var(--gap-xs);
    font-family: var(--font-mono);
}

.product-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
}

/* Related Products */
.related-products {
    margin-top: var(--gap-2xl);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid var(--border);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.lightbox-close:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 14, 20, 0.8);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Responsive */
@media (min-width: 1024px) {
    .product-single {
        grid-template-columns: 1fr 340px;
    }
}
