/* Product Page Styles */

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-image-container {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem;
    border-radius: 16px;
    overflow: hidden;
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.8), transparent);
    pointer-events: none;
}

.product-image {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: white;
    padding: 1.5rem;
}

.product-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.15),
        0 4px 16px rgba(0,0,0,0.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title {
    font-size: 2rem;
    margin: 0;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
}

.product-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
}

/* Product Highlights */
.product-highlights {
    background: var(--color-bg-light, #f8f9fa);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary, #2C3E50);
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary, #666);
    line-height: 1.5;
}

.highlights-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success, #27ae60);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Product Price */
.product-price {
    background: var(--color-bg-light, #f8f9fa);
    padding: 1.5rem;
    border-radius: 8px;
}

.price-label {
    font-size: 0.875rem;
    color: var(--color-text-muted, #999);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary, #2C3E50);
    margin: 0.25rem 0;
}

.price-unit {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-secondary, #666);
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-text-muted, #999);
    margin-top: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

/* Content Block */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #666);
}

.text-justify {
    text-align: justify;
}

/* Specs Table */
.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.specs-table td:first-child {
    width: 40%;
    background: var(--color-bg-light, #f8f9fa);
}

.doc-icon {
    font-size: 3rem;
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border, #e0e0e0);
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary, #2C3E50);
}

.faq-answer p {
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Card Components */
.card {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 2rem;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary, #2C3E50);
    margin: 1rem 0;
}

/* Comparison Table (for roll pages) */
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    border: 1px solid var(--color-border, #e0e0e0);
    text-align: left;
}

.comparison-table th {
    background: var(--color-primary, #2C3E50);
    color: white;
    font-weight: 600;
}

.comparison-table tr.highlight {
    background: #fff9e6;
    font-weight: 600;
}

/* How-to Cards */
.how-to-card {
    background: var(--color-bg-light, #f8f9fa);
    padding: 2rem;
    border-radius: 8px;
}

.how-to-card h4 {
    margin-bottom: 1rem;
    color: var(--color-primary, #2C3E50);
}

.how-to-card ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.how-to-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Alert Boxes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-info {
    background: #e7f3ff;
    border-color: #2196F3;
    color: #0d47a1;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .product-image-container {
        padding: 2rem;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}
