.vff-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 16px 0;
}
.vff-field {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1 1 180px;
}
.vff-field label {
    font-weight: 600;
    margin-bottom: 4px;
}
.vff-select {
    width: 100%;
    min-height: 42px;
}
.vff-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.vff-submit {
    min-height: 42px;
    padding: 0 18px;
    cursor: pointer;
}
.vff-submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}
.vff-reset {
    text-decoration: underline;
}
.vff-result-notice {
    margin-bottom: 16px;
}
@media (max-width: 640px) {
    .vff-filter-form,
    .vff-actions {
        display: block;
    }
    .vff-field,
    .vff-actions {
        margin-bottom: 10px;
    }
    .vff-submit {
        width: 100%;
    }
}

.vff-vehicle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 10px 0;
}
.vff-vehicle-row p {
    margin: 0 0 8px;
}
.vff-vehicle-row select {
    min-width: 220px;
}
.vff-repeatable-row {
    padding: 10px;
    border: 1px solid #ccd0d4;
    background: #fff;
    max-width: 980px;
}
@media (max-width: 782px) {
    .vff-vehicle-row {
        display: block;
    }
    .vff-vehicle-row select {
        width: 100%;
        min-width: 0;
    }
}

/* Category result gateway */
.vff-category-results {
    margin: 24px 0;
}
.vff-result-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.vff-result-summary h2 {
    margin-top: 0;
    margin-bottom: 8px;
}
.vff-result-summary p {
    margin: 4px 0;
}
.vff-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.vff-category-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.vff-category-card:hover,
.vff-category-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    border-color: #2271b1;
    text-decoration: none;
}
.vff-category-name {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}
.vff-category-count {
    color: #64748b;
    font-size: 13px;
}
.vff-category-cta {
    margin-top: auto;
    font-weight: 700;
    color: #2271b1;
}

/* Professional admin interface */
.toplevel_page_vff-dashboard #wpcontent,
.vehicle-fitment_page_vff-import-vehicles #wpcontent,
.vehicle-fitment_page_vff-manage-vehicles #wpcontent,
.vehicle-fitment_page_vff-import-fitments #wpcontent,
.vehicle-fitment_page_vff-filtering-options #wpcontent,
.vehicle-fitment_page_vff-usage #wpcontent,
.vehicle-fitment_page_vff-reset #wpcontent {
    background: #f5f7fb;
}
.toplevel_page_vff-dashboard .wrap,
.vehicle-fitment_page_vff-import-vehicles .wrap,
.vehicle-fitment_page_vff-manage-vehicles .wrap,
.vehicle-fitment_page_vff-import-fitments .wrap,
.vehicle-fitment_page_vff-filtering-options .wrap,
.vehicle-fitment_page_vff-usage .wrap,
.vehicle-fitment_page_vff-reset .wrap {
    max-width: 1180px;
}
.toplevel_page_vff-dashboard .wrap h1,
.vehicle-fitment_page_vff-import-vehicles .wrap h1,
.vehicle-fitment_page_vff-manage-vehicles .wrap h1,
.vehicle-fitment_page_vff-import-fitments .wrap h1,
.vehicle-fitment_page_vff-filtering-options .wrap h1,
.vehicle-fitment_page_vff-usage .wrap h1,
.vehicle-fitment_page_vff-reset .wrap h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 28px 0 18px;
    color: #111827;
}
.vff-hero,
.vff-card,
.toplevel_page_vff-dashboard .widefat,
.vehicle-fitment_page_vff-import-vehicles form,
.vehicle-fitment_page_vff-import-fitments form,
.vehicle-fitment_page_vff-reset form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.vff-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    border: 0;
}
.vff-hero h2,
.vff-hero p {
    color: #fff;
}
.vff-hero h2 {
    margin: 0 0 8px;
    font-size: 24px;
}
.vff-card {
    margin: 18px 0;
}
.vff-card h2 {
    margin-top: 0;
    font-size: 20px;
    color: #111827;
}
.vff-grid {
    display: grid;
    gap: 18px;
}
.vff-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vff-radio-card {
    display: block;
    max-width: 820px;
    margin: 0 0 12px;
    padding: 16px 18px;
    border: 1px solid #d7dce3;
    border-radius: 14px;
    background: #f8fafc;
}
.vff-radio-card input {
    margin-right: 8px;
}
.vff-radio-card span {
    display: block;
    margin: 6px 0 0 26px;
    color: #475569;
}
.vehicle-fitment_page_vff-manage-vehicles .nav-tab-wrapper {
    border-bottom: 0;
    margin-bottom: 18px;
}
.vehicle-fitment_page_vff-manage-vehicles .nav-tab {
    border: 1px solid #d7dce3;
    border-radius: 999px;
    background: #fff;
    margin-right: 8px;
    padding: 8px 18px;
}
.vehicle-fitment_page_vff-manage-vehicles .nav-tab-active {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}
.vff-vehicle-row,
.vff-repeatable-row {
    border-radius: 12px;
}
.toplevel_page_vff-dashboard .button-primary,
.vehicle-fitment_page_vff-import-vehicles .button-primary,
.vehicle-fitment_page_vff-import-fitments .button-primary,
.vehicle-fitment_page_vff-filtering-options .button-primary,
.vehicle-fitment_page_vff-reset .button-primary {
    border-radius: 8px;
    font-weight: 700;
}
@media (max-width: 900px) {
    .vff-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* v1.4.0 frontend vehicle shop shortcodes */
.vff-shop-page {
    --vff-primary: #0f4c81;
    --vff-primary-dark: #0b3458;
    --vff-border: #e5e7eb;
    --vff-muted: #64748b;
    --vff-card-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    margin: 24px 0;
}
.vff-shop-heading h2 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
    margin: 0 0 18px;
    letter-spacing: -0.035em;
}
.vff-filter-form-pro {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--vff-border, #e5e7eb);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--vff-card-shadow, 0 14px 34px rgba(15, 23, 42, 0.08));
}
.vff-filter-form-pro .vff-field label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #334155;
}
.vff-filter-form-pro .vff-select {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 12px;
    background: #fff;
}
.vff-filter-form-pro .vff-submit {
    border: 0;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 24px;
    background: var(--vff-primary, #0f4c81);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 76, 129, 0.22);
}
.vff-filter-form-pro .vff-submit:hover,
.vff-filter-form-pro .vff-submit:focus {
    background: var(--vff-primary-dark, #0b3458);
    color: #fff;
}
.vff-shop-results {
    margin-top: 24px;
}
.vff-shop-summary {
    border-radius: 22px;
    background: #0f172a;
    color: #fff;
    border: 0;
}
.vff-shop-summary h2,
.vff-shop-summary p {
    color: #fff;
}
.vff-section {
    margin: 24px 0;
}
.vff-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 16px;
}
.vff-section-heading h3 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.025em;
}
.vff-section-heading p {
    margin: 0;
    color: var(--vff-muted, #64748b);
}
.vff-shop-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.vff-shop-category-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--vff-border, #e5e7eb);
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vff-shop-category-card:hover,
.vff-shop-category-card:focus {
    transform: translateY(-3px);
    border-color: var(--vff-primary, #0f4c81);
    box-shadow: var(--vff-card-shadow, 0 14px 34px rgba(15, 23, 42, 0.08));
    color: inherit;
}
.vff-shop-category-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}
.vff-shop-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vff-category-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}
.vff-shop-category-body {
    display: grid;
    gap: 7px;
    padding: 16px;
}
.vff-shop-category-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}
.vff-shop-category-count {
    color: var(--vff-muted, #64748b);
    font-size: 14px;
}
.vff-shop-category-link {
    margin-top: 4px;
    color: var(--vff-primary, #0f4c81);
    font-weight: 800;
}
.vff-empty-state {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    margin: 18px 0;
}
.vff-empty-state h3 {
    margin: 0 0 6px;
}
.vff-empty-state p {
    margin: 0;
    color: #64748b;
}
.vff-shop-products .products {
    margin-top: 0;
}
.vff-fallback-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.vff-fallback-product-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    text-decoration: none !important;
    background: #fff;
    color: inherit;
}
.vff-fallback-product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .vff-filter-form-pro {
        padding: 16px;
        border-radius: 18px;
    }
    .vff-section-heading {
        display: block;
    }
    .vff-section-heading p {
        margin-top: 6px;
    }
    .vff-shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .vff-shop-category-body {
        padding: 12px;
    }
    .vff-shop-category-title {
        font-size: 15px;
    }
    .vff-shop-category-count,
    .vff-shop-category-link {
        font-size: 13px;
    }
}
@media (max-width: 420px) {
    .vff-shop-category-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.4.2 self-contained shortcode shop */
.vff-shortcode-shop {
    --vff-border: #e5e7eb;
    --vff-muted: #64748b;
    --vff-ink: #0f172a;
    --vff-accent: #2563eb;
    --vff-soft: #f8fafc;
}
.vff-shortcode-shop .vff-filter-form-pro {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--vff-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}
.vff-shortcode-shop .vff-field label {
    color: var(--vff-ink);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.vff-shortcode-shop .vff-select {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 12px;
    background: #fff;
}
.vff-shortcode-shop .vff-submit {
    border: 0;
    border-radius: 12px;
    background: var(--vff-accent);
    color: #fff;
    font-weight: 800;
    padding: 0 22px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .2);
}
.vff-shortcode-shop .vff-reset {
    color: var(--vff-muted);
    font-weight: 700;
}
.vff-category-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 18px 0 8px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--vff-border, #e5e7eb);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
    font-size: 14px;
}
.vff-category-trail a {
    color: var(--vff-accent, #2563eb);
    text-decoration: none;
    font-weight: 800;
}
.vff-category-trail a:hover {
    text-decoration: underline;
}
.vff-category-trail span:last-child {
    color: var(--vff-ink, #0f172a);
    font-weight: 800;
}
.vff-trail-separator {
    color: #94a3b8;
}
.vff-shop-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}
.vff-shop-category-card {
    overflow: hidden;
    min-height: 100%;
    border-radius: 18px;
    border: 1px solid var(--vff-border, #e5e7eb);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}
.vff-shop-category-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}
.vff-shop-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
}
.vff-shop-category-card:hover .vff-shop-category-image img {
    transform: scale(1.04);
}
.vff-shop-category-body {
    padding: 16px;
}
.vff-shop-category-title {
    color: var(--vff-ink, #0f172a);
    font-size: 17px;
}
.vff-shop-category-count {
    margin-top: 7px;
}
.vff-shop-category-link {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--vff-accent, #2563eb);
    font-size: 13px;
    font-weight: 900;
}
.vff-shop-products ul.products {
    margin-top: 0;
}
@media (max-width: 700px) {
    .vff-shortcode-shop .vff-filter-form-pro {
        padding: 14px;
    }
    .vff-shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .vff-shop-category-body {
        padding: 12px;
    }
    .vff-shop-category-title {
        font-size: 14px;
    }
    .vff-shop-category-count,
    .vff-shop-category-link {
        font-size: 12px;
    }
}
@media (max-width: 420px) {
    .vff-shop-category-grid {
        grid-template-columns: 1fr;
    }
}

/* My Garage */
.vff-garage-pro,
.vff-garage-logged-out {
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    padding: 28px;
    margin: 24px 0;
}
.vff-garage-header,
.vff-garage-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
}
.vff-garage-hero { align-items: flex-start; flex-direction: column; }
.vff-garage-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}
.vff-garage-header h2,
.vff-garage-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}
.vff-garage-header p,
.vff-garage-hero p {
    margin: 0;
    color: #64748b;
    max-width: 720px;
}
.vff-garage-add-toggle,
.vff-garage-primary,
.vff-garage-secondary,
.vff-garage-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.vff-garage-add-toggle,
.vff-garage-primary {
    background: #111827;
    color: #ffffff;
}
.vff-garage-add-toggle:hover,
.vff-garage-primary:hover { color: #ffffff; opacity: .92; }
.vff-garage-secondary { background: #f8fafc; color: #0f172a; border-color: #e2e8f0; }
.vff-garage-danger { background: #fff1f2; color: #be123c; border-color: #ffe4e6; }
.vff-garage-add-form {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    margin: 18px 0 24px;
}
.vff-garage-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}
.vff-garage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.vff-garage-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px;
    background: #ffffff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vff-garage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, .09);
}
.vff-garage-card.is-active {
    border-color: #111827;
    box-shadow: 0 16px 35px rgba(15, 23, 42, .12);
}
.vff-garage-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.vff-garage-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1f5f9;
    font-size: 22px;
}
.vff-garage-active-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
}
.vff-garage-card h3 { margin: 0 0 6px; font-size: 22px; }
.vff-garage-model { margin: 0 0 4px; font-weight: 700; color: #334155; }
.vff-garage-engine { margin: 0; color: #64748b; }
.vff-garage-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.vff-garage-notice {
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 700;
}
@media (max-width: 900px) {
    .vff-garage-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vff-garage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .vff-garage-pro, .vff-garage-logged-out { padding: 18px; border-radius: 18px; }
    .vff-garage-header { align-items: stretch; flex-direction: column; }
    .vff-garage-form-grid,
    .vff-garage-grid { grid-template-columns: 1fr; }
    .vff-garage-card-actions a { width: 100%; }
}


/* OE Numbers */
.vff-oe-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 8px 0;
}
.vff-oe-row input[type="text"] {
    max-width: 420px;
    width: 100%;
}
.vff-product-info-tab {
    display: grid;
    gap: 22px;
    margin-top: 12px;
}
.vff-product-info-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}
.vff-product-info-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.vff-product-info-heading span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .08em;
}
.vff-product-info-heading h3 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
}
.vff-oe-number-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.vff-oe-number-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: .02em;
}
.vff-fitment-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.vff-fitment-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    margin: 0;
}
.vff-fitment-table th,
.vff-fitment-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.vff-fitment-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.vff-fitment-table tr:last-child td {
    border-bottom: 0;
}
.vff-muted {
    color: #64748b;
    margin: 0;
}
@media (max-width: 640px) {
    .vff-oe-row { align-items: stretch; flex-direction: column; }
    .vff-oe-row .button { width: max-content; }
    .vff-product-info-panel { padding: 16px; border-radius: 16px; }
}


.vff-search-wrap{position:relative;background:#fff;border:1px solid #e8edf4;border-radius:22px;padding:22px;box-shadow:0 16px 45px rgba(15,23,42,.08);margin:22px 0;max-width:100%}
.vff-search-title{margin:0 0 16px;font-size:clamp(22px,2.5vw,32px);line-height:1.15;font-weight:800;color:#111827}.vff-product-search-form{margin:0}.vff-search-box{display:flex;gap:10px;align-items:center;background:#fff;border:2px solid #e6edf5;border-radius:18px;padding:8px 8px 8px 14px;box-shadow:0 8px 24px rgba(15,23,42,.05);transition:border-color .18s ease,box-shadow .18s ease}.vff-search-box:focus-within{border-color:#111827;box-shadow:0 12px 30px rgba(15,23,42,.11)}.vff-search-icon{font-size:23px;color:#64748b;line-height:1;transform:rotate(-15deg);display:inline-flex}.vff-product-search-input{flex:1;border:0!important;background:transparent!important;box-shadow:none!important;font-size:16px;line-height:1.4;min-height:48px;padding:0 8px!important;color:#111827}.vff-product-search-input:focus{outline:none!important}.vff-search-submit{background:#111827;color:#fff;border:0;border-radius:14px;padding:14px 22px;font-weight:800;cursor:pointer;min-height:48px;transition:transform .15s ease,background .15s ease}.vff-search-submit:hover{background:#020617;transform:translateY(-1px)}.vff-search-clear{width:36px;height:36px;border:0;border-radius:999px;background:#eef2f7;color:#334155;font-size:22px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.vff-search-clear:hover{background:#e2e8f0}.vff-search-loader{padding:12px 4px;color:#64748b;font-weight:700;display:flex;align-items:center;gap:8px}.vff-search-loader span{width:16px;height:16px;border:2px solid #dbe3ef;border-top-color:#111827;border-radius:50%;display:inline-block;animation:vff-spin .8s linear infinite}@keyframes vff-spin{to{transform:rotate(360deg)}}
.vff-search-suggestions{margin-top:12px;background:#f8fafc;border:1px solid #edf2f7;border-radius:16px;padding:12px}.vff-suggestion-title{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:8px;font-weight:800}.vff-search-suggestion{display:inline-flex;margin:4px;padding:8px 11px;border:1px solid #dbe3ef;border-radius:999px;background:#fff;cursor:pointer;font-weight:700;color:#334155}.vff-search-suggestion:hover{border-color:#111827;color:#111827}
.vff-search-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.vff-search-product-card{display:grid;grid-template-columns:118px 1fr;gap:16px;border:1px solid #e8edf4;border-radius:20px;padding:14px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.06);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.vff-search-product-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.1);border-color:#d6dee9}.vff-search-product-image{display:block;background:#f8fafc;border-radius:16px;overflow:hidden;align-self:start}.vff-search-product-image img{width:100%;height:auto;display:block;border-radius:16px}.vff-search-product-body{min-width:0}.vff-search-product-body h3{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:800}.vff-search-product-body h3 a{color:#111827;text-decoration:none}.vff-search-product-body h3 a:hover{text-decoration:underline}.vff-search-price{font-weight:900;margin-bottom:8px;color:#111827}.vff-search-meta,.vff-search-oe,.vff-search-stock{font-size:13px;color:#475569;margin:5px 0;line-height:1.35}.vff-search-product-body p{font-size:14px;color:#334155;margin:9px 0 11px;line-height:1.45}.vff-search-empty{padding:18px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:16px;margin-top:14px;color:#475569;font-weight:700}.vff-search-view-all{text-align:center;margin-top:18px}.vff-search-view-all .button{border-radius:999px;padding:10px 18px;font-weight:800}.vff-search-cart{display:flex;gap:8px;align-items:center;margin-top:12px}.vff-search-qty{width:74px!important;min-height:40px!important;border:1px solid #dbe3ef!important;border-radius:12px!important;padding:6px 8px!important;text-align:center;font-weight:800}.vff-search-add,.vff-search-select-options{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:12px!important;background:#111827!important;color:#fff!important;border:0!important;padding:8px 13px!important;font-weight:800!important;text-decoration:none!important;line-height:1.1!important}.vff-search-add:hover,.vff-search-select-options:hover{background:#020617!important;color:#fff!important}.vff-checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.vff-mini-check{display:block;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.vff-mini-check strong{font-weight:700}.vff-inline-actions{margin:14px 0;padding:14px;background:#f8fafc;border:1px solid #edf2f7;border-radius:14px}@media(max-width:860px){.vff-search-result-grid{grid-template-columns:1fr}.vff-checkbox-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.vff-search-wrap{padding:16px;border-radius:18px}.vff-search-box{flex-wrap:wrap;padding:10px}.vff-search-icon{display:none}.vff-product-search-input{flex-basis:100%;min-height:44px}.vff-search-submit{width:100%}.vff-search-product-card{grid-template-columns:92px 1fr;gap:12px;padding:12px}.vff-search-product-body h3{font-size:15px}.vff-search-cart{flex-wrap:wrap}.vff-search-add{flex:1}.vff-checkbox-grid{grid-template-columns:1fr}.vff-search-mobile-full .vff-search-results{max-height:70vh;overflow:auto}}
.vff-search-correction,.vff-search-didyoumean{margin-top:12px;padding:10px 12px;border-radius:12px;background:#eff6ff;color:#1e3a8a;border:1px solid #bfdbfe}.vff-search-didyoumean a{font-weight:800}


/* Header/navigation search mode: keep AJAX results as an overlay so the menu is never pushed down. */
.site-header .vff-search-wrap,
.main-header .vff-search-wrap,
.site-search .vff-search-wrap,
.header-4 .vff-search-wrap,
.shoptimizer-primary-navigation .vff-search-wrap,
.shoptimizer-modal--content .vff-search-wrap {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    position: relative;
    z-index: 99990;
}
.site-header .vff-search-title,
.main-header .vff-search-title,
.site-search .vff-search-title,
.header-4 .vff-search-title,
.shoptimizer-primary-navigation .vff-search-title,
.shoptimizer-modal--content .vff-search-title {
    display: none;
}
.site-header .vff-search-box,
.main-header .vff-search-box,
.site-search .vff-search-box,
.header-4 .vff-search-box,
.shoptimizer-primary-navigation .vff-search-box,
.shoptimizer-modal--content .vff-search-box {
    min-height: 48px;
    padding: 5px 6px 5px 12px;
    border-radius: 999px;
    border-width: 1px;
    box-shadow: none;
    background: #fff;
}
.site-header .vff-product-search-input,
.main-header .vff-product-search-input,
.site-search .vff-product-search-input,
.header-4 .vff-product-search-input,
.shoptimizer-primary-navigation .vff-product-search-input,
.shoptimizer-modal--content .vff-product-search-input {
    min-height: 40px;
    font-size: 15px;
}
.site-header .vff-search-submit,
.main-header .vff-search-submit,
.site-search .vff-search-submit,
.header-4 .vff-search-submit,
.shoptimizer-primary-navigation .vff-search-submit,
.shoptimizer-modal--content .vff-search-submit {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.site-header .vff-search-clear,
.main-header .vff-search-clear,
.site-search .vff-search-clear,
.header-4 .vff-search-clear,
.shoptimizer-primary-navigation .vff-search-clear,
.shoptimizer-modal--content .vff-search-clear {
    width: 32px;
    height: 32px;
    font-size: 19px;
    flex: 0 0 auto;
}
.site-header .vff-search-results,
.main-header .vff-search-results,
.site-search .vff-search-results,
.header-4 .vff-search-results,
.shoptimizer-primary-navigation .vff-search-results,
.shoptimizer-modal--content .vff-search-results,
.site-header .vff-search-suggestions,
.main-header .vff-search-suggestions,
.site-search .vff-search-suggestions,
.header-4 .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-suggestions,
.site-header .vff-search-loader,
.main-header .vff-search-loader,
.site-search .vff-search-loader,
.header-4 .vff-search-loader,
.shoptimizer-primary-navigation .vff-search-loader,
.shoptimizer-modal--content .vff-search-loader {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(760px, calc(100vw - 24px));
    max-height: min(680px, calc(100vh - 120px));
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
    z-index: 100000;
    padding: 12px;
}
.site-header .vff-search-results:empty,
.main-header .vff-search-results:empty,
.site-search .vff-search-results:empty,
.header-4 .vff-search-results:empty,
.shoptimizer-primary-navigation .vff-search-results:empty,
.shoptimizer-modal--content .vff-search-results:empty {
    display: none;
}
.site-header .vff-search-suggestions,
.main-header .vff-search-suggestions,
.site-search .vff-search-suggestions,
.header-4 .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-suggestions {
    top: calc(100% + 10px);
}
.site-header .vff-search-suggestions + .vff-search-results,
.main-header .vff-search-suggestions + .vff-search-results,
.site-search .vff-search-suggestions + .vff-search-results,
.header-4 .vff-search-suggestions + .vff-search-results,
.shoptimizer-primary-navigation .vff-search-suggestions + .vff-search-results,
.shoptimizer-modal--content .vff-search-suggestions + .vff-search-results {
    top: calc(100% + 76px);
    max-height: min(600px, calc(100vh - 190px));
}
.site-header .vff-search-result-grid,
.main-header .vff-search-result-grid,
.site-search .vff-search-result-grid,
.header-4 .vff-search-result-grid,
.shoptimizer-primary-navigation .vff-search-result-grid,
.shoptimizer-modal--content .vff-search-result-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
}
.site-header .vff-search-product-card,
.main-header .vff-search-product-card,
.site-search .vff-search-product-card,
.header-4 .vff-search-product-card,
.shoptimizer-primary-navigation .vff-search-product-card,
.shoptimizer-modal--content .vff-search-product-card {
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 15px;
    box-shadow: none;
}
.site-header .vff-search-product-image,
.main-header .vff-search-product-image,
.site-search .vff-search-product-image,
.header-4 .vff-search-product-image,
.shoptimizer-primary-navigation .vff-search-product-image,
.shoptimizer-modal--content .vff-search-product-image,
.site-header .vff-search-product-image img,
.main-header .vff-search-product-image img,
.site-search .vff-search-product-image img,
.header-4 .vff-search-product-image img,
.shoptimizer-primary-navigation .vff-search-product-image img,
.shoptimizer-modal--content .vff-search-product-image img {
    border-radius: 12px;
}
.site-header .vff-search-product-body h3,
.main-header .vff-search-product-body h3,
.site-search .vff-search-product-body h3,
.header-4 .vff-search-product-body h3,
.shoptimizer-primary-navigation .vff-search-product-body h3,
.shoptimizer-modal--content .vff-search-product-body h3 {
    font-size: 14px;
    margin-bottom: 5px;
}
.site-header .vff-search-product-body p,
.main-header .vff-search-product-body p,
.site-search .vff-search-product-body p,
.header-4 .vff-search-product-body p,
.shoptimizer-primary-navigation .vff-search-product-body p,
.shoptimizer-modal--content .vff-search-product-body p {
    display: none;
}
.site-header .vff-search-price,
.main-header .vff-search-price,
.site-search .vff-search-price,
.header-4 .vff-search-price,
.shoptimizer-primary-navigation .vff-search-price,
.shoptimizer-modal--content .vff-search-price {
    margin-bottom: 4px;
}
.site-header .vff-search-meta,
.main-header .vff-search-meta,
.site-search .vff-search-meta,
.header-4 .vff-search-meta,
.shoptimizer-primary-navigation .vff-search-meta,
.shoptimizer-modal--content .vff-search-meta,
.site-header .vff-search-oe,
.main-header .vff-search-oe,
.site-search .vff-search-oe,
.header-4 .vff-search-oe,
.shoptimizer-primary-navigation .vff-search-oe,
.shoptimizer-modal--content .vff-search-oe {
    font-size: 12px;
    margin: 3px 0;
}
.site-header .vff-search-view-all,
.main-header .vff-search-view-all,
.site-search .vff-search-view-all,
.header-4 .vff-search-view-all,
.shoptimizer-primary-navigation .vff-search-view-all,
.shoptimizer-modal--content .vff-search-view-all {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .site-header .vff-search-wrap,
    .main-header .vff-search-wrap,
    .site-search .vff-search-wrap,
    .header-4 .vff-search-wrap,
    .shoptimizer-primary-navigation .vff-search-wrap,
    .shoptimizer-modal--content .vff-search-wrap {
        width: 100%;
    }
    .site-header .vff-search-box,
    .main-header .vff-search-box,
    .site-search .vff-search-box,
    .header-4 .vff-search-box,
    .shoptimizer-primary-navigation .vff-search-box,
    .shoptimizer-modal--content .vff-search-box {
        flex-wrap: nowrap;
        gap: 6px;
        padding: 6px;
    }
    .site-header .vff-search-icon,
    .main-header .vff-search-icon,
    .site-search .vff-search-icon,
    .header-4 .vff-search-icon,
    .shoptimizer-primary-navigation .vff-search-icon,
    .shoptimizer-modal--content .vff-search-icon {
        display: none;
    }
    .site-header .vff-product-search-input,
    .main-header .vff-product-search-input,
    .site-search .vff-product-search-input,
    .header-4 .vff-product-search-input,
    .shoptimizer-primary-navigation .vff-product-search-input,
    .shoptimizer-modal--content .vff-product-search-input {
        flex: 1 1 auto;
        min-width: 0;
        flex-basis: auto;
    }
    .site-header .vff-search-submit,
    .main-header .vff-search-submit,
    .site-search .vff-search-submit,
    .header-4 .vff-search-submit,
    .shoptimizer-primary-navigation .vff-search-submit,
    .shoptimizer-modal--content .vff-search-submit {
        width: auto;
        padding-left: 12px;
        padding-right: 12px;
    }
    .site-header .vff-search-results,
    .main-header .vff-search-results,
    .site-search .vff-search-results,
    .header-4 .vff-search-results,
    .shoptimizer-primary-navigation .vff-search-results,
    .shoptimizer-modal--content .vff-search-results,
    .site-header .vff-search-suggestions,
    .main-header .vff-search-suggestions,
    .site-search .vff-search-suggestions,
    .header-4 .vff-search-suggestions,
    .shoptimizer-primary-navigation .vff-search-suggestions,
    .shoptimizer-modal--content .vff-search-suggestions,
    .site-header .vff-search-loader,
    .main-header .vff-search-loader,
    .site-search .vff-search-loader,
    .header-4 .vff-search-loader,
    .shoptimizer-primary-navigation .vff-search-loader,
    .shoptimizer-modal--content .vff-search-loader {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 72px;
        width: auto;
        max-height: calc(100vh - 92px);
        border-radius: 18px;
        padding: 10px;
    }
    .site-header .vff-search-suggestions + .vff-search-results,
    .main-header .vff-search-suggestions + .vff-search-results,
    .site-search .vff-search-suggestions + .vff-search-results,
    .header-4 .vff-search-suggestions + .vff-search-results,
    .shoptimizer-primary-navigation .vff-search-suggestions + .vff-search-results,
    .shoptimizer-modal--content .vff-search-suggestions + .vff-search-results {
        top: 148px;
        max-height: calc(100vh - 168px);
    }
    .site-header .vff-search-product-card,
    .main-header .vff-search-product-card,
    .site-search .vff-search-product-card,
    .header-4 .vff-search-product-card,
    .shoptimizer-primary-navigation .vff-search-product-card,
    .shoptimizer-modal--content .vff-search-product-card {
        grid-template-columns: 66px 1fr;
        padding: 9px;
    }
    .site-header .vff-search-cart,
    .main-header .vff-search-cart,
    .site-search .vff-search-cart,
    .header-4 .vff-search-cart,
    .shoptimizer-primary-navigation .vff-search-cart,
    .shoptimizer-modal--content .vff-search-cart {
        gap: 6px;
        flex-wrap: nowrap;
    }
    .site-header .vff-search-qty,
    .main-header .vff-search-qty,
    .site-search .vff-search-qty,
    .header-4 .vff-search-qty,
    .shoptimizer-primary-navigation .vff-search-qty,
    .shoptimizer-modal--content .vff-search-qty {
        width: 58px !important;
    }
}

/* v1.7.6: keep suggestions and results inside one navigation dropdown panel. */
.site-header .vff-search-output,
.main-header .vff-search-output,
.site-search .vff-search-output,
.header-4 .vff-search-output,
.shoptimizer-primary-navigation .vff-search-output,
.shoptimizer-modal--content .vff-search-output {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 10px);
    width: min(760px, calc(100vw - 24px));
    max-height: min(680px, calc(100vh - 120px));
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
    z-index: 100000;
    padding: 12px;
}
.site-header .vff-search-output:empty,
.main-header .vff-search-output:empty,
.site-search .vff-search-output:empty,
.header-4 .vff-search-output:empty,
.shoptimizer-primary-navigation .vff-search-output:empty,
.shoptimizer-modal--content .vff-search-output:empty {
    display: none !important;
}
.site-header .vff-search-output .vff-search-suggestions,
.main-header .vff-search-output .vff-search-suggestions,
.site-search .vff-search-output .vff-search-suggestions,
.header-4 .vff-search-output .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-output .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-output .vff-search-suggestions,
.site-header .vff-search-output .vff-search-results,
.main-header .vff-search-output .vff-search-results,
.site-search .vff-search-output .vff-search-results,
.header-4 .vff-search-output .vff-search-results,
.shoptimizer-primary-navigation .vff-search-output .vff-search-results,
.shoptimizer-modal--content .vff-search-output .vff-search-results {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.site-header .vff-search-output .vff-search-suggestions,
.main-header .vff-search-output .vff-search-suggestions,
.site-search .vff-search-output .vff-search-suggestions,
.header-4 .vff-search-output .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-output .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-output .vff-search-suggestions {
    margin: 0 0 12px !important;
    padding: 10px !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
}
.site-header .vff-search-output .vff-search-suggestions:empty,
.main-header .vff-search-output .vff-search-suggestions:empty,
.site-search .vff-search-output .vff-search-suggestions:empty,
.header-4 .vff-search-output .vff-search-suggestions:empty,
.shoptimizer-primary-navigation .vff-search-output .vff-search-suggestions:empty,
.shoptimizer-modal--content .vff-search-output .vff-search-suggestions:empty,
.site-header .vff-search-output .vff-search-results:empty,
.main-header .vff-search-output .vff-search-results:empty,
.site-search .vff-search-output .vff-search-results:empty,
.header-4 .vff-search-output .vff-search-results:empty,
.shoptimizer-primary-navigation .vff-search-output .vff-search-results:empty,
.shoptimizer-modal--content .vff-search-output .vff-search-results:empty {
    display: none !important;
}
@media (max-width: 768px) {
    .site-header .vff-search-output,
    .main-header .vff-search-output,
    .site-search .vff-search-output,
    .header-4 .vff-search-output,
    .shoptimizer-primary-navigation .vff-search-output,
    .shoptimizer-modal--content .vff-search-output {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 72px;
        width: auto;
        max-height: calc(100vh - 92px);
        border-radius: 18px;
        padding: 10px;
    }
}

/* v1.7.7 professional search refinement */
.vff-search-output {
    margin-top: 14px;
}
.vff-search-output.is-open {
    display: block;
}
.vff-search-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}
.vff-search-summary strong {
    color: #0f172a;
    font-size: 15px;
}
.vff-search-cats {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin: 0 0 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vff-search-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.vff-search-card-footer .vff-search-cart {
    margin-top: 0;
    margin-left: auto;
}
.vff-search-card-footer .vff-search-stock {
    margin: 0;
}
.vff-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.vff-suggestion-list .vff-search-suggestion {
    margin: 0;
}
.vff-search-product-card {
    overflow: hidden;
}
.vff-search-product-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.site-header .vff-search-output,
.main-header .vff-search-output,
.site-search .vff-search-output,
.header-4 .vff-search-output,
.shoptimizer-primary-navigation .vff-search-output,
.shoptimizer-modal--content .vff-search-output {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 10px) !important;
    transform: translateX(-50%);
    width: min(820px, calc(100vw - 28px)) !important;
    max-height: min(720px, calc(100vh - 120px)) !important;
    overflow: auto !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24) !important;
    z-index: 100000 !important;
}
.site-header .vff-search-output .vff-search-loader,
.main-header .vff-search-output .vff-search-loader,
.site-search .vff-search-output .vff-search-loader,
.header-4 .vff-search-output .vff-search-loader,
.shoptimizer-primary-navigation .vff-search-output .vff-search-loader,
.shoptimizer-modal--content .vff-search-output .vff-search-loader,
.site-header .vff-search-output .vff-search-suggestions,
.main-header .vff-search-output .vff-search-suggestions,
.site-search .vff-search-output .vff-search-suggestions,
.header-4 .vff-search-output .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-output .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-output .vff-search-suggestions,
.site-header .vff-search-output .vff-search-results,
.main-header .vff-search-output .vff-search-results,
.site-search .vff-search-output .vff-search-results,
.header-4 .vff-search-output .vff-search-results,
.shoptimizer-primary-navigation .vff-search-output .vff-search-results,
.shoptimizer-modal--content .vff-search-output .vff-search-results {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.site-header .vff-search-output .vff-search-loader,
.main-header .vff-search-output .vff-search-loader,
.site-search .vff-search-output .vff-search-loader,
.header-4 .vff-search-output .vff-search-loader,
.shoptimizer-primary-navigation .vff-search-output .vff-search-loader,
.shoptimizer-modal--content .vff-search-output .vff-search-loader {
    padding: 4px 2px 12px !important;
}
.site-header .vff-search-output .vff-search-suggestions,
.main-header .vff-search-output .vff-search-suggestions,
.site-search .vff-search-output .vff-search-suggestions,
.header-4 .vff-search-output .vff-search-suggestions,
.shoptimizer-primary-navigation .vff-search-output .vff-search-suggestions,
.shoptimizer-modal--content .vff-search-output .vff-search-suggestions {
    margin: 0 0 12px !important;
    padding: 11px !important;
    border: 1px solid #e7eef7 !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
}
.site-header .vff-search-output .vff-search-result-grid,
.main-header .vff-search-output .vff-search-result-grid,
.site-search .vff-search-output .vff-search-result-grid,
.header-4 .vff-search-output .vff-search-result-grid,
.shoptimizer-primary-navigation .vff-search-output .vff-search-result-grid,
.shoptimizer-modal--content .vff-search-output .vff-search-result-grid {
    margin-top: 0 !important;
    gap: 10px !important;
}
.site-header .vff-search-output .vff-search-summary,
.main-header .vff-search-output .vff-search-summary,
.site-search .vff-search-output .vff-search-summary,
.header-4 .vff-search-output .vff-search-summary,
.shoptimizer-primary-navigation .vff-search-output .vff-search-summary,
.shoptimizer-modal--content .vff-search-output .vff-search-summary {
    margin-bottom: 10px;
}
.site-header .vff-search-output .vff-search-product-card,
.main-header .vff-search-output .vff-search-product-card,
.site-search .vff-search-output .vff-search-product-card,
.header-4 .vff-search-output .vff-search-product-card,
.shoptimizer-primary-navigation .vff-search-output .vff-search-product-card,
.shoptimizer-modal--content .vff-search-output .vff-search-product-card {
    align-items: start;
}
.site-header .vff-search-output .vff-search-cats,
.main-header .vff-search-output .vff-search-cats,
.site-search .vff-search-output .vff-search-cats,
.header-4 .vff-search-output .vff-search-cats,
.shoptimizer-primary-navigation .vff-search-output .vff-search-cats,
.shoptimizer-modal--content .vff-search-output .vff-search-cats {
    font-size: 10px;
    padding: 4px 7px;
    margin-bottom: 5px;
}
.site-header .vff-search-output .vff-search-card-footer,
.main-header .vff-search-output .vff-search-card-footer,
.site-search .vff-search-output .vff-search-card-footer,
.header-4 .vff-search-output .vff-search-card-footer,
.shoptimizer-primary-navigation .vff-search-output .vff-search-card-footer,
.shoptimizer-modal--content .vff-search-output .vff-search-card-footer {
    margin-top: 7px;
}
@media (max-width: 768px) {
    .vff-search-card-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .vff-search-card-footer .vff-search-cart {
        margin-left: 0;
        width: 100%;
    }
    .site-header .vff-search-output,
    .main-header .vff-search-output,
    .site-search .vff-search-output,
    .header-4 .vff-search-output,
    .shoptimizer-primary-navigation .vff-search-output,
    .shoptimizer-modal--content .vff-search-output {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 70px !important;
        transform: none !important;
        width: auto !important;
        max-height: calc(100vh - 90px) !important;
        padding: 12px !important;
        border-radius: 18px !important;
    }
    .site-header .vff-search-output .vff-search-product-card,
    .main-header .vff-search-output .vff-search-product-card,
    .site-search .vff-search-output .vff-search-product-card,
    .header-4 .vff-search-output .vff-search-product-card,
    .shoptimizer-primary-navigation .vff-search-output .vff-search-product-card,
    .shoptimizer-modal--content .vff-search-output .vff-search-product-card {
        grid-template-columns: 72px 1fr !important;
    }
    .site-header .vff-search-output .vff-search-add,
    .main-header .vff-search-output .vff-search-add,
    .site-search .vff-search-output .vff-search-add,
    .header-4 .vff-search-output .vff-search-add,
    .shoptimizer-primary-navigation .vff-search-output .vff-search-add,
    .shoptimizer-modal--content .vff-search-output .vff-search-add {
        flex: 1;
    }
}

/* Search-results page/header safety. Prevent URL-loaded header search from behaving like a large in-page result block. */
.site-header .vff-search-output .vff-search-product-image,
.main-header .vff-search-output .vff-search-product-image,
.site-search .vff-search-output .vff-search-product-image,
.header-4 .vff-search-output .vff-search-product-image,
.shoptimizer-primary-navigation .vff-search-output .vff-search-product-image,
.shoptimizer-modal--content .vff-search-output .vff-search-product-image {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    min-width: 64px !important;
}
.site-header .vff-search-output .vff-search-product-image img,
.main-header .vff-search-output .vff-search-product-image img,
.site-search .vff-search-output .vff-search-product-image img,
.header-4 .vff-search-output .vff-search-product-image img,
.shoptimizer-primary-navigation .vff-search-output .vff-search-product-image img,
.shoptimizer-modal--content .vff-search-output .vff-search-product-image img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: contain !important;
}
.site-header .vff-search-output .vff-search-summary,
.main-header .vff-search-output .vff-search-summary,
.site-search .vff-search-output .vff-search-summary,
.header-4 .vff-search-output .vff-search-summary,
.shoptimizer-primary-navigation .vff-search-output .vff-search-summary,
.shoptimizer-modal--content .vff-search-output .vff-search-summary {
    margin-bottom: 8px !important;
    padding: 8px 10px !important;
}
.site-header .vff-search-output .vff-search-card-footer,
.main-header .vff-search-output .vff-search-card-footer,
.site-search .vff-search-output .vff-search-card-footer,
.header-4 .vff-search-output .vff-search-card-footer,
.shoptimizer-primary-navigation .vff-search-output .vff-search-card-footer,
.shoptimizer-modal--content .vff-search-output .vff-search-card-footer {
    margin-top: 6px !important;
}

/* WDI v1.8.2 search layout reset: one output panel, no duplicate absolute children. */
.vff-search-wrap{position:relative;width:100%;max-width:100%;}
.vff-product-search-form{margin:0;}
.vff-search-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid rgba(15,23,42,.14);border-radius:14px;padding:6px;box-shadow:0 8px 22px rgba(15,23,42,.06);}
.vff-search-icon{flex:0 0 auto;color:#64748b;padding-left:8px;font-size:18px;line-height:1;}
.vff-product-search-input{flex:1;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 4px!important;font-size:15px;line-height:1.35;}
.vff-product-search-input:focus{outline:none!important;box-shadow:none!important;}
.vff-search-submit{flex:0 0 auto;border:0;border-radius:10px;background:#111827;color:#fff;font-weight:700;padding:10px 16px;line-height:1;cursor:pointer;}
.vff-search-clear{flex:0 0 auto;width:28px;height:28px;border:0;border-radius:999px;background:#eef2f7;color:#475569;font-size:18px;line-height:1;cursor:pointer;}
.vff-search-output{display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:99999;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:16px;box-shadow:0 22px 55px rgba(15,23,42,.22);overflow:hidden;max-height:min(78vh,720px);overflow-y:auto;}
.vff-search-output.is-open{display:block;}
.vff-search-suggestions,.vff-search-results{position:static!important;display:block;min-width:0;max-width:none;width:auto;box-shadow:none!important;border:0!important;background:transparent;}
.vff-search-suggestions{padding:12px 14px 4px;border-bottom:1px solid #eef2f7!important;}
.vff-suggestion-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:8px;}
.vff-suggestion-list{display:flex;flex-wrap:wrap;gap:6px;}
.vff-search-suggestion{border:1px solid #e2e8f0;background:#f8fafc;border-radius:999px;padding:7px 11px;font-size:13px;cursor:pointer;color:#0f172a;}
.vff-search-suggestion:hover{background:#eaf2ff;border-color:#bfdbfe;}
.vff-search-loader{padding:12px 16px;color:#475569;font-size:14px;border-bottom:1px solid #eef2f7;}
.vff-search-result-list{display:grid;gap:0;}
.vff-search-item{display:grid;grid-template-columns:74px minmax(0,1fr);gap:14px;padding:14px 16px;border-bottom:1px solid #eef2f7;background:#fff;}
.vff-search-item:hover{background:#f8fafc;}
.vff-search-thumb{width:74px;height:74px;border-radius:12px;overflow:hidden;background:#f1f5f9;align-self:start;}
.vff-search-thumb img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;max-width:74px!important;max-height:74px!important;}
.vff-search-content{min-width:0;}
.vff-search-product-title{margin:0 0 6px;font-size:15px;font-weight:800;line-height:1.25;}
.vff-search-product-title a{color:#0f172a;text-decoration:none;}
.vff-search-meta{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0;color:#64748b;font-size:12px;}
.vff-search-meta span,.vff-search-category-badge{display:inline-flex;align-items:center;border-radius:999px;background:#f1f5f9;padding:4px 8px;}
.vff-search-category-badge{background:#ecfdf5;color:#047857;font-weight:700;}
.vff-search-price{font-weight:800;margin-top:6px;color:#111827;}
.vff-search-description{font-size:13px;line-height:1.45;color:#475569;margin:6px 0 0;}
.vff-search-cart{display:flex;gap:8px;align-items:center;margin-top:10px;}
.vff-search-qty{width:66px!important;min-width:66px!important;height:36px!important;border:1px solid #cbd5e1!important;border-radius:9px!important;padding:4px 7px!important;}
.vff-search-add,.vff-search-select-options{height:36px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:9px!important;padding:0 12px!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;}
.vff-search-footer{padding:12px 16px;background:#f8fafc;border-top:1px solid #eef2f7;text-align:center;}
.vff-search-view-all{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#111827;color:#fff!important;padding:10px 18px;font-weight:800;text-decoration:none!important;}
.site-header .vff-search-wrap,.main-header .vff-search-wrap,.site-search .vff-search-wrap,.header-4 .vff-search-wrap,.shoptimizer-primary-navigation .vff-search-wrap{max-width:640px;}
.site-header .vff-search-item,.main-header .vff-search-item,.site-search .vff-search-item,.header-4 .vff-search-item,.shoptimizer-primary-navigation .vff-search-item{grid-template-columns:56px minmax(0,1fr);gap:10px;padding:10px 12px;}
.site-header .vff-search-thumb,.main-header .vff-search-thumb,.site-search .vff-search-thumb,.header-4 .vff-search-thumb,.shoptimizer-primary-navigation .vff-search-thumb{width:56px;height:56px;border-radius:10px;}
.site-header .vff-search-thumb img,.main-header .vff-search-thumb img,.site-search .vff-search-thumb img,.header-4 .vff-search-thumb img,.shoptimizer-primary-navigation .vff-search-thumb img{max-width:56px!important;max-height:56px!important;}
.site-header .vff-search-description,.main-header .vff-search-description,.site-search .vff-search-description,.header-4 .vff-search-description,.shoptimizer-primary-navigation .vff-search-description{display:none;}
@media (max-width: 782px){
  .vff-search-box{border-radius:12px;padding:5px;}
  .vff-search-submit{padding:10px 12px;}
  .vff-search-output{position:fixed;left:12px!important;right:12px!important;top:72px!important;max-height:calc(100vh - 92px);border-radius:16px;}
  .vff-search-item{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:12px;}
  .vff-search-thumb{width:60px;height:60px;}
  .vff-search-thumb img{max-width:60px!important;max-height:60px!important;}
  .vff-search-product-title{font-size:14px;}
  .vff-search-cart{flex-wrap:wrap;}
}

/* WDI v1.9.0 polish: reindex progress, diagnostics, responsive admin/search controls */
.vff-reindex-progress{margin:14px 0 4px;max-width:760px;background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:14px;box-shadow:0 8px 22px rgba(0,0,0,.04)}
.vff-reindex-progress-bar{height:12px;border-radius:999px;background:#eef2f7;overflow:hidden}
.vff-reindex-progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2271b1,#00a0d2);transition:width .25s ease}
.vff-reindex-progress-text{margin:10px 0 0;color:#1d2327;font-weight:600}
.vff-search-wrap{max-width:100%}
.vff-search-output{box-sizing:border-box}
.vff-search-result-list{display:flex;flex-direction:column;gap:10px}
.vff-search-item{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:start}
.vff-search-thumb img{width:86px;height:86px;object-fit:cover;border-radius:10px}
.vff-search-product-title{font-size:15px;line-height:1.3;margin:3px 0 5px}
.vff-search-meta{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:12px;line-height:1.35}
.vff-search-cart{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
.vff-search-qty{width:72px;min-height:36px;text-align:center}
@media (max-width: 640px){
  .vff-search-item{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:10px}
  .vff-search-thumb img{width:64px;height:64px}
  .vff-search-product-title{font-size:14px}
  .vff-search-description{display:none}
  .vff-search-cart{width:100%}
  .vff-search-add{flex:1;text-align:center}
}

/* WDI v1.9.1 Elite Admin UI
   Applies only to WDI - Vehicle Fitment admin pages. */
body.wdi-vff-admin-modern {
  --wdi-bg: #f5f7fb;
  --wdi-panel: #ffffff;
  --wdi-panel-2: #fbfdff;
  --wdi-border: rgba(15, 23, 42, 0.10);
  --wdi-border-strong: rgba(15, 23, 42, 0.16);
  --wdi-text: #0f172a;
  --wdi-muted: #64748b;
  --wdi-primary: #0f172a;
  --wdi-accent: #2563eb;
  --wdi-accent-2: #06b6d4;
  --wdi-success: #059669;
  --wdi-danger: #dc2626;
  --wdi-warning: #d97706;
  --wdi-radius: 18px;
  --wdi-radius-sm: 12px;
  --wdi-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --wdi-shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
  background: var(--wdi-bg);
}
body.wdi-vff-admin-modern #wpcontent,
body.wdi-vff-admin-modern #wpbody-content {
  background: linear-gradient(180deg, #eef5ff 0, #f8fafc 245px, #f5f7fb 100%);
}
body.wdi-vff-admin-modern #wpbody-content { padding-bottom: 60px; }
body.wdi-vff-admin-modern .update-nag,
body.wdi-vff-admin-modern .notice:not(.inline) {
  margin-left: 24px;
  margin-right: 24px;
  border-radius: 12px;
  border-left-width: 4px;
  box-shadow: var(--wdi-shadow-sm);
}
.wdi-vff-shell {
  margin: 22px 24px 0 24px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.wdi-vff-brandbar {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.22), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(6,182,212,.18), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #0f172a 100%);
  color: #fff;
}
.wdi-vff-brandmark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08), 0 14px 32px rgba(2,6,23,.28);
}
.wdi-vff-eyebrow {
  margin-bottom: 4px;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wdi-vff-brandcopy h1 {
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em;
}
.wdi-vff-brandcopy p {
  margin: 8px 0 0;
  max-width: 820px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
.wdi-vff-version {
  min-width: 98px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  text-align: center;
}
.wdi-vff-version span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.wdi-vff-version strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
}
.wdi-vff-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wdi-vff-admin-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  background: #f8fafc;
  transition: all .16s ease;
}
.wdi-vff-admin-nav-item .dashicons {
  width: 17px;
  height: 17px;
  font-size: 17px;
  color: #64748b;
}
.wdi-vff-admin-nav-item:hover,
.wdi-vff-admin-nav-item:focus {
  color: #0f172a;
  background: #eef6ff;
  border-color: #bfdbfe;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}
.wdi-vff-admin-nav-item.is-active {
  color: #fff;
  border-color: #0f172a;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  box-shadow: 0 12px 22px rgba(15,23,42,.22);
}
.wdi-vff-admin-nav-item.is-active .dashicons { color: #fff; }
body.wdi-vff-admin-modern .wrap {
  max-width: 1320px;
  margin: 24px 24px 0 24px;
}
body.wdi-vff-admin-modern .wrap > h1:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--wdi-text);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.035em;
}
body.wdi-vff-admin-modern .wrap > h1:first-child:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wdi-accent), var(--wdi-accent-2));
}
body.wdi-vff-admin-modern .wrap > h2,
body.wdi-vff-admin-modern .wrap h2:not(.nav-tab-wrapper):not(.vff-search-section-title) {
  margin: 24px 0 12px;
  color: var(--wdi-text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.02em;
}
body.wdi-vff-admin-modern .vff-hero,
body.wdi-vff-admin-modern .vff-card,
body.wdi-vff-admin-modern .postbox,
body.wdi-vff-admin-modern form:not(.search-form):not(.wp-filter-search),
body.wdi-vff-admin-modern .widefat,
body.wdi-vff-admin-modern .form-table {
  border: 1px solid var(--wdi-border) !important;
  border-radius: var(--wdi-radius) !important;
  background: var(--wdi-panel) !important;
  box-shadow: var(--wdi-shadow-sm) !important;
}
body.wdi-vff-admin-modern form:not(.search-form):not(.wp-filter-search) {
  padding: 20px;
  margin: 14px 0 22px;
}
body.wdi-vff-admin-modern .widefat {
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
body.wdi-vff-admin-modern .widefat thead th,
body.wdi-vff-admin-modern .widefat tfoot th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--wdi-border);
}
body.wdi-vff-admin-modern .widefat td,
body.wdi-vff-admin-modern .widefat th {
  padding: 14px 16px;
  vertical-align: middle;
}
body.wdi-vff-admin-modern .widefat tbody tr:hover td {
  background: #f8fbff;
}
body.wdi-vff-admin-modern .widefat.striped > tbody > :nth-child(odd) {
  background-color: #fff;
}
body.wdi-vff-admin-modern .widefat.striped > tbody > :nth-child(even) {
  background-color: #fbfdff;
}
body.wdi-vff-admin-modern .vff-hero {
  position: relative;
  padding: 26px !important;
  background:
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.06)),
    #fff !important;
  overflow: hidden;
}
body.wdi-vff-admin-modern .vff-hero:after {
  content: '';
  position: absolute;
  right: -48px;
  top: -52px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37,99,235,.14), transparent 62%);
  pointer-events: none;
}
body.wdi-vff-admin-modern .vff-hero h2 {
  margin: 0 0 8px !important;
  color: var(--wdi-text) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.035em;
}
body.wdi-vff-admin-modern .vff-hero p {
  max-width: 900px;
  margin: 8px 0 0 !important;
  color: var(--wdi-muted) !important;
  font-size: 14px;
  line-height: 1.65;
}
body.wdi-vff-admin-modern .vff-card {
  padding: 22px !important;
  margin: 18px 0;
}
body.wdi-vff-admin-modern .vff-card h2,
body.wdi-vff-admin-modern .postbox h2,
body.wdi-vff-admin-modern .postbox .hndle {
  margin-top: 0 !important;
  color: var(--wdi-text) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em;
}
body.wdi-vff-admin-modern .nav-tab-wrapper {
  display: flex;
  gap: 8px;
  padding: 8px !important;
  margin: 14px 0 20px !important;
  border: 1px solid var(--wdi-border) !important;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--wdi-shadow-sm);
  flex-wrap: wrap;
}
body.wdi-vff-admin-modern .nav-tab {
  float: none;
  margin: 0;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-weight: 900;
  text-decoration: none;
}
body.wdi-vff-admin-modern .nav-tab:hover {
  color: #0f172a;
  background: #eef6ff;
}
body.wdi-vff-admin-modern .nav-tab-active,
body.wdi-vff-admin-modern .nav-tab-active:focus,
body.wdi-vff-admin-modern .nav-tab-active:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
  box-shadow: 0 10px 22px rgba(29,78,216,.20);
}
body.wdi-vff-admin-modern input[type=text],
body.wdi-vff-admin-modern input[type=number],
body.wdi-vff-admin-modern input[type=search],
body.wdi-vff-admin-modern input[type=url],
body.wdi-vff-admin-modern input[type=email],
body.wdi-vff-admin-modern input[type=password],
body.wdi-vff-admin-modern textarea,
body.wdi-vff-admin-modern select {
  min-height: 42px;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: #fff;
  color: var(--wdi-text);
  box-shadow: none;
  transition: all .16s ease;
}
body.wdi-vff-admin-modern textarea { min-height: 104px; padding: 12px; }
body.wdi-vff-admin-modern input[type=file] {
  padding: 12px;
  border: 1px dashed #b7c4d8;
  border-radius: 14px;
  background: #f8fafc;
}
body.wdi-vff-admin-modern input:focus,
body.wdi-vff-admin-modern textarea:focus,
body.wdi-vff-admin-modern select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96,165,250,.18);
  outline: none;
}
body.wdi-vff-admin-modern .button,
body.wdi-vff-admin-modern .button-secondary,
body.wdi-vff-admin-modern .button-primary {
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 11px !important;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: none !important;
}
body.wdi-vff-admin-modern .button-primary {
  border-color: #0f172a !important;
  background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
  color: #fff !important;
}
body.wdi-vff-admin-modern .button-primary:hover,
body.wdi-vff-admin-modern .button-primary:focus {
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(29,78,216,.22) !important;
}
body.wdi-vff-admin-modern .button:not(.button-primary) {
  border-color: #d8e0ea !important;
  color: #0f172a !important;
  background: #fff !important;
}
body.wdi-vff-admin-modern .button:not(.button-primary):hover {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
}
body.wdi-vff-admin-modern code {
  border-radius: 7px;
  background: #eff6ff;
  color: #1e40af;
  padding: 2px 6px;
}
body.wdi-vff-admin-modern .form-table {
  display: block;
  padding: 10px 18px;
  width: auto;
}
body.wdi-vff-admin-modern .form-table tbody,
body.wdi-vff-admin-modern .form-table tr,
body.wdi-vff-admin-modern .form-table th,
body.wdi-vff-admin-modern .form-table td {
  display: block;
  width: auto;
}
body.wdi-vff-admin-modern .form-table tr {
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}
body.wdi-vff-admin-modern .form-table tr:last-child { border-bottom: 0; }
body.wdi-vff-admin-modern .form-table th {
  padding: 0 0 8px;
  color: var(--wdi-text);
  font-size: 13px;
  font-weight: 900;
}
body.wdi-vff-admin-modern .form-table td {
  padding: 0;
  color: var(--wdi-muted);
}
body.wdi-vff-admin-modern .description,
body.wdi-vff-admin-modern p.description {
  color: var(--wdi-muted);
  font-size: 13px;
  line-height: 1.55;
}
body.wdi-vff-admin-modern .tablenav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: auto;
  margin: 14px 0;
}
body.wdi-vff-admin-modern .tablenav-pages {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--wdi-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--wdi-shadow-sm);
}
body.wdi-vff-admin-modern .tablenav-pages .displaying-num,
body.wdi-vff-admin-modern .tablenav-pages .paging-input {
  margin: 0 4px;
  color: #64748b;
  font-weight: 800;
}
body.wdi-vff-admin-modern .notice.notice-success { border-left-color: var(--wdi-success); }
body.wdi-vff-admin-modern .notice.notice-error { border-left-color: var(--wdi-danger); }
body.wdi-vff-admin-modern .notice.notice-warning { border-left-color: var(--wdi-warning); }
body.wdi-vff-admin-modern .vff-reindex-progress {
  border: 1px solid var(--wdi-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--wdi-shadow-sm);
}
body.wdi-vff-admin-modern .vff-reindex-progress-bar {
  height: 14px;
  background: #e2e8f0;
}
body.wdi-vff-admin-modern .vff-reindex-progress-bar span {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}
body.wdi-vff-admin-modern .vff-admin-grid,
body.wdi-vff-admin-modern .vff-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body.wdi-vff-admin-modern .vff-stat-card,
body.wdi-vff-admin-modern .vff-admin-tile {
  padding: 20px;
  border: 1px solid var(--wdi-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--wdi-shadow-sm);
}
body.wdi-vff-admin-modern .vff-stat-card strong {
  display: block;
  color: var(--wdi-text);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}
body.wdi-vff-admin-modern .vff-stat-card span {
  display: block;
  margin-top: 5px;
  color: var(--wdi-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
body.wdi-vff-admin-modern .wp-list-table a,
body.wdi-vff-admin-modern .widefat a {
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
}
body.wdi-vff-admin-modern .wp-list-table a:hover,
body.wdi-vff-admin-modern .widefat a:hover { text-decoration: underline; }
body.wdi-vff-admin-modern .search-box input[name="s"],
body.wdi-vff-admin-modern .search-box input[type="search"] {
  min-height: 38px;
}
body.wdi-vff-admin-modern .wp-core-ui .attachment-preview { border-radius: 12px; overflow: hidden; }
body.wdi-vff-admin-modern #screen-meta-links { margin-right: 24px; }
body.wdi-vff-admin-modern .subsubsub { margin: 10px 0; }
body.wdi-vff-admin-modern .subsubsub a { font-weight: 800; }
body.wdi-vff-admin-modern .submit { padding: 0; margin: 16px 0 0; }
body.wdi-vff-admin-modern .inside { padding: 16px 18px; }
body.wdi-vff-admin-modern .postbox-header { border-bottom-color: #eef2f7; }
body.wdi-vff-admin-modern .metabox-holder .postbox { box-shadow: var(--wdi-shadow-sm); }
@media (max-width: 1180px) {
  .wdi-vff-brandbar { grid-template-columns: auto minmax(0,1fr); }
  .wdi-vff-version { grid-column: 1 / -1; justify-self: start; }
  body.wdi-vff-admin-modern .vff-admin-grid,
  body.wdi-vff-admin-modern .vff-dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 782px) {
  body.wdi-vff-admin-modern #wpcontent { padding-left: 0; }
  .wdi-vff-shell { margin: 12px 12px 0; border-radius: 20px; }
  .wdi-vff-brandbar { display: block; padding: 22px; }
  .wdi-vff-brandmark { width: 54px; height: 54px; margin-bottom: 14px; border-radius: 17px; }
  .wdi-vff-brandcopy h1 { font-size: 24px !important; }
  .wdi-vff-brandcopy p { font-size: 13px; }
  .wdi-vff-version { display: inline-block; margin-top: 14px; }
  .wdi-vff-admin-nav { overflow-x: auto; flex-wrap: nowrap; padding: 12px; -webkit-overflow-scrolling: touch; }
  .wdi-vff-admin-nav-item { flex: 0 0 auto; min-height: 38px; padding: 0 12px; }
  body.wdi-vff-admin-modern .wrap { margin: 18px 12px 0; }
  body.wdi-vff-admin-modern .wrap > h1:first-child { font-size: 22px; }
  body.wdi-vff-admin-modern form:not(.search-form):not(.wp-filter-search),
  body.wdi-vff-admin-modern .vff-card,
  body.wdi-vff-admin-modern .vff-hero { padding: 16px !important; border-radius: 16px !important; }
  body.wdi-vff-admin-modern .widefat { display: block; overflow-x: auto; white-space: nowrap; }
  body.wdi-vff-admin-modern .widefat td,
  body.wdi-vff-admin-modern .widefat th { padding: 12px; }
  body.wdi-vff-admin-modern input[type=text],
  body.wdi-vff-admin-modern input[type=number],
  body.wdi-vff-admin-modern input[type=search],
  body.wdi-vff-admin-modern input[type=url],
  body.wdi-vff-admin-modern input[type=email],
  body.wdi-vff-admin-modern input[type=password],
  body.wdi-vff-admin-modern textarea,
  body.wdi-vff-admin-modern select { width: 100%; max-width: 100%; }
  body.wdi-vff-admin-modern .button,
  body.wdi-vff-admin-modern .button-primary,
  body.wdi-vff-admin-modern .button-secondary { width: auto; white-space: normal; }
  body.wdi-vff-admin-modern .vff-admin-grid,
  body.wdi-vff-admin-modern .vff-dashboard-grid { grid-template-columns: 1fr; }
  body.wdi-vff-admin-modern .tablenav { justify-content: flex-start; }
  body.wdi-vff-admin-modern .tablenav-pages { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .wdi-vff-admin-nav-item span:last-child { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.wdi-vff-admin-modern .nav-tab { width: 100%; text-align: center; }
  body.wdi-vff-admin-modern .nav-tab-wrapper { display: grid; grid-template-columns: 1fr; }
}


/* WDI v1.9.2 Elite Frontend UX/UI
   Premium responsive refinements for vehicle shop, OE/Fitment tab and My Garage. */
.vff-shop-page,
.vff-shortcode-shop,
.vff-shop-results,
.vff-garage,
.vff-product-info-tab {
    --wdi-fe-ink: #0f172a;
    --wdi-fe-muted: #64748b;
    --wdi-fe-border: #e6edf5;
    --wdi-fe-soft: #f8fafc;
    --wdi-fe-soft-2: #eef6ff;
    --wdi-fe-accent: #1d4ed8;
    --wdi-fe-accent-dark: #0f2f73;
    --wdi-fe-radius: 22px;
    --wdi-fe-shadow: 0 18px 48px rgba(15, 23, 42, .09);
    --wdi-fe-shadow-sm: 0 10px 28px rgba(15, 23, 42, .07);
}
.vff-shop-page,
.vff-shortcode-shop {
    width: 100%;
    max-width: 100%;
}
.vff-shop-heading h2 {
    color: var(--wdi-fe-ink);
    font-weight: 900;
    letter-spacing: -.045em;
    margin-bottom: 18px;
}
.vff-shortcode-shop .vff-filter-form-pro,
.vff-filter-form-pro {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
    border: 1px solid var(--wdi-fe-border);
    border-radius: 26px;
    padding: 20px;
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, .09), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--wdi-fe-shadow);
}
.vff-filter-form-pro .vff-field,
.vff-shortcode-shop .vff-field {
    min-width: 0;
    margin: 0;
}
.vff-filter-form-pro .vff-field label,
.vff-shortcode-shop .vff-field label {
    margin-bottom: 7px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.vff-filter-form-pro .vff-select,
.vff-shortcode-shop .vff-select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #fff;
    color: var(--wdi-fe-ink);
    font-weight: 800;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.vff-filter-form-pro .vff-select:focus,
.vff-shortcode-shop .vff-select:focus {
    border-color: var(--wdi-fe-accent);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
    outline: none;
}
.vff-filter-form-pro .vff-actions,
.vff-shortcode-shop .vff-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.vff-filter-form-pro .vff-submit,
.vff-shortcode-shop .vff-submit {
    min-height: 52px;
    width: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--wdi-fe-accent) 0%, var(--wdi-fe-accent-dark) 100%);
    box-shadow: 0 14px 24px rgba(29, 78, 216, .22);
    font-weight: 900;
    letter-spacing: .01em;
    transform: translateZ(0);
}
.vff-filter-form-pro .vff-submit:hover,
.vff-shortcode-shop .vff-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(29, 78, 216, .26);
}
.vff-filter-form-pro .vff-reset,
.vff-shortcode-shop .vff-reset {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dbe5f0;
    color: #475569;
    font-weight: 900;
    text-decoration: none;
}
.vff-result-summary.vff-shop-summary {
    border-radius: 26px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(15,23,42,.96) 0%, rgba(30,58,138,.94) 100%);
    box-shadow: var(--wdi-fe-shadow);
}
.vff-result-summary.vff-shop-summary h2 {
    font-weight: 900;
    letter-spacing: -.03em;
}
.vff-section-heading {
    padding: 0 2px;
}
.vff-section-heading h3 {
    color: var(--wdi-fe-ink);
    font-weight: 900;
    letter-spacing: -.035em;
}
.vff-section-heading p {
    max-width: 520px;
    color: var(--wdi-fe-muted);
    font-weight: 600;
}
.vff-category-trail {
    gap: 10px;
    border-radius: 18px;
    padding: 13px 15px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-color: var(--wdi-fe-border);
    box-shadow: var(--wdi-fe-shadow-sm);
}
.vff-category-trail a,
.vff-category-trail span:last-child {
    font-weight: 900;
}
.vff-shop-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}
.vff-shop-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--wdi-fe-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--wdi-fe-shadow-sm);
    transform: translateZ(0);
}
.vff-shop-category-card:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.vff-shop-category-card:hover,
.vff-shop-category-card:focus {
    border-color: rgba(29,78,216,.35);
    box-shadow: var(--wdi-fe-shadow);
    transform: translateY(-3px);
}
.vff-shop-category-image {
    aspect-ratio: 1.15 / 1;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}
.vff-shop-category-image img {
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}
.vff-shop-category-card:hover .vff-shop-category-image img {
    transform: scale(1.045);
    filter: saturate(1.06);
}
.vff-shop-category-body {
    display: grid;
    gap: 7px;
    padding: 15px;
    min-width: 0;
}
.vff-shop-category-title {
    color: var(--wdi-fe-ink);
    font-size: 16px;
    line-height: 1.22;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.vff-shop-category-count {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
}
.vff-shop-products ul.products,
.vff-shop-products .products,
.vff-fallback-product-grid {
    gap: 18px !important;
}
.vff-shop-products ul.products li.product,
.vff-shop-products .products li.product {
    overflow: hidden;
    border: 1px solid var(--wdi-fe-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--wdi-fe-shadow-sm);
    padding: 12px !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vff-shop-products ul.products li.product:hover,
.vff-shop-products .products li.product:hover {
    transform: translateY(-2px);
    border-color: rgba(29,78,216,.28);
    box-shadow: var(--wdi-fe-shadow);
}
.vff-shop-products ul.products li.product a img,
.vff-shop-products .products li.product a img,
.vff-fallback-product-card img {
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 12px;
}
.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
.vff-shop-products .products li.product .woocommerce-loop-product__title {
    color: var(--wdi-fe-ink);
    font-size: 15px;
    line-height: 1.28;
    font-weight: 900;
    padding: 0 !important;
    margin: 0 0 8px !important;
}
.vff-shop-products ul.products li.product .price,
.vff-shop-products .products li.product .price {
    color: #0f172a;
    font-weight: 900;
}
.vff-shop-products ul.products li.product .button,
.vff-shop-products .products li.product .button {
    border-radius: 14px !important;
    font-weight: 900 !important;
    width: 100%;
    text-align: center;
}
.vff-fallback-product-card {
    border-radius: 22px;
    border-color: var(--wdi-fe-border);
    box-shadow: var(--wdi-fe-shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.vff-fallback-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--wdi-fe-shadow);
}

/* OE Numbers & Fitment: responsive card treatment */
.vff-product-info-tab {
    gap: 24px;
    margin: 18px 0;
}
.vff-product-info-panel {
    border: 1px solid var(--wdi-fe-border);
    border-radius: 26px;
    padding: clamp(16px, 2.5vw, 28px);
    background:
        radial-gradient(circle at top right, rgba(29,78,216,.07), transparent 34%),
        #fff;
    box-shadow: var(--wdi-fe-shadow-sm);
}
.vff-product-info-heading {
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.vff-product-info-heading span {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
    box-shadow: 0 12px 22px rgba(29,78,216,.22);
}
.vff-product-info-heading h3 {
    color: var(--wdi-fe-ink);
    font-weight: 900;
    letter-spacing: -.03em;
}
.vff-oe-number-grid {
    gap: 9px;
}
.vff-oe-number-pill {
    min-height: 40px;
    border-radius: 14px;
    background: #f8fbff;
    border-color: #dbeafe;
    color: #123478;
    box-shadow: 0 5px 14px rgba(15,23,42,.04);
    overflow-wrap: anywhere;
}
.vff-fitment-table-wrap {
    border: 0;
    overflow: visible;
}
.vff-fitment-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--wdi-fe-border);
    border-radius: 18px;
}
.vff-fitment-table th {
    background: #f8fbff;
    color: #334155;
    font-weight: 900;
}
.vff-fitment-table td {
    color: #1f2937;
    font-weight: 700;
}

/* My Garage premium frontend */
.vff-garage-pro,
.vff-garage-logged-out {
    border: 1px solid var(--wdi-fe-border);
    border-radius: 28px;
    padding: clamp(18px, 3vw, 34px);
    background:
        radial-gradient(circle at top left, rgba(29,78,216,.08), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--wdi-fe-shadow);
}
.vff-garage-header,
.vff-garage-hero {
    gap: 18px;
}
.vff-garage-kicker {
    color: var(--wdi-fe-accent);
    font-weight: 900;
    letter-spacing: .11em;
}
.vff-garage-header h2,
.vff-garage-hero h2 {
    color: var(--wdi-fe-ink);
    font-weight: 900;
    letter-spacing: -.04em;
}
.vff-garage-header p,
.vff-garage-hero p {
    color: var(--wdi-fe-muted);
    font-weight: 600;
}
.vff-garage-add-toggle,
.vff-garage-primary,
.vff-garage-secondary,
.vff-garage-danger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 900;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.vff-garage-add-toggle:hover,
.vff-garage-primary:hover,
.vff-garage-secondary:hover,
.vff-garage-danger:hover {
    transform: translateY(-1px);
}
.vff-garage-add-form {
    border-radius: 24px;
    padding: 18px;
    background: rgba(255,255,255,.86);
    border: 1px solid var(--wdi-fe-border);
    box-shadow: var(--wdi-fe-shadow-sm);
}
.vff-garage-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.vff-garage-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}
.vff-garage-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--wdi-fe-border);
    border-radius: 24px;
    padding: 20px;
    background: #fff;
    box-shadow: var(--wdi-fe-shadow-sm);
}
.vff-garage-card:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #06b6d4);
    opacity: .18;
}
.vff-garage-card.is-active:before { opacity: 1; }
.vff-garage-card.is-active {
    border-color: rgba(29,78,216,.45);
    box-shadow: 0 18px 45px rgba(29,78,216,.13);
}
.vff-garage-icon {
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.vff-garage-active-badge {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.vff-garage-card h3 {
    color: var(--wdi-fe-ink);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.02em;
}
.vff-garage-model,
.vff-garage-engine {
    line-height: 1.45;
}
.vff-garage-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.vff-garage-card-actions .vff-garage-primary {
    grid-column: 1 / -1;
}

/* Frontend mobile: two-card rows for categories and products */
@media (max-width: 900px) {
    .vff-shortcode-shop .vff-filter-form-pro,
    .vff-filter-form-pro,
    .vff-garage-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vff-filter-form-pro .vff-actions,
    .vff-shortcode-shop .vff-actions,
    .vff-garage-submit-field {
        grid-column: 1 / -1;
    }
    .vff-shop-category-grid,
    .vff-fallback-product-grid,
    .vff-shop-products ul.products,
    .vff-shop-products .products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .vff-shop-products ul.products li.product,
    .vff-shop-products .products li.product {
        width: auto !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }
    .vff-garage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .vff-shop-page,
    .vff-shortcode-shop {
        margin: 16px 0;
    }
    .vff-shortcode-shop .vff-filter-form-pro,
    .vff-filter-form-pro {
        padding: 14px;
        border-radius: 22px;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .vff-filter-form-pro .vff-actions,
    .vff-shortcode-shop .vff-actions {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .vff-filter-form-pro .vff-reset,
    .vff-shortcode-shop .vff-reset {
        padding-left: 12px;
        padding-right: 12px;
    }
    .vff-result-summary.vff-shop-summary {
        padding: 18px;
        border-radius: 22px;
    }
    .vff-section-heading {
        display: block;
        margin-bottom: 12px;
    }
    .vff-section-heading p {
        margin-top: 5px;
        font-size: 13px;
    }
    .vff-shop-category-grid,
    .vff-fallback-product-grid,
    .vff-shop-products ul.products,
    .vff-shop-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .vff-shop-category-card {
        border-radius: 18px;
    }
    .vff-shop-category-image {
        aspect-ratio: 1 / .82;
    }
    .vff-shop-category-body {
        padding: 10px;
        gap: 6px;
    }
    .vff-shop-category-title {
        font-size: 13px;
        line-height: 1.2;
    }
    .vff-shop-category-count {
        padding: 5px 7px;
        font-size: 10.5px;
        line-height: 1.1;
    }
    .vff-shop-products ul.products li.product,
    .vff-shop-products .products li.product {
        border-radius: 18px;
        padding: 9px !important;
    }
    .vff-shop-products ul.products li.product .woocommerce-loop-product__title,
    .vff-shop-products .products li.product .woocommerce-loop-product__title {
        font-size: 12.5px;
        line-height: 1.25;
    }
    .vff-shop-products ul.products li.product .price,
    .vff-shop-products .products li.product .price {
        font-size: 12px;
    }
    .vff-shop-products ul.products li.product .button,
    .vff-shop-products .products li.product .button {
        min-height: 36px;
        padding: 8px 7px !important;
        font-size: 11.5px !important;
    }
    .vff-product-info-heading {
        align-items: flex-start;
    }
    .vff-product-info-heading span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }
    .vff-oe-number-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .vff-oe-number-pill {
        justify-content: center;
        text-align: center;
        min-width: 0;
        padding: 9px 8px;
        border-radius: 12px;
        font-size: 12px;
    }
    .vff-fitment-table,
    .vff-fitment-table thead,
    .vff-fitment-table tbody,
    .vff-fitment-table tr,
    .vff-fitment-table th,
    .vff-fitment-table td {
        display: block;
        width: 100%;
    }
    .vff-fitment-table {
        border: 0;
        background: transparent;
    }
    .vff-fitment-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
    }
    .vff-fitment-table tr {
        margin-bottom: 10px;
        border: 1px solid var(--wdi-fe-border);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--wdi-fe-shadow-sm);
        overflow: hidden;
    }
    .vff-fitment-table td {
        display: grid;
        grid-template-columns: 82px 1fr;
        gap: 10px;
        align-items: start;
        padding: 10px 12px;
        border-bottom: 1px solid #eef2f7;
        font-size: 12.5px;
        line-height: 1.35;
    }
    .vff-fitment-table td:last-child {
        border-bottom: 0;
    }
    .vff-fitment-table td:before {
        color: #64748b;
        font-size: 10px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
    }
    .vff-fitment-table td:nth-child(1):before { content: 'Make'; }
    .vff-fitment-table td:nth-child(2):before { content: 'Model'; }
    .vff-fitment-table td:nth-child(3):before { content: 'Engine'; }
    .vff-garage-pro,
    .vff-garage-logged-out {
        border-radius: 22px;
        padding: 16px;
    }
    .vff-garage-header,
    .vff-garage-hero {
        display: grid;
    }
    .vff-garage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .vff-garage-card {
        padding: 14px;
        border-radius: 18px;
    }
    .vff-garage-card h3 {
        font-size: 16px;
        line-height: 1.2;
    }
    .vff-garage-model,
    .vff-garage-engine {
        font-size: 12px;
    }
    .vff-garage-card-actions {
        grid-template-columns: 1fr;
    }
    .vff-garage-card-actions a {
        width: 100%;
        min-height: 38px;
        font-size: 12px;
    }
}
@media (max-width: 380px) {
    .vff-shop-category-grid,
    .vff-fallback-product-grid,
    .vff-shop-products ul.products,
    .vff-shop-products .products,
    .vff-garage-grid {
        gap: 8px !important;
    }
    .vff-shop-category-title,
    .vff-shop-products ul.products li.product .woocommerce-loop-product__title,
    .vff-shop-products .products li.product .woocommerce-loop-product__title {
        font-size: 11.5px;
    }
    .vff-garage-card {
        padding: 12px;
    }
}

/* WDI v1.9.3 product-grid alignment fix
   Normalises WooCommerce ul.products inside the vehicle shortcode product section. */
.vff-section.vff-shop-products {
    --wdi-vff-product-gap: 18px;
    --wdi-vff-product-radius: 22px;
    --wdi-vff-product-border: #e6edf5;
    --wdi-vff-product-text: #0f172a;
    --wdi-vff-product-muted: #64748b;
    --wdi-vff-product-shadow: 0 12px 30px rgba(15, 23, 42, .075);
    --wdi-vff-product-shadow-hover: 0 20px 48px rgba(15, 23, 42, .13);
}
.vff-section.vff-shop-products ul.products,
.vff-section.vff-shop-products .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: var(--wdi-vff-product-gap) !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.vff-section.vff-shop-products ul.products::before,
.vff-section.vff-shop-products ul.products::after,
.vff-section.vff-shop-products .products::before,
.vff-section.vff-shop-products .products::after {
    display: none !important;
    content: none !important;
}
.vff-section.vff-shop-products ul.products li.product,
.vff-section.vff-shop-products .products li.product {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid var(--wdi-vff-product-border) !important;
    border-radius: var(--wdi-vff-product-radius) !important;
    background: #fff !important;
    box-shadow: var(--wdi-vff-product-shadow) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
    text-align: left !important;
}
.vff-section.vff-shop-products ul.products li.product:hover,
.vff-section.vff-shop-products .products li.product:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(29, 78, 216, .32) !important;
    box-shadow: var(--wdi-vff-product-shadow-hover) !important;
}
.vff-section.vff-shop-products ul.products li.product > a.woocommerce-LoopProduct-link,
.vff-section.vff-shop-products .products li.product > a.woocommerce-LoopProduct-link,
.vff-section.vff-shop-products ul.products li.product > a.woocommerce-loop-product__link,
.vff-section.vff-shop-products .products li.product > a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 12px 12px 0 !important;
    color: inherit !important;
    text-decoration: none !important;
}
.vff-section.vff-shop-products ul.products li.product img,
.vff-section.vff-shop-products .products li.product img,
.vff-section.vff-shop-products ul.products li.product a img,
.vff-section.vff-shop-products .products li.product a img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center center !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 0 12px !important;
    padding: 10px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
}
.vff-section.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
.vff-section.vff-shop-products .products li.product .woocommerce-loop-product__title,
.vff-section.vff-shop-products ul.products li.product h2,
.vff-section.vff-shop-products .products li.product h2,
.vff-section.vff-shop-products ul.products li.product h3,
.vff-section.vff-shop-products .products li.product h3 {
    min-height: 40px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--wdi-vff-product-text) !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
    letter-spacing: -.015em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.vff-section.vff-shop-products ul.products li.product .star-rating,
.vff-section.vff-shop-products .products li.product .star-rating {
    margin: 0 12px 8px !important;
}
.vff-section.vff-shop-products ul.products li.product .price,
.vff-section.vff-shop-products .products li.product .price {
    display: block !important;
    min-height: 24px !important;
    margin: 0 12px 12px !important;
    color: var(--wdi-vff-product-text) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
.vff-section.vff-shop-products ul.products li.product .price del,
.vff-section.vff-shop-products .products li.product .price del {
    color: var(--wdi-vff-product-muted) !important;
    font-weight: 700 !important;
}
.vff-section.vff-shop-products ul.products li.product .button,
.vff-section.vff-shop-products .products li.product .button,
.vff-section.vff-shop-products ul.products li.product a.button,
.vff-section.vff-shop-products .products li.product a.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 24px) !important;
    min-height: 42px !important;
    margin: auto 12px 12px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    text-align: center !important;
    line-height: 1.15 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}
.vff-section.vff-shop-products ul.products li.product .onsale,
.vff-section.vff-shop-products .products li.product .onsale {
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    z-index: 2 !important;
    border-radius: 999px !important;
    min-height: 0 !important;
    line-height: 1 !important;
    padding: 7px 9px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}
.vff-section.vff-shop-products ul.products li.product .added_to_cart,
.vff-section.vff-shop-products .products li.product .added_to_cart {
    margin: -4px 12px 12px !important;
    text-align: center !important;
    font-weight: 900 !important;
}
@media (max-width: 1180px) {
    .vff-section.vff-shop-products ul.products,
    .vff-section.vff-shop-products .products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 900px) {
    .vff-section.vff-shop-products ul.products,
    .vff-section.vff-shop-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
@media (max-width: 640px) {
    .vff-section.vff-shop-products ul.products,
    .vff-section.vff-shop-products .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .vff-section.vff-shop-products ul.products li.product,
    .vff-section.vff-shop-products .products li.product {
        border-radius: 18px !important;
    }
    .vff-section.vff-shop-products ul.products li.product > a.woocommerce-LoopProduct-link,
    .vff-section.vff-shop-products .products li.product > a.woocommerce-LoopProduct-link,
    .vff-section.vff-shop-products ul.products li.product > a.woocommerce-loop-product__link,
    .vff-section.vff-shop-products .products li.product > a.woocommerce-loop-product__link {
        padding: 8px 8px 0 !important;
    }
    .vff-section.vff-shop-products ul.products li.product img,
    .vff-section.vff-shop-products .products li.product img,
    .vff-section.vff-shop-products ul.products li.product a img,
    .vff-section.vff-shop-products .products li.product a img {
        padding: 8px !important;
        border-radius: 13px !important;
        margin-bottom: 9px !important;
    }
    .vff-section.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
    .vff-section.vff-shop-products .products li.product .woocommerce-loop-product__title,
    .vff-section.vff-shop-products ul.products li.product h2,
    .vff-section.vff-shop-products .products li.product h2,
    .vff-section.vff-shop-products ul.products li.product h3,
    .vff-section.vff-shop-products .products li.product h3 {
        min-height: 34px !important;
        font-size: 12px !important;
        line-height: 1.32 !important;
        margin-bottom: 7px !important;
    }
    .vff-section.vff-shop-products ul.products li.product .price,
    .vff-section.vff-shop-products .products li.product .price {
        min-height: 20px !important;
        margin: 0 8px 9px !important;
        font-size: 12px !important;
    }
    .vff-section.vff-shop-products ul.products li.product .star-rating,
    .vff-section.vff-shop-products .products li.product .star-rating {
        margin: 0 8px 7px !important;
        transform: scale(.84);
        transform-origin: left center;
    }
    .vff-section.vff-shop-products ul.products li.product .button,
    .vff-section.vff-shop-products .products li.product .button,
    .vff-section.vff-shop-products ul.products li.product a.button,
    .vff-section.vff-shop-products .products li.product a.button {
        width: calc(100% - 16px) !important;
        min-height: 36px !important;
        margin: auto 8px 8px !important;
        padding: 8px 7px !important;
        border-radius: 12px !important;
        font-size: 11px !important;
    }
}
@media (max-width: 360px) {
    .vff-section.vff-shop-products ul.products,
    .vff-section.vff-shop-products .products {
        gap: 8px !important;
    }
    .vff-section.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
    .vff-section.vff-shop-products .products li.product .woocommerce-loop-product__title,
    .vff-section.vff-shop-products ul.products li.product h2,
    .vff-section.vff-shop-products .products li.product h2,
    .vff-section.vff-shop-products ul.products li.product h3,
    .vff-section.vff-shop-products .products li.product h3 {
        font-size: 11.25px !important;
    }
}

/* WDI v1.9.4: same-page compatible product pagination */
.vff-products-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 24px 0 4px;
    padding: 14px 16px;
    border: 1px solid var(--wdi-fe-border, #e6edf5);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}
.vff-products-pagination-summary {
    color: var(--wdi-fe-muted, #64748b);
    font-size: 13px;
    font-weight: 800;
}
.vff-products-pagination-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}
.vff-products-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    line-height: 1;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.vff-products-pagination a.page-numbers:hover,
.vff-products-pagination a.page-numbers:focus {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    transform: translateY(-1px);
}
.vff-products-pagination .page-numbers.current {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    border-color: #0f172a;
    color: #fff;
    box-shadow: 0 10px 20px rgba(29, 78, 216, .20);
}
.vff-products-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    min-width: auto;
    padding: 0 4px;
    color: #94a3b8;
}
@media (max-width: 640px) {
    .vff-products-pagination {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
        border-radius: 16px;
    }
    .vff-products-pagination-summary {
        text-align: center;
    }
    .vff-products-pagination-links {
        justify-content: center;
    }
    .vff-products-pagination .page-numbers {
        min-width: 34px;
        min-height: 34px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 12px;
    }
}

/* WDI v2.0.0 Registration Lookup */
.vff-reg-lookup {
    --vff-reg-ink: #0f172a;
    --vff-reg-muted: #64748b;
    --vff-reg-border: #e6edf5;
    --vff-reg-accent: #1d4ed8;
    margin: 0 0 18px;
    border: 1px solid var(--vff-reg-border);
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(29,78,216,.10), transparent 34%), linear-gradient(135deg,#fff 0%,#f8fbff 100%);
    box-shadow: 0 18px 48px rgba(15,23,42,.09);
    padding: clamp(16px, 2.5vw, 24px);
}
.vff-reg-lookup-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 20px;
    align-items: end;
}
.vff-reg-kicker {
    display: inline-flex;
    color: var(--vff-reg-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.vff-reg-copy h3 {
    margin: 0 0 8px;
    color: var(--vff-reg-ink);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.04em;
}
.vff-reg-copy p {
    margin: 0;
    color: var(--vff-reg-muted);
    font-weight: 600;
}
.vff-reg-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
    border: 1px solid #dbe5f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.06);
}
.vff-reg-input {
    min-height: 52px;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    color: var(--vff-reg-ink);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.vff-reg-input:focus { outline: none !important; box-shadow: none !important; }
.vff-reg-submit,
.vff-reg-primary {
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg,#0f172a,#1d4ed8);
    color: #fff;
    padding: 0 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(29,78,216,.22);
}
.vff-reg-submit:hover,
.vff-reg-primary:hover { filter: brightness(1.06); color: #fff; }
.vff-reg-output { margin-top: 16px; }
.vff-reg-card,
.vff-reg-loading,
.vff-reg-error,
.vff-reg-warning {
    border: 1px solid var(--vff-reg-border);
    border-radius: 22px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(15,23,42,.07);
}
.vff-reg-loading { display: flex; align-items: center; gap: 10px; color: #475569; font-weight: 800; }
.vff-reg-loading span { width: 18px; height: 18px; border: 2px solid #dbe3ef; border-top-color: #1d4ed8; border-radius: 999px; animation: vff-spin .8s linear infinite; }
.vff-reg-error { border-color: #fecaca; background: #fff1f2; color: #991b1b; font-weight: 800; }
.vff-reg-warning { margin-top: 12px; border-color: #fde68a; background: #fffbeb; color: #92400e; font-weight: 800; }
.vff-reg-found { margin-bottom: 14px; }
.vff-reg-found span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--vff-reg-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.vff-reg-found strong { display: block; color: var(--vff-reg-ink); font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.vff-reg-found p { margin: 5px 0 0; color: var(--vff-reg-muted); font-weight: 700; }
.vff-reg-auto {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    padding: 14px;
    border-radius: 18px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.vff-reg-auto p { margin: 0; color: #1e3a8a; }
.vff-reg-matches h4 { margin: 14px 0 10px; color: var(--vff-reg-ink); font-size: 16px; font-weight: 900; }
.vff-reg-match-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.vff-reg-match {
    display: grid;
    gap: 5px;
    text-align: left;
    padding: 13px;
    border: 1px solid #dbe5f0;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.vff-reg-match:hover,
.vff-reg-match:focus { transform: translateY(-1px); border-color: rgba(29,78,216,.38); box-shadow: 0 12px 28px rgba(15,23,42,.09); outline: none; }
.vff-reg-match-main { color: var(--vff-reg-ink); font-weight: 900; line-height: 1.25; }
.vff-reg-match-engine { color: #334155; font-weight: 800; font-size: 13px; line-height: 1.3; }
.vff-reg-match-meta { color: var(--vff-reg-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.vff-manual-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
    color: #64748b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
}
.vff-manual-choice:before,
.vff-manual-choice:after { content: ''; flex: 1; height: 1px; background: #e6edf5; }
@media (max-width: 780px) {
    .vff-reg-lookup-inner { grid-template-columns: 1fr; gap: 14px; }
    .vff-reg-form { grid-template-columns: 1fr; }
    .vff-reg-submit { width: 100%; }
    .vff-reg-match-grid { grid-template-columns: 1fr; }
    .vff-reg-auto { display: grid; }
    .vff-reg-primary { width: 100%; }
}


/* WDI v2.0.1 Registration lookup fixes */
.vff-reg-no-parts {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}
.vff-reg-no-parts strong {
    display: block;
    margin-bottom: 4px;
    color: #7c2d12;
}
.vff-reg-no-parts p {
    margin: 0;
}
.vff-reg-history-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin: 0 0 16px;
}
.vff-reg-history-filter label {
    display: grid;
    gap: 5px;
    font-weight: 800;
}
@media (max-width: 640px) {
    .vff-reg-history-filter,
    .vff-reg-history-filter label,
    .vff-reg-history-filter .button {
        width: 100%;
    }
}

/* WDI v2.1.0 registration intelligence and protected category messages */
.vff-protected-empty {
    border-radius: 22px;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);
    box-shadow: 0 14px 34px rgba(15,23,42,.08);
    padding: 22px !important;
}
.vff-protected-empty strong {
    display:block;
    color:#0f172a;
    font-size:20px;
    margin-bottom:6px;
}
.vff-protected-empty p {
    color:#475569;
    margin:0 0 14px;
    font-weight:600;
}
.vff-protected-empty-button {
    border-radius: 999px !important;
    font-weight: 900 !important;
}
.vff-reg-message {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-weight: 800;
}
.vff-reg-contact {
    display:inline-flex;
    margin-top: 10px;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 999px;
    background:#111827;
    color:#fff !important;
    text-decoration:none !important;
    font-weight:900;
}
.vff-reg-history-filter {
    display:flex;
    flex-wrap:wrap;
    align-items:end;
    gap:10px;
    margin: 12px 0 14px;
    padding: 14px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#f8fafc;
}
.vff-reg-history-filter label {
    display:flex;
    flex-direction:column;
    gap:5px;
    color:#334155;
    font-weight:800;
}
.vff-reg-admin-result {
    margin-top: 16px;
}
@media (max-width: 640px) {
    .vff-reg-history-filter {
        display:grid;
        grid-template-columns:1fr;
    }
    .vff-reg-history-filter .button,
    .vff-reg-history-filter input,
    .vff-reg-history-filter select {
        width:100%;
    }
    .vff-protected-empty {
        padding:16px !important;
        border-radius:18px;
    }
}


/* WDI v2.1.1 Irish plate and frontpage registration lookup refinements */
.vff-reg-form {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.vff-reg-plate-field {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 58px;
    overflow: hidden;
    border: 2px solid #111827;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.10), inset 0 0 0 1px rgba(255,255,255,.85);
}
.vff-reg-plate-flag {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    background: #1146a6;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    border-right: 2px solid #111827;
}
.vff-reg-plate-flag strong {
    display: block;
    color: #fff;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}
.vff-reg-plate-field .vff-reg-input {
    min-height: 58px;
    padding: 0 16px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
    color: #111827;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}
.vff-reg-plate-field .vff-reg-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}
.vff-reg-submit {
    min-height: 58px;
    border-radius: 12px;
    white-space: nowrap;
}
.vff-reg-frontpage-shortcode {
    display: grid;
    gap: 18px;
}
.vff-reg-frontpage-shortcode .vff-reg-lookup {
    margin-bottom: 0;
}
.vff-reg-frontpage-empty {
    margin-top: 0;
}
.vff-reg-match-grid .vff-reg-match {
    min-height: 88px;
}
@media (max-width: 640px) {
    .vff-reg-form {
        grid-template-columns: 1fr;
    }
    .vff-reg-plate-field {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 54px;
    }
    .vff-reg-plate-field .vff-reg-input {
        min-height: 54px;
        font-size: 22px;
        padding: 0 10px !important;
    }
    .vff-reg-submit {
        min-height: 50px;
        width: 100%;
    }
}

/* WDI v2.1.2 Registration frontpage UX refinements */
.vff-reg-frontpage-shortcode .vff-reg-lookup {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 10% 0%, rgba(29,78,216,.16), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(5,150,105,.10), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}
.vff-reg-frontpage-shortcode .vff-reg-lookup:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.vff-reg-frontpage-shortcode .vff-reg-lookup-inner {
    position: relative;
    z-index: 1;
    align-items: center;
}
.vff-reg-frontpage-shortcode .vff-reg-copy h3 {
    font-size: clamp(25px, 3.5vw, 42px);
}
.vff-reg-frontpage-shortcode .vff-reg-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    border-color: rgba(15,23,42,.11);
    box-shadow: 0 18px 44px rgba(15,23,42,.12);
}
.vff-reg-frontpage-shortcode .vff-reg-plate-field {
    min-width: 0;
}
.vff-reg-actions {
    display: inline-flex;
    align-items: stretch;
    gap: 8px;
}
.vff-reg-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}
.vff-reg-reset:hover,
.vff-reg-reset:focus {
    background: #f8fafc;
    color: #0f172a;
    border-color: #bfdbfe;
}
.vff-reg-frontpage-shortcode .vff-reg-output {
    position: relative;
    z-index: 1;
}
.vff-reg-frontpage-shortcode .vff-reg-card {
    border-radius: 24px;
    border-color: rgba(15,23,42,.10);
    box-shadow: 0 16px 40px rgba(15,23,42,.08);
}
.vff-reg-frontpage-shortcode .vff-reg-match-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.vff-reg-frontpage-shortcode .vff-reg-match {
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.vff-reg-frontpage-shortcode .vff-shop-results {
    margin-top: 4px;
}
.vff-reg-frontpage-shortcode .vff-shop-categories .vff-section-heading h3 {
    font-size: clamp(22px, 3vw, 34px);
}
.vff-reg-frontpage-empty {
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 100%);
    border-color: #dbeafe;
}
@media (max-width: 780px) {
    .vff-reg-frontpage-shortcode .vff-reg-form {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 9px;
    }
    .vff-reg-actions {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
    }
    .vff-reg-frontpage-shortcode .vff-reg-submit,
    .vff-reg-reset {
        min-height: 52px;
    }
    .vff-reg-reset {
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media (max-width: 480px) {
    .vff-reg-frontpage-shortcode .vff-reg-lookup {
        border-radius: 24px;
        padding: 14px;
    }
    .vff-reg-frontpage-shortcode .vff-reg-copy h3 {
        font-size: 25px;
    }
    .vff-reg-frontpage-shortcode .vff-reg-copy p {
        font-size: 13px;
    }
    .vff-reg-actions {
        grid-template-columns: 1fr;
    }
    .vff-reg-reset {
        width: 100%;
    }
    .vff-reg-frontpage-shortcode .vff-reg-match-grid {
        grid-template-columns: 1fr;
    }
}

/* WDI v2.2.0 UK registration lookup support */
.vff-reg-country-switch {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.vff-reg-country-switch label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vff-reg-country-switch label:hover { background: #f8fafc; color: #0f172a; }
.vff-reg-country-switch label.is-active {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 18px rgba(15,23,42,.18);
}
.vff-reg-country-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.vff-reg-plate-field {
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.vff-reg-plate-field:focus-within {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(15,23,42,.16), 0 0 0 4px rgba(29,78,216,.12);
}
.vff-reg-plate-field.vff-reg-plate-uk {
    border-color: #0f172a;
    background: #f5b521;
    box-shadow: 0 12px 28px rgba(120, 72, 0, .17), inset 0 0 0 1px rgba(255,255,255,.45);
}
.vff-reg-plate-field.vff-reg-plate-uk .vff-reg-plate-flag {
    background: linear-gradient(180deg, #032b74 0%, #003399 100%);
    border-right-color: #0f172a;
}
.vff-reg-plate-field.vff-reg-plate-uk .vff-reg-input {
    background: linear-gradient(180deg, #ffd75b 0%, #f3b61f 100%) !important;
    color: #111827;
    text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.vff-reg-plate-field.vff-reg-plate-uk .vff-reg-input::placeholder {
    color: rgba(17,24,39,.55);
}
.vff-reg-country-uk .vff-reg-submit {
    background: linear-gradient(135deg, #111827 0%, #3b2f0f 100%);
    box-shadow: 0 14px 24px rgba(120,72,0,.18);
}
@media (max-width: 640px) {
    .vff-reg-country-switch {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 16px;
    }
    .vff-reg-country-switch label {
        justify-content: center;
        min-height: 38px;
    }
}

/* WDI v2.2.1 Elite full-interface polish
   Final high-specificity UI layer for backend + frontend. */
:root {
  --wdi-font: 'Overpass', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.wdi-vff-admin-modern,
body.wdi-vff-admin-modern input,
body.wdi-vff-admin-modern select,
body.wdi-vff-admin-modern textarea,
body.wdi-vff-admin-modern button,
body.wdi-vff-admin-modern .button,
body.wdi-vff-admin-modern .button-primary,
body.wdi-vff-admin-modern .button-secondary,
.vff-vehicle-row,
.vff-repeatable-row,
.vff-oe-row,
#vff-product-fitments,
#vff-oe-numbers {
  font-family: var(--wdi-font) !important;
}
.vff-shop-page,
.vff-shortcode-shop,
.vff-reg-lookup,
.vff-reg-frontpage-shortcode,
.vff-garage-pro,
.vff-garage-logged-out,
.vff-product-info-tab,
.vff-search-wrap,
.vff-section,
.vff-category-results,
.vff-result-summary,
.vff-filter-form,
.vff-filter-form-pro {
  font-family: var(--wdi-font);
}

/* Admin: elite, cleaner, more consistent, less old WordPress feel. */
body.wdi-vff-admin-modern {
  color: #0f172a;
  text-rendering: geometricPrecision;
}
body.wdi-vff-admin-modern #wpcontent,
body.wdi-vff-admin-modern #wpbody-content {
  background:
    radial-gradient(circle at 18% 0%, rgba(59,130,246,.16), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(14,165,233,.12), transparent 34%),
    linear-gradient(180deg, #eef5ff 0, #f7f9fc 310px, #f5f7fb 100%) !important;
}
.wdi-vff-shell {
  border: 1px solid rgba(255,255,255,.75) !important;
  border-radius: 28px !important;
  overflow: hidden;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 32px 90px rgba(15,23,42,.14) !important;
}
.wdi-vff-brandbar {
  padding: 28px !important;
  background:
    radial-gradient(circle at 9% 24%, rgba(96,165,250,.38), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(34,211,238,.20), transparent 36%),
    linear-gradient(135deg, #020617 0%, #0f172a 44%, #1e3a8a 100%) !important;
}
.wdi-vff-brandmark {
  width: 68px !important;
  height: 68px !important;
  border-radius: 22px !important;
  font-size: 20px;
  letter-spacing: -.06em;
}
.wdi-vff-brandcopy h1 {
  font-family: var(--wdi-font) !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
}
.wdi-vff-brandcopy p {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
}
.wdi-vff-admin-nav {
  padding: 16px !important;
  gap: 10px !important;
  background: rgba(255,255,255,.94) !important;
}
.wdi-vff-admin-nav-item {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  border: 1px solid #e6edf5 !important;
  color: #334155 !important;
  box-shadow: 0 5px 14px rgba(15,23,42,.035);
}
.wdi-vff-admin-nav-item:hover,
.wdi-vff-admin-nav-item:focus {
  transform: translateY(-1px);
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  text-decoration: none;
}
.wdi-vff-admin-nav-item.is-active {
  background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(29,78,216,.25) !important;
}
body.wdi-vff-admin-modern .wrap {
  max-width: 1360px !important;
}
body.wdi-vff-admin-modern .vff-card,
body.wdi-vff-admin-modern .vff-hero,
body.wdi-vff-admin-modern form:not(.search-form):not(.wp-filter-search),
body.wdi-vff-admin-modern .widefat,
body.wdi-vff-admin-modern .form-table,
body.wdi-vff-admin-modern .postbox,
.vff-repeatable-row {
  border-radius: 22px !important;
  border-color: rgba(15,23,42,.10) !important;
  box-shadow: 0 18px 44px rgba(15,23,42,.065) !important;
}
body.wdi-vff-admin-modern .vff-card,
body.wdi-vff-admin-modern form:not(.search-form):not(.wp-filter-search) {
  padding: 24px !important;
}
body.wdi-vff-admin-modern .wrap > h1:first-child,
body.wdi-vff-admin-modern .vff-card h2,
body.wdi-vff-admin-modern .postbox h2,
body.wdi-vff-admin-modern .postbox .hndle,
body.wdi-vff-admin-modern .form-table th {
  font-family: var(--wdi-font) !important;
  letter-spacing: -.035em;
}
body.wdi-vff-admin-modern .widefat th {
  font-size: 11px !important;
  letter-spacing: .075em !important;
  color: #475569 !important;
  background: linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%) !important;
}
body.wdi-vff-admin-modern .widefat td {
  color: #1f2937;
}
body.wdi-vff-admin-modern input[type=text],
body.wdi-vff-admin-modern input[type=number],
body.wdi-vff-admin-modern input[type=search],
body.wdi-vff-admin-modern input[type=url],
body.wdi-vff-admin-modern input[type=email],
body.wdi-vff-admin-modern input[type=password],
body.wdi-vff-admin-modern textarea,
body.wdi-vff-admin-modern select {
  border-radius: 14px !important;
  border-color: #dbe5f0 !important;
  min-height: 44px !important;
  font-weight: 600;
}
body.wdi-vff-admin-modern .button,
body.wdi-vff-admin-modern .button-primary,
body.wdi-vff-admin-modern .button-secondary {
  border-radius: 14px !important;
  min-height: 40px !important;
  font-family: var(--wdi-font) !important;
}
body.wdi-vff-admin-modern .notice:not(.inline) {
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.08) !important;
}
.vff-reg-history-filter {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, auto));
  gap: 12px;
  align-items: end;
}
.vff-reg-admin-result {
  border: 1px solid #e6edf5;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 32px rgba(15,23,42,.06);
  margin: 16px 0;
}

/* Frontend registration lookup: premium plate component, balanced form and animations. */
.vff-reg-lookup {
  border-radius: 30px !important;
  border: 1px solid rgba(226,237,245,.95) !important;
  background:
    radial-gradient(circle at 10% 14%, rgba(29,78,216,.10), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(14,165,233,.10), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 24px 64px rgba(15,23,42,.10) !important;
  padding: clamp(18px, 3vw, 30px) !important;
  overflow: hidden;
}
.vff-reg-lookup-inner {
  display: grid !important;
  grid-template-columns: minmax(260px, .78fr) minmax(320px, 1.22fr) !important;
  gap: clamp(18px, 3vw, 32px) !important;
  align-items: center !important;
}
.vff-reg-copy h3 {
  font-size: clamp(26px, 3vw, 42px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.055em !important;
  font-weight: 900 !important;
}
.vff-reg-copy p {
  color: #475569 !important;
  font-weight: 600;
  line-height: 1.65;
}
.vff-reg-kicker {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8 !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
}
.vff-reg-form {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 12px !important;
  align-items: stretch !important;
  padding: 16px !important;
  border: 1px solid #e6edf5;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 35px rgba(15,23,42,.07);
}
.vff-reg-country-switch {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.vff-reg-country-switch label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  color: #334155;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.vff-reg-country-switch label:hover { transform: translateY(-1px); }
.vff-reg-country-switch label.is-active {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.20);
}
.vff-reg-country-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vff-reg-plate-field {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 68px;
  border: 3px solid #111827;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 12px 26px rgba(15,23,42,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vff-reg-plate-field:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(29,78,216,.14), 0 18px 34px rgba(15,23,42,.14);
}
.vff-reg-plate-ie { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.vff-reg-plate-uk { background: linear-gradient(180deg, #ffd84d 0%, #ffc400 100%); }
.vff-reg-plate-flag {
  display: grid !important;
  place-items: center;
  gap: 1px;
  background: linear-gradient(180deg, #0b4dbb 0%, #06398e 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border-right: 3px solid #111827;
}
.vff-reg-plate-flag strong {
  color: #fff;
  font-size: 11px;
  letter-spacing: .11em;
}
.vff-reg-input {
  min-height: 68px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 18px !important;
  color: #0f172a !important;
  font-size: clamp(22px, 3vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
  text-align: center;
}
.vff-reg-input::placeholder { color: rgba(15,23,42,.42); opacity: 1; }
.vff-reg-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 9px;
  min-width: 160px;
}
.vff-reg-submit,
.vff-reg-reset,
.vff-reg-primary,
.vff-reg-contact {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px !important;
  border-radius: 15px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.vff-reg-submit,
.vff-reg-primary {
  background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(29,78,216,.24) !important;
}
.vff-reg-reset {
  border: 1px solid #dbe5f0 !important;
  background: #fff !important;
  color: #334155 !important;
}
.vff-reg-submit:hover,
.vff-reg-reset:hover,
.vff-reg-primary:hover,
.vff-reg-contact:hover { transform: translateY(-1px); }
.vff-reg-output { margin-top: 18px !important; }
.vff-reg-card,
.vff-reg-loading,
.vff-reg-error,
.vff-reg-warning,
.vff-reg-message,
.vff-reg-auto,
.vff-reg-no-parts {
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.06) !important;
}
.vff-reg-found {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid #dbeafe;
}
.vff-reg-found span {
  display: block;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.vff-reg-found strong {
  display: block;
  color: #0f172a;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: -.025em;
}
.vff-reg-found p { margin: 6px 0 0; color: #475569; font-weight: 600; }
.vff-reg-match-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px !important;
}
.vff-reg-match {
  min-height: 100%;
  border-radius: 18px !important;
  border: 1px solid #e6edf5 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  text-align: left !important;
}
.vff-reg-match:hover { border-color: #bfdbfe !important; transform: translateY(-1px); }
.vff-reg-match-main,
.vff-reg-match-engine {
  display: block;
  color: #0f172a;
  font-weight: 900;
}
.vff-reg-match-engine { color: #64748b; font-weight: 700; margin-top: 4px; }

/* Frontend vehicle shop, categories and products: unified premium responsive layout. */
.vff-shop-page,
.vff-shortcode-shop,
.vff-reg-frontpage-shortcode {
  --wdi-card-bg: #fff;
  --wdi-border: #e6edf5;
  --wdi-ink: #0f172a;
  --wdi-muted: #64748b;
  --wdi-blue: #1d4ed8;
}
.vff-filter-form-pro,
.vff-shortcode-shop .vff-filter-form-pro {
  border-radius: 28px !important;
  border-color: var(--wdi-border) !important;
  background:
    radial-gradient(circle at top left, rgba(29,78,216,.10), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f8fbff 100%) !important;
}
.vff-section-heading {
  padding: 0 !important;
  margin-bottom: 18px !important;
}
.vff-section-heading h3 {
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: -.045em !important;
}
.vff-shop-category-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
}
.vff-shop-category-card {
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.075) !important;
}
.vff-shop-category-image {
  aspect-ratio: 1.18 / 1 !important;
}
.vff-shop-category-body {
  padding: 16px !important;
}
.vff-shop-category-title {
  min-height: 2.44em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vff-section.vff-shop-products ul.products,
.vff-section.vff-shop-products .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  align-items: stretch !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.vff-section.vff-shop-products ul.products li.product,
.vff-section.vff-shop-products .products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 13px !important;
  border: 1px solid var(--wdi-border) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(15,23,42,.075) !important;
  overflow: hidden !important;
}
.vff-section.vff-shop-products ul.products li.product a.woocommerce-LoopProduct-link,
.vff-section.vff-shop-products .products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  text-decoration: none !important;
}
.vff-section.vff-shop-products ul.products li.product a img,
.vff-section.vff-shop-products .products li.product a img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  margin: 0 0 12px !important;
  padding: 8px !important;
}
.vff-section.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
.vff-section.vff-shop-products .products li.product .woocommerce-loop-product__title {
  min-height: 2.6em;
  color: var(--wdi-ink) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vff-section.vff-shop-products ul.products li.product .price,
.vff-section.vff-shop-products .products li.product .price {
  margin-top: auto !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}
.vff-section.vff-shop-products ul.products li.product .button,
.vff-section.vff-shop-products .products li.product .button {
  margin-top: 10px !important;
  border-radius: 15px !important;
  min-height: 42px;
}
.vff-pagination,
.vff-products-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
}
.vff-pagination a,
.vff-pagination span,
.vff-products-pagination a,
.vff-products-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-weight: 900;
  text-decoration: none;
}
.vff-pagination .current,
.vff-products-pagination .current {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-color: #1d4ed8;
}

/* My Garage and OE/Fitment: mobile-first polish. */
.vff-garage-pro,
.vff-garage-logged-out,
.vff-product-info-panel {
  border-radius: 28px !important;
  box-shadow: 0 20px 54px rgba(15,23,42,.09) !important;
}
.vff-garage-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)) !important;
}
.vff-garage-card {
  border-radius: 24px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.07) !important;
}
.vff-product-info-heading h3,
.vff-garage-header h2,
.vff-garage-hero h2 {
  font-weight: 900 !important;
  letter-spacing: -.045em !important;
}
.vff-fitment-table td,
.vff-fitment-table th { vertical-align: top; }

/* Search: cleaner dropdown/list for navigation and content. */
.vff-search-wrap {
  font-family: var(--wdi-font);
}
.vff-search-box {
  border-radius: 18px !important;
  border-color: #dbe5f0 !important;
}
.vff-search-output {
  border-radius: 22px !important;
  box-shadow: 0 28px 80px rgba(15,23,42,.24) !important;
}
.vff-search-item {
  border-radius: 18px;
  margin: 8px;
  border: 1px solid #eef2f7;
}
.vff-search-thumb { border-radius: 14px !important; }
.vff-search-product-title { font-weight: 900 !important; }

/* Deep responsive pass. */
@media (max-width: 1100px) {
  .vff-reg-lookup-inner { grid-template-columns: 1fr !important; }
  .vff-reg-copy { max-width: 760px; }
}
@media (max-width: 900px) {
  .vff-reg-form { grid-template-columns: 1fr !important; }
  .vff-reg-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
  .vff-shop-category-grid,
  .vff-section.vff-shop-products ul.products,
  .vff-section.vff-shop-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .vff-reg-history-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vff-reg-lookup { padding: 14px !important; border-radius: 22px !important; }
  .vff-reg-copy h3 { font-size: 26px !important; }
  .vff-reg-form { padding: 12px !important; border-radius: 20px; }
  .vff-reg-country-switch { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
  .vff-reg-country-switch label { min-width: 0; }
  .vff-reg-plate-field { grid-template-columns: 54px minmax(0, 1fr); min-height: 58px; border-width: 2px; }
  .vff-reg-plate-flag { border-right-width: 2px; font-size: 15px; }
  .vff-reg-plate-flag strong { font-size: 9px; }
  .vff-reg-input { min-height: 58px !important; font-size: 21px !important; padding: 0 10px !important; letter-spacing: .045em !important; }
  .vff-reg-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vff-reg-submit,
  .vff-reg-reset { min-height: 44px !important; padding: 0 10px !important; font-size: 13px; }
  .vff-reg-match-grid { grid-template-columns: 1fr !important; }
  .vff-shop-category-grid,
  .vff-section.vff-shop-products ul.products,
  .vff-section.vff-shop-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .vff-shop-category-card,
  .vff-section.vff-shop-products ul.products li.product,
  .vff-section.vff-shop-products .products li.product {
    border-radius: 18px !important;
  }
  .vff-shop-category-body { padding: 10px !important; }
  .vff-shop-category-title,
  .vff-section.vff-shop-products ul.products li.product .woocommerce-loop-product__title,
  .vff-section.vff-shop-products .products li.product .woocommerce-loop-product__title {
    font-size: 12.5px !important;
  }
  .vff-section.vff-shop-products ul.products li.product,
  .vff-section.vff-shop-products .products li.product { padding: 9px !important; }
  .vff-section.vff-shop-products ul.products li.product a img,
  .vff-section.vff-shop-products .products li.product a img { border-radius: 14px !important; padding: 5px !important; }
  .vff-garage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .vff-garage-card { padding: 13px !important; border-radius: 18px !important; }
  .vff-garage-card-actions { grid-template-columns: 1fr !important; }
  .vff-oe-number-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 390px) {
  .vff-reg-actions { grid-template-columns: 1fr; }
  .vff-shop-category-grid,
  .vff-section.vff-shop-products ul.products,
  .vff-section.vff-shop-products .products,
  .vff-garage-grid {
    gap: 8px !important;
  }
  .vff-reg-input { font-size: 18px !important; }
}
