/* Custom styles for product detail page */

/* Remove green vertical lines and set left alignment */
.specs-table th::after {
    display: none; /* Remove the green vertical lines */
}

.specs-table th, .specs-table td {
    text-align: left; /* Left-align the content */
}

/* PDF Download Button */
.pdf-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00823C;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    margin: 20px 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 300px;
}

.pdf-download-btn:hover {
    background-color: #006d33;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pdf-download-btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* Video section styles */
.spec-section .spec-images .video-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 0;
    box-shadow: none;
    width: 31%;
    display: inline-block;
    vertical-align: top;
    margin-right: 2%;
    height: auto;
    margin-bottom: 0;
}

.spec-section .spec-images .video-container:hover {
    border-color: #00823C;
}

.video-container img {
    width: 100%;
    transition: transform 0.3s ease;
    display: block;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.video-container:hover img {
    transform: scale(1.03);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 130, 60, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.video-container:hover .video-play-button {
    background-color: rgba(0, 130, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Match the spec-image-item styles for consistency */
.spec-section .spec-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-section .spec-images .spec-image-item {
    width: 31%;
    border: 2px solid #ECECEC;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Video modal styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.video-modal video {
    width: 100%;
    display: block;
}

.video-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.video-close-btn:hover {
    color: #00823C;
    background-color: rgba(0, 0, 0, 0.8);
} 