/* Shared product detail enhancements */

.product-sub-title-enhanced {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 3px;
    margin-top: 0;
}

.product-sub-title-enhanced .product-category-title {
    order: 1;
    display: block;
    margin-top: 0;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}

.product-sub-title-enhanced .product-filter-values {
    order: 2;
    display: block;
    margin-top: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.connector-options {
    margin-top: 12px;
    padding: 0 0 18px;
}

.connector-description-inline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    margin: 14px 0 18px;
    padding: 0;
    color: #667789;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.connector-description-marker {
    color: #81909d;
    font-size: 12px;
    font-weight: 700;
    line-height: 19px;
}

.connector-description-content {
    min-width: 0;
}

.connector-description-content p {
    margin: 0;
}

.connector-description-content > :first-child {
    margin-top: 0;
}

.connector-description-content > :last-child {
    margin-bottom: 0;
}

.connector-options h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: #3d4a57;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
}

.connector-options h2::before {
    display: block;
    width: 3px;
    height: 16px;
    background: #1471c9;
    content: "";
}

.connector-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.connector-option {
    min-width: 0;
    padding: 5px;
    border: 1px solid #dfe3e8;
    background: #fff;
    text-align: center;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.connector-option:hover {
    border-color: #9dbedc;
    box-shadow: 0 2px 8px rgba(20, 113, 201, .12);
    transform: translateY(-1px);
}

.connector-option-image {
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: zoom-in;
    text-decoration: none;
}

.connector-option-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.connector-option span {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    margin: 5px 1px 0;
    color: #555;
    font-size: 12px;
    line-height: 15px;
}

.connector-option-image:focus-visible {
    outline: 2px solid #1471c9;
    outline-offset: 2px;
}

@media screen and (max-width: 991px) {
    .connector-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
