: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;
    }
}


/* V10.2 – eingebettete Bewertungen */
.fp-embedded-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 18px;
}
.fp-embedded-section-head h2 { margin: 0 0 5px; }
.fp-embedded-section-head p { margin: 0; color: #666; }
.fp-review-summary { text-align: right; }
.fp-review-summary strong { display: block; font-size: 24px; color: #333; }
.fp-review-summary span { color: #666; font-size: 13px; }
.fp-review-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.fp-review-filters a {
    padding: 8px 12px;
    border: 1px solid var(--fp-border, #e5e7eb);
    border-radius: 12px;
    background: #fff;
    color: #333;
    text-decoration: none;
}
.fp-review-filters a.is-active { border-color: var(--fp-primary, #ff002e); color: var(--fp-primary, #ff002e); }
.fp-review-list { display: grid; gap: 14px; }
.fp-review-item { padding: 16px; border: 1px solid var(--fp-border, #e5e7eb); border-radius: 12px; background: #fff; }
.fp-review-item-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.fp-review-item-head strong, .fp-review-item-head span { display: block; }
.fp-review-item-head span, .fp-review-advert { color: #666; font-size: 13px; margin-top: 3px; }
.fp-review-rating { color: #f0a500; letter-spacing: 1px; white-space: nowrap; }
.fp-review-item p { margin: 12px 0 0; }
.fp-review-response { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f7f7f8; color: #333; }
.fp-embedded-empty { padding: 28px 0; color: #666; }
@media (max-width: 700px) {
    .fp-embedded-section-head, .fp-review-item-head { flex-direction: column; }
    .fp-review-summary { text-align: left; }
}


/* V10.3 – Unified Account */
.fp-embedded-account + .fp-embedded-account { margin-top: 20px; }
.fp-profile-avatar img { border-radius: 50%; display: block; }
.fp-embedded-form { margin-top: 18px; }
.fp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.fp-form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fp-form-grid label { display: flex; flex-direction: column; gap: 7px; color: #333; font-weight: 500; }
.fp-form-grid label > span { color: #666; font-size: 13px; }
.fp-form-grid input, .fp-form-grid textarea { width: 100%; border: 1px solid var(--fp-border, #e5e7eb); border-radius: 12px; padding: 10px 12px; font-family: var(--fp-font, Poppins, sans-serif); color: #333; background: #fff; }
.fp-form-grid input:focus, .fp-form-grid textarea:focus { border-color: var(--fp-primary, #ff002e); box-shadow: 0 0 0 1px var(--fp-primary, #ff002e); outline: none; }
.fp-form-grid .fp-form-wide { grid-column: 1 / -1; }
.fp-form-grid .fp-checkbox-line { flex-direction: row; align-items: center; align-self: end; min-height: 42px; }
.fp-form-grid .fp-checkbox-line input { width: auto; }
.fp-embedded-form .button { border-radius: 12px; box-shadow: none; }
.fp-invoice-list { display: grid; gap: 12px; }
.fp-invoice-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px; border: 1px solid var(--fp-border, #e5e7eb); border-radius: 12px; background: #fff; }
.fp-invoice-item strong, .fp-invoice-item span { display: block; }
.fp-invoice-item span { margin-top: 4px; color: #666; font-size: 13px; }
.fp-invoice-status { color: #666; }
.fp-package-note, .fp-package-checkout-note { padding: 14px 16px; border-radius: 12px; background: #f7f7f8; color: #555; }
.fp-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.fp-package-card { padding: 20px; border: 1px solid var(--fp-border, #e5e7eb); border-radius: 12px; background: #fff; }
.fp-package-card.is-current { border-color: var(--fp-primary, #ff002e); }
.fp-package-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fp-package-card-head h3 { margin: 0; color: #666; }
.fp-package-card-head span { padding: 5px 8px; border-radius: 999px; background: rgba(255,0,46,.08); color: var(--fp-primary, #ff002e); font-size: 12px; }
.fp-package-price { display: block; margin: 14px 0; color: #333; font-size: 19px; }
.fp-package-card ul { margin: 0 0 18px 18px; color: #555; }
.fp-package-card .button { border-radius: 12px; box-shadow: none; }
.fp-package-checkout-note { margin-top: 18px; }
@media (max-width: 1000px) { .fp-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
    .fp-form-grid, .fp-form-grid-three, .fp-package-grid { grid-template-columns: 1fr; }
    .fp-invoice-item { align-items: flex-start; flex-direction: column; }
}


/* Smart Buyer V11.1 */
.fp-smart-buyer-new {
    color: #ff0038;
    font-size: 13px;
    font-weight: 600;
}

.fp-smart-buyer-checked {
    color: #7b8494;
    font-size: 12px;
}

.fp-saved-search {
    position: relative;
}

/* ==========================================
   FairPartz Design System – Ersatzteilsuche
   Version 11.2.0
========================================== */

.fp-smart-search,
.fp-smart-search * {
    box-sizing: border-box;
}

.fp-smart-search {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin: 40px auto;
    color: #333333;
}

.fp-smart-search-card,
.fp-smart-search-input,
.fp-smart-search-button,
.fp-smart-chip,
.fp-smart-result,
.fp-smart-result-image,
.fp-smart-score,
.fp-smart-empty {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.fp-smart-search-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.fp-smart-search-label {
    margin: 0 0 16px;
    color: #333333;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
}

.fp-smart-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.fp-smart-search-input,
.fp-smart-search-button {
    height: 42px;
    min-height: 42px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1;
}

.fp-smart-search-input {
    width: 100%;
    padding: 0 14px;
    border: 1px solid #dfe3e8;
    background: #ffffff;
    color: #333333;
    outline: none;
    appearance: none;
}

.fp-smart-search-input::placeholder {
    color: #8a8f98;
}

.fp-smart-search-input:hover {
    border-color: #cbd1d8;
}

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

.fp-smart-search-button {
    min-width: 112px;
    padding: 0 22px;
    border: 1px solid #ff002e;
    background: #ff002e;
    color: #ffffff !important;
    font-weight: 600;
    cursor: pointer;
}

.fp-smart-search-button:hover,
.fp-smart-search-button:focus {
    border-color: #e00028;
    background: #e00028;
    color: #ffffff !important;
}

.fp-smart-search-hint {
    margin-top: 12px;
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
}

.fp-smart-search-analysis {
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eceff2;
}

.fp-smart-chip {
    padding: 7px 10px;
    border: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #333333;
    font-size: 13px;
}

.fp-smart-chip strong {
    color: #666666;
    font-weight: 500;
}

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

.fp-smart-result {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.fp-smart-result-image {
    min-height: 120px;
    border: 1px solid #eceff2;
    background: #f8f9fa;
}

.fp-smart-result-image img,
.fp-smart-result-placeholder {
    min-height: 120px;
}

.fp-smart-result-title {
    color: #333333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.fp-smart-score {
    padding: 5px 8px;
    border: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #666666;
    font-size: 12px;
    font-weight: 600;
}

.fp-smart-result-meta,
.fp-smart-result p {
    color: #666666;
    font-size: 13px;
    line-height: 1.55;
}

.fp-smart-result-bottom {
    padding-top: 12px;
    border-top: 1px solid #eceff2;
}

.fp-smart-empty {
    padding: 22px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #666666;
}

@media (max-width: 720px) {
    .fp-smart-search {
        width: calc(100% - 24px);
        margin: 24px auto;
    }

    .fp-smart-search-card {
        padding: 18px;
    }

    .fp-smart-search-row {
        grid-template-columns: 1fr;
    }

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

    .fp-smart-result {
        display: block;
        padding: 16px;
    }

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

/* ==========================================
   FairPartz Ersatzteilsuche – Ergebnis-Polish
   Version 11.2.2
========================================== */
.fp-smart-search-row {
    column-gap: 14px;
}

.fp-smart-result {
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 0;
    align-items: stretch;
    padding: 16px;
}

.fp-smart-result-image {
    width: 180px;
    height: 150px;
    min-height: 150px;
    overflow: hidden;
}

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

.fp-smart-result-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.fp-smart-result-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.fp-smart-result-location {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: #777777;
    font-size: 13px;
    white-space: nowrap;
}

.fp-smart-result-location svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

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

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

.fp-smart-result-price {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fp-smart-result-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.fp-smart-action {
    display: inline-flex;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    color: #8a8f98;
    box-shadow: none !important;
    cursor: pointer;
}

.fp-smart-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.fp-smart-action:hover,
.fp-smart-action:focus,
.fp-smart-action.active {
    background: transparent;
    color: #ff002e;
}

.fp-smart-favorite.active svg {
    fill: #ff002e;
}

@media (max-width: 720px) {
    .fp-smart-result-image {
        width: 100%;
        height: 220px;
    }

    .fp-smart-result-info,
    .fp-smart-result-bottom,
    .fp-smart-result-price {
        align-items: flex-start;
        flex-direction: column;
    }

    .fp-smart-result-actions {
        align-self: flex-end;
    }
}


/* Version 11.2.2: native Adifier comparison integration */
.fp-smart-result-actions .fp-smart-compare.compare-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.fp-smart-result-actions .fp-smart-compare.compare-add i {
    font-size: 16px;
    line-height: 1;
}


/* V12 native advert/search alignment */
.fp-smart-search-form,
.fp-smart-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: stretch !important;
}
.fp-smart-search-form input,
.fp-smart-search-row input { position: static !important; width: 100% !important; margin: 0 !important; }
.fp-smart-search-form button,
.fp-smart-search-row button { position: static !important; width: auto !important; margin: 0 !important; transform: none !important; }


/* V12.2.2 – Suchfeld/Button endgültig trennen */
.fp-smart-search .fp-smart-search-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
}
.fp-smart-search .fp-smart-search-field {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
}
.fp-smart-search .fp-smart-search-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    inset: auto !important;
}
.fp-smart-search .fp-smart-search-button {
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    margin: 0 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}
@media (max-width: 640px) {
    .fp-smart-search .fp-smart-search-row {
        flex-direction: column !important;
    }
    .fp-smart-search .fp-smart-search-button {
        width: 100% !important;
        max-width: none !important;
        flex-basis: 42px !important;
    }
}

/* V12.2.3 – definitive smart-search layout, isolated from Adifier/Elementor rules */
html body .fp-smart-search .fp-smart-search-card .fp-smart-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    overflow: visible !important;
}
html body .fp-smart-search .fp-smart-search-card .fp-smart-search-field {
    grid-column: 1 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
}
html body .fp-smart-search .fp-smart-search-card input.fp-smart-search-input {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    float: none !important;
    transform: none !important;
}
html body .fp-smart-search .fp-smart-search-card button.fp-smart-search-button {
    grid-column: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    float: none !important;
    clear: none !important;
    transform: none !important;
}
@media (max-width: 640px) {
    html body .fp-smart-search .fp-smart-search-card .fp-smart-search-row {
        grid-template-columns: minmax(0, 1fr) !important;
        row-gap: 10px !important;
    }
    html body .fp-smart-search .fp-smart-search-card button.fp-smart-search-button {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

/* FairPartz V13 – Smart Buyer */
.fp-smart-buyer-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.fp-smart-buyer-intro h2,
.fp-smart-buyer-grid h2 { font-size: 19px !important; }
.fp-smart-buyer-stats { margin-bottom: 24px; }
.fp-smart-buyer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.fp-smart-buyer-side { display: grid; gap: 24px; }
.fp-smart-buyer-results { display: grid; }
.fp-smart-buyer-result {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
}
.fp-smart-buyer-result:last-child { border-bottom: 0; }
.fp-smart-buyer-thumb {
    width: 92px;
    height: 72px;
    overflow: hidden;
    background: #f5f5f5;
}
.fp-smart-buyer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp-smart-buyer-result h3 { margin: 4px 0; font-size: 16px; }
.fp-smart-buyer-result h3 a { color: inherit; text-decoration: none; }
.fp-smart-buyer-result p { margin: 0; color: #667085; font-size: 13px; }
.fp-smart-buyer-result-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.fp-smart-buyer-result-meta span { color: #d6002f; font-weight: 600; text-transform: uppercase; }
.fp-smart-buyer-result-meta strong { color: #344054; }
.fp-smart-buyer-price { margin-top: 6px; font-weight: 700; color: #111827; }
.fp-smart-buyer-compact-list { display: grid; margin: 12px 0 18px; }
.fp-smart-buyer-compact-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}
.fp-smart-buyer-compact-list > div:last-child { border-bottom: 0; }
.fp-smart-buyer-compact-list span { color: #667085; font-size: 12px; text-align: right; }
@media (max-width: 980px) {
    .fp-smart-buyer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .fp-smart-buyer-intro { align-items: stretch; flex-direction: column; }
    .fp-smart-buyer-result { grid-template-columns: 72px minmax(0, 1fr); }
    .fp-smart-buyer-result > .fp-dashboard-secondary { grid-column: 1 / -1; }
    .fp-smart-buyer-thumb { width: 72px; height: 62px; }
}

/* FairPartz V13.0.1 – Smart Buyer Design System alignment */
.fp-marketplace-content .fp-smart-buyer {
    width: 100%;
    max-width: none;
    margin: 0;
}

.fp-marketplace-content .fp-smart-buyer .fp-card,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-card,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-stat,
.fp-marketplace-content .fp-smart-buyer .fp-empty-state,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-primary,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-secondary {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.fp-marketplace-content .fp-smart-buyer .fp-card,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-card,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-stat {
    border: 1px solid #e3e6ea;
    background: #fff;
}

.fp-marketplace-content .fp-smart-buyer-intro {
    width: 100%;
    min-height: 132px;
    margin: 0 0 14px;
    padding: 22px 24px;
    align-items: center;
}

.fp-marketplace-content .fp-smart-buyer-intro > div {
    min-width: 0;
    max-width: 680px;
}

.fp-marketplace-content .fp-smart-buyer h2,
.fp-marketplace-content .fp-smart-buyer h3 {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.fp-marketplace-content .fp-smart-buyer-intro h2,
.fp-marketplace-content .fp-smart-buyer-grid h2 {
    margin: 0 0 8px !important;
}

.fp-marketplace-content .fp-smart-buyer-intro p,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-card-head p {
    margin: 0;
    color: #606975;
    font-size: 14px;
    line-height: 1.65;
}

.fp-marketplace-content .fp-smart-buyer-intro .fp-dashboard-primary,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-secondary {
    display: inline-flex;
    min-height: 42px;
    height: 42px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.fp-marketplace-content .fp-smart-buyer-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 24px;
}

.fp-marketplace-content .fp-smart-buyer-stats .fp-dashboard-stat {
    min-height: 92px;
    padding: 18px 20px;
}

.fp-marketplace-content .fp-smart-buyer-stats .fp-dashboard-stat strong {
    display: block;
    margin-bottom: 8px;
    color: #161b22;
    font-size: 24px;
    line-height: 1;
}

.fp-marketplace-content .fp-smart-buyer-stats .fp-dashboard-stat span {
    color: #3f4752;
    font-size: 13px;
    font-weight: 600;
}

.fp-marketplace-content .fp-smart-buyer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    width: 100%;
    align-items: start;
}

.fp-marketplace-content .fp-smart-buyer-grid > .fp-dashboard-card,
.fp-marketplace-content .fp-smart-buyer-side > .fp-dashboard-card {
    width: 100%;
    padding: 22px 24px;
}

.fp-marketplace-content .fp-smart-buyer-side {
    display: grid;
    gap: 24px;
    width: 100%;
}

.fp-marketplace-content .fp-smart-buyer .fp-empty-state {
    min-height: 108px;
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #e3e6ea;
    background: #fafbfc;
    color: #5f6873;
}

.fp-marketplace-content .fp-smart-buyer .fp-empty-state p {
    margin: 0;
}

.fp-marketplace-content .fp-smart-buyer-compact-list {
    margin: 14px 0 18px;
}

.fp-marketplace-content .fp-smart-buyer-compact-list > div {
    min-height: 46px;
    padding: 12px 0;
}

.fp-marketplace-content .fp-smart-buyer-result {
    padding: 16px 0;
}

@media (max-width: 1100px) {
    .fp-marketplace-content .fp-smart-buyer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-marketplace-content .fp-smart-buyer-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .fp-marketplace-content .fp-smart-buyer-intro {
        min-height: 0;
        padding: 20px;
        align-items: stretch;
        flex-direction: column;
    }

    .fp-marketplace-content .fp-smart-buyer-intro .fp-dashboard-primary {
        width: 100%;
    }

    .fp-marketplace-content .fp-smart-buyer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-marketplace-content .fp-smart-buyer-side {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* FairPartz V13.1 – Smart Buyer Hub */
.fp-smart-buyer-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #ececec;margin:0 0 24px;gap:0}
.fp-smart-buyer-tab{display:inline-flex;align-items:center;min-height:42px;padding:0 18px;border:1px solid #ececec;border-bottom:0;background:#fff;color:#333;text-decoration:none!important;border-radius:0!important;box-shadow:none!important;margin-right:-1px;font-size:14px;font-weight:600}
.fp-smart-buyer-tab:hover,.fp-smart-buyer-tab.is-active{background:#f7f7f7;color:#e30613}
.fp-smart-buyer-tab.is-active{border-top:2px solid #e30613}
.fp-smart-buyer .fp-buyer-dashboard,.fp-smart-buyer .fp-card{border-radius:0!important;box-shadow:none!important}
@media(max-width:767px){.fp-smart-buyer-tabs{display:grid;grid-template-columns:1fr 1fr}.fp-smart-buyer-tab{margin:0 -1px -1px 0}}


/* FairPartz V13.1.1 – Smart Buyer search list and visual consistency */
.fp-marketplace-content .fp-smart-buyer .fp-smart-buyer-tabs {
    width: 100%;
    margin: 0 0 24px;
}

.fp-marketplace-content .fp-smart-buyer .fp-smart-buyer-tab {
    min-width: 112px;
    justify-content: center;
    color: #252a31;
    background: #fff;
}

.fp-marketplace-content .fp-smart-buyer .fp-smart-buyer-tab.is-active,
.fp-marketplace-content .fp-smart-buyer .fp-smart-buyer-tab:hover {
    color: #ff0037;
    background: #fff;
}

.fp-marketplace-content .fp-smart-buyer-searches-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(520px, 1.35fr);
    gap: 24px;
    width: 100%;
    align-items: start;
}

.fp-marketplace-content .fp-smart-buyer-searches-layout > .fp-card {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid #e3e6ea;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff;
}

.fp-marketplace-content .fp-smart-buyer-searches-layout h2 {
    margin: 0 0 8px !important;
    font-size: 19px !important;
}

.fp-marketplace-content .fp-smart-buyer-searches-layout > .fp-card > p {
    margin: 0 0 22px;
    color: #606975;
    line-height: 1.6;
}

.fp-marketplace-content .fp-buyer-search-form {
    display: grid;
    gap: 10px;
}

.fp-marketplace-content .fp-buyer-search-form label {
    margin-top: 8px;
    font-weight: 600;
}

.fp-marketplace-content .fp-buyer-search-form input,
.fp-marketplace-content .fp-buyer-search-form button {
    width: 100%;
    min-height: 42px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.fp-marketplace-content .fp-buyer-search-form .fp-dashboard-primary {
    margin-top: 18px;
}

.fp-marketplace-content .fp-saved-searches {
    display: block;
    margin: 18px 0 0;
    border-top: 1px solid #e3e6ea;
}

.fp-marketplace-content .fp-saved-search {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) 110px minmax(190px, 0.8fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 74px;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #e3e6ea;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.fp-marketplace-content .fp-saved-search-main,
.fp-marketplace-content .fp-saved-search-status,
.fp-marketplace-content .fp-saved-search-update {
    min-width: 0;
}

.fp-marketplace-content .fp-saved-search-query,
.fp-marketplace-content .fp-saved-search-price,
.fp-marketplace-content .fp-saved-search-status span,
.fp-marketplace-content .fp-saved-search-update span {
    display: block;
}

.fp-marketplace-content .fp-saved-search-query {
    overflow: hidden;
    color: #161b22;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-marketplace-content .fp-saved-search-price,
.fp-marketplace-content .fp-saved-search-status span,
.fp-marketplace-content .fp-saved-search-update span {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
}

.fp-marketplace-content .fp-saved-search-status strong {
    font-size: 18px;
    line-height: 1;
}

.fp-marketplace-content .fp-saved-search-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    white-space: nowrap;
}

.fp-marketplace-content .fp-saved-search-actions a {
    color: #ff0037;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1180px) {
    .fp-marketplace-content .fp-smart-buyer-searches-layout {
        grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    }
    .fp-marketplace-content .fp-saved-search {
        grid-template-columns: minmax(180px, 1fr) 96px minmax(150px, 0.75fr);
    }
    .fp-marketplace-content .fp-saved-search-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .fp-marketplace-content .fp-smart-buyer-searches-layout {
        grid-template-columns: 1fr;
    }
    .fp-marketplace-content .fp-saved-search {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .fp-marketplace-content .fp-saved-search-status,
    .fp-marketplace-content .fp-saved-search-update {
        text-align: right;
    }
    .fp-marketplace-content .fp-saved-search-update {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .fp-marketplace-content .fp-smart-buyer .fp-smart-buyer-tabs {
        grid-template-columns: 1fr 1fr;
    }
    .fp-marketplace-content .fp-smart-buyer-searches-layout > .fp-card {
        padding: 20px;
    }
    .fp-marketplace-content .fp-saved-search {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .fp-marketplace-content .fp-saved-search-status,
    .fp-marketplace-content .fp-saved-search-update {
        text-align: left;
    }
}

/* FairPartz V13.1.2 – Smart Buyer full-width tabs and compact searches */
.fp-marketplace-content .fp-smart-buyer > .fp-dashboard-card,
.fp-marketplace-content .fp-smart-buyer > .fp-card,
.fp-marketplace-content .fp-smart-buyer .fp-marketplace-single-panel {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fp-marketplace-content .fp-smart-buyer > .fp-dashboard-card:not(.fp-smart-buyer-intro) {
    margin-top: 0 !important;
}

.fp-marketplace-content .fp-smart-buyer .fp-marketplace-single-panel,
.fp-marketplace-content .fp-smart-buyer .fp-dashboard-card-head,
.fp-marketplace-content .fp-smart-buyer .fp-empty-state {
    text-align: left !important;
}

.fp-marketplace-content .fp-smart-buyer-searches-layout {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.55fr) !important;
    gap: 24px !important;
}

.fp-marketplace-content .fp-saved-search {
    grid-template-columns: minmax(220px, 1.25fr) 105px minmax(170px, 0.8fr) 68px !important;
    gap: 14px !important;
}

.fp-marketplace-content .fp-saved-search-actions {
    justify-content: flex-end !important;
    min-width: 0;
}

.fp-marketplace-content .fp-saved-search-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .fp-marketplace-content .fp-smart-buyer-searches-layout {
        grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr) !important;
    }
    .fp-marketplace-content .fp-saved-search {
        grid-template-columns: minmax(180px, 1fr) 92px minmax(150px, 0.75fr) 62px !important;
    }
    .fp-marketplace-content .fp-saved-search-actions {
        grid-column: auto !important;
    }
}

@media (max-width: 900px) {
    .fp-marketplace-content .fp-smart-buyer-searches-layout {
        grid-template-columns: 1fr !important;
    }
    .fp-marketplace-content .fp-saved-search {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
    .fp-marketplace-content .fp-saved-search-actions {
        grid-column: 1 / -1 !important;
        justify-content: flex-start !important;
    }
}

/* V13.2 registration and dynamic account */
#register .fp-registration-hidden{display:none!important}
#register .fp-registration-account-type{margin:0 0 24px}
#register .fp-registration-label{font-weight:600;margin-bottom:10px}
#register .fp-registration-types{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#register .fp-registration-types label{display:block;border:1px solid #e1e4e8;padding:14px;cursor:pointer;background:#fff}
#register .fp-registration-types input{position:absolute;opacity:0}
#register .fp-registration-types label:has(input:checked){border-color:#ff0037;box-shadow:inset 3px 0 0 #ff0037}
#register .fp-registration-types strong,#register .fp-registration-types small{display:block}
#register .fp-registration-types small{font-size:12px;color:#707782;margin-top:4px}
.fp-marketplace-logout{margin-top:22px;border-top:1px solid #eceff2;padding-top:18px!important}
.fp-account-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.fp-logout-card .fp-logout-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:700px){#register .fp-registration-types{grid-template-columns:1fr}}


/* FairPartz V13.3.1 – public profile data inside the Adifier sidebar */
.fp-public-business-profile {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.fp-public-business-profile h3 {
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.35;
}
.fp-public-business-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.fp-public-business-profile strong { display:block; margin-bottom:5px; font-size:13px; color:#30343b; }
.fp-public-business-profile p { margin:0; color:#667085; line-height:1.65; overflow-wrap:anywhere; }
.fp-public-business-description { margin-top:20px; padding-top:18px; border-top:1px solid #ececec; }
.fp-public-business-socials { display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-top:18px; }
.fp-public-business-socials a { color:#e30613; text-decoration:none; font-weight:600; }
.fp-public-profile-sidebar-card { box-sizing:border-box; }
.fp-public-profile-sidebar-card > :first-child { margin-top:0!important; }
.fp-public-author-profile .fp-public-business-profile + .fp-public-business-profile { display:none!important; }

/* V13.4 Smart Buyer Matching Engine */
.fp-smart-buyer-source{margin:4px 0 0;font-size:12px;color:#667085}
.fp-smart-buyer-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.fp-smart-buyer-reasons span{display:inline-block;padding:4px 7px;border:1px solid #e3e6ea;background:#fff;font-size:11px;line-height:1.3;color:#4b5563;border-radius:0!important}


/* FairPartz V13.6 – Smart Buyer notifications */
.fp-marketplace-nav-link,
.fp-marketplace-nav a { position: relative; }
.fp-marketplace-nav-label { min-width: 0; }
.fp-marketplace-nav-badge {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fp-primary, #e30613);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    border-radius: 0;
}
.fp-smart-buyer-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--fp-primary, #e30613);
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}
.fp-smart-buyer-notice strong { font-size: 15px; color: #222; }
.fp-smart-buyer-notice span { font-size: 14px; color: #667085; text-align: right; }
@media (max-width: 700px) {
    .fp-smart-buyer-notice { align-items: flex-start; flex-direction: column; gap: 4px; }
    .fp-smart-buyer-notice span { text-align: left; }
}

/* V13.7.1 FairPartz username */
#register .fp-registration-username{margin:0 0 24px}#register .fp-registration-username label,#register .fp-registration-username span,#register .fp-registration-username small{display:block}#register .fp-registration-username input{width:100%;border:1px solid #e1e4e8;border-radius:0;padding:12px;background:#fff}#register .fp-registration-username small{font-size:12px;color:#707782;margin-top:6px}


/* FairPartz V13.7.2 – account identity + compact marketplace header */
.fp-marketplace-shell .fp-marketplace-account-identity {
    display:flex !important;
    align-items:center !important;
    gap:11px !important;
    margin:0 8px 24px !important;
    min-width:0;
    font-size:14px !important;
    font-weight:600 !important;
}
.fp-marketplace-shell .fp-marketplace-account-avatar {
    flex:0 0 42px;
    width:42px;
    height:42px;
    overflow:hidden;
    background:#f3f4f6;
    border:1px solid #e7e9ee;
}
.fp-marketplace-shell .fp-marketplace-account-avatar img {
    display:block;
    width:42px !important;
    height:42px !important;
    object-fit:cover;
    margin:0 !important;
}
.fp-marketplace-shell .fp-marketplace-account-name {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#20232a;
}
.fp-marketplace-shell .fp-dashboard-header-compact {
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    min-height:42px !important;
    margin-bottom:24px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}
.fp-marketplace-shell .fp-dashboard-header-compact .fp-marketplace-header-actions {
    width:100% !important;
    justify-content:flex-end !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-dashboard-header-compact.fp-dashboard-header-locked {
    display:none !important;
}
@media (max-width:760px) {
    .fp-marketplace-shell .fp-marketplace-account-identity { margin-bottom:16px !important; }
    .fp-marketplace-shell .fp-dashboard-header-compact .fp-marketplace-header-actions { justify-content:stretch !important; }
}


/* FairPartz V13.7.3 – marketplace typography + notification badge consistency */
/* Page/card headers: one visual system across all Mein-Marktplatz sections. */
.fp-marketplace-shell .fp-marketplace-content :is(
    .fp-embedded-section-head h1,
    .fp-embedded-section-head h2,
    .fp-embedded-section-head h3,
    .fp-profile-head h1,
    .fp-profile-head h2,
    .fp-smart-buyer-intro h1,
    .fp-smart-buyer-intro h2,
    .fp-dashboard-card-head h1,
    .fp-dashboard-card-head h2,
    .fp-embedded-packages > :first-child h1,
    .fp-embedded-packages > :first-child h2,
    .fp-embedded-packages > :first-child h3
) {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #20232a !important;
    letter-spacing: 0 !important;
}

.fp-marketplace-shell .fp-marketplace-content :is(
    .fp-embedded-section-head > div > p,
    .fp-profile-head > div > p,
    .fp-smart-buyer-intro > div > p,
    .fp-dashboard-card-head > div > p,
    .fp-embedded-packages > :first-child > p
) {
    margin-top: 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #4f5662 !important;
}

/* FairPartz Business Manager may bring its own lighter heading palette. */
.fp-marketplace-shell .fp-embedded-packages :is(h1,h2,h3,h4,h5,h6) {
    color: #20232a !important;
}
.fp-marketplace-shell .fp-embedded-packages :is(p, .description, .subtitle, .subheading) {
    color: #4f5662 !important;
}

/* Smart Buyer count: quiet outlined indicator instead of a solid warning block. */
.fp-marketplace-shell .fp-marketplace-nav-badge {
    flex: 0 0 auto !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid var(--fp-primary, #ff002e) !important;
    color: var(--fp-primary, #ff002e) !important;
    font-size: 12px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* FairPartz V13.7.4 – definitive marketplace typography normalization */
.fp-marketplace-shell,
.fp-marketplace-shell .fp-marketplace-content {
    font-family: 'Poppins', sans-serif !important;
}

/* Only the actual page headers are normalized; internal component headings keep their own hierarchy. */
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-messages > .fp-embedded-messages-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-reviews > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-invoices > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-account > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-packages > .fp-packages-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-marketplace-single-panel > .fp-dashboard-card-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer > .fp-smart-buyer-intro h2 {
    margin: 0 0 6px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #20232a !important;
    letter-spacing: 0 !important;
}

.fp-marketplace-shell .fp-marketplace-content .fp-embedded-messages > .fp-embedded-messages-head p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-reviews > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-invoices > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-account > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-packages > .fp-packages-section-head p,
.fp-marketplace-shell .fp-marketplace-content .fp-marketplace-single-panel > .fp-dashboard-card-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer > .fp-smart-buyer-intro > div > p {
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #4f5662 !important;
    letter-spacing: 0 !important;
}

/* Messages had a separate legacy header class and therefore escaped the earlier normalization. */
.fp-marketplace-shell .fp-embedded-messages-head {
    color: #20232a !important;
}

/* Business Manager content stays readable, while its native heading is suppressed in favor of our unified header. */
.fp-marketplace-shell .fp-embedded-business-manager > .fp-packages-section-head {
    margin-bottom: 18px !important;
}
.fp-marketplace-shell .fp-embedded-business-manager :is(p,li,label,span) {
    font-family: 'Poppins', sans-serif;
}

/* Notification counter: unmistakable but quiet. */
.fp-marketplace-shell .fp-marketplace-nav-badge {
    background: #fff !important;
    border: 1px solid var(--fp-primary, #ff002e) !important;
    color: var(--fp-primary, #ff002e) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* FairPartz V13.7.5 – canonical design tokens + marketplace typography */
.fp-marketplace-shell {
    --fp-primary: #ff002e;
    --fp-text-heading: #333333;
    --fp-text-body: #666666;
    font-family: 'Poppins', sans-serif !important;
}
.fp-marketplace-shell .fp-marketplace-content {
    font-family: 'Poppins', sans-serif !important;
    color: #666666;
}
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-messages > .fp-embedded-messages-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-reviews > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-invoices > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-account > .fp-embedded-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-packages > .fp-packages-section-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-marketplace-single-panel > .fp-dashboard-card-head h2,
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer > .fp-smart-buyer-intro h2 {
    margin: 0 0 6px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #333333 !important;
    letter-spacing: 0 !important;
}
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-messages > .fp-embedded-messages-head p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-reviews > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-invoices > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-account > .fp-embedded-section-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-embedded-packages > .fp-packages-section-head p,
.fp-marketplace-shell .fp-marketplace-content .fp-marketplace-single-panel > .fp-dashboard-card-head > div > p,
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer > .fp-smart-buyer-intro > div > p {
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #666666 !important;
    letter-spacing: 0 !important;
}
.fp-marketplace-shell .fp-embedded-messages-head,
.fp-marketplace-shell .fp-embedded-packages :is(h1,h2,h3,h4,h5,h6),
.fp-marketplace-shell .fp-marketplace-account-name {
    color: #333333 !important;
}
.fp-marketplace-shell .fp-embedded-packages :is(p,.description,.subtitle,.subheading) {
    color: #666666 !important;
}
.fp-marketplace-shell .fp-marketplace-nav-badge {
    background:#fff !important;
    border:1px solid #ff002e !important;
    color:#ff002e !important;
    border-radius:0 !important;
}

/* FairPartz V13.7.7 – hard typography lock for all marketplace headings */
/*
 * Canonical FairPartz typography:
 * headings 19px / 400 / #333333
 * descriptions 12px / 400 / #666666
 * Poppins everywhere.
 *
 * This final rule intentionally sits at the end of core.css so legacy
 * component rules using 500/600 cannot override the marketplace standard.
 */
.fp-marketplace-shell .fp-marketplace-content :is(h1,h2,h3,h4,h5,h6) {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    color: #333333 !important;
    letter-spacing: 0 !important;
}

/* Main section/card headings requested as the common 19px standard. */
.fp-marketplace-shell .fp-marketplace-content :is(
    .fp-marketplace-membership-main h2,
    .fp-dashboard-card > h2,
    .fp-dashboard-card-head h2,
    .fp-embedded-section-head h2,
    .fp-embedded-messages-head h2,
    .fp-packages-section-head h2,
    .fp-profile-head h2,
    .fp-smart-buyer-intro h2,
    .fp-buyer-card > h2
) {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #333333 !important;
}

/* Smart Buyer navigation is typography, not a CTA: keep it regular too. */
.fp-marketplace-shell .fp-smart-buyer-tab {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
}

/* Canonical descriptive copy beneath marketplace headings. */
.fp-marketplace-shell .fp-marketplace-content :is(
    .fp-marketplace-membership-main > p,
    .fp-dashboard-card-head p,
    .fp-embedded-section-head p,
    .fp-embedded-messages-head p,
    .fp-packages-section-head p,
    .fp-profile-head p,
    .fp-smart-buyer-intro p,
    .fp-buyer-card > p
) {
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #666666 !important;
}

/* FairPartz V13.7.8 – final targeted typography cleanup */
.fp-marketplace-shell .fp-dashboard-main .fp-dashboard-card .fp-dashboard-card-head h2,
.fp-marketplace-shell .fp-smart-buyer .fp-dashboard-card .fp-dashboard-card-head h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #333333 !important;
    letter-spacing: 0 !important;
    font-synthesis: none !important;
}


/* V14.0 Smart Buyer: transparent data matching, no fit guarantee */
.fp-smart-buyer-fit-notice {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-left: 1px solid #ff002e;
    background: #fff;
    color: #666666;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}
.fp-smart-buyer-fit-notice strong {
    color: #333333;
    font-weight: 400;
}

/* FairPartz V14.0.2 – compact Smart Buyer header, full-width fit notice */
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-intro {
    min-height: 0 !important;
    padding: 18px 24px !important;
    align-items: stretch !important;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-intro > div {
    width: 100% !important;
    max-width: none !important;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-intro .fp-smart-buyer-fit-notice {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 8px 0 0 !important;
    padding: 6px 10px !important;
    line-height: 1.5 !important;
}

/* Smart Buyer Quickview – v14.1 */
.fp-smart-buyer-thumb.fp-smart-buyer-quickview-open { padding:0; border:0; background:transparent; cursor:pointer; }
.fp-smart-buyer-title-button { padding:0; border:0; background:transparent; color:#333333; font:inherit; text-align:left; cursor:pointer; }
.fp-smart-buyer-quickview[hidden] { display:none !important; }
.fp-smart-buyer-quickview { position:fixed; inset:0; z-index:999999; display:flex; align-items:center; justify-content:center; padding:28px; background:rgba(17,24,39,.52); }
.fp-smart-buyer-quickview-dialog { position:relative; width:min(980px, 94vw); max-height:88vh; overflow:auto; background:#fff; border:1px solid #e3e6ea; box-shadow:0 18px 60px rgba(0,0,0,.18); font-family:Poppins,sans-serif; }
.fp-smart-buyer-quickview-close { position:absolute; z-index:2; top:14px; right:16px; width:38px; height:38px; border:1px solid #e3e6ea; background:#fff; color:#333; font-size:26px; line-height:1; cursor:pointer; }
.fp-smart-buyer-quickview-content { display:grid; grid-template-columns:minmax(280px, 42%) minmax(0, 1fr); gap:28px; padding:34px; }
.fp-smart-buyer-quickview-image img { display:block; width:100%; max-height:430px; object-fit:contain; background:#f7f8fa; }
.fp-smart-buyer-quickview-details h2 { margin:12px 44px 8px 0; color:#333; font-size:19px; font-weight:400; }
.fp-smart-buyer-quickview-details p { color:#666; font-size:12px; font-weight:400; }
.fp-smart-buyer-quickview-price { margin:12px 0; color:#333; font-size:19px; font-weight:400; }
.fp-smart-buyer-quickview-description { margin-top:18px; }
.fp-smart-buyer-quickview-fit { margin:18px 0; padding:10px 12px; border-left:2px solid #ff002e; }
.fp-smart-buyer-quickview-nav { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; padding:16px 34px; border-top:1px solid #e3e6ea; }
.fp-smart-buyer-quickview-nav [data-fp-quickview-next] { justify-self:end; }
.fp-smart-buyer-quickview-nav [data-fp-quickview-counter] { color:#666; font-size:12px; }
.fp-smart-buyer-quickview-nav button:disabled { opacity:.35; cursor:not-allowed; }
body.fp-quickview-open { overflow:hidden; }
@media (max-width:760px) {
  .fp-smart-buyer-quickview { padding:12px; }
  .fp-smart-buyer-quickview-content { grid-template-columns:1fr; padding:24px 20px; }
  .fp-smart-buyer-quickview-nav { grid-template-columns:1fr 1fr; padding:14px 20px; }
  .fp-smart-buyer-quickview-nav [data-fp-quickview-counter] { grid-column:1/-1; grid-row:1; text-align:center; }
}

/* Smart Buyer Quickview direct contact – v14.1.1 */
.fp-smart-buyer-quickview-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
.fp-smart-buyer-quickview-actions .fp-dashboard-primary,
.fp-smart-buyer-quickview-actions .fp-dashboard-secondary{margin:0;text-decoration:none}
@media(max-width:640px){.fp-smart-buyer-quickview-actions{display:grid}.fp-smart-buyer-quickview-actions a{width:100%;text-align:center}}

/* Smart Buyer seen state + inline garage actions – v14.1.5 */
.fp-smart-buyer-result-meta .fp-smart-buyer-seen-badge{color:#666666;font-weight:400;text-transform:none}
.fp-smart-buyer-result-meta .fp-smart-buyer-new-badge{color:#ff002e;font-weight:400;text-transform:uppercase}
.fp-inline-action-form{display:inline;margin:0;padding:0}
.fp-link-button{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#ff002e;padding:0;margin:0;font:inherit;cursor:pointer}
.fp-link-button:hover,.fp-link-button:focus{color:#ff002e;text-decoration:underline}

/* FairPartz V14.1.7 – Compact Smart Buyer Results */
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-results {
    display: block;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result {
    grid-template-columns: 72px minmax(0,1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 12px 8px;
    min-height: 0;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-thumb {
    width: 72px;
    height: 72px;
    align-self: center;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-main {
    min-width: 0;
    align-self: center;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-meta {
    gap: 7px;
    flex-wrap: wrap;
    line-height: 1.35;
    margin: 0 0 2px;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-source {
    margin: 0 0 4px !important;
    line-height: 1.35;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result h3 {
    margin: 2px 0 2px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result p {
    font-size: 12px;
    line-height: 1.4;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons {
    gap: 5px;
    margin: 6px 0 0;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons span {
    padding: 3px 6px;
    font-size: 10px;
    line-height: 1.25;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-price {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    color: #333333;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result > .fp-dashboard-secondary {
    align-self: center;
    min-width: 92px;
    padding: 9px 14px;
    white-space: nowrap;
}
@media (max-width: 760px) {
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result {
        grid-template-columns: 64px minmax(0,1fr);
        gap: 10px;
        padding: 12px 0;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-thumb {
        width: 64px;
        height: 64px;
        align-self: start;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result > .fp-dashboard-secondary {
        grid-column: 2;
        justify-self: start;
        margin-top: 6px;
    }
}


/* FairPartz V14.1.8 – Wide Compact Smart Buyer Results */
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result {
    grid-template-columns: 56px minmax(0,1fr) 88px;
    gap: 10px;
    padding: 9px 8px;
    align-items: center;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-thumb {
    width: 56px;
    height: 56px;
    align-self: center;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-meta {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    min-width: 0;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-source {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    white-space: nowrap;
    text-align: right;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    min-width: 0;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-price {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    white-space: nowrap;
    align-self: center;
    font-size: 14px;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-main > p:not(.fp-smart-buyer-source) {
    grid-column: 1;
    grid-row: 3;
    margin: 0 !important;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons {
    grid-column: 2;
    grid-row: 3;
    justify-content: flex-end;
    margin: 0;
    gap: 4px;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons span {
    padding: 2px 5px;
}
.fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result > .fp-dashboard-secondary {
    min-width: 88px;
    padding: 8px 10px;
}
@media (max-width: 980px) {
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-main {
        grid-template-columns: minmax(0,1fr) auto;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-source,
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons {
        grid-column: 1 / -1;
        text-align: left;
        justify-content: flex-start;
        white-space: normal;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-source { grid-row: 2; }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result h3 { grid-row: 3; }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-price { grid-row: 3; }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result-main > p:not(.fp-smart-buyer-source) { grid-row: 4; }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-reasons { grid-row: 5; }
}
@media (max-width: 760px) {
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result {
        grid-template-columns: 52px minmax(0,1fr);
        padding: 9px 0;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-thumb {
        width: 52px;
        height: 52px;
    }
    .fp-marketplace-shell .fp-marketplace-content .fp-smart-buyer-result > .fp-dashboard-secondary {
        grid-column: 2;
        margin-top: 4px;
    }
}






/* Grid/list advert cards: match Adifier price exactly */
.bottom-advert-meta .price .fp-price-vb,
.advert-price .fp-price-vb,
.price .fp-price-vb {
    display: inline !important;
    margin-left: 4px !important;
    color: #e54b4b !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
}

/* Single advert detail price */
.single-price .price .fp-price-vb {
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    margin-left: 6px !important;
}


/* V15.4.9 – Adifier negotiable display */
.advert-tags > .ribbon.negotiable,
.advert-tags > .ribbon.negotiable.fp-adifier-negotiable-hidden {
    display: none !important;
}

/* Grid/list advert cards: keep the already working display. */
.bottom-advert-meta .price .fp-price-vb,
.advert-price .fp-price-vb,
.price .fp-price-vb {
    display: inline !important;
    margin-left: 4px !important;
    color: #e54b4b !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
}

/* Single advert: append VB without touching Adifier's internal price markup. */
body.single-advert.fp-advert-negotiable .single-price .price::after {
    content: " VB" !important;
    display: inline !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: inherit !important;
    text-decoration: none !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
}


/* =========================================================
   V15.5.0 – FairPartz Adifier detail page
========================================================= */

/* Cleaner, quieter price presentation. */
body.single-advert .single-price-wrap .single-price {
    background: #ffffff !important;
    border: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 78px !important;
    padding: 22px 28px !important;
}
body.single-advert .single-price-wrap .single-price::before,
body.single-advert .single-price-wrap .single-price::after {
    background: none !important;
    background-image: none !important;
}
body.single-advert .single-price .price {
    color: #333333 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
body.single-advert.fp-advert-negotiable .single-price .price::after {
    content: " VB" !important;
    color: #ff002e !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
}

/* Additional listing data from the FairPartz form. */
body.single-advert .fp-advert-specs {
    margin-top: 20px !important;
    padding: 20px 24px !important;
    border: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}
body.single-advert .fp-advert-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}
body.single-advert .fp-advert-spec-row {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 38px;
    border-bottom: 1px solid #eceff2;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #333333;
}
body.single-advert .fp-advert-spec-row strong {
    font-weight: 400 !important;
    color: #333333;
}
body.single-advert .fp-advert-spec-row span {
    color: #666666;
}

/* Location directly below seller info and before More Ads. */
body.single-advert .fp-advert-location-card {
    padding: 18px 20px !important;
    border: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}
body.single-advert .fp-advert-location-card h3 {
    margin: 0 0 10px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #333333 !important;
}
body.single-advert .fp-advert-location-text {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 400;
    color: #555555;
}
body.single-advert .fp-advert-location-map {
    width: 100%;
    height: 170px;
    border: 1px solid #dedede;
    border-radius: 0 !important;
    background: #f5f6f8;
    overflow: hidden;
}

/* Keep sidebar cards compact after reordering. */
body.single-advert .col-sm-4 > .white-block,
body.single-advert .col-sm-4 > .single-price-wrap {
    margin-bottom: 18px !important;
}

@media (max-width: 767px) {
    body.single-advert .fp-advert-specs-grid {
        grid-template-columns: 1fr;
    }
    body.single-advert .fp-advert-spec-row {
        grid-template-columns: 115px minmax(0, 1fr);
    }
}


/* =========================================================
   V15.5.1 – Detailseite Cleanout
   Compact price, equal VB size, borderless FairPartz detail UI
========================================================= */

/* Price box: lower and visually quieter. */
body.single-advert .single-price-wrap .single-price {
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 18px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
}
body.single-advert .single-price .price {
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}
body.single-advert.fp-advert-negotiable .single-price .price::after {
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
    vertical-align: baseline !important;
}

/* Remove FairPartz-added borders on the detail page. */
body.single-advert .fp-advert-specs,
body.single-advert .fp-advert-location-card,
body.single-advert .fp-advert-location-map {
    border: 0 !important;
    box-shadow: none !important;
}

/* Remove Adifier white-block borders in the detail layout as well. */
body.single-advert .white-block,
body.single-advert .single-price-wrap,
body.single-advert .single-price-wrap .white-block,
body.single-advert .col-sm-4 > .white-block,
body.single-advert .col-sm-8 > .white-block {
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep subtle internal separation only through existing row rules. */
body.single-advert .fp-advert-spec-row {
    border-bottom-color: #eceff2 !important;
}


/* =========================================================
   V15.5.2 – Detail sidebar spacing refinement
========================================================= */

/* Price area: remove excessive vertical whitespace. */
body.single-advert .single-price-wrap .single-price {
    padding: 6px 18px !important;
    min-height: 0 !important;
    height: auto !important;
}
body.single-advert .single-price-wrap {
    margin-bottom: 8px !important;
}

/* Tighter vertical rhythm between right sidebar sections. */
body.single-advert .col-sm-4 > .white-block,
body.single-advert .col-sm-4 > .single-price-wrap {
    margin-bottom: 8px !important;
}

/* Keep FairPartz location block aligned with the compact sidebar spacing. */
body.single-advert .fp-advert-location-card {
    margin-bottom: 8px !important;
}


/* =========================================================
   V15.5.3 – Price / owner gap refinement
   Only reduce the space directly below the price block.
========================================================= */

/* Remove the remaining extra gap between price and owner only. */
body.single-advert .single-price-wrap {
    margin-bottom: 2px !important;
}

/* Neutralize any bottom spacing applied by the price block itself. */
body.single-advert .single-price-wrap .single-price {
    margin-bottom: 0 !important;
}


/* V15.5.8 – archive filter cleanup fallback */
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input[name="negotiable-only"]),
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input#negotiable-only),
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input[name="images-only"]),
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input[name="image-only"]),
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input#images-only),
.white-block-content:has(.submit-search-form) .styled-checkbox:has(input#image-only) {
    display: none !important;
}


/* V15.5.11 – card layout selector is not available in FairPartz */
a[href*="layout=card"],
[data-layout="card"] {
    display: none !important;
}


/* V15.5.12 – explicit card view controls */
.ajax-search a[href*="layout=card"],
.ajax-search [data-layout="card"],
.ajax-search .layout-card,
.ajax-search .view-card,
.ajax-search .card-view {
    display: none !important;
}


/* =========================================================
   FairPartz V15.5.14 – kompakte Marketplace-Anzeigenkarten
   Standort | Titel max. 2 Zeilen | Preis + VB einheitlich
========================================================= */

.fp-marketplace-card-v2 .fp-card-location-line {
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #8a8a8a !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.fp-marketplace-card-v2 .fp-card-location-line.is-empty {
    color: #aaaaaa !important;
}

.fp-marketplace-card-v2 .fp-card-title-block,
.fp-marketplace-card-v2 .fp-card-title-link {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.fp-marketplace-card-v2 .fp-card-title-link {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    line-height: 1.35 !important;
}

.fp-marketplace-card-v2 .fp-card-title-block {
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    margin-bottom: 6px !important;
}

.fp-marketplace-card-v2 .fp-card-price,
.fp-marketplace-card-v2 .fp-card-price .fp-price-vb,
.fp-marketplace-card-v2 .fp-card-price-vb {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    vertical-align: baseline !important;
}

.fp-marketplace-card-v2 .fp-card-price .fp-price-vb,
.fp-marketplace-card-v2 .fp-card-price-vb {
    margin-left: 4px !important;
    color: inherit !important;
}


/* FairPartz V15.5.15 – Titeltypografie kompakte Anzeigenkarten */
.fp-marketplace-card-v2 .fp-card-title-link {
    font-size: 12px !important;
    font-weight: 500 !important;
}


/* =========================================================
   FairPartz V15.5.16 – Intelligente Ersatzteilsuche
   Außenabstand oben/unten auf 0px
   ========================================================= */
body.home .elementor-element:has(.fp-smart-search),
body.home .elementor-element:has(.fp-intelligent-search),
body.home .elementor-element:has(.fairpartz-smart-search),
body.home .elementor-element:has(.fairpartz-intelligent-search),
body.home .elementor-element:has([class*="smart-search"]),
body.home .elementor-element:has([class*="intelligent-search"]) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home .fp-smart-search,
body.home .fp-intelligent-search,
body.home .fairpartz-smart-search,
body.home .fairpartz-intelligent-search,
body.home [class*="smart-search"],
body.home [class*="intelligent-search"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   FairPartz V15.5.17 – Intelligente Ersatzteilsuche
   Interne Abstände wieder sauber herstellen
========================================================= */

body.home .fp-smart-search-card {
    padding: 22px 24px !important;
}

body.home .fp-smart-search-label {
    display: block !important;
    margin-bottom: 12px !important;
}

body.home .fp-smart-search-row {
    margin-bottom: 10px !important;
}

body.home .fp-smart-search-hint {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}


/* FairPartz V15.5.18 – Browse Ads Standort + Versand */
.fp-list-location-shipping {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 9px !important;
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.fp-list-location-shipping .fp-list-location,
.fp-list-location-shipping .fp-list-shipping {
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.fp-list-location-shipping .fp-list-meta-separator {
    color: #b0b0b0 !important;
}


/* =========================================================
   FairPartz V15.5.21 – Anbieter kompakt in Meta-Zeile
   Keine zusätzliche Kartenhöhe
========================================================= */

.fp-list-location-shipping {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.fp-list-provider-inline {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.fp-list-provider-inline .fp-provider-link {
    display: inline-block !important;
    min-width: 0 !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #333333 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.fp-list-provider-inline a.fp-provider-link:hover,
.fp-list-provider-inline a.fp-provider-link:focus {
    color: #ff002e !important;
    text-decoration: none !important;
}

.fp-list-provider-inline .fp-business-badge {
    display: inline-flex !important;
    align-items: center !important;
    height: 18px !important;
    padding: 0 5px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #ff002e !important;
    border-radius: 0 !important;
    color: #ff002e !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
}


/* =========================================================
   FairPartz V15.5.23 – Kategorienhierarchie / Radiusfilter
========================================================= */

.fp-category-filter-all {
    display: block !important;
}

.fp-category-filter-item {
    display: block !important;
    margin: 0 0 7px !important;
}

.fp-category-filter-item label {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    margin: 0 !important;
    color: #666666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

.fp-category-filter-item[data-depth="0"] label {
    color: #333333 !important;
}

.fp-category-filter-item[data-depth="1"] label,
.fp-category-filter-item[data-depth="2"] label,
.fp-category-filter-item[data-depth="3"] label {
    color: #666666 !important;
}

/* Adifier radius/distance controls: if present, do not hide them. */
.submit-search-form ~ .form-group.radius,
.white-block-content .form-group[class*="radius"],
.white-block-content .form-group[class*="distance"],
.white-block-content .form-group:has([name*="radius"]),
.white-block-content .form-group:has([name*="distance"]),
.white-block-content .form-group:has([id*="radius"]),
.white-block-content .form-group:has([id*="distance"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}


/* =========================================================
   FairPartz V15.5.24 – Smart Search Isolation
   Browse-Ads enhancements must never alter intelligent-search cards.
========================================================= */

.fp-smart-search-results .fp-list-location-shipping,
[data-fp-smart-search-results] .fp-list-location-shipping,
.fp-smart-search-results .fp-list-provider-inline,
[data-fp-smart-search-results] .fp-list-provider-inline,
.fp-smart-search-results .fp-business-badge,
[data-fp-smart-search-results] .fp-business-badge {
    display: none !important;
}

/* Smart Search retains its own native title/meta positioning. */
.fp-smart-search-results .fp-smart-search-result-title,
[data-fp-smart-search-results] .fp-smart-search-result-title {
    position: static !important;
    margin: initial;
}


/* =========================================================
   FairPartz V15.5.28 – Smart Importer AGB-Wall
========================================================= */

.fp-smart-importer-terms-card {
    padding: 22px !important;
}

.fp-smart-importer-terms-card > h2 {
    margin: 0 0 8px !important;
    font-size: 19px !important;
    font-weight: 400 !important;
}

.fp-smart-importer-intro {
    margin: 0 0 16px !important;
    color: #666666 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

.fp-smart-importer-terms-scroll {
    max-height: 420px !important;
    overflow-y: auto !important;
    padding: 18px !important;
    border: 1px solid #dddddd !important;
    background: #ffffff !important;
    color: #444444 !important;
    scrollbar-gutter: stable !important;
}

.fp-smart-importer-terms-scroll h2 {
    margin: 0 0 12px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-terms-scroll h3 {
    margin: 22px 0 7px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-terms-scroll p,
.fp-smart-importer-terms-scroll li {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.fp-smart-importer-terms-scroll p {
    margin: 0 0 10px !important;
}

.fp-smart-importer-terms-scroll ul {
    margin: 0 0 12px 18px !important;
    padding: 0 !important;
}

.fp-smart-importer-terms-scroll hr {
    margin: 18px 0 !important;
    border: 0 !important;
    border-top: 1px solid #dddddd !important;
}

.fp-smart-importer-terms-form {
    margin-top: 16px !important;
}

.fp-smart-importer-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    margin: 0 0 14px !important;
    color: #444444 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

.fp-smart-importer-consent input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    accent-color: #ff002e !important;
    flex: 0 0 auto !important;
}

.fp-smart-importer-accept {
    min-height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #ff002e !important;
    background: #ff002e !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

.fp-smart-importer-accept:hover,
.fp-smart-importer-accept:focus {
    background: #ff002e !important;
    color: #ffffff !important;
}

.fp-smart-importer-error {
    margin: 0 0 12px !important;
    padding: 10px 12px !important;
    border-left: 2px solid #ff002e !important;
    background: #fff5f7 !important;
    color: #555555 !important;
    font-size: 12px !important;
}


/* =========================================================
   FairPartz V15.5.31 – Smart Importer Browser Downloads
========================================================= */

.fp-smart-importer-content {
    padding: 22px !important;
}

.fp-smart-importer-content > h2 {
    margin: 0 0 12px !important;
    font-size: 19px !important;
    font-weight: 400 !important;
}

.fp-smart-importer-lead {
    max-width: 820px !important;
    margin: 0 0 26px !important;
    color: #555555 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

.fp-smart-importer-step {
    padding-top: 20px !important;
    border-top: 1px solid #e4e4e4 !important;
}

.fp-smart-importer-step h3 {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 0 0 6px !important;
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-step > p {
    margin: 0 0 18px !important;
    color: #777777 !important;
    font-size: 12px !important;
}

.fp-smart-importer-step-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    border: 1px solid #ff002e !important;
    color: #ff002e !important;
    background: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-browsers {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(100px, 1fr)) !important;
    gap: 12px !important;
    max-width: 760px !important;
}

.fp-smart-importer-browser {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 138px !important;
    padding: 14px 10px !important;
    border: 1px solid #e2e2e2 !important;
    background: #ffffff !important;
    color: #333333 !important;
    text-decoration: none !important;
    transition: border-color .15s ease, transform .15s ease !important;
}

.fp-smart-importer-browser:hover,
.fp-smart-importer-browser:focus {
    border-color: #ff002e !important;
    color: #333333 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

.fp-smart-importer-browser-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 9px !important;
}

.fp-smart-importer-browser-icon img {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
}

.fp-smart-importer-browser-name {
    margin-bottom: 2px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-browser-download {
    color: #999999 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
}

@media (max-width: 900px) {
    .fp-smart-importer-browsers {
        grid-template-columns: repeat(3, minmax(100px, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .fp-smart-importer-browsers {
        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    }
}


/* FairPartz V15.5.32 – Smart Importer Schritt 2 */
.fp-smart-importer-step-two {
    margin-top: 26px !important;
}

.fp-smart-importer-step-two > p {
    max-width: 820px !important;
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
}

.fp-smart-importer-browser-icon img {
    width: 52px !important;
    height: 52px !important;
}


/* =========================================================
   FairPartz V15.5.33 – Smart Importer Schritt 3
========================================================= */

.fp-smart-importer-step-three {
    margin-top: 28px !important;
}

.fp-smart-importer-step-copy {
    max-width: 820px !important;
    margin-bottom: 18px !important;
    line-height: 1.65 !important;
}

.fp-smart-importer-install-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 820px !important;
}

.fp-smart-importer-install-item {
    border: 1px solid #e2e2e2 !important;
    background: #ffffff !important;
}

.fp-smart-importer-install-browser {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid #eeeeee !important;
}

.fp-smart-importer-install-browser img {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    object-fit: contain !important;
}

.fp-smart-importer-install-browser > div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 14px !important;
    min-width: 0 !important;
}

.fp-smart-importer-install-browser strong {
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-install-browser code,
.fp-smart-importer-safari-path {
    display: inline-block !important;
    padding: 4px 7px !important;
    background: #f5f5f5 !important;
    color: #555555 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    font-family: monospace !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    user-select: all !important;
}

.fp-smart-importer-install-guide {
    padding: 14px 16px 15px 62px !important;
}

.fp-smart-importer-install-guide ol {
    margin: 0 !important;
    padding-left: 18px !important;
}

.fp-smart-importer-install-guide li,
.fp-smart-importer-install-guide p {
    color: #666666 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.fp-smart-importer-install-guide li {
    margin-bottom: 4px !important;
}

.fp-smart-importer-install-guide li:last-child {
    margin-bottom: 0 !important;
}

.fp-smart-importer-install-guide p {
    margin: 0 !important;
}

.fp-smart-importer-install-guide code {
    padding: 1px 4px !important;
    background: #f5f5f5 !important;
    font-size: 11px !important;
}

.fp-smart-importer-note {
    margin-top: 10px !important;
    padding: 9px 11px !important;
    border-left: 2px solid #ff002e !important;
    background: #fff7f8 !important;
}

@media (max-width: 560px) {
    .fp-smart-importer-install-browser {
        align-items: flex-start !important;
    }

    .fp-smart-importer-install-browser > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .fp-smart-importer-install-guide {
        padding: 13px 14px 14px 34px !important;
    }
}


/* =========================================================
   FairPartz V15.5.35 – Smart Importer Schritt 4
========================================================= */

.fp-smart-importer-step-four {
    margin-top: 28px !important;
}

.fp-smart-importer-connect-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    margin-top: 2px !important;
    background: #ff002e !important;
    border: 1px solid #ff002e !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.fp-smart-importer-connect-button:hover,
.fp-smart-importer-connect-button:focus {
    background: #ffffff !important;
    color: #ff002e !important;
    text-decoration: none !important;
}

.fp-smart-importer-connect-hint {
    max-width: 820px !important;
    margin: 9px 0 0 !important;
    color: #888888 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   FairPartz V15.5.36 – Smart Importer Schritt 5
========================================================= */
.fp-smart-importer-step-five {
    margin-top: 28px !important;
}

.fp-smart-importer-guide-image {
    max-width: 820px !important;
    margin: 16px 0 20px !important;
    padding: 0 !important;
}

.fp-smart-importer-guide-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border: 1px solid #e2e2e2 !important;
}

.fp-smart-importer-options-intro {
    margin-bottom: 14px !important;
}

.fp-smart-importer-import-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    max-width: 820px !important;
}

.fp-smart-importer-import-option {
    padding: 16px !important;
    border: 1px solid #e2e2e2 !important;
    background: #ffffff !important;
}

.fp-smart-importer-import-option h4 {
    margin: 0 0 11px !important;
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.fp-smart-importer-import-option ol {
    margin: 0 !important;
    padding-left: 18px !important;
}

.fp-smart-importer-import-option li {
    margin: 0 0 7px !important;
    color: #666666 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
}

.fp-smart-importer-import-option li:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 760px) {
    .fp-smart-importer-import-options {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   FairPartz V15.5.37 – Smart Importer volle Inhaltsbreite
========================================================= */
.fp-marketplace-content > .fp-smart-importer,
.fp-marketplace-content > .fp-smart-importer > .fp-smart-importer-content {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.fp-smart-importer-lead,
.fp-smart-importer-guide-image,
.fp-smart-importer-import-options {
    max-width: none !important;
}

/* V15.5.48 Registration UI refresh */
#register .fp-registration-username{margin:0 0 26px}
#register .fp-registration-username label,#register .fp-registration-username span,#register .fp-registration-username small{display:block}
#register .fp-registration-username input,
#register .fp-registration-field input{
  display:block!important;width:100%!important;max-width:none!important;height:44px!important;
  margin:0!important;padding:8px 0 10px!important;border:0!important;border-bottom:1px solid #d9dde2!important;
  border-radius:0!important;box-shadow:none!important;background:transparent!important;
  font-family:Poppins,Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:24px!important;color:#3f4650!important;
}
#register .fp-registration-username input:focus,
#register .fp-registration-field input:focus{outline:0!important;border-bottom-color:#ff0037!important;box-shadow:none!important}
#register .fp-registration-username input::placeholder,
#register .fp-registration-field input::placeholder{color:#c4c7cb!important;opacity:1}
#register .fp-registration-username small{font-size:12px;color:#707782;margin-top:9px}
#register .fp-registration-credentials{display:flex!important;flex-wrap:wrap!important;margin-left:0!important;margin-right:0!important}
#register .fp-registration-credentials .fp-registration-field{float:none!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-bottom:25px!important}
#register .fp-registration-field label{display:block!important;width:100%!important}
#register .fp-registration-account-type{margin:0 0 27px}
#register .fp-registration-types label{position:relative;min-height:88px}
#register .fp-registration-types label:has(input:checked){border-color:#ff0037;box-shadow:inset 3px 0 0 #ff0037}
#register .fp-registration-legal{margin:13px auto 18px;max-width:540px;text-align:center;font-size:11px;line-height:1.55;color:#777}
#register .fp-registration-legal a{color:#ff0037!important;text-decoration:underline!important}
@media(max-width:700px){#register .fp-registration-legal{font-size:10px;padding:0 4px}}


/* FairPartz Registration UI v15.5.64 */
#register .modal-content,
#register .modal-content *,
#register form.ajax-form,
#register form.ajax-form * {
    font-weight: 400 !important;
}

#register .modal-header h4,
#register .modal-header .modal-title {
    font-weight: 400 !important;
}

/* Einheitliche Typografie */
#register form.ajax-form label,
#register .fp-registration-username label,
#register .fp-registration-account-type > label,
#register .fp-registration-account-type .fp-account-type-title {
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

#register form.ajax-form input[type="text"],
#register form.ajax-form input[type="email"],
#register form.ajax-form input[type="password"],
#register .fp-registration-username input {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #d8dce2 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Adifier-Passwort-Wrapper ebenfalls auf volle Breite */
#register .password-holder,
#register .password-wrap,
#register .input-group,
#register .form-group,
#register .row,
#register .row > div {
    max-width: none !important;
    box-sizing: border-box !important;
}

#register .password-holder,
#register .password-wrap,
#register .input-group {
    width: 100% !important;
}

#register .password-holder input,
#register .password-wrap input,
#register .input-group input[type="password"] {
    width: 100% !important;
    max-width: none !important;
}

/* Auge rechts im Passwortfeld, ohne die Feldbreite zu verkleinern */
#register .password-holder,
#register .password-wrap {
    position: relative !important;
}

#register .password-holder .toggle-password,
#register .password-wrap .toggle-password,
#register .password-holder i,
#register .password-wrap i {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
}

/* Kontotyp: keine Karten-/Auswahlumrandung, stattdessen kleine runde Auswahl */
#register .fp-registration-account-type {
    margin-top: 22px !important;
    margin-bottom: 24px !important;
}

#register .fp-registration-account-type .fp-account-type-options,
#register .fp-registration-account-type .account-type-options,
#register .fp-registration-account-type .fp-account-types {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
}

#register .fp-registration-account-type label,
#register .fp-registration-account-type .fp-account-type,
#register .fp-registration-account-type .account-type-option {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2px 0 2px 34px !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: inherit !important;
    cursor: pointer !important;
}

/* vorhandene rote Karten-/Selected-Darstellung neutralisieren */
#register .fp-registration-account-type .is-active,
#register .fp-registration-account-type .active,
#register .fp-registration-account-type [aria-checked="true"],
#register .fp-registration-account-type input:checked + label {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* natives Radio optisch als kleiner sauberer Kreis */
#register .fp-registration-account-type input[type="radio"] {
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    border: 1.5px solid #9ca3ad !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

#register .fp-registration-account-type input[type="radio"]:checked {
    border-color: #ff002e !important;
    box-shadow: inset 0 0 0 4px #fff !important;
    background: #ff002e !important;
}

/* Titel und Beschreibung des Kontotyps harmonisieren */
#register .fp-registration-account-type strong,
#register .fp-registration-account-type b,
#register .fp-registration-account-type .title,
#register .fp-registration-account-type .fp-account-type-title {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

#register .fp-registration-account-type small,
#register .fp-registration-account-type p,
#register .fp-registration-account-type .description,
#register .fp-registration-account-type .fp-account-type-description {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

/* Rechtshinweis und Sekundärtexte ebenfalls 400 */
#register .fp-registration-legal,
#register .fp-registration-legal *,
#register .fp-username-hint,
#register .ajax-form-result,
#register .resend-confirmation,
#register .login-register-switch {
    font-weight: 400 !important;
}

/* Button darf visuell kräftig bleiben, aber Textgewicht laut Vorgabe 400 */
#register button[type="submit"],
#register input[type="submit"],
#register .af-button {
    font-weight: 400 !important;
}
/* End FairPartz Registration UI v15.5.64 */


/* FairPartz Registration UI v15.5.64 – final fixes */

/* Passwortbereich wirklich volle Breite */
#register .modal-body > .row,
#register .modal-body > .row > [class*="col-"],
#register .modal-body .form-group,
#register .modal-body .input-group,
#register .modal-body .password-holder,
#register .modal-body .password-wrap,
#register .modal-body .relative-wrap {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
}

#register input[type="password"],
#register input[name="user_password"],
#register input[name="password"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    padding-right: 32px !important;
}

/* Account type: zwei einfache Zeilen mit sichtbarem Radio */
#register .fp-registration-account-type {
    display: block !important;
}

#register .fp-registration-account-type .fp-account-type-options,
#register .fp-registration-account-type .account-type-options,
#register .fp-registration-account-type .fp-account-types {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
}

#register .fp-registration-account-type label.fp-account-option,
#register .fp-registration-account-type label,
#register .fp-registration-account-type .fp-account-type,
#register .fp-registration-account-type .account-type-option {
    position: relative !important;
    display: block !important;
    padding: 0 0 0 28px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: transparent !important;
    min-height: 44px !important;
}

#register .fp-registration-account-type input[type="radio"] {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid #9ca3ad !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
    z-index: 2 !important;
}

#register .fp-registration-account-type input[type="radio"]:checked {
    border-color: #ff002e !important;
    background:
        radial-gradient(circle at center, #ff002e 0 4px, #fff 4.5px 100%) !important;
}

/* Kontotyp-Karten vollständig neutralisieren */
#register .fp-registration-account-type .active,
#register .fp-registration-account-type .is-active,
#register .fp-registration-account-type [aria-checked="true"],
#register .fp-registration-account-type input[type="radio"]:checked + * {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* alles 400 */
#register .modal-content,
#register .modal-content *,
#register .modal-content label,
#register .modal-content strong,
#register .modal-content b,
#register .modal-content button,
#register .modal-content input {
    font-weight: 400 !important;
}

@media (max-width: 600px) {
    #register .fp-registration-account-type .fp-account-type-options,
    #register .fp-registration-account-type .account-type-options,
    #register .fp-registration-account-type .fp-account-types {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}


/* FairPartz Login UI v15.5.64 – match registration typography */
#login .modal-content,
#login .modal-content *,
#login form.ajax-form,
#login form.ajax-form * {
    font-weight: 400 !important;
}

#login .modal-header h4,
#login .modal-header .modal-title,
#login form.ajax-form label {
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

#login form.ajax-form input[type="text"],
#login form.ajax-form input[type="email"],
#login form.ajax-form input[type="password"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #d8dce2 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#login form.ajax-form input[type="text"]:focus,
#login form.ajax-form input[type="email"]:focus,
#login form.ajax-form input[type="password"]:focus {
    outline: none !important;
    border-bottom-color: #ff002e !important;
    box-shadow: none !important;
}

#login form.ajax-form input::placeholder {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #c7cbd1 !important;
}

#login .form-group,
#login .input-group,
#login .password-holder,
#login .password-wrap,
#login .row,
#login .row > div {
    max-width: none !important;
    box-sizing: border-box !important;
}

#login .password-holder,
#login .password-wrap,
#login .input-group {
    width: 100% !important;
}

#login .password-holder input,
#login .password-wrap input,
#login .input-group input[type="password"] {
    width: 100% !important;
    max-width: none !important;
    padding-right: 32px !important;
}

#login .password-holder,
#login .password-wrap {
    position: relative !important;
}

#login .password-holder .toggle-password,
#login .password-wrap .toggle-password,
#login .password-holder i,
#login .password-wrap i {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
}

#login button[type="submit"],
#login input[type="submit"],
#login .af-button,
#login .remember-me,
#login .forgot-password,
#login .register-switch,
#login .ajax-form-result {
    font-weight: 400 !important;
}


/* =========================================================
   FairPartz V15.5.64 – Anzeigenabstände + OEM Browse
   Nur vertikale Kartenabstände; sonst keine Designänderung.
========================================================= */

/* Startseite: maximal 10px Abstand zwischen Anzeigenkarten */
body.home .fp-marketplace-card-v2,
body.home .advert-grid,
body.home .advert-box,
body.home .af-item {
    margin-bottom: 10px !important;
}

/* Browse Ads / Archive Listenansicht: maximal 10px Abstand */
body.page-template-page-tpl_search .ajax-search .advert-list,
body.page-template-page-tpl_search .ajax-search .fp-list-card-enhanced,
body.post-type-archive-advert .ajax-search .advert-list,
body.post-type-archive-advert .ajax-search .fp-list-card-enhanced,
body.tax-advert-category .ajax-search .advert-list,
body.tax-advert-category .ajax-search .fp-list-card-enhanced,
body.tax-advert-location .ajax-search .advert-list,
body.tax-advert-location .ajax-search .fp-list-card-enhanced,
body.page .ajax-search .advert-list,
body.page .ajax-search .fp-list-card-enhanced {
    margin-bottom: 10px !important;
}

/* OEM übernimmt exakt die vorhandene Meta-Typografie. */
.fp-list-location-shipping .fp-list-oem {
    color: #8a8a8a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}


/* =========================================================
   FairPartz V15.5.64 – Author Anzeigenabstand
   Nur vertikaler Abstand zwischen Anzeigen: 10px.
========================================================= */
body.author .advert-list,
body.author .fp-list-card-enhanced,
body.author .ajax-search .advert-list,
body.author .ajax-search .fp-list-card-enhanced {
    margin-bottom: 10px !important;
}


/* =========================================================
   FairPartz V15.5.64 – Profilmedien
========================================================= */
.fp-profile-media-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.fp-profile-media-card{
    min-width:0;
    padding:18px;
    border:1px solid var(--fp-border,#e5e7eb);
    background:#fff;
    box-sizing:border-box;
}
.fp-profile-media-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
}
.fp-profile-media-head strong{
    display:block;
    margin:0 0 4px;
    color:#30343b;
    font-size:14px;
    font-weight:600;
}
.fp-profile-media-head p,
.fp-profile-media-help{
    margin:0;
    color:#667085;
    font-size:12px;
    line-height:1.55;
}
.fp-profile-media-avatar-preview img{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
    display:block;
}
.fp-profile-header-preview{
    margin:0 0 14px;
    width:100%;
    overflow:hidden;
    background:#f5f6f7;
}
.fp-profile-header-preview img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
}
.fp-profile-file-field{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    margin:0 0 8px!important;
}
.fp-profile-file-field > span{
    color:#666;
    font-size:13px;
}
.fp-profile-file-field input[type="file"]{
    width:100%;
    box-sizing:border-box;
    padding:9px 10px;
    border:1px solid var(--fp-border,#e5e7eb);
    background:#fff;
}
.fp-profile-media-remove{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    margin-top:12px!important;
    color:#555!important;
    font-size:12px!important;
}
.fp-profile-media-remove input{
    width:auto!important;
    margin:0!important;
}
.fp-public-business-header{
    width:100%;
    max-width:1170px;
    margin:0 auto 20px;
    overflow:hidden;
    box-sizing:border-box;
}
.fp-public-business-header img{
    display:block;
    width:100%;
    max-width:1170px;
    height:auto;
    margin:0 auto;
    object-fit:cover;
}
.fp-public-author-profile .avatar{
    object-fit:cover;
}
@media(max-width:700px){
    .fp-profile-media-grid{grid-template-columns:1fr}
    .fp-public-business-header{margin-bottom:14px}
}


/* =========================================================
   FairPartz V15.5.64 – Gewerbe-Profilheader kompakter
   Nur Darstellung: 1170px Maximalbreite bleibt unverändert.
========================================================= */
.fp-public-business-header {
    height: 150px;
}

.fp-public-business-header img {
    width: 100%;
    height: 100%;
    max-width: 1170px;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   FairPartz V15.5.64 – Author-Seite nach Bildvorschlag 2
   Nur öffentliche Author-Seiten.
========================================================= */

body.author .fp-public-business-header{
    width:100%;
    max-width:1170px;
    height:150px;
    margin:0 auto 0 !important;
    overflow:hidden;
    box-sizing:border-box;
    background:#f5f5f5;
}

body.author .fp-public-business-header img{
    display:block;
    width:100%;
    height:100%;
    max-width:1170px;
    object-fit:cover;
    object-position:center;
}

/* Hauptbereich direkt unter den Header ziehen */
body.author .author-page,
body.author .author-wrapper,
body.author .author-content,
body.author .author-main,
body.author .author-listing-wrap,
body.author .ajax-search{
    margin-top:0 !important;
}

/* Bestehenden 1170px Content-Rahmen sichern */
body.author main > .container,
body.author .main-content > .container,
body.author .container{
    max-width:1170px;
}

/* Profil-/Anzeigenbereich kompakter und bündiger */
body.author .fp-author-layout-enhanced{
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    gap:24px;
    align-items:start;
    width:100%;
    max-width:1170px;
    margin:0 auto;
}

/* Linke Profilkarte */
body.author .fp-author-layout-enhanced .fp-author-profile-column{
    min-width:0;
}

body.author .fp-author-layout-enhanced .fp-author-profile-card{
    background:#fff;
    padding:24px;
    box-sizing:border-box;
}

/* Rechte Spalte */
body.author .fp-author-layout-enhanced .fp-author-listings-column{
    min-width:0;
}

/* Kopfzeile "Alle Anzeigen von..." näher an die Listings */
body.author .fp-author-layout-enhanced .fp-author-listings-header{
    margin:0 0 10px !important;
}

/* Anzeigenabstand 10px */
body.author .fp-author-layout-enhanced .advert-list,
body.author .fp-author-layout-enhanced .fp-list-card-enhanced,
body.author .fp-author-layout-enhanced .ajax-search .advert-list,
body.author .fp-author-layout-enhanced .ajax-search .fp-list-card-enhanced{
    margin-bottom:10px !important;
}

/* Banner und darunterliegender Inhalt sollen optisch direkt zusammengehören */
body.author .fp-public-business-header + .fp-author-layout-enhanced{
    margin-top:0 !important;
}

/* Mobile */
@media (max-width: 900px){
    body.author .fp-author-layout-enhanced{
        grid-template-columns:1fr;
        gap:12px;
    }

    body.author .fp-public-business-header{
        height:120px;
    }
}

@media (max-width: 600px){
    body.author .fp-public-business-header{
        height:100px;
    }
}


/* =========================================================
   FairPartz V15.5.64 – Author Layout Proposal 2, corrected
   Existing profile data is rearranged; no fabricated data.
========================================================= */

body.author .fp-public-business-header{
    width:100%;
    max-width:1170px;
    height:150px;
    margin:0 auto !important;
    overflow:hidden;
    box-sizing:border-box;
}
body.author .fp-public-business-header img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

/* New full-width identity strip directly under business banner */
body.author .fp-author-profile-hero{
    width:100%;
    max-width:1170px;
    margin:0 auto 14px;
    padding:18px 26px;
    background:#fff;
    box-sizing:border-box;
}
body.author .fp-author-profile-hero .fp-author-profile-card{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    max-width:none !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
}
body.author .fp-author-profile-hero .fp-author-profile-card > *{
    min-width:0;
}
body.author .fp-author-profile-hero .avatar,
body.author .fp-author-profile-hero img.avatar{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    object-fit:cover !important;
    border-radius:50% !important;
    margin-right:22px !important;
}

/* Undo narrow legacy card widths after moving it into the hero */
body.author .fp-author-profile-hero .author-info,
body.author .fp-author-profile-hero .author-box,
body.author .fp-author-profile-hero .white-block{
    width:100% !important;
    max-width:none !important;
}

/* Main area under hero: company/about left, listings right */
body.author .fp-author-layout-enhanced{
    display:grid !important;
    grid-template-columns:300px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    width:100% !important;
    max-width:1170px !important;
    margin:0 auto !important;
}

body.author .fp-author-profile-column{
    min-width:0 !important;
}
body.author .fp-author-profile-column:empty{
    display:none !important;
}
body.author .fp-author-listings-column{
    min-width:0 !important;
}

/* Existing company info becomes the left "Über uns" card */
body.author .fp-author-profile-column .fp-public-business-profile{
    width:100% !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

/* Listings header and cards compact */
body.author .fp-author-listings-header{
    margin:0 0 10px !important;
}
body.author .fp-author-layout-enhanced .advert-list,
body.author .fp-author-layout-enhanced .fp-list-card-enhanced{
    margin-bottom:10px !important;
}

/* Remove legacy spacing that created the large visual break */
body.author .fp-public-business-header + *,
body.author .fp-author-profile-hero + *,
body.author .fp-author-layout-enhanced{
    margin-top:0 !important;
}

/* Mobile */
@media (max-width:900px){
    body.author .fp-author-profile-hero{
        padding:16px;
        margin-bottom:10px;
    }
    body.author .fp-author-profile-hero .avatar,
    body.author .fp-author-profile-hero img.avatar{
        width:72px !important;
        height:72px !important;
        min-width:72px !important;
        margin-right:16px !important;
    }
    body.author .fp-author-layout-enhanced{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }
}
@media (max-width:600px){
    body.author .fp-public-business-header{
        height:100px;
    }
}


/* =========================================================
   FairPartz V15.5.64 – Author Layout, exact Adifier DOM
========================================================= */

/* Content width stays exactly within FairPartz 1170px */
body.author main.author-visited > .container{
    width:100% !important;
    max-width:1170px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

/* Business banner */
body.author main.author-visited > .container > .fp-public-business-header{
    width:100% !important;
    max-width:1170px !important;
    height:150px !important;
    margin:0 !important;
}
body.author main.author-visited > .container > .fp-public-business-header img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
}

/* Existing Adifier profile card becomes the full-width profile strip */
body.author .fp-author-profile-hero-exact{
    width:100% !important;
    max-width:none !important;
    margin:0 0 14px !important;
    padding:0 !important;
    float:none !important;
    box-sizing:border-box !important;
    background:#fff !important;
}
body.author .fp-author-profile-hero-exact > .white-block-content,
body.author .fp-author-profile-hero-content-exact{
    width:100% !important;
    min-height:120px !important;
    padding:20px 30px !important;
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    column-gap:30px !important;
    row-gap:8px !important;
}

/*
 * Preserve Adifier's own avatar/name/rating/status markup.
 * The last direct section (normally Joined) moves to the right.
 */
body.author .fp-author-profile-hero-content-exact > *{
    min-width:0 !important;
}
body.author .fp-author-profile-hero-content-exact > *:last-child{
    justify-self:end !important;
    text-align:center !important;
}
body.author .fp-author-profile-hero-exact img.avatar,
body.author .fp-author-profile-hero-exact .avatar img,
body.author .fp-author-profile-hero-exact .avatar{
    width:86px !important;
    height:86px !important;
    object-fit:cover !important;
    border-radius:50% !important;
}

/* Exact Adifier row below the profile strip */
body.author .fp-author-main-row-exact{
    width:100% !important;
    margin:0 !important;
    display:grid !important;
    grid-template-columns:300px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
}
body.author .fp-author-main-row-exact > .col-sm-4,
body.author .fp-author-main-row-exact > .col-sm-8{
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    float:none !important;
    padding:0 !important;
    margin:0 !important;
}

/* Company/about card left */
body.author .fp-author-company-column-exact .fp-author-business-card-exact{
    width:100% !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

/* Listings right */
body.author .fp-author-listings-column-exact .fp-author-listing-header-exact{
    margin:0 0 10px !important;
}
body.author .fp-author-listings-column-exact .fp-author-listing-list-exact{
    margin:0 !important;
    width:100% !important;
}
body.author .fp-author-listings-column-exact .af-item-wrap{
    margin-bottom:10px !important;
}

/* Kill only the old margin that made list cards look separated vertically */
body.author .fp-author-listings-column-exact [class*="af-items-"] > .af-item-wrap{
    margin-bottom:10px !important;
}

/* Responsive */
@media(max-width:900px){
    body.author .fp-author-profile-hero-exact > .white-block-content,
    body.author .fp-author-profile-hero-content-exact{
        padding:18px !important;
        grid-template-columns:1fr !important;
    }
    body.author .fp-author-profile-hero-content-exact > *:last-child{
        justify-self:start !important;
        text-align:left !important;
    }
    body.author .fp-author-main-row-exact{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }
}
@media(max-width:600px){
    body.author main.author-visited > .container > .fp-public-business-header{
        height:100px !important;
    }
}


/* =========================================================
   FairPartz V15.5.64 – Author Header Feinabstimmung
   Nur Header-/Profilbereich.
========================================================= */

/* 1) Abstand Navigation -> Headerbild exakt 15px */
body.author main.author-visited{
    padding-top:15px !important;
    margin-top:0 !important;
}

body.author main.author-visited > .container{
    margin-top:0 !important;
}

/* 2) Profilbereich optisch in den Seitenhintergrund integrieren */
body.author .fp-author-profile-hero-exact,
body.author .fp-author-profile-hero-exact > .white-block-content,
body.author .fp-author-profile-hero-content-exact{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
}

/* 3) Nur das Profilbild ca. 30% in den Header ziehen */
body.author .fp-author-profile-hero-exact img.avatar,
body.author .fp-author-profile-hero-exact .avatar img,
body.author .fp-author-profile-hero-exact .avatar{
    position:relative !important;
    top:-26px !important;
    z-index:3 !important;
}

/* Keine zusätzliche weiße Fläche direkt unter dem Header */
body.author .fp-author-profile-hero-exact{
    margin-top:0 !important;
    margin-bottom:14px !important;
}

/* Mobile: Überlappung proportional kleiner */
@media(max-width:600px){
    body.author main.author-visited{
        padding-top:15px !important;
    }

    body.author .fp-author-profile-hero-exact img.avatar,
    body.author .fp-author-profile-hero-exact .avatar img,
    body.author .fp-author-profile-hero-exact .avatar{
        top:-20px !important;
    }
}


/* =========================================================
   FairPartz V15.5.64 – Author Profilbild Fix
   Ausschließlich Profilbild: rund, 10px weißer Rahmen,
   ca. 30% Überlappung in den Business-Header.
========================================================= */

/*
 * Adifier kann das Profilbild als img, als img.avatar oder innerhalb
 * eines Avatar-Wrappers ausgeben. Deshalb werden Bild UND Wrapper
 * dimensionsstabil gehalten. aspect-ratio verhindert die Ei-Form.
 */
body.author .fp-author-profile-hero-exact img.avatar,
body.author .fp-author-profile-hero-exact .avatar > img,
body.author .fp-author-profile-hero-exact .author-avatar img,
body.author .fp-author-profile-hero-exact img[class*="avatar"]{
    display:block !important;
    width:100px !important;
    height:100px !important;
    min-width:100px !important;
    max-width:100px !important;
    min-height:100px !important;
    max-height:100px !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    border-radius:50% !important;
    box-sizing:border-box !important;
    border:10px solid #fff !important;
    position:relative !important;
    top:-30px !important;
    z-index:20 !important;
    margin-bottom:-30px !important;
}

/* Falls .avatar selbst der sichtbare Bildcontainer ist */
body.author .fp-author-profile-hero-exact .avatar:not(img){
    width:100px !important;
    height:100px !important;
    min-width:100px !important;
    min-height:100px !important;
    max-width:100px !important;
    max-height:100px !important;
    aspect-ratio:1 / 1 !important;
    border-radius:50% !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    position:relative !important;
    top:-30px !important;
    z-index:20 !important;
    margin-bottom:-30px !important;
}

/* Bei Wrapper-Ausgabe Rahmen nur am Wrapper, damit keine 20px entstehen */
body.author .fp-author-profile-hero-exact .avatar:not(img) > img{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
    border-radius:50% !important;
    border:10px solid #fff !important;
    box-sizing:border-box !important;
    top:0 !important;
    margin:0 !important;
}

/* Mobile behält dieselbe Kreisform, nur etwas kleiner */
@media(max-width:600px){
    body.author .fp-author-profile-hero-exact img.avatar,
    body.author .fp-author-profile-hero-exact .avatar > img,
    body.author .fp-author-profile-hero-exact .author-avatar img,
    body.author .fp-author-profile-hero-exact img[class*="avatar"]{
        width:90px !important;
        height:90px !important;
        min-width:90px !important;
        max-width:90px !important;
        min-height:90px !important;
        max-height:90px !important;
        top:-27px !important;
        margin-bottom:-27px !important;
    }

    body.author .fp-author-profile-hero-exact .avatar:not(img){
        width:90px !important;
        height:90px !important;
        min-width:90px !important;
        min-height:90px !important;
        max-width:90px !important;
        max-height:90px !important;
        top:-27px !important;
        margin-bottom:-27px !important;
    }
}

/* =========================================================
   FairPartz V15.5.64 – Author Avatar: exact Adifier selector
   Target DOM: a.avatar-wrap > img.avatar.avatar-70.photo
========================================================= */
body.author .fp-author-profile-hero-exact a.avatar-wrap {
    position: relative !important;
    top: -30px !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    flex: 0 0 100px !important;
    margin-bottom: -30px !important;
    overflow: visible !important;
    z-index: 30 !important;
}

body.author .fp-author-profile-hero-exact a.avatar-wrap > img.avatar.avatar-70.photo,
body.author .fp-author-profile-hero-exact a.avatar-wrap > img.avatar {
    display: block !important;
    position: static !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 10px solid #fff !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    top: auto !important;
    transform: none !important;
    background: #fff !important;
}

@media (max-width: 600px) {
    body.author .fp-author-profile-hero-exact a.avatar-wrap {
        top: -27px !important;
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        flex-basis: 90px !important;
        margin-bottom: -27px !important;
    }
    body.author .fp-author-profile-hero-exact a.avatar-wrap > img.avatar.avatar-70.photo,
    body.author .fp-author-profile-hero-exact a.avatar-wrap > img.avatar {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        min-height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
    }
}


/* =========================================================
   FairPartz V15.5.64 – Author Avatar 20px weiter nach oben
   Nur Positionskorrektur des bestehenden Profilbilds.
========================================================= */
body.author .fp-author-profile-hero-exact a.avatar-wrap,
body.author .fp-author-profile-hero-exact a.avatar-wrap > img.avatar.avatar-70.photo {
    transform: translateY(-20px) !important;
}


/* =========================================================
   FairPartz V15.5.64 – Author Content Layout
   Firmendaten links, Anzeigen rechts.
========================================================= */

body.author .fp-author-content-layout-v15564{
    display:grid !important;
    grid-template-columns:300px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    width:100% !important;
    max-width:1170px !important;
    margin:0 auto !important;
    padding:0 !important;
    box-sizing:border-box !important;
}

body.author .fp-author-info-column-v15564,
body.author .fp-author-ads-column-v15564{
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
}

body.author .fp-author-info-card-v15564{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

/* Anzeigenkopf nimmt die komplette rechte Spalte ein */
body.author .fp-author-ads-header-v15564{
    width:100% !important;
    max-width:none !important;
    margin:0 0 10px !important;
    box-sizing:border-box !important;
}

/* Anzeigenliste ebenfalls volle rechte Breite */
body.author .fp-author-ads-list-v15564{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
    box-sizing:border-box !important;
}

body.author .fp-author-ads-list-v15564 .af-item-wrap,
body.author .fp-author-ads-list-v15564[class*="af-items-"] .af-item-wrap{
    width:100% !important;
    max-width:none !important;
    margin:0 0 10px !important;
    float:none !important;
    box-sizing:border-box !important;
}

/* Adifier-spezifischen 30px-Rechtsabstand in dieser Author-Liste aufheben */
body.author .fp-author-ads-list-v15564 .af-item-wrap{
    margin-right:0 !important;
}

/* Keine Änderung an Header oder Profilzeile */
@media(max-width:900px){
    body.author .fp-author-content-layout-v15564{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }
}
\n\n/* =========================================================\n   FairPartz V15.5.104 – Author Bewertungen unter Firmendaten\n========================================================= */\nbody.author .fp-author-info-column-v15564 .fp-author-reviews-left-v15565{\n    width:100% !important;\n    max-width:300px !important;\n    margin:10px 0 0 !important;\n    padding:0 !important;\n    float:none !important;\n    box-sizing:border-box !important;\n}\n\n/* Adifier stellt Empfehlungen normalerweise zweispaltig dar.\n   In der linken 300px-Spalte werden sie sauber untereinander dargestellt. */\nbody.author .fp-author-reviews-left-v15565 .row{\n    margin-left:0 !important;\n    margin-right:0 !important;\n}\nbody.author .fp-author-reviews-left-v15565 [class*=\"col-\"]{\n    width:100% !important;\n    max-width:100% !important;\n    float:none !important;\n    padding-left:0 !important;\n    padding-right:0 !important;\n}\nbody.author .fp-author-reviews-left-v15565 .white-block{\n    width:100% !important;\n    max-width:100% !important;\n    margin-left:0 !important;\n    margin-right:0 !important;\n    box-sizing:border-box !important;\n}\n\n@media(max-width:900px){\n    body.author .fp-author-info-column-v15564 .fp-author-reviews-left-v15565{\n        max-width:none !important;\n    }\n}\n

/* =========================================================
   FairPartz V15.5.104 – Author headings weight 400
   Nur Schriftstärke; keine Größen/Abstände/Layoutänderungen.
========================================================= */
body.author h1,
body.author h2,
body.author h3,
body.author h4,
body.author h5,
body.author h6,
body.author .white-block-title,
body.author .seller-name,
body.author .fp-public-profile-sidebar-card,
body.author .author-listing .white-block-content,
body.author .fp-author-ads-header-v15564 {
    font-weight: 400 !important;
}

body.author h1 *,
body.author h2 *,
body.author h3 *,
body.author h4 *,
body.author h5 *,
body.author h6 *,
body.author .white-block-title *,
body.author .seller-name *,
body.author .fp-public-profile-sidebar-card *,
body.author .author-listing .white-block-content * {
    font-weight: 400 !important;
}


/* =========================================================
   FairPartz V15.5.104 – Single Advert
   1) Überschriften 400
   2) Weitere Anbieter-Anzeigen links
   3) Zuletzt angesehen rechts
========================================================= */

/* Nur Schriftstärke der Überschriften ändern. */
body.single-advert h1,
body.single-advert h2,
body.single-advert h3,
body.single-advert h4,
body.single-advert h5,
body.single-advert h6,
body.single-advert h1 *,
body.single-advert h2 *,
body.single-advert h3 *,
body.single-advert h4 *,
body.single-advert h5 *,
body.single-advert h6 *{
    font-weight:400 !important;
}

/* Existing Adifier block after the primary advert/details column. */
body.single-advert .fp-single-provider-more-ads{
    width:100% !important;
    max-width:none !important;
    margin-top:10px !important;
    box-sizing:border-box !important;
}

/* Recent ads sidebar. */
body.single-advert .fp-single-recent-ads{
    width:100% !important;
    margin-top:10px !important;
    box-sizing:border-box !important;
}

body.single-advert .fp-single-recent-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

body.single-advert .fp-single-recent-item{
    display:grid;
    grid-template-columns:74px minmax(0,1fr);
    gap:10px;
    align-items:center;
    color:inherit;
    text-decoration:none;
}

body.single-advert .fp-single-recent-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    width:74px;
    height:58px;
    overflow:hidden;
    background:#f3f4f5;
    color:#9aa0a6;
    font-size:11px;
}

body.single-advert .fp-single-recent-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

body.single-advert .fp-single-recent-body{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:4px;
}

body.single-advert .fp-single-recent-title{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    color:#30343b;
    font-size:12px;
    line-height:1.4;
    font-weight:400;
}

body.single-advert .fp-single-recent-price{
    color:#30343b;
    font-size:13px;
    line-height:1.3;
    font-weight:400;
}

body.single-advert .fp-single-recent-empty{
    margin:0;
    color:#777;
    font-size:12px;
    line-height:1.5;
}


/* =========================================================
   FairPartz V15.5.104 – Zuletzt angesehen Header spacing
   Uses Adifier's native white-block-title/content structure.
========================================================= */
body.single-advert .fp-single-recent-ads > .white-block-title h5{
    font-weight:400 !important;
}

/*
 * Do not override padding/margins here:
 * white-block-title and white-block-content intentionally inherit
 * exactly the same spacing rules as Adifier's "Anzeigenaktionen".
 */


/* =========================================================
   FairPartz V15.5.104 – Globaler Adifier Content-Abstand
   Einheitlich 15px zwischen Navigation/Header und Content.
========================================================= */

/*
 * Global nur im öffentlichen Frontend.
 * WordPress-Backend, Admin-Bar und modale Adifier-Elemente bleiben unberührt.
 */
body:not(.wp-admin) main,
body:not(.wp-admin) .main-content {
    margin-top: 0 !important;
}

/*
 * Die normalen Adifier-Seiten beginnen über <main> bzw. .main-content.
 * 15px Padding sorgt für einen einheitlichen Abstand unter der Navigation,
 * ohne den inneren Abstand der jeweiligen Content-Container zu verändern.
 */
body:not(.wp-admin) main {
    padding-top: 15px !important;
}

/* Kein doppelter Abstand auf verschachtelten Main-Containern. */
body:not(.wp-admin) main main {
    padding-top: 0 !important;
}

/*
 * FairPartz-Sonderbereiche besitzen teilweise eigene äußere Wrapper.
 * Diese bekommen keinen zusätzlichen oberen Margin mehr; der Abstand
 * wird ausschließlich global über <main> gesteuert.
 */
body:not(.wp-admin) .fp-marketplace-frontend-stage,
body:not(.wp-admin) .fp-dashboard-wrap,
body:not(.wp-admin) .fp-admin-page,
body:not(.wp-admin) .fp-public-business-header {
    margin-top: 0 !important;
}


/* =========================================================
   FairPartz V15.5.104 – Globaler Baustein-Abstand
   Designstandard:
   Navigation -> Content: 15px
   Content-Baustein -> Content-Baustein: 10px
========================================================= */

/*
 * Nur eigenständige Adifier/FairPartz-Contentblöcke werden vereinheitlicht.
 * Keine pauschalen Margins auf Inputs, Icons, Tabellen, Texte oder
 * innere Kartenelemente.
 */
body:not(.wp-admin) main .white-block {
    margin-bottom: 10px !important;
}

/* Direkt aufeinanderfolgende Hauptblöcke: exakt 10px. */
body:not(.wp-admin) main .white-block + .white-block {
    margin-top: 10px !important;
}

/*
 * Adifier-Listen und FairPartz-Bausteine, die nicht als .white-block
 * ausgegeben werden.
 */
body:not(.wp-admin) main .af-item-wrap + .af-item-wrap,
body:not(.wp-admin) main .fp-content-block + .fp-content-block,
body:not(.wp-admin) main .fp-single-recent-ads,
body:not(.wp-admin) main .fp-single-seller-ads {
    margin-top: 10px !important;
}

/*
 * Zeilen-/Spaltencontainer selbst erzeugen keinen zusätzlichen
 * vertikalen Außenabstand. So addieren sich Bootstrap/Adifier-Abstände
 * nicht mit unserem 10px-Designstandard.
 */
body:not(.wp-admin) main .row.fp-block-row {
    margin-bottom: 10px !important;
}

/* Letzten Block eines Bereichs nicht künstlich verlängern. */
body:not(.wp-admin) main .white-block:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FairPartz V15.5.104 – Featured Ribbon ausblenden
   Nur sichtbare TOP-ANZEIGE/Featured-Lasche entfernen.
   Promotion-/Featured-Logik bleibt vollständig erhalten.
========================================================= */
body:not(.wp-admin) .advert-tags .ribbon.featured {
    display: none !important;
}


/* =========================================================
   FairPartz V15.5.104 – Mobile Smart Search im Marketplace
   Nur innerhalb "Mein Marktplatz" auf Mobilgeräten.
   Verhindert doppelte seitliche Einrückung.
========================================================= */
@media (max-width: 720px) {
    body.fairpartz-marketplace-frontend
    .fp-marketplace-content
    .fp-smart-search {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.fairpartz-marketplace-frontend
    .fp-marketplace-content
    .fp-smart-search-card,
    body.fairpartz-marketplace-frontend
    .fp-marketplace-content
    .fp-smart-search-results {
        width: 100% !important;
        max-width: none !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Mobile Ersatzteilsuche aus Marketplace
   aff-cpt=1 markiert die Suche serverseitig über die Body-Klasse
   .fp-smart-search-marketplace-origin.
   Entfernt nur dort die zusätzliche Adifier-Einrückung.
========================================================= */
@media (max-width: 720px) {

    body.fp-smart-search-marketplace-origin main > .container {
        width: 100% !important;
        max-width: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.fp-smart-search-marketplace-origin main > .container > .white-block {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }

    body.fp-smart-search-marketplace-origin
    main > .container > .white-block > .white-block-content,
    body.fp-smart-search-marketplace-origin
    main > .container > .white-block > .white-block-content > .post-content {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-smart-search-marketplace-origin .fp-smart-search {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-smart-search-marketplace-origin .fp-smart-search-card,
    body.fp-smart-search-marketplace-origin .fp-smart-search-results {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    body.fp-smart-search-marketplace-origin .fp-smart-search-results {
        margin-top: 10px !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Mobile Smart Search auf Startseite
   Gleiche nutzbare Breite wie die übrigen Startseiteninhalte.
   Nur Home + Mobil, keine Änderung an Desktop/anderen Seiten.
========================================================= */
@media (max-width: 720px) {

    body.home .fp-smart-search {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.home .fp-smart-search-card {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    body.home .fp-smart-search-results {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Geo-Radiussuche
========================================================= */
.fp-geo-radius-notice{
    width:100%;
    margin:0 0 10px;
    padding:14px 16px;
    box-sizing:border-box;
    border-left:3px solid #ff0033;
    background:#fff;
}
.fp-geo-radius-notice strong,
.fp-geo-radius-notice span{
    display:block;
    font-weight:400;
}
.fp-geo-radius-notice strong{
    color:#30343b;
    font-size:14px;
    line-height:1.45;
}
.fp-geo-radius-notice span{
    margin-top:4px;
    color:#70757b;
    font-size:12px;
    line-height:1.5;
}


/* =========================================================
   FairPartz V15.5.104 – Einzelanzeige Standort/Datenschutz
========================================================= */

/* Adifier besitzt bereits die sichtbare OSM-Karte. */
body.single-advert .fp-advert-location-map{
    display:none !important;
}

/* Standortkarte von FairPartz bleibt reine Textinformation: PLZ + Ort. */
body.single-advert .fp-advert-location-card{
    margin-top:10px !important;
}


/* =========================================================
   FairPartz V15.5.104 – Browse Geo Filter Notice
========================================================= */
.fp-browse-geo-notice{
    width:100%;
    margin:0 0 10px;
    padding:14px 16px;
    border-left:3px solid #ff0033;
    background:#fff;
    box-sizing:border-box;
}
.fp-browse-geo-notice strong,
.fp-browse-geo-notice span{
    display:block;
    font-weight:400;
}
.fp-browse-geo-notice strong{
    font-size:14px;
    line-height:1.45;
    color:#30343b;
}
.fp-browse-geo-notice span{
    margin-top:4px;
    font-size:12px;
    line-height:1.5;
    color:#70757b;
}


/* =========================================================
 * FairPartz 15.5.104 – Mobile Listenansicht
 * Lesbar, kompakt, OEM vor Titel, keine Beschreibung.
 * ========================================================= */
@media (max-width: 720px) {
    body .fp-list-card-enhanced .fp-mobile-duplicate-location {
        display: none !important;
    }

    body .fp-list-card-enhanced .fp-list-location-shipping {
        margin: 0 0 3px !important;
        gap: 4px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    body .fp-list-card-enhanced .fp-list-location-shipping .fp-list-location,
    body .fp-list-card-enhanced .fp-list-location-shipping .fp-list-shipping,
    body .fp-list-card-enhanced .fp-list-provider-inline .fp-provider-link {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }
    body .fp-list-card-enhanced .fp-list-provider-inline .fp-provider-link {
        display: none !important;
    }
    body .fp-list-card-enhanced .fp-list-provider-inline {
        flex: 0 0 auto !important;
        overflow: visible !important;
    }

    body .fp-list-card-enhanced .fp-list-oem-mobile {
        display: block !important;
        width: max-content !important;
        max-width: 100% !important;
        margin: 0 0 4px !important;
        padding: 2px 5px !important;
        color: #555 !important;
        background: #fff7e4 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body .fp-list-card-enhanced h1,
    body .fp-list-card-enhanced h2,
    body .fp-list-card-enhanced h3,
    body .fp-list-card-enhanced h4,
    body .fp-list-card-enhanced h5,
    body .fp-list-card-enhanced h6 {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }
    body .fp-list-card-enhanced h1 a[href*="/anzeigen/"],
    body .fp-list-card-enhanced h2 a[href*="/anzeigen/"],
    body .fp-list-card-enhanced h3 a[href*="/anzeigen/"],
    body .fp-list-card-enhanced h4 a[href*="/anzeigen/"],
    body .fp-list-card-enhanced h5 a[href*="/anzeigen/"],
    body .fp-list-card-enhanced h6 a[href*="/anzeigen/"] {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        white-space: normal !important;
        text-overflow: ellipsis !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        font-weight: 600 !important;
    }

    /* Beschreibung nur in den echten Adifier-Listen ausblenden. */
    body .fp-list-card-enhanced p:not(.price):not([class*="price"]),
    body .fp-list-card-enhanced .advert-description,
    body .fp-list-card-enhanced [class*="description"] {
        display: none !important;
    }

    body .fp-list-card-enhanced .price,
    body .fp-list-card-enhanced [class*="price"] {
        margin-top: 3px !important;
        margin-bottom: 0 !important;
    }
}


/* FairPartz 15.5.104 – Mobile Meta-Icons */
@media (max-width: 720px) {
    body .fp-list-card-enhanced .fp-list-location-shipping {
        display:flex !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
        width:100% !important;
        max-width:100% !important;
        gap:5px !important;
        margin:0 0 3px !important;
        overflow:hidden !important;
        white-space:nowrap !important;
        font-size:10px !important;
        line-height:1.2 !important;
    }
    body .fp-list-card-enhanced .fp-list-location {
        min-width:0 !important;
        flex:1 1 auto !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
        font-size:10px !important;
        line-height:1.2 !important;
    }
    body .fp-list-card-enhanced .fp-list-meta-icon {
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        flex:0 0 auto !important;
        width:18px !important;
        height:18px !important;
        color:#8b9298 !important;
    }
    body .fp-list-card-enhanced .fp-list-meta-icon .dashicons {
        width:16px !important;
        height:16px !important;
        font-size:16px !important;
        line-height:16px !important;
    }
    body .fp-list-card-enhanced .fp-list-oem-mobile {
        font-size:10px !important;
        line-height:1.2 !important;
        margin-bottom:3px !important;
        padding:2px 4px !important;
    }
    body .fp-list-card-enhanced .fp-list-shipping,
    body .fp-list-card-enhanced .fp-list-provider-inline,
    body .fp-list-card-enhanced .fp-list-provider-separator,
    body .fp-list-card-enhanced .fp-list-meta-separator {
        display:none !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Gewerbliche Author-Infokarte
   Neu erzeugte Sidebar-Karten erhalten denselben Innenabstand
   wie bestehende Adifier-Unternehmensblöcke.
========================================================= */
body.author .fp-public-profile-sidebar-card-created{
    padding:20px 24px !important;
    box-sizing:border-box !important;
    background:#fff !important;
}

body.author .fp-public-profile-sidebar-card-created .fp-public-business-profile{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

body.author .fp-public-profile-sidebar-card-created .fp-public-business-profile h3{
    margin-top:0 !important;
}

/* Auf schmalen Ansichten etwas kompakter, aber weiterhin klar eingerückt. */
@media(max-width:600px){
    body.author .fp-public-profile-sidebar-card-created{
        padding:18px !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Browse Ads Standort nur einmal
   Desktop: Adifiers kurze advert-city-Zeile wird bei den
   erweiterten FairPartz-Listenkarten unterdrückt.
   FairPartz PLZ + Ort bleibt bestehen.
========================================================= */
@media (min-width: 721px) {
    body .advert-list.fp-list-card-enhanced .top-advert-meta.fp-mobile-duplicate-location .advert-city,
    body .advert-list.fp-list-card-enhanced .top-advert-meta .advert-city {
        display: none !important;
    }

    /*
     * Falls advert-city als einziges sichtbares Element in einem Wrapper steckt,
     * soll kein unnötiger Leerraum zurückbleiben.
     */
    body .advert-list.fp-list-card-enhanced .top-advert-meta.fp-mobile-duplicate-location {
        min-height: 0 !important;
    }

    body .advert-list.fp-list-card-enhanced
    .top-advert-meta.fp-mobile-duplicate-location:has(.advert-cat[style*="display: none"]) {
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   FairPartz V15.5.104 – Standortübersicht vor Karte
========================================================= */
body.single-advert .fp-advert-location-card{
    margin-top:10px !important;
    margin-bottom:10px !important;
}

body.single-advert .fp-advert-location-card h3{
    margin-top:0 !important;
}


/* =========================================================
   FairPartz V15.5.104 – Registrierung Schritt 2
========================================================= */
#register form .fp-registration-step1-complete,
#register form .fp-registration-original-result{
    display:none !important;
}

#register .fp-registration-success-step{
    padding:34px 8px 18px !important;
    text-align:center !important;
}

#register .fp-registration-success-icon{
    width:64px !important;
    height:64px !important;
    margin:0 auto 18px !important;
    border-radius:50% !important;
    background:#17b890 !important;
    color:#fff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:34px !important;
    font-weight:700 !important;
    line-height:1 !important;
}

#register .fp-registration-success-step h3{
    margin:0 0 12px !important;
    font-size:24px !important;
    line-height:1.25 !important;
}

#register .fp-registration-success-step p{
    margin:0 0 8px !important;
}

#register .fp-registration-mail-info strong{
    word-break:break-word !important;
}

#register .fp-registration-success-note{
    margin:24px 0 !important;
    padding:18px 20px !important;
    background:#f7f8fa !important;
    text-align:left !important;
}

#register .fp-registration-success-note strong,
#register .fp-registration-success-note span{
    display:block !important;
}

#register .fp-registration-success-note span{
    margin-top:6px !important;
    line-height:1.55 !important;
}

#register .fp-registration-resend,
#register .fp-registration-login{
    width:100% !important;
    min-height:50px !important;
    border:0 !important;
    cursor:pointer !important;
    font-weight:600 !important;
}

#register .fp-registration-resend{
    background:#ff0038 !important;
    color:#fff !important;
    margin-bottom:10px !important;
}

#register .fp-registration-login{
    background:#fff !important;
    color:#ff0038 !important;
    border:1px solid #ff0038 !important;
}

#register .fp-registration-mail-help{
    display:block !important;
    margin-top:18px !important;
    line-height:1.5 !important;
    color:#777 !important;
}


/* =========================================================
   FairPartz V15.5.104 – Karte vollständig im Standortblock
========================================================= */
body.single-advert .fp-advert-location-card{
    overflow:hidden !important;
}

body.single-advert .fp-advert-location-card .map-wrapper{
    width:100% !important;
    margin:14px 0 0 !important;
    box-sizing:border-box !important;
}

body.single-advert .fp-advert-location-card .map-wrapper .leaflet-container{
    width:100% !important;
    max-width:100% !important;
}

/* Zuletzt angesehen beginnt wieder als eigener Block nach Standort + Karte. */
body.single-advert .fp-advert-location-card + .fp-single-recent-ads{
    margin-top:10px !important;
}


/* =========================================================
   FairPartz V15.5.104 – Adifier Payment Engine im Marktplatz
========================================================= */
.fp-payment-modal{
    max-width:560px !important;
}

.fp-payment-summary{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    margin:22px 0 !important;
    padding:18px 20px !important;
    border:1px solid #dedede !important;
    background:#fff !important;
}

.fp-payment-summary strong{
    font-size:20px !important;
    white-space:nowrap !important;
}

.fp-payment-method-title{
    margin:0 0 12px !important;
    font-weight:600 !important;
}

.fp-payment-modal .payments-list{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.fp-payment-modal .payments-list > li{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

.fp-payment-modal .payments-list a,
.fp-payment-modal .payments-list button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:52px !important;
    padding:8px 12px !important;
    border:1px solid #dedede !important;
    background:#fff !important;
    box-sizing:border-box !important;
}

.fp-payment-modal .payments-list img{
    max-width:148px !important;
    max-height:42px !important;
    object-fit:contain !important;
}

.fp-payment-modal .purchase-response{
    margin-bottom:14px !important;
}

.fp-payment-modal .purchase-response .alert-success,
.fp-payment-modal .purchase-response .alert-error,
.fp-payment-modal .purchase-response .alert-info{
    padding:14px 16px !important;
    margin:0 0 14px !important;
}

.fp-payment-modal textarea.hidden{
    display:none !important;
}


/* =========================================================
   FairPartz V15.5.104 – Promotion-Auswahl aus Seitenkarte
========================================================= */
#fp-promotions .fp-promo-mini-list > a{
    display:block !important;
    position:relative !important;
    padding:14px 34px 14px 14px !important;
    border:1px solid #dedede !important;
    background:#fff !important;
    text-decoration:none !important;
    color:inherit !important;
    cursor:pointer !important;
    transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease !important;
}

#fp-promotions .fp-promo-mini-list > a + a{
    margin-top:10px !important;
}

#fp-promotions .fp-promo-mini-list > a::after{
    content:'›' !important;
    position:absolute !important;
    right:12px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    color:#ff0038 !important;
    font-size:22px !important;
    line-height:1 !important;
}

#fp-promotions .fp-promo-mini-list > a:hover{
    border-color:#ff0038 !important;
    box-shadow:0 4px 14px rgba(0,0,0,.06) !important;
    transform:translateY(-1px) !important;
}

#fp-promotions .fp-promo-mini-list strong,
#fp-promotions .fp-promo-mini-list span{
    display:block !important;
}

.fp-promo-picker-modal{
    max-width:640px !important;
}

.fp-promo-picker-list{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    margin:22px 0 !important;
    max-height:460px !important;
    overflow:auto !important;
}

.fp-promo-picker-item{
    display:grid !important;
    grid-template-columns:64px minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:14px !important;
    padding:10px !important;
    border:1px solid #dedede !important;
    background:#fff !important;
    color:inherit !important;
    text-decoration:none !important;
}

.fp-promo-picker-item:hover{
    border-color:#ff0038 !important;
}

.fp-promo-picker-thumb{
    width:64px !important;
    height:52px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#f5f5f5 !important;
}

.fp-promo-picker-thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

.fp-promo-picker-copy{
    min-width:0 !important;
}

.fp-promo-picker-copy strong,
.fp-promo-picker-copy small{
    display:block !important;
}

.fp-promo-picker-copy strong{
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

.fp-promo-picker-copy small{
    margin-top:4px !important;
    color:#1a9b6d !important;
}

.fp-promo-picker-action{
    color:#ff0038 !important;
    font-weight:600 !important;
    white-space:nowrap !important;
}

@media(max-width:600px){
    .fp-promo-picker-item{
        grid-template-columns:54px minmax(0,1fr) !important;
    }

    .fp-promo-picker-thumb{
        width:54px !important;
        height:48px !important;
    }

    .fp-promo-picker-action{
        grid-column:2 !important;
    }
}


/* FairPartz Core V15.5.126 – Smart Search OEM + HSN/TSN */
.fp-smart-result-identifiers{
    display:block;
    margin-top:3px;
    font-size:11px;
    line-height:1.35;
    font-weight:400;
    color:#666;
    white-space:normal;
}

@media(max-width:767px){
    .fp-smart-result-identifiers{
        font-size:10px;
        line-height:1.3;
    }
}


/* FairPartz Core V15.5.126 – leeren Adifier-Menübutton auf Tablets ausblenden.
 * Betrifft nur den alten .small-sidebar-open.navigation-trigger.
 * Mobile und Desktop bleiben unverändert. */
@media (max-width: 1024px) {
    /* Nur den leeren Adifier-Trigger außerhalb von "Mein Marktplatz" verstecken.
       Im FairPartz-Marktplatz-Frontend bleibt das originale Theme-Menü vollständig
       unangetastet und behält Position, Icon, Text und Click-Verhalten. */
    body:not(.fairpartz-marketplace-frontend) .small-sidebar-open.navigation-trigger,
    body:not(.fairpartz-marketplace-frontend) a.small-sidebar-open.navigation-trigger {
        display: none !important;
    }
}


/* =========================================================
   FairPartz Core V15.5.126 – iPad/Tablet Responsive Layer
   Ausschließlich 768–1024px. Smartphone und Desktop bleiben
   außerhalb dieses Bereichs unverändert.
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Safari/WebKit darf kein Kind breiter als den sichtbaren Inhalt ziehen. */
    body.fp-tablet-home-layout,
    body.fp-tablet-browse-layout {
        overflow-x: hidden !important;
    }

    body.fp-tablet-home-layout main,
    body.fp-tablet-browse-layout main,
    body.fp-tablet-home-layout main .container,
    body.fp-tablet-browse-layout main .container {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ---------- Browse Ads ---------- */
    body.fp-tablet-browse-layout main .fp-tablet-browse-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-browse-layout main .fp-tablet-browse-row {
        width: auto !important;
        max-width: none !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
        display: block !important;
    }

    body.fp-tablet-browse-layout main .fp-tablet-browse-results-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-browse-layout .ajax-search,
    body.fp-tablet-browse-layout .ajax-search > *,
    body.fp-tablet-browse-layout .ajax-search .af-items,
    body.fp-tablet-browse-layout .ajax-search [class*="af-items-"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-browse-layout .ajax-search .advert-list,
    body.fp-tablet-browse-layout .ajax-search .fp-list-card-enhanced,
    body.fp-tablet-browse-layout .ajax-search .af-item-wrap,
    body.fp-tablet-browse-layout .ajax-search .af-item,
    body.fp-tablet-browse-layout .ajax-search article {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Bootstrap-/Adifier-Floats innerhalb der eigentlichen Trefferkarte
       dürfen die Karte auf iPads nicht künstlich zusammenschieben. */
    body.fp-tablet-browse-layout .ajax-search .fp-list-card-enhanced {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.fp-tablet-browse-layout .ajax-search img {
        max-width: 100%;
    }

    /* ---------- Startseite ---------- */
    body.fp-tablet-home-layout main > .container,
    body.fp-tablet-home-layout main .elementor-section,
    body.fp-tablet-home-layout main .elementor-container,
    body.fp-tablet-home-layout main .elementor-widget-container {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-home-layout main .row,
    body.fp-tablet-home-layout main [class*="col-"],
    body.fp-tablet-home-layout .advert-grid,
    body.fp-tablet-home-layout .af-items,
    body.fp-tablet-home-layout [class*="af-items-"] {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-home-layout .fp-smart-search,
    body.fp-tablet-home-layout .fp-smart-search-card,
    body.fp-tablet-home-layout .fp-smart-search-results {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* "Alle anzeigen" bleibt in der Überschriftszeile und erzeugt
       insbesondere in Safari keinen horizontalen Überlauf mehr. */
    body.fp-tablet-home-layout .fp-tablet-all-ads-wrap {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-home-layout .fp-tablet-all-ads-link {
        position: static !important;
        float: none !important;
        display: inline-block !important;
        max-width: 100% !important;
        margin-left: 8px !important;
        margin-right: 0 !important;
        white-space: nowrap !important;
        vertical-align: baseline !important;
        box-sizing: border-box !important;
    }

    /* Karten/Slider dürfen den WebKit-Viewport nicht über ihre Eltern hinaus
       verbreitern. Die eigentliche Anzahl der Karten bleibt Adifier überlassen. */
    body.fp-tablet-home-layout .advert-grid,
    body.fp-tablet-home-layout .advert-box,
    body.fp-tablet-home-layout .af-item,
    body.fp-tablet-home-layout .fp-marketplace-card-v2 {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.fp-tablet-home-layout img {
        max-width: 100%;
        height: auto;
    }
}


/* =========================================================
   FairPartz Core V15.5.126 – Unified Listing Cards
   Die Intelligente Suche ist der visuelle Standard.
   Adifier bleibt für Filter, Sortierung, AJAX und Pagination zuständig.
========================================================= */

/* Gemeinsame Grundsprache */
.fp-smart-result,
.ajax-search .fp-unified-listing-card {
    background:#fff !important;
    border:1px solid #e6e8eb !important;
    box-shadow:none !important;
    border-radius:0 !important;
    box-sizing:border-box !important;
    font-family:'Poppins',sans-serif !important;
}

.ajax-search .fp-unified-listing-card {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    margin-bottom:10px !important;
}

/* Gleiche ruhige Typografie */
.fp-smart-result-title,
.ajax-search .fp-unified-listing-card h1,
.ajax-search .fp-unified-listing-card h2,
.ajax-search .fp-unified-listing-card h3,
.ajax-search .fp-unified-listing-card h4,
.ajax-search .fp-unified-listing-card h5,
.ajax-search .fp-unified-listing-card h6,
.ajax-search .fp-unified-listing-card h1 a,
.ajax-search .fp-unified-listing-card h2 a,
.ajax-search .fp-unified-listing-card h3 a,
.ajax-search .fp-unified-listing-card h4 a,
.ajax-search .fp-unified-listing-card h5 a,
.ajax-search .fp-unified-listing-card h6 a {
    font-family:'Poppins',sans-serif !important;
    font-weight:600 !important;
    color:#25282d !important;
}

.fp-unified-vehicle-meta,
.fp-smart-result-meta {
    color:#777d85 !important;
    font-size:12px !important;
    font-weight:400 !important;
    line-height:1.45 !important;
}

/* In normalen Adifier-Treffern dieselbe Reihenfolge:
   Fahrzeugdaten -> Titel -> Beschreibung -> Preis/Kennungen. */
.ajax-search .fp-unified-vehicle-meta {
    display:block !important;
    width:100% !important;
    margin:0 0 5px !important;
    padding:0 !important;
}

/* Bestehende FairPartz Standort-/Statuszeile erhält das Smart-Search-Gefühl. */
.fp-list-location-shipping,
.fp-unified-location-status {
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:7px !important;
    min-width:0 !important;
    color:#7b8188 !important;
    font-size:11px !important;
    line-height:1.35 !important;
}

.fp-unified-location-status {
    justify-content:flex-end !important;
}

.fp-unified-status-icons {
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
}

.fp-unified-status-icon,
.fp-list-meta-icon {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:18px !important;
    height:18px !important;
    color:#8b9198 !important;
    line-height:1 !important;
}

.fp-unified-status-icon .dashicons,
.fp-list-meta-icon .dashicons {
    width:16px !important;
    height:16px !important;
    font-size:16px !important;
    line-height:16px !important;
}

/* Identifikatoren bei beiden Kartentypen gleich */
.fp-smart-result-identifiers,
.fp-list-oem-mobile {
    color:#666d74 !important;
    font-size:11px !important;
    line-height:1.35 !important;
    font-weight:400 !important;
}

/* Smart Search Info sauber zweigeteilt */
.fp-unified-result-info {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    min-width:0 !important;
}

.fp-unified-result-info > * {
    min-width:0 !important;
}

/* Adifier-Bilder optisch näher an die Intelligente Suche bringen */
.ajax-search .fp-unified-listing-card img {
    object-fit:cover !important;
}

/* Desktop/Tablet: großzügige, aber kompakte Suchkarte */
@media (min-width:768px) {
    .ajax-search .fp-unified-listing-card {
        min-height:150px !important;
    }

    .ajax-search .fp-unified-listing-card .fp-list-location-shipping {
        margin-bottom:4px !important;
    }
}

/* Mobile: Status bleibt sichtbar, aber kompakt */
@media (max-width:767px) {
    .fp-unified-result-info {
        align-items:flex-start !important;
        flex-direction:column !important;
        gap:4px !important;
    }

    .fp-unified-location-status {
        width:100% !important;
        justify-content:flex-start !important;
    }

    .fp-unified-vehicle-meta,
    .fp-smart-result-meta {
        font-size:11px !important;
    }

    .fp-smart-result-identifiers,
    .fp-list-oem-mobile {
        font-size:10px !important;
    }
}


/* =========================================================
   FairPartz Core V15.5.126 – echte identische Trefferkarte
========================================================= */

/* Adifier bleibt Daten-/AJAX-Träger, ist aber nicht mehr die sichtbare Karte. */
.ajax-search .fp-unified-listing-card {
    display:block !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 0 10px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
}

.ajax-search .fp-unified-listing-card > .fp-unified-original-hidden {
    display:none !important;
}

/* Die neue sichtbare Browse-Karte verwendet exakt dieselben Kernmaße
   wie .fp-smart-result in der Intelligenten Suche. */
.ajax-search .fp-unified-adifier-view.fp-smart-result {
    display:grid !important;
    grid-template-columns:180px minmax(0,1fr) !important;
    gap:18px !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    padding:16px !important;
    margin:0 !important;
    align-items:stretch !important;
    border:1px solid #e5e7eb !important;
    background:#fff !important;
    box-shadow:none !important;
    border-radius:0 !important;
    box-sizing:border-box !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-image {
    width:180px !important;
    height:150px !important;
    min-height:150px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid #eceff2 !important;
    border-radius:0 !important;
    background:#f8f9fa !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-image img,
.ajax-search .fp-unified-adifier-view .fp-smart-result-placeholder {
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    object-fit:cover !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-body {
    display:flex !important;
    min-width:0 !important;
    flex-direction:column !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-top,
.ajax-search .fp-unified-adifier-view .fp-smart-result-bottom {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-title {
    display:block !important;
    min-width:0 !important;
    color:#333 !important;
    font-size:16px !important;
    line-height:1.4 !important;
    font-weight:600 !important;
    text-decoration:none !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-info {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    margin-top:8px !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-meta,
.ajax-search .fp-unified-adifier-view p {
    color:#666 !important;
    font-size:13px !important;
    line-height:1.55 !important;
}

.ajax-search .fp-unified-adifier-view p {
    margin:10px 0 0 !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-bottom {
    margin-top:auto !important;
    padding-top:12px !important;
    border-top:1px solid #eceff2 !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-price {
    display:flex !important;
    min-width:0 !important;
    flex:1 1 auto !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-price strong {
    color:#333 !important;
    font-size:18px !important;
    font-weight:600 !important;
}

.ajax-search .fp-unified-adifier-view .fp-smart-result-actions {
    display:flex !important;
    flex:0 0 auto !important;
    align-items:center !important;
    gap:6px !important;
}

/* Tablet bleibt dieselbe Karte – nur die verfügbare Außenbreite ändert sich. */
@media (min-width:721px) and (max-width:1024px) {
    .ajax-search .fp-unified-adifier-view.fp-smart-result {
        grid-template-columns:180px minmax(0,1fr) !important;
    }
}

/* Smartphone übernimmt bewusst das bestehende Smart-Search-Verhalten. */
@media (max-width:720px) {
    .ajax-search .fp-unified-adifier-view.fp-smart-result {
        display:block !important;
        padding:16px !important;
    }

    .ajax-search .fp-unified-adifier-view .fp-smart-result-image {
        width:100% !important;
        height:220px !important;
        margin-bottom:14px !important;
    }

    .ajax-search .fp-unified-adifier-view .fp-smart-result-info,
    .ajax-search .fp-unified-adifier-view .fp-smart-result-bottom,
    .ajax-search .fp-unified-adifier-view .fp-smart-result-price {
        align-items:flex-start !important;
        flex-direction:column !important;
    }

    .ajax-search .fp-unified-adifier-view .fp-smart-result-actions {
        align-self:flex-end !important;
    }
}


/* =========================================================
   FairPartz Core V15.5.126 – Auswahl der Ergebnisansicht entfernen
   FairPartz verwendet ausschließlich die einheitliche Listenansicht.
========================================================= */

/* Adifier-Ansichtsauswahl (Grid/List/Card) vollständig ausblenden. */
body:not(.wp-admin) .ajax-search .layout-view,
body:not(.wp-admin) .ajax-search [class*="layout-view"],
body:not(.wp-admin) .ajax-search .view-switcher,
body:not(.wp-admin) .ajax-search .listing-layout,
body:not(.wp-admin) .ajax-search [data-layout],
body:not(.wp-admin) .ajax-search a[href*="layout="] {
    display: none !important;
}

/* Falls durch das Entfernen rechts unnötiger Platz stehen bleibt,
   Sortierung sauber am rechten Rand halten. */
body:not(.wp-admin) .ajax-search .search-order,
body:not(.wp-admin) .ajax-search .flex-wrap.search-order {
    margin-left: auto !important;
}

/* FairPartz Core V15.5.126 – Mobile Sortierung vollständig sichtbar */
@media (max-width: 767px) {
    body:not(.wp-admin) .ajax-search .search-order,
    body:not(.wp-admin) .ajax-search .flex-wrap.search-order {
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        gap:8px !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        box-sizing:border-box !important;
    }

    body:not(.wp-admin) .ajax-search .flex-right,
    body:not(.wp-admin) .ajax-search .flex-right.flex-wrap,
    body:not(.wp-admin) .ajax-search .styled-select,
    body:not(.wp-admin) .ajax-search .styled-select-no-label,
    body:not(.wp-admin) .ajax-search .styled-select.styled-select-no-label {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        margin:0 !important;
        box-sizing:border-box !important;
        overflow:visible !important;
    }

    body:not(.wp-admin) .ajax-search select.orderby,
    body:not(.wp-admin) .ajax-search select[name="af_orderby"] {
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        height:40px !important;
        min-height:40px !important;
        padding:0 34px 0 0 !important;
        margin:0 !important;
        box-sizing:border-box !important;
        white-space:nowrap !important;
        overflow:visible !important;
        text-overflow:clip !important;
        font-size:13px !important;
        line-height:40px !important;
    }
}

/* V15.5.127 – Neues Teil einstellen: klare Schrittfolge */
.fp-wizard-page .fp-wizard-step{position:relative;padding-left:58px;margin-bottom:14px}
.fp-wizard-page .fp-wizard-step:before{content:attr(data-step);position:absolute;left:18px;top:20px;width:28px;height:28px;border-radius:50%;background:#ff0038;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;line-height:1}
.fp-wizard-page .fp-wizard-step h2{margin-top:0}
.fp-wizard-page .fp-optional-label{font-size:.72em;font-weight:400;color:#777;margin-left:5px}
.fp-wizard-page .fp-field-full{grid-column:1/-1}
.fp-wizard-page .fp-field-help{display:block;margin-top:6px;color:#777;font-size:12px}
.fp-wizard-page .fp-vehicle-fields{border-top:1px solid #eee;padding-top:18px;margin-top:16px}
@media(max-width:767px){.fp-wizard-page .fp-wizard-step{padding-left:46px}.fp-wizard-page .fp-wizard-step:before{left:10px;top:18px;width:26px;height:26px}.fp-wizard-page .fp-field-full{grid-column:auto}}

/* 15.5.130 – streamlined new-part form */
.fp-wizard-page .fp-wizard-step{padding-left:28px}
.fp-wizard-page .fp-wizard-step:before{display:none!important;content:none!important}
.fp-wizard-page .fp-price-negotiable{display:flex;align-items:flex-end}
.fp-wizard-page .fp-simple-check{display:flex;gap:10px;align-items:flex-start;margin:0;padding:12px 0;cursor:pointer}
.fp-wizard-page .fp-simple-check input{margin-top:4px}
.fp-wizard-page .fp-simple-check span{display:flex;flex-direction:column;gap:3px}
.fp-wizard-page .fp-simple-check small{font-weight:400;color:#777}
@media(max-width:767px){.fp-wizard-page .fp-wizard-step{padding-left:20px}}


/* 15.5.130 – gleichmäßige Formularabstände + kompakte Verhandlungsbasis */
.fp-wizard-page .fp-wizard-card > form > .fp-wizard-step{
    margin:0 0 28px !important;
}
.fp-wizard-page .fp-wizard-card > form > .fp-wizard-step:last-of-type{
    margin-bottom:24px !important;
}
.fp-wizard-page .fp-wizard-step > h2{
    margin:0 0 14px !important;
}
.fp-wizard-page .fp-wizard-step > .fp-section-note{
    margin:-6px 0 14px !important;
}
.fp-wizard-page .fp-price-negotiable{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check{
    display:grid !important;
    grid-template-columns:20px minmax(0,1fr) !important;
    column-gap:10px !important;
    align-items:center !important;
    width:100% !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check input[type="checkbox"]{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:0 !important;
    align-self:center !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check span{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:2px !important;
    min-width:0 !important;
}
@media(max-width:700px){
    .fp-wizard-page .fp-wizard-card > form > .fp-wizard-step{margin-bottom:24px !important;}
}


/* 15.5.131 – Verhandlungsbasis oben bündig und ohne Fettschrift */
.fp-wizard-page .fp-price-negotiable{
    align-items:flex-start !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check{
    align-items:start !important;
    min-height:42px !important;
    padding:0 !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check input[type="checkbox"]{
    margin-top:12px !important;
    align-self:start !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check span{
    justify-content:flex-start !important;
    padding-top:9px !important;
    font-weight:400 !important;
    line-height:1.35 !important;
}
.fp-wizard-page .fp-price-negotiable .fp-simple-check small{
    margin-top:4px !important;
    font-weight:400 !important;
}

/* FairPartz V15.5.132 – Händler-Badge */
.fp-dealer-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:20px!important;padding:2px 7px!important;margin-left:6px!important;border:1px solid #ff002e!important;border-radius:0!important;background:#ff002e!important;color:#fff!important;font-size:10px!important;font-weight:500!important;line-height:1.2!important;text-transform:uppercase!important;white-space:nowrap!important;vertical-align:middle!important}
.fp-public-business-title{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important}.fp-public-business-title h3{margin:0!important}.fp-public-business-title .fp-dealer-badge,.fp-list-provider-inline .fp-dealer-badge{margin-left:0!important}.fp-unified-location-status>.fp-dealer-badge{margin-left:4px!important}.fp-single-dealer-badge{margin-top:4px!important}


/* =========================================================
   FairPartz V15.5.133 – seller / handover row
========================================================= */
.fp-result-seller-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding-top: 7px !important;
    border-top: 1px solid #eeeeee !important;
    color: #737b85 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}
.fp-result-meta-item {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}
.fp-result-meta-sep {
    color: #c3c7cc !important;
}
.fp-result-seller-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #5f6872 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.fp-result-seller-link:hover {
    color: #ff002e !important;
}
.fp-result-seller-avatar {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex: 0 0 20px !important;
}
.fp-result-seller-meta .fp-dealer-badge {
    margin-left: 2px !important;
}
@media (max-width: 767px) {
    .fp-result-seller-meta {
        gap: 5px !important;
        font-size: 11px !important;
    }
}


/* =========================================================
   FairPartz V15.5.135 – Meta-Zeile Feinschliff + Verkäufer
========================================================= */
.fp-result-seller-meta {
    margin-top: 12px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-top: 1px solid #eeeeee !important;
    border-bottom: 1px solid #eeeeee !important;
}
.fp-result-seller-link {
    gap: 6px !important;
}
.fp-result-seller-avatar {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.fp-result-seller-avatar-fallback {
    display: inline-block !important;
    border: 1px solid #dfe2e5 !important;
    background: #f4f5f6 !important;
}
.fp-result-seller-name {
    color: #333a42 !important;
    font-weight: 500 !important;
}
.fp-result-seller-status {
    color: #737b85 !important;
}
.fp-result-seller-status::before {
    content: "·";
    margin-right: 6px;
    color: #c3c7cc;
}
.fp-result-seller-meta .fp-dealer-badge {
    margin-left: 2px !important;
}
.fp-smart-result-bottom {
    margin-top: 10px !important;
}

/* FairPartz V15.5.136 – package-aware Händler-Badge */
.fp-result-private-label{color:#737b85!important;white-space:nowrap!important}
.fp-result-seller-meta .fp-dealer-badge{display:inline-flex!important;align-items:center!important;min-height:26px!important;padding:0!important;margin-left:4px!important;border:1px solid #ffd0da!important;background:#fff!important;color:#20242a!important;text-transform:none!important;letter-spacing:0!important;overflow:hidden!important}
.fp-dealer-badge-mark{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;min-width:30px!important;padding:0 6px!important;background:#ff002e!important;color:#fff!important;font-size:9px!important;font-weight:700!important;letter-spacing:.02em!important}
.fp-dealer-badge-copy{display:flex!important;align-items:baseline!important;gap:5px!important;padding:4px 7px!important;line-height:1.1!important}
.fp-dealer-badge-title{font-size:10px!important;font-weight:600!important;color:#242a31!important;text-transform:none!important}
.fp-dealer-badge-tier{font-size:9px!important;font-weight:400!important;color:#ff002e!important;text-transform:none!important}
.fp-result-seller-name{font-weight:500!important;color:#333a42!important}


/* FairPartz V15.5.138 – Händler-Badge auf Anzeigenbild + eigene Statusicons */
.fp-unified-result-image,
.fp-smart-result-image { position: relative !important; }

.fp-image-dealer-badge {
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 4px 7px !important;
    background: rgba(20,20,22,.92) !important;
    color: #fff !important;
    border-radius: 3px !important;
    line-height: 1.05 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.18) !important;
    pointer-events: none !important;
}
.fp-image-dealer-badge img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
    filter: invert(1) !important;
}
.fp-image-dealer-badge span { display:flex !important; flex-direction:column !important; }
.fp-image-dealer-badge strong { font-size:10px !important; font-weight:600 !important; color:#fff !important; }
.fp-image-dealer-badge small { margin-top:2px !important; font-size:8px !important; font-weight:400 !important; color:#ff3157 !important; }

.fp-result-meta-icon,
.fp-result-seller-type-icon {
    width: 15px !important;
    height: 15px !important;
    object-fit: contain !important;
    margin-right: 4px !important;
    opacity: .72 !important;
}
.fp-result-private { display:inline-flex !important; align-items:center !important; white-space:nowrap !important; }
.fp-result-seller-meta .fp-dealer-badge { display:none !important; }

@media (max-width:767px) {
    .fp-image-dealer-badge { top:5px !important; left:5px !important; padding:3px 5px !important; }
    .fp-image-dealer-badge img { width:15px !important; height:15px !important; }
}


/* FairPartz V15.5.139 – Icon rendering fix */
.fp-result-meta-item,
.fp-result-private,
.fp-result-seller-link {
    align-items:center !important;
}
.fp-result-meta-icon,
.fp-result-seller-type-icon {
    display:inline-block !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    max-width:18px !important;
    margin:0 5px 0 0 !important;
    padding:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    opacity:1 !important;
    vertical-align:middle !important;
    background:transparent !important;
}
.fp-result-meta-item::before,
.fp-result-private::before {
    content:none !important;
    display:none !important;
}


/* FairPartz V15.5.141 – dealer badge rendered directly inside preview image */
.fp-smart-result-image {
    position: relative !important;
    overflow: hidden !important;
}
.fp-smart-result-image > .fp-image-dealer-badge {
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    z-index: 20 !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* FairPartz V15.5.142 – compact dealer badge overlay */
.fp-smart-result-image > .fp-image-dealer-badge,
.fp-unified-result-image > .fp-image-dealer-badge {
    position:absolute !important;
    top:6px !important;
    left:6px !important;
    right:auto !important;
    bottom:auto !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:calc(100% - 12px) !important;
    padding:3px 6px !important;
    margin:0 !important;
    display:inline-flex !important;
    flex:0 0 auto !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:4px !important;
    background:rgba(20,20,22,.92) !important;
    border:0 !important;
    border-radius:3px !important;
    box-sizing:border-box !important;
    line-height:1 !important;
    z-index:30 !important;
    overflow:visible !important;
}
.fp-smart-result-image > .fp-image-dealer-badge img,
.fp-unified-result-image > .fp-image-dealer-badge img {
    display:block !important;
    width:14px !important;
    height:14px !important;
    min-width:14px !important;
    max-width:14px !important;
    min-height:14px !important;
    max-height:14px !important;
    margin:0 !important;
    padding:0 !important;
    object-fit:contain !important;
}
.fp-smart-result-image > .fp-image-dealer-badge > span,
.fp-unified-result-image > .fp-image-dealer-badge > span {
    display:flex !important;
    width:auto !important;
    height:auto !important;
    flex-direction:row !important;
    align-items:baseline !important;
    gap:3px !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
}
.fp-smart-result-image > .fp-image-dealer-badge strong,
.fp-unified-result-image > .fp-image-dealer-badge strong {
    font-size:9px !important;
    line-height:11px !important;
    font-weight:600 !important;
}
.fp-smart-result-image > .fp-image-dealer-badge small,
.fp-unified-result-image > .fp-image-dealer-badge small {
    font-size:8px !important;
    line-height:10px !important;
    margin:0 !important;
}


/* =========================================================
   FairPartz 15.5.144 – isolated package badge
   Deliberately independent from legacy .fp-image-dealer-badge
========================================================= */
.fp-smart-result-image,
.fp-unified-result-image {
    position:relative !important;
}

.fp-smart-result-image > .fpb144,
.fp-unified-result-image > .fpb144 {
    all:initial !important;
    position:absolute !important;
    top:7px !important;
    left:7px !important;
    z-index:80 !important;
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:stretch !important;
    width:max-content !important;
    min-width:0 !important;
    max-width:calc(100% - 14px) !important;
    height:28px !important;
    min-height:28px !important;
    max-height:28px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:3px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    box-shadow:0 1px 5px rgba(0,0,0,.28) !important;
    font-family:Poppins,Arial,sans-serif !important;
    line-height:1 !important;
    pointer-events:none !important;
}

.fpb144__icon {
    all:initial !important;
    display:flex !important;
    flex:0 0 28px !important;
    width:28px !important;
    min-width:28px !important;
    max-width:28px !important;
    height:28px !important;
    align-items:center !important;
    justify-content:center !important;
    background:#ff0038 !important;
    box-sizing:border-box !important;
}

.fpb144__icon .fpb144-svg {
    all:initial !important;
    display:block !important;
    width:17px !important;
    min-width:17px !important;
    max-width:17px !important;
    height:17px !important;
    min-height:17px !important;
    max-height:17px !important;
    fill:none !important;
    stroke:#fff !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
    box-sizing:border-box !important;
}

.fpb144__label {
    all:initial !important;
    display:flex !important;
    width:auto !important;
    min-width:0 !important;
    height:28px !important;
    align-items:center !important;
    padding:0 9px !important;
    margin:0 !important;
    background:#666666 !important;
    box-sizing:border-box !important;
    white-space:nowrap !important;
    font-family:Poppins,Arial,sans-serif !important;
    font-size:10px !important;
    font-weight:600 !important;
    line-height:28px !important;
    color:#fff !important;
}

/* package-specific label colors */
.fpb144--starter .fpb144__label { color:#eeeeee !important; }
.fpb144--basic .fpb144__label { color:#ffffff !important; }
.fpb144--plus .fpb144__label { color:#a7ddff !important; }
.fpb144--pro .fpb144__label { color:#55c8ff !important; }
.fpb144--premium .fpb144__label { color:#ffd54f !important; }
.fpb144--business .fpb144__label { color:#ff9f85 !important; }
.fpb144--enterprise .fpb144__label { color:#72e394 !important; }
.fpb144--unlimited .fpb144__label,
.fpb144--ultimate .fpb144__label { color:#c99cff !important; }

@media (max-width:767px) {
    .fp-smart-result-image > .fpb144,
    .fp-unified-result-image > .fpb144 {
        top:5px !important;
        left:5px !important;
        height:25px !important;
        min-height:25px !important;
        max-height:25px !important;
    }
    .fpb144__icon {
        flex-basis:25px !important;
        width:25px !important;
        min-width:25px !important;
        max-width:25px !important;
        height:25px !important;
    }
    .fpb144__icon .fpb144-svg {
        width:15px !important;
        min-width:15px !important;
        max-width:15px !important;
        height:15px !important;
        min-height:15px !important;
        max-height:15px !important;
    }
    .fpb144__label {
        height:25px !important;
        padding:0 7px !important;
        font-size:9px !important;
        line-height:25px !important;
    }
}

/* =========================================================
   FairPartz 15.5.148 – einheitliches Abstands-Raster im Formular
   Nur Neues Teil einstellen; keine Funktions-/Reihenfolgeänderung.
========================================================= */
.fp-wizard-page .fp-wizard-card > form {
    --fp-form-section-gap: 30px;
    --fp-form-heading-gap: 8px;
    --fp-form-content-gap: 16px;
    --fp-form-field-gap: 18px;
}
.fp-wizard-page .fp-wizard-card > form > .fp-wizard-step {
    margin: 0 0 var(--fp-form-section-gap) !important;
}
.fp-wizard-page .fp-wizard-card > form > .fp-wizard-step:last-of-type {
    margin-bottom: 26px !important;
}
.fp-wizard-page .fp-wizard-step > h2 {
    margin: 0 0 var(--fp-form-content-gap) !important;
    line-height: 1.3 !important;
}
.fp-wizard-page .fp-wizard-step > h2 + .fp-section-note {
    margin: calc(-1 * (var(--fp-form-content-gap) - var(--fp-form-heading-gap))) 0 var(--fp-form-content-gap) !important;
}
.fp-wizard-page .fp-wizard-step > .fp-field,
.fp-wizard-page .fp-wizard-step > .fp-grid-2 > .fp-field,
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields > .fp-field {
    margin-bottom: 0 !important;
}
.fp-wizard-page .fp-wizard-step > .fp-grid-2,
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields {
    row-gap: var(--fp-form-field-gap) !important;
    column-gap: 18px !important;
}
.fp-wizard-page .fp-wizard-step > .fp-grid-2 + p {
    margin: var(--fp-form-content-gap) 0 0 !important;
}
.fp-wizard-page .fp-wizard-step #fp_vehicle_lookup {
    margin: 0 !important;
}
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields {
    margin-top: var(--fp-form-content-gap) !important;
    padding-top: var(--fp-form-content-gap) !important;
}
.fp-wizard-page .fp-field-help {
    margin-top: 7px !important;
}
.fp-wizard-page .fp-upload-box,
.fp-wizard-page .fp-analyzer-panel,
.fp-wizard-page .fp-ai-writer-toolbar {
    margin-top: 0 !important;
}
.fp-wizard-page .fp-image-counter {
    margin-top: 8px !important;
}
@media (max-width: 700px) {
    .fp-wizard-page .fp-wizard-card > form {
        --fp-form-section-gap: 26px;
        --fp-form-field-gap: 16px;
    }
}


/* =========================================================
   FairPartz 15.5.151 – Teil einstellen: fixes 10/10/15-px Raster
   Titel -> Untertitel 10px -> Feld 10px -> nächster Titel 15px.
========================================================= */
.fp-wizard-page .fp-wizard-card > form {
    --fp-form-section-gap: 15px;
    --fp-form-heading-gap: 10px;
    --fp-form-content-gap: 10px;
    --fp-form-field-gap: 10px;
}
.fp-wizard-page .fp-wizard-card > form > .fp-wizard-step {
    margin: 0 0 15px !important;
}
.fp-wizard-page .fp-wizard-step > h2 {
    margin: 0 0 10px !important;
}
.fp-wizard-page .fp-wizard-step > h2 + .fp-section-note {
    margin: 0 0 10px !important;
}
.fp-wizard-page .fp-wizard-step > h2 + .fp-field,
.fp-wizard-page .fp-wizard-step > h2 + .fp-grid-2,
.fp-wizard-page .fp-wizard-step > h2 + .fp-upload-box {
    margin-top: 0 !important;
}
.fp-wizard-page .fp-wizard-step > .fp-grid-2,
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields {
    row-gap: 10px !important;
}
.fp-wizard-page .fp-wizard-step > .fp-grid-2 + p {
    margin: 10px 0 0 !important;
}
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields {
    margin-top: 10px !important;
    padding-top: 10px !important;
}
.fp-wizard-page .fp-wizard-step .fp-vehicle-fields .fp-field-full {
    margin-top: 5px !important;
}
.fp-wizard-page .fp-field-help {
    margin-top: 10px !important;
}
.fp-wizard-page .fp-image-counter {
    margin-top: 10px !important;
}
@media (max-width: 700px) {
    .fp-wizard-page .fp-wizard-card > form {
        --fp-form-section-gap: 15px;
        --fp-form-field-gap: 10px;
    }
}

/* FairPartz 15.5.152 – Anbieter folgen */
.fp-provider-follow-button{appearance:none;border:1px solid #ff0038;background:#fff;color:#ff0038;padding:8px 13px;margin-left:12px;font:500 13px/1.2 Poppins,Arial,sans-serif;cursor:pointer;border-radius:0}
.fp-provider-follow-button:hover,.fp-provider-follow-button.is-following{background:#ff0038;color:#fff}
.fp-provider-follow-button:disabled{opacity:.55;cursor:wait}
.fp-followed-provider-list{display:grid;gap:10px;margin-top:18px}
.fp-followed-provider{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #eee;text-decoration:none!important;color:#333!important}
.fp-followed-provider:hover{border-color:#ff0038}
.fp-followed-provider img{width:52px!important;height:52px!important;border-radius:50%!important;object-fit:cover!important}
.fp-followed-provider span{display:flex;flex-direction:column;gap:3px}.fp-followed-provider small{color:#777}
@media(max-width:767px){.fp-provider-follow-button{margin:10px 0 0 0;width:100%}}

/* FairPartz 15.5.154 – Anbieter-Folge-Benachrichtigungen */
.fp-follow-provider-notices{margin:0 0 20px;padding:16px;border:1px solid #eceff2;background:#fff}
.fp-follow-provider-notices h3{margin:0 0 10px;font-size:16px;font-weight:600}
.fp-follow-provider-notice{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-top:1px solid #eceff2;text-decoration:none!important;color:#222!important}
.fp-follow-provider-notice:first-of-type{border-top:0}
.fp-follow-provider-notice.is-unread{border-left:3px solid #ff0038;background:#fff7f9}
.fp-follow-provider-notice strong{font-size:13px;font-weight:600}
.fp-follow-provider-notice span{font-size:13px;color:#666}

/* =========================================================
   FairPartz 15.5.155 – kompakte Übersicht "Gefolgte Anbieter"
========================================================= */
.fp-followed-providers .fp-dashboard-card-head{margin-bottom:14px}
.fp-follow-provider-notices{margin:0 0 18px;padding:0;border:1px solid #e7e9ed;background:#fff}
.fp-follow-provider-notices-head,
.fp-followed-provider-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-bottom:1px solid #e7e9ed}
.fp-follow-provider-notices-head h3,
.fp-followed-provider-list-head h3{margin:0;font-size:14px;line-height:1.3;font-weight:600;color:#222}
.fp-follow-provider-notices-head span,
.fp-followed-provider-list-head span{min-width:22px;height:22px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3e5e8;font-size:11px;line-height:1;color:#666;background:#fff}

.fp-follow-provider-notice{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 8px 18px;align-items:center;gap:11px;min-height:62px;padding:8px 12px;border:0;border-top:1px solid #eef0f2;background:#fff;text-decoration:none!important;color:#222!important}
.fp-follow-provider-notice:first-of-type{border-top:0}
.fp-follow-provider-notice.is-unread{border-left:3px solid #ff0038;padding-left:9px;background:#fff9fa}
.fp-follow-notice-thumb{width:46px;height:46px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #eceff2;background:#f7f8f9;color:#9aa0a6}
.fp-follow-notice-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.fp-follow-notice-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.fp-follow-notice-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.35;font-weight:600;color:#222}
.fp-follow-notice-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;color:#777}
.fp-follow-unread-dot{width:7px;height:7px;border-radius:50%;background:#ff0038}
.fp-follow-notice-arrow{font-size:16px!important;width:16px!important;height:16px!important;color:#a1a6ad}
.fp-follow-provider-notice:hover{background:#fafafa}

.fp-followed-provider-list{display:block;margin-top:0;border:1px solid #e7e9ed;background:#fff}
.fp-followed-provider{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 12px;border:0;border-top:1px solid #eef0f2;text-decoration:none!important;color:#333!important}
.fp-followed-provider-list-head + .fp-followed-provider{border-top:0}
.fp-followed-provider img{width:42px!important;height:42px!important;border-radius:0!important;object-fit:cover!important}
.fp-followed-provider span{display:flex;flex-direction:column;gap:2px;min-width:0}
.fp-followed-provider strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.fp-followed-provider small{font-size:11px;color:#777}
.fp-followed-provider:after{content:"›";font-size:20px;line-height:1;color:#a1a6ad}
.fp-followed-provider:hover{border-color:#eef0f2;background:#fafafa}

@media(max-width:767px){
  .fp-follow-provider-notice{grid-template-columns:42px minmax(0,1fr) 7px 16px;gap:9px;padding:8px}
  .fp-follow-provider-notice.is-unread{padding-left:5px}
  .fp-follow-notice-thumb{width:42px;height:42px}
}

/* =========================================================
   FairPartz 15.5.157 – Gefolgte Anbieter 70/30 Dashboard
========================================================= */
.fp-following-overview{width:100%}
.fp-following-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px;padding:13px 16px;border:1px solid #e6e9ed;background:#fff}
.fp-following-summary strong{font-size:15px;font-weight:600;color:#222}
.fp-following-summary span{font-size:12px;color:#777;text-align:right}

.fp-following-columns{display:grid;grid-template-columns:minmax(0,7fr) minmax(250px,3fr);gap:16px;align-items:start}
.fp-following-new-parts,
.fp-following-providers{min-width:0;border:1px solid #e6e9ed;background:#fff}
.fp-following-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e9ebee}
.fp-following-panel-head h2{margin:0 0 3px!important;font-size:17px!important;line-height:1.3!important;font-weight:500!important;color:#222}
.fp-following-panel-head p{margin:0!important;font-size:11px!important;line-height:1.4!important;color:#777}
.fp-following-count{flex:0 0 auto;min-width:24px;height:24px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e0e3e7;background:#fff;font-size:11px;color:#555}

.fp-following-new-parts .fp-follow-provider-notices{margin:0;padding:0;border:0}
.fp-following-new-parts .fp-follow-provider-notice{min-height:62px}
.fp-following-providers .fp-followed-provider-list{margin:0;border:0}
.fp-following-providers .fp-followed-provider{grid-template-columns:40px minmax(0,1fr) auto;padding:10px 12px}
.fp-following-providers .fp-followed-provider img{width:40px!important;height:40px!important}
.fp-following-providers .fp-followed-provider strong{font-size:12px}
.fp-following-providers .fp-followed-provider small{font-size:10px}

.fp-following-empty{display:flex;min-height:160px;padding:24px;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center}
.fp-following-empty strong{font-size:14px;font-weight:500;color:#333}
.fp-following-empty span{max-width:430px;font-size:11px;line-height:1.5;color:#888}
.fp-following-empty-small{min-height:120px;padding:18px}

@media(max-width:900px){
  .fp-following-columns{grid-template-columns:1fr}
  .fp-following-summary{align-items:flex-start;flex-direction:column;gap:4px}
  .fp-following-summary span{text-align:left}
}

/* FairPartz 15.5.167 – nicht verfügbare Anzeigen */
.fp-unavailable-advert-page{width:min(1170px,calc(100% - 32px));margin:38px auto 60px}
.fp-unavailable-advert-card{padding:44px 28px;text-align:center;border:1px solid #e6e9ed;background:#fff}
.fp-unavailable-icon{width:44px!important;height:44px!important;font-size:44px!important;line-height:44px!important;color:#ff0038}
.fp-unavailable-advert-card h1{margin:14px 0 8px;font-size:27px;font-weight:500;color:#222}
.fp-unavailable-advert-card p{margin:0;color:#6f7378;font-size:14px}
.fp-unavailable-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.fp-unavailable-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;text-decoration:none!important;font-size:13px;font-weight:500}
.fp-unavailable-primary{background:#ff0038;color:#fff!important;border:1px solid #ff0038}
.fp-unavailable-secondary{background:#fff;color:#333!important;border:1px solid #dfe2e6}
.fp-unavailable-more{margin-top:22px;padding:22px;border:1px solid #e6e9ed;background:#fff}
.fp-unavailable-more h2{margin:0 0 16px;font-size:19px;font-weight:500}
.fp-unavailable-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.fp-unavailable-item{display:block;color:#222!important;text-decoration:none!important;border:1px solid #eceef1;background:#fff}
.fp-unavailable-thumb{display:block;aspect-ratio:4/3;background:#f4f5f6;overflow:hidden}
.fp-unavailable-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.fp-unavailable-item strong{display:block;padding:10px 11px;font-size:12px;line-height:1.4;font-weight:500}
@media(max-width:800px){.fp-unavailable-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-unavailable-advert-card h1{font-size:22px}}
@media(max-width:480px){.fp-unavailable-advert-page{width:calc(100% - 20px);margin-top:20px}.fp-unavailable-grid{grid-template-columns:1fr}.fp-unavailable-actions{flex-direction:column}.fp-unavailable-actions a{width:100%}}

/* 15.5.169 unavailable advert recommendations */
.fp-unavailable-item-body{display:block;padding:10px 11px 12px}
.fp-unavailable-item-body strong{padding:0!important;font-size:13px!important;line-height:1.4}
.fp-unavailable-vehicle{display:block;margin-top:6px;color:#777;font-size:12px;line-height:1.35}
.fp-unavailable-price{display:block;margin-top:8px;color:#222;font-size:15px;font-weight:600}
.fp-unavailable-similar{margin-top:18px}
.fp-unavailable-browse-more{text-align:center;margin-top:20px}
.fp-unavailable-browse-more a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;text-decoration:none!important;font-size:13px;font-weight:500}

/* FairPartz 15.5.221 – Business Support Center */
.fp-support-center{max-width:1100px}.fp-support-intro{margin-bottom:16px;padding:20px}.fp-support-intro h2{margin:0 0 6px}.fp-support-intro p{margin:0;color:#6f7378}.fp-support-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px}.fp-support-form-card,.fp-support-list-card,.fp-support-reply,.fp-support-ticket-head{padding:20px}.fp-support-form-card h3,.fp-support-list-card h3,.fp-support-reply h3{margin:0 0 16px}.fp-support-form-card label{display:block;margin:0 0 14px;font-size:12px;font-weight:600;color:#333}.fp-support-form-card input,.fp-support-form-card select,.fp-support-form-card textarea,.fp-support-reply textarea{display:block;width:100%;margin-top:6px;border:1px solid #dfe2e6;background:#fff;padding:10px 12px;font:inherit;box-sizing:border-box}.fp-support-primary{border:1px solid #ff0038!important;background:#ff0038!important;color:#fff!important;min-height:42px;padding:0 18px;font-weight:600;cursor:pointer}.fp-support-list{border:1px solid #eceef1}.fp-support-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-top:1px solid #eceef1;color:#222!important;text-decoration:none!important}.fp-support-list>a:first-child{border-top:0}.fp-support-list>a>span{display:flex;flex-direction:column;min-width:0}.fp-support-list strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fp-support-list small{margin-top:3px;color:#858a90;font-size:10px}.fp-support-status{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 8px;border:1px solid #dfe2e6;background:#fff;font-size:10px;font-style:normal;color:#555}.fp-support-status.is-new{border-color:#ff0038;color:#ff0038}.fp-support-status.is-answered{border-color:#79a86b;color:#527a47}.fp-support-status.is-closed{color:#8a8f95;background:#f6f7f8}.fp-support-success{margin:0 0 14px;padding:10px 13px;border-left:3px solid #ff0038;background:#fff}.fp-support-empty{color:#858a90}.fp-support-back{display:inline-block;margin:0 0 12px;color:#555!important;text-decoration:none!important}.fp-support-ticket-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}.fp-support-ticket-head small{color:#888}.fp-support-ticket-head h2{margin:3px 0 4px}.fp-support-ticket-head p{margin:0;color:#777}.fp-support-thread{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.fp-support-message{max-width:82%;padding:14px 16px;border:1px solid #e5e7ea;background:#fff}.fp-support-message.is-business{align-self:flex-end}.fp-support-message.is-support{align-self:flex-start;border-left:3px solid #ff0038}.fp-support-message-meta{display:flex;justify-content:space-between;gap:18px;margin-bottom:7px;font-size:11px}.fp-support-message-meta span{color:#92969b}.fp-support-reply textarea{margin-bottom:12px}@media(max-width:800px){.fp-support-grid{grid-template-columns:1fr}.fp-support-message{max-width:94%}.fp-support-ticket-head{flex-direction:column}}

/* FairPartz 15.5.222 – Support Center UI aligned with Nachrichten */
.fp-support-center-v222{max-width:none}
.fp-support-shell{display:grid;grid-template-columns:36% 64%;min-height:650px;border:1px solid #e2e5e9;background:#fff}
.fp-support-sidebar{min-width:0;border-right:1px solid #e2e5e9;background:#fff}
.fp-support-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:82px;padding:16px;border-bottom:1px solid #e2e5e9}
.fp-support-sidebar-head h2{margin:0;font-size:20px;font-weight:500}.fp-support-sidebar-head p{margin:4px 0 0;color:#858a90;font-size:11px}
.fp-support-new-toggle{flex:0 0 auto;min-height:42px;padding:0 14px;border:1px solid #ff0038;background:#ff0038;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.fp-support-new-panel{padding:16px;border-bottom:1px solid #e2e5e9;background:#fafbfc}.fp-support-new-panel[hidden]{display:none!important}
.fp-support-new-panel label{display:block;margin-bottom:12px;font-size:11px;font-weight:600}.fp-support-new-panel input,.fp-support-new-panel select,.fp-support-new-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:10px 11px;border:1px solid #dfe2e6;background:#fff;font:inherit}
.fp-support-new-actions{display:flex;justify-content:flex-end;gap:8px}.fp-support-new-cancel{min-height:42px;padding:0 14px;border:1px solid #dfe2e6;background:#fff;color:#444;cursor:pointer}
.fp-support-center-v222 .fp-support-success{margin:0;padding:10px 16px;border:0;border-bottom:1px solid #e2e5e9;background:#fff7f9;color:#555}
.fp-support-center-v222 .fp-support-list{border:0}.fp-support-center-v222 .fp-support-list>a{min-height:68px;padding:12px 14px;border-top:0;border-bottom:1px solid #eceef1}.fp-support-center-v222 .fp-support-list>a.is-active{background:#fff0f3;border-left:3px solid #ff0038;padding-left:11px}.fp-support-center-v222 .fp-support-list strong{font-size:12px}.fp-support-center-v222 .fp-support-list small{font-size:10px}.fp-support-center-v222 .fp-support-empty{padding:18px;margin:0}
.fp-support-conversation{display:flex;min-width:0;min-height:650px;flex-direction:column;background:#fbfbfc}
.fp-support-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px;padding:0 20px;border-bottom:1px solid #e2e5e9;background:#fff}.fp-support-conversation-head>div{display:flex;min-width:0;flex-direction:column}.fp-support-conversation-head strong{font-size:14px}.fp-support-conversation-head small{margin-top:3px;color:#858a90;font-size:10px}
.fp-support-placeholder{display:flex;flex:1;align-items:center;justify-content:center;color:#8a8f95;font-size:13px}
.fp-support-center-v222 .fp-support-thread{flex:1;overflow:auto;gap:12px;margin:0;padding:22px;background:#fbfbfc}.fp-support-center-v222 .fp-support-message{max-width:76%;box-sizing:border-box}.fp-support-center-v222 .fp-support-message.is-business{background:#fff;border-color:#e2e5e9}.fp-support-center-v222 .fp-support-message.is-support{background:#fff;border-left:3px solid #ff0038}
.fp-support-composer{padding:14px 16px;border-top:1px solid #e2e5e9;background:#fff}.fp-support-composer form{display:flex;align-items:stretch;gap:8px}.fp-support-composer textarea{flex:1;min-height:44px;max-height:120px;resize:vertical;box-sizing:border-box;padding:11px 12px;border:1px solid #dfe2e6;background:#fff;font:inherit}.fp-support-composer .fp-support-primary{min-width:92px}.fp-support-closed-note{padding:16px;border-top:1px solid #e2e5e9;background:#fff;color:#858a90;text-align:center}
@media(max-width:900px){.fp-support-shell{grid-template-columns:1fr;min-height:0}.fp-support-sidebar{border-right:0;border-bottom:1px solid #e2e5e9}.fp-support-conversation{min-height:520px}.fp-support-sidebar-head{align-items:flex-start;flex-direction:column}.fp-support-new-toggle{width:100%}}

/* 15.5.224 support ticket open/delete fix */
.fp-support-head-actions{display:flex;align-items:center;gap:10px}.fp-support-delete-form{margin:0}.fp-support-delete{border:1px solid #ff0038;background:#fff;color:#ff0038;padding:7px 10px;font-size:11px;cursor:pointer}.fp-support-delete:hover{background:#ff0038;color:#fff}

/* FairPartz 15.5.230 – Support UI & image attachments */
.fp-support-center-v222 .fp-support-new-toggle{min-height:36px;padding:0 12px;font-size:11px}
.fp-support-head-actions{gap:6px}.fp-support-delete{min-height:34px;padding:0 12px;font-size:11px}
.fp-support-composer{padding:12px 14px}.fp-support-composer form{gap:8px;align-items:stretch}
.fp-support-composer textarea{min-height:44px;margin:0}
.fp-support-composer .fp-support-primary{min-width:78px;min-height:44px;padding:0 14px;font-size:11px}
.fp-support-image-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:72px;min-height:44px;margin:0!important;padding:0 10px;border:1px solid #dfe2e6;background:#fff;color:#555;font-size:11px;font-weight:500!important;cursor:pointer;box-sizing:border-box}
.fp-support-image-button input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none}
.fp-support-image-button .dashicons{width:16px;height:16px;font-size:16px;line-height:16px}
.fp-support-attachment{display:block;margin-top:10px}.fp-support-attachment img{display:block;max-width:280px;height:auto;border:1px solid #e2e5e9}
@media(max-width:600px){.fp-support-composer form{flex-wrap:wrap}.fp-support-image-button{min-width:72px}.fp-support-composer textarea{order:-1;flex-basis:100%}.fp-support-composer .fp-support-primary{flex:1}}

/* 15.5.231 — Support composer exakt auf die kompakte Nachrichtenleiste abstimmen */
.fp-marketplace-shell .fp-support-composer{
    padding:14px 16px !important;
}
.fp-marketplace-shell .fp-support-composer form{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) 92px !important;
    align-items:center !important;
    gap:8px !important;
}
.fp-marketplace-shell .fp-support-image-button,
.fp-marketplace-shell .fp-support-composer textarea,
.fp-marketplace-shell .fp-support-composer .fp-support-primary{
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
    box-sizing:border-box !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-image-button{
    width:72px !important;
    min-width:72px !important;
    padding:0 10px !important;
    justify-content:center !important;
}
.fp-marketplace-shell .fp-support-composer textarea{
    width:100% !important;
    padding:16px 14px !important;
    resize:none !important;
    line-height:22px !important;
    overflow-y:auto !important;
}
.fp-marketplace-shell .fp-support-composer .fp-support-primary{
    width:92px !important;
    min-width:92px !important;
    padding:0 12px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}
@media(max-width:600px){
    .fp-marketplace-shell .fp-support-composer form{
        grid-template-columns:64px minmax(0,1fr) 76px !important;
        flex-wrap:nowrap !important;
    }
    .fp-marketplace-shell .fp-support-image-button{width:64px !important;min-width:64px !important;}
    .fp-marketplace-shell .fp-support-composer .fp-support-primary{width:76px !important;min-width:76px !important;}
    .fp-marketplace-shell .fp-support-composer textarea{order:initial !important;flex-basis:auto !important;}
}

/* 15.5.235 — Support conversation layout wie Nachrichten: Thread gross, Composer kompakt unten */
.fp-marketplace-shell .fp-support-conversation{
    display:flex !important;
    flex-direction:column !important;
    min-height:650px !important;
    height:650px !important;
}
.fp-marketplace-shell .fp-support-conversation-head{
    flex:0 0 auto !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-thread{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-composer{
    flex:0 0 auto !important;
    padding:14px 16px !important;
    margin:0 !important;
    border-top:1px solid #e2e5e9 !important;
    background:#fff !important;
}
.fp-marketplace-shell .fp-support-composer form{
    grid-template-columns:72px minmax(0,1fr) 92px !important;
    gap:8px !important;
    align-items:center !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-image-button,
.fp-marketplace-shell .fp-support-composer textarea,
.fp-marketplace-shell .fp-support-composer .fp-support-primary{
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
}
.fp-marketplace-shell .fp-support-composer textarea{
    padding:9px 12px !important;
    line-height:22px !important;
}
@media(max-width:900px){
    .fp-marketplace-shell .fp-support-conversation{height:520px !important;min-height:520px !important;}
}

/* 15.5.236 — Support composer wrapper hard-fix: kompakter Footer wie Nachrichten */
.fp-marketplace-shell .fp-support-conversation{
    position:relative !important;
    overflow:hidden !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-thread{
    padding-bottom:88px !important;
}
.fp-marketplace-shell .fp-support-composer{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:auto !important;
    height:70px !important;
    min-height:70px !important;
    max-height:70px !important;
    box-sizing:border-box !important;
    padding:14px 16px !important;
    margin:0 !important;
    display:block !important;
}
.fp-marketplace-shell .fp-support-composer form{
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-image-button,
.fp-marketplace-shell .fp-support-composer textarea,
.fp-marketplace-shell .fp-support-composer .fp-support-primary{
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}

/* 15.5.237 — Support conversation structural grid fix (no absolute composer) */
.fp-marketplace-shell .fp-support-conversation{
    display:grid !important;
    grid-template-rows:auto minmax(0,1fr) auto !important;
    height:650px !important;
    min-height:650px !important;
    max-height:650px !important;
    position:static !important;
    overflow:hidden !important;
    align-self:start !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-thread{
    grid-row:2 !important;
    min-height:0 !important;
    overflow-y:auto !important;
    padding:22px !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-composer{
    grid-row:3 !important;
    position:static !important;
    inset:auto !important;
    width:auto !important;
    height:70px !important;
    min-height:70px !important;
    max-height:70px !important;
    box-sizing:border-box !important;
    padding:14px 16px !important;
    margin:0 !important;
    border-top:1px solid #e2e5e9 !important;
    background:#fff !important;
}
.fp-marketplace-shell .fp-support-composer form{
    display:grid !important;
    grid-template-columns:72px minmax(0,1fr) 92px !important;
    align-items:center !important;
    gap:8px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-image-button,
.fp-marketplace-shell .fp-support-composer textarea,
.fp-marketplace-shell .fp-support-composer .fp-support-primary{
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    box-sizing:border-box !important;
}
@media(max-width:900px){
    .fp-marketplace-shell .fp-support-conversation{
        height:520px !important;
        min-height:520px !important;
        max-height:520px !important;
    }
}


/* 15.5.238 — Support shell height ownership fix.
   The shell now owns the complete conversation height; the right column fills it.
   This prevents a taller parent/grid row from leaving white space below the composer. */
.fp-marketplace-shell .fp-support-center-v222 .fp-support-shell{
    height:650px !important;
    min-height:650px !important;
    max-height:650px !important;
    align-items:stretch !important;
    overflow:hidden !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-sidebar{
    height:100% !important;
    min-height:0 !important;
    overflow-y:auto !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-conversation{
    display:grid !important;
    grid-template-rows:70px minmax(0,1fr) 70px !important;
    height:100% !important;
    min-height:0 !important;
    max-height:none !important;
    align-self:stretch !important;
    overflow:hidden !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-conversation-head{
    grid-row:1 !important;
    min-height:0 !important;
    height:70px !important;
    box-sizing:border-box !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-thread{
    grid-row:2 !important;
    min-height:0 !important;
    height:auto !important;
    overflow-y:auto !important;
    padding:22px !important;
    margin:0 !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-composer{
    grid-row:3 !important;
    position:static !important;
    height:70px !important;
    min-height:70px !important;
    max-height:70px !important;
    padding:14px 16px !important;
    margin:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}
.fp-marketplace-shell .fp-support-center-v222 .fp-support-composer form{
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}
@media(max-width:900px){
    .fp-marketplace-shell .fp-support-center-v222 .fp-support-shell{
        height:auto !important;
        min-height:0 !important;
        max-height:none !important;
        overflow:visible !important;
    }
    .fp-marketplace-shell .fp-support-center-v222 .fp-support-sidebar{
        height:auto !important;
        overflow:visible !important;
    }
    .fp-marketplace-shell .fp-support-center-v222 .fp-support-conversation{
        height:520px !important;
        min-height:520px !important;
        max-height:520px !important;
    }
}

/* 15.5.250 – personalized homepage recommendations */
.fp-home-recommendations{background:#fff;padding:38px 20px 46px;margin:0;clear:both}.fp-home-recommendations-inner{max-width:1200px;margin:0 auto}.fp-home-recommendations-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.fp-home-recommendations-head h2{margin:0!important;font-size:24px!important;font-weight:600!important}.fp-home-recommendations-head a{font-size:13px;text-decoration:none}.fp-home-recommendations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fp-home-recommendation-card{min-width:0}.fp-home-recommendation-image{display:block;aspect-ratio:4/3;background:#f4f5f6;overflow:hidden;border-radius:3px}.fp-home-recommendation-image img{width:100%;height:100%;object-fit:cover;display:block}.fp-home-recommendation-image .dashicons{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:36px;color:#bbb}.fp-home-recommendation-body{padding-top:9px}.fp-home-recommendation-location{font-size:11px;color:#888;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fp-home-recommendation-card h3{font-size:14px!important;line-height:1.3!important;font-weight:400!important;margin:0 0 4px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px}.fp-home-recommendation-card h3 a{color:inherit;text-decoration:none}.fp-home-recommendation-price{font-size:15px;font-weight:700;color:#222}@media(max-width:900px){.fp-home-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.fp-home-recommendations{padding:28px 15px 34px}.fp-home-recommendations-grid{gap:12px}.fp-home-recommendations-head h2{font-size:21px!important}}


/* 15.5.251 – neutral highlighted listing CI */
body .advert-grid.advert-highlight,
body .advert-grid.advert-highlight .white-block-content,
body .advert-grid.advert-highlight .bottom-advert-meta,
body .advert-grid.advert-highlight .top-advert-meta {
    background:#fff !important;
}
body .advert-grid.advert-highlight {
    box-shadow:0 3px 12px rgba(20,30,40,.07) !important;
}
\n\n/* 15.5.253 – Adifier -> FairPartz card handoff + neutral highlight state */\nbody .advert-grid.advert-highlight,\nbody .advert-grid.advert-highlight::before,\nbody .advert-grid.advert-highlight::after,\nbody .advert-grid.advert-highlight > .white-block-content,\nbody .advert-grid.advert-highlight .white-block-content,\nbody .advert-grid.advert-highlight .top-advert-meta,\nbody .advert-grid.advert-highlight .bottom-advert-meta,\nbody .advert-item.advert-highlight,\nbody .advert-item.advert-highlight::before,\nbody .advert-item.advert-highlight::after,\nbody .advert-item.advert-highlight > .white-block-content {\n    background:#fff !important;\n    background-color:#fff !important;\n    background-image:none !important;\n}\n/* The promotion survives the DOM conversion as FairPartz state, without an ad-like badge. */\nbody .fp-marketplace-card-v2.fp-is-highlighted,\nbody .fp-unified-listing-card.fp-is-highlighted .fp-unified-adifier-view,\nbody .fp-unified-adifier-view.fp-is-highlighted {\n    background:#fff !important;\n    background-image:none !important;\n    box-shadow:0 4px 16px rgba(20,30,40,.09) !important;\n}\n/* On browse/archive pages never expose the legacy Adifier card while FairPartz is building it. */\nbody.post-type-archive-advert .advert-grid:not(.fp-list-card-enhanced),\nbody.tax-advert-category .advert-grid:not(.fp-list-card-enhanced),\nbody.tax-advert-location .advert-grid:not(.fp-list-card-enhanced),\nhtml.fp-browse-ads-loading .advert-grid:not(.fp-list-card-enhanced) {\n    opacity:0 !important;\n}\nbody.post-type-archive-advert .advert-grid.fp-list-card-enhanced,\nbody.tax-advert-category .advert-grid.fp-list-card-enhanced,\nbody.tax-advert-location .advert-grid.fp-list-card-enhanced,\nhtml.fp-browse-ads-loading .advert-grid.fp-list-card-enhanced {\n    opacity:1 !important;\n}\n

/* 15.5.254 – browse results handoff before first paint.
 * Hide the legacy Adifier result cards themselves until the FairPartz unified
 * view has been built. This covers list/grid shells used by different Adifier
 * archive/AJAX responses and avoids the legacy-card flash. */
html.fp-browse-ads-loading .ajax-search .advert-list,
html.fp-browse-ads-loading .ajax-search .advert-grid,
html.fp-browse-ads-loading .ajax-search .advert-box,
html.fp-browse-ads-loading .ajax-search .af-item,
html.fp-browse-ads-loading .ajax-search article {
    visibility: hidden !important;
}
html.fp-browse-results-ready .ajax-search .advert-list,
html.fp-browse-results-ready .ajax-search .advert-grid,
html.fp-browse-results-ready .ajax-search .advert-box,
html.fp-browse-results-ready .ajax-search .af-item,
html.fp-browse-results-ready .ajax-search article {
    visibility: visible !important;
}

/* Highlight is a FairPartz state now. Never inherit Adifier's yellow shell. */
body .advert-list.advert-highlight,
body .advert-list.advert-highlight::before,
body .advert-list.advert-highlight::after,
body .advert-list.advert-highlight .white-block-content,
body .advert-box.advert-highlight,
body .advert-box.advert-highlight .white-block-content,
body .fp-unified-listing-card.fp-is-highlighted,
body .fp-unified-listing-card.fp-is-highlighted > .fp-unified-adifier-view,
body .fp-unified-adifier-view.fp-is-highlighted {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}
body .fp-unified-listing-card.fp-is-highlighted > .fp-unified-adifier-view,
body .fp-unified-adifier-view.fp-is-highlighted {
    box-shadow: 0 4px 16px rgba(20,30,40,.09) !important;
}
