.xp-mp,
.xp-mp * {
    box-sizing: border-box;
}

.xp-mp {
    --bg-1: #030914;
    --bg-2: #081121;
    --panel: rgba(10, 18, 34, .92);
    --panel-2: rgba(255, 255, 255, .04);
    --border: rgba(255, 255, 255, .08);
    --text: #eef4ff;
    --muted: #8ea2c8;
    --blue: #3b82f6;
    --blue-2: #2563eb;
    --green: #22c55e;
    --green-2: #16a34a;
    --danger: #ef4444;
    --shadow: 0 18px 40px rgba(0, 0, 0, .28);

    position: relative;
    min-height: 100%;
    padding: 22px 18px 110px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 20% 0%, rgba(59, 130, 246, .12), transparent 22%),
        radial-gradient(circle at 80% 8%, rgba(37, 99, 235, .10), transparent 20%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

.xp-mp__shell {
    width: calc(100% - 12px);
    max-width: 1830px;
    margin: 0 auto;
}

.xp-mp__hero,
.xp-mp__filters {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .018));
    box-shadow: var(--shadow);
}

.xp-mp__hero {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.xp-mp__eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    border: 1px solid rgba(59, 130, 246, .18);
    color: #bfd8ff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.xp-mp__title {
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 800;
    color: #fff;
}

.xp-mp__subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.xp-mp__hero-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.xp-mp__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    color: #eef4ff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.xp-mp__filters {
    padding: 14px;
    margin-bottom: 18px;
}

.xp-mp__filters-form {
    display: grid;
    grid-template-columns: 1.4fr 220px 220px 160px;
    gap: 12px;
}

.xp-mp__search {
    position: relative;
}

.xp-mp__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.xp-mp__search input,
.xp-mp__select,
.xp-mp-field input,
.xp-mp-field select,
.xp-mp-field textarea {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    outline: none;
    transition: .2s ease;
}

.xp-mp__search input {
    padding: 0 16px 0 42px;
}

.xp-mp__select,
.xp-mp-field input,
.xp-mp-field select {
    padding: 0 16px;
}

.xp-mp-field textarea {
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.xp-mp__search input:focus,
.xp-mp__select:focus,
.xp-mp-field input:focus,
.xp-mp-field select:focus,
.xp-mp-field textarea:focus {
    border-color: rgba(59, 130, 246, .35);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .10);
}

.xp-mp__chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.xp-mp__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    color: #d7e3f8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.xp-mp__chip.is-active,
.xp-mp__chip:hover {
    background: rgba(59, 130, 246, .14);
    border-color: rgba(59, 130, 246, .22);
    color: #fff;
}

.xp-mp__section-head {
    margin-bottom: 14px;
}

.xp-mp__section-head h2 {
    margin: 0 0 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.xp-mp__section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.xp-mp__stores {
    margin-bottom: 18px;
}

.xp-mp__stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.xp-mp-store {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 14px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .018));
    box-shadow: var(--shadow);
    transition: .22s ease;
}

.xp-mp-store:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, .24);
    color: #fff;
}

.xp-mp-store__logo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-mp-store__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-mp-store__info {
    flex: 1;
    min-width: 0;
}

.xp-mp-store__info strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.xp-mp-store__info span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.xp-mp-store__arrow {
    color: #8db9ff;
}

.xp-mp__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.xp-mp-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    box-shadow: var(--shadow);
}

.xp-mp-feature i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, .14);
    color: #8db9ff;
}

.xp-mp-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.xp-mp-feature span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.xp-mp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.xp-mp-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    box-shadow: var(--shadow);
    transition: .25s ease;
}

.xp-mp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, .22);
}

.xp-mp-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(59, 130, 246, .95);
    color: #fff;
}

.xp-mp-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .88;
    padding: 16px;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
    text-decoration: none;
}

.xp-mp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .22s ease;
}

.xp-mp-card:hover .xp-mp-card__media img {
    transform: scale(1.05);
}

.xp-mp-card__body {
    padding: 16px;
}

.xp-mp-card__category {
    font-size: 11px;
    font-weight: 800;
    color: #8db9ff;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

.xp-mp-card__title {
    margin: 0 0 8px;
    min-height: 48px;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.xp-mp-card__title a {
    color: #fff;
    text-decoration: none;
}

.xp-mp-card__code {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.xp-mp-card__store {
    margin-bottom: 12px;
    font-size: 13px;
}

.xp-mp-card__store a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff4f98;
    text-decoration: none;
    font-weight: 700;
}

.xp-mp-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.xp-mp-card__price {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.xp-mp-card__stock {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, .14);
    border: 1px solid rgba(16, 185, 129, .18);
    color: #d9ffe7;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.xp-mp-card__stock.is-out {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .18);
    color: #ffd4d4;
}

.xp-mp-card__actions {
    display: flex;
    gap: 10px;
    justify-content: space-around;
}

.xp-mp-icon-btn {
    width: 68px;
    height: 50px;
    flex: 0 0 58px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, .28);
    background: rgba(59, 130, 246, .12);
    color: #8db9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: .2s ease;
}

.xp-mp-icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, .18);
    color: #fff;
}

.xp-mp-icon-btn--cart {
    background: linear-gradient(135deg, var(--green), var(--green-2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(34, 197, 94, .25);
}

.xp-mp-icon-btn--cart:hover {
    background: linear-gradient(135deg, #28d96a, #18ad55);
}

.xp-mp-icon-btn.is-disabled,
.xp-mp-icon-btn:disabled {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(.15);
}

.xp-mp__btn {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.xp-mp__btn--primary {
    background: linear-gradient(180deg, var(--blue), var(--blue-2));
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

.xp-mp__btn--ghost {
    background: rgba(255, 255, 255, .05);
    border-color: var(--border);
    color: #eef4ff;
}

.xp-mp__btn--success {
    background: linear-gradient(180deg, var(--green), var(--green-2));
    color: #fff;
    /* box-shadow: 0 12px 24px rgba(34, 197, 94, .24); */
}

.xp-mp__btn:hover {
    transform: translateY(-2px);
}

.xp-mp-empty,
.xp-mp-cart__empty {
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, .03);
}

/* CART */
.xp-mp-cart-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10020;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 25%, rgba(59, 130, 246, .18), transparent 38%),
        linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(10, 18, 34, .98));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .34);
}

.xp-mp-cart-fab i {
    font-size: 22px;
}

.xp-mp-cart-fab span {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green), var(--green-2));
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #08111f;
}

.xp-mp-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 10018;
    background: rgba(2, 8, 20, .58);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
}

.xp-mp-cart-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.xp-mp-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100dvh;
    z-index: 10019;
    border-left: 1px solid var(--border);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, .12), transparent 28%),
        linear-gradient(180deg, #07111f 0%, #0a1628 100%);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .42);
    transform: translateX(100%);
    transition: transform .24s ease;
    display: flex;
    flex-direction: column;
}

.xp-mp-cart.is-open {
    transform: translateX(0);
}

.xp-mp-cart__header {
    padding: 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.xp-mp-cart__header h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.xp-mp-cart__header p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.xp-mp-cart__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
}

.xp-mp-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xp-mp-cart__footer {
    padding: 18px;
    border-top: 1px solid var(--border);
    background: rgba(4, 10, 18, .55);
}

.xp-mp-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #dbe5f6;
}

.xp-mp-cart__total strong {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.xp-mp-cart__actions {
    display: grid;
    gap: 10px;
}

.xp-mp-cart-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
}

.xp-mp-cart-item__img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.xp-mp-cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.xp-mp-cart-item__content {
    flex: 1;
    min-width: 0;
}

.xp-mp-cart-item__name {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 4px;
}

.xp-mp-cart-item__meta {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.xp-mp-cart-item__price {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.xp-mp-cart-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.xp-mp-cart-item__qty {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.xp-mp-cart-item__qty button {
    width: 34px;
    height: 34px;
    border: 0;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
}

.xp-mp-cart-item__qty span {
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.xp-mp-cart-item__remove {
    border: 1px solid rgba(239, 68, 68, .22);
    background: rgba(239, 68, 68, .10);
    color: #ffd4d4;
    border-radius: 12px;
    height: 34px;
    padding: 0 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

/* MODAL */
.xp-mp-modal {
    position: fixed;
    inset: 0;
    z-index: 10030;
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
}

.xp-mp-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.xp-mp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(5px);
}

.xp-mp-modal__dialog {
    position: relative;
    width: min(980px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    margin: 12px auto;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, .08), transparent 28%),
        linear-gradient(180deg, #08111f 0%, #0d1728 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
}

.xp-mp-modal__header,
.xp-mp-modal__footer {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.xp-mp-modal__footer {
    border-bottom: 0;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
    gap: 12px;
}

.xp-mp-modal__header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.xp-mp-modal__header p {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.xp-mp-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
}

.xp-mp-modal__body {
    padding: 22px 24px;
    overflow-y: auto;
}

.xp-mp-checkout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
}

.xp-mp-checkout__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.xp-mp-field {
    display: grid;
    gap: 8px;
}

.xp-mp-field--full {
    grid-column: 1 / -1;
}

.xp-mp-field label {
    color: #dce7f8;
    font-size: 14px;
    font-weight: 800;
}

.xp-mp-checkout__summary {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, .03);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xp-mp-checkout__summary-head,
.xp-mp-checkout__summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.xp-mp-checkout__summary-head {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.xp-mp-checkout__summary-head h4 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.xp-mp-checkout__summary-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.xp-mp-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.xp-mp-summary-item__name {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.xp-mp-summary-item__meta {
    color: #9db0d0;
    font-size: 13px;
    line-height: 1.55;
}

.xp-mp-checkout__summary-total {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: #dbe5f6;
}

.xp-mp-checkout__summary-total strong {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

/* TOAST */
.xp-mp-toast {
    position: fixed;
    right: 18px;
    bottom: 96px;
    z-index: 10040;
    min-width: 240px;
    max-width: 320px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(17, 31, 56, .98));
    border: 1px solid var(--border);
    color: #eef4ff;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: .22s ease;
}

.xp-mp-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.xp-mp-toast i {
    color: var(--green);
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .xp-mp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .xp-mp__hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .xp-mp__hero-stats {
        justify-content: flex-start;
    }

    .xp-mp__filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .xp-mp__features {
        grid-template-columns: 1fr;
    }

    .xp-mp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-mp-checkout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .xp-mp {
        padding: 16px 12px 100px;
    }

    .xp-mp__title {
        font-size: 24px;
    }

    .xp-mp__filters-form {
        grid-template-columns: 1fr;
    }

    .xp-mp-grid {
        grid-template-columns: 1fr;
    }

    .xp-mp-card__actions {
        gap: 8px;
    }

    .xp-mp-icon-btn {
        width: 54px;
        height: 48px;
        flex: 0 0 54px;
    }

    .xp-mp-cart-fab {
        right: 14px;
        bottom: 14px;
        width: 58px;
        height: 58px;
    }

    .xp-mp-cart {
        width: 100%;
        max-width: 100%;
    }

    .xp-mp-cart-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 10px;
    }

    .xp-mp-cart-item__img {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
    }

    .xp-mp-modal__dialog {
        width: calc(100% - 12px);
        margin: 6px auto;
        max-height: calc(100vh - 12px);
        border-radius: 20px;
    }

    .xp-mp-modal__header,
    .xp-mp-modal__body,
    .xp-mp-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .xp-mp-checkout__form {
        grid-template-columns: 1fr;
    }
}

body.x-route-marketplace main.x-main-fix.x-dashboard-bg {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.xp-mp-pagination {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.xp-mp-pagination__btn {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    color: #eef4ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    transition: .2s ease;
}

.xp-mp-pagination__btn:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, .16);
    border-color: rgba(59, 130, 246, .24);
    color: #fff;
}

.xp-mp-pagination__btn.is-active {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
}

/* Forzar color correcto en links dentro de cards */
.xp-mp-card a {
    color: #9fb4ff !important;
    text-decoration: none;
}

/* Hover más pro */
.xp-mp-card a:hover {
    color: #ffffff !important;
}

/* Link de tienda específico */
.xp-mp-card__store a {
    color: #ff4da6 !important;
    /* si quieres mantener estilo marca */
}

/* O si lo quieres neutro */
.xp-mp-card__store a {
    color: #8aa0ff !important;
}

/* Título del producto */
.xp-mp-card__title,
.xp-mp-card__title a {
    color: #ffffff !important;
    text-decoration: none;
}

/* Hover elegante (sin cambiar a rosado ni azul raro) */
.xp-mp-card__title a:hover {
    color: #e6ecff !important;
}

.xp-mp-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.xp-mp-card__price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.xp-mp-card {
    font-family: 'Inter', sans-serif;
}

.xp-mp-card__title {
    text-transform: none;
    /* quitar mayúsculas forzadas */
}

.xp-mp-card__category {
    font-size: 11px;
    letter-spacing: 1px;
    color: #6ea8ff;
    font-weight: 700;
    text-transform: uppercase;
}

.xp-mp-card__stock {
    background: rgba(16, 185, 129, .12);
    color: #34d399;
    font-weight: 700;
    border-radius: 10px;
    padding: 4px 8px;
    font-size: 11px;
}

.xp-mp-btn--cart:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(16, 185, 129, .25);
}

.xp-mp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.xp-mp-card__image img {
    transition: transform .3s ease;
}

.xp-mp-card:hover img {
    transform: scale(1.05);
}

.xp-mp-topbar {
    display: flex;
    gap: 20px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    margin-bottom: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
}

.xp-mp-topbar__item {
    font-size: 13px;
    color: #cfe1ff;
    font-weight: 600;
}

.xp-mp__filters {
    position: sticky;
    top: 10px;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.xp-mp__filters {
    background: rgba(6, 14, 28, .88);
}

@media (max-width: 768px) {
    .xp-mp__filters {
        position: static;
    }
}

.xp-mp__filters {
    position: sticky;
    top: 10px;
    z-index: 30;
    backdrop-filter: blur(10px);
}

.xp-mp__chips {
    position: sticky;
    top: 110px;
    z-index: 25;
    padding-top: 12px;
    padding-bottom: 4px;
    background: linear-gradient(180deg, rgba(3, 9, 20, .96), rgba(3, 9, 20, .72));
}

.xp-mp__filters-form--marketplace {
    grid-template-columns: minmax(260px, 1.5fr) 220px 220px 220px 160px;
}



@media (max-width: 576px) {
    .xp-mp__chips {
        top: 150px;
    }
}

.xp-mp-resultsbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
}

.xp-mp-resultsbar__left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9e7ff;
}

.xp-mp-resultsbar__left strong {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.xp-mp-resultsbar__right {
    color: #8ea2c8;
    font-size: 13px;
    font-weight: 600;
}

.xp-mp-loadmore {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 12px;
    color: #9fb3d6;
    font-size: 13px;
    font-weight: 700;
}

.xp-mp-loadmore.is-visible {
    display: flex;
}

.xp-mp-loadmore__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .14);
    border-top-color: #3b82f6;
    border-radius: 999px;
    animation: xpMpSpin .8s linear infinite;
}

@keyframes xpMpSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   SKELETON LOADERS
========================= */

.xp-mp-skeletons {
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.xp-mp-skeletons.is-visible {
    display: grid;
}

.xp-mp-skeleton-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .015));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.xp-mp-skeleton-card__media,
.xp-mp-skeleton-card__line,
.xp-mp-skeleton-card__price,
.xp-mp-skeleton-card__stock,
.xp-mp-skeleton-card__btn {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .04) 25%,
            rgba(255, 255, 255, .10) 50%,
            rgba(255, 255, 255, .04) 75%);
    background-size: 200% 100%;
    animation: xpMpShimmer 1.1s linear infinite;
}

.xp-mp-skeleton-card__media {
    aspect-ratio: 1 / .88;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.xp-mp-skeleton-card__body {
    padding: 16px;
}

.xp-mp-skeleton-card__line {
    border-radius: 10px;
    margin-bottom: 10px;
}

.xp-mp-skeleton-card__line--cat {
    width: 34%;
    height: 12px;
}

.xp-mp-skeleton-card__line--title {
    width: 82%;
    height: 18px;
}

.xp-mp-skeleton-card__line--title.short {
    width: 58%;
}

.xp-mp-skeleton-card__line--meta {
    width: 65%;
    height: 12px;
}

.xp-mp-skeleton-card__line--meta.short {
    width: 44%;
}

.xp-mp-skeleton-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 16px 0 14px;
}

.xp-mp-skeleton-card__price {
    width: 38%;
    height: 28px;
    border-radius: 10px;
}

.xp-mp-skeleton-card__stock {
    width: 24%;
    height: 26px;
    border-radius: 10px;
}

.xp-mp-skeleton-card__actions {
    display: flex;
    gap: 10px;
}

.xp-mp-skeleton-card__btn {
    width: 58px;
    height: 50px;
    border-radius: 14px;
}

.xp-mp-skeleton-card__btn--cart {
    background: linear-gradient(90deg,
            rgba(34, 197, 94, .20) 25%,
            rgba(34, 197, 94, .35) 50%,
            rgba(34, 197, 94, .20) 75%);
    background-size: 200% 100%;
    animation: xpMpShimmer 1.1s linear infinite;
}

@keyframes xpMpShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1680px) {
    .xp-mp-skeletons {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1380px) {
    .xp-mp-skeletons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .xp-mp-skeletons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .xp-mp-skeletons {
        grid-template-columns: 1fr;
    }
}

/* .xp-mp-loadmore {
    display: none !important;
} */

.xp-mp-card--enter {
    animation: xpMpFadeIn .28s ease;
}

@keyframes xpMpFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xp-mp-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, .08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .018));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.xp-mp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, .24);
    box-shadow: 0 26px 52px rgba(0, 0, 0, .34);
}

.xp-mp-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(59, 130, 246, .04));
    pointer-events: none;
}

.xp-mp-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    background: linear-gradient(180deg, #4f8cff, #2d6df6);
    color: #fff;
    box-shadow: 0 10px 22px rgba(59, 130, 246, .26);
}

.xp-mp-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .86;
    padding: 18px;
    background: linear-gradient(180deg, #f8fafc, #edf2f7);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
}

.xp-mp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}

.xp-mp-card:hover .xp-mp-card__media img {
    transform: scale(1.06);
}

.xp-mp-card__body {
    position: relative;
    padding: 16px 16px 18px;
}

.xp-mp-card__category {
    font-size: 11px;
    font-weight: 800;
    color: #77a9ff;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.xp-mp-card__title {
    margin: 0 0 0px;
    min-height: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 800;
}

.xp-mp-card__title a {
    color: #fff !important;
    text-decoration: none;
}

.xp-mp-card__title a:hover {
    color: #eaf1ff !important;
}

.xp-mp-card__code {
    font-size: 12px;
    color: #8ea2c8;
    margin-bottom: 10px;
}

.xp-mp-card__store {
    margin-bottom: 14px;
    font-size: 13px;
}

.xp-mp-card__store a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8ea8ff !important;
    text-decoration: none;
    font-weight: 700;
}

.xp-mp-card__store a:hover {
    color: #ffffff !important;
}

.xp-mp-card__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.xp-mp-card__price {
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
}

.xp-mp-card__stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .18);
    color: #34d399;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.xp-mp-card__stock.is-out {
    background: rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .16);
    color: #fca5a5;
}

.xp-mp-card__actions {
    display: block;
}

.xp-mp-card__add {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    /* background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 14px 28px rgba(34, 197, 94, .24); */
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* .xp-mp-card__add:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(34, 197, 94, .30);
    filter: brightness(1.03);
} */

.xp-mp-card__add.is-disabled,
.xp-mp-card__add:disabled {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(.12);
    background: linear-gradient(135deg, #334155, #1e293b);
    box-shadow: none;
}

.xp-mp-icon-btn {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, .24);
    background: rgba(59, 130, 246, .10);
    color: #8db9ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.xp-mp-icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, .18);
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .14);
}

.xp-mp-icon-btn--cart {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(34, 197, 94, .22);
}

.xp-mp-icon-btn--cart:hover {
    background: linear-gradient(135deg, #28d96a, #17b357);
    color: #fff;
    box-shadow: 0 16px 28px rgba(34, 197, 94, .28);
}

.xp-mp-icon-btn.is-disabled,
.xp-mp-icon-btn:disabled {
    opacity: .5;
    pointer-events: none;
    filter: grayscale(.12);
}

.xp-mp-card__add {
    position: relative;
    overflow: hidden;
}

.xp-mp-card__add.is-added {
    animation: xpMpAddPulse .38s ease;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .16), 0 18px 32px rgba(34, 197, 94, .28);
}

.xp-mp-card__add.is-added i {
    animation: xpMpCartBounce .38s ease;
}

@keyframes xpMpAddPulse {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(.96);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes xpMpCartBounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(1px);
    }

    100% {
        transform: translateY(0);
    }
}

.xp-mp-cart-fab span.is-bump {
    animation: xpMpCountBump .34s ease;
}

@keyframes xpMpCountBump {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.18);
    }

    100% {
        transform: scale(1);
    }
}


/* LOADING STATE */
.xp-mp-card__add.is-loading {
    pointer-events: none;
    opacity: .9;
}

.xp-mp-card__add.is-loading i {
    display: none;
}

.xp-mp-card__add.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    animation: xpSpin .6s linear infinite;
}

/* SUCCESS STATE */
.xp-mp-card__add.is-success {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.xp-mp-card__add.is-success i {
    display: none;
}

.xp-mp-card__add.is-success::after {
    content: "✔";
    font-weight: 900;
}

/* SPINNER */
@keyframes xpSpin {
    to {
        transform: rotate(360deg);
    }
}

.xp-mp-loadmore {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 12px;
    color: #9fb3d6;
    font-size: 13px;
    font-weight: 700;
}

.xp-mp-loadmore.is-visible {
    display: flex;
}

.xp-mp-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: none;
}

.xp-mp-card__badge--offer {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    box-shadow: 0 10px 22px rgba(34, 197, 94, .24);
}

.xp-mp-card__badge--warn {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    box-shadow: 0 10px 22px rgba(245, 158, 11, .22);
    color: #fff;
}

.xp-mp-card__price-wrap {
    display: grid;
    gap: 4px;
}

.xp-mp-card__price-old {
    color: #7f90af;
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
    line-height: 1;
}

.xp-mp-card__save {
    color: #34d399;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.xp-mp-card__badge--danger {
    background: linear-gradient(180deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 10px 22px rgba(239, 68, 68, .30);
}

.xp-mp-card__badge--offer {
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 10px 22px rgba(59, 130, 246, .28);
}

.xp-mp-card__badge--warn {
    background: linear-gradient(180deg, #f59e0b, #d97706);
    color: #fff;
}