.nav-link {
    cursor: pointer;
}

/* Right column: Description, Features, Enquiry (stacked) */
.productData .col-6 .productDescription {
    margin-bottom: 0.5rem;
}

.productData .col-6 .notes {
    margin-bottom: 0;
}

.productData .product-detail-sections {
    margin-top: 1.25rem;
    padding-right: 0;
}

.productData .product-section-title {
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: #333;
}

.productData .product-detail-block {
    margin-bottom: 1.75rem;
}

.productData .product-detail-card .product-detail-card-body {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    background-color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
}

.productData .product-detail-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
}

.productData .product-detail-content p {
    margin-bottom: 0.75rem;
}

.productData .product-detail-content ul,
.productData .product-detail-content ol {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.productData .product-detail-empty,
.productData .product-tab-empty {
    color: #888;
    margin: 0;
    font-size: 0.95rem;
}

.productData .product-detail-enquiry .enquiry {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    padding: 0.5rem 1.5rem 1.5rem;
    background-color: #fff;
    margin-top: 0;
    border-radius: 4px;
}

.productData .product-detail-enquiry .enquiry form {
    box-shadow: none;
    padding: 0;
}

/* Full-width tabs below product row */
.productData .details-wrapper.product-detail-tabs-block {
    margin-top: 2.5rem;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.productData .details-wrapper.product-detail-tabs-block .nav-tabs {
    border-bottom: 1px solid #e0e0e0;
    background: #fafafa;
}

.productData .details-wrapper.product-detail-tabs-block ul.nav-tabs li.nav-item a.nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    color: #666;
}

.productData .details-wrapper .product-tab-pane {
    display: none;
    padding: 30px;
    border-top: 0;
}

.productData .details-wrapper .product-tab-pane.active {
    display: block;
}

.productData .details-wrapper .product-tab-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.productData .details-wrapper .product-tab-body p {
    margin-bottom: 1rem;
}

.productData .details-wrapper .product-tab-body ul,
.productData .details-wrapper .product-tab-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.productData .details-wrapper .product-tab-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.productData .details-wrapper .product-tab-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.productData .details-wrapper .product-tab-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.productData .details-wrapper .product-attachment-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: #09529D;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.productData .details-wrapper .product-attachment-link:hover {
    background-color: #085bb0;
    color: #fff;
}

/* Thumbnail selection */
.thumbnail-image-c {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}
.thumbnail-image-c:hover {
    border-color: #ccc;
}
.thumbnail-image-c.active {
    border-color: #007bff;
}

/* Related products */
.related-p-wrapper.detail-product .owl-carousel .owl-item {
    display: flex;
}
.related-p-wrapper.detail-product .carousel-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.related-p-wrapper.detail-product .carousel-card > a {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100%;
}
.related-p-wrapper.detail-product .carousel-img {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}
.related-p-wrapper.detail-product .carousel-img img {
    width: auto !important;
    max-width: 85% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: contain;
    margin: 0 auto !important;
    display: block;
}
.related-p-wrapper.detail-product .carousel-data {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .productData .details-wrapper.product-detail-tabs-block ul.nav-tabs li.nav-item a.nav-link {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 550px) {
    .related-p-wrapper.detail-product .carousel-img {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    .related-p-wrapper.detail-product .carousel-img img {
        max-height: 180px !important;
    }
}