.products-page {
    overflow: hidden; /* Prevent body scroll, we scroll dashboard-container */
}

.dashboard-container {
    display: flex;
    height: calc(100vh - 80px);
    margin-top: 80px; /* Space for navbar */
    background: rgba(18, 19, 26, 0.5);
    backdrop-filter: blur(10px);
}

/* --- SIDEBAR --- */
.project-sidebar {
    width: 280px;
    background: rgba(18, 19, 26, 0.8);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-header h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--text-dim);
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
    margin-bottom: 5px;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.3);
}

.item-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-highlight);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.sidebar-item.active .item-icon {
    color: var(--accent-red);
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
}

.item-status {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* --- MAIN VIEW --- */
.product-view {
    flex: 1;
    overflow-y: auto;
    padding: 60px;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    margin-bottom: 80px;
}

.node-id {
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.product-hero h1 {
    font-size: 4rem;
    margin: 10px 0 20px;
    letter-spacing: -2px;
}

.product-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.product-tags .tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
}

.media-carousel {
    width: 100%;
}

.main-visual {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-panel);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.aiha-glow {
    width: 200px;
    filter: drop-shadow(0 0 40px rgba(230, 22, 74, 0.4));
}

.visual-thumbnails {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 100px;
    height: 60px;
    background: var(--bg-highlight);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.thumb.active {
    border-color: var(--accent-red);
}

/* --- INFO PANEL --- */
.info-panel .panel-card {
    background: var(--bg-highlight);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 0;
}

.panel-brand {
    height: 40px;
    margin-bottom: 30px;
}

.price-box {
    margin-bottom: 30px;
}

.price-label {
    display: block;
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-size: 24px;
    font-weight: 800;
}

.full-width {
    width: 100%;
    text-align: center;
    margin-top: 10px !important;
}

.action-buttons {
    margin-bottom: 40px;
}

.panel-details {
    border-top: 1px solid var(--glass-border);
    padding-top: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
}

.detail-row span:first-child {
    color: var(--text-dim);
}

.detail-row span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

/* --- DESCRIPTION --- */
.product-description h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-description p {
    color: var(--text-dim);
    max-width: 800px;
    line-height: 1.8;
}

@media (max-width: 1100px) {
    .product-hero {
        grid-template-columns: 1fr;
    }
    .info-panel .panel-card {
        position: relative;
    }
}

@media (max-width: 768px) {
    .project-sidebar {
        width: 80px;
    }
    .item-info, .sidebar-header h3 {
        display: none;
    }
    .sidebar-item {
        justify-content: center;
    }
}
