/* Dynotech Vehicle Tree – Frontend Dropdown */

.dvt-filter-wrapper {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 0 0 30px;
    max-width: 900px;
}

.dvt-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}

.dvt-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.dvt-field {
    flex: 1 1 200px;
    min-width: 180px;
}

/* Made deliberately high-contrast/self-colored (2/8/2026, Panos: "βάλε το BRAND -
   ENGINE - PART TYPE - PART SERIES από πάνω από τα κουτάκια να ξέρει ο user τι
   διαλέγει" — a plain gray label was getting lost against the live site's dark theme,
   which is a page-level style this plugin doesn't control). A small self-contained
   caption chip is visible no matter what background color the surrounding theme uses. */
.dvt-field label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #12253f;
    border-radius: 4px;
}

.dvt-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #222;
    appearance: auto;
    cursor: pointer;
    transition: border-color 0.2s;
}

.dvt-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.dvt-select:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.dvt-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dvt-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.dvt-btn-primary {
    background: #0073aa;
    color: #fff;
}

.dvt-btn-primary:hover:not(:disabled) {
    background: #005f8a;
}

.dvt-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dvt-btn-secondary {
    background: #e8e8e8;
    color: #333;
}

.dvt-btn-secondary:hover {
    background: #d5d5d5;
}

/* Responsive */
@media (max-width: 600px) {
    .dvt-selects {
        flex-direction: column;
    }
    .dvt-field {
        min-width: 100%;
    }
}

/* Technical data table on the single product page (DVT_Engine_Data::render_on_product) */
.dvt-engine-specs {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 24px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dvt-engine-specs h3 {
    color: #d6431f;
}

.dvt-spec-table tr:nth-child(even) {
    background: #fafafa;
}

.dvt-spec-table tr:hover {
    background: #fff3ec;
}

.dvt-coating-included-note {
    background: #f3fbf4;
    border-left: 4px solid #2e7d32;
    padding: 8px 12px;
    border-radius: 4px;
}
