:root{

    --fp-primary:#ff002e;
    --fp-heading:#333333;
    --fp-text:#666666;

}

body{

    font-family:'Poppins',sans-serif;

}

.fp-card{

    max-width:700px;

    margin:40px auto;

    padding:30px;

    background:#fff;

    border-radius:16px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.fp-card h2{

    color:var(--fp-heading);

    margin:0 0 15px;

}

.fp-card p{

    color:var(--fp-text);

}
/* ==========================================
   FairPartz Smart Search V5
========================================== */

.fp-smart-search {
    max-width: 980px;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
}

.fp-smart-search-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.fp-smart-search-label {
    display: block;
    margin-bottom: 12px;
    color: #666;
    font-weight: 600;
    font-size: 18px;
}

.fp-smart-search-row {
    display: flex;
    gap: 12px;
}

.fp-smart-search-input {
    flex: 1;
    min-height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0 18px;
    color: #333;
    font: inherit;
}

.fp-smart-search-input:focus {
    border-color: #ff002e;
    box-shadow: 0 0 0 1px #ff002e;
    outline: none;
}

.fp-smart-search-button {
    min-height: 48px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    background: #ff002e;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.fp-smart-search-button:hover {
    background: #e00028;
}

.fp-smart-search-hint {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
}

.fp-smart-search-analysis {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.fp-smart-chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 0, 46, .07);
    color: #333;
    font-size: 13px;
}

.fp-smart-chip strong {
    color: #666;
}

.fp-smart-search-results {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.fp-smart-result {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.fp-smart-result-image {
    display: block;
    overflow: hidden;
    min-height: 110px;
    border-radius: 16px;
    background: #f8f9fb;
    text-decoration: none;
}

.fp-smart-result-image img {
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
    display: block;
}

.fp-smart-result-placeholder {
    min-height: 110px;
    display: grid;
    place-items: center;
    color: #999;
}

.fp-smart-result-top,
.fp-smart-result-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.fp-smart-result-title {
    color: #333;
    font-weight: 700;
    text-decoration: none;
}

.fp-smart-result-title:hover {
    color: #ff002e;
}

.fp-smart-score {
    white-space: nowrap;
    border-radius: 999px;
    padding: 6px 10px;
    background: #f8f9fb;
    color: #666;
    font-size: 12px;
    font-weight: 600;
}

.fp-smart-result-meta {
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}

.fp-smart-result p {
    margin: 10px 0;
    color: #666;
}

.fp-smart-result-bottom strong {
    color: #333;
    font-size: 18px;
}

.fp-smart-empty {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #666;
}

@media (max-width: 720px) {
    .fp-smart-search-row,
    .fp-smart-result,
    .fp-smart-result-top,
    .fp-smart-result-bottom {
        display: block;
    }

    .fp-smart-search-button {
        width: 100%;
        margin-top: 10px;
    }

    .fp-smart-result-image {
        margin-bottom: 14px;
    }

    .fp-smart-score {
        display: inline-flex;
        margin-top: 8px;
    }
}

/* FairPartz Buyer Dashboard Shortcode */
.fp-buyer-dashboard {
    max-width: 1180px;
    margin: 40px auto;
    font-family: 'Poppins', sans-serif;
    color: #333333;
}

.fp-buyer-dashboard .fp-wizard-header h1,
.fp-buyer-dashboard h2 {
    color: #666666;
}

.fp-buyer-dashboard .fp-card,
.fp-buyer-dashboard .fp-dashboard-card,
.fp-buyer-dashboard .fp-dashboard-stat,
.fp-buyer-dashboard .fp-buyer-item,
.fp-buyer-dashboard .fp-saved-search,
.fp-buyer-dashboard input,
.fp-buyer-dashboard button,
.fp-buyer-dashboard a.fp-dashboard-secondary,
.fp-buyer-dashboard .fp-dashboard-primary {
    border-radius: 12px;
}

.fp-buyer-dashboard .fp-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
}

.fp-buyer-dashboard .fp-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.fp-buyer-dashboard .fp-dashboard-stat,
.fp-buyer-dashboard .fp-dashboard-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 18px;
}

.fp-buyer-dashboard .fp-dashboard-stat strong {
    display: block;
    font-size: 28px;
    color: #333333;
}

.fp-buyer-dashboard .fp-dashboard-stat span {
    color: #666666;
}

.fp-buyer-dashboard .fp-dashboard-main,
.fp-buyer-dashboard .fp-dashboard-side,
.fp-buyer-dashboard .fp-buyer-list,
.fp-buyer-dashboard .fp-saved-searches,
.fp-buyer-dashboard .fp-buyer-search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-buyer-dashboard .fp-buyer-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.fp-buyer-dashboard .fp-buyer-thumb {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}

.fp-buyer-dashboard .fp-buyer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-buyer-dashboard .fp-buyer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.fp-buyer-dashboard .fp-dashboard-primary,
.fp-buyer-dashboard .fp-dashboard-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 600;
}

.fp-buyer-dashboard .fp-dashboard-primary {
    border: 0;
    background: #ff002e;
    color: #fff;
}

.fp-buyer-dashboard .fp-dashboard-secondary {
    border: 1px solid #e5e7eb;
    color: #333333;
    background: #fff;
}

.fp-buyer-dashboard input {
    width: 100%;
    border: 1px solid #e5e7eb;
    padding: 11px 12px;
}

.fp-buyer-dashboard .fp-saved-search {
    padding: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.fp-buyer-dashboard .fp-saved-search-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
}

.fp-buyer-dashboard .fp-saved-search-actions a {
    color: #ff002e;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 900px) {
    .fp-buyer-dashboard .fp-dashboard-layout,
    .fp-buyer-dashboard .fp-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .fp-buyer-dashboard .fp-buyer-item {
        grid-template-columns: 60px 1fr;
    }

    .fp-buyer-dashboard .fp-buyer-item > a {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   FairPartz Buyer Dashboard V8.2
========================================== */

.fp-buyer-dashboard .fp-buyer-stats-pro {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fp-buyer-dashboard .fp-buyer-card h2 {
    margin-top: 0;
}

.fp-buyer-dashboard .fp-buyer-notifications,
.fp-buyer-dashboard .fp-buyer-garage-list,
.fp-buyer-dashboard .fp-buyer-garage-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fp-buyer-dashboard .fp-buyer-notification,
.fp-buyer-dashboard .fp-buyer-garage-item {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.fp-buyer-dashboard .fp-buyer-notification strong,
.fp-buyer-dashboard .fp-buyer-garage-item strong {
    display: block;
    color: #333333;
    margin-bottom: 4px;
}

.fp-buyer-dashboard .fp-buyer-notification span {
    display: block;
    color: #666666;
    font-size: 13px;
}

.fp-buyer-dashboard .fp-buyer-notification a,
.fp-buyer-dashboard .fp-buyer-garage-item a {
    display: inline-block;
    margin-top: 8px;
    color: #ff002e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.fp-buyer-dashboard .fp-buyer-garage-form {
    margin-top: 16px;
}

.fp-buyer-dashboard .fp-buyer-garage-form label,
.fp-buyer-dashboard .fp-buyer-search-form label {
    color: #666666;
    font-weight: 600;
    font-size: 13px;
}

.fp-buyer-dashboard .fp-saved-search > span {
    display: block;
    color: #666666;
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .fp-buyer-dashboard .fp-buyer-stats-pro {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fp-buyer-dashboard .fp-buyer-stats-pro {
        grid-template-columns: 1fr;
    }
}
