.product-detail-page {
    padding: 30px 0 60px;
    background: #f4f7fb;
}

.product-banner {
    height: 90px;
    background: linear-gradient(90deg, #0f7ea8, #1aa0c7);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.product-detail-container {
    max-width: 1380px;
    width: 100%;
}

.product-detail-wrapper {
    align-items: stretch;
}

.product-gallery-card,
.product-info-card,
.product-description-card,
.product-contact-box {
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 40, 70, 0.06);
}

.product-gallery-card {
    padding: 14px;
    height: 100%;
}

.main-image-wrapper {
    width: 100%;
    min-height: 520px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 12px;
}

.product-info-card {
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1f7db2;
    background: #eef7ff;
    border-radius: 999px;
    margin-bottom: 16px;
}

.product-title {
    font-size: 38px;
    font-weight: 700;
    color: #16324f;
    margin-bottom: 18px;
}

.product-price {
    font-size: 36px;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 20px;
}

.product-short-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #5b6b7c;
    margin-bottom: 24px;
}

.product-contact-btn {
    align-self: flex-start;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 28px;
}

.other-images-area {
    border-top: 1px solid #e7eef5;
    padding-top: 20px;
    margin-top: auto;
}

    .other-images-area h6 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 14px;
        color: #24384c;
    }

.other-images-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.other-image-thumb {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d9e4ef;
    cursor: pointer;
    transition: 0.2s ease;
}

    .other-image-thumb:hover {
        transform: scale(1.04);
        border-color: #1f7db2;
    }

.product-bottom-area {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-description-card {
    padding: 30px;
}

.section-header {
    margin-bottom: 24px;
}

    .section-header h2 {
        font-size: 30px;
        font-weight: 700;
        color: #16324f;
        margin-bottom: 10px;
    }

.section-line {
    width: 70px;
    height: 4px;
    background: #1f9ac0;
    border-radius: 20px;
}

.product-description-content {
    font-size: 15px;
    line-height: 1.9;
    color: #495867;
}

    .product-description-content img {
        max-width: 100%;
        height: auto;
    }

.product-contact-box {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(180deg, #f9fcff 0%, #eef7fb 100%);
    border: 1px dashed #b8d5e3;
}

    .product-contact-box h3 {
        font-size: 28px;
        font-weight: 700;
        color: #16324f;
        margin-bottom: 12px;
    }

    .product-contact-box p {
        font-size: 15px;
        color: #607284;
        margin-bottom: 18px;
    }

.product-image-modal .modal-dialog.modal-full-custom {
    width: 92vw;
    max-width: 92vw;
    margin: 1.5rem auto;
}

.product-image-modal .image-modal-content {
    background: rgba(0, 0, 0, 0.96);
    border: none;
    border-radius: 22px;
    overflow: hidden;
    min-height: 88vh;
}

.product-image-modal .image-modal-body {
    height: calc(88vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-modal .modal-preview-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.product-image-modal .modal-close-btn {
    opacity: 1;
    text-shadow: none;
    font-size: 2.4rem;
    line-height: 1;
    padding: 0.5rem 1rem;
    color: #fff;
}

.product-image-modal .modal-header {
    padding: 10px 16px 0 16px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .product-image-modal .modal-dialog.modal-full-custom {
        width: 96vw;
        max-width: 96vw;
        margin: 1rem auto;
    }

    .product-image-modal .image-modal-content {
        min-height: 82vh;
        border-radius: 16px;
    }

    .product-image-modal .image-modal-body {
        height: calc(82vh - 60px);
        padding: 12px;
    }

    .product-image-modal .modal-close-btn {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .product-banner {
        height: 70px;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price {
        font-size: 28px;
    }

    .main-image-wrapper {
        min-height: 340px;
    }

    .main-product-image {
        max-height: 340px;
    }

    .product-description-card,
    .product-info-card {
        padding: 22px;
    }

    .product-contact-box {
        padding: 28px 20px;
    }

        .product-contact-box h3 {
            font-size: 22px;
        }
}
