/* Product detail styles */

.product-detail {
    margin-top: 40px;
}

.product-detail .product-image-carousel {
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

/* Thumbnails */
.product-detail .product-thumbnails {
    margin-right: 30px;
}

.product-detail .product-thumbnails .thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    scroll-behavior: smooth;
}

.product-detail .product-thumbnails .thumbnail-list::-webkit-scrollbar {
    width: 4px;
}

.product-detail .product-thumbnails .thumbnail-list::-webkit-scrollbar-track {
    background: var(--support-100);
    border-radius: 2px;
}

.product-detail .product-thumbnails .thumbnail-list::-webkit-scrollbar-thumb {
    background: var(--support-400);
    border-radius: 2px;
}

.product-detail .product-thumbnails .thumbnail-list::-webkit-scrollbar-thumb:hover {
    background: var(--support-500);
}

.product-detail .product-thumbnails .thumbnail-item {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
    background: var(--support-50);
    flex-shrink: 0;
}

.product-detail .product-thumbnails .thumbnail-item:hover {
    opacity: 0.8;
    border-color: var(--support-300);
}

.product-detail .product-thumbnails .thumbnail-item.active {
    opacity: 1;
    border: 1px solid var(--primary-500);
} 

.product-detail .product-thumbnails .thumbnail-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    border-radius: 8px;
}

.product-detail .product-thumbnails .thumbnail-item.no-image-thumbnail {
    background: var(--primary-50);
}

/* Main Image */
.product-detail .product-main-image {
    position: relative;
    width: 100%;
}

.product-detail .product-main-image .main-image-item {
    display: none;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--support-50);
    border: 1px solid var(--support-200);
}

.product-detail .product-main-image .main-image-item.active {
    display: block;
}

.product-detail .product-main-image .main-image-item a {
    display: block;
    width: 100%;
    cursor: pointer;
}

.product-detail .product-main-image .main-image-item img {
    width: 100%;
    height: 540px;
    display: block;
    object-fit: cover;
    background: var(--support-50);
}

.product-detail .product-main-image .main-image-item .no-image-placeholder {
    width: 100%;
    height: 540px;
    display: block;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
}

.product-detail .product-info {
    display: flex;
    gap: 6px;
    flex-direction: column;
    margin-left:30px;
}

.product-detail .product-info .product-title h1 {
    font-size: 36px;
}

.product-detail .product-info .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail .product-info .product-price-price {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    margin-bottom: 20px;
    color: var(--primary-500);
}

.product-detail .product-price-price.visible-xs.visible-sm ,
.product-detail .product-price-price.hidden-xs.hidden-sm  {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-500);
}
.dot-beschikbaar,
.dot-verkocht {
    background-color: #6FFF00;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}
.dot-verkocht {
    background-color: #FF4949;
}
.product-technical-specifications,
.product-detail-content {
    margin-left: 116px;
}
.product-technical-specifications {
    margin-top: 30px;
    margin-bottom: 30px;
}
a.brochure-link {
    margin: 0;
    margin-bottom: 30px;
}
.product-detail-content {
    font-size: 18px;
    line-height: 1.6;
}

.product-detail-content h2 {
    margin-bottom: 20px;
    position: relative;
    padding-left: 12px;
    font-size: 28px;
}

.product-detail-content p {
    font-size: 18px;
    line-height: 1.6;
}
.product-detail-content h2:before {
    content: '';
    background: var(--primary-500);
    width: 2px;
    margin-top: 4px;
    height: calc(100% - 8px);
    display: block;
    left: 0;
    position: absolute;
}

/* Technische specificaties styling */
#spec {
    margin-bottom: 30px;
}

#spec table {
    background: var(--white) !important;
    border: 1px solid var(--support-200) !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

#spec table tr {
    border-bottom: 1px solid var(--support-200) !important;
    transition: background-color 0.2s ease;
}

#spec table tr:last-child {
    border-bottom: none !important;
}

#spec table tr:hover {
    background-color: var(--support-50) !important;
}

#spec table td {
    padding: 14px 20px !important;
    vertical-align: top;
}

#spec table td:first-child {
    font-weight: 600 !important;
    color: var(--support-900);
    width: 35%;
    border-right: 1px solid var(--support-200);
    background-color: var(--support-50) !important;
}

#spec table td:last-child {
    color: var(--support-800);
}

#spec table td a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

#spec table td a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

/* H2 styling voor technische specificaties */
h2.specifications-title {
    position: relative;
    padding-left: 12px;
    margin-bottom: 20px;
}

h2.specifications-title:before {
    content: '';
    background: var(--primary-500);
    width: 2px;
    margin-top: 4px;
    height: calc(100% - 8px);
    display: block;
    left: 0;
    position: absolute;
}

/* Specifications table styling */
.product-detail table {
    background: var(--white) !important;
    border: 1px solid var(--support-200) !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.product-detail table tr {
    border-bottom: 1px solid var(--support-200) !important;
    transition: background-color 0.2s ease;
}

.product-detail table tr:last-child {
    border-bottom: none !important;
}

.product-detail table tr:hover {
    background-color: var(--support-50) !important;
}

.product-detail table td {
    padding: 14px 20px !important;
    vertical-align: top;
}

.product-detail table td:first-child {
    font-weight: 600 !important;
    color: var(--support-900);
    width: 35%;
    border-right: 1px solid var(--support-200);
    background-color: var(--support-50) !important;
}

.product-detail table td:last-child {
    color: var(--support-800);
}

.product-detail table td a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-detail table td a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

/* Brochure link styling */
a.brochure-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1.5px solid var(--primary-500);
    border-radius: var(--radius-sm);
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

a.brochure-link:hover {
    background: var(--primary-500);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 115, 24, 0.2);
}

@media (max-width: 991px) {
    .product-technical-specifications, .product-detail-content {
        margin-left: 0;
    }
    .product-detail .product-info {
        margin-left: 0;
        margin-top: 30px;
    }

    .product-detail .product-image-carousel {
        display: flex;
        flex-direction: column;
    }
    .product-detail .product-thumbnails {
       order: 2;
    }
    .product-detail .product-thumbnails .thumbnail-list {
        display: flex;
        flex-direction: row;
        margin-top: 30px;
    }
    .product-image-carousel {
        margin-top: 30px;
    }    
    .product-detail .product-main-image .main-image-item img {
        height: 79vw;
    }
}

@media (max-width: 767px) {
    .product-detail .product-thumbnails .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}