/*
 * QAVEX Marketplace
 * Light, fast shopping pages with the QAVEX black header and neon accent.
 * Phones first: two-column listing grid, bottom-sheet filters, sticky contact bar.
 */

:root {
	--mk-bg: #f5f6f4;
	--mk-card: #ffffff;
	--mk-soft: #eef0ed;
	--mk-ink: #0b0c0b;
	--mk-text: #1d1f1d;
	--mk-muted: #5e635e;
	--mk-line: #e3e6e2;
	--mk-dark: #0a0a0a;
	--mk-dark-2: #151615;
	--mk-neon: #39ff14;
	--mk-neon-ink: #0a0a0a;
	--mk-neon-text: #178a00;
	--mk-wa: #1fbd59;
	--mk-radius: 16px;
	--mk-radius-sm: 11px;
	--mk-shadow: 0 1px 2px rgba(15, 20, 15, .05), 0 6px 20px rgba(15, 20, 15, .06);
	--mk-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color-scheme: light;
}
/* Follows the QAVEX dark / light switch (sun/moon button), not the device setting. */
:root[data-theme="dark"] {
	--mk-bg: #0e0f0e;
	--mk-card: #171817;
	--mk-soft: #202220;
	--mk-ink: #f4f5f4;
	--mk-text: #e3e5e3;
	--mk-muted: #a0a6a0;
	--mk-line: #2a2d2a;
	--mk-neon-text: #5bff3d;
	--mk-shadow: 0 1px 2px rgba(0, 0, 0, .4);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.mk-body { margin: 0; background: var(--mk-bg); color: var(--mk-text); font: 400 15px/1.5 var(--mk-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--mk-ink); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: none; }
.mk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--mk-neon); color: var(--mk-neon-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.mk-skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--mk-neon); outline-offset: 2px; }
.mk-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.mk-muted { color: var(--mk-muted); }
.mk-small { font-size: 13px; }

/* ------------------------------------------------------------------ buttons & inputs */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.mk-btn:active { transform: scale(.97); }
.mk-btn--lg { min-height: 50px; padding: 0 22px; font-size: 15.5px; }
.mk-btn--block { width: 100%; }
.mk-btn--neon { background: var(--mk-neon); color: var(--mk-neon-ink); }
.mk-btn--neon:hover { background: #5bff3d; box-shadow: 0 6px 22px rgba(57, 255, 20, .28); }
.mk-btn--dark { background: var(--mk-ink); color: var(--mk-bg); }
.mk-btn--wa { background: var(--mk-wa); color: #fff; }
.mk-btn--wa:hover { background: #18a94e; }
.mk-btn--ghost { background: var(--mk-card); color: var(--mk-ink); box-shadow: inset 0 0 0 1px var(--mk-line); }
.mk-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--mk-ink); }
.mk-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.mk-input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: var(--mk-radius-sm); border: 1px solid var(--mk-line); background: var(--mk-card); color: var(--mk-ink); font-size: 16px; outline: none; }
.mk-input:focus { border-color: var(--mk-ink); box-shadow: 0 0 0 3px rgba(57, 255, 20, .25); }
select.mk-input { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--mk-muted) 50%), linear-gradient(135deg, var(--mk-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }

/* ------------------------------------------------------------------ header */
.mk-top { position: sticky; top: 0; z-index: 60; background: var(--mk-dark); color: #fff; }
.admin-bar .mk-top { top: 32px; }
.mk-top-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 68px; }
.mk-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.mk-brand span { font-weight: 800; font-size: 13px; letter-spacing: .02em; color: var(--mk-neon); padding: 3px 8px; border-radius: 6px; background: rgba(57, 255, 20, .1); }
.mk-search { display: flex; align-items: center; gap: 0; height: 46px; padding-left: 14px; border-radius: 999px; background: #fff; color: #111; max-width: 720px; width: 100%; justify-self: center; }
.mk-search > .icon { color: #8a8f8a; }
.mk-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 10px; font-size: 16px; color: #111; outline: none; }
.mk-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.mk-search select { height: 30px; border: 0; border-left: 1px solid #e3e3e3; background: none; padding: 0 12px; max-width: 190px; color: #444; font-size: 14px; cursor: pointer; outline: none; }
.mk-search-go { display: inline-flex; align-items: center; gap: 6px; height: 38px; margin: 4px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--mk-neon); color: var(--mk-neon-ink); font-weight: 800; cursor: pointer; }
.mk-search-go .icon { display: none; }
.mk-top-actions { display: flex; align-items: center; gap: 8px; }
.mk-login { color: #d6d9d6; font-weight: 600; font-size: 14px; padding: 0 8px; }
.mk-brand > a { display: inline-flex; align-items: center; color: #fff; }
.mk-home { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; color: #d6d9d6; font-weight: 600; font-size: 14px; }
.mk-home:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.mk-home .icon { width: 18px; height: 18px; }
.mk-login:hover { color: #fff; }
.mk-sell { min-height: 40px; }
.mk-catbar { background: var(--mk-dark-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.mk-catbar-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.mk-catbar-in::-webkit-scrollbar { display: none; }
.mk-catbar a { flex: none; padding: 6px 12px; border-radius: 999px; color: #c4c8c4; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.mk-catbar a:hover, .mk-catbar a.is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.mk-catbar a.is-on { color: var(--mk-neon); }

/* language & currency menus (dark header) */
.gsw { display: inline-flex; gap: 6px; }
.gsw-menu { position: relative; }
.gsw-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #d6d9d6; font: 700 12.5px var(--mk-font); cursor: pointer; }
.gsw-menu > summary::-webkit-details-marker { display: none; }
.gsw-menu > summary .icon { width: 16px; height: 16px; }
.gsw-menu[open] > summary { background: rgba(255, 255, 255, .14); color: #fff; }
.gsw-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 90; min-width: 190px; max-height: min(70vh, 420px); overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--mk-card); color: var(--mk-ink); border: 1px solid var(--mk-line); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 2px; }
.gsw-list a, .gsw-list button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; border: 0; background: none; color: var(--mk-ink); font: 500 14px var(--mk-font); text-align: left; cursor: pointer; }
.gsw-list a:hover, .gsw-list button:hover { background: var(--mk-soft); }
.gsw-list .is-on { font-weight: 800; color: var(--mk-neon-text); }
.gsw-list .is-on::after { content: "✓"; margin-left: auto; }
.gsw-list--cur { min-width: 250px; }
.gsw-list--cur b { width: 40px; flex: none; }
.gsw-list--cur span { color: var(--mk-muted); font-size: 13px; }
.gsw-note { margin: 6px 8px 4px; font-size: 11.5px; color: var(--mk-muted); }

/* ------------------------------------------------------------------ hero */
.mk-hero { background: radial-gradient(900px 400px at 85% -10%, rgba(57, 255, 20, .22), transparent 60%), radial-gradient(700px 360px at 0% 120%, rgba(57, 255, 20, .1), transparent 60%), var(--mk-dark); color: #fff; }
.mk-hero-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 56px; }
.mk-eyebrow { display: inline-block; margin-bottom: 14px; color: var(--mk-neon); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mk-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.04em; margin-bottom: 16px; }
.mk-hero p { color: #bfc4bf; font-size: 17px; max-width: 560px; }
.mk-hero-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: #a8ada8; font-size: 14px; }
.mk-hero-stats b { color: #fff; font-size: 22px; letter-spacing: -.02em; margin-right: 4px; }
.mk-hero-card { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); }
.mk-hero-card strong { display: block; font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.mk-hero-card p { font-size: 15px; margin-bottom: 18px; }
.mk-price-tag { margin-top: 22px; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(57, 255, 20, .12); color: #d9ffd0; font-size: 14px; }
.mk-price-tag b { color: var(--mk-neon); font-size: 20px; }

/* ------------------------------------------------------------------ sections */
.mk-section { padding-top: 34px; padding-bottom: 6px; }
.mk-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mk-sec-head h2 { font-size: clamp(20px, 2.4vw, 26px); }
.mk-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--mk-neon-text); }
.mk-more .icon { width: 16px; height: 16px; }

/* categories */
.mk-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .mk-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mk-cat { display: grid; gap: 4px; padding: 16px; border-radius: var(--mk-radius); background: var(--mk-card); border: 1px solid var(--mk-line); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mk-cat:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow); border-color: color-mix(in srgb, var(--tone) 40%, var(--mk-line)); }
.mk-cat-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 8px; background: color-mix(in srgb, var(--tone) 14%, transparent); color: var(--tone); }
.mk-cat-ic .icon { width: 24px; height: 24px; }
.mk-cat-name { font-weight: 700; font-size: 14.5px; color: var(--mk-ink); line-height: 1.3; }
.mk-cat-n { font-size: 12.5px; color: var(--mk-muted); }
.mk-cats--compact { margin-top: 28px; }

/* listing grid & cards */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px; }
.mk-card { background: var(--mk-card); border-radius: var(--mk-radius); border: 1px solid var(--mk-line); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.mk-card:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow); }
.mk-card-link { display: block; height: 100%; }
.mk-card-img { position: relative; aspect-ratio: 1 / 1; background: var(--mk-soft); overflow: hidden; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mk-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mk-muted); }
.mk-noimg .icon { width: 40px; height: 40px; opacity: .5; }
.mk-flag { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 10, 10, .78); color: var(--mk-neon); }
.mk-flag .icon { width: 17px; height: 17px; }
.mk-card-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.mk-price { font-weight: 800; font-size: 17px; color: var(--mk-ink); letter-spacing: -.01em; }
.mk-price.is-fx::before { content: "≈ "; font-weight: 600; color: var(--mk-muted); }
.mk-price--ask { font-size: 15px; color: var(--mk-neon-text); }
.mk-card h3 { font-size: 14px; font-weight: 500; color: var(--mk-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; letter-spacing: 0; line-height: 1.25; }
.mk-card-meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--mk-muted); min-height: 18px; }
.mk-card-meta span { display: inline-flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-card-meta .icon { width: 14px; height: 14px; }
.mk-card-seller { font-size: 12px; color: var(--mk-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 0 16px; }
.mk-chips--scroll::-webkit-scrollbar { display: none; }
.mk-chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--mk-card); border: 1px solid var(--mk-line); font-size: 13.5px; font-weight: 600; color: var(--mk-text); white-space: nowrap; }
.mk-chip:hover { border-color: var(--mk-ink); }
.mk-chip.is-on { background: var(--mk-ink); border-color: var(--mk-ink); color: var(--mk-bg); }

.mk-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 48px 20px; border-radius: var(--mk-radius); background: var(--mk-card); border: 1px dashed var(--mk-line); }
.mk-empty--page { margin-top: 32px; padding: 64px 20px; }
.mk-empty-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--mk-soft); color: var(--mk-muted); }
.mk-empty-ic .icon { width: 30px; height: 30px; }
.mk-empty h1, .mk-empty h3 { font-size: 20px; }
.mk-empty p { color: var(--mk-muted); max-width: 420px; margin-bottom: 6px; }

.mk-band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 30px; border-radius: 24px; background: var(--mk-dark); color: #fff; }
.mk-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.mk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #c9cec9; }
.mk-ticks li { display: flex; gap: 10px; }
.mk-ticks .icon { color: var(--mk-neon); margin-top: 2px; }
.mk-band-cta { display: grid; gap: 10px; }
.mk-band .mk-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* ------------------------------------------------------------------ browse */
.mk-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 18px 0 14px; font-size: 13.5px; color: var(--mk-muted); }
.mk-crumbs a:hover { color: var(--mk-ink); }
.mk-crumbs .icon { width: 14px; height: 14px; }
.mk-crumbs span { color: var(--mk-ink); font-weight: 600; }
.mk-browse-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 20px; }
.mk-side { position: sticky; top: 130px; display: grid; gap: 12px; }
.mk-side-head { display: none; }
.mk-side-block { padding: 16px; border-radius: var(--mk-radius); background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-side-block h2 { font-size: 14px; margin: 0 0 10px; letter-spacing: 0; }
.mk-side-block h2 small { color: var(--mk-muted); font-weight: 600; }
.mk-filter-form { display: grid; gap: 4px; }
.mk-filter-form h2 { margin-top: 10px; }
.mk-filter-form h2:first-of-type { margin-top: 0; }
.mk-filter-form .mk-btn { margin-top: 14px; }
.mk-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; color: var(--mk-muted); }
.mk-clear { justify-self: center; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--mk-muted); text-decoration: underline; }
.mk-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; max-height: 420px; overflow-y: auto; }
.mk-subs a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--mk-text); }
.mk-subs a span { color: var(--mk-muted); font-size: 12.5px; }
.mk-subs a:hover { background: var(--mk-soft); }
.mk-subs a.is-on { background: var(--mk-ink); color: var(--mk-bg); font-weight: 700; }
.mk-subs a.is-on span { color: inherit; opacity: .7; }
.mk-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mk-results-head h1 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.mk-tools { display: flex; gap: 8px; align-items: center; }
.mk-sort { width: auto; min-width: 190px; }
.mk-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--mk-neon); color: var(--mk-neon-ink); font-size: 11px; }
.mk-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 8px; }
.mk-pager a, .mk-pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--mk-card); border: 1px solid var(--mk-line); font-weight: 700; font-size: 14px; }
.mk-pager a:hover { border-color: var(--mk-ink); }
.mk-pager .is-on { background: var(--mk-ink); border-color: var(--mk-ink); color: var(--mk-bg); }
.mk-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .45); }
.mk-only-phone { display: none !important; }

/* ------------------------------------------------------------------ listing */
.mk-item-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mk-gallery-main { position: relative; border-radius: 20px; overflow: hidden; background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mk-slides::-webkit-scrollbar { display: none; }
.mk-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3.4; scroll-snap-align: center; background: var(--mk-soft); display: grid; place-items: center; }
.mk-slide img { width: 100%; height: 100%; object-fit: contain; }
.mk-slide--none { color: var(--mk-muted); }
.mk-slide--none .icon { width: 64px; height: 64px; opacity: .4; }
.mk-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 10, 10, .7); color: #fff; font-size: 12.5px; font-weight: 700; }
.mk-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.mk-thumbs button { flex: none; width: 70px; height: 70px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--mk-soft); cursor: pointer; }
.mk-thumbs button.is-on { border-color: var(--mk-neon); }
.mk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mk-buy { display: grid; gap: 14px; position: sticky; top: 130px; }
.mk-buy-card { padding: 22px; border-radius: 20px; background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-buy-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.mk-buy-price .mk-price { font-size: 30px; letter-spacing: -.03em; }
.mk-buy-price small { color: var(--mk-muted); font-size: 14px; }
.mk-was { color: var(--mk-muted); text-decoration: line-through; font-size: 14px; }
.mk-buy-card h1 { font-size: 21px; font-weight: 700; margin: 10px 0 10px; letter-spacing: -.02em; }
.mk-item-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--mk-muted); font-size: 13.5px; }
.mk-item-meta span { display: inline-flex; align-items: center; gap: 5px; }
.mk-item-meta .icon { width: 15px; height: 15px; }
.mk-actions { display: grid; gap: 10px; margin-top: 20px; }
.mk-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-seller { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-seller:hover { border-color: var(--mk-ink); }
.mk-seller-logo { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; overflow: hidden; background: var(--mk-dark); color: var(--mk-neon); font-weight: 800; }
.mk-seller-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mk-seller-logo--lg { width: 84px; height: 84px; border-radius: 22px; font-size: 26px; }
.mk-seller-info { display: grid; min-width: 0; flex: 1; }
.mk-seller-info strong { display: flex; align-items: center; gap: 6px; color: var(--mk-ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-seller-info small { color: var(--mk-muted); font-size: 12.5px; }
.mk-seller-go { display: inline-flex; align-items: center; gap: 4px; color: var(--mk-neon-text); font-weight: 700; font-size: 13px; white-space: nowrap; }
.mk-seller-go .icon { width: 15px; height: 15px; }
.mk-verified { display: inline-grid; place-items: center; color: #0a7d00; vertical-align: -3px; }
.mk-verified .icon { width: 18px; height: 18px; fill: rgba(57, 255, 20, .3); }
.mk-safety { padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--mk-neon) 8%, var(--mk-card)); border: 1px solid color-mix(in srgb, var(--mk-neon) 30%, var(--mk-line)); font-size: 13.5px; }
.mk-safety strong { display: flex; align-items: center; gap: 8px; color: var(--mk-ink); margin-bottom: 6px; }
.mk-safety ul { margin: 0; padding-left: 18px; color: var(--mk-muted); display: grid; gap: 4px; }
.mk-desc { margin-top: 24px; padding: 24px; border-radius: 20px; background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-desc h2 { font-size: 19px; margin-bottom: 14px; }
.mk-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 0 0 18px; }
.mk-specs div { padding: 12px 14px; border-radius: 12px; background: var(--mk-soft); }
.mk-specs dt { font-size: 12px; color: var(--mk-muted); font-weight: 600; }
.mk-specs dd { margin: 2px 0 0; font-weight: 600; color: var(--mk-ink); }
.mk-desc-text { color: var(--mk-text); font-size: 15px; line-height: 1.65; }
.mk-desc-text p + p { margin-top: 12px; }
.mk-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--mk-card); border-top: 1px solid var(--mk-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
.mk-stickybar .mk-price { flex: 1; font-size: 18px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-stickybar .mk-btn--wa { width: 46px; padding: 0; }

/* seller page */
.mk-profile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 24px; padding: 24px; border-radius: 22px; background: var(--mk-card); border: 1px solid var(--mk-line); }
.mk-profile h1 { display: flex; align-items: center; gap: 8px; font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.mk-profile-about { margin-top: 8px; color: var(--mk-muted); max-width: 640px; }
.mk-profile-actions { display: grid; gap: 8px; }

/* sell page */
.mk-hero--sell .mk-hero-in { align-items: start; }
.mk-signup { padding: 26px; border-radius: 22px; background: var(--mk-card); color: var(--mk-text); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.mk-signup h2 { font-size: 22px; margin-bottom: 4px; }
.mk-signup > .mk-muted { margin-bottom: 16px; color: var(--mk-muted); font-size: 14.5px; }
.mk-form { display: grid; gap: 12px; }
.mk-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--mk-ink); }
.mk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mk-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; color: var(--mk-text) !important; }
.mk-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #1fae00; flex: none; }
.mk-check a { color: var(--mk-neon-text); font-weight: 700; }
.terms-check.is-shake { animation: mkshake .4s ease; }
.terms-check.is-shake span { color: #d93025; }
@keyframes mkshake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.mk-alert { display: flex; gap: 8px; align-items: center; padding: 10px 14px; margin-bottom: 12px; border-radius: 12px; background: #fdecea; color: #a1281d; font-size: 14px; font-weight: 600; }
.mk-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mk-way { padding: 22px; border-radius: 20px; background: var(--mk-card); border: 1px solid var(--mk-line); display: grid; gap: 8px; align-content: start; }
.mk-way-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mk-dark); color: var(--mk-neon); margin-bottom: 4px; }
.mk-way h3 { font-size: 17px; }
.mk-way p { color: var(--mk-muted); font-size: 14.5px; }
.mk-way a { font-weight: 700; color: var(--mk-neon-text); font-size: 14px; }
.mk-faq { max-width: 820px; }
.mk-faq h2 { font-size: 24px; margin-bottom: 14px; }
.mk-faq details { padding: 16px 18px; border-radius: 16px; background: var(--mk-card); border: 1px solid var(--mk-line); margin-bottom: 10px; }
.mk-faq summary { cursor: pointer; font-weight: 700; color: var(--mk-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mk-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--mk-muted); }
.mk-faq details[open] summary::after { content: "–"; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq details p { margin-top: 10px; color: var(--mk-muted); }

/* ------------------------------------------------------------------ footer */
.mk-foot { margin-top: 56px; background: var(--mk-dark); color: #b9beb9; padding-top: 44px; }
.mk-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.mk-foot-brand p { margin-top: 14px; font-size: 14px; max-width: 360px; }
.mk-app-note { display: inline-flex; align-items: center; gap: 8px; color: var(--mk-neon) !important; font-weight: 600; }
.mk-foot h2 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 0; }
.mk-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.mk-foot a:hover { color: #fff; }
.mk-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: #8a8f8a; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
	.mk-search select { display: none; }
	.mk-browse-grid { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.mk-top-in { grid-template-columns: auto auto; grid-template-areas: "brand actions" "search search"; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
	.mk-brand { grid-area: brand; }
	.mk-top-actions { grid-area: actions; justify-self: end; }
	.mk-search { grid-area: search; max-width: none; height: 44px; }
	.mk-hero-in { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 36px; }
	.mk-browse-grid { grid-template-columns: minmax(0, 1fr); }
	.mk-only-phone { display: inline-flex !important; }
	.mk-chips.mk-only-phone { display: flex !important; }
	.mk-stickybar.mk-only-phone { display: flex !important; }
	.mk-side { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 90; max-height: 86vh; overflow-y: auto; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); background: var(--mk-bg); border-radius: 22px 22px 0 0; transform: translateY(105%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; box-shadow: 0 -20px 50px rgba(0, 0, 0, .25); }
	.mk-side.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
	.mk-side-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; position: sticky; top: -8px; background: var(--mk-bg); z-index: 1; }
	.mk-side-head strong { font-size: 18px; color: var(--mk-ink); }
	.mk-side-head .mk-icon-btn { background: var(--mk-soft); color: var(--mk-ink); }
	.mk-side .mk-side-block:not(.mk-filter-form) { display: none; }
	.mk-item-grid { grid-template-columns: minmax(0, 1fr); }
	.mk-buy { position: static; }
	.mk-view-item .mk-foot { padding-bottom: 70px; }
	.mk-gallery-main { border-radius: 0; margin: 0 -16px; border: 0; }
	.mk-thumbs { display: none; }
	.mk-band { grid-template-columns: minmax(0, 1fr); padding: 24px; }
	.mk-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mk-foot-brand { grid-column: 1 / -1; }
	.mk-ways { grid-template-columns: minmax(0, 1fr); }
	.mk-profile { grid-template-columns: auto minmax(0, 1fr); }
	.mk-profile-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
	.mk-catbar-in { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) {
	.mk-brand .qavex-wordmark { width: 92px; height: auto; }
	.mk-brand span { font-size: 11.5px; padding: 2px 6px; }
	.mk-top-actions { gap: 6px; }
	.mk-top-actions .gsw-menu > summary { height: 34px; padding: 0 8px; }
	.mk-top-actions .gsw-menu > summary span { font-size: 11.5px; }
	.mk-sell { min-height: 34px; padding: 0 12px; }
	.mk-sell span { display: none; }
	.mk-login { display: none; }
	.mk-home { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
	.mk-home span { display: none; }
	.mk-icon-btn { width: 34px; height: 34px; border-radius: 10px; }
	.mk-search-go { padding: 0 12px; }
	.mk-search-go span { display: none; }
	.mk-search-go .icon { display: block; }
	.gsw-list { position: fixed; left: 12px; right: 12px; top: 64px; min-width: 0; }
	.mk-hero h1 { font-size: 30px; }
	.mk-hero p { font-size: 15.5px; }
	.mk-hero-card { padding: 20px; }
	.mk-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.mk-cat { padding: 10px 4px; justify-items: center; text-align: center; border-radius: 14px; gap: 2px; }
	.mk-cat-ic { width: 42px; height: 42px; margin-bottom: 4px; border-radius: 13px; }
	.mk-cat-ic .icon { width: 22px; height: 22px; }
	.mk-cat-name { font-size: 11.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.mk-cat-n { display: none; }
	.mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mk-card { border-radius: 14px; }
	.mk-card-body { padding: 10px 11px 12px; gap: 3px; }
	.mk-price { font-size: 15.5px; }
	.mk-card h3 { font-size: 13px; }
	.mk-card-seller { display: none; }
	.mk-results-head { flex-direction: column; align-items: stretch; }
	.mk-tools { justify-content: space-between; }
	.mk-sort { min-width: 0; flex: 1; }
	.mk-buy-card { padding: 18px; }
	.mk-buy-price .mk-price { font-size: 26px; }
	.mk-desc { padding: 18px; }
	.mk-form-row { grid-template-columns: minmax(0, 1fr); }
	.mk-signup { padding: 20px; }
	.mk-section { padding-top: 26px; }
	.mk-profile { padding: 18px; gap: 14px; }
	.mk-seller-logo--lg { width: 64px; height: 64px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.mk-hero .mk-signup p { color: var(--mk-muted); font-size: 14px; }
.mk-signup a { color: var(--mk-neon-text); font-weight: 700; }
.mk-signup .mk-btn--neon { color: var(--mk-neon-ink); }
.mk-soon-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mk-soft, #eef2ee); color: var(--mk-muted, #666); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 440px) {
	.mk-top-in { gap: 10px 8px; }
	.mk-brand { gap: 6px; }
	.mk-brand .qavex-wordmark { width: 80px; }
	.mk-top-actions { gap: 4px; }
	.mk-top-actions .gsw-menu > summary { padding: 0 7px; gap: 4px; }
	.mk-top-actions .gsw-menu > summary .icon { display: none; }
	.mk-sell { padding: 0 10px; }
}


/* ------------------------------------------------------------------ theme switch + light header, hero and footer */
.theme-toggle { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .07); color: #d6d9d6; cursor: pointer; }
.theme-toggle:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.theme-toggle .icon { width: 17px; height: 17px; grid-area: 1 / 1; transition: transform .3s ease, opacity .2s ease; }
.theme-toggle .tt-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="light"] .theme-toggle .tt-sun { opacity: 1; transform: none; color: #d97706; }
:root[data-theme="light"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(60deg) scale(.6); }

:root[data-theme="light"] { --qw-ink: #0b0c0b; --qw-neon: #2bd90f; }
:root[data-theme="light"] .mk-top { background: #fff; color: var(--mk-ink); box-shadow: 0 1px 0 var(--mk-line); }
:root[data-theme="light"] .mk-brand > a { color: var(--mk-ink); }
:root[data-theme="light"] .mk-brand span { background: rgba(23, 138, 0, .1); color: var(--mk-neon-text); }
:root[data-theme="light"] .mk-search { box-shadow: inset 0 0 0 1px var(--mk-line); background: var(--mk-soft); }
:root[data-theme="light"] .mk-search:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--mk-ink); }
:root[data-theme="light"] .mk-login, :root[data-theme="light"] .mk-home { color: var(--mk-text); }
:root[data-theme="light"] .mk-login:hover, :root[data-theme="light"] .mk-home:hover { color: var(--mk-ink); background: var(--mk-soft); }
:root[data-theme="light"] .mk-icon-btn, :root[data-theme="light"] .mk-top .theme-toggle, :root[data-theme="light"] .mk-top .gsw-menu > summary { background: var(--mk-soft); color: var(--mk-ink); }
:root[data-theme="light"] .mk-top .gsw-menu[open] > summary, :root[data-theme="light"] .mk-top .theme-toggle:hover { background: var(--mk-line); color: var(--mk-ink); }
:root[data-theme="light"] .mk-catbar { background: #fff; border-top: 1px solid var(--mk-line); box-shadow: 0 1px 0 var(--mk-line); }
:root[data-theme="light"] .mk-catbar a { color: var(--mk-muted); }
:root[data-theme="light"] .mk-catbar a:hover { background: var(--mk-soft); color: var(--mk-ink); }
:root[data-theme="light"] .mk-catbar a.is-on { background: rgba(23, 138, 0, .1); color: var(--mk-neon-text); }
:root[data-theme="light"] .mk-hero { background: radial-gradient(900px 400px at 85% -10%, rgba(57, 255, 20, .2), transparent 60%), radial-gradient(700px 360px at 0% 120%, rgba(57, 255, 20, .1), transparent 60%), var(--mk-bg); color: var(--mk-text); }
:root[data-theme="light"] .mk-hero .mk-eyebrow { color: var(--mk-neon-text); }
:root[data-theme="light"] .mk-hero h1, :root[data-theme="light"] .mk-hero-stats b { color: var(--mk-ink); }
:root[data-theme="light"] .mk-hero p { color: var(--mk-muted); }
:root[data-theme="light"] .mk-hero-stats { color: var(--mk-muted); }
:root[data-theme="light"] .mk-hero-card { background: #fff; border-color: var(--mk-line); box-shadow: var(--mk-shadow); }
:root[data-theme="light"] .mk-hero-card strong { color: var(--mk-ink); }
:root[data-theme="light"] .mk-price-tag { background: rgba(23, 138, 0, .08); color: var(--mk-text); }
:root[data-theme="light"] .mk-price-tag b { color: var(--mk-neon-text); }
:root[data-theme="light"] .mk-foot { background: #fff; color: var(--mk-muted); border-top: 1px solid var(--mk-line); }
:root[data-theme="light"] .mk-foot h2 { color: var(--mk-ink); }
:root[data-theme="light"] .mk-foot a:hover { color: var(--mk-ink); }
:root[data-theme="light"] .mk-foot-bottom { border-top-color: var(--mk-line); }
:root[data-theme="light"] .mk-foot .mk-brand span { background: rgba(23, 138, 0, .1); color: var(--mk-neon-text); }
@media (max-width: 600px) {
	.mk-top .theme-toggle { width: 34px; height: 34px; }
	:root[data-theme="light"] .mk-home { background: var(--mk-soft); color: var(--mk-ink); }
}

/* listing description: "Read more" */
.mk-more > summary { list-style: none; cursor: pointer; }
.mk-more > summary::-webkit-details-marker { display: none; }
.mk-more-btn { font-weight: 700; color: var(--mk-neon-text); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.mk-more-close { display: none; }
.mk-more[open] .mk-more-short, .mk-more[open] .mk-more-open { display: none; }
.mk-more[open] .mk-more-close { display: inline-block; margin-bottom: 8px; }
