/* Public marketplace — classic marketplace look (bx-* layout, mk-* components).
   Only the cookie banner still comes from landing.css / landing-two.css. */

.market {
    --bx-blue: #3665f3;
    --bx-blue-dark: #2a50c8;
    --bx-ink: #191919;
    --bx-text: #2b2b2b;
    --bx-muted: #707070;
    --bx-line: #e5e5e5;
    --bx-line-strong: #c7c7c7;
    --bx-tile: #f7f7f7;
    --bx-soft: #f5f5f5;
    --bx-ok: #05823f;
    --bx-red: #e0103a;
    --bx-whatsapp: #25d366;
    --bx-radius: 16px;
    --bx-radius-sm: 8px;
    /* aliases kept for older markup */
    --mk-radius: var(--bx-radius);
    --mk-radius-sm: var(--bx-radius-sm);
    --mk-border: var(--bx-line);
    --mk-border-strong: var(--bx-line-strong);
    --mk-live: var(--bx-red);
    --mk-ok: var(--bx-ok);
    --mk-whatsapp: var(--bx-whatsapp);
    background: #fff;
    color: var(--bx-text);
    /* DM Sans ships as a variable 400–700 font (the bundled Inter is a single weight). */
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 15px;
}
/* :where() keeps these at element specificity so component classes win. */
:where(.market) :is(h1, h2, h3, h4) { font-family: inherit; color: var(--bx-ink); letter-spacing: -.01em; }
:where(.market) a { color: inherit; }
/* Wide side gutters like big marketplace sites: ~10% of the viewport on desktop. */
.market .container { max-width: 1480px; padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .market .container { padding-left: clamp(24px, 8vw, 120px); padding-right: clamp(24px, 8vw, 120px); } }
.market-main { min-height: 50vh; padding-bottom: 3rem; }
.bx-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: .5rem 1rem; }
.bx-skip:focus { left: 1rem; }

/* ── Header ───────────────────────────────────────────── */
.bx-header { background: #fff; position: relative; z-index: 30; }
.bx-util { font-size: .78rem; color: var(--bx-ink); }
.bx-util__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 32px; }
.bx-util__left, .bx-util__right { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.bx-util a { text-decoration: none; }
.bx-util a:hover { text-decoration: underline; }
.bx-util__left span a { color: var(--bx-blue-dark); text-decoration: underline; }
.bx-util__btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.bx-util__btn .bi-chevron-down { font-size: .6rem; }
.bx-lang { position: relative; }
.bx-menu { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--bx-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: .35rem; min-width: 150px; z-index: 40; }
.bx-lang.open .bx-menu { display: block; }
.bx-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: .45rem .7rem; border-radius: 8px; font-size: .85rem; }
.bx-menu button:hover, .bx-menu button.is-active { background: var(--bx-soft); }

.bx-main { display: flex; align-items: center; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.bx-logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; flex-shrink: 0; }
.bx-logo img { height: 40px; width: auto; }
.bx-logo span { font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; color: var(--bx-ink); }
.bx-catmenu { position: relative; flex-shrink: 0; }
.bx-catmenu summary { list-style: none; cursor: pointer; font-size: .75rem; line-height: 1.15; color: var(--bx-muted); padding: .25rem; display: flex; align-items: center; gap: .35rem; }
.bx-catmenu summary::-webkit-details-marker { display: none; }
.bx-catmenu summary .bi { font-size: .65rem; }
.bx-catmenu__panel { position: absolute; left: 0; top: calc(100% + 8px); width: min(560px, 90vw); background: #fff; border: 1px solid var(--bx-line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 1.25rem; z-index: 50; }
.bx-catmenu__title { font-weight: 700; margin: 0 0 .75rem; color: var(--bx-ink); }
.bx-catmenu__panel ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.bx-catmenu__panel li { break-inside: avoid; }
.bx-catmenu__panel li a, .bx-catmenu__more a { display: block; padding: .3rem 0; font-size: .88rem; text-decoration: none; }
.bx-catmenu__panel a:hover { text-decoration: underline; }
.bx-catmenu__more { border-top: 1px solid var(--bx-line); margin-top: .75rem; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.bx-catmenu__more a { font-weight: 600; }

.bx-search { flex: 1; display: flex; align-items: center; gap: .6rem; min-width: 0; }
.bx-search__box { flex: 1; display: flex; align-items: center; min-width: 0; border: 2px solid var(--bx-ink); border-radius: 999px; height: 44px; padding-left: 1rem; background: #fff; }
.bx-search__box > .bi { color: var(--bx-muted); margin-right: .5rem; }
.bx-search__box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .95rem; color: var(--bx-ink); }
.bx-search__box select { border: 0; border-left: 1px solid var(--bx-line-strong); background: transparent; font-size: .8rem; color: var(--bx-muted); height: 28px; padding: 0 .9rem; max-width: 170px; outline: 0; border-radius: 0 999px 999px 0; cursor: pointer; }
.bx-search__btn { height: 44px; padding: 0 2.6rem; border-radius: 999px; border: 0; background: var(--bx-blue); color: #fff; font-weight: 700; font-size: .95rem; }
.bx-search__btn:hover { background: var(--bx-blue-dark); }
.bx-search__adv { font-size: .75rem; color: var(--bx-muted); text-decoration: none; white-space: nowrap; }
.bx-search__adv:hover { text-decoration: underline; }
.bx-main__icons { display: none; }
.bx-main__icons a { font-size: 1.35rem; text-decoration: none; }

.bx-cats { border-top: 1px solid var(--bx-line); }
.bx-cats ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.bx-cats ul::-webkit-scrollbar { display: none; }
.bx-cats a { display: block; padding: .6rem 0; font-size: .8rem; color: var(--bx-text); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.bx-cats a:hover { text-decoration: underline; }
.bx-cats a.is-active { border-color: var(--bx-ink); font-weight: 600; }

@media (max-width: 991.98px) {
    .bx-util__hide-sm, .bx-search__adv, .bx-catmenu { display: none !important; }
    .bx-main { flex-wrap: wrap; gap: .6rem; }
    .bx-main__icons { display: flex; margin-left: auto; gap: 1rem; }
    .bx-search { order: 3; flex-basis: 100%; }
    .bx-search__box select { display: none; }
    .bx-search__btn { padding: 0 1.2rem; }
    .bx-cats ul { justify-content: flex-start; gap: 1.2rem; }
}
@media (max-width: 575.98px) {
    .bx-search__btn { width: 44px; padding: 0; font-size: 0; }
    .bx-search__btn::before { content: "\F52A"; font-family: bootstrap-icons; font-size: 1.05rem; }
    .bx-logo span { font-size: 1.35rem; }
    .bx-logo img { height: 32px; }
}

/* ── Flash ────────────────────────────────────────────── */
.market-flash { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--bx-radius-sm); font-size: .92rem; border: 1px solid transparent; }
.market-flash i { font-size: 1.1rem; line-height: 1.2; }
.market-flash--success { background: #e9f8ef; border-color: #b6e2c6; color: #0b5a2c; }
.market-flash--danger { background: #fdecef; border-color: #f6c0cb; color: #8f0b26; }
.market-flash--info { background: #fff6e0; border-color: #f5dc9b; color: #7a5300; }

/* ── Buttons ──────────────────────────────────────────── */
.bx-btn, .mk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 40px; padding: .5rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: .9rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}
.bx-btn--primary, .mk-btn--primary, .mk-btn--accent { background: var(--bx-blue); color: #fff; }
.bx-btn--primary:hover, .mk-btn--primary:hover, .mk-btn--accent:hover { background: var(--bx-blue-dark); color: #fff; }
.bx-btn--outline, .mk-btn--ghost { background: #fff; color: var(--bx-blue); border-color: var(--bx-blue); }
.bx-btn--outline:hover, .mk-btn--ghost:hover { background: #f2f5fe; color: var(--bx-blue-dark); border-color: var(--bx-blue-dark); }
.bx-btn--dark { background: var(--bx-ink); color: #fff; }
.bx-btn--dark:hover { background: #000; color: #fff; }
.bx-btn--light { background: #fff; color: var(--bx-ink); }
.bx-btn--light:hover { background: #ececec; color: var(--bx-ink); }
.mk-btn--whatsapp { background: var(--bx-whatsapp); color: #063b1d; }
.mk-btn--whatsapp:hover { background: #1fb956; color: #063b1d; }
.mk-btn--sm { min-height: 32px; padding: .35rem .9rem; font-size: .82rem; }
.mk-btn--lg { min-height: 48px; padding: .7rem 1.6rem; font-size: 1rem; }
.bx-btn--block, .mk-btn--block { width: 100%; }
.bx-item__actions .bx-btn { min-height: 48px; font-size: 1rem; }

/* ── Inputs, chips ────────────────────────────────────── */
.mk-input { width: 100%; padding: .55rem .8rem; border: 1px solid var(--bx-line-strong); border-radius: var(--bx-radius-sm); background: #fff; color: var(--bx-ink); font-size: .92rem; }
.mk-input:focus { outline: none; border-color: var(--bx-blue); box-shadow: 0 0 0 3px rgba(54, 101, 243, .18); }
.mk-input.is-invalid { border-color: var(--bx-red); }
textarea.mk-input { resize: vertical; min-height: 92px; }
.mk-error { color: var(--bx-red); font-size: .85rem; margin: .35rem 0 0; }
.mk-hint { color: var(--bx-muted); font-size: .84rem; margin: .5rem 0 0; }
.mk-optional { color: var(--bx-muted); font-weight: 400; font-size: .8rem; }
.mk-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mk-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bx-soft); color: var(--bx-text); border: 1px solid var(--bx-line); }
.mk-chip span { color: var(--bx-muted); font-weight: 500; }
.mk-chip--link { text-decoration: none; background: #fff; padding: .4rem .9rem; font-size: .84rem; }
.mk-chip--link:hover { border-color: var(--bx-ink); }
.mk-chip--link.is-active { background: var(--bx-ink); border-color: var(--bx-ink); color: #fff; }
.mk-chip--link.is-active span { color: rgba(255, 255, 255, .75); }
.mk-chip--ok { background: #e9f8ef; color: var(--bx-ok); border-color: #b6e2c6; }
.mk-chip--warn { background: #fff6e0; color: #7a5300; border-color: #f5dc9b; }
.mk-chip--danger { background: #fdecef; color: var(--bx-red); border-color: #f6c0cb; }
.mk-check { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; cursor: pointer; margin: .25rem 0 1rem; }
.mk-check input, .bx-radio input { accent-color: var(--bx-blue); }
.mk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bx-red); animation: mk-pulse 1.6s infinite; vertical-align: middle; }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 16, 58, .5); } 70% { box-shadow: 0 0 0 8px rgba(224, 16, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 16, 58, 0); } }
@media (prefers-reduced-motion: reduce) { .mk-dot { animation: none; } }

.mk-search { position: relative; display: flex; align-items: center; gap: .5rem; max-width: 560px; margin-top: 1rem; padding: .25rem .25rem .25rem 2.4rem; background: #fff; border: 2px solid var(--bx-ink); border-radius: 999px; }
.mk-search > i { position: absolute; left: 1rem; color: var(--bx-muted); }
.mk-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .95rem; padding: .35rem 0; }
.mk-search .mk-btn { min-height: 36px; }
.mk-search--compact { margin: 0; max-width: 420px; border-width: 1px; border-color: var(--bx-line-strong); }
.mk-search--compact .mk-input { border: 0; border-left: 1px solid var(--bx-line); border-radius: 0; width: auto; padding: .3rem .5rem; font-size: .84rem; }
@media (max-width: 575.98px) { .mk-search--compact .mk-input { display: none; } }

/* ── Breadcrumbs & page heads ─────────────────────────── */
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .8rem; color: var(--bx-muted); margin: 1rem 0 .75rem; }
.mk-crumbs a { color: var(--bx-text); text-decoration: underline; text-underline-offset: 2px; }
.mk-crumbs i { font-size: .6rem; }
.mk-page-head { padding: 0 0 1.25rem; }
.mk-page-head__title { font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .35rem; }
.mk-page-head__lead { color: var(--bx-muted); margin: 0; max-width: 720px; }

/* ── Home: promo carousel ─────────────────────────────── */
.bx-promo { position: relative; padding: 0; margin-top: 1.25rem; border-radius: var(--bx-radius); overflow: hidden; }
.bx-slide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 320px; padding: 2.5rem 3.5rem 3.25rem; }
.bx-slide[hidden] { display: none; }
.bx-slide.is-entering { animation: bx-fade .45s ease; }
@keyframes bx-fade { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bx-slide.is-entering { animation: none; } }
.bx-slide--brand { background: #ff8a1f; color: #2b1600; }
.bx-slide--dark { background: #1d1d1f; color: #fff; }
.bx-slide--green { background: #c9f0d4; color: #0e3a1f; }
.bx-slide--blue { background: #d8e3ff; color: #0f1f4d; }
.bx-slide__eyebrow { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.bx-slide__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; margin: 0 0 .6rem; color: inherit !important; }
.bx-slide__lead { margin: 0 0 1.25rem; font-size: 1rem; max-width: 520px; opacity: .9; }
.bx-slide__cta { display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none; background: #2b1600; color: #fff !important; }
.bx-slide--brand .bx-slide__cta { background: #7a3300; }
.bx-slide--dark .bx-slide__cta { background: #fff; color: #1d1d1f !important; }
.bx-slide--green .bx-slide__cta { background: #0e3a1f; }
.bx-slide--blue .bx-slide__cta { background: var(--bx-blue); }
.bx-slide__note { margin: 1rem 0 0; font-size: .78rem; opacity: .75; }
.bx-slide__art { position: relative; height: 240px; }
.bx-slide__art img { width: 100%; height: 100%; object-fit: contain; }
.bx-slide__tile { position: absolute; display: flex; align-items: center; justify-content: center; width: 150px; height: 170px; border-radius: 22px; font-size: 4rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.bx-slide__tile--1 { left: 4%; top: 30px; transform: rotate(-8deg); }
.bx-slide__tile--2 { left: 34%; top: 0; transform: rotate(4deg); z-index: 1; }
.bx-slide__tile--3 { left: 63%; top: 40px; transform: rotate(-3deg); }
.bx-slide--brand .bx-slide__tile--1 { background: #ffd6a8; color: #7a3300; }
.bx-slide--brand .bx-slide__tile--2 { background: #c2410c; color: #ffe9d2; }
.bx-slide--brand .bx-slide__tile--3 { background: #4a1d00; color: #ffb066; }
.bx-slide--dark .bx-slide__tile--1 { background: #333; color: #ffcf33; }
.bx-slide--dark .bx-slide__tile--2 { background: #e0103a; color: #fff; }
.bx-slide--dark .bx-slide__tile--3 { background: #ffcf33; color: #1d1d1f; }
.bx-slide--green .bx-slide__tile--1 { background: #fff; color: #05823f; }
.bx-slide--green .bx-slide__tile--2 { background: #05823f; color: #fff; }
.bx-slide--green .bx-slide__tile--3 { background: #0e3a1f; color: #c9f0d4; }
.bx-slide--blue .bx-slide__tile--1 { background: #fff; color: var(--bx-blue); }
.bx-slide--blue .bx-slide__tile--2 { background: var(--bx-blue); color: #fff; }
.bx-slide--blue .bx-slide__tile--3 { background: #0f1f4d; color: #d8e3ff; }
.bx-promo__dots { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: .4rem; }
.bx-promo__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: rgba(0, 0, 0, .55); }
.bx-promo__dots button.is-active { background: rgba(0, 0, 0, .7); }
.bx-promo__controls { position: absolute; right: 1.25rem; bottom: 1rem; display: flex; gap: .4rem; }
.bx-promo__controls button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--bx-ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.bx-promo__controls button:hover { background: #eee; }
@media (max-width: 767.98px) {
    .bx-slide { grid-template-columns: 1fr; padding: 1.75rem 1.25rem 3.5rem; min-height: 0; gap: 1rem; }
    .bx-slide__art { height: 120px; }
    .bx-slide__tile { width: 84px; height: 96px; font-size: 2.2rem; border-radius: 16px; }
    .bx-slide__tile--1 { top: 16px; } .bx-slide__tile--3 { top: 20px; }
    .bx-promo__dots { left: 1.25rem; transform: none; bottom: 1.4rem; }
}

/* ── Home blocks ──────────────────────────────────────── */
.bx-block { margin-top: 2.5rem; padding: 0; }
.bx-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bx-block__title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.bx-block__head .bx-block__title { margin: 0; }
.bx-block__title--sm { font-size: 1.25rem; }
.bx-block__sub { margin: .2rem 0 0; color: var(--bx-muted); font-size: .88rem; }
.bx-more { font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.bx-more:hover { text-decoration: underline; }

.bx-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 1rem) / 7); gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.bx-tile { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; min-width: 0; }
.bx-tile__img { aspect-ratio: 1 / 1; border-radius: var(--bx-radius); background: var(--bx-tile); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bx-tile__img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .25s; }
.bx-tile:hover .bx-tile__img img { transform: scale(1.05); }
.bx-tile__img > .bi { font-size: 2.4rem; color: var(--bx-muted); }
.bx-tile__img--shop b { font-size: 2.6rem; font-weight: 800; color: var(--bx-blue); }
.bx-tile__img--shop img { object-fit: cover; padding: 0; }
.bx-tile__name { font-size: .85rem; font-weight: 500; color: var(--bx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-tile:hover .bx-tile__name { text-decoration: underline; }
.bx-tile__meta { font-size: .78rem; color: var(--bx-muted); margin-top: -.35rem; }

.bx-strip { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--bx-soft); border-radius: var(--bx-radius); padding: 1.5rem 2rem; }
.bx-strip__title { font-size: 1.35rem; font-weight: 800; margin: 0 0 .2rem; }
.bx-strip__lead { margin: 0; font-size: .9rem; }

.bx-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 1rem) / 6); gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
.bx-row > * { scroll-snap-align: start; }
@media (max-width: 1199.98px) { .bx-row { grid-auto-columns: calc((100% - 3 * 1rem) / 4); } .bx-tiles { grid-auto-columns: calc((100% - 4 * 1rem) / 5); } }
@media (max-width: 767.98px) { .bx-row { grid-auto-columns: 44%; gap: .75rem; } .bx-tiles { grid-auto-columns: 30%; } }

.bx-banner { position: relative; margin-top: 2.5rem; border-radius: var(--bx-radius); overflow: hidden; padding: 3rem 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: #fde9d9; color: var(--bx-ink); min-height: 220px; }
.bx-banner--photo { background-size: cover; background-position: center; color: #fff; }
.bx-banner--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .1)); }
.bx-banner--photo .bx-banner__art { display: none; }
.bx-banner--dark { background: #191919; color: #fff; min-height: 240px; }
.bx-banner__copy { position: relative; max-width: 560px; }
.bx-banner__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; margin: 0 0 .5rem; color: inherit !important; }
.bx-banner__title--xl { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.bx-banner__lead { margin: 0 0 1.25rem; opacity: .9; }
.bx-banner__art { display: flex; gap: 1rem; }
.bx-banner__art span { width: 92px; height: 92px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #c2410c; box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }
.bx-banner__art span:nth-child(2) { transform: translateY(-14px); color: var(--bx-blue); }
.bx-banner__art span:nth-child(3) { color: var(--bx-ok); }
@media (max-width: 767.98px) { .bx-banner { padding: 1.75rem 1.25rem; } .bx-banner__art { display: none; } .bx-strip { padding: 1.25rem; } }

.bx-faq { border-top: 1px solid var(--bx-line); }
.bx-faq__item { border-bottom: 1px solid var(--bx-line); }
.bx-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; color: var(--bx-ink); }
.bx-faq__item summary::-webkit-details-marker { display: none; }
.bx-faq__item summary .bi { transition: transform .2s; }
.bx-faq__item[open] summary .bi { transform: rotate(180deg); }
.bx-faq__answer { padding: 0 0 1rem; color: var(--bx-text); line-height: 1.6; max-width: 860px; }

/* ── Cards (product / auction / brocante) ─────────────── */
.mk-grid { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .mk-grid--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mk-card { display: flex; flex-direction: column; min-width: 0; background: transparent; }
.mk-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bx-tile); border-radius: var(--bx-radius); overflow: hidden; }
.mk-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .3s; }
.mk-card:hover .mk-card__media img { transform: scale(1.04); }
.mk-card__body { padding: .6rem .1rem 0; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.mk-card__eyebrow { display: none; }
.mk-card__title { font-size: .85rem; font-weight: 400; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.mk-card__title a { color: var(--bx-ink); text-decoration: none; }
.mk-card__title a:hover { text-decoration: underline; }
.mk-card__price { margin: .25rem 0 0; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.mk-card__note { margin: 0; font-size: .78rem; color: var(--bx-muted); }
.mk-card__shop { margin-top: .15rem; font-size: .78rem; color: var(--bx-muted); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card__shop:hover { text-decoration: underline; }
.mk-card__shop .bi { display: none; }
.mk-price { font-weight: 700; color: var(--bx-ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.mk-price--muted { color: var(--bx-text); font-weight: 600; font-size: .9rem; }
.mk-badge { position: absolute; top: .6rem; left: .6rem; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 6px; font-size: .7rem; font-weight: 700; background: #fff; color: var(--bx-ink); }
.mk-badge + .mk-badge { top: auto; bottom: .6rem; }
.mk-badge--accent { background: var(--bx-red); color: #fff; }
.mk-badge--muted { background: rgba(25, 25, 25, .8); color: #fff; }
.mk-badge--live { color: var(--bx-red); }
.mk-badge--condition { background: #fff; color: var(--bx-ink); }
.mk-auction-meta { display: flex; justify-content: space-between; gap: .5rem; margin-top: .25rem; font-size: .82rem; }
.mk-auction-meta > div { display: flex; flex-direction: column; min-width: 0; }
.mk-auction-meta__label { font-size: .7rem; color: var(--bx-muted); }
.mk-countdown { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--bx-ink); }
.mk-countdown.is-soon { color: var(--bx-red); }

/* Shop cards */
.mk-shop-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .mk-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .mk-shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mk-shop-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mk-shop-card { display: flex; align-items: center; gap: .9rem; padding: 1rem; background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); text-decoration: none; color: var(--bx-ink); min-width: 0; }
.mk-shop-card:hover { border-color: var(--bx-ink); }
.mk-shop-card__logo { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bx-tile); color: var(--bx-blue); font-weight: 800; font-size: 1.3rem; }
.mk-shop-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-shop-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mk-shop-card__name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-shop-card__meta { font-size: .8rem; color: var(--bx-muted); }
.mk-shop-card__arrow { color: var(--bx-muted); }

.mk-empty { text-align: center; padding: 2.5rem 1rem; border-radius: var(--bx-radius); color: var(--bx-muted); background: var(--bx-soft); }
.mk-empty--slim { padding: 1.5rem 1rem; }
.mk-empty i { font-size: 1.8rem; display: block; margin-bottom: .4rem; }
.mk-empty p { margin: 0; }
.mk-empty-inline { color: var(--bx-muted); font-size: .9rem; padding: .75rem 0; list-style: none; }

/* ── Search results page ──────────────────────────────── */
.bx-srp__title { font-size: 1.5rem; font-weight: 700; margin: 0 0 1rem; }
.bx-srp__layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .bx-srp__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; } }
.bx-rail__toggle > summary { list-style: none; cursor: pointer; font-weight: 700; padding: .6rem 1rem; border: 1px solid var(--bx-line-strong); border-radius: 999px; display: inline-flex; gap: .5rem; align-items: center; }
.bx-rail__toggle > summary::-webkit-details-marker { display: none; }
@media (min-width: 992px) { .bx-rail__toggle > summary { display: none; } }
.bx-rail__group { padding: .75rem 0 1rem; border-bottom: 1px solid var(--bx-line); }
.bx-rail__head { font-weight: 700; font-size: .92rem; margin: 0 0 .5rem; color: var(--bx-ink); }
.bx-rail__list { list-style: none; padding: 0; margin: 0; max-height: 320px; overflow-y: auto; }
.bx-rail__list a { display: block; padding: .2rem 0; font-size: .85rem; text-decoration: none; }
.bx-rail__list a span { color: var(--bx-muted); }
.bx-rail__list a:hover { text-decoration: underline; }
.bx-rail__list a.is-active { font-weight: 700; }
.bx-radio { display: flex; align-items: center; gap: .5rem; font-size: .85rem; padding: .2rem 0; cursor: pointer; }
.bx-range { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: .4rem; align-items: center; font-size: .8rem; color: var(--bx-muted); }
.bx-range .mk-input { padding: .4rem .5rem; font-size: .85rem; }
.bx-range__go { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--bx-line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.bx-range__go:hover { border-color: var(--bx-ink); }
.bx-rail__reset { display: inline-block; margin-top: .75rem; font-size: .85rem; color: var(--bx-blue-dark); }

.bx-srp__main { min-width: 0; }
.bx-srp__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: .75rem; border-bottom: 1px solid var(--bx-line); }
.bx-srp__count { margin: 0; font-weight: 700; font-size: .95rem; color: var(--bx-ink); }
.bx-srp__count span { font-weight: 400; color: var(--bx-muted); }
.bx-srp__tools { display: flex; align-items: center; gap: .75rem; }
.bx-sort { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-size: .85rem; border: 1px solid var(--bx-line-strong); border-radius: 999px; padding: .3rem .4rem .3rem .9rem; }
.bx-sort span { color: var(--bx-muted); }
.bx-sort select { border: 0; background: transparent; font-weight: 600; outline: 0; cursor: pointer; }
.bx-view { display: inline-flex; border: 1px solid var(--bx-line-strong); border-radius: 999px; overflow: hidden; }
.bx-view button { border: 0; background: #fff; width: 38px; height: 34px; }
.bx-view button.is-active { background: var(--bx-ink); color: #fff; }

.bx-results { list-style: none; padding: 0; margin: 0; }
.bx-result { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--bx-line); }
.bx-result__img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bx-tile); border-radius: var(--bx-radius); overflow: hidden; }
.bx-result__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.bx-result__flag { position: absolute; top: .5rem; left: .5rem; font-size: .7rem; font-weight: 700; background: var(--bx-red); color: #fff; padding: .15rem .5rem; border-radius: 6px; }
.bx-result__body { min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.bx-result__title { font-size: 1.05rem; font-weight: 400; margin: 0 0 .15rem; line-height: 1.35; }
.bx-result__title a { text-decoration: none; color: var(--bx-ink); }
.bx-result__title a:hover { text-decoration: underline; }
.bx-result__sub { margin: 0 0 .35rem; font-size: .82rem; color: var(--bx-muted); }
.bx-result__price { margin: 0; }
.bx-result__price .mk-price { font-size: 1.35rem; }
.bx-result__line { margin: 0; font-size: .84rem; color: var(--bx-muted); }
.bx-result__line.is-ok { color: var(--bx-ok); }
.bx-result__line.is-out { color: var(--bx-red); }
.bx-result__seller { margin: .3rem 0 0; font-size: .82rem; color: var(--bx-muted); }
.bx-result__seller a { color: var(--bx-ink); font-weight: 600; }
@media (max-width: 575.98px) { .bx-result { grid-template-columns: 120px minmax(0, 1fr); gap: .9rem; padding: 1rem 0; } .bx-result__title { font-size: .95rem; } .bx-result__price .mk-price { font-size: 1.15rem; } }
.bx-results.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; padding-top: 1.25rem; }
@media (min-width: 768px) { .bx-results.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bx-results.is-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bx-results.is-grid .bx-result { grid-template-columns: 1fr; gap: .6rem; padding: 0; border: 0; }
.bx-results.is-grid .bx-result__title { font-size: .88rem; }
.bx-results.is-grid .bx-result__price .mk-price { font-size: 1.05rem; }
.bx-results.is-grid .bx-result__sub, .bx-results.is-grid .bx-result__line + .bx-result__line { display: none; }

/* ── Generic listing layout (shops, auctions, brocante) ─ */
.mk-section { padding: 2.5rem 0; }
.mk-section--flush { padding: .5rem 0 2rem; }
.mk-section--tint { background: var(--bx-soft); }
.mk-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.mk-section__title { font-weight: 700; font-size: 1.5rem; margin: 0; }
.mk-section__title--sm { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.mk-section__lead { color: var(--bx-muted); margin: .3rem 0 0; }
.mk-eyebrow { font-size: .8rem; font-weight: 600; color: var(--bx-muted); margin: 0; display: flex; align-items: center; gap: .4rem; }
.mk-link { color: var(--bx-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; }
.mk-link:hover { text-decoration: underline; color: var(--bx-ink); }
.mk-layout { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 992px) {
    .mk-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .mk-layout--shop { grid-template-columns: minmax(0, 1fr) 340px; }
    .mk-filters, .mk-shop-aside { position: sticky; top: 1rem; align-self: start; }
}
.mk-filters { padding: 0; }
.mk-filter { margin-bottom: 1rem; }
.mk-filter__label { display: block; font-size: .9rem; font-weight: 700; color: var(--bx-ink); margin-bottom: .4rem; }
.mk-filter__actions { display: grid; gap: .5rem; }
.mk-range { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mk-results { min-width: 0; }
.mk-results__count { font-weight: 700; font-size: .95rem; margin: 0 0 1rem; color: var(--bx-ink); }
.mk-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.mk-toolbar__right { display: flex; gap: .5rem; flex-wrap: wrap; }
.mk-toolbar__right .mk-input { width: auto; max-width: 160px; border-radius: 999px; }
@media (max-width: 575.98px) { .mk-toolbar__right .mk-input { max-width: none; flex: 1 1 40%; } }
.mk-tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--bx-line); margin-bottom: 1.25rem; }
.mk-tab { padding: .65rem 1rem; color: var(--bx-muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: .45rem; }
.mk-tab:hover { color: var(--bx-ink); }
.mk-tab.is-active { color: var(--bx-ink); border-color: var(--bx-ink); }
.mk-pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: 2rem; }
.mk-page { min-width: 38px; height: 38px; padding: 0 .6rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: transparent; color: var(--bx-ink); text-decoration: none; font-size: .9rem; }
.mk-page:hover { background: var(--bx-soft); color: var(--bx-ink); }
.mk-page.is-active { background: var(--bx-ink); color: #fff; font-weight: 700; }
.mk-page.is-disabled { color: var(--bx-line-strong); }

/* ── Item page ────────────────────────────────────────── */
.bx-item__top { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .bx-item__top { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; } }
.bx-item__title { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; line-height: 1.25; margin: 0 0 1rem; }
.bx-item__seller { display: flex; align-items: center; gap: .75rem; text-decoration: none; padding-bottom: 1rem; border-bottom: 1px solid var(--bx-line); }
.bx-item__seller-logo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bx-tile); color: var(--bx-blue); font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.bx-item__seller-logo img { width: 100%; height: 100%; object-fit: cover; }
.bx-item__seller strong { display: block; text-decoration: underline; color: var(--bx-ink); }
.bx-item__seller small { color: var(--bx-muted); }
.bx-item__price { padding: 1rem 0 .5rem; }
.bx-item__price .mk-price { font-size: 1.9rem; font-weight: 700; }
.bx-item__facts, .bx-item__ship { margin: 0; }
.bx-item__facts > div, .bx-item__ship > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .75rem; padding: .3rem 0; font-size: .9rem; }
.bx-item__facts dt, .bx-item__ship dt { font-weight: 400; color: var(--bx-muted); }
.bx-item__facts dd, .bx-item__ship dd { margin: 0; color: var(--bx-ink); }
.bx-item__facts dd.is-ok { color: var(--bx-ok); font-weight: 600; }
.bx-item__facts dd.is-out { color: var(--bx-red); font-weight: 600; }
.bx-item__ship dd span { color: var(--bx-muted); font-size: .85rem; }
.bx-item__actions { display: flex; flex-direction: column; gap: .6rem; margin: 1.25rem 0; }
.bx-item__ship { border-top: 1px solid var(--bx-line); padding-top: 1rem; }
.bx-about { margin-top: 2.5rem; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); padding: 1.5rem; }
.bx-about__title { font-size: 1.3rem; font-weight: 700; margin: 0 0 1rem; }
.bx-about__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .bx-about__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.bx-about__sub { font-size: 1rem; font-weight: 700; margin: 0 0 .75rem; }
.bx-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 0 0 1.5rem; }
@media (max-width: 575.98px) { .bx-specs { grid-template-columns: 1fr; } }
.bx-specs > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .75rem; padding: .4rem 0; font-size: .88rem; border-bottom: 1px solid var(--bx-soft); }
.bx-specs dt { font-weight: 400; color: var(--bx-muted); }
.bx-specs dd { margin: 0; color: var(--bx-ink); }
.bx-item__comments { margin-top: 2rem; max-width: 860px; }

/* Gallery (item, auction, brocante pages) */
.mk-detail { padding: .5rem 0 2rem; }
.mk-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--bx-tile); border-radius: var(--bx-radius); overflow: hidden; }
.mk-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: multiply; }
.mk-gallery__thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; padding-bottom: .25rem; }
.mk-gallery__thumb { flex: 0 0 72px; height: 72px; border-radius: 10px; border: 2px solid transparent; background: var(--bx-tile); padding: 0; overflow: hidden; cursor: pointer; }
.mk-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.mk-gallery__thumb.is-active { border-color: var(--bx-ink); }
.mk-detail__info { display: flex; flex-direction: column; gap: 1rem; }
.mk-detail__title { font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; margin: 0; }
.mk-detail__price { margin: 0; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mk-detail__price .mk-price { font-size: 1.9rem; }
.mk-detail__desc { color: var(--bx-text); line-height: 1.65; font-size: .95rem; }
.mk-detail__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.mk-stock { margin: 0; font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.mk-stock.is-in { color: var(--bx-ok); }
.mk-stock.is-out { color: var(--bx-red); }
.mk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mk-facts > div { background: var(--bx-soft); border-radius: var(--bx-radius-sm); padding: .65rem .8rem; display: flex; flex-direction: column; gap: .1rem; }
.mk-facts span { font-size: .75rem; color: var(--bx-muted); }
.mk-facts strong { font-size: .92rem; color: var(--bx-ink); }

.mk-panel { background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); padding: 1.25rem; }
.mk-panel + .mk-panel { margin-top: 1rem; }
.mk-panel__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.mk-panel__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.mk-panel__head .mk-panel__title { margin: 0; }
.mk-count { font-size: .78rem; background: var(--bx-soft); color: var(--bx-muted); padding: .1rem .55rem; border-radius: 999px; font-weight: 600; }
.mk-mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.mk-mini-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .75rem; align-items: center; text-decoration: none; color: var(--bx-ink); padding: .3rem; border-radius: var(--bx-radius-sm); }
.mk-mini-list a:hover { background: var(--bx-soft); }
.mk-mini-list img { width: 56px; height: 56px; object-fit: contain; background: var(--bx-tile); border-radius: 10px; padding: 4px; mix-blend-mode: multiply; }
.mk-mini-list__name { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-mini-list .mk-price { font-size: .88rem; }

/* Seller block */
.mk-seller { border: 1px solid var(--bx-line); border-radius: var(--bx-radius); padding: 1.1rem; background: #fff; }
.mk-seller__head { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--bx-ink); margin-bottom: .75rem; }
.mk-seller__label { display: block; font-size: .75rem; color: var(--bx-muted); }
.mk-seller__name { display: block; font-weight: 700; font-size: 1rem; text-decoration: underline; }
.mk-seller__facts { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; }
.mk-seller__facts i { color: var(--bx-muted); margin-right: .35rem; }
.mk-seller__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Shop page */
.mk-shop-hero { padding: 0 0 1.5rem; border-bottom: 1px solid var(--bx-line); margin-bottom: 1rem; }
.mk-shop-hero .mk-page-head__bg { display: none; }
.mk-shop-hero__row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.mk-shop-hero__logo { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bx-tile); color: var(--bx-blue); font-size: 2.2rem; font-weight: 800; }
.mk-shop-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-shop-hero__text { flex: 1; min-width: 240px; }
.mk-shop-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--bx-muted); font-size: .88rem; margin: 0 0 .4rem; }
.mk-shop-hero__cta { margin-left: auto; }
.mk-inventory-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.mk-inventory-head .mk-section__title { margin: 0; }
.mk-shop-aside { display: flex; flex-direction: column; gap: 1rem; }
.mk-map { border-radius: var(--bx-radius); overflow: hidden; border: 1px solid var(--bx-line); aspect-ratio: 4 / 3; background: var(--bx-soft); }
.mk-map iframe { width: 100%; height: 100%; border: 0; }
.mk-socials { display: flex; gap: .5rem; }
.mk-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--bx-line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--bx-ink); }
.mk-socials a:hover { border-color: var(--bx-ink); }

/* Auction bid box */
.mk-bidbox { border: 1px solid var(--bx-line); border-radius: var(--bx-radius); padding: 1.25rem; background: #fff; display: flex; flex-direction: column; gap: .9rem; }
.mk-bidbox__row { display: flex; justify-content: space-between; gap: 1rem; }
.mk-bidbox__row > div { display: flex; flex-direction: column; }
.mk-bidbox__label { font-size: .8rem; color: var(--bx-muted); }
.mk-bidbox__price { font-size: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--bx-ink); }
.mk-bidbox__timer { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--bx-red); }
.mk-bidbox__sub { font-size: .8rem; color: var(--bx-muted); }
.mk-bidbox__result { background: #e9f8ef; color: var(--bx-ok); padding: .8rem 1rem; border-radius: var(--bx-radius-sm); font-weight: 600; }
.mk-bidbox__leading { margin: 0; color: var(--bx-ok); font-weight: 700; }
.mk-bidform__row { display: flex; gap: .5rem; margin-top: .35rem; }
.mk-bidform__row .mk-input { font-size: 1.05rem; font-weight: 700; border-radius: 999px; padding-left: 1rem; }
.mk-bidform .mk-btn--accent { min-height: 48px; }
@media (max-width: 575.98px) { .mk-bidform__row { flex-direction: column; } .mk-bidbox__price { font-size: 1.6rem; } }
.mk-bids { list-style: none; padding: 0; margin: 0; }
.mk-bids li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--bx-line); font-size: .9rem; }
.mk-bids li:last-child { border-bottom: 0; }
.mk-bids li.is-top strong { color: var(--bx-ok); }
.mk-bids__time { color: var(--bx-muted); font-size: .8rem; }
.mk-howto { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--bx-radius); background: var(--bx-soft); }
.mk-howto ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }

/* Comments */
.mk-comments { margin-top: 1rem; }
.mk-comment-form { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.mk-comment-form__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.mk-comment-form__foot .mk-hint { margin: 0; }
.mk-login-prompt { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .85rem 1rem; background: var(--bx-soft); border-radius: var(--bx-radius-sm); margin-bottom: 1rem; font-size: .9rem; }
.mk-comment-list { list-style: none; padding: 0; margin: 0; }
.mk-comment { display: flex; gap: .8rem; padding: .9rem 0; border-top: 1px solid var(--bx-line); }
.mk-comment--compact { padding: .7rem 0; }
.mk-comment__avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bx-tile); color: var(--bx-ink); font-weight: 700; }
.mk-comment__body { min-width: 0; flex: 1; }
.mk-comment__meta { margin: 0 0 .2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: var(--bx-muted); }
.mk-comment__meta strong { color: var(--bx-ink); }
.mk-comment__text { margin: 0; overflow-wrap: anywhere; }
.mk-comment__reason { margin: .35rem 0 0; font-size: .82rem; color: var(--bx-red); }
.mk-comment--pending, .mk-comment--rejected, .mk-comment--hidden { opacity: .8; }

/* Account rows */
.mk-row-link { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .6rem; border-radius: var(--bx-radius-sm); text-decoration: none; color: var(--bx-ink); }
.mk-row-link:hover { background: var(--bx-soft); color: var(--bx-ink); }
.mk-row-link img { width: 56px; height: 56px; object-fit: contain; background: var(--bx-tile); border-radius: 10px; padding: 4px; }
.mk-row-link__main { display: flex; flex-direction: column; min-width: 0; }
.mk-row-link__main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-row-link__main span { font-size: .8rem; color: var(--bx-muted); }

/* Auth */
.mk-auth { padding: 2.5rem 0 3rem; }
.mk-auth .mk-page-head__bg { display: none; }
.mk-auth__card { position: relative; max-width: 480px; margin: 0 auto; background: #fff; padding: 1rem 0; }
.mk-auth__title { font-weight: 700; font-size: 1.9rem; margin: 0 0 .35rem; text-align: center; }
.mk-auth__lead { color: var(--bx-muted); margin: 0 0 1.5rem; text-align: center; }
.mk-auth .mk-input { border-radius: var(--bx-radius-sm); padding: .7rem .9rem; }
.mk-auth .mk-btn--primary { min-height: 48px; width: 100%; }
.mk-field { margin-bottom: 1rem; }
.mk-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.mk-auth__switch { text-align: center; margin: 1.25rem 0 0; color: var(--bx-muted); }
.mk-auth__switch a, .mk-auth__note a { color: var(--bx-blue-dark); font-weight: 600; }
.mk-auth__note { text-align: center; font-size: .84rem; color: var(--bx-muted); margin: .75rem 0 0; }

/* ── Ads ──────────────────────────────────────────────── */
.bx-ad__label { display: inline-block; font-size: .7rem; font-weight: 600; color: var(--bx-muted); letter-spacing: .02em; }
.bx-ad__cta { font-weight: 700; color: var(--bx-blue); font-size: .82rem; white-space: nowrap; }
.bx-ad--side { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.25rem; padding: .9rem; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); text-decoration: none; background: #fff; }
.bx-ad--side:hover { border-color: var(--bx-ink); }
.bx-ad--side:hover .bx-ad__title { text-decoration: underline; }
.bx-ad__img { display: block; aspect-ratio: 4 / 3; background: var(--bx-tile); border-radius: 10px; overflow: hidden; }
.bx-ad__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.bx-ad__title { font-weight: 700; color: var(--bx-ink); line-height: 1.3; }
.bx-ad__body { font-size: .82rem; color: var(--bx-text); }
.bx-ad__foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .78rem; color: var(--bx-muted); margin-top: .2rem; }
.bx-ad__foot > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-result--ad .bx-ad__label { margin-bottom: .1rem; }

.bx-toast { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: min(360px, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--bx-line); border-radius: var(--bx-radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); transform: translateY(16px); opacity: 0; transition: transform .3s, opacity .3s; }
.bx-toast.is-in { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bx-toast { transition: none; } }
.bx-toast > a { display: flex; gap: .8rem; padding: .85rem 2.2rem .85rem .85rem; text-decoration: none; }
.bx-toast img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; object-fit: contain; background: var(--bx-tile); padding: 4px; mix-blend-mode: multiply; }
.bx-toast__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; font-size: .82rem; }
.bx-toast__text strong { color: var(--bx-ink); font-size: .92rem; line-height: 1.25; }
.bx-toast__close { position: absolute; top: .4rem; right: .4rem; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--bx-muted); display: inline-flex; align-items: center; justify-content: center; }
.bx-toast__close:hover { background: var(--bx-soft); color: var(--bx-ink); }

/* ── Footer ───────────────────────────────────────────── */
.bx-footer { background: var(--bx-soft); border-top: 1px solid var(--bx-line); padding: 2.5rem 0 1.5rem; font-size: .78rem; margin-top: 2rem; }
.bx-footer__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .bx-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .bx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bx-footer__head { font-weight: 700; color: var(--bx-ink); margin: 0 0 .7rem; font-size: .8rem; }
.bx-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.bx-footer nav a, .bx-footer nav span { color: var(--bx-muted); text-decoration: none; overflow-wrap: anywhere; }
.bx-footer nav a:hover { text-decoration: underline; color: var(--bx-ink); }
.bx-footer__about { color: var(--bx-muted); margin: .9rem 0 0; }
.bx-footer__legal { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--bx-line); color: var(--bx-muted); }

/* ── Wallet, checkout, orders, chat, photos ─────────────── */
.mk-label { display: block; font-size: .85rem; font-weight: 600; color: var(--bx-ink); margin: .85rem 0 .35rem; }
.mk-form > .mk-label:first-of-type, .mk-form > .mk-label:first-child { margin-top: 0; }
.mk-form .mk-btn { margin-top: 1rem; }
.mk-chip--info { background: #eef3ff; color: var(--bx-blue-dark); border-color: #c9d6fb; }
.mk-btn--danger { background: var(--bx-red); color: #fff; border-color: var(--bx-red); }
.mk-btn--danger:hover { background: #b70c2f; color: #fff; }
.mk-stack { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.mk-stack form { margin: 0; }

.mk-wallet__label { margin: 0; color: var(--bx-muted); font-size: .9rem; }
.mk-wallet__balance { margin: .15rem 0 .75rem; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--bx-ink); line-height: 1.1; }
.mk-ledger { list-style: none; margin: 0; padding: 0; }
.mk-ledger li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--bx-line); }
.mk-ledger li:first-child { border-top: 0; }
.mk-ledger__main { display: flex; flex-direction: column; min-width: 0; }
.mk-ledger__main strong { font-weight: 600; font-size: .92rem; }
.mk-ledger__main small { color: var(--bx-muted); font-size: .78rem; }
.mk-ledger__amt { white-space: nowrap; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.mk-ledger__amt.is-in { color: var(--bx-ok); }
.mk-ledger__amt.is-out { color: var(--bx-ink); }

.mk-gateways { border: 0; padding: 0; margin: 0; }
.mk-gateway { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border: 1px solid var(--bx-line-strong); border-radius: var(--bx-radius-sm); margin-bottom: .45rem; cursor: pointer; font-size: .92rem; }
.mk-gateway:has(input:checked) { border-color: var(--bx-blue); box-shadow: 0 0 0 1px var(--bx-blue); }
.mk-gateway input { accent-color: var(--bx-blue); }
.mk-offline { margin-top: .75rem; padding: .85rem; background: var(--bx-soft); border-radius: var(--bx-radius-sm); }
.mk-bank { margin: 0 0 .5rem; display: grid; gap: .25rem; font-size: .88rem; }
.mk-bank div { display: flex; justify-content: space-between; gap: 1rem; }
.mk-bank dt { color: var(--bx-muted); font-weight: 500; }
.mk-bank dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }

.mk-summary__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .8rem; align-items: center; margin-bottom: .5rem; }
.mk-summary__item img { width: 72px; height: 72px; object-fit: contain; background: var(--bx-tile); border-radius: 12px; padding: 4px; }
.mk-summary__item strong { display: block; }
.mk-summary__item small { color: var(--bx-muted); }
.mk-input--qty { max-width: 110px; }
.mk-totals { margin: 1rem 0; display: grid; gap: .45rem; font-size: .92rem; }
.mk-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.mk-totals dt { color: var(--bx-muted); font-weight: 500; }
.mk-totals dd { margin: 0; text-align: right; }
.mk-totals .is-total { padding-top: .5rem; border-top: 1px solid var(--bx-line); font-size: 1.05rem; }
.mk-totals .is-total dt, .mk-totals .is-total dd { color: var(--bx-ink); font-weight: 700; }
.mk-alert { padding: .8rem 1rem; border-radius: var(--bx-radius-sm); background: var(--bx-soft); font-size: .9rem; margin: 0 0 .75rem; }
.mk-alert p { margin: .35rem 0 0; }
.mk-alert--warn { background: #fff6e0; color: #5c3f00; }
.mk-alert--danger { background: #fdecef; color: #7a0a20; border-color: #f6c0cb; }
.mk-escrow-note { display: flex; gap: .9rem; align-items: flex-start; background: #f2f7ff; border-color: #d6e2fd; }
.mk-escrow-note > i { font-size: 1.6rem; color: var(--bx-blue); }
.mk-escrow-note p { margin: .25rem 0 0; color: var(--bx-text); font-size: .9rem; }

.mk-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; padding: 0; margin: 0 0 1.25rem; counter-reset: s; }
.mk-steps li { display: flex; align-items: center; gap: .45rem; padding: .55rem .6rem; border-radius: var(--bx-radius-sm); background: var(--bx-soft); color: var(--bx-muted); font-size: .82rem; font-weight: 600; }
.mk-steps li span { display: inline-grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--bx-line-strong); font-size: .75rem; }
.mk-steps li.is-done { background: #e9f8ef; color: var(--bx-ok); }
.mk-steps li.is-done span { background: var(--bx-ok); border-color: var(--bx-ok); color: #fff; }
.mk-steps li.is-current { box-shadow: inset 0 0 0 1px var(--bx-ok); }
@media (max-width: 640px) {
    .mk-steps { grid-template-columns: 1fr 1fr; }
}

.mk-dispute > summary { list-style: none; cursor: pointer; }
.mk-dispute > summary::-webkit-details-marker { display: none; }
.mk-dispute[open] > summary { margin-bottom: .75rem; }

.mk-chat__list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; max-height: 560px; overflow-y: auto; }
.mk-chat__event { text-align: center; font-size: .8rem; color: var(--bx-muted); padding: .2rem 1rem; }
.mk-chat__event time { white-space: nowrap; }
.mk-chat__msg { max-width: 86%; padding: .6rem .8rem; border-radius: 14px; background: var(--bx-soft); }
.mk-chat__msg.is-me { align-self: flex-end; background: #eef3ff; }
.mk-chat__msg.is-admin { background: #fff6e0; border: 1px solid #f5dc9b; }
.mk-chat__who { margin: 0 0 .2rem; font-size: .8rem; }
.mk-chat__who span { color: var(--bx-muted); }
.mk-chat__text { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.mk-chat__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }

.mk-photos { margin-top: .5rem; }
.mk-photos__btn { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border: 1px dashed var(--bx-line-strong); border-radius: 999px; font-size: .84rem; color: var(--bx-text); cursor: pointer; }
.mk-photos__btn:hover { border-color: var(--bx-ink); }
.mk-photos__preview { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.mk-photos__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.mk-photo-grid { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.mk-photo-grid img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--bx-line); }

.mk-quick { display: grid; gap: .25rem; padding: .5rem; }
.mk-quick a { display: flex; align-items: center; gap: .8rem; padding: .65rem .75rem; border-radius: var(--bx-radius-sm); color: var(--bx-ink); text-decoration: none; }
.mk-quick a:hover { background: var(--bx-soft); }
.mk-quick i { font-size: 1.4rem; color: var(--bx-blue); }
.mk-quick span { display: flex; flex-direction: column; }
.mk-quick small { color: var(--bx-muted); }

.mk-courier-card + .mk-courier-card { margin-top: 1rem; }
.mk-courier-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.mk-courier-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.bx-buyform { display: grid; grid-template-columns: auto 90px; align-items: center; gap: .5rem .75rem; }
.bx-buyform label { font-size: .9rem; color: var(--bx-muted); }
.bx-buyform .bx-btn { grid-column: 1 / -1; }
.bx-qty { width: 90px; padding: .5rem .6rem; border: 1px solid var(--bx-line-strong); border-radius: var(--bx-radius-sm); font-size: .95rem; }
/* ── Payment modes & delivery terms ─────────────────────────────────── */
.mk-terms { display: grid; gap: 10px; padding: 12px 0; border-top: 1px solid var(--bx-line, #e5e7eb); margin-top: 12px; }
.mk-terms__row { display: grid; gap: 6px; }
.mk-terms__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--bx-muted, #6b7280); }
.mk-terms__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mk-terms__none { font-size: 13px; color: var(--bx-muted, #6b7280); }
.mk-terms__facts { margin: 0; }
.mk-paychip { --pay-color: #475569; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
    border: 1px solid color-mix(in srgb, var(--pay-color) 35%, transparent); background: color-mix(in srgb, var(--pay-color) 10%, #fff); color: #1f2937; }
.mk-paychip i { color: var(--pay-color); }

.mk-paychoice { display: grid; gap: 10px; }
.mk-paychoice__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--bx-line, #e5e7eb); border-radius: 12px; cursor: pointer; background: #fff; }
.mk-paychoice__item:has(input:checked) { border-color: var(--bx-blue, #3665f3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bx-blue, #3665f3) 15%, transparent); }
.mk-paychoice__item input { accent-color: var(--bx-blue, #3665f3); width: 18px; height: 18px; flex: none; }
.mk-paychoice__icon { --pay-color: #475569; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none;
    background: color-mix(in srgb, var(--pay-color) 14%, #fff); color: var(--pay-color); font-size: 18px; }
.mk-paychoice__text { display: grid; gap: 2px; min-width: 0; }
.mk-paychoice__text small { color: var(--bx-muted, #6b7280); font-size: 12.5px; }

/* ── Messages & offers ─────────────────────────────────────────────── */
.bx-util__count { display: inline-block; min-width: 1.15rem; margin-left: .3rem; padding: 0 .35rem; border-radius: 999px; background: #e0103a; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1.15rem; text-align: center; }
.mk-alert--ok { background: #e8f7ee; color: #0b5a2b; }
.mk-link-btn { background: none; border: 0; padding: 0; color: var(--bx-blue-dark); font-size: .8rem; text-decoration: underline; cursor: pointer; }
.mk-link-btn:hover { color: var(--bx-ink); }
.mk-row-link.is-unread { background: #eef3ff; }
.mk-row-link.is-unread .mk-row-link__main strong { font-weight: 800; }
.mk-row-link__logo { width: 56px; height: 56px; }
.mk-row-link__side { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; font-size: .78rem; color: var(--bx-muted); white-space: nowrap; }
.mk-offer { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: .35rem 0; padding: .55rem .7rem; border-radius: 10px; border: 1px dashed #c9d6fb; background: #fff; }
.mk-offer form { margin: 0; }
.mk-offer__label { flex-basis: 100%; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--bx-muted); }
.mk-offer__price { font-size: 1.1rem; }
.mk-offer__price small { font-weight: 500; color: var(--bx-muted); }
.mk-offer__listed { color: var(--bx-muted); text-decoration: line-through; }
.mk-offer > small { color: var(--bx-muted); }
.mk-offer--accepted, .mk-offer--used { border: 1px solid #a8dfbd; background: #f1fbf5; }
.mk-offer--accepted .mk-offer__label, .mk-offer--used .mk-offer__label { color: #0b7a3a; }
.mk-offer--rejected { border: 1px solid #f6c0cb; background: #fff5f7; }
.mk-offer--rejected .mk-offer__label { color: #a3102c; }
.mk-offerbox { margin-top: .5rem; }
.mk-offerbox > summary { list-style: none; cursor: pointer; }
.mk-offerbox > summary::-webkit-details-marker { display: none; }
.mk-offerbox[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mk-offerbox__form { padding: .8rem; border: 1px solid var(--bx-line); border-top: 0; border-radius: 0 0 var(--bx-radius-sm) var(--bx-radius-sm); background: #fff; }
.mk-offerbox__form .mk-hint { margin: .6rem 0; }
