﻿.partListing {
    border-bottom: 1px solid #efefef;
    padding-bottom: 3px;
}

.partListingText {
    position: relative;
    top: -3px;
    line-height: 20px;
    overflow: auto;
    padding-left: 20px;
}

.partListingTextLine2 {
    font-size: .8em;
}

.customArea p {
    margin-bottom: 0;
}

.customArea .customBtn {
    color: #fff;
    background-color: #000;
    border-color: #007bff;
}

.descriptionArea img {
    max-width: 100%;
    height: auto; /* This is crucial to maintain the aspect ratio */
}

.parts-wrapper {
    position: relative;
}

.parts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 10;
    text-align: center;
}

.overlay-message {
    position: absolute;
    top: .5rem; /* 👈 fixed offset from top of .parts-section */
    left: 50%;
    transform: translateX(-50%); /* center horizontally */

    width: 80%;
    max-width: 600px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.zoom-instruction {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.85rem;
    color: #333;
    pointer-events: none; /* let clicks pass through */
}

.gallery-row {
    margin-left: -5px;
    margin-right: -5px;
}

.gallery-col {
    padding: 5px;
}

.gallery-thumb {
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.2s;
    cursor: pointer;
    width: 100%;
    height: auto;
}

    .gallery-thumb:hover {
        border-color: #333;
    }



#parts {
    scroll-margin-top: 120px; /* adjust based on your header height */
}

.partListing {
    border-bottom: 1px solid #efefef;
    padding-bottom: 3px;
}

#productTabs .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 0.75rem 1.25rem;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

    #productTabs .nav-link:hover {
        color: #000;
        border-bottom: 3px solid #ccc;
        background: none;
    }

    #productTabs .nav-link.active {
        color: #000;
        border-bottom: 3px solid #007bff; /* Bootstrap primary color */
        background: none;
    }

.same-width {
    min-width: 220px; /* adjust as needed */
    text-align: center;
}
