/* Market by Vowzly: buy and sell wedding things locally. Vowzly green, cream and gold, photo first. */
:root {
  --ink: #1E3A34; --ink-2: #2B4C44; --ink-soft: #4F6660;
  --cream: #FBF8F3; --paper: #FFFFFF; --sand: #F3EDE3; --line: #E6DFD3; --line-2: #EFEAE1;
  --gold: #D4B373; --gold-2: #C29E57; --gold-soft: #F5EBD6;
  --blush: #F3E3D6; --rose: #B5675C; --ok: #2F7A4F; --warn: #A76F14; --bad: #B3261E;
  --text: #21302C; --muted: #6B7A75;
  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(30, 58, 52, .06), 0 8px 24px rgba(30, 58, 52, .07);
  --tabs-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mk { margin: 0; background: var(--cream); color: var(--text); font: 16px/1.55 var(--sans); }
.mk a { color: var(--ink); }
.mk img { max-width: 100%; display: block; }
.mk button, .mk input, .mk select, .mk textarea { font: inherit; }
.mk input, .mk select, .mk textarea { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mk-skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff !important; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.mk-skip:focus { left: 8px; }
.mk :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mk-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mk-narrow { max-width: 780px; }
.mk-muted { color: var(--muted); }
.mk-small { font-size: 14px; }
.mk-center { text-align: center; }
.mk-spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mk-i { flex-shrink: 0; vertical-align: -3px; }
.mk-h1 { font: 600 clamp(30px, 4vw, 40px)/1.1 var(--display); color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.mk-h2 { font: 600 26px/1.2 var(--display); color: var(--ink); margin: 0 0 4px; }
.mk-link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; }
.mk-danger-text { color: var(--bad) !important; }

/* buttons, chips, pills */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.mk-btn:hover { background: var(--ink-2); }
.mk-btn:active { transform: scale(.98); }
.mk-btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.mk-btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.mk-btn-line { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.mk-btn-line:hover { background: var(--paper); border-color: var(--ink); }
.mk-btn-line.is-on { border-color: var(--rose); color: var(--rose) !important; }
.mk-btn-line.is-on .mk-i { fill: var(--rose); }
.mk-btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); }
.mk-btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.mk-btn-danger { background: transparent; color: var(--bad) !important; border-color: #EBC4C0; }
.mk-btn-danger:hover { background: #FBEDEB; }
.mk-btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.mk-btn-block { width: 100%; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink) !important; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
.mk-chip:hover { border-color: var(--ink); }
.mk-chip-gold { background: var(--gold-soft); border-color: #E8D5AE; }
.mk-chip-x:hover { border-color: var(--bad); color: var(--bad) !important; }
.mk-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mk-pill-pending { background: #FFF3D9; color: var(--warn); }
.mk-pill-sold { background: var(--ink); color: #fff; }
.mk-pill-hidden, .mk-pill-expired { background: var(--sand); color: var(--muted); }
.mk-badge { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font: 700 11px/18px var(--sans); font-style: normal; text-align: center; }
.mk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); vertical-align: 2px; }
.mk-stars { color: var(--warn); font-weight: 600; }
.mk-stars .mk-i { fill: currentColor; stroke: none; }
.mk-stars-off { color: var(--line); }
.mk-reply { color: var(--ok); display: block; }

/* top bar */
.mk-top { position: sticky; top: 0; z-index: 30; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-2); }
.mk-top-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.mk-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mk-word { display: flex; flex-direction: column; line-height: 1; }
.mk-word b { font: 600 25px/1 var(--display); color: var(--ink); letter-spacing: -.01em; }
.mk-word small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.mk-search { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; max-width: 640px; padding: 0 6px 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.mk-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 179, 115, .25); }
.mk-search > .mk-i { color: var(--muted); }
.mk-search input[name=q] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.mk-zip-chip { display: flex; align-items: center; gap: 4px; padding: 0 10px; height: 34px; border-left: 1px solid var(--line); color: var(--muted); }
.mk-zip-chip input { width: 54px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.mk-search-go { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mk-top-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mk-ico { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); cursor: pointer; background: none; border: 0; }
.mk-ico:hover, .mk-ico.is-on { background: var(--sand); }
.mk-signin { padding: 0 12px; font-weight: 600; text-decoration: none; }
.mk-btn-sell { margin-left: 6px; }
.mk-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blush); color: var(--ink); font: 600 17px/1 var(--display); cursor: pointer; list-style: none; flex-shrink: 0; }
.mk-avatar::-webkit-details-marker { display: none; }
.mk-avatar-lg { width: 52px; height: 52px; font-size: 24px; }
.mk-avatar-xl { width: 84px; height: 84px; font-size: 38px; }
.mk-menu { position: relative; }
.mk-menu > summary { list-style: none; }
.mk-menu > summary::-webkit-details-marker { display: none; }
.mk-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); z-index: 40; display: flex; flex-direction: column; }
.mk-menu-pop > b { padding: 8px 12px 6px; font-size: 14px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mk-menu-pop a, .mk-menu-pop button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; border: 0; background: none; text-decoration: none; color: var(--text); cursor: pointer; font-size: 15px; }
.mk-menu-pop a:hover, .mk-menu-pop button:hover { background: var(--sand); }
.mk-menu-pop form { margin: 0; }
.mk-preview { background: #FFF3D9; color: #6B4A0E; text-align: center; font-size: 14px; padding: 8px 16px; }
.mk-main { min-height: 60vh; padding-bottom: 56px; }
.mk-flashes:empty { display: none; }
.mk-flashes { padding-top: 16px; }
.mk-flash { padding: 12px 16px; border-radius: var(--r-sm); background: #E7F2EA; color: #1F5134; font-weight: 500; margin-bottom: 8px; }
.mk-flash.is-error { background: #FBE7E5; color: var(--bad); }

/* hero */
.mk-hero { background: var(--ink); color: #F5F6F2; position: relative; overflow: hidden; }
.mk-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(212, 179, 115, .22), transparent); pointer-events: none; }
.mk-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.mk-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.mk-hero h1 { font: 500 clamp(42px, 6vw, 72px)/1 var(--display); margin: 0 0 18px; letter-spacing: -.02em; color: #fff; }
.mk-hero h1 em { color: var(--gold); font-style: italic; }
.mk-lede { font-size: 18px; max-width: 520px; color: rgba(245, 246, 242, .82); margin: 0 0 26px; }
.mk-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; font-size: 14px; color: rgba(245, 246, 242, .78); }
.mk-hero-points li { display: flex; align-items: center; gap: 6px; }
.mk-hero-points .mk-i { color: var(--gold); }
.mk-hero-art { position: relative; height: 380px; }
.mk-hero-tile { position: absolute; width: 52%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ink-2); box-shadow: 0 24px 50px rgba(0,0,0,.35); animation: mk-float 7s ease-in-out infinite; }
.mk-hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.mk-hero-tile span { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; }
.mk-ht-0 { left: 4%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.mk-ht-1 { right: 2%; top: 0; width: 44%; transform: rotate(4deg); animation-delay: -2.5s; }
.mk-ht-2 { right: 14%; bottom: -4%; width: 42%; transform: rotate(-2deg); z-index: 3; animation-delay: -5s; }
.mk-hero-tag { position: absolute; inset: 0; display: grid; place-items: center; opacity: .9; }
@keyframes mk-float { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .mk-hero-tile { animation: none; } }

/* categories */
.mk-cats { display: flex; gap: 8px; overflow-x: auto; padding: 22px 2px 14px; scrollbar-width: none; margin: 0 -2px; }
.mk-cats::-webkit-scrollbar { display: none; }
.mk-cats a { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 96px; padding: 12px 6px; border-radius: var(--r); text-decoration: none; font-size: 13px; font-weight: 500; text-align: center; line-height: 1.2; color: var(--text); border: 1px solid transparent; }
.mk-cats a small { color: var(--muted); font-size: 11px; }
.mk-cat-i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: background .15s; }
.mk-cats a:hover .mk-cat-i { background: var(--gold-soft); }
.mk-cats a.is-on { background: var(--paper); border-color: var(--line); }
.mk-cats a.is-on .mk-cat-i { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* results head and filters */
.mk-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 18px; flex-wrap: wrap; }
.mk-results-head .mk-muted { margin: 2px 0 0; font-size: 14px; }
.mk-near { font: 500 18px var(--sans); color: var(--muted); }
.mk-filters { position: relative; }
.mk-filters > summary { list-style: none; }
.mk-filters > summary::-webkit-details-marker { display: none; }
.mk-filter-form { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; z-index: 20; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: grid; gap: 12px; }
.mk-filter-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.mk-filter-form select, .mk-filter-form input:not([type=checkbox]) { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 400; }
.mk-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-filter-acts { display: flex; align-items: center; gap: 14px; }

/* cards grid */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 26px 18px; }
.mk-grid-row { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.mk-card { position: relative; }
.mk-card-link { display: block; text-decoration: none; color: inherit; }
.mk-card-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mk-card-link:hover .mk-card-img img { transform: scale(1.04); }
.mk-card-img .mk-pill { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.mk-card.is-sold .mk-card-img img, .mk-card.is-pending .mk-card-img img { opacity: .78; }
.mk-card-body { display: grid; gap: 1px; padding: 10px 2px 0; }
.mk-price { font-weight: 700; font-size: 17px; color: var(--ink); }
.mk-price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.mk-price s { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.mk-price.is-free { color: var(--ok); }
.mk-card-title { font-size: 15px; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.mk-card-meta { font-size: 13px; color: var(--muted); }
.mk-save-form { position: absolute; top: 8px; right: 8px; margin: 0; }
.mk-save { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s; }
.mk-save:hover { transform: scale(1.08); }
.mk-save.is-on { color: var(--rose); }
.mk-save.is-on .mk-i, [data-save].is-on .mk-i { fill: currentColor; }
.mk-save.is-pop { animation: mk-pop .35s ease; }
@keyframes mk-pop { 40% { transform: scale(1.3); } }
.mk-saved-wrap { position: relative; }
.mk-drop-tag { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: #E7F2EA; color: var(--ok); font-size: 12px; font-weight: 600; }
.mk-pages { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 36px 0 0; }

/* empty and how it works */
.mk-empty { text-align: center; padding: 56px 20px; max-width: 520px; margin: 0 auto; }
.mk-empty h3, .mk-empty h1 { font: 600 28px/1.2 var(--display); color: var(--ink); margin: 14px 0 6px; }
.mk-empty p { color: var(--muted); margin: 0 0 20px; }
.mk-empty-art { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--ink); }
.mk-how { margin: 64px 0 0; padding: 40px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 22px; }
.mk-how ol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; }
.mk-how li span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-soft); color: var(--ink); margin-bottom: 12px; }
.mk-how li b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.mk-how li p { margin: 0; color: var(--muted); font-size: 15px; }

/* item page */
.mk-crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 14px; }
.mk-crumbs a { color: var(--muted); }
.mk-item-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.mk-gallery { position: sticky; top: 92px; }
.mk-gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--sand); }
.mk-gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--sand); opacity: 0; transition: opacity .25s; }
.mk-gallery-main img.is-on { opacity: 1; }
.mk-gallery-state { position: absolute; top: 14px; left: 14px; font-size: 14px; padding: 5px 12px; }
.mk-gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.mk-gal-prev { left: 14px; }
.mk-gal-next { right: 14px; }
.mk-gal-next .mk-i { transform: scaleX(-1); }
.mk-gal-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(30,58,52,.75); color: #fff; font-size: 13px; }
.mk-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.mk-thumbs button { flex-shrink: 0; width: 72px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--sand); }
.mk-thumbs button.is-on { border-color: var(--ink); }
.mk-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mk-item-title { font: 600 clamp(30px, 3.4vw, 40px)/1.1 var(--display); color: var(--ink); margin: 0 0 8px; }
.mk-item-price { font-size: 30px; font-weight: 700; color: var(--ink); margin: 0 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.mk-item-price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.mk-item-price s { font-size: 16px; color: var(--muted); font-weight: 400; }
.mk-item-price.is-free { color: var(--ok); }
.mk-save-pct { font-size: 13px; font-weight: 700; color: var(--ok); background: #E7F2EA; padding: 3px 9px; border-radius: 999px; }
.mk-item-where { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 0 0 22px; font-size: 15px; flex-wrap: wrap; }
.mk-ask { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.mk-ask-label { font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.mk-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-quick button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-size: 13px; cursor: pointer; }
.mk-quick button:hover { border-color: var(--ink); }
.mk-ask textarea, .mk-report textarea, .mk-report select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); resize: vertical; }
.mk-item-acts { display: flex; gap: 8px; margin: 14px 0 0; }
.mk-item-acts form { margin: 0; }
.mk-handoff { margin: 24px 0 0; padding: 18px; border-radius: var(--r); background: var(--gold-soft); }
.mk-handoff h2 { font: 700 16px var(--sans); color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.mk-handoff ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.mk-handoff li { display: flex; align-items: center; gap: 8px; }
.mk-handoff li .mk-i { color: var(--ok); }
.mk-noship, .mk-noship .mk-i { color: var(--rose) !important; font-weight: 600; }
.mk-handoff p { margin: 0; }
.mk-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 0; padding: 0; }
.mk-specs div { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; }
.mk-specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mk-specs dd { margin: 2px 0 0; font-weight: 600; }
.mk-desc { margin: 20px 0 0; font-size: 16px; line-height: 1.65; white-space: normal; }
.mk-seller { display: flex; gap: 14px; align-items: center; margin: 24px 0 0; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: inherit; }
.mk-seller:hover { border-color: var(--ink); }
.mk-seller > span:last-child { display: grid; gap: 2px; }
.mk-report { margin: 18px 0 0; }
.mk-report summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.mk-report form { display: grid; gap: 8px; margin-top: 10px; }
.mk-note { padding: 14px 16px; border-radius: var(--r-sm); background: var(--sand); }
.mk-owner { padding: 16px; border-radius: var(--r); border: 1px dashed var(--gold-2); background: var(--paper); }
.mk-owner-stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.mk-owner-stats span { display: inline-flex; gap: 5px; align-items: center; }
.mk-owner-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.mk-owner-acts form { margin: 0; }
.mk-pop { position: relative; }
.mk-pop > summary { list-style: none; }
.mk-pop > summary::-webkit-details-marker { display: none; }
.mk-pop-body { position: absolute; z-index: 10; top: calc(100% + 8px); left: 0; width: 280px; display: grid; gap: 8px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.mk-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.mk-more { margin: 56px 0 0; }
.mk-more .mk-h2 { margin-bottom: 16px; }

/* forms */
.mk-page-head { padding: 28px 0 18px; }
.mk-panel { background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; margin: 0 0 18px; }
.mk-panel h2 { font: 600 24px/1.2 var(--display); color: var(--ink); margin: 0 0 14px; }
.mk-panel h2 .mk-small { font-family: var(--sans); font-weight: 400; }
.mk-form { display: grid; gap: 4px; }
.mk-field { display: grid; gap: 6px; margin: 0 0 14px; font-weight: 600; font-size: 15px; }
.mk-field label { font-weight: 600; }
.mk-field input, .mk-field select, .mk-field textarea, .mk-sheet input, .mk-sheet select, .mk-sheet textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 400; font-size: 16px; }
.mk-field textarea { resize: vertical; min-height: 110px; }
.mk-field input:focus, .mk-field select:focus, .mk-field textarea:focus, .mk-sheet input:focus { border-color: var(--ink); outline: 0; box-shadow: 0 0 0 4px rgba(212, 179, 115, .25); }
.mk-short { max-width: 160px; }
.mk-tiny { width: 64px; min-height: 30px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; }
.mk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-row-3 { grid-template-columns: repeat(3, 1fr); }
.has-error input, .has-error select, .has-error textarea, .has-error.mk-drop { border-color: var(--bad) !important; }
.field-error { color: var(--bad); font-size: 14px; font-weight: 500; margin: 2px 0 0; }
.mk-money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); padding-left: 14px; }
.mk-money span { color: var(--muted); font-weight: 600; }
.mk-money input { border: 0 !important; box-shadow: none !important; min-height: 44px; padding-left: 6px; }
.mk-money:focus-within { border-color: var(--ink); }
.mk-money-lg input { font-size: 28px; font-weight: 700; min-height: 60px; }
.mk-money-lg span { font-size: 24px; }
.mk-checks { display: grid; gap: 8px; }
.mk-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.mk-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.mk-drop { display: block; border: 2px dashed var(--line); border-radius: 16px; padding: 26px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.mk-drop:hover { border-color: var(--gold-2); background: var(--cream); }
.mk-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mk-drop-in { display: grid; justify-items: center; gap: 4px; color: var(--ink); }
.mk-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.mk-previews:empty { display: none; }
.mk-previews img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.mk-photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 14px; }
.mk-photo-list figure { margin: 0; position: relative; }
.mk-photo-list img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; }
.mk-photo-list figcaption { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mk-photo-acts { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.mk-photo-acts .mk-chip { min-height: 28px; font-size: 12px; padding: 0 9px; }
.mk-how-pick { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.mk-how-pick legend { font-weight: 600; margin-bottom: 8px; }
.mk-how-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.mk-how-opt:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.mk-how-opt > input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.mk-how-opt span { display: grid; gap: 2px; }
.mk-how-opt small { color: var(--muted); font-size: 14px; }
.mk-noship-note { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--blush); color: #7A3B33; font-size: 14px; font-weight: 500; }
.mk-form-foot { display: flex; align-items: center; gap: 18px; margin: 6px 0 28px; }
.mk-danger { border-color: #F1D6D3; }

/* auth */
.mk-auth { text-align: center; padding: 36px; margin-top: 28px; }
.mk-auth .mk-mark { margin: 0 auto 14px; }
.mk-auth .mk-form { text-align: left; }
.mk-auth > .mk-btn { margin: 18px 0 6px; }
.mk-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 14px; }
.mk-or::before, .mk-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mk-join { padding: 40px; margin-top: 28px; }
.mk-join .mk-mark { margin: 0 auto 14px; }
.mk-center-row { justify-content: center; margin: 22px 0 12px; }

/* selling list */
.mk-seg { display: flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; margin: 0 0 22px; }
.mk-seg a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--muted); }
.mk-seg a small { font-weight: 500; }
.mk-seg a.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mk-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mk-rowitem { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 12px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px; }
.mk-rowitem-img img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.mk-rowitem-body { display: grid; gap: 2px; min-width: 0; }
.mk-rowitem-title { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-rowitem-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mk-rowitem-acts form { margin: 0; }

/* inbox */
.mk-threads { list-style: none; padding: 0; margin: 0; background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.mk-threads li + li { border-top: 1px solid var(--line-2); }
.mk-thread-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; text-decoration: none; color: inherit; }
.mk-thread-row:hover { background: var(--cream); }
.mk-thread-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.mk-thread-mid { min-width: 0; display: grid; }
.mk-thread-mid > b, .mk-thread-mid > .mk-muted { display: inline; }
.mk-thread-mid { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mk-thread-prev { display: block; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-thread-row.is-unread .mk-thread-prev { color: var(--text); font-weight: 600; }
.mk-thread-when { font-size: 12px; color: var(--muted); display: grid; justify-items: end; gap: 6px; }
.mk-thread-when .mk-badge { position: static; }

/* chat */
.mk-is-chat .mk-main { padding-bottom: 0; }
.mk-is-chat .mk-foot { display: none; }
.mk-chat { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; height: calc(100dvh - 72px); background: var(--paper); border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.mk-chat-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); background: var(--paper); }
.mk-chat-back { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.mk-chat-back:hover { background: var(--sand); }
.mk-chat-item { flex: 1; display: flex; gap: 12px; align-items: center; min-width: 0; text-decoration: none; color: inherit; }
.mk-chat-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mk-chat-item > span { display: grid; min-width: 0; }
.mk-chat-item .mk-small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-chat-item .mk-reply { font-size: 12px; }
.mk-chat-status { color: var(--warn); font-weight: 600; }
.mk-chat-plan { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #E7F2EA; color: #1F5134; font-size: 14px; border-bottom: 1px solid var(--line-2); }
.mk-chat-review { background: var(--gold-soft); color: var(--ink); }
.mk-chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 4px; background: var(--cream); overscroll-behavior: contain; }
.mk-day { align-self: center; margin: 14px 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mk-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; margin: 2px 0; animation: mk-in .2s ease; }
.mk-msg.is-mine { align-self: flex-end; align-items: flex-end; }
@keyframes mk-in { from { opacity: 0; translate: 0 6px; } }
.mk-bubble { padding: 10px 14px; border-radius: 20px 20px 20px 6px; background: var(--paper); border: 1px solid var(--line-2); line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.is-mine .mk-bubble { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 20px 20px 6px 20px; }
.is-flagged .mk-bubble { border-color: #EBC4C0; background: #FFF8F6; }
.mk-bubble-photo { padding: 4px; display: block; }
.mk-bubble-photo img { max-width: 260px; max-height: 320px; border-radius: 16px; object-fit: cover; }
.mk-msg-time { font-size: 11px; color: var(--muted); margin: 3px 8px 0; }
.mk-card-msg { display: grid; gap: 4px; min-width: 230px; background: var(--paper) !important; color: var(--text) !important; border: 1.5px solid var(--gold) !important; border-radius: 18px !important; padding: 14px 16px; }
.mk-card-msg-k { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mk-card-msg-amt { font-size: 28px; color: var(--ink); line-height: 1.1; }
.mk-card-msg-note { color: var(--muted); font-size: 14px; display: flex; gap: 4px; align-items: center; }
.mk-card-msg-wait { font-size: 13px; color: var(--warn); font-weight: 600; margin-top: 4px; }
.mk-card-msg-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mk-card-msg-acts form { margin: 0; }
.mk-card-msg-acts .mk-btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
.mk-card-msg form[data-answer] { margin: 0; }
.mk-state { justify-self: start; margin-top: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.mk-state-accepted { background: #E7F2EA; color: var(--ok); }
.mk-state-declined { background: #FBE7E5; color: var(--bad); }
.mk-msg-sys { align-self: center; display: flex; gap: 8px; align-items: flex-start; max-width: 90%; margin: 10px 0; padding: 10px 14px; border-radius: 14px; background: var(--gold-soft); color: #5B4B2A; font-size: 13px; line-height: 1.45; }
.mk-msg-sys .mk-i { margin-top: 1px; }
.mk-composer-wrap { border-top: 1px solid var(--line-2); background: var(--paper); padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); }
.mk-chat-tools { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.mk-composer { display: flex; align-items: flex-end; gap: 6px; margin: 0; }
.mk-composer textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 16px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--cream); line-height: 1.35; }
.mk-composer textarea:focus { border-color: var(--ink); outline: 0; background: var(--paper); }
.mk-attach { flex-shrink: 0; }
.mk-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.mk-send:hover { background: var(--gold-2); }
.mk-chat-closed { padding: 18px; text-align: center; color: var(--muted); border-top: 1px solid var(--line-2); }
.mk-chat-menu .mk-menu-pop { top: calc(100% + 4px); }

/* sheets (offer, pickup plan, report) */
.mk-sheet { border: 0; padding: 0; border-radius: 22px; width: min(460px, calc(100vw - 24px)); background: var(--paper); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.mk-sheet::backdrop { background: rgba(20, 35, 31, .45); backdrop-filter: blur(2px); }
.mk-sheet form { display: grid; gap: 12px; padding: 24px; }
.mk-sheet h2 { font: 600 26px/1.15 var(--display); color: var(--ink); margin: 0; }
.mk-sheet p { margin: 0; }
.mk-sheet .mk-field { margin: 0; }
.mk-sheet-acts { display: flex; gap: 8px; margin-top: 4px; }
.mk-how-radios { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }

/* seller, reviews, safety, settings */
.mk-seller-head { display: flex; gap: 20px; align-items: center; padding: 32px 0 26px; }
.mk-seller-head p { margin: 0; }
.mk-reviews { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 720px; }
.mk-reviews li { padding: 16px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; }
.mk-reviews p { margin: 6px 0; }
.mk-star-pick { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.mk-star-pick legend { font-weight: 600; margin-bottom: 6px; float: left; width: 100%; }
.mk-star-pick input { position: absolute; opacity: 0; }
.mk-star-pick label { font-size: 38px; color: var(--line); cursor: pointer; line-height: 1; }
.mk-star-pick input:checked ~ label, .mk-star-pick label:hover, .mk-star-pick label:hover ~ label { color: var(--gold-2); }
.mk-star-pick input:focus-visible + label { outline: 3px solid var(--gold); border-radius: 4px; }
.mk-safety { display: grid; gap: 14px; margin-bottom: 26px; }
.mk-safety section { display: flex; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px; }
.mk-safety section > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); flex-shrink: 0; color: var(--ink); }
.mk-safety h2 { font: 700 17px var(--sans); color: var(--ink); margin: 0 0 4px; }
.mk-safety p { margin: 0; color: var(--muted); }
.mk-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mk-plain form { margin: 0; }

/* closed */
.mk-closed { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: #F5F6F2; text-align: center; padding: 24px; }
.mk-closed-in { max-width: 520px; }
.mk-closed .mk-mark { margin: 0 auto 22px; }
.mk-closed h1 { font: 500 clamp(36px, 6vw, 56px)/1.05 var(--display); margin: 0 0 14px; color: #fff; }
.mk-closed p { color: rgba(245, 246, 242, .8); font-size: 18px; margin: 0 0 26px; }

/* footer and phone tabs */
.mk-foot { border-top: 1px solid var(--line); background: var(--sand); }
.mk-foot-in { display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 40px; flex-wrap: wrap; }
.mk-foot-brand { display: flex; gap: 14px; max-width: 420px; }
.mk-foot-brand p { margin: 0; color: var(--muted); font-size: 14px; }
.mk-foot-brand b { color: var(--ink); }
.mk-foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; align-content: start; }
.mk-foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.mk-foot nav a:hover { color: var(--ink); text-decoration: underline; }
.mk-tabs { display: none; }

@media (max-width: 980px) {
  .mk-hero-in { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .mk-hero-art { display: none; }
  .mk-item-grid { grid-template-columns: 1fr; gap: 22px; }
  .mk-gallery { position: static; }
  .mk-how ol { grid-template-columns: repeat(2, 1fr); }
  .mk-word small { display: none; }
}
@media (max-width: 760px) {
  :root { --tabs-h: 64px; }
  .mk-wrap { padding-left: 16px; padding-right: 16px; }
  .mk-top-in { height: auto; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mk-search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .mk-top-nav .mk-ico, .mk-btn-sell, .mk-signin { display: none; }
  .mk-top-nav { gap: 4px; }
  .mk-main { padding-bottom: calc(var(--tabs-h) + 24px); }
  .mk-foot { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); }
  .mk-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mk-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; }
  .mk-tabs a.is-on { color: var(--ink); }
  .mk-tabs a.is-on .mk-i { stroke-width: 2.2; }
  .mk-tab-i { position: relative; display: grid; place-items: center; }
  .mk-tab-sell .mk-tab-i { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); margin-top: -18px; box-shadow: 0 6px 16px rgba(194, 158, 87, .45); }
  .mk-is-chat .mk-tabs { display: none; }
  .mk-is-chat .mk-main { padding-bottom: 0; }
  .mk-chat { height: calc(100dvh - 118px); border: 0; }
  .mk-hero h1 { font-size: 44px; }
  .mk-lede { font-size: 16px; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .mk-card-title { font-size: 14px; }
  .mk-price { font-size: 16px; }
  .mk-save { width: 34px; height: 34px; }
  .mk-how { padding: 24px; }
  .mk-how ol { grid-template-columns: 1fr; }
  .mk-filter-form { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(var(--tabs-h) + 12px); width: auto; }
  .mk-row, .mk-row-3 { grid-template-columns: 1fr; gap: 0; }
  .mk-panel { padding: 18px; border-radius: 16px; }
  .mk-rowitem { grid-template-columns: 64px 1fr; }
  .mk-rowitem-img img { width: 64px; height: 64px; }
  .mk-rowitem-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .mk-specs { grid-template-columns: 1fr 1fr; }
  .mk-msg { max-width: 86%; }
  .mk-item-title { font-size: 30px; }
  .mk-seller-head { padding-top: 22px; }
  .mk-avatar-xl { width: 64px; height: 64px; font-size: 30px; }
  .mk-gallery-main { border-radius: 16px; margin: 0 -16px; border-radius: 0; }
  .mk-thumbs { padding: 0 2px; }
  .mk-sheet { position: fixed; margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 22px 22px 0 0; }
  .mk-sheet form { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
