/* Main compatibility tool wrapper */

.bolt-compatibility-tool {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Dropdown row */
.bolt-compatibility-fields {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 36px;
}

/* Individual dropdown field */
.bolt-compatibility-field {
    display: flex;
    flex-direction: column;
    min-width: 260px;
}



.bolt-compatibility-field label {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.bolt-compatibility-field select {

    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background-color: #fff;
    color: #222;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bolt-compatibility-field select:focus {
    outline: none;
    border-color: #108f3a;
    box-shadow: 0 0 0 3px rgba(16, 143, 58, 0.12);
}

/* Results wrapper */
#bolt-compatibility-results {
    margin-top: 10px;
}

/* Results heading */
.bolt-compatibility-output > h3 {
    text-align: center;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 28px;
    color: #111;
}



/* Kit note box above returned cards */
.bolt-kit-notes {
    max-width: 880px;
    margin: 0 auto 36px;
    padding: 22px 26px;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-left: 5px solid #108f3a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Each platform/kit group */
.bolt-kit-note {
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
}

.bolt-kit-note:first-child {
    padding-top: 0;
}

.bolt-kit-note:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Standard / Pro lines */
.bolt-kit-line {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 5px;
}

.bolt-kit-line strong {
    color: #111;
    font-weight: 700;
}

/* Compatible text */
.bolt-compatible-text {
    color: #108f3a;
    font-weight: 700;
    text-transform: capitalize;
}

/* View kit links */
.bolt-kit-view-link {
    display: inline-block;
    margin-left: 8px;
    color: #108f3a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bolt-kit-view-link:hover {
    color: #0b6f2e;
}

/* Loading / no result message */
#bolt-compatibility-results > p {
    text-align: center;
    font-size: 16px;
    margin: 24px 0;
}

/* Hide Rocket55 admin badge that appears from admin-ajax */
.bolt-compatibility-output .badge {
    display: none !important;
}

/* Product grid spacing inside compatibility result */
.bolt-compatibility-output .product-grid {
    padding-top: 0;
}

/* Center cards better if fewer than 3 return */
.bolt-compatibility-output .product-grid .row {
    justify-content: center;
}

/* Product card refinements */
.bolt-compatibility-output .product-grid__col {
    margin-bottom: 32px;
}

.bolt-compatibility-output .product-grid__card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bolt-compatibility-output .product-grid__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Product image area */
.bolt-compatibility-output .product-grid__image {
    background: #f6f6f6;
    padding: 20px;
}

.bolt-compatibility-output .product-grid__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product text area */
.bolt-compatibility-output .product-grid__body {
    padding: 20px 22px 22px;
}

.bolt-compatibility-output .product-grid__title {
    font-size: 22px;
    line-height: 1.25;
    color: #111;
    margin: 0 0 8px;
}

.bolt-compatibility-output .product-grid__sku {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

.bolt-compatibility-output .product-grid__desc {
    color: #444;
    font-size: 15px;
    line-height: 1.45;
}

.bolt-compatibility-output .product-grid__desc ul {
    margin: 0 0 16px 18px;
    padding: 0;
}

.bolt-compatibility-output .product-grid__desc li {
    margin-bottom: 4px;
}

.bolt-compatibility-output .product-grid__link {
    color: #108f3a;
    font-weight: 700;
}

/* Tooltip compatibility */
.bolt-kit-notes .tooltip {
    position: relative;
    display: inline-block;
    color: #108f3a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.bolt-kit-notes .tooltip .tooltiptext {
    visibility: hidden;
    min-width: 130px;
    background-color: #222;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 20;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.bolt-kit-notes .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

.bolt-kit-notes .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
    .bolt-compatibility-tool {
        padding: 32px 16px;
    }

    .bolt-compatibility-fields {
        display: block;
        margin-bottom: 28px;
    }

    .bolt-compatibility-field {
        min-width: 100%;
        margin-bottom: 16px;
    }

    .bolt-compatibility-output > h3 {
        font-size: 24px;
    }

    .bolt-kit-notes {
        padding: 18px;
    }

    .bolt-kit-line {
        font-size: 15px;
    }

    .bolt-kit-view-link {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}

.bolt-compatibility-intro {

    max-width: 900px;
    margin: 0 auto 28px;
    padding: 70px 20px 0;
    text-align: center;

}

.bolt-compatibility-intro h1 {

    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #111;
    font-weight:800;
}

.bolt-compatibility-intro p {

    max-width: 740px;
    margin: 0 auto;
    color: #555;
    font-size: 18px;
    line-height: 1.55;
}

@media (max-width: 767px) {

    .bolt-compatibility-intro {
        padding: 44px 16px 0;
        margin-bottom: 20px;
    }
    .bolt-compatibility-intro h1 {
        font-size: 32px;
    }
    .bolt-compatibility-intro p {
        font-size: 16px;
    }
    .bolt-compatibility-tool {
        padding: 10px 16px 40px;
    }
}
