/* Vehicle Selector Plugin Styles - WooCommerce Compatible */

/* Filter Widget (Shop Pages) */
.t14vs-filter-widget {
    background: transparent;
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: none;
    border: none;
}

.t14vs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.t14vs-title {
    color: inherit;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.t14vs-context {
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
}

.t14vs-form {
    width: 100%;
}

.t14vs-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: end;
}

.t14vs-field {
    display: flex;
    flex-direction: column;
}

.t14vs-field label {
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.t14vs-field select {
    padding: 12px 35px 12px 12px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.t14vs-field select:hover:not(:disabled) {
    border-color: #999;
}

.t14vs-field select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 1px #333;
}

.t14vs-field select:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.t14vs-submit {
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.t14vs-submit:hover:not(:disabled) {
    background: #555;
    transform: none;
    box-shadow: none;
}

.t14vs-submit:disabled {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
}

/* Filter Notice */
.t14vs-filter-notice {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.t14vs-filter-notice.t14vs-active {
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.t14vs-filter-notice.t14vs-empty {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.t14vs-count {
    color: #28a745;
    font-weight: 600;
}

.t14vs-clear {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.t14vs-clear:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Shortcode Widget - Keep original styling but make it more neutral */
.t14vs-shortcode-widget {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.t14vs-hero {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.t14vs-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.t14vs-hero-subtitle {
    font-size: 16px;
    margin: 0 0 30px 0;
    color: #666;
}

.t14vs-selector-box {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.t14vs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.t14vs-selector-box .t14vs-field label {
    color: #333;
}

.t14vs-selector-box .t14vs-field select {
    border-color: #ddd;
    color: #333;
}

.t14vs-submit-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Popular Vehicles */
.t14vs-popular {
    margin-top: 40px;
    text-align: center;
}

.t14vs-popular-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.t14vs-popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.t14vs-vehicle-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid #eee;
}

.t14vs-vehicle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.t14vs-vehicle-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.t14vs-vehicle-info {
    padding: 15px;
}

.t14vs-vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.t14vs-vehicle-years {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .t14vs-fields,
    .t14vs-grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    
    .t14vs-submit {
        grid-column: span 2;
    }
    
    .t14vs-hero {
        padding: 30px 20px;
    }
    
    .t14vs-hero-title {
        font-size: 28px;
    }
    
    .t14vs-selector-box {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .t14vs-fields,
    .t14vs-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .t14vs-submit {
        grid-column: 1;
    }
    
    .t14vs-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .t14vs-popular-grid {
        grid-template-columns: 1fr;
    }
}

/* Style variations for shortcode */
.t14vs-style-modern .t14vs-hero {
    border-radius: 8px;
}

.t14vs-style-compact .t14vs-hero {
    padding: 30px 20px;
    border-radius: 6px;
}

.t14vs-style-compact .t14vs-hero-title {
    font-size: 24px;
}

.t14vs-style-minimal .t14vs-hero {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.t14vs-style-minimal .t14vs-selector-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* Search Widget Styles */
.t14vs-search-widget {
    width: 100%;
    margin: 20px 0;
}

.t14vs-search-header {
    text-align: center;
    margin-bottom: 20px;
}

.t14vs-search-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.t14vs-search-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.t14vs-search-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.t14vs-search-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

/* Popular Widget Styles */
.t14vs-popular-widget {
    width: 100%;
    margin: 30px 0;
}

.t14vs-popular-header {
    text-align: center;
    margin-bottom: 25px;
}

.t14vs-popular-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.t14vs-popular-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .t14vs-search-fields {
        grid-template-columns: 1fr;
    }
    
    .t14vs-search-box {
        padding: 20px;
    }
}

/* ===============================
 CLEAN WHITE THEME VEHICLE SELECTOR
=============================== */

.t14vs-style-transparent {
    font-family: "Poppins", sans-serif; /* Change to anything you like */
}

/* FIELD BOXES */
.t14vs-style-transparent .t14vs-field select,
.t14vs-style-transparent .t14vs-field input {
    background: #ffffff;
    color: #222;
    border: 2px solid #e4e7ec;
    border-radius: 10px;
    padding: 14px 40px 14px 16px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
    cursor: pointer;
}

/* Hover + Focus effect (make it feel premium) */
.t14vs-style-transparent .t14vs-field select:hover,
.t14vs-style-transparent .t14vs-field input:hover {
    border-color: #c8ccd3;
    background: #fafafa;
}

.t14vs-style-transparent .t14vs-field select:focus,
.t14vs-style-transparent .t14vs-field input:focus {
    border-color: #111 !important;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.07);
    outline: none;
}

/* DROPDOWN OPTIONS */
.t14vs-style-transparent .t14vs-field select option {
    color: #222;
    background: #fff;
}

/* LABELS */
.t14vs-style-transparent .t14vs-field label {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    letter-spacing: 0.25px;
    margin-bottom: 6px;
}

/* DROPDOWN ARROW */
.t14vs-style-transparent .t14vs-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* SEARCH/FIND BUTTON */
.t14vs-style-transparent .t14vs-submit {
    background: #111;
    color: white;
    font-size: 15px !important;
    font-weight: 600;
    padding: 14px;
    border-radius: 10px;
    border: none;
    transition: 0.3s;
}

.t14vs-style-transparent .t14vs-submit:hover {
    background: #222;
    transform: translateY(-1px);
}



/* Hide button text and show only magnifying glass for transparent style */
.t14vs-style-transparent .t14vs-submit .t14vs-search-text {
    display: none;
}

.t14vs-style-transparent .t14vs-submit .t14vs-search-icon {
    font-size: 24px;
    display: block;
}

.t14vs-style-transparent .t14vs-submit {
    font-size: 0; /* Ensure no text shows */
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}