/* Kuulaportti Marketplace
   Page-specific marketplace styles. Keep generic Bootstrap/Kuulaportti classes in markup and only keep marketplace-only rules here. */

.marketplace-card {
    transition: transform .12s ease, box-shadow .12s ease;
    overflow: hidden;
}
.marketplace-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .35rem 1rem rgba(0,0,0,.12) !important;
}
.marketplace-card .card-img-top {
    height: 300px;
    object-fit: cover;
    background: rgba(0,0,0,.04);
}
.kp-price {
    font-size: 1.15rem;
    font-weight: 700;
}
.kp-filter-card {
    position: sticky;
    top: 78px;
}
.kp-line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kp-market-grid {
    min-height: 280px;
}
.kp-market-grid .grid-item {
    float: left;
}
.kp-media-badge {
    position: absolute;
    top: .55rem;
    right: .55rem;
    z-index: 7;
}
.kp-view-badge {
    position: absolute;
    left: .55rem;
    bottom: .55rem;
    z-index: 7;
}
.kp-fav-btn {
    position: absolute;
    right: .55rem;
    bottom: .55rem;
    z-index: 9;
    box-shadow: 0 .2rem .5rem rgba(0,0,0,.18);
}
.kp-overlay-pill {
    height: 28px;
    min-width: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    padding: .25rem .55rem !important;
    font-size: .75rem !important;
    line-height: 1 !important;
    color: #fff !important;
    border: 0 !important;
    background: rgba(49,58,70,.78) !important;
    backdrop-filter: blur(2px);
}
.kp-fav-btn.kp-overlay-pill {
    height: 28px;
}
.kp-fav-btn .text-danger {
    color: #ff6b81 !important;
}
.kp-fav-btn .small {
    font-size: .75rem;
}
.kp-card-badges {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 5;
}
.kp-card-badges .badge {
    height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}
.badge-info.kp-overlay-pill {
    background: rgba(57,175,209,.92) !important;
}
.badge-success.kp-overlay-pill {
    background: rgba(10,207,151,.92) !important;
}
.kp-card-status {
    font-weight: 500;
}
.kp-category-chip {
    border-radius: 999px;
}
.kp-category-chip.active {
    border-color: #727cf5 !important;
}
.kp-market-seller {
    background: rgba(152,166,173,.08);
    border-radius: .35rem;
    padding: .3rem .4rem;
    overflow: hidden;
}
.kp-seller-popover .badge,
.kp-seller-badges .badge {
    display: inline-block;
}
.kp-seller-popover .badge {
    margin: 0 .25rem .25rem 0;
}
.kp-card-carousel .carousel-control-prev,
.kp-card-carousel .carousel-control-next {
    width: 16%;
    z-index: 4;
}
.kp-empty-market {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kp-seller-avatar {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

/* Listing detail */
.kp-product-main {
    min-height: 420px;
    object-fit: contain;
    background: rgba(0,0,0,.04);
}
.kp-thumb {
    height: 82px;
    object-fit: cover;
    cursor: pointer;
}
.kp-chat-box {
    max-height: 420px;
    overflow-y: auto;
    min-height: 180px;
}
.kp-msg {
    max-width: 78%;
    border-radius: .75rem;
    padding: .65rem .8rem;
    box-shadow: 0 .05rem .25rem rgba(0,0,0,.05);
}
.kp-msg-me {
    margin-left: auto;
}
.kp-seller-panel .avatar-lg {
    width: 72px;
    height: 72px;
}
.kp-sticky {
    position: sticky;
    top: 80px;
}
.kp-description img {
    max-width: 100%;
    height: auto;
}
.kp-title-fav {
    border-radius: 999px;
}
.kp-seller-panel .kp-seller-badge .badge {
    background: rgba(114,124,245,.12) !important;
    color: #727cf5 !important;
    border: 1px solid rgba(114,124,245,.22);
}
.kp-report-link,
.kp-offer-link {
    font-size: .85rem;
}
.kp-seller-badges > div {
    display: inline-block;
    margin: 0 .25rem .25rem 0;
}
.kp-seller-tools .btn {
    white-space: normal;
}
.js-star,
.js-star-half {
    cursor: pointer;
}
.kp-no-image-placeholder {
    min-height: 420px;
    border: 1px dashed rgba(152,166,173,.55);
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #98a6ad;
    background: rgba(152,166,173,.08);
}
.kp-no-image-placeholder i {
    font-size: 4rem;
}
.kp-no-image-placeholder span {
    font-size: .85rem;
}

/* Listing editor */
.kp-media-item {
    position: relative;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .25rem;
    overflow: hidden;
    background: rgba(0,0,0,.03);
    min-height: 190px;
}
.kp-media-item img,
.kp-media-item video {
    width: 100%;
    height: 190px;
    object-fit: contain;
    display: block;
    background: rgba(0,0,0,.04);
}
.kp-media-actions {
    position: absolute;
    right: .4rem;
    bottom: .4rem;
    top: auto;
    box-shadow: 0 .15rem .45rem rgba(0,0,0,.12);
}
.kp-sort-handle {
    cursor: move;
}
.kp-ai-suggestion {
    border-left: 3px solid #39afd1;
}
.kp-required small {
    font-size: 11px;
}
.kp-help-box {
    border-left: 3px solid #727cf5;
}
.dz-message {
    padding: 2rem 1rem;
}
.kp-dropzone {
    border: 2px dashed rgba(152,166,173,.45);
    border-radius: .35rem;
    background: rgba(152,166,173,.08);
    min-height: 150px;
    cursor: pointer;
}
.dz-preview {
    display: none !important;
}
.kp-select2-team img {
    width: 22px;
    height: 22px;
    object-fit: cover;
}
.kp-form-section .header-title {
    letter-spacing: .01em;
}
.kp-guide-list li {
    margin-bottom: .25rem;
}
.kp-location-suggestions {
    position: absolute;
    z-index: 1040;
    width: 100%;
    max-height: 220px;
    overflow: auto;
}
.kp-location-suggestions .list-group-item {
    cursor: pointer;
}
.kp-extra-field.d-none {
    display: none !important;
}
.kp-mp-progress {
    height: 6px;
}
.mp-active-lang-label .img-flag {
    width: 18px;
    margin-top: -2px;
}
.mp-other-lang {
    cursor: pointer;
    opacity: .55;
    margin-left: .25rem;
}
.mp-other-lang:hover {
    opacity: 1;
}
.kp-media-sort-placeholder {
    border: 2px dashed #727cf5;
    border-radius: .25rem;
    min-height: 190px;
    background: rgba(114,124,245,.08);
}
.ui-sortable-helper {
    z-index: 2000 !important;
}

/* Marketplace tables/admin */
.dataTables_scrollTop {
    overflow-x: auto;
    overflow-y: hidden;
    height: 20px;
}
.dataTables_scrollTop > div {
    height: 20px;
}
.dataTables_filter {
    display: none;
}
#mp-my-listings-wrapper,
#mp-deals-wrapper {
    min-height: 300px !important;
}
#mp-my-listing-entries,
#mp-deals-entries {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: .5rem 0;
    width: 100%;
}
#mp-my-listing-entries .dataTables_length label,
#mp-deals-entries .dataTables_length label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .25rem;
    font-weight: 500;
}
#mp-my-listing-info,
#mp-deals-info {
    font-size: .85rem;
    color: #6c757d;
}
.dataTables_paginate ul {
    margin: .5rem 0 0 !important;
}
#mp-admin-listings .table-responsive,
#mp-admin-reports .table-responsive,
#mp-admin-products .table-responsive,
#mp-admin-promotions .table-responsive,
#mp-admin-moderators .table-responsive,
#mp-admin-categories .table-responsive,
#event-paid-table,
#event-promos-table {
    min-height: 260px;
}
.mp-admin-saved {
    color: #0acf97;
}
.mp-admin-deleted {
    opacity: .62;
    background: rgba(250,92,124,.08);
}
.mp-risk-badge {
    cursor: help;
}
.mp-admin-tall {
    min-height: 440px;
}
.mp-promo-remaining {
    font-size: 11px;
}

/* Compact marketplace cards in profile/team widgets */
.team-marketplace-grid .marketplace-card .card-img-top,
.profile-marketplace-card .marketplace-card .card-img-top {
    height: 220px;
    object-fit: cover;
}
.team-marketplace-grid .kp-overlay-pill,
.profile-marketplace-card .kp-overlay-pill {
    height: 26px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: .75rem;
}
.team-marketplace-grid .kp-view-badge,
.profile-marketplace-card .kp-view-badge {
    position: absolute;
    left: .55rem;
    bottom: .55rem;
    background: rgba(49,58,70,.78);
    color: #fff;
}
.team-marketplace-grid .kp-fav-badge,
.profile-marketplace-card .kp-fav-badge {
    position: absolute;
    right: .55rem;
    bottom: .55rem;
    background: rgba(49,58,70,.78);
    color: #fff;
}

@media (max-width: 991.98px) {
    .kp-filter-card {
        position: static;
        top: auto;
    }
    .marketplace-card .card-img-top {
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    .dataTables_paginate ul {
        justify-content: center !important;
    }
    .mp-my-table-actions .btn {
        margin-bottom: .25rem;
    }
}

@media (max-width: 575.98px) {
    #mp-media > [data-id] {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .kp-media-item {
        min-height: 250px;
    }
    .kp-media-item img,
    .kp-media-item video {
        height: 250px;
    }
    .kp-media-actions {
        position: static;
        display: flex;
        width: 100%;
        border-top: 1px solid rgba(0,0,0,.08);
        box-shadow: none;
    }
    .kp-media-actions .btn {
        flex: 1;
        border-radius: 0;
    }
    .kp-sort-handle {
        touch-action: none;
    }
}

/* Marketplace browse layout refinements */
.kp-market-topbar .kp-market-search,
.kp-market-toolbar {
    max-width: 100%;
}
.kp-market-actions .btn,
.kp-market-actions .btn-group {
    vertical-align: middle;
}
.kp-market-actions .dropdown-item {
    cursor: pointer;
}
.kp-market-filter-toggle {
    white-space: nowrap;
}
.kp-market-toolbar .card-body {
    min-height: 46px;
}
.kp-market-chip-row {
    min-width: 0;
}
.kp-market-layout.filters-collapsed #market-content-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.kp-market-grid-item {
    min-width: 0;
}
.kp-market-layout.filters-collapsed .kp-market-grid-item {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.min-width-0 {
    min-width: 0;
}
.kp-seller-name {
    display: inline-block;
}
.kp-seller-rating {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1;
    margin-left: .25rem;
}
.kp-seller-rating i {
    line-height: 1;
}
.kp-market-seller .btn-link:hover,
.kp-market-seller .btn-link:focus {
    text-decoration: none;
}
.kp-filter-card .select2-container {
    max-width: 100%;
}
.kp-filter-card .select2-container.kp-select2-compact .select2-selection--multiple {
    min-height: 38px !important;
    padding: 0 .45rem !important;
    border-color: rgba(152,166,173,.35) !important;
}
.kp-filter-card .select2-container.kp-select2-compact.kp-select2-empty .select2-selection--multiple {
    height: 38px !important;
    overflow: hidden !important;
}
.kp-filter-card .select2-container.kp-select2-compact .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.kp-filter-card .select2-container.kp-select2-compact.kp-select2-empty .select2-selection--multiple .select2-selection__rendered {
    height: 36px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}
.kp-filter-card .select2-container.kp-select2-compact .select2-search--inline {
    line-height: 1 !important;
    margin: 0 !important;
}
.kp-filter-card .select2-container.kp-select2-compact .select2-search__field {
    height: 28px !important;
    min-height: 28px !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 28px !important;
}
.kp-filter-card .select2-container.kp-select2-compact.kp-select2-empty .select2-search__field {
    margin-top: 4px !important;
    width: 100% !important;
}
.kp-filter-card .select2-container.kp-select2-compact .select2-selection__choice {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    line-height: 24px !important;
}

@media (max-width: 1199.98px) {
    .kp-market-layout.filters-collapsed .kp-market-grid-item {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 991.98px) {
    #market-content-col {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .kp-market-toolbar .d-flex.align-items-center.flex-wrap {
        align-items: flex-start !important;
    }
    .kp-market-chip-row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .15rem;
    }
    .kp-market-chip-row strong,
    .kp-category-chip {
        flex: 0 0 auto;
    }
    .kp-market-grid-item,
    .kp-market-layout.filters-collapsed .kp-market-grid-item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .kp-market-actions {
        text-align: left !important;
        display: flex;
        flex-wrap: wrap;
    }
    .kp-market-actions .btn-success {
        flex: 1 1 100%;
    }
    .kp-market-actions .btn:not(.dropdown-toggle),
    .kp-market-actions .btn-group {
        margin-bottom: .25rem !important;
    }
    .kp-market-actions .btn-group .btn {
        width: auto;
    }
    .kp-market-toolbar .kp-market-filter-toggle {
        flex: 0 0 auto;
    }
    .kp-market-chip-row {
        flex-basis: 100%;
        margin-top: .25rem;
    }
    .kp-market-grid-item,
    .kp-market-layout.filters-collapsed .kp-market-grid-item {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .marketplace-card .card-img-top {
        height: 280px;
    }
}

/* Marketplace QoL 2026-07-03 */
.kp-market-layout {
    position: relative;
}
.kp-filter-toggle-tab {
    position: absolute;
    top: 235px;
    left: calc(25% - 13px);
    z-index: 22;
    width: 28px;
    min-width: 28px;
    height: 68px;
    padding: 0;
    border-radius: 999px;
    box-shadow: 0 .25rem .8rem rgba(0,0,0,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.kp-filter-toggle-tab .kp-filter-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
    left: 0;
}
.kp-market-toolbar .card-body {
    min-height: 42px;
}
.kp-market-actions {
    white-space: nowrap;
}

/* Keep marketplace Select2 sizing aligned with Kuulaportti/Hyper defaults. Only compact multi-selects get extra rules. */
.select2-container.kp-select2-compact .select2-selection--multiple {
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 !important;
}
.select2-container.kp-select2-compact .select2-selection--multiple .select2-selection__rendered {
    min-height: calc(1.5em + .9rem) !important;
    padding: 0 .55rem !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}
.select2-container.kp-select2-compact .select2-search--inline {
    line-height: 1 !important;
}
.select2-container.kp-select2-compact .select2-search__field {
    min-height: 28px !important;
    height: 28px !important;
    margin: 3px 0 !important;
    line-height: 28px !important;
}
.select2-container.kp-select2-compact .select2-selection__choice {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}
.select2-container.kp-select2-compact.kp-select2-empty .select2-selection--multiple,
.select2-container.kp-select2-compact.kp-select2-empty .select2-selection--multiple .select2-selection__rendered {
    height: calc(1.5em + .9rem + 2px) !important;
    overflow: hidden !important;
}

.mp-my-nav .nav-link {
    white-space: nowrap;
}
.mp-table-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
}
.mp-table-thumb-sm {
    width: 44px;
    height: 44px;
    object-fit: cover;
}
.mp-message-center {
    border: 1px solid rgba(152,166,173,.25);
    border-radius: .25rem;
    overflow: hidden;
}
.mp-message-row {
    padding: .75rem;
    border-bottom: 1px solid rgba(152,166,173,.18);
    color: inherit;
    transition: background .12s ease;
}
.mp-message-row:last-child {
    border-bottom: 0;
}
.mp-message-row:hover,
.mp-message-row:focus {
    background: rgba(152,166,173,.10);
    color: inherit;
}
.mp-message-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    flex: 0 0 54px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .kp-filter-toggle-tab {
        left: calc(33.333333% - 13px);
    }
    .kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .kp-filter-toggle-tab {
        position: static;
        width: 100%;
        min-width: 0;
        height: auto;
        margin: 0 12px .75rem 12px;
        padding: .45rem .75rem;
        border-radius: .25rem;
        justify-content: center;
        box-shadow: none;
        order: -1;
    }
    .kp-filter-toggle-tab .kp-filter-toggle-text {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        overflow: visible;
        margin-left: .35rem;
    }
    .kp-filter-toggle-tab i {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .kp-market-actions {
        text-align: left !important;
        display: flex;
        flex-wrap: nowrap;
        gap: .35rem;
    }
    .kp-market-actions .kp-market-action-sell,
    .kp-market-actions .kp-market-action-my {
        flex: 1 1 0;
        margin-right: 0 !important;
    }
    .mp-my-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .mp-my-nav .nav-item {
        flex: 0 0 auto;
        min-width: 118px;
    }
    .mp-message-filter {
        display: flex;
        width: 100%;
    }
    .mp-message-filter .btn {
        flex: 1 1 auto;
    }
    .mp-message-thumb {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
}

/* Marketplace refinements 2026-07-03b */
#market-results-anchor {
    position: relative;
    top: -72px;
}
.kp-filter-card {
    overflow: visible;
}
.kp-filter-toggle-tab {
    top: 50%;
    transform: translateY(-50%);
    left: calc(25% - 14px);
    border-radius: 999px;
}
.kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
    top: 48px;
    transform: none;
    left: 0;
}
#market-filter-col .select2-container--default .select2-selection--single,
#marketplace-form .select2-container--default .select2-selection--single {
    min-height: calc(1.5em + .9rem + 2px);
    height: calc(1.5em + .9rem + 2px) !important;
    border-color: #dee2e6;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__rendered,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + .9rem);
    padding-left: .9rem;
    padding-right: 2rem;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__arrow,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .9rem);
}
#marketplace-form .select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 .55rem .18rem .55rem !important;
    border-color: #dee2e6;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem;
    min-height: calc(1.5em + .7rem);
    padding: 0 !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: .22rem .15rem 0 0 !important;
    line-height: 1.35;
}
#marketplace-form .select2-container .select2-search--inline .select2-search__field {
    margin: .22rem 0 0 0 !important;
    height: 1.55rem !important;
    min-height: 0 !important;
    line-height: 1.55rem !important;
}
.mp-chat-shell {
    overflow: hidden;
}
.mp-chat-sidebar {
    border-right: 1px solid rgba(152,166,173,.22);
}
.mp-chat-thread-list {
    height: 560px;
    overflow-y: auto;
}
.mp-chat-thread {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(152,166,173,.18);
    background: transparent;
    padding: .75rem;
    color: inherit;
    cursor: pointer;
}
.mp-chat-thread:hover,
.mp-chat-thread:focus,
.mp-chat-thread.active {
    background: rgba(114,124,245,.10);
    outline: none;
}
.mp-chat-thread.is-unread strong {
    font-weight: 700;
}
.mp-thread-avatar-wrap {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    padding: 2px;
    box-shadow: 0 .1rem .35rem rgba(0,0,0,.18);
}
.mp-thread-avatar {
    width: 20px;
    height: 20px;
    object-fit: cover;
}
.mp-chat-main {
    min-height: 560px;
}
.mp-chat-placeholder {
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-chat-panel {
    min-height: 560px;
}
.mp-chat-item-image {
    width: 46px;
    height: 46px;
    object-fit: cover;
}
.mp-chat-messages {
    flex: 1 1 auto;
    height: 420px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(152,166,173,.06);
}
.mp-chat-message {
    display: flex;
    align-items: flex-end;
    margin-bottom: .75rem;
}
.mp-chat-message.mine {
    justify-content: flex-end;
}
.mp-chat-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: .5rem;
}
.mp-chat-bubble {
    max-width: 78%;
    padding: .65rem .85rem;
    border-radius: .75rem;
    background: rgba(152,166,173,.12);
    box-shadow: 0 .05rem .35rem rgba(0,0,0,.06);
    overflow-wrap: anywhere;
}
.mp-chat-message.mine .mp-chat-bubble {
    background: rgba(114,124,245,.16);
}
.mp-review-listing-img {
    width: 58px;
    height: 58px;
    object-fit: cover;
}
.mp-review-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .kp-filter-toggle-tab {
        left: calc(33.333333% - 14px);
    }
}

@media (max-width: 991.98px) {
    .kp-filter-toggle-tab,
    .kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 12px .75rem 12px;
        padding: .5rem .75rem;
        border-radius: .25rem;
        box-shadow: none;
        order: -1;
    }
    .kp-filter-toggle-tab .kp-filter-toggle-text {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        overflow: visible;
        margin-left: .35rem;
    }
    .mp-chat-shell .mp-chat-sidebar,
    .mp-chat-shell .mp-chat-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .mp-chat-shell.mp-chat-open .mp-chat-sidebar {
        display: none;
    }
    .mp-chat-shell:not(.mp-chat-open) .mp-chat-main {
        display: none;
    }
    .mp-chat-thread-list,
    .mp-chat-placeholder,
    .mp-chat-main,
    .mp-chat-panel {
        height: auto;
        min-height: 420px;
    }
    .mp-chat-messages {
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    .kp-market-chip-row strong {
        display: none !important;
    }
    .mp-chat-bubble {
        max-width: 86%;
    }
    .mp-review-listing-img {
        width: 48px;
        height: 48px;
    }
}

/* Marketplace UX pass 2026-07-03c: sidebar toggle, Select2 alignment, messages, profile */
.kp-market-layout {
    position: relative;
}
.kp-filter-toggle-tab {
    top: 50% !important;
    left: calc(25% - 12px) !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 86px !important;
    border-radius: 0 999px 999px 0 !important;
    box-shadow: 0 .2rem .75rem rgba(0,0,0,.18) !important;
}
.kp-filter-toggle-tab i {
    font-size: 1.35rem;
}
.kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
    top: 12px !important;
    left: 12px !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 0 .75rem !important;
    border-radius: 999px !important;
}
.kp-market-layout.filters-collapsed .kp-filter-toggle-tab .kp-filter-toggle-text {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    margin-left: .25rem;
    white-space: nowrap;
}
.kp-filter-card {
    position: relative;
}
#market-filter-col .select2-container,
#marketplace-form .select2-container {
    width: 100% !important;
}
#market-filter-col .select2-container--default .select2-selection--single,
#marketplace-form .select2-container--default .select2-selection--single {
    height: calc(1.5em + .9rem + 2px) !important;
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 !important;
    border-color: rgba(152,166,173,.35) !important;
    background-color: transparent;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__rendered,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + .9rem) !important;
    padding-left: .9rem !important;
    padding-right: 2rem !important;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__arrow,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .9rem) !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 .45rem .16rem .45rem !important;
    border-color: rgba(152,166,173,.35) !important;
    background-color: transparent;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    min-height: calc(1.5em + .72rem) !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: .23rem .16rem 0 0 !important;
    line-height: 1.35 !important;
}
#marketplace-form .select2-container .select2-search--inline .select2-search__field {
    height: 1.55rem !important;
    min-height: 0 !important;
    line-height: 1.55rem !important;
    margin: .22rem 0 0 0 !important;
}
#mp-language-switch .btn {
    min-width: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mp-field-lang-switch .btn {
    width: 34px;
    min-width: 34px;
    padding-left: .25rem;
    padding-right: .25rem;
}
.mp-field-lang-switch .img-flag {
    width: 18px !important;
    margin: 0 !important;
}
.kp-listing-status-box {
    background-color: rgba(152,166,173,.08) !important;
}
.mp-chat-attachment-preview {
    border: 1px dashed rgba(152,166,173,.45);
    border-radius: .35rem;
    padding: .5rem;
}
.mp-chat-attachment-preview img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}
.mp-chat-attachment-img {
    max-width: 220px;
    max-height: 220px;
    object-fit: cover;
}
.profile-marketplace-stat-card {
    display: block;
    text-decoration: none !important;
}
.profile-marketplace-stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 .15rem .7rem rgba(0,0,0,.10);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .kp-filter-toggle-tab {
        left: calc(33.333333% - 12px) !important;
    }
}
@media (max-width: 991.98px) {
    .kp-filter-toggle-tab,
    .kp-market-layout.filters-collapsed .kp-filter-toggle-tab {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 12px .75rem 12px !important;
        padding: .55rem .75rem !important;
        border-radius: .25rem !important;
        justify-content: center !important;
    }
    .kp-filter-toggle-tab .kp-filter-toggle-text,
    .kp-market-layout.filters-collapsed .kp-filter-toggle-tab .kp-filter-toggle-text {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        overflow: visible;
        margin-left: .35rem;
    }
    #mp-language-switch {
        width: 100%;
    }
    #mp-language-switch .btn {
        min-width: 0;
        flex: 1 1 auto;
    }
}

/* Marketplace UX reset 2026-07-03d: marketplace-like filters and Select2 consistency */
.kp-market-layout {
    align-items: flex-start;
}
#market-filter-col {
    position: relative;
}
#market-filter-col .kp-filter-card {
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overflow-x: visible;
    z-index: 8;
}
#market-filter-col .kp-filter-card .card-body {
    padding: 1rem;
}
.kp-market-filter-button {
    border-radius: 999px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}
.kp-market-filter-button.active {
    border-color: transparent !important;
}
.kp-market-toolbar {
    position: relative;
    z-index: 7;
}
.kp-market-chip-row {
    gap: .15rem;
}
.kp-category-chip .kp-category-count {
    background: rgba(114,124,245,.14);
    color: #727cf5;
    border: 1px solid rgba(114,124,245,.22);
    font-weight: 600;
}
body[data-layout-color="dark"] .kp-category-chip .kp-category-count,
body[data-theme="dark"] .kp-category-chip .kp-category-count,
html[data-theme="dark"] .kp-category-chip .kp-category-count {
    background: rgba(114,124,245,.28);
    color: #c7cbff;
    border-color: rgba(199,203,255,.26);
}
.kp-market-layout.filters-collapsed #market-content-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Re-align marketplace Select2 with Hyper/Kuulaportti form-advanced defaults. */
#market-filter-col .select2-container,
#marketplace-form .select2-container,
#mp-my-listing-status + .select2-container,
#mp-deals-status + .select2-container {
    width: 100% !important;
    font-size: .875rem;
    font-family: inherit;
}
#market-filter-col .select2-container--default .select2-selection--single,
#marketplace-form .select2-container--default .select2-selection--single {
    height: calc(1.5em + .9rem + 2px) !important;
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 !important;
    background-color: var(--ct-input-bg, #fff) !important;
    border: 1px solid var(--ct-input-border-color, #dee2e6) !important;
    border-radius: .25rem !important;
    font-size: .875rem !important;
    font-family: inherit !important;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__rendered,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + .9rem) !important;
    padding-left: .9rem !important;
    padding-right: 2rem !important;
    color: inherit !important;
    font-size: .875rem !important;
    font-family: inherit !important;
}
#market-filter-col .select2-container--default .select2-selection--single .select2-selection__arrow,
#marketplace-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .9rem) !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple {
    min-height: calc(1.5em + .9rem + 2px) !important;
    padding: 0 .45rem .16rem .45rem !important;
    background-color: var(--ct-input-bg, #fff) !important;
    border: 1px solid var(--ct-input-border-color, #dee2e6) !important;
    border-radius: .25rem !important;
    font-size: .875rem !important;
    font-family: inherit !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    min-height: calc(1.5em + .72rem) !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    font-size: .875rem !important;
    font-family: inherit !important;
}
#marketplace-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: .23rem .16rem 0 0 !important;
    line-height: 1.35 !important;
    font-size: .8125rem !important;
}
.select2-dropdown,
.select2-results__option,
.select2-search__field {
    font-family: inherit !important;
    font-size: .875rem !important;
}

@media (max-width: 991.98px) {
    #market-filter-col .kp-filter-card {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .kp-market-filter-button {
        width: 100%;
        justify-content: center;
        display: inline-flex;
        align-items: center;
        border-radius: .25rem;
        padding: .55rem .75rem;
        margin-right: 0 !important;
    }
    .kp-market-toolbar .card-body > .d-flex {
        align-items: stretch !important;
    }
    .kp-market-chip-row {
        flex-basis: 100%;
        margin-top: .35rem;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .2rem;
    }
    .kp-market-chip-row strong {
        display: none !important;
    }
}

/* Marketplace polish 2026-07-03e: profile seller showcase, edit language controls and dark-safe actions */
.mp-field-lang-switch {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.mp-field-lang-switch .btn {
    width: 28px;
    min-width: 28px;
    height: 24px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: .62;
}
.mp-field-lang-switch .btn:hover,
.mp-field-lang-switch .btn:focus {
    opacity: 1;
    background: var(--ct-light, rgba(108,117,125,.12)) !important;
}
.mp-field-lang-switch .btn.btn-primary,
.mp-field-lang-switch .btn.active {
    opacity: 1;
    background: rgba(57, 175, 209, .15) !important;
    border-color: rgba(57, 175, 209, .35) !important;
}
.mp-field-lang-switch .img-flag,
.mp-field-lang-switch img {
    width: 16px !important;
    height: auto !important;
    margin: 0 !important;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}
.kp-back-marketplace {
    border: 1px solid var(--ct-border-color, rgba(152,166,173,.25)) !important;
}
[data-layout-color="dark"] .kp-back-marketplace,
body[data-layout-color="dark"] .kp-back-marketplace {
    background: rgba(255,255,255,.08) !important;
    color: var(--ct-body-color, #dee2e6) !important;
    border-color: rgba(255,255,255,.18) !important;
}
.kp-listing-status-card .kp-listing-status-box .badge,
.mp-status-badge {
    font-size: .78rem;
    padding: .38em .55em;
}
.profile-marketplace-seller-card {
    overflow: hidden;
}
.profile-marketplace-seller-card .profile-marketplace-avatar {
    width: 76px;
    height: 76px;
    object-fit: cover;
}
.profile-marketplace-rating-btn {
    white-space: normal;
    text-align: left;
    border-color: var(--ct-border-color, rgba(152,166,173,.25)) !important;
}
.profile-marketplace-review-modal .modal-header,
.profile-marketplace-review-modal .modal-footer {
    border-color: var(--ct-border-color, rgba(152,166,173,.25));
}
.profile-marketplace-modal-summary {
    padding: .9rem;
    border: 1px solid var(--ct-border-color, rgba(152,166,173,.25));
    border-radius: .35rem;
    background: var(--ct-light, rgba(152,166,173,.08));
}
.profile-marketplace-review-modal .mp-review-listing-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}
.profile-marketplace-review-modal .mp-review-avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
}
[data-layout-color="dark"] .profile-marketplace-modal-summary,
body[data-layout-color="dark"] .profile-marketplace-modal-summary {
    background: rgba(255,255,255,.04);
}

/* Marketplace UX cleanup 2026-07-03e */
.kp-filter-card-body {
    padding: .85rem !important;
}
.kp-filter-card-body .form-group label {
    font-size: .75rem;
    margin-bottom: .2rem;
    color: #98a6ad;
}
#market-filter-col .kp-filter-card {
    max-height: none !important;
    overflow: visible !important;
}
.kp-market-filter-button {
    display: inline-flex;
    align-items: center;
}
.kp-market-filter-button .badge {
    line-height: 1;
}
#market-advanced-filters .form-group {
    margin-bottom: .5rem;
}
.kp-category-chip .kp-category-count {
    min-width: 1.45rem;
    padding: .2rem .42rem;
    border-radius: 999px;
    background: rgba(57, 175, 209, .16) !important;
    color: #256f86 !important;
    border: 1px solid rgba(57, 175, 209, .35) !important;
}
.kp-category-chip.active .kp-category-count,
.kp-category-chip:hover .kp-category-count {
    background: rgba(255,255,255,.22) !important;
    color: inherit !important;
    border-color: rgba(255,255,255,.35) !important;
}

/* Keep Select2 dimensions from Hyper/Form Advanced but do not force light backgrounds. */
#market-filter-col .select2-container,
#marketplace-form .select2-container,
#mp-my-listing-status + .select2-container,
#mp-deals-status + .select2-container,
#event-monetization-tabs ~ .tab-content .select2-container,
#adminPromotionModal .select2-container,
#eventBoostModal .select2-container {
    width: 100% !important;
    font-family: inherit !important;
    font-size: .875rem !important;
}
#market-filter-col .select2-container .select2-selection--single,
#marketplace-form .select2-container .select2-selection--single,
#mp-my-listing-status + .select2-container .select2-selection--single,
#mp-deals-status + .select2-container .select2-selection--single,
#event-monetization-tabs ~ .tab-content .select2-container .select2-selection--single,
#adminPromotionModal .select2-container .select2-selection--single,
#eventBoostModal .select2-container .select2-selection--single {
    height: calc(2.2125rem + 2px) !important;
    min-height: calc(2.2125rem + 2px) !important;
    background-color: transparent !important;
    border-color: rgba(152,166,173,.35) !important;
    color: inherit !important;
}
#market-filter-col .select2-container .select2-selection--single .select2-selection__rendered,
#marketplace-form .select2-container .select2-selection--single .select2-selection__rendered,
#mp-my-listing-status + .select2-container .select2-selection--single .select2-selection__rendered,
#mp-deals-status + .select2-container .select2-selection--single .select2-selection__rendered,
#event-monetization-tabs ~ .tab-content .select2-container .select2-selection--single .select2-selection__rendered,
#adminPromotionModal .select2-container .select2-selection--single .select2-selection__rendered,
#eventBoostModal .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: calc(2.2125rem + 2px) !important;
    color: inherit !important;
    padding-left: .9rem !important;
    padding-right: 2.25rem !important;
    font-family: inherit !important;
    font-size: .875rem !important;
}
#market-filter-col .select2-container .select2-selection--single .select2-selection__arrow,
#marketplace-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: calc(2.2125rem + 2px) !important;
    right: .25rem !important;
}
#marketplace-form .select2-container .select2-selection--multiple,
.mp-chat-composer .select2-container .select2-selection--multiple {
    min-height: calc(2.2125rem + 2px) !important;
    background-color: transparent !important;
    border-color: rgba(152,166,173,.35) !important;
    color: inherit !important;
    padding: 0 .4rem .1rem .4rem !important;
}
#marketplace-form .select2-container .select2-selection--multiple .select2-selection__rendered {
    min-height: calc(2.2125rem - 2px) !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
}
#marketplace-form .select2-container .select2-search--inline .select2-search__field {
    margin-top: .35rem !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: .875rem !important;
}
#marketplace-form .select2-container .select2-selection__choice {
    margin-top: .32rem !important;
}

.kp-listing-published {
    opacity: .78;
    font-size: .78rem !important;
}
.mp-my-summary-row .card-body {
    padding: .75rem .85rem !important;
}
.mp-my-summary-row h3 {
    font-size: 1.35rem;
    margin: .55rem 0 .1rem 0 !important;
}
.mp-my-summary-row h5 {
    font-size: .78rem;
}
.mp-my-summary-row .widget-icon {
    width: 2.1rem;
    height: 2.1rem;
    line-height: 2.1rem;
    font-size: 1rem;
}
.mp-my-table-actions .dropdown-toggle::after {
    display: none;
}

.kp-media-actions {
    left: .35rem !important;
    right: .35rem !important;
    bottom: .35rem !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .15rem;
    box-shadow: none !important;
    pointer-events: none;
}
.kp-media-actions .btn {
    pointer-events: auto;
    box-shadow: 0 .15rem .45rem rgba(0,0,0,.16);
}
.kp-sort-handle {
    cursor: grab;
    touch-action: none;
}
.kp-sort-handle:active {
    cursor: grabbing;
}
.kp-media-sort-placeholder {
    min-height: 190px;
    border: 2px dashed rgba(114,124,245,.45);
    border-radius: .25rem;
}
.kp-crop-stage {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
    background: rgba(0,0,0,.78);
    border-radius: .35rem;
}
.kp-crop-stage img {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    margin: 0 auto;
}
.kp-crop-stage .cropper-container {
    max-width: 100% !important;
}
.kp-crop-stage .cropper-modal {
    background-color: #000 !important;
    opacity: .45 !important;
}

@media (max-width: 991.98px) {
    #market-filter-col .kp-filter-card {
        margin-bottom: .75rem;
    }
    .kp-filter-card-body {
        padding: .75rem !important;
    }
    .kp-market-filter-button {
        width: 100%;
    }
    .kp-market-chip-row {
        margin-top: .4rem;
    }
}

/* Final marketplace QA pass 2026-07-03f */
#market-filter-col .kp-filter-card {
    max-height: none !important;
    overflow: visible !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04);
}
#market-filter-col .kp-filter-card .card-body,
.kp-filter-card-body {
    padding: .72rem !important;
}
.kp-filter-card-body .form-group {
    margin-bottom: .46rem !important;
}
.kp-filter-card-body .form-group label {
    font-size: .72rem !important;
    line-height: 1.15;
    margin-bottom: .18rem !important;
    letter-spacing: .01em;
}
.kp-filter-card-body .form-control {
    height: calc(1.5em + .55rem + 2px) !important;
    padding: .275rem .55rem !important;
    font-size: .8125rem !important;
}
.kp-filter-card-body .custom-control,
.kp-filter-card-body .custom-control-label {
    font-size: .8125rem !important;
    line-height: 1.35;
}
.kp-filter-card-body .custom-control {
    margin-bottom: .18rem;
}
.kp-category-chip .kp-category-count {
    background: #39afd1 !important;
    color: #fff !important;
    border-color: rgba(57,175,209,.85) !important;
    box-shadow: 0 .08rem .18rem rgba(0,0,0,.12);
}
body[data-layout-color="dark"] .kp-category-chip .kp-category-count,
body[data-theme="dark"] .kp-category-chip .kp-category-count,
html[data-theme="dark"] .kp-category-chip .kp-category-count {
    background: #727cf5 !important;
    color: #fff !important;
    border-color: #8d94ff !important;
    box-shadow: 0 .1rem .35rem rgba(0,0,0,.34);
}

body[data-layout-color="dark"] #market-filter-col .select2-container .select2-selection--single,
body[data-layout-color="dark"] #marketplace-form .select2-container .select2-selection--single,
body[data-layout-color="dark"] #mp-my-listing-status + .select2-container .select2-selection--single,
body[data-layout-color="dark"] #mp-deals-status + .select2-container .select2-selection--single,
body[data-layout-color="dark"] #adminPromotionModal .select2-container .select2-selection--single,
html[data-theme="dark"] #market-filter-col .select2-container .select2-selection--single,
html[data-theme="dark"] #marketplace-form .select2-container .select2-selection--single,
html[data-theme="dark"] #mp-my-listing-status + .select2-container .select2-selection--single,
html[data-theme="dark"] #mp-deals-status + .select2-container .select2-selection--single,
html[data-theme="dark"] #adminPromotionModal .select2-container .select2-selection--single {
    background-color: #404954 !important;
    border-color: #4b5563 !important;
    color: #e3eaef !important;
}
body[data-layout-color="dark"] #marketplace-form .select2-container .select2-selection--multiple,
body[data-layout-color="dark"] .mp-chat-composer .select2-container .select2-selection--multiple,
html[data-theme="dark"] #marketplace-form .select2-container .select2-selection--multiple,
html[data-theme="dark"] .mp-chat-composer .select2-container .select2-selection--multiple {
    background-color: #404954 !important;
    border-color: #4b5563 !important;
    color: #e3eaef !important;
}
body[data-layout-color="dark"] .select2-dropdown,
html[data-theme="dark"] .select2-dropdown {
    background-color: #404954 !important;
    border-color: #4b5563 !important;
    color: #e3eaef !important;
}
body[data-layout-color="dark"] .select2-container--default .select2-search--dropdown .select2-search__field,
html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #37404a !important;
    border-color: #4b5563 !important;
    color: #e3eaef !important;
}
body[data-layout-color="dark"] .select2-results__option,
html[data-theme="dark"] .select2-results__option {
    color: #e3eaef !important;
}
body[data-layout-color="dark"] .select2-container--default .select2-results__option[aria-selected=true],
html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #4b5563 !important;
    color: #fff !important;
}
body[data-layout-color="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #727cf5 !important;
    color: #fff !important;
}
body[data-layout-color="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder,
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #98a6ad !important;
}

.mp-report-message {
    max-width: 420px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.profile-marketplace-mini-card {
    background: rgba(114,124,245,.055);
    border-color: rgba(114,124,245,.16) !important;
}
body[data-layout-color="dark"] .profile-marketplace-mini-card,
html[data-theme="dark"] .profile-marketplace-mini-card {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.12) !important;
}
.mp-receipt th {
    width: 170px;
}
.mp-chat-context-actions a {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    #market-filter-col .kp-filter-card {
        box-shadow: none;
    }
    #market-filter-col .kp-filter-card .card-body,
    .kp-filter-card-body {
        padding: .85rem !important;
    }
}
