/* =========================================================
   RCFlug Börse – Inserate Liste
   Für index.php / Listenansicht
   ========================================================= */

/* Einheitliche Kartenoptik für Inserate */
.boerse-list-link {
    display: block;
    color: inherit;
    margin-bottom: 30px;
}

.boerse-list-link:hover,
.boerse-list-link:focus {
    color: inherit;
    text-decoration: none;
}

.list-card {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding: 0;
    border: 1px solid rgba(22, 38, 55, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(28, 44, 64, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.boerse-list-link:hover .list-card,
.boerse-list-link:focus .list-card {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(28, 44, 64, 0.12);
    border-color: rgba(31, 111, 178, 0.18);
}

.product.product-list {
    background: #fff;
}

.product.product-list .unit-body {
    width: auto;
    padding: 0;
}

.product.product-list .inset-sm-left-15 {
    padding: 20px 22px 18px 22px;
    margin-left: 0 !important;
}

.product.product-list .product-image {
    position: relative;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.product.product-list .product-image-frame {
    position: relative;
    overflow: hidden;
    background: #eef3f8;
    border-radius: 12px;
}


.product-border {
    border: 0 !important;
}

/* Bildbereich */
.product.product-list .product-image-area {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #f3f4f6;
    border-radius: 12px;
}

.product.product-list .product-image-area.is-placeholder {
    object-fit: contain;
    padding: 22px;
/*    background: #0f1722;   */
}

/* Label im Bild */
.product.product-list .product-label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
    white-space: nowrap;
}

.product.product-list .label-success {
    background: linear-gradient(135deg, #2ea86d 0%, #3dc081 100%);
    color: #fff;
}

.product.product-list .label-primary {
    background: linear-gradient(135deg, #1f6fb2 0%, #2d89d0 100%);
    color: #fff;
}

.product.product-list .label-danger {
    background: linear-gradient(135deg, #c84a4a 0%, #e06464 100%);
    color: #fff;
}

/* Titel / Meta */
.product-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 800;
    color: #223446;
    letter-spacing: -0.03em;
}

.product-meta-top {
    margin-bottom: 6px;
}

.product-brand {
    margin: 0;
    color: #6d7c8a;
    font-size: 14px;
}

.product-condition {
    margin-bottom: 8px;
    color: #425466;
    font-size: 14px;
}

.product-seller-meta {
    margin-bottom: 12px;
    color: #516171;
    font-size: 14px;
    line-height: 1.5;
}

.product-seller-meta strong {
    color: #243447;
}

.product-meta-sep {
    display: inline-block;
    margin: 0 6px;
    color: #9ba7b3;
}

.product-seller-meta i {
    margin-left: 8px;
    color: #5d7185;
}

.product-delivery-text {
    margin-left: 8px;
    color: #5d7185;
    font-size: 13px;
}

/* Intro */
.product-desc {
    margin: 0 0 14px 0;
    color: #33475b;
    font-size: 15px;
    line-height: 1.6;
}

/* Preis */
.product.product-list .product-price {
    margin-top: 0 !important;
    margin-bottom: 0;
}

.product.product-list .product-price-new {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #16283a !important;
}

.product.product-list .product-price .text-base,
.product.product-list .product-price span.product-price.text-base {
    display: inline-block;
    margin-left: 8px;
    color: #718090;
    font-size: 14px;
    font-weight: 600;
}

/* Datumstrenner */
.boerse-list-section {
    padding-top: 8px;
}

.boerse-date-separator {
    clear: both;
    margin: 0 0 20px 0;
    padding: 0;
}

.boerse-list-link + .boerse-date-separator {
    margin-top: 30px;
}

.boerse-date-separator h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #223446;
    letter-spacing: -0.02em;
}

/* Kompakte Reactions */
.psc-reactions-compact {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
    font-size: 13px;
    color: #667684;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.psc-reactions-compact-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7fafc;
    border: 1px solid #e4ebf2;
}

.psc-reactions-compact-item strong {
    font-weight: 800;
    color: #344657;
}

/* Alte .well-Pagination neutralisieren */
p.well,
.well {
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* Optionale Thumb-Helper */
.psc-thumb {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.06);
}

.psc-thumb--ph {
    filter: saturate(0.9);
}

.psc-thumb--ph::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: blur(10px);
    opacity: 0.55;
}

.psc-thumb__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

.psc-thumb__text {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Whitespace vom Template etwas beruhigen */
.offset-top-25 {
    margin-top: 0 !important;
}

/* Desktop */
@media (min-width: 768px) {
    .product.product-list .product-image {
        width: 320px;
        min-width: 320px;
    }
}

@media (min-width: 992px) {
    .product.product-list .product-image {
        width: 360px;
        min-width: 360px;
    }

    .product.product-list .product-image-area {
        height: 220px;
        border-radius: 12px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .list-card {
        border-radius: 16px;
    }

    .product.product-list .product-image-area {
        height: 210px;
        border-radius: 12px;
    }

    .product.product-list .inset-sm-left-15 {
        padding: 16px 16px 15px 16px;
    }

    .product-title {
        font-size: 21px;
    }

    .product.product-list .product-price-new {
        font-size: 24px;
    }

    .product-seller-meta i {
        margin-left: 6px;
    }

    .psc-reactions-compact {
        gap: 8px;
    }
}