/* =========================================================
   STOREXY MARKETPLACE
   MOBILE FIRST
========================================================= */
:root {
    --mx-black: #17151b;
    --mx-text: #161522;
    --mx-muted: #74727d;
    --mx-line: #e9e7ec;
    --mx-soft: #f7f6f8;
    --mx-pink: #c70e64;
    --mx-yellow: #f5c532;
    --mx-purple: #e81a57;
    --mx-lilac: #f3edff;
    --mx-promo: #f4f0fb;
}

.mx-marketplace,
.mx-search-page {
    color: var(--mx-text);
    background: #fff;
}

.mx-marketplace *,
.mx-search-page * {
    box-sizing: border-box;
}

.mx-marketplace .container,
.mx-search-page .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.mx-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--mx-pink);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mx-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.mx-section-heading h2,
.mx-results-top h2 {
    margin: 0;

    color: var(--mx-text);

    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -.045em;
    font-weight: 800;
}

.mx-section-heading p {
    margin: 7px 0 0;

    color: var(--mx-muted);

    font-size: 12px;
}

.mx-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    flex: 0 0 auto;

    color: var(--mx-text);

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.mx-view-all:hover {
    color: var(--mx-pink);
}


/* =========================================================
   SHOP FROM SELLER CTA
========================================================= */

.mx-marketplace-shop-seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid rgba(25, 22, 38, .09);

    color: #191625;
    text-decoration: none;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;

    transition:
        color .2s ease,
        transform .2s ease;
}

.mx-marketplace-shop-seller span {
    display: inline-flex;
    align-items: center;
}

.mx-marketplace-shop-seller i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius: 50%;

    background: rgba(108, 63, 184, .08);
    color: var(--mx-purple);

    font-size: 10px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.mx-marketplace-shop-seller:hover {
    color: var(--mx-purple);
    transform: translateY(-1px);
}

.mx-marketplace-shop-seller:hover i {
    background: var(--mx-purple);
    color: #fff;
    transform: translate(1px, -1px);
}

.mx-sponsored-product .mx-marketplace-shop-seller {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 11px;
}

.mx-sponsored-product .mx-marketplace-shop-seller i {
    width: 24px;
    height: 24px;
}


/* =========================================================
   HERO
========================================================= */

.mx-hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 86% 14%,
            rgba(245, 197, 50, .27),
            transparent 28%
        ),
        radial-gradient(
            circle at 68% 90%,
            rgba(213, 28, 145, .08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #fff9e8 100%
        );
}

.mx-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;

    min-height: 570px;

    padding: 55px 0 25px;
}

.mx-hero-copy {
    position: relative;
    z-index: 3;

    max-width: 700px;
}

.mx-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 17px;

    color: #6d6872;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mx-hero-kicker i {
    color: var(--mx-pink);
}

.mx-hero h1 {
    max-width: 680px;

    margin: 0;

    font-size: clamp(42px, 12vw, 76px);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 850;
}

.mx-hero h1 span {
    display: block;
    color: var(--mx-pink);
}

.mx-hero-copy > p {
    max-width: 560px;

    margin: 19px 0 24px;

    color: #6e6b75;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   HERO / RESULTS SEARCH
========================================================= */

.mx-hero-search,
.mx-results-search {
    display: flex;
    align-items: center;

    width: 100%;
    max-width: 690px;
    min-height: 58px;

    padding: 5px 5px 5px 17px;

    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 17px;

    background: #fff;

    box-shadow: 0 16px 45px rgba(42, 31, 52, .11);
}

.mx-hero-search > i,
.mx-results-search > i {
    flex: 0 0 auto;

    margin-right: 11px;

    color: #92909a;
    font-size: 14px;
}

.mx-hero-search input,
.mx-results-search input {
    min-width: 0;
    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--mx-text);

    font: inherit;
    font-size: 13px;
}

.mx-hero-search input::placeholder,
.mx-results-search input::placeholder {
    color: #aaa7af;
}

.mx-hero-search button,
.mx-results-search button {
    flex: 0 0 auto;

    border: 0;
    border-radius: 12px;

    padding: 13px 17px;

    background: var(--mx-black);
    color: #fff;

    font-size: 12px;
    font-weight: 850;

    cursor: pointer;
}

.mx-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 13px;

    color: #99959e;
    font-size: 10px;
}

.mx-popular-searches a {
    padding: 6px 9px;

    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 999px;

    background: rgba(255, 255, 255, .78);
    color: #55515a;

    text-decoration: none;
    font-weight: 700;
}


/* =========================================================
   HERO ART
========================================================= */

.mx-hero-art {
    position: relative;

    width: min(100%, 440px);
    height: 265px;

    margin: 0 auto;
}

.mx-hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;

    border: 1px dashed rgba(23, 21, 27, .12);
    border-radius: 50%;

    transform: translate(-50%, -50%);
}

.mx-hero-circle.circle-one {
    width: 245px;
    height: 245px;
}

.mx-hero-circle.circle-two {
    width: 160px;
    height: 160px;
}

.mx-hero-center {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 96px;
    height: 96px;

    display: grid;
    place-items: center;

    border-radius: 30px;

    background: var(--mx-black);
    color: #fff;

    font-size: 36px;

    box-shadow: 0 25px 55px rgba(0, 0, 0, .2);

    transform: translate(-50%, -50%);
}

.mx-floating-card,
.mx-floating-price {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 13px;

    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 14px;

    background: rgba(255, 255, 255, .92);

    box-shadow: 0 14px 35px rgba(0, 0, 0, .1);

    font-size: 10px;
    font-weight: 800;
}

.mx-floating-card span {
    font-size: 17px;
}

.float-one {
    top: 2%;
    left: 0;
}

.float-two {
    top: 36%;
    right: 0;
}

.float-three {
    bottom: 0;
    left: 8%;
}

.mx-floating-price {
    right: 4%;
    bottom: 4%;

    display: block;

    background: var(--mx-pink);
    color: #fff;
}

.mx-floating-price small,
.mx-floating-price strong {
    display: block;
}

.mx-floating-price small {
    margin-bottom: 4px;

    opacity: .72;

    font-size: 7px;
    letter-spacing: .1em;
}

.mx-floating-price strong {
    font-size: 11px;
}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.mx-carousel-controls {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    padding: 3px;

    border: 1px solid #e2dfe6;
    border-radius: 999px;

    background: rgba(255, 255, 255, .92);

    box-shadow: 0 6px 20px rgba(36, 28, 45, .08);

    backdrop-filter: blur(8px);
}

.mx-carousel-controls button {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #45404a;

    font-size: 13px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.mx-carousel-controls button:hover {
    background: #17151b;
    color: #fff;
}

.mx-carousel-controls button:active {
    transform: scale(.92);
}

.mx-carousel-controls button:disabled {
    opacity: .35;
    cursor: default;
}

.mx-carousel-controls button:disabled:hover {
    background: transparent;
    color: #45404a;
}


/* =========================================================
   CATEGORIES
========================================================= */

.mx-category-section {
    padding: 48px 0 42px;
    background: #fff;
}

.mx-category-grid {
    display: flex;
    gap: 12px;

    overflow-x: auto;

    padding: 1px 1px 8px;

    scrollbar-width: none;
}

.mx-category-grid::-webkit-scrollbar,
.mx-sponsored-track::-webkit-scrollbar,
.mx-seller-track::-webkit-scrollbar {
    display: none;
}

.mx-category-card {
    flex: 0 0 122px;

    min-height: 126px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 9px;

    border: 1px solid #e4e2e7;
    border-radius: 17px;

    background: #fff;
    color: var(--mx-text);

    text-align: center;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.mx-category-card:hover {
    transform: translateY(-3px);

    border-color: #d9d4df;

    box-shadow: 0 12px 28px rgba(27, 20, 35, .07);
}

.mx-category-icon {
    width: 67px;
    height: 67px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff 0 8%,
            transparent 9%
        ),
        linear-gradient(
            135deg,
            #f0f8f2,
            #f8e8f7
        );

    font-size: 27px;
}

.mx-category-card strong {
    max-width: 100px;

    font-size: 11px;
    line-height: 1.35;
}


/* =========================================================
   PROMOTIONAL SECTION
========================================================= */

.mx-promo-section {
    padding: 50px 0;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(213, 28, 145, .045),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 85%,
            rgba(245, 197, 50, .10),
            transparent 28%
        ),
        #f6f3fb;
}

.mx-sponsored-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #77717f;

    font-size: 10px;
    font-weight: 800;
}

.mx-sponsored-note i {
    color: #b88a00;
}

.mx-promo-masonry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.mx-promo-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}


/* =========================================================
   BASE AD CARD
========================================================= */

.mx-ad-card {
    position: relative;

    display: block;

    overflow: hidden;

    min-height: 145px;

    border: 1px solid rgba(37, 28, 50, .08);
    border-radius: 18px;

    background: #fff;
    color: var(--mx-text);

    text-decoration: none;

    box-shadow: 0 12px 35px rgba(45, 32, 60, .07);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.mx-ad-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 18px 40px rgba(45, 32, 60, .11);
}


/* =========================================================
   LARGE HERO AD
========================================================= */

.mx-ad-hero {
    min-height: 410px;
}


/* Image-based hero */

.mx-ad-hero.has-image {
    display: flex;
    flex-direction: column;

    background: #fff;
}

.mx-ad-hero.has-image img {
    position: relative;
    inset: auto;

    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;
    max-height: none;

    flex: 0 0 auto;

    object-fit: contain;
    object-position: center;

    background: #f8f7fa;
}

.mx-ad-hero.has-image .mx-ad-overlay {
    display: none;
}

.mx-ad-hero.has-image .mx-ad-content {
    position: relative;
    inset: auto;

    z-index: 3;

    max-width: none;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 24px 23px 27px;

    color: var(--mx-text);

    background: #fff;
}

.mx-ad-hero.has-image .mx-ad-content strong {
    color: var(--mx-text);
}

.mx-ad-hero.has-image .mx-ad-content > span:not(.mx-ad-label) {
    color: #77727d;
}

.mx-ad-hero.has-image .mx-ad-content em {
    color: var(--mx-pink);
}


/* =========================================================
   IMAGE-FREE HERO
========================================================= */

.mx-ad-hero.text-ad {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 410px;

    padding: 40px 30px;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(245, 197, 50, .55),
            transparent 28%
        ),
        radial-gradient(
            circle at 12% 88%,
            rgba(213, 28, 145, .18),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #f7f1ff 52%,
            #fff9df 100%
        );

    color: var(--mx-text);
}

.mx-ad-hero.text-ad::before {
    content: "\f290";

    position: absolute;
    right: 4%;
    top: 7%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: clamp(130px, 20vw, 250px);
    line-height: 1;

    color: rgba(116, 72, 160, .075);

    transform: rotate(-8deg);

    pointer-events: none;
}

.mx-ad-hero.text-ad .mx-ad-content {
    position: relative;
    inset: auto;

    z-index: 3;

    width: 100%;
    max-width: 78%;
}

.mx-ad-hero.text-ad .mx-ad-content strong {
    color: var(--mx-text);
}

.mx-ad-hero.text-ad .mx-ad-content > span:not(.mx-ad-label) {
    color: #6f6a75;
}

.mx-ad-hero.text-ad .mx-ad-content em {
    color: var(--mx-pink);
}


/* =========================================================
   SMALL SIDE ADS
========================================================= */

.mx-ad-small {
    position: relative;

    min-height: 0;
    height: 100%;

    overflow: hidden;
}

.mx-ad-small.has-image {
    display: block;

    position: relative;

    height: 100%;
    min-height: 0;

    background: #fff;
}

.mx-ad-small.has-image img {
    position: absolute;

    top: 8px;
    bottom: 8px;
    left: 8px;

    width: calc(30% - 8px);
    height: calc(100% - 16px);

    max-height: none;

    display: block;

    object-fit: contain;
    object-position: center;

    border-radius: 12px;

    background: #f7f6f8;
}

.mx-ad-small.has-image .mx-ad-content {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;

    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    min-height: 0;
    max-width: none;

    padding: 13px 16px;

    background: #fff;
    color: var(--mx-text);
}

.mx-ad-small.has-image .mx-ad-content strong {
    color: var(--mx-text);

    font-size: 15px;
    line-height: 1.08;
}

.mx-ad-small.has-image .mx-ad-content > span:not(.mx-ad-label) {
    max-width: 300px;
    color: #77727d;
}

.mx-ad-small.has-image .mx-ad-content em {
    margin-top: 10px;
    color: var(--mx-pink);
}


/* =========================================================
   SMALL IMAGE-FREE ADS
========================================================= */

.mx-ad-small.text-ad {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 100%;

    padding: 17px 18px;

    background:
        radial-gradient(
            circle at 95% 15%,
            rgba(245, 197, 50, .38),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 100%,
            rgba(213, 28, 145, .09),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #faf6ff 65%,
            #fffdf2 100%
        );

    color: var(--mx-text);
}

.mx-ad-small.text-ad::before {
    content: "\f07a";

    position: absolute;
    right: 13px;
    top: 50%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 72px;
    line-height: 1;

    color: rgba(116, 72, 160, .07);

    transform:
        translateY(-50%)
        rotate(-8deg);

    pointer-events: none;
}

.mx-ad-small.text-ad .mx-ad-content {
    position: relative;
    inset: auto;

    z-index: 2;

    width: 100%;
    max-width: 78%;
}

.mx-ad-small.text-ad .mx-ad-content strong {
    color: var(--mx-text);
}

.mx-ad-small.text-ad .mx-ad-content > span:not(.mx-ad-label) {
    color: #77727d;
}

.mx-ad-small.text-ad .mx-ad-content em {
    color: var(--mx-pink);
}


/* =========================================================
   AD CONTENT
========================================================= */

.mx-ad-content strong,
.mx-ad-content > span:not(.mx-ad-label),
.mx-ad-content em {
    display: block;
}

.mx-ad-content strong {
    margin-bottom: 6px;

    font-size: 23px;
    line-height: 1.03;
    letter-spacing: -.035em;
}

.mx-ad-small .mx-ad-content strong {
    font-size: 15px;
    line-height: 1.08;
}

.mx-ad-content > span:not(.mx-ad-label) {
    max-width: 410px;

    color: #77727d;

    font-size: 10px;
    line-height: 1.45;
}

.mx-ad-content em {
    margin-top: 12px;

    color: var(--mx-pink);

    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}


/* =========================================================
   SPONSORED LABEL
========================================================= */

.mx-ad-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    width: fit-content;

    margin-bottom: 9px;
    padding: 5px 8px;

    border-radius: 999px;

    background: #fff;
    color: #242027;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
}

.mx-ad-label i {
    color: #bd8c00;
}


/* =========================================================
   DECORATIVE AD SHAPES
========================================================= */

.mx-ad-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.shape-one {
    width: 160px;
    height: 160px;

    top: -75px;
    right: -35px;

    background: rgba(245, 197, 50, .15);
}

.shape-two {
    width: 110px;
    height: 110px;

    bottom: -55px;
    left: 34%;

    background: rgba(213, 28, 145, .09);
}


/* =========================================================
   EMPTY / FALLBACK PROMO
========================================================= */

.mx-promo-empty,
.mx-promo-text-placeholder {
    min-height: 315px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 25px;

    overflow: hidden;

    position: relative;

    border: 1px solid rgba(37, 28, 50, .07);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(245, 197, 50, .42),
            transparent 27%
        ),
        radial-gradient(
            circle at 12% 100%,
            rgba(213, 28, 145, .13),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff,
            #f7f1ff
        );

    color: var(--mx-text);
}

.mx-promo-empty::before {
    content: "\f290";

    position: absolute;
    right: 4%;
    top: 8%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 180px;

    color: rgba(116, 72, 160, .065);

    transform: rotate(-8deg);
}

.mx-promo-empty span,
.mx-promo-text-placeholder span {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;

    color: var(--mx-pink);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.mx-promo-empty strong,
.mx-promo-text-placeholder strong {
    position: relative;
    z-index: 2;

    max-width: 420px;

    color: var(--mx-text);

    font-size: 22px;
    line-height: 1.1;
}

.mx-promo-text-placeholder {
    min-height: 145px;
    justify-content: center;
}

.mx-promo-text-placeholder::before {
    content: "\f54e";

    position: absolute;
    right: 5%;
    top: 50%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 100px;

    color: rgba(116, 72, 160, .065);

    transform: translateY(-50%);
}

.mx-promo-text-placeholder strong {
    font-size: 16px;
}

.mx-promo-text-placeholder a {
    position: relative;
    z-index: 2;

    margin-top: 12px;

    color: var(--mx-pink);

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   SPONSORED PRODUCT ROWS
========================================================= */

.mx-sponsored-row-section {
    padding: 44px 0;

    background: var(--mx-promo);
}

.mx-sponsored-row-second {
    padding-top: 48px;
    background: #fff;
}

.mx-sponsored-row-section .mx-section-heading {
    margin-bottom: 18px;
}

.mx-sponsored-track {
    display: flex;
    gap: 12px;

    overflow-x: auto;

    padding: 2px 1px 8px;

    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mx-sponsored-product {
    flex: 0 0 214px;

    overflow: hidden;

    border: 1px solid #e3dfe9;
    border-radius: 16px;

    background: #fff;

    scroll-snap-align: start;
}

.mx-sponsored-product-image {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eee;

    text-decoration: none;
}

.mx-sponsored-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.mx-sponsored-label {
    position: absolute;
    z-index: 2;

    top: 9px;
    left: 9px;

    padding: 5px 8px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .94);
    color: #252128;

    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mx-sponsored-label i {
    color: #b88a00;
}

.mx-sponsored-product-body {
    padding: 12px;
}

.mx-sponsored-product-body h3 {
    display: -webkit-box;

    min-height: 31px;

    margin: 0 0 5px;

    overflow: hidden;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    font-size: 12px;
    line-height: 1.3;
}

.mx-sponsored-product-body span {
    display: block;

    overflow: hidden;

    color: #8b8790;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-sponsored-product-body strong {
    display: block;

    margin-top: 9px;

    font-size: 13px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.mx-fresh-section {
    padding: 50px 0;

    background: #fff;
}

.mx-product-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.mx-product-card,
.mx-sponsored-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #e8e3ef;
    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 5px 18px rgba(34, 24, 55, .06),
        0 1px 3px rgba(34, 24, 55, .04);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.mx-product-card:hover,
.mx-sponsored-card:hover {
    transform: translateY(-4px);

    border-color: #ddd2eb;

    box-shadow:
        0 14px 32px rgba(34, 24, 55, .11),
        0 3px 8px rgba(34, 24, 55, .05);
}

.mx-product-media,
.mx-product-image {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f3f2f4;

    text-decoration: none;
}

.mx-product-media img,
.mx-product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.mx-product-card:hover .mx-product-media img,
.mx-product-card:hover .mx-product-image img {
    transform: scale(1.035);
}

.mx-product-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #aaa6af;

    font-size: 26px;
}

.mx-sale-badge {
    position: absolute;
    z-index: 2;

    top: 9px;
    left: 9px;

    padding: 5px 7px;

    border-radius: 999px;

    background: var(--mx-pink);
    color: #fff;

    font-size: 7px;
    font-weight: 900;
}

.mx-product-open {
    position: absolute;

    right: 8px;
    bottom: 8px;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .94);
    color: #222;

    font-size: 9px;
}

.mx-product-body,
.mx-product-content {
    padding: 15px 14px 14px;

    background: #fff;
}

.mx-product-category {
    display: block;

    margin-bottom: 7px;

    overflow: hidden;

    color: #a19aa9;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;

    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.mx-product-body h3,
.mx-product-name {
    display: -webkit-box;

    min-height: 33px;

    margin: 0 0 8px;

    overflow: hidden;

    color: #211b2d;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -.015em;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mx-product-vendor,
.mx-product-store {
    display: flex;
    align-items: center;
    gap: 5px;

    min-width: 0;

    overflow: hidden;

    color: #817989;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-product-vendor i,
.mx-product-store i {
    flex: 0 0 auto;

    color: #c02b91;
}

.mx-product-price-row {
    margin-top: 11px;
}

.mx-product-price-row strong,
.mx-product-price {
    display: inline-block;

    color: #171320;

    font-size: 14px;
    font-weight: 800;
}

.mx-product-price-row del {
    margin-left: 4px;

    color: #aaa6ae;

    font-size: 8px;
}

.mx-product-footer {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #eeeaf2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mx-product-footer a {
    color: #211b2d;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.mx-product-footer .mx-product-link {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f0fa;
    color: #7b3db1;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.mx-product-card:hover .mx-product-footer .mx-product-link,
.mx-sponsored-card:hover .mx-product-footer .mx-product-link {
    background: #7b3db1;
    color: #fff;

    transform: translateY(-1px);
}


/* =========================================================
   SELLERS
========================================================= */

.mx-seller-section {
    padding: 50px 0;

    background: #f8f7f8;
}

.mx-seller-track {
    display: flex;
    gap: 11px;

    overflow-x: auto;

    padding-bottom: 7px;

    scrollbar-width: none;
}

.mx-seller-card {
    flex: 0 0 158px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 18px 12px;

    border: 1px solid #e5e2e6;
    border-radius: 17px;

    background: #fff;
    color: var(--mx-text);

    text-align: center;
    text-decoration: none;
}

.mx-seller-logo {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin-bottom: 11px;

    overflow: hidden;

    border-radius: 18px;

    background: #f2f0f2;
    color: #aaa4ad;

    font-size: 20px;
}

.mx-seller-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.mx-seller-card strong {
    width: 100%;

    overflow: hidden;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-seller-card > span:last-child {
    margin-top: 4px;

    color: #99959d;

    font-size: 9px;
}


/* =========================================================
   LOCATIONS
========================================================= */

.mx-location-section {
    padding: 50px 0;

    background: #fff;
}

.mx-location-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.mx-location-card {
    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 0;

    padding: 12px;

    border: 1px solid #e7e4e8;
    border-radius: 14px;

    color: var(--mx-text);

    text-decoration: none;
}

.mx-location-icon {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    flex: 0 0 35px;

    border-radius: 11px;

    background: #fff3c8;
    color: #b48700;

    font-size: 12px;
}

.mx-location-card > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.mx-location-card strong,
.mx-location-card small {
    display: block;
}

.mx-location-card strong {
    overflow: hidden;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-location-card small {
    margin-top: 2px;

    color: #99959d;

    font-size: 9px;
}

.mx-location-card > i {
    color: #aaa5ad;

    font-size: 9px;
}


/* =========================================================
   VENDOR CTA
========================================================= */

.mx-vendor-section {
    padding: 0 0 55px;
}

.mx-vendor-banner {
    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 28px;

    overflow: hidden;

    border-radius: 22px;

    background:
        radial-gradient(
            circle at 86% 10%,
            rgba(245, 197, 50, .35),
            transparent 27%
        ),
        radial-gradient(
            circle at 15% 100%,
            rgba(213, 28, 145, .24),
            transparent 35%
        ),
        #17151b;

    color: #fff;
}

.mx-vendor-banner .mx-kicker {
    color: var(--mx-yellow);
}

.mx-vendor-banner h2 {
    max-width: 650px;

    margin: 0;

    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.mx-vendor-banner p {
    max-width: 560px;

    margin: 10px 0 0;

    color: #b7b2ba;

    font-size: 12px;
    line-height: 1.6;
}

.mx-vendor-button,
.mx-dark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;

    padding: 12px 15px;

    border-radius: 11px;

    background: var(--mx-yellow);
    color: #17151b;

    font-size: 11px;
    font-weight: 900;

    text-decoration: none;
}


/* =========================================================
   SEARCH / CATEGORY HERO
========================================================= */

.mx-search-hero,
.mx-category-hero,
.mx-category-directory-hero {
    padding: 45px 0 38px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(245, 197, 50, .2),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #fff,
            #faf5ff
        );
}

.mx-search-hero h1,
.mx-category-hero h1,
.mx-category-directory-hero h1 {
    margin: 0 0 18px;

    font-size: clamp(35px, 9vw, 55px);
    line-height: .98;
    letter-spacing: -.055em;
}

.mx-results-search {
    max-width: 760px;
}

.mx-category-hero-icon {
    display: grid;

    width: 64px;
    height: 64px;

    margin-bottom: 17px;

    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eef7f0,
            #f8e5f7
        );

    font-size: 27px;
}

.mx-category-hero p,
.mx-category-directory-hero p {
    max-width: 650px;

    margin: 0;

    color: var(--mx-muted);

    font-size: 13px;
    line-height: 1.6;
}

.mx-category-directory-hero h1 {
    margin-bottom: 10px;
}


/* =========================================================
   MARKETPLACE REUSABLE CATEGORY SEARCH
========================================================= */

.mx-category-search {
    padding: 18px 0 8px;

    margin-bottom: 32px;

    background: #fff;
}

.mx-marketplace-searchbox {
    display: flex;
    align-items: stretch;
    gap: 8px;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.mx-marketplace-search-input {
    position: relative;

    flex: 1 1 auto;

    min-width: 0;
}

.mx-marketplace-search-input > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #8a8491;

    font-size: 12px;

    pointer-events: none;
}

.mx-marketplace-search-input input {
    width: 100%;
    height: 44px;

    padding: 0 14px 0 40px;

    border: 1px solid #e5e1e9;
    border-radius: 13px;

    outline: none;

    background: #fff;
    color: #211c29;

    font-family: inherit;
    font-size: 11px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.mx-marketplace-search-input input::placeholder {
    color: #9a949f;
}

.mx-marketplace-search-input input:focus {
    border-color: var(--mx-purple);

    box-shadow: 0 0 0 3px rgba(108, 63, 184, .08);
}

.mx-marketplace-search-category {
    position: relative;

    flex: 0 0 190px;
}

.mx-marketplace-search-category > i {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: #817a8b;

    font-size: 11px;

    pointer-events: none;
}

.mx-marketplace-search-category select {
    width: 100%;
    height: 44px;

    padding: 0 30px 0 34px;

    border: 1px solid #e5e1e9;
    border-radius: 13px;

    outline: none;

    background: #fff;
    color: #393341;

    font-family: inherit;
    font-size: 10px;

    cursor: pointer;
}

.mx-marketplace-search-category select:focus {
    border-color: var(--mx-purple);

    box-shadow: 0 0 0 3px rgba(108, 63, 184, .08);
}

.mx-marketplace-search-button {
    flex: 0 0 auto;

    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 18px;

    border: 0;
    border-radius: 13px;

    background-color: black;
    color: #fff;

    font-family: inherit;
    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.mx-marketplace-search-button:hover {
    background: #e81a57;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(108, 63, 184, .18);
}


/* =========================================================
   CATEGORY SPONSORED AREA
========================================================= */

.mx-category-sponsored {
    padding: 12px 0 8px;
}

.mx-category-sponsored .mx-ad-card {
    width: 100%;
}


/* =========================================================
   SEARCH RESULTS
========================================================= */

.mx-results-section {
    padding: 45px 0 70px;

    background: #f8f7f8;
}

.mx-results-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;
}

.mx-results-top p {
    margin: 6px 0 0;

    color: #96919a;

    font-size: 10px;
}

.mx-sort-form {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mx-sort-form label {
    color: #8c8790;

    font-size: 10px;
}

.mx-sort-form select,
.mx-filter-sidebar select {
    border: 1px solid #dedbe0;
    border-radius: 10px;

    padding: 10px 11px;

    background: #fff;
    color: #333;

    font-size: 11px;

    outline: 0;
}

.mx-result-layout {
    display: block;
}

.mx-filter-sidebar {
    display: none;
}

.mx-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mx-filter-title a {
    color: var(--mx-pink);

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}

.mx-filter-sidebar label {
    display: block;

    margin: 18px 0 7px;

    font-size: 10px;
    font-weight: 800;
}

.mx-filter-sidebar button {
    width: 100%;

    margin-top: 3px;

    border: 0;
    border-radius: 10px;

    padding: 11px;

    background: var(--mx-black);
    color: #fff;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}

.mx-filter-sidebar select {
    width: 100%;
}


/* =========================================================
   DIRECTORY
========================================================= */

.mx-directory-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 11px;
}

.mx-directory-card {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;

    padding: 14px;

    border: 1px solid #e4e1e6;
    border-radius: 17px;

    background: #fff;
    color: var(--mx-text);

    text-decoration: none;
}

.mx-directory-card .mx-category-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    font-size: 23px;
}

.mx-directory-card > span:last-child {
    min-width: 0;
}

.mx-directory-card strong,
.mx-directory-card small {
    display: block;
}

.mx-directory-card strong {
    font-size: 12px;
}

.mx-directory-card small {
    margin-top: 5px;

    color: var(--mx-pink);

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   PAGINATION
========================================================= */

.mx-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    margin: 42px auto 20px;
}

.mx-pagination-page,
.mx-pagination-control {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    border: 1px solid #e6e1ea;

    background: #fff;
    color: #17131f;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.mx-pagination-page:hover,
.mx-pagination-control:hover {
    border-color: var(--mx-purple);

    color: var(--mx-purple);

    transform: translateY(-1px);
}

.mx-pagination-page.is-current {
    border-color: var(--mx-purple);

    background: var(--mx-purple);
    color: #fff;
}

.mx-pagination-control[aria-disabled="true"] {
    opacity: .35;

    pointer-events: none;
}

.mx-pagination-ellipsis {
    width: 28px;

    text-align: center;

    color: #8a8492;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.mx-product-detail {
    padding: 32px 0 65px;

    background: #fff;
}

.mx-product-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 25px;

    overflow: hidden;

    color: #97929b;

    font-size: 9px;
}

.mx-product-breadcrumbs a {
    flex: 0 0 auto;

    color: #77727b;

    text-decoration: none;
}

.mx-product-breadcrumbs span {
    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-product-detail-layout {
    display: grid;

    gap: 28px;
}

.mx-product-detail-image {
    overflow: hidden;

    aspect-ratio: 1 / 1;

    border-radius: 22px;

    background: #f3f1f4;
}

.mx-product-detail-image > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.mx-product-detail-copy h1 {
    margin: 0;

    font-size: clamp(30px, 8vw, 50px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.mx-detail-vendor {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;
    padding: 10px;

    border: 1px solid #e8e5e9;
    border-radius: 14px;

    color: var(--mx-text);

    text-decoration: none;
}

.mx-detail-vendor-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex: 0 0 42px;

    overflow: hidden;

    border-radius: 12px;

    background: #f3f1f4;
    color: #aaa4ad;

    font-size: 20px;
}

.mx-detail-vendor-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.mx-detail-vendor > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.mx-detail-vendor small,
.mx-detail-vendor strong {
    display: block;
}

.mx-detail-vendor small {
    color: #99949d;

    font-size: 8px;
}

.mx-detail-vendor strong {
    margin-top: 3px;

    overflow: hidden;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.mx-detail-vendor > i {
    color: #aaa4ad;

    font-size: 10px;
}

.mx-detail-price {
    display: flex;
    align-items: baseline;
    gap: 8px;

    margin-top: 23px;
}

.mx-detail-price strong {
    font-size: 24px;

    letter-spacing: -.035em;
}

.mx-detail-price del {
    color: #aaa5ad;

    font-size: 11px;
}

.mx-detail-note {
    max-width: 580px;

    margin: 13px 0 0;

    color: #85808a;

    font-size: 11px;
    line-height: 1.6;
}

.mx-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 23px;
}

.mx-detail-secondary,
.mx-detail-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 12px 14px;

    border-radius: 11px;

    font-size: 10px;
    font-weight: 850;

    text-decoration: none;
}

.mx-detail-secondary {
    border: 1px solid #dedbe0;

    background: #fff;
    color: #28242b;
}

.mx-detail-whatsapp {
    background: #eaf8ef;
    color: #176b36;
}

.mx-detail-stats {
    display: flex;
    gap: 25px;

    margin-top: 22px;
    padding-top: 17px;

    border-top: 1px solid #ece9ed;
}

.mx-detail-stats span {
    color: #97929b;

    font-size: 9px;
}

.mx-detail-stats strong {
    display: block;

    margin-bottom: 3px;

    color: #27232a;

    font-size: 12px;
}


/* =========================================================
   VENDOR PROFILE
========================================================= */

.mx-vendor-profile-hero {
    padding: 42px 0;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(245, 197, 50, .18),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #fff,
            #faf4ff
        );
}

.mx-vendor-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mx-vendor-profile-logo {
    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    flex: 0 0 76px;

    overflow: hidden;

    border: 1px solid #e3e0e5;
    border-radius: 22px;

    background: #fff;
    color: #aaa4ad;

    font-size: 25px;
}

.mx-vendor-profile-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.mx-vendor-profile h1 {
    margin: 0;

    font-size: clamp(28px, 7vw, 47px);
    line-height: 1;
    letter-spacing: -.05em;
}

.mx-vendor-profile p {
    margin: 7px 0 0;

    color: #8d8891;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 650px) {

    .mx-marketplace .container,
    .mx-search-page .container {
        width: min(1180px, calc(100% - 48px));
    }

    .mx-hero-inner {
        min-height: 550px;

        padding: 70px 0 30px;
    }

    .mx-hero-art {
        height: 300px;
    }

    .mx-category-card {
        flex: 1 1 0;

        min-width: 108px;
    }

    .mx-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 15px;
    }

    .mx-location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mx-vendor-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .mx-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 950px) {

    .mx-marketplace .container,
    .mx-search-page .container {
        width: min(1180px, calc(100% - 64px));
    }


    /* -----------------------------------------------------
       MAIN HERO
    ----------------------------------------------------- */

    .mx-hero-inner {
        flex-direction: row;
        align-items: center;

        min-height: 545px;

        padding: 65px 0;
    }

    .mx-hero-copy {
        flex: 1;
    }

    .mx-hero h1 {
        font-size: 72px;
    }

    .mx-hero-art {
        flex: 0 0 450px;

        height: 390px;

        margin: 0;
    }

    .mx-hero-circle.circle-one {
        width: 350px;
        height: 350px;
    }

    .mx-hero-circle.circle-two {
        width: 245px;
        height: 245px;
    }

    .mx-hero-center {
        width: 135px;
        height: 135px;

        border-radius: 40px;

        font-size: 50px;
    }

    .mx-floating-card {
        padding: 12px 15px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       SECTION SPACING
    ----------------------------------------------------- */

    .mx-category-section,
    .mx-promo-section,
    .mx-sponsored-row-section,
    .mx-fresh-section,
    .mx-seller-section,
    .mx-location-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }


    /* -----------------------------------------------------
       PROMOTIONAL MASONRY
       1 LARGE + 3 SMALL
    ----------------------------------------------------- */

    .mx-promo-masonry {
        grid-template-columns: 1.38fr .92fr;

        height: 455px;
        min-height: 455px;

        align-items: stretch;
    }

    .mx-promo-stack {
        grid-template-rows:
            repeat(3, minmax(0, 1fr));

        height: 455px;
        min-height: 455px;

        gap: 12px;
    }


    /* -----------------------------------------------------
       HERO AD — ALWAYS FULL HEIGHT
    ----------------------------------------------------- */

    .mx-promo-feature {
        height: 455px;
        min-height: 455px;
    }

    .mx-ad-hero {
        width: 100%;
        height: 455px;
        min-height: 455px;
    }


    /* -----------------------------------------------------
       EMPTY HERO
       This is important for:
       "Advertise here" when no hero slot exists.
    ----------------------------------------------------- */

    .mx-promo-feature .mx-ad-placeholder {
        width: 100%;
        height: 455px;
        min-height: 455px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mx-promo-feature .mx-ad-placeholder .mx-ad-content {
        width: 100%;
    }


/* -----------------------------------------------------
   HERO IMAGE AD

   Fixed total hero height.
   Image occupies a controlled area and fills the
   entire width without horizontal gutters.
----------------------------------------------------- */

.mx-ad-hero.has-image {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 455px;
    min-height: 455px;

    overflow: hidden;
}

.mx-ad-hero.has-image img {
    position: relative;
    inset: auto;

    display: block;

    width: 100%;
    height: 258px;

    flex: 0 0 258px;

    max-width: none;
    max-height: none;

    object-fit: cover;
    object-position: center center;

    background: #f8f7fa;
}

.mx-ad-hero.has-image .mx-ad-content {
    position: relative;
    inset: auto;

    z-index: 3;

    width: 100%;
    height: 197px;
    min-height: 197px;

    flex: 0 0 197px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 22px 25px 24px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fff 0%,
            #fbf8ff 58%,
            #f8f1fb 100%
        );

    color: var(--mx-text);
}

.mx-ad-hero.has-image .mx-ad-content > * {
    position: relative;
    z-index: 3;
}

.mx-ad-hero.has-image .mx-ad-content::before {
    content: "\f290";

    position: absolute;

    z-index: 1;

    right: 34px;
    top: 50%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 135px;
    line-height: 1;

    color: rgba(116, 72, 160, .055);

    transform:
        translateY(-50%)
        rotate(-7deg);

    pointer-events: none;
}

.mx-ad-hero.has-image .mx-ad-content::after {
    content: "";

    position: absolute;

    z-index: 0;

    right: 115px;
    top: 18px;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background: rgba(213, 28, 145, .045);

    box-shadow:
        75px 72px 0 rgba(245, 197, 50, .055),
        -55px 85px 0 rgba(116, 72, 160, .035);

    pointer-events: none;
}

.mx-ad-hero.has-image .mx-ad-content strong,
.mx-ad-hero.has-image .mx-ad-content > span:not(.mx-ad-label),
.mx-ad-hero.has-image .mx-ad-content em {
    position: relative;

    z-index: 3;

    max-width: 67%;
}


    /* -----------------------------------------------------
       IMAGE-FREE HERO
    ----------------------------------------------------- */

    .mx-ad-hero.text-ad {
        height: 455px;
        min-height: 455px;
    }


/* -----------------------------------------------------
   SIDE ADS
   Three equal rows.
----------------------------------------------------- */

.mx-promo-stack > .mx-ad-small {
    width: 100%;
    height: 100%;
    min-height: 0;
}


/* -----------------------------------------------------
   EMPTY SIDE AD SLOTS

   Empty slots must behave like text advertisements,
   not image advertisements.
----------------------------------------------------- */

.mx-promo-stack > .mx-ad-placeholder {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    overflow: hidden;

    padding: 17px 18px;

    border: 1px solid rgba(37, 28, 50, .08);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 95% 15%,
            rgba(245, 197, 50, .38),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 100%,
            rgba(213, 28, 145, .09),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #faf6ff 65%,
            #fffdf2 100%
        );

    color: var(--mx-text);

    box-shadow:
        0 12px 35px rgba(45, 32, 60, .07);
}


/*
   Hide a broken/missing image element if the PHP
   placeholder markup still contains one.

   This makes the CSS resilient while we clean up
   the renderer separately.
*/
.mx-promo-stack > .mx-ad-placeholder > img {
    display: none;
}


/*
   Hide a standalone image icon if the placeholder
   markup contains one.
*/
.mx-promo-stack > .mx-ad-placeholder > i {
    display: none;
}


/*
   Decorative shopping icon for empty side slots.
*/
.mx-promo-stack > .mx-ad-placeholder::before {
    content: "\f07a";

    position: absolute;

    right: 13px;
    top: 50%;

    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    font-size: 72px;
    line-height: 1;

    color: rgba(116, 72, 160, .07);

    transform:
        translateY(-50%)
        rotate(-8deg);

    pointer-events: none;
}


/*
   Placeholder content.
*/
.mx-promo-stack > .mx-ad-placeholder .mx-ad-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 78%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mx-promo-stack > .mx-ad-placeholder .mx-ad-content strong {
    display: block;

    margin-bottom: 6px;

    color: var(--mx-text);

    font-size: 15px;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.mx-promo-stack > .mx-ad-placeholder .mx-ad-content > span:not(.mx-ad-label) {
    display: block;

    max-width: 300px;

    color: #77727d;

    font-size: 10px;
    line-height: 1.45;
}

.mx-promo-stack > .mx-ad-placeholder .mx-ad-content em {
    display: block;

    margin-top: 10px;

    color: var(--mx-pink);

    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}

    /* -----------------------------------------------------
       SIDE IMAGE ADS
    ----------------------------------------------------- */

    .mx-ad-small.has-image {
        display: block;

        position: relative;

        height: 100%;
        min-height: 0;

        background: #fff;
    }

    .mx-ad-small.has-image img {
        position: absolute;

        top: 8px;
        bottom: 8px;
        left: 8px;

        width: calc(30% - 8px);
        height: calc(100% - 16px);

        max-height: none;

        display: block;

        object-fit: contain;
        object-position: center;

        border-radius: 12px;

        background: #f7f6f8;
    }

    .mx-ad-small.has-image .mx-ad-content {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;
        left: 30%;

        z-index: 3;

        display: flex;
        flex-direction: column;
        justify-content: center;

        min-width: 0;
        min-height: 0;
        max-width: none;

        padding: 13px 16px;

        background: #fff;

        color: var(--mx-text);
    }

    .mx-ad-small.has-image .mx-ad-content strong {
        font-size: 15px;
        line-height: 1.08;
    }

    .mx-ad-small.has-image .mx-ad-content > span:not(.mx-ad-label) {
        max-width: 300px;
    }

    .mx-ad-small.has-image .mx-ad-content em {
        margin-top: 10px;
    }


    /* -----------------------------------------------------
       SIDE IMAGE-FREE ADS
    ----------------------------------------------------- */

    .mx-ad-small.text-ad {
        height: 100%;
        min-height: 0;
    }


    /* -----------------------------------------------------
       SPONSORED PRODUCTS
    ----------------------------------------------------- */

    .mx-sponsored-product {
        flex-basis: 228px;
    }


    /* -----------------------------------------------------
       PRODUCT GRID
    ----------------------------------------------------- */

    .mx-product-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 17px;
    }

    .mx-product-body,
    .mx-product-content {
        padding: 17px 16px 15px;
    }

    .mx-product-body h3,
    .mx-product-name {
        font-size: 15px;
    }

    .mx-product-price-row strong,
    .mx-product-price {
        font-size: 17px;
    }


    /* -----------------------------------------------------
       LOCATIONS
    ----------------------------------------------------- */

    .mx-location-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    /* -----------------------------------------------------
       SEARCH RESULTS
    ----------------------------------------------------- */

    .mx-results-section {
        padding-top: 65px;
    }

    .mx-result-layout {
        display: grid;

        grid-template-columns:
            210px minmax(0, 1fr);

        gap: 25px;

        align-items: start;
    }

    .mx-filter-sidebar {
        display: block;

        position: sticky;

        top: 20px;

        padding: 17px;

        border: 1px solid #e4e1e6;
        border-radius: 16px;

        background: #fff;
    }


    /* -----------------------------------------------------
       PRODUCT DETAIL
    ----------------------------------------------------- */

    .mx-product-detail {
        padding-top: 48px;
    }

    .mx-product-detail-layout {
        grid-template-columns:
            minmax(0, 1.05fr)
            minmax(400px, .95fr);

        align-items: center;

        gap: 65px;
    }

    .mx-product-detail-image {
        max-height: 690px;
    }

    .mx-product-detail-copy {
        padding-right: 25px;
    }

    .mx-detail-price strong {
        font-size: 30px;
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .mx-hero h1 {
        font-size: 78px;
    }

    .mx-product-grid {
        gap: 19px;
    }
}


/* =========================================================
   MOBILE SEARCH
========================================================= */

@media (max-width: 649px) {


/* -----------------------------------------------------
   MOBILE SIDE ADS
   Keep the same horizontal dimensions as desktop.
----------------------------------------------------- */

.mx-promo-stack {
    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;
}

.mx-promo-side {
    width: 100%;
    height: 144px;
    min-height: 144px;
}

.mx-ad-small {
    width: 100%;
    height: 144px;
    min-height: 144px;
}

.mx-ad-small.has-image {
    width: 100%;
    height: 144px;
    min-height: 144px;
}

.mx-ad-small.has-image img {
    top: 8px;
    bottom: 8px;
    left: 8px;

    width: calc(30% - 8px);
    height: calc(100% - 16px);
}

.mx-ad-small.has-image .mx-ad-content {
    left: 30%;

    padding: 13px 16px;
}



    .mx-category-search {
        padding: 12px 0 6px;
        margin-bottom: 24px;
    }

    .mx-marketplace-searchbox {
        display: grid;

        grid-template-columns: 1fr auto;

        gap: 7px;
    }

    .mx-marketplace-search-input {
        grid-column: 1 / -1;
    }

    .mx-marketplace-search-category {
        min-width: 0;

        flex: none;
    }

    .mx-marketplace-search-category select {
        font-size: 9px;
    }

    .mx-marketplace-search-button {
        min-width: 90px;

        padding: 0 13px;
    }

    .mx-marketplace-search-button span {
        display: inline;
    }


    /* Pagination */

    .mx-pagination {
        gap: 5px;

        margin-top: 32px;
    }

    .mx-pagination-page,
    .mx-pagination-control {
        width: 36px;
        height: 36px;

        border-radius: 9px;

        font-size: 13px;
    }

    .mx-pagination-ellipsis {
        width: 20px;
    }


/* Empty ads */

.mx-ad-placeholder {
    min-height: 144px;
}

.mx-ad-placeholder .mx-ad-content strong {
    font-size: 15px;
}
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .mx-marketplace .container,
    .mx-search-page .container {
        width: min(1180px, calc(100% - 24px));
    }

    .mx-marketplace-search-button {
        min-width: 44px;

        width: 44px;

        padding: 0;
    }

    .mx-marketplace-search-button span {
        display: none;
    }

    .mx-marketplace-search-button i {
        font-size: 11px;
    }

    .mx-marketplace-shop-seller {
        min-height: 30px;

        font-size: 11px;
    }

    .mx-marketplace-shop-seller i {
        width: 28px;
        height: 28px;
    }
}


/* =========================================================
   EMPTY ADVERTISEMENT SLOT
========================================================= */

.mx-ad-placeholder {
    position: relative;

    overflow: hidden;

    cursor: default;
}

.mx-ad-placeholder .mx-ad-content {
    position: relative;

    z-index: 3;
}

.mx-ad-placeholder .mx-ad-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mx-ad-placeholder .mx-ad-content strong {
    max-width: 620px;
}

.mx-ad-placeholder .mx-ad-content > span:not(.mx-ad-label) {
    max-width: 560px;
}

.mx-ad-placeholder .mx-ad-content em {
    margin-top: 12px;

    font-style: normal;
}


/* =========================================================
   EMPTY HERO — ENSURE IT LOOKS LIKE A REAL SLOT
========================================================= */

.mx-ad-hero.mx-ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mx-ad-hero.mx-ad-placeholder .mx-ad-content {
    width: 100%;
}


/* =========================================================
   MOBILE TOUCH TREATMENT
========================================================= */

@media (max-width: 767px) {

    .mx-marketplace-shop-seller {
        min-height: 30px;

        font-size: 11px;
    }

    .mx-marketplace-shop-seller i {
        width: 28px;
        height: 28px;
    }

    .mx-carousel-controls {
        padding: 2px;
    }

    .mx-carousel-controls button {
        width: 29px;
        height: 29px;

        font-size: 11px;
    }
}

/* Breadcrumb */
.mx-breadcrumbs {
    margin: 0 0 22px;
    padding: 0;
}

.mx-breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
}

.mx-breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--mx-muted);
}

.mx-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #b9b5c1;
    font-weight: 500;
}

.mx-breadcrumbs a {
    color: var(--mx-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mx-breadcrumbs a:hover {
    color: var(--mx-pink);
}

.mx-breadcrumbs li[aria-current="page"] {
    color: var(--mx-text);
    font-weight: 700;
}




/* =========================================================
   RESULTS SUMMARY + FILTER ROW
========================================================= */

.mx-results-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.mx-results-summary {
    min-width: 0;
}

.mx-results-count {
    margin: 0;
    color: var(--mx-muted);
    font-size: 14px;
    line-height: 1.5;
}

.mx-results-count strong {
    color: var(--mx-text);
    font-weight: 700;
}

.mx-results-range {
    margin: 5px 0 0;
    color: var(--mx-muted);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   FILTER
========================================================= */

.mx-results-filter {
    position: relative;
    flex: 0 0 auto;
}

.mx-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 118px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--mx-line);
    border-radius: 11px;
    background: #fff;
    color: var(--mx-text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.mx-filter-toggle:hover {
    border-color: #d7d3dc;
    box-shadow: 0 6px 18px rgba(23, 21, 27, .06);
}

.mx-filter-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mx-filter-toggle-label i {
    font-size: 12px;
}

.mx-filter-toggle-icon {
    display: inline-flex;
    transition: transform .2s ease;
}

.mx-filter-toggle.is-open .mx-filter-toggle-icon {
    transform: rotate(180deg);
}


/* =========================================================
   FILTER PANEL
========================================================= */

.mx-filter-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    padding: 20px;
    border: 1px solid var(--mx-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 21, 27, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.mx-filter-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* =========================================================
   FILTER PANEL CONTENT
========================================================= */

.mx-filter-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.mx-filter-panel-heading > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mx-filter-panel-heading strong {
    color: var(--mx-text);
    font-size: 14px;
}

.mx-filter-panel-heading span {
    color: var(--mx-muted);
    font-size: 12px;
    line-height: 1.5;
}

.mx-filter-panel-heading a {
    color: var(--mx-pink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mx-filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mx-filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mx-filter-field label {
    color: var(--mx-text);
    font-size: 12px;
    font-weight: 700;
}

.mx-filter-field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--mx-line);
    border-radius: 9px;
    background: #fff;
    color: var(--mx-text);
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.mx-filter-field select:focus {
    border-color: var(--mx-pink);
    box-shadow: 0 0 0 3px rgba(199, 14, 100, .08);
}

.mx-filter-apply {
    grid-column: 1 / -1;
    height: 42px;
    border: 0;
    border-radius: 9px;
    background: var(--mx-black);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mx-filter-apply i {
    margin-left: 7px;
    font-size: 11px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .mx-results-top {
        align-items: flex-end;
        gap: 16px;
    }

    .mx-results-count {
        font-size: 13px;
    }

    .mx-results-range {
        font-size: 12px;
    }

    .mx-filter-toggle {
        min-width: 108px;
        height: 42px;
    }

    .mx-filter-panel {
        right: 0;
        width: min(360px, calc(100vw - 32px));
    }

}

/* =========================================================
   CATEGORY HERO DESCRIPTION
   ========================================================= */

.mx-category-hero-description {
    max-width: 760px;
    margin: 0 0 28px;
    color: #777481;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.mx-category-search-hero h1 {
    margin-bottom: 12px;
}

.mx-category-search-hero .mx-category-hero-description {
    margin-top: 0;
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 768px) {

    .mx-category-hero-description {
        max-width: 720px;
        margin-bottom: 28px;
        font-size: 16px;
        line-height: 1.55;
    }
    
    .mx-category-search-hero h1 {
        margin-bottom: 10px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mx-category-hero-description {
        max-width: 100%;
        margin: 0 0 22px;
        color: #85818c;
        font-size: 14px;
        line-height: 1.55;
    }

}
