.product-detail {
    padding: 140px 0 60px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 50px;
    align-items: start;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    min-height: 430px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
}

.main-image img {
    width: 100%;
    max-height: 410px;
    object-fit: contain;
    border-radius: 12px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.thumbnail-button {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    line-height: 0;
}

.thumbnail-button:focus-visible {
    outline: 3px solid rgba(0, 50, 255, 0.35);
    outline-offset: 3px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    padding: 3px;
    object-fit: contain;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #F24A11;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    box-shadow: 0 0 0 3px rgba(242, 74, 17, 0.1);
}

.detail-info h1 {
    margin-bottom: 18px;
    font-size: 2.5rem;
    line-height: 1.16;
    background: linear-gradient(135deg, #F24A11, #0032FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.series-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    color: #1a5f7a;
    background: #edf7fb;
    border: 1px solid #cfe7f1;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.detail-info .description {
    margin-bottom: 26px;
    color: #555;
    font-size: 1.08rem;
    line-height: 1.8;
}

.description-lead {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.specifications-section {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.specifications,
.model-comparison {
    width: 100%;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
}

.specifications h2,
.model-comparison h2 {
    margin-bottom: 20px;
    color: #1a5f7a;
    font-size: 1.3rem;
}

.specifications ol {
    margin: 0;
    padding-left: 24px;
    color: #666;
}

.specifications li {
    padding: 10px 4px 10px 8px;
    border-bottom: 1px solid #e8edf2;
    line-height: 1.6;
}

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

.model-comparison {
    overflow-x: auto;
}

.model-comparison table {
    min-width: 940px;
}

.model-comparison--wide table {
    min-width: 1080px;
}

.model-comparison .row-label {
    min-width: 165px;
    text-align: left;
    font-weight: 600;
}

.model-comparison .shared-value {
    text-align: left;
}

/* A2 specification table: keep labels and shared values centered. */
.model-comparison--a2 .row-label,
.model-comparison--a2 .shared-value,
.model-comparison--b2 .row-label,
.model-comparison--b2 .shared-value,
.model-comparison--iii .row-label,
.model-comparison--iii .shared-value {
    text-align: center;
}

.contact-btn {
    display: inline-block;
    align-self: center;
    padding: 15px 40px;
    color: #fff;
    background: linear-gradient(135deg, #F24A11, #0032FF);
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(242, 74, 17, 0.3);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: #1a5f7a;
    font-weight: 500;
    text-decoration: none;
}

.back-link:hover {
    color: #ff6b35;
}

@media (max-width: 768px) {
    .product-detail {
        padding-top: 110px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-image {
        min-height: 330px;
        padding: 20px;
    }

    .main-image img {
        max-height: 310px;
    }

    .detail-info h1 {
        font-size: 2rem;
    }

    .specifications-section {
        margin-top: 36px;
    }

    .specifications,
    .model-comparison {
        padding: 20px;
    }
}


/* Focused biosafety detail additions */
.airflow-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}

.airflow-stat {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2edf3;
    border-radius: 12px;
}

.airflow-stat strong {
    display: block;
    margin-bottom: 4px;
    color: #1a5f7a;
    font-size: 1.08rem;
}

.airflow-stat span {
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* Header certification marks */
.detail-certifications {
    min-height: 48px;
    margin: 0 0 8px;
    display: flex;
    justify-content: flex-end;
}

.certification-marks--header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.certification-marks--header .certification-mark {
    width: 44px;
    height: 38px;
    padding: 3px;
    object-fit: contain;
}

.main-image--placeholder {
    min-height: 430px;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(145deg, #f8fbfd, #eef5f8) !important;
    border: 1px dashed #b9cdd7 !important;
    padding: 40px !important;
    text-align: center;
}

.main-image--placeholder img {
    width: 128px;
    height: auto;
    opacity: 0.36;
}

.main-image--placeholder strong {
    display: block;
    color: #1a5f7a;
    font-size: 1.05rem;
}

.main-image--placeholder span {
    max-width: 310px;
    color: #75838d;
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .airflow-summary {
        grid-template-columns: 1fr;
    }

    .detail-certifications {
        min-height: 0;
        margin-bottom: 14px;
        justify-content: center;
    }

    .certification-marks--header {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }

    .certification-marks--header .certification-mark {
        width: 40px;
        height: 34px;
        padding: 2px;
    }

    .main-image--placeholder {
        min-height: 330px;
        padding: 30px !important;
    }
}
