
.mp-body .mp-listings-section {
    margin-top: 52px;
}

.mp-body .mp-listings-section .mp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.mp-body .mp-listings-section .mp-section-heading > div {
    flex: 1;
    min-width: 0;
}

.mp-body .mp-listings-section .mp-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #7547df;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.mp-body .mp-listings-section .mp-section-heading h2 {
    margin: 0 0 9px;
    font-size: clamp(28px, 2.25vw, 36px);
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: -1.3px;
}

.mp-body .mp-listings-section .mp-purple-dot {
    display: none;
}

.mp-body .mp-listings-section .mp-section-heading p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 13px;
    line-height: 1.55;
}

.mp-body .mp-listings-section .mp-section-heading > .mp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    align-self: flex-end;
    margin-bottom: 4px;
    padding: 0 0 7px;
    border: 0;
    border-bottom: 1px solid var(--mp-purple);
    border-radius: 0;
    background: transparent;
    color: var(--mp-text);
    font-size: 12px;
    font-weight: 750;
    box-shadow: none;
    text-decoration: none;
    transition: color .2s ease;
}

.mp-body .mp-listings-section .mp-section-heading > .mp-text-link:hover {
    color: var(--mp-purple);
}

.mp-body .mp-listings-section .mp-tabs {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-bottom: 1px solid var(--mp-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
}

.mp-body .mp-listings-section .mp-tabs::-webkit-scrollbar {
    display: none;
}

.mp-body .mp-listings-section .mp-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 48px;
    margin: 0;
    padding: 12px 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.mp-body .mp-listings-section .mp-tabs button > .mp-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: currentColor;
}

.mp-body .mp-listings-section .mp-tabs button[aria-selected="true"] {
    border-bottom-color: #7547df;
    background: transparent;
    color: #7547df;
    box-shadow: none;
}

.mp-body .mp-listings-section .mp-tabs button[aria-selected="false"]:hover {
    background: transparent;
    color: var(--mp-text);
}

.mp-body .mp-listings-section .mp-tabs button:focus-visible {
    outline: 2px solid var(--mp-purple);
    outline-offset: -3px;
}

.mp-body .mp-listings-section [role="tabpanel"][hidden] {
    display: none;
}

.mp-body .mp-listings-section .mp-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.mp-body .mp-market-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--mp-surface);
    box-shadow: 0 4px 17px rgba(30, 18, 65, .055);
    transition: transform .24s ease, box-shadow .24s ease;
}

.mp-body .mp-market-card .mp-market-card-cover {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 0;
    background: var(--mp-surface-2);
}

.mp-body .mp-market-card .mp-market-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(15, 10, 34, .22) 0%,
        rgba(15, 10, 34, 0) 34%,
        rgba(15, 10, 34, 0) 58%,
        rgba(15, 10, 34, .43) 100%
    );
}

.mp-body .mp-market-card .mp-market-card-cover > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    transform: scale(1);
    transition: transform .38s cubic-bezier(.2, .7, .25, 1);
}

.mp-body .mp-market-card .mp-showcase-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 30px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(120deg, #6735de, #9155ef);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .1px;
    box-shadow: 0 5px 16px rgba(53, 22, 113, .28);
}

.mp-body .mp-market-card .mp-showcase-label > .mp-icon {
    width: 14px;
    height: 14px;
    color: #fff;
}

.mp-body .mp-market-card .mp-market-image-stock {
    position: absolute;
    top: 17px;
    right: 15px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: auto;
    min-height: 0;
    max-width: calc(100% - 110px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2bff3a;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: none;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, .9),
        0 0 11px rgba(0, 0, 0, .55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mp-body .mp-market-card .mp-market-image-stock.mp-in-stock {
    color: #2bff3a;
}

.mp-body .mp-market-card .mp-market-image-stock.mp-out-of-stock {
    border: 0;
    background: transparent;
    color: #ffd4d4;
    box-shadow: none;
}

.mp-body .mp-market-card .mp-market-image-stock .mp-stock-dot {
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .45);
}

.mp-body .mp-market-card .mp-market-image-delivery {
    position: absolute;
    right: 15px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    max-width: calc(100% - 30px);
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 650;
    box-shadow: none;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, .9),
        0 0 12px rgba(0, 0, 0, .6);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.mp-body .mp-market-card .mp-market-image-delivery > .mp-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8));
}

.mp-body .mp-market-card .mp-market-image-delivery > span {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-body .mp-market-card .mp-market-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 16px 17px 15px;
    background: transparent;
}

.mp-body .mp-market-card .mp-market-card-body h3 {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: none;
    margin: 0 0 11px;
    padding: 0;
    overflow: hidden;
    color: var(--mp-text);
    font-size: 15px;
    line-height: 1.43;
    font-weight: 750;
    letter-spacing: -.25px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}

.mp-body .mp-market-card .mp-market-card-body h3 a {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-body .mp-market-card .mp-market-card-body h3 a:hover {
    color: var(--mp-purple);
}

.mp-body .mp-market-card .mp-market-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    gap: 10px;
    width: 100%;
    min-height: 43px;
    margin: 0 0 9px;
    padding: 0;
}

.mp-body .mp-market-card .mp-seller-profile {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 9px;
    min-width: 0;
    color: var(--mp-text);
    text-decoration: none;
}

.mp-body .mp-market-card .mp-seller-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    border: 0;
    border-radius: 11px;
    background: var(--mp-soft);
    color: var(--mp-purple);
    font-size: 14px;
    font-weight: 800;
}

.mp-body .mp-market-card .mp-seller-identity {
    display: block;
    flex: 1;
    min-width: 0;
}

.mp-body .mp-market-card .mp-seller-name {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    line-height: 1.35;
}

.mp-body .mp-market-card .mp-seller-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--mp-text);
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-body .mp-market-card .mp-seller-verified {
    display: inline-flex;
    flex: 0 0 auto;
    color: #7547df;
}

.mp-body .mp-market-card .mp-market-seller-subline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.4;
}

.mp-body .mp-market-card .mp-market-level {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: 0;
    border-radius: 5px;
    background: var(--mp-soft);
    color: var(--mp-purple);
    font-size: 9px;
    font-weight: 750;
    line-height: 1.35;
    white-space: nowrap;
}

.mp-body .mp-market-card .mp-market-rating {
    display: grid;
    grid-template-columns: 13px auto;
    align-items: center;
    justify-content: end;
    gap: 2px 4px;
    flex: 0 0 auto;
    padding: 0;
    line-height: 1.3;
}

.mp-body .mp-market-card .mp-market-rating > .mp-icon {
    width: 13px;
    height: 13px;
    fill: #eebd54;
    color: #ca941e;
}

.mp-body .mp-market-card .mp-market-rating > strong {
    color: var(--mp-text);
    font-size: 13px;
    font-weight: 800;
}

.mp-body .mp-market-card .mp-market-rating > small {
    grid-column: 1 / -1;
    color: var(--mp-muted);
    font-size: 9px;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

.mp-body .mp-market-card .mp-rating-empty {
    flex: 0 1 95px;
    max-width: 95px;
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
}

.mp-body .mp-market-card .mp-market-purchase {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 9px 0 10px;
    border: 0;
    border-top: 1px solid var(--mp-border);
}

.mp-body .mp-market-card .mp-market-purchase .mp-price {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
    min-height: 39px;
    margin: 0;
    padding: 0;
    gap: 3px;
}

.mp-body .mp-market-card .mp-price > small,
.mp-body .mp-market-card .mp-price > del {
    display: block;
    margin: 0;
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.25;
}

.mp-body .mp-market-card .mp-price > strong {
    display: block;
    margin: 0;
    color: var(--mp-text);
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.65px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.mp-body .mp-market-card .mp-quantity {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    width: auto;
    height: 37px;
    min-height: 37px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--mp-border);
    border-radius: 9px;
    background: var(--mp-bg);
}

.mp-body .mp-market-card .mp-quantity button {
    display: grid;
    place-items: center;
    width: 32px;
    min-width: 32px;
    min-height: 35px;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--mp-muted);
    font-size: 17px;
    cursor: pointer;
}

.mp-body .mp-market-card .mp-quantity input {
    width: 32px;
    min-width: 32px;
    height: 35px;
    min-height: 35px;
    padding: 0;
    border: 0;
    border-inline: 1px solid var(--mp-border);
    border-radius: 0;
    background: var(--mp-surface);
    color: var(--mp-text);
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.mp-body .mp-market-card .mp-quantity input::-webkit-inner-spin-button,
.mp-body .mp-market-card .mp-quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mp-body .mp-market-card .mp-quantity:focus-within {
    outline: 2px solid var(--mp-purple);
    outline-offset: 2px;
}

.mp-body .mp-market-card .mp-quantity input:focus {
    outline: none;
}

.mp-body .mp-market-card .mp-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 11px 14px;
    border: 0;
    border-radius: 9px;
    background: #7547df;
    color: #fff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.mp-body .mp-market-card .mp-card-cta > .mp-icon {
    width: 17px;
    height: 17px;
    color: currentColor;
}

.mp-body .mp-market-card .mp-card-details {
    background: var(--mp-soft);
    color: var(--mp-purple);
}

.mp-body .mp-market-card .mp-card-cta:focus-visible,
.mp-body .mp-market-card a:focus-visible {
    outline: 2px solid var(--mp-purple);
    outline-offset: 3px;
}

.mp-body #panel-showcase .mp-market-card {
    border: 0;
    box-shadow: 0 7px 25px rgba(66, 34, 123, .09);
}

.mp-body #panel-showcase .mp-market-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #6735de 0%,
        #a365f4 52%,
        #6735de 100%
    );
}

.mp-body #panel-showcase .mp-market-card .mp-market-card-cover::after {
    background: linear-gradient(
        180deg,
        rgba(79, 31, 150, .25) 0%,
        rgba(25, 12, 56, 0) 42%,
        rgba(26, 13, 55, .43) 100%
    );
}

.mp-body #panel-showcase .mp-market-card .mp-card-cta:not(.mp-card-details) {
    background: linear-gradient(100deg, #6835dc, #8650ec);
    color: #fff;
}

:root[data-theme="dark"] .mp-body .mp-market-card {
    border: 0;
    background: var(--mp-surface);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
}

:root[data-theme="dark"] .mp-body .mp-market-card .mp-card-cta.mp-button {
    background: #8254ea;
    color: #fff;
}

:root[data-theme="dark"] .mp-body .mp-market-card .mp-card-details.mp-button {
    background: var(--mp-soft);
    color: var(--mp-purple);
}

:root[data-theme="dark"] .mp-body #panel-showcase .mp-market-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .19);
}

:root[data-theme="dark"] .mp-body #panel-showcase .mp-market-card .mp-card-cta.mp-button:not(.mp-card-details) {
    background: linear-gradient(100deg, #7547df, #9664f0);
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .mp-body .mp-market-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(30, 18, 65, .1);
    }

    .mp-body .mp-market-card:hover .mp-market-card-cover > img {
        transform: scale(1.045);
    }

    .mp-body .mp-market-card .mp-card-cta:hover,
    .mp-body .mp-market-card:hover .mp-card-cta:not(.mp-card-details) {
        background: #6939d2;
        color: #fff;
    }

    .mp-body .mp-market-card .mp-card-details:hover,
    .mp-body .mp-market-card:hover .mp-card-details {
        background: var(--mp-soft);
        color: var(--mp-purple);
    }

    .mp-body #panel-showcase .mp-market-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 17px 36px rgba(71, 35, 140, .17);
    }

    .mp-body #panel-showcase .mp-market-card .mp-card-cta:not(.mp-card-details):hover,
    .mp-body #panel-showcase .mp-market-card:hover .mp-card-cta:not(.mp-card-details) {
        background: linear-gradient(100deg, #7545ee, #9965f5);
        color: #fff;
    }

    :root[data-theme="dark"] .mp-body .mp-market-card:hover {
        box-shadow: 0 12px 26px rgba(0, 0, 0, .23);
    }

    :root[data-theme="dark"] .mp-body #panel-showcase .mp-market-card:hover {
        box-shadow: 0 17px 36px rgba(0, 0, 0, .27);
    }

    :root[data-theme="dark"] .mp-body .mp-market-card .mp-card-cta.mp-button:hover {
        background: #9164f1;
        color: #fff;
    }
}

@media (max-width: 1199px) {
    .mp-body .mp-listings-section .mp-listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 849px) {
    .mp-body .mp-listings-section .mp-listing-grid {
        display: grid;
        grid-template-columns: none;
        grid-template-rows: minmax(0, 1fr);
        grid-auto-flow: column;
        grid-auto-columns: minmax(280px, 48%);
        align-items: stretch;
        gap: 14px;
        width: 100%;
        margin: 0;
        padding: 5px 2px 18px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 2px;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: var(--mp-border) transparent;
        -webkit-overflow-scrolling: touch;
    }

    .mp-body .mp-listings-section .mp-market-card {
        min-width: 0;
        height: 100%;
        scroll-snap-align: start;
    }

    .mp-body .mp-market-card .mp-market-card-body {
        padding: 15px;
    }
}

@media (max-width: 599px) {
    .mp-body .mp-listings-section {
        margin-top: 36px;
    }

    .mp-body .mp-listings-section .mp-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 16px;
    }

    .mp-body .mp-listings-section .mp-section-heading h2 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .mp-body .mp-listings-section .mp-section-heading p {
        font-size: 12px;
    }

    .mp-body .mp-listings-section .mp-section-heading > .mp-text-link {
        align-self: flex-start;
        margin: 0;
    }

    .mp-body .mp-listings-section .mp-tabs {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        gap: 16px;
        margin-bottom: 16px;
    }

    .mp-body .mp-listings-section .mp-tabs button {
        min-width: max-content;
        gap: 6px;
        padding: 12px 0;
        font-size: 11px;
    }

    .mp-body .mp-listings-section .mp-tabs button > .mp-icon {
        width: 14px;
        height: 14px;
    }

    .mp-body .mp-listings-section .mp-listing-grid {
        grid-auto-columns: minmax(0, 86%);
        gap: 12px;
    }

    .mp-body .mp-market-card .mp-market-card-cover {
        aspect-ratio: 16 / 9;
    }

    .mp-body .mp-market-card .mp-market-card-body {
        padding: 15px;
    }

    .mp-body .mp-market-card .mp-market-card-body h3 {
        margin-bottom: 11px;
        font-size: 14px;
    }

    .mp-body .mp-market-card .mp-price > strong {
        font-size: 21px;
    }

    .mp-body .mp-market-card .mp-showcase-label {
        top: 12px;
        left: 12px;
    }

    .mp-body .mp-market-card .mp-market-image-stock {
        top: 15px;
        right: 12px;
        max-width: calc(100% - 95px);
        font-size: 10px;
    }

    .mp-body .mp-market-card .mp-market-image-delivery {
        right: 12px;
        bottom: 12px;
        font-size: 10px;
    }
}

@media (max-width: 390px) {
    .mp-body .mp-listings-section .mp-listing-grid {
        grid-auto-columns: minmax(0, 88%);
    }

    .mp-body .mp-market-card .mp-market-purchase {
        gap: 6px;
    }

    .mp-body .mp-market-card .mp-price > strong {
        font-size: 19px;
    }

    .mp-body .mp-market-card .mp-quantity button,
    .mp-body .mp-market-card .mp-quantity input {
        width: 29px;
        min-width: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-body .mp-market-card,
    .mp-body .mp-market-card .mp-market-card-cover > img,
    .mp-body .mp-market-card .mp-card-cta {
        transition: none;
    }

    .mp-body .mp-market-card:hover,
    .mp-body .mp-market-card:hover .mp-market-card-cover > img {
        transform: none;
    }

    .mp-body .mp-listings-section .mp-listing-grid {
        scroll-behavior: auto;
    }
}
