.proerty-item .item-thumb {
    position: relative;
}

.item-thumb .duplicate-agency-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 20px);
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.16);
    color: #1f2222;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.item-thumb .duplicate-agency-badge .fa {
    color: #e5a900;
    font-size: 14px;
}

.duplicate-offers-section {
    margin-top: 24px;
}

.duplicate-offers-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid #dfe3e6;
    border-bottom: 1px solid #dfe3e6;
}

.duplicate-offers-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.duplicate-offers-table th {
    padding: 10px 12px;
    border-bottom: 1px solid #dfe3e6;
    background: #f7f8f8;
    color: #5c6267;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    text-transform: uppercase;
}

.duplicate-offers-table th:last-child {
    width: 34%;
    text-align: right;
}

.duplicate-offers-table td {
    padding: 12px;
    border-bottom: 1px solid #e7eaec;
    color: #1f2222;
    vertical-align: middle;
}

.duplicate-offers-table tbody tr:last-child td {
    border-bottom: 0;
}

.duplicate-offers-table tbody tr:hover td {
    background: #fafafa;
}

.duplicate-offers-table tbody tr.is-current td:first-child {
    box-shadow: inset 3px 0 0 #fdc600;
}

.duplicate-offer-agency {
    display: flex;
    align-items: center;
    min-width: 0;
}

.duplicate-offer-agency-logo,
.duplicate-offer-agency-fallback {
    flex: 0 0 64px;
    width: 64px;
    height: 42px;
    margin-right: 12px;
    border: 1px solid #e0e4e7;
    border-radius: 4px;
    background: #fff;
}

.duplicate-offer-agency-logo {
    object-fit: contain;
    padding: 3px;
}

.duplicate-offer-agency-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f4;
    color: #555b60;
    font-size: 13px;
    font-weight: 700;
}

.duplicate-offer-agency-copy {
    min-width: 0;
}

.duplicate-offer-agency-name,
.duplicate-offer-price {
    color: #1f2222;
    font-weight: 700;
    text-decoration: none;
}

.duplicate-offer-agency-name {
    display: block;
    overflow-wrap: anywhere;
}

.duplicate-offer-agency-name:hover,
.duplicate-offer-agency-name:focus,
.duplicate-offer-price:hover,
.duplicate-offer-price:focus {
    color: #b48200;
    text-decoration: none;
}

.duplicate-offer-current {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #fff3c2;
    color: #614c00;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.duplicate-offers-table td:last-child {
    text-align: right;
}

.duplicate-offer-price {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 17px;
    white-space: nowrap;
}

.duplicate-offer-price .fa {
    color: #8b9195;
    font-size: 14px;
}

@media (max-width: 520px) {
    .duplicate-offers-table th,
    .duplicate-offers-table td {
        padding: 10px 8px;
    }

    .duplicate-offers-table th:last-child {
        width: 38%;
    }

    .duplicate-offer-agency-logo,
    .duplicate-offer-agency-fallback {
        flex-basis: 46px;
        width: 46px;
        height: 36px;
        margin-right: 8px;
    }

    .duplicate-offer-agency-name {
        font-size: 13px;
    }

    .duplicate-offer-price {
        gap: 5px;
        font-size: 14px;
    }
}
