/**
 * Product Detail Page Styles
 */

:root {
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-font;
    background: #f8fafc;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-header {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0 40px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.product-image-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.product-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.badge-ea {
    background: #dbeafe;
    color: #1e40af;
}

.badge-indicator {
    background: #fef3c7;
    color: #92400e;
}

.badge-ebook {
    background: #dcfce7;
    color: #166534;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.meta-item i {
    font-size: 1.2rem;
    color: #2563eb;
}

.download-section {
    background: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.btn-download-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-download-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37,99,235,0.3);
    color: white;
}

.login-required-notice {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 8px;
}

.magic-number-notice {
    background: #dbeafe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.description-section {
    margin: 30px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.related-products {
    margin-top: 60px;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-body {
    padding: 20px;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-title a {
    color: #1e293b;
    text-decoration: none;
}

.related-title a:hover {
    color: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .product-meta {
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
