/* Product Detail Page Styles */

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
    margin-top: 100px;
}

/* Hero Section */
.product-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
}

.product-image-container {
    flex: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #e2e8f0;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 2rem;
    max-height: 500px;
}

.product-info {
    flex: 1;
}

.product-line {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
}

.line-residential {
    background: #e0f2fe;
    color: #0284c7;
}

.line-commercial {
    background: #f3e8ff;
    color: #7c3aed;
}

.line-industrial {
    background: #dcfce7;
    color: #059669;
}

.product-info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 300;
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 2.5rem;
}

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

/* Technical Specs Section */
.tech-specs {
    padding: 6rem 0;
    background: #f8fafc;
    width: 100%;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.tech-specs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tech-specs h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #1e293b;
}

.specs-table-wrapper {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 1.25rem 2rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.specs-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #334155;
    width: 40%;
}

.specs-table td {
    color: #475569;
    font-feature-settings: "tnum";
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover td {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
    .product-hero {
        flex-direction: column;
        padding: 4rem 0;
        text-align: center;
    }

    .product-actions {
        justify-content: center;
    }

    .product-info h1 {
        font-size: 2.5rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    .specs-table th {
        background: #f8fafc;
        color: #64748b;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding-bottom: 0.25rem;
    }

    .specs-table td {
        padding-top: 0.25rem;
        font-weight: 500;
    }
}